function k2(t,a){for(var s=0;s<a.length;s++){const r=a[s];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in t)){const d=Object.getOwnPropertyDescriptor(r,l);d&&Object.defineProperty(t,l,d.get?d:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const d of l)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function s(l){const d={};return l.integrity&&(d.integrity=l.integrity),l.referrerPolicy&&(d.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?d.credentials="include":l.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(l){if(l.ep)return;l.ep=!0;const d=s(l);fetch(l.href,d)}})();function nx(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var wd={exports:{}},oo={};var Hy;function M2(){if(Hy)return oo;Hy=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(r,l,d){var f=null;if(d!==void 0&&(f=""+d),l.key!==void 0&&(f=""+l.key),"key"in l){d={};for(var m in l)m!=="key"&&(d[m]=l[m])}else d=l;return l=d.ref,{$$typeof:t,type:r,key:f,ref:l!==void 0?l:null,props:d}}return oo.Fragment=a,oo.jsx=s,oo.jsxs=s,oo}var qy;function O2(){return qy||(qy=1,wd.exports=M2()),wd.exports}var h=O2(),Sd={exports:{}},ro={},Cd={exports:{}},Ad={};var Iy;function _2(){return Iy||(Iy=1,(function(t){function a(_,I){var z=_.length;_.push(I);e:for(;0<z;){var ae=z-1>>>1,de=_[ae];if(0<l(de,I))_[ae]=I,_[z]=de,z=ae;else break e}}function s(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var I=_[0],z=_.pop();if(z!==I){_[0]=z;e:for(var ae=0,de=_.length,R=de>>>1;ae<R;){var Y=2*(ae+1)-1,Z=_[Y],W=Y+1,fe=_[W];if(0>l(Z,z))W<de&&0>l(fe,Z)?(_[ae]=fe,_[W]=z,ae=W):(_[ae]=Z,_[Y]=z,ae=Y);else if(W<de&&0>l(fe,z))_[ae]=fe,_[W]=z,ae=W;else break e}}return I}function l(_,I){var z=_.sortIndex-I.sortIndex;return z!==0?z:_.id-I.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;t.unstable_now=function(){return d.now()}}else{var f=Date,m=f.now();t.unstable_now=function(){return f.now()-m}}var p=[],g=[],v=1,x=null,w=3,C=!1,j=!1,A=!1,E=!1,D=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function H(_){for(var I=s(g);I!==null;){if(I.callback===null)r(g);else if(I.startTime<=_)r(g),I.sortIndex=I.expirationTime,a(p,I);else break;I=s(g)}}function U(_){if(A=!1,H(_),!j)if(s(p)!==null)j=!0,K||(K=!0,ge());else{var I=s(g);I!==null&&he(U,I.startTime-_)}}var K=!1,X=-1,q=5,se=-1;function ue(){return E?!0:!(t.unstable_now()-se<q)}function me(){if(E=!1,K){var _=t.unstable_now();se=_;var I=!0;try{e:{j=!1,A&&(A=!1,M(X),X=-1),C=!0;var z=w;try{t:{for(H(_),x=s(p);x!==null&&!(x.expirationTime>_&&ue());){var ae=x.callback;if(typeof ae=="function"){x.callback=null,w=x.priorityLevel;var de=ae(x.expirationTime<=_);if(_=t.unstable_now(),typeof de=="function"){x.callback=de,H(_),I=!0;break t}x===s(p)&&r(p),H(_)}else r(p);x=s(p)}if(x!==null)I=!0;else{var R=s(g);R!==null&&he(U,R.startTime-_),I=!1}}break e}finally{x=null,w=z,C=!1}I=void 0}}finally{I?ge():K=!1}}}var ge;if(typeof O=="function")ge=function(){O(me)};else if(typeof MessageChannel<"u"){var Te=new MessageChannel,$=Te.port2;Te.port1.onmessage=me,ge=function(){$.postMessage(null)}}else ge=function(){D(me,0)};function he(_,I){X=D(function(){_(t.unstable_now())},I)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(_){_.callback=null},t.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<_?Math.floor(1e3/_):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_next=function(_){switch(w){case 1:case 2:case 3:var I=3;break;default:I=w}var z=w;w=I;try{return _()}finally{w=z}},t.unstable_requestPaint=function(){E=!0},t.unstable_runWithPriority=function(_,I){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var z=w;w=_;try{return I()}finally{w=z}},t.unstable_scheduleCallback=function(_,I,z){var ae=t.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?ae+z:ae):z=ae,_){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=z+de,_={id:v++,callback:I,priorityLevel:_,startTime:z,expirationTime:de,sortIndex:-1},z>ae?(_.sortIndex=z,a(g,_),s(p)===null&&_===s(g)&&(A?(M(X),X=-1):A=!0,he(U,z-ae))):(_.sortIndex=de,a(p,_),j||C||(j=!0,K||(K=!0,ge()))),_},t.unstable_shouldYield=ue,t.unstable_wrapCallback=function(_){var I=w;return function(){var z=w;w=I;try{return _.apply(this,arguments)}finally{w=z}}}})(Ad)),Ad}var Gy;function L2(){return Gy||(Gy=1,Cd.exports=_2()),Cd.exports}var Td={exports:{}},pe={};var Yy;function P2(){if(Yy)return pe;Yy=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),w=Symbol.iterator;function C(R){return R===null||typeof R!="object"?null:(R=w&&R[w]||R["@@iterator"],typeof R=="function"?R:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,E={};function D(R,Y,Z){this.props=R,this.context=Y,this.refs=E,this.updater=Z||j}D.prototype.isReactComponent={},D.prototype.setState=function(R,Y){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,Y,"setState")},D.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function M(){}M.prototype=D.prototype;function O(R,Y,Z){this.props=R,this.context=Y,this.refs=E,this.updater=Z||j}var H=O.prototype=new M;H.constructor=O,A(H,D.prototype),H.isPureReactComponent=!0;var U=Array.isArray;function K(){}var X={H:null,A:null,T:null,S:null},q=Object.prototype.hasOwnProperty;function se(R,Y,Z){var W=Z.ref;return{$$typeof:t,type:R,key:Y,ref:W!==void 0?W:null,props:Z}}function ue(R,Y){return se(R.type,Y,R.props)}function me(R){return typeof R=="object"&&R!==null&&R.$$typeof===t}function ge(R){var Y={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(Z){return Y[Z]})}var Te=/\/+/g;function $(R,Y){return typeof R=="object"&&R!==null&&R.key!=null?ge(""+R.key):Y.toString(36)}function he(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(K,K):(R.status="pending",R.then(function(Y){R.status==="pending"&&(R.status="fulfilled",R.value=Y)},function(Y){R.status==="pending"&&(R.status="rejected",R.reason=Y)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function _(R,Y,Z,W,fe){var ye=typeof R;(ye==="undefined"||ye==="boolean")&&(R=null);var oe=!1;if(R===null)oe=!0;else switch(ye){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(R.$$typeof){case t:case a:oe=!0;break;case v:return oe=R._init,_(oe(R._payload),Y,Z,W,fe)}}if(oe)return fe=fe(R),oe=W===""?"."+$(R,0):W,U(fe)?(Z="",oe!=null&&(Z=oe.replace(Te,"$&/")+"/"),_(fe,Y,Z,"",function(It){return It})):fe!=null&&(me(fe)&&(fe=ue(fe,Z+(fe.key==null||R&&R.key===fe.key?"":(""+fe.key).replace(Te,"$&/")+"/")+oe)),Y.push(fe)),1;oe=0;var Qe=W===""?".":W+":";if(U(R))for(var Me=0;Me<R.length;Me++)W=R[Me],ye=Qe+$(W,Me),oe+=_(W,Y,Z,ye,fe);else if(Me=C(R),typeof Me=="function")for(R=Me.call(R),Me=0;!(W=R.next()).done;)W=W.value,ye=Qe+$(W,Me++),oe+=_(W,Y,Z,ye,fe);else if(ye==="object"){if(typeof R.then=="function")return _(he(R),Y,Z,W,fe);throw Y=String(R),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return oe}function I(R,Y,Z){if(R==null)return R;var W=[],fe=0;return _(R,W,"","",function(ye){return Y.call(Z,ye,fe++)}),W}function z(R){if(R._status===-1){var Y=R._result;Y=Y(),Y.then(function(Z){(R._status===0||R._status===-1)&&(R._status=1,R._result=Z)},function(Z){(R._status===0||R._status===-1)&&(R._status=2,R._result=Z)}),R._status===-1&&(R._status=0,R._result=Y)}if(R._status===1)return R._result.default;throw R._result}var ae=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)},de={map:I,forEach:function(R,Y,Z){I(R,function(){Y.apply(this,arguments)},Z)},count:function(R){var Y=0;return I(R,function(){Y++}),Y},toArray:function(R){return I(R,function(Y){return Y})||[]},only:function(R){if(!me(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};return pe.Activity=x,pe.Children=de,pe.Component=D,pe.Fragment=s,pe.Profiler=l,pe.PureComponent=O,pe.StrictMode=r,pe.Suspense=p,pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,pe.__COMPILER_RUNTIME={__proto__:null,c:function(R){return X.H.useMemoCache(R)}},pe.cache=function(R){return function(){return R.apply(null,arguments)}},pe.cacheSignal=function(){return null},pe.cloneElement=function(R,Y,Z){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var W=A({},R.props),fe=R.key;if(Y!=null)for(ye in Y.key!==void 0&&(fe=""+Y.key),Y)!q.call(Y,ye)||ye==="key"||ye==="__self"||ye==="__source"||ye==="ref"&&Y.ref===void 0||(W[ye]=Y[ye]);var ye=arguments.length-2;if(ye===1)W.children=Z;else if(1<ye){for(var oe=Array(ye),Qe=0;Qe<ye;Qe++)oe[Qe]=arguments[Qe+2];W.children=oe}return se(R.type,fe,W)},pe.createContext=function(R){return R={$$typeof:f,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:d,_context:R},R},pe.createElement=function(R,Y,Z){var W,fe={},ye=null;if(Y!=null)for(W in Y.key!==void 0&&(ye=""+Y.key),Y)q.call(Y,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(fe[W]=Y[W]);var oe=arguments.length-2;if(oe===1)fe.children=Z;else if(1<oe){for(var Qe=Array(oe),Me=0;Me<oe;Me++)Qe[Me]=arguments[Me+2];fe.children=Qe}if(R&&R.defaultProps)for(W in oe=R.defaultProps,oe)fe[W]===void 0&&(fe[W]=oe[W]);return se(R,ye,fe)},pe.createRef=function(){return{current:null}},pe.forwardRef=function(R){return{$$typeof:m,render:R}},pe.isValidElement=me,pe.lazy=function(R){return{$$typeof:v,_payload:{_status:-1,_result:R},_init:z}},pe.memo=function(R,Y){return{$$typeof:g,type:R,compare:Y===void 0?null:Y}},pe.startTransition=function(R){var Y=X.T,Z={};X.T=Z;try{var W=R(),fe=X.S;fe!==null&&fe(Z,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(K,ae)}catch(ye){ae(ye)}finally{Y!==null&&Z.types!==null&&(Y.types=Z.types),X.T=Y}},pe.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},pe.use=function(R){return X.H.use(R)},pe.useActionState=function(R,Y,Z){return X.H.useActionState(R,Y,Z)},pe.useCallback=function(R,Y){return X.H.useCallback(R,Y)},pe.useContext=function(R){return X.H.useContext(R)},pe.useDebugValue=function(){},pe.useDeferredValue=function(R,Y){return X.H.useDeferredValue(R,Y)},pe.useEffect=function(R,Y){return X.H.useEffect(R,Y)},pe.useEffectEvent=function(R){return X.H.useEffectEvent(R)},pe.useId=function(){return X.H.useId()},pe.useImperativeHandle=function(R,Y,Z){return X.H.useImperativeHandle(R,Y,Z)},pe.useInsertionEffect=function(R,Y){return X.H.useInsertionEffect(R,Y)},pe.useLayoutEffect=function(R,Y){return X.H.useLayoutEffect(R,Y)},pe.useMemo=function(R,Y){return X.H.useMemo(R,Y)},pe.useOptimistic=function(R,Y){return X.H.useOptimistic(R,Y)},pe.useReducer=function(R,Y,Z){return X.H.useReducer(R,Y,Z)},pe.useRef=function(R){return X.H.useRef(R)},pe.useState=function(R){return X.H.useState(R)},pe.useSyncExternalStore=function(R,Y,Z){return X.H.useSyncExternalStore(R,Y,Z)},pe.useTransition=function(){return X.H.useTransition()},pe.version="19.2.3",pe}var Fy;function Bl(){return Fy||(Fy=1,Td.exports=P2()),Td.exports}var jd={exports:{}},yt={};var Xy;function B2(){if(Xy)return yt;Xy=1;var t=Bl();function a(p){var g="https://react.dev/errors/"+p;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)g+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+p+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(a(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},l=Symbol.for("react.portal");function d(p,g,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:x==null?null:""+x,children:p,containerInfo:g,implementation:v}}var f=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,g){if(p==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return yt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,yt.createPortal=function(p,g){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(a(299));return d(p,g,null,v)},yt.flushSync=function(p){var g=f.T,v=r.p;try{if(f.T=null,r.p=2,p)return p()}finally{f.T=g,r.p=v,r.d.f()}},yt.preconnect=function(p,g){typeof p=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,r.d.C(p,g))},yt.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},yt.preinit=function(p,g){if(typeof p=="string"&&g&&typeof g.as=="string"){var v=g.as,x=m(v,g.crossOrigin),w=typeof g.integrity=="string"?g.integrity:void 0,C=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;v==="style"?r.d.S(p,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:x,integrity:w,fetchPriority:C}):v==="script"&&r.d.X(p,{crossOrigin:x,integrity:w,fetchPriority:C,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},yt.preinitModule=function(p,g){if(typeof p=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var v=m(g.as,g.crossOrigin);r.d.M(p,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&r.d.M(p)},yt.preload=function(p,g){if(typeof p=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var v=g.as,x=m(v,g.crossOrigin);r.d.L(p,v,{crossOrigin:x,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},yt.preloadModule=function(p,g){if(typeof p=="string")if(g){var v=m(g.as,g.crossOrigin);r.d.m(p,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else r.d.m(p)},yt.requestFormReset=function(p){r.d.r(p)},yt.unstable_batchedUpdates=function(p,g){return p(g)},yt.useFormState=function(p,g,v){return f.H.useFormState(p,g,v)},yt.useFormStatus=function(){return f.H.useHostTransitionStatus()},yt.version="19.2.3",yt}var Qy;function ax(){if(Qy)return jd.exports;Qy=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),jd.exports=B2(),jd.exports}var Ky;function z2(){if(Ky)return ro;Ky=1;var t=L2(),a=Bl(),s=ax();function r(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function m(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function p(e){if(d(e)!==e)throw Error(r(188))}function g(e){var n=e.alternate;if(!n){if(n=d(e),n===null)throw Error(r(188));return n!==e?null:e}for(var i=e,o=n;;){var c=i.return;if(c===null)break;var u=c.alternate;if(u===null){if(o=c.return,o!==null){i=o;continue}break}if(c.child===u.child){for(u=c.child;u;){if(u===i)return p(c),e;if(u===o)return p(c),n;u=u.sibling}throw Error(r(188))}if(i.return!==o.return)i=c,o=u;else{for(var y=!1,b=c.child;b;){if(b===i){y=!0,i=c,o=u;break}if(b===o){y=!0,o=c,i=u;break}b=b.sibling}if(!y){for(b=u.child;b;){if(b===i){y=!0,i=u,o=c;break}if(b===o){y=!0,o=u,i=c;break}b=b.sibling}if(!y)throw Error(r(189))}}if(i.alternate!==o)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?e:n}function v(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=v(e),n!==null)return n;e=e.sibling}return null}var x=Object.assign,w=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),O=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),ue=Symbol.for("react.memo_cache_sentinel"),me=Symbol.iterator;function ge(e){return e===null||typeof e!="object"?null:(e=me&&e[me]||e["@@iterator"],typeof e=="function"?e:null)}var Te=Symbol.for("react.client.reference");function $(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Te?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case D:return"Profiler";case E:return"StrictMode";case U:return"Suspense";case K:return"SuspenseList";case se:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case j:return"Portal";case O:return e.displayName||"Context";case M:return(e._context.displayName||"Context")+".Consumer";case H:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return n=e.displayName||null,n!==null?n:$(e.type)||"Memo";case q:n=e._payload,e=e._init;try{return $(e(n))}catch{}}return null}var he=Array.isArray,_=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z={pending:!1,data:null,method:null,action:null},ae=[],de=-1;function R(e){return{current:e}}function Y(e){0>de||(e.current=ae[de],ae[de]=null,de--)}function Z(e,n){de++,ae[de]=e.current,e.current=n}var W=R(null),fe=R(null),ye=R(null),oe=R(null);function Qe(e,n){switch(Z(ye,n),Z(fe,e),Z(W,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?uy(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=uy(n),e=dy(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Y(W),Z(W,e)}function Me(){Y(W),Y(fe),Y(ye)}function It(e){e.memoizedState!==null&&Z(oe,e);var n=W.current,i=dy(n,e.type);n!==i&&(Z(fe,e),Z(W,i))}function mn(e){fe.current===e&&(Y(W),Y(fe)),oe.current===e&&(Y(oe),no._currentValue=z)}var pn,Ba;function za(e){if(pn===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);pn=n&&n[1]||"",Ba=-1<i.stack.indexOf(`
    at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
`+pn+e+Ba}var ic=!1;function sc(e,n){if(!e||ic)return"";ic=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(V){var B=V}Reflect.construct(e,[],Q)}else{try{Q.call()}catch(V){B=V}e.call(Q.prototype)}}else{try{throw Error()}catch(V){B=V}(Q=e())&&typeof Q.catch=="function"&&Q.catch(function(){})}}catch(V){if(V&&B&&typeof V.stack=="string")return[V.stack,B.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=o.DetermineComponentFrameRoot(),y=u[0],b=u[1];if(y&&b){var T=y.split(`
`),P=b.split(`
`);for(c=o=0;o<T.length&&!T[o].includes("DetermineComponentFrameRoot");)o++;for(;c<P.length&&!P[c].includes("DetermineComponentFrameRoot");)c++;if(o===T.length||c===P.length)for(o=T.length-1,c=P.length-1;1<=o&&0<=c&&T[o]!==P[c];)c--;for(;1<=o&&0<=c;o--,c--)if(T[o]!==P[c]){if(o!==1||c!==1)do if(o--,c--,0>c||T[o]!==P[c]){var G=`
`+T[o].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),G}while(1<=o&&0<=c);break}}}finally{ic=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?za(i):""}function lS(e,n){switch(e.tag){case 26:case 27:case 5:return za(e.type);case 16:return za("Lazy");case 13:return e.child!==n&&n!==null?za("Suspense Fallback"):za("Suspense");case 19:return za("SuspenseList");case 0:case 15:return sc(e.type,!1);case 11:return sc(e.type.render,!1);case 1:return sc(e.type,!0);case 31:return za("Activity");default:return""}}function Hh(e){try{var n="",i=null;do n+=lS(e,i),i=e,e=e.return;while(e);return n}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}var oc=Object.prototype.hasOwnProperty,rc=t.unstable_scheduleCallback,lc=t.unstable_cancelCallback,cS=t.unstable_shouldYield,uS=t.unstable_requestPaint,Dt=t.unstable_now,dS=t.unstable_getCurrentPriorityLevel,qh=t.unstable_ImmediatePriority,Ih=t.unstable_UserBlockingPriority,zo=t.unstable_NormalPriority,fS=t.unstable_LowPriority,Gh=t.unstable_IdlePriority,hS=t.log,mS=t.unstable_setDisableYieldValue,ms=null,kt=null;function ea(e){if(typeof hS=="function"&&mS(e),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode(ms,e)}catch{}}var Mt=Math.clz32?Math.clz32:yS,pS=Math.log,gS=Math.LN2;function yS(e){return e>>>=0,e===0?32:31-(pS(e)/gS|0)|0}var Vo=256,Uo=262144,Ho=4194304;function Va(e){var n=e&42;if(n!==0)return n;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function qo(e,n,i){var o=e.pendingLanes;if(o===0)return 0;var c=0,u=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var b=o&134217727;return b!==0?(o=b&~u,o!==0?c=Va(o):(y&=b,y!==0?c=Va(y):i||(i=b&~e,i!==0&&(c=Va(i))))):(b=o&~u,b!==0?c=Va(b):y!==0?c=Va(y):i||(i=o&~e,i!==0&&(c=Va(i)))),c===0?0:n!==0&&n!==c&&(n&u)===0&&(u=c&-c,i=n&-n,u>=i||u===32&&(i&4194048)!==0)?n:c}function ps(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function vS(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Yh(){var e=Ho;return Ho<<=1,(Ho&62914560)===0&&(Ho=4194304),e}function cc(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function gs(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function xS(e,n,i,o,c,u){var y=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var b=e.entanglements,T=e.expirationTimes,P=e.hiddenUpdates;for(i=y&~i;0<i;){var G=31-Mt(i),Q=1<<G;b[G]=0,T[G]=-1;var B=P[G];if(B!==null)for(P[G]=null,G=0;G<B.length;G++){var V=B[G];V!==null&&(V.lane&=-536870913)}i&=~Q}o!==0&&Fh(e,o,0),u!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=u&~(y&~n))}function Fh(e,n,i){e.pendingLanes|=n,e.suspendedLanes&=~n;var o=31-Mt(n);e.entangledLanes|=n,e.entanglements[o]=e.entanglements[o]|1073741824|i&261930}function Xh(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var o=31-Mt(i),c=1<<o;c&n|e[o]&n&&(e[o]|=n),i&=~c}}function Qh(e,n){var i=n&-n;return i=(i&42)!==0?1:uc(i),(i&(e.suspendedLanes|n))!==0?0:i}function uc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function dc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Kh(){var e=I.p;return e!==0?e:(e=window.event,e===void 0?32:_y(e.type))}function Zh(e,n){var i=I.p;try{return I.p=e,n()}finally{I.p=i}}var ta=Math.random().toString(36).slice(2),dt="__reactFiber$"+ta,Ct="__reactProps$"+ta,ui="__reactContainer$"+ta,fc="__reactEvents$"+ta,bS="__reactListeners$"+ta,wS="__reactHandles$"+ta,Wh="__reactResources$"+ta,ys="__reactMarker$"+ta;function hc(e){delete e[dt],delete e[Ct],delete e[fc],delete e[bS],delete e[wS]}function di(e){var n=e[dt];if(n)return n;for(var i=e.parentNode;i;){if(n=i[ui]||i[dt]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=vy(e);e!==null;){if(i=e[dt])return i;e=vy(e)}return n}e=i,i=e.parentNode}return null}function fi(e){if(e=e[dt]||e[ui]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function vs(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(r(33))}function hi(e){var n=e[Wh];return n||(n=e[Wh]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ct(e){e[ys]=!0}var $h=new Set,Jh={};function Ua(e,n){mi(e,n),mi(e+"Capture",n)}function mi(e,n){for(Jh[e]=n,e=0;e<n.length;e++)$h.add(n[e])}var SS=RegExp("^[: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]*$"),em={},tm={};function CS(e){return oc.call(tm,e)?!0:oc.call(em,e)?!1:SS.test(e)?tm[e]=!0:(em[e]=!0,!1)}function Io(e,n,i){if(CS(n))if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+i)}}function Go(e,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+i)}}function Dn(e,n,i,o){if(o===null)e.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(n,i,""+o)}}function Gt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nm(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function AS(e,n,i){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,u=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(y){i=""+y,u.call(this,y)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function mc(e){if(!e._valueTracker){var n=nm(e)?"checked":"value";e._valueTracker=AS(e,n,""+e[n])}}function am(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),o="";return e&&(o=nm(e)?e.checked?"true":"false":e.value),e=o,e!==i?(n.setValue(e),!0):!1}function Yo(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}}var TS=/[\n"\\]/g;function Yt(e){return e.replace(TS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function pc(e,n,i,o,c,u,y,b){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),n!=null?y==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+Gt(n)):e.value!==""+Gt(n)&&(e.value=""+Gt(n)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),n!=null?gc(e,y,Gt(n)):i!=null?gc(e,y,Gt(i)):o!=null&&e.removeAttribute("value"),c==null&&u!=null&&(e.defaultChecked=!!u),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Gt(b):e.removeAttribute("name")}function im(e,n,i,o,c,u,y,b){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),n!=null||i!=null){if(!(u!=="submit"&&u!=="reset"||n!=null)){mc(e);return}i=i!=null?""+Gt(i):"",n=n!=null?""+Gt(n):i,b||n===e.value||(e.value=n),e.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=b?e.checked:!!o,e.defaultChecked=!!o,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),mc(e)}function gc(e,n,i){n==="number"&&Yo(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function pi(e,n,i,o){if(e=e.options,n){n={};for(var c=0;c<i.length;c++)n["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=n.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&o&&(e[i].defaultSelected=!0)}else{for(i=""+Gt(i),n=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function sm(e,n,i){if(n!=null&&(n=""+Gt(n),n!==e.value&&(e.value=n),i==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=i!=null?""+Gt(i):""}function om(e,n,i,o){if(n==null){if(o!=null){if(i!=null)throw Error(r(92));if(he(o)){if(1<o.length)throw Error(r(93));o=o[0]}i=o}i==null&&(i=""),n=i}i=Gt(n),e.defaultValue=i,o=e.textContent,o===i&&o!==""&&o!==null&&(e.value=o),mc(e)}function gi(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var jS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function rm(e,n,i){var o=n.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?o?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":o?e.setProperty(n,i):typeof i!="number"||i===0||jS.has(n)?n==="float"?e.cssFloat=i:e[n]=(""+i).trim():e[n]=i+"px"}function lm(e,n,i){if(n!=null&&typeof n!="object")throw Error(r(62));if(e=e.style,i!=null){for(var o in i)!i.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&i[c]!==o&&rm(e,c,o)}else for(var u in n)n.hasOwnProperty(u)&&rm(e,u,n[u])}function yc(e){if(e.indexOf("-")===-1)return!1;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 ES=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),RS=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Fo(e){return RS.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function kn(){}var vc=null;function xc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yi=null,vi=null;function cm(e){var n=fi(e);if(n&&(e=n.stateNode)){var i=e[Ct]||null;e:switch(e=n.stateNode,n.type){case"input":if(pc(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Yt(""+n)+'"][type="radio"]'),n=0;n<i.length;n++){var o=i[n];if(o!==e&&o.form===e.form){var c=o[Ct]||null;if(!c)throw Error(r(90));pc(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<i.length;n++)o=i[n],o.form===e.form&&am(o)}break e;case"textarea":sm(e,i.value,i.defaultValue);break e;case"select":n=i.value,n!=null&&pi(e,!!i.multiple,n,!1)}}}var bc=!1;function um(e,n,i){if(bc)return e(n,i);bc=!0;try{var o=e(n);return o}finally{if(bc=!1,(yi!==null||vi!==null)&&(Or(),yi&&(n=yi,e=vi,vi=yi=null,cm(n),e)))for(n=0;n<e.length;n++)cm(e[n])}}function xs(e,n){var i=e.stateNode;if(i===null)return null;var o=i[Ct]||null;if(o===null)return null;i=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(r(231,n,typeof i));return i}var Mn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wc=!1;if(Mn)try{var bs={};Object.defineProperty(bs,"passive",{get:function(){wc=!0}}),window.addEventListener("test",bs,bs),window.removeEventListener("test",bs,bs)}catch{wc=!1}var na=null,Sc=null,Xo=null;function dm(){if(Xo)return Xo;var e,n=Sc,i=n.length,o,c="value"in na?na.value:na.textContent,u=c.length;for(e=0;e<i&&n[e]===c[e];e++);var y=i-e;for(o=1;o<=y&&n[i-o]===c[u-o];o++);return Xo=c.slice(e,1<o?1-o:void 0)}function Qo(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Ko(){return!0}function fm(){return!1}function At(e){function n(i,o,c,u,y){this._reactName=i,this._targetInst=c,this.type=o,this.nativeEvent=u,this.target=y,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(i=e[b],this[b]=i?i(u):u[b]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ko:fm,this.isPropagationStopped=fm,this}return x(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Ko)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ko)},persist:function(){},isPersistent:Ko}),n}var Ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zo=At(Ha),ws=x({},Ha,{view:0,detail:0}),NS=At(ws),Cc,Ac,Ss,Wo=x({},ws,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jc,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!==Ss&&(Ss&&e.type==="mousemove"?(Cc=e.screenX-Ss.screenX,Ac=e.screenY-Ss.screenY):Ac=Cc=0,Ss=e),Cc)},movementY:function(e){return"movementY"in e?e.movementY:Ac}}),hm=At(Wo),DS=x({},Wo,{dataTransfer:0}),kS=At(DS),MS=x({},ws,{relatedTarget:0}),Tc=At(MS),OS=x({},Ha,{animationName:0,elapsedTime:0,pseudoElement:0}),_S=At(OS),LS=x({},Ha,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),PS=At(LS),BS=x({},Ha,{data:0}),mm=At(BS),zS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},VS={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"},US={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function HS(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=US[e])?!!n[e]:!1}function jc(){return HS}var qS=x({},ws,{key:function(e){if(e.key){var n=zS[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Qo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?VS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jc,charCode:function(e){return e.type==="keypress"?Qo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),IS=At(qS),GS=x({},Wo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pm=At(GS),YS=x({},ws,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jc}),FS=At(YS),XS=x({},Ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),QS=At(XS),KS=x({},Wo,{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}),ZS=At(KS),WS=x({},Ha,{newState:0,oldState:0}),$S=At(WS),JS=[9,13,27,32],Ec=Mn&&"CompositionEvent"in window,Cs=null;Mn&&"documentMode"in document&&(Cs=document.documentMode);var eC=Mn&&"TextEvent"in window&&!Cs,gm=Mn&&(!Ec||Cs&&8<Cs&&11>=Cs),ym=" ",vm=!1;function xm(e,n){switch(e){case"keyup":return JS.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xi=!1;function tC(e,n){switch(e){case"compositionend":return bm(n);case"keypress":return n.which!==32?null:(vm=!0,ym);case"textInput":return e=n.data,e===ym&&vm?null:e;default:return null}}function nC(e,n){if(xi)return e==="compositionend"||!Ec&&xm(e,n)?(e=dm(),Xo=Sc=na=null,xi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return gm&&n.locale!=="ko"?null:n.data;default:return null}}var aC={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 wm(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!aC[e.type]:n==="textarea"}function Sm(e,n,i,o){yi?vi?vi.push(o):vi=[o]:yi=o,n=Ur(n,"onChange"),0<n.length&&(i=new Zo("onChange","change",null,i,o),e.push({event:i,listeners:n}))}var As=null,Ts=null;function iC(e){iy(e,0)}function $o(e){var n=vs(e);if(am(n))return e}function Cm(e,n){if(e==="change")return n}var Am=!1;if(Mn){var Rc;if(Mn){var Nc="oninput"in document;if(!Nc){var Tm=document.createElement("div");Tm.setAttribute("oninput","return;"),Nc=typeof Tm.oninput=="function"}Rc=Nc}else Rc=!1;Am=Rc&&(!document.documentMode||9<document.documentMode)}function jm(){As&&(As.detachEvent("onpropertychange",Em),Ts=As=null)}function Em(e){if(e.propertyName==="value"&&$o(Ts)){var n=[];Sm(n,Ts,e,xc(e)),um(iC,n)}}function sC(e,n,i){e==="focusin"?(jm(),As=n,Ts=i,As.attachEvent("onpropertychange",Em)):e==="focusout"&&jm()}function oC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $o(Ts)}function rC(e,n){if(e==="click")return $o(n)}function lC(e,n){if(e==="input"||e==="change")return $o(n)}function cC(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Ot=typeof Object.is=="function"?Object.is:cC;function js(e,n){if(Ot(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),o=Object.keys(n);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var c=i[o];if(!oc.call(n,c)||!Ot(e[c],n[c]))return!1}return!0}function Rm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nm(e,n){var i=Rm(e);e=0;for(var o;i;){if(i.nodeType===3){if(o=e+i.textContent.length,e<=n&&o>=n)return{node:i,offset:n-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Rm(i)}}function Dm(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Dm(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function km(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=Yo(e.document);n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=Yo(e.document)}return n}function Dc(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var uC=Mn&&"documentMode"in document&&11>=document.documentMode,bi=null,kc=null,Es=null,Mc=!1;function Mm(e,n,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Mc||bi==null||bi!==Yo(o)||(o=bi,"selectionStart"in o&&Dc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Es&&js(Es,o)||(Es=o,o=Ur(kc,"onSelect"),0<o.length&&(n=new Zo("onSelect","select",null,n,i),e.push({event:n,listeners:o}),n.target=bi)))}function qa(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var wi={animationend:qa("Animation","AnimationEnd"),animationiteration:qa("Animation","AnimationIteration"),animationstart:qa("Animation","AnimationStart"),transitionrun:qa("Transition","TransitionRun"),transitionstart:qa("Transition","TransitionStart"),transitioncancel:qa("Transition","TransitionCancel"),transitionend:qa("Transition","TransitionEnd")},Oc={},Om={};Mn&&(Om=document.createElement("div").style,"AnimationEvent"in window||(delete wi.animationend.animation,delete wi.animationiteration.animation,delete wi.animationstart.animation),"TransitionEvent"in window||delete wi.transitionend.transition);function Ia(e){if(Oc[e])return Oc[e];if(!wi[e])return e;var n=wi[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in Om)return Oc[e]=n[i];return e}var _m=Ia("animationend"),Lm=Ia("animationiteration"),Pm=Ia("animationstart"),dC=Ia("transitionrun"),fC=Ia("transitionstart"),hC=Ia("transitioncancel"),Bm=Ia("transitionend"),zm=new Map,_c="abort auxClick beforeToggle 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(" ");_c.push("scrollEnd");function an(e,n){zm.set(e,n),Ua(n,[e])}var Jo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ft=[],Si=0,Lc=0;function er(){for(var e=Si,n=Lc=Si=0;n<e;){var i=Ft[n];Ft[n++]=null;var o=Ft[n];Ft[n++]=null;var c=Ft[n];Ft[n++]=null;var u=Ft[n];if(Ft[n++]=null,o!==null&&c!==null){var y=o.pending;y===null?c.next=c:(c.next=y.next,y.next=c),o.pending=c}u!==0&&Vm(i,c,u)}}function tr(e,n,i,o){Ft[Si++]=e,Ft[Si++]=n,Ft[Si++]=i,Ft[Si++]=o,Lc|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Pc(e,n,i,o){return tr(e,n,i,o),nr(e)}function Ga(e,n){return tr(e,null,null,n),nr(e)}function Vm(e,n,i){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i);for(var c=!1,u=e.return;u!==null;)u.childLanes|=i,o=u.alternate,o!==null&&(o.childLanes|=i),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(c=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,c&&n!==null&&(c=31-Mt(i),e=u.hiddenUpdates,o=e[c],o===null?e[c]=[n]:o.push(n),n.lane=i|536870912),u):null}function nr(e){if(50<Ks)throw Ks=0,Yu=null,Error(r(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Ci={};function mC(e,n,i,o){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _t(e,n,i,o){return new mC(e,n,i,o)}function Bc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function On(e,n){var i=e.alternate;return i===null?(i=_t(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function Um(e,n){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,n=i.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function ar(e,n,i,o,c,u){var y=0;if(o=e,typeof e=="function")Bc(e)&&(y=1);else if(typeof e=="string")y=x2(e,i,W.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case se:return e=_t(31,i,n,c),e.elementType=se,e.lanes=u,e;case A:return Ya(i.children,c,u,n);case E:y=8,c|=24;break;case D:return e=_t(12,i,n,c|2),e.elementType=D,e.lanes=u,e;case U:return e=_t(13,i,n,c),e.elementType=U,e.lanes=u,e;case K:return e=_t(19,i,n,c),e.elementType=K,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case O:y=10;break e;case M:y=9;break e;case H:y=11;break e;case X:y=14;break e;case q:y=16,o=null;break e}y=29,i=Error(r(130,e===null?"null":typeof e,"")),o=null}return n=_t(y,i,n,c),n.elementType=e,n.type=o,n.lanes=u,n}function Ya(e,n,i,o){return e=_t(7,e,o,n),e.lanes=i,e}function zc(e,n,i){return e=_t(6,e,null,n),e.lanes=i,e}function Hm(e){var n=_t(18,null,null,0);return n.stateNode=e,n}function Vc(e,n,i){return n=_t(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var qm=new WeakMap;function Xt(e,n){if(typeof e=="object"&&e!==null){var i=qm.get(e);return i!==void 0?i:(n={value:e,source:n,stack:Hh(n)},qm.set(e,n),n)}return{value:e,source:n,stack:Hh(n)}}var Ai=[],Ti=0,ir=null,Rs=0,Qt=[],Kt=0,aa=null,gn=1,yn="";function _n(e,n){Ai[Ti++]=Rs,Ai[Ti++]=ir,ir=e,Rs=n}function Im(e,n,i){Qt[Kt++]=gn,Qt[Kt++]=yn,Qt[Kt++]=aa,aa=e;var o=gn;e=yn;var c=32-Mt(o)-1;o&=~(1<<c),i+=1;var u=32-Mt(n)+c;if(30<u){var y=c-c%5;u=(o&(1<<y)-1).toString(32),o>>=y,c-=y,gn=1<<32-Mt(n)+c|i<<c|o,yn=u+e}else gn=1<<u|i<<c|o,yn=e}function Uc(e){e.return!==null&&(_n(e,1),Im(e,1,0))}function Hc(e){for(;e===ir;)ir=Ai[--Ti],Ai[Ti]=null,Rs=Ai[--Ti],Ai[Ti]=null;for(;e===aa;)aa=Qt[--Kt],Qt[Kt]=null,yn=Qt[--Kt],Qt[Kt]=null,gn=Qt[--Kt],Qt[Kt]=null}function Gm(e,n){Qt[Kt++]=gn,Qt[Kt++]=yn,Qt[Kt++]=aa,gn=n.id,yn=n.overflow,aa=e}var ft=null,Ve=null,je=!1,ia=null,Zt=!1,qc=Error(r(519));function sa(e){var n=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ns(Xt(n,e)),qc}function Ym(e){var n=e.stateNode,i=e.type,o=e.memoizedProps;switch(n[dt]=e,n[Ct]=o,i){case"dialog":Se("cancel",n),Se("close",n);break;case"iframe":case"object":case"embed":Se("load",n);break;case"video":case"audio":for(i=0;i<Ws.length;i++)Se(Ws[i],n);break;case"source":Se("error",n);break;case"img":case"image":case"link":Se("error",n),Se("load",n);break;case"details":Se("toggle",n);break;case"input":Se("invalid",n),im(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Se("invalid",n);break;case"textarea":Se("invalid",n),om(n,o.value,o.defaultValue,o.children)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||n.textContent===""+i||o.suppressHydrationWarning===!0||ly(n.textContent,i)?(o.popover!=null&&(Se("beforetoggle",n),Se("toggle",n)),o.onScroll!=null&&Se("scroll",n),o.onScrollEnd!=null&&Se("scrollend",n),o.onClick!=null&&(n.onclick=kn),n=!0):n=!1,n||sa(e,!0)}function Fm(e){for(ft=e.return;ft;)switch(ft.tag){case 5:case 31:case 13:Zt=!1;return;case 27:case 3:Zt=!0;return;default:ft=ft.return}}function ji(e){if(e!==ft)return!1;if(!je)return Fm(e),je=!0,!1;var n=e.tag,i;if((i=n!==3&&n!==27)&&((i=n===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||od(e.type,e.memoizedProps)),i=!i),i&&Ve&&sa(e),Fm(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ve=yy(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ve=yy(e)}else n===27?(n=Ve,xa(e.type)?(e=dd,dd=null,Ve=e):Ve=n):Ve=ft?$t(e.stateNode.nextSibling):null;return!0}function Fa(){Ve=ft=null,je=!1}function Ic(){var e=ia;return e!==null&&(Rt===null?Rt=e:Rt.push.apply(Rt,e),ia=null),e}function Ns(e){ia===null?ia=[e]:ia.push(e)}var Gc=R(null),Xa=null,Ln=null;function oa(e,n,i){Z(Gc,n._currentValue),n._currentValue=i}function Pn(e){e._currentValue=Gc.current,Y(Gc)}function Yc(e,n,i){for(;e!==null;){var o=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),e===i)break;e=e.return}}function Fc(e,n,i,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var u=c.dependencies;if(u!==null){var y=c.child;u=u.firstContext;e:for(;u!==null;){var b=u;u=c;for(var T=0;T<n.length;T++)if(b.context===n[T]){u.lanes|=i,b=u.alternate,b!==null&&(b.lanes|=i),Yc(u.return,i,e),o||(y=null);break e}u=b.next}}else if(c.tag===18){if(y=c.return,y===null)throw Error(r(341));y.lanes|=i,u=y.alternate,u!==null&&(u.lanes|=i),Yc(y,i,e),y=null}else y=c.child;if(y!==null)y.return=c;else for(y=c;y!==null;){if(y===e){y=null;break}if(c=y.sibling,c!==null){c.return=y.return,y=c;break}y=y.return}c=y}}function Ei(e,n,i,o){e=null;for(var c=n,u=!1;c!==null;){if(!u){if((c.flags&524288)!==0)u=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var y=c.alternate;if(y===null)throw Error(r(387));if(y=y.memoizedProps,y!==null){var b=c.type;Ot(c.pendingProps.value,y.value)||(e!==null?e.push(b):e=[b])}}else if(c===oe.current){if(y=c.alternate,y===null)throw Error(r(387));y.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(no):e=[no])}c=c.return}e!==null&&Fc(n,e,i,o),n.flags|=262144}function sr(e){for(e=e.firstContext;e!==null;){if(!Ot(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qa(e){Xa=e,Ln=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ht(e){return Xm(Xa,e)}function or(e,n){return Xa===null&&Qa(e),Xm(e,n)}function Xm(e,n){var i=n._currentValue;if(n={context:n,memoizedValue:i,next:null},Ln===null){if(e===null)throw Error(r(308));Ln=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Ln=Ln.next=n;return i}var pC=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(i,o){e.push(o)}};this.abort=function(){n.aborted=!0,e.forEach(function(i){return i()})}},gC=t.unstable_scheduleCallback,yC=t.unstable_NormalPriority,Je={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xc(){return{controller:new pC,data:new Map,refCount:0}}function Ds(e){e.refCount--,e.refCount===0&&gC(yC,function(){e.controller.abort()})}var ks=null,Qc=0,Ri=0,Ni=null;function vC(e,n){if(ks===null){var i=ks=[];Qc=0,Ri=Wu(),Ni={status:"pending",value:void 0,then:function(o){i.push(o)}}}return Qc++,n.then(Qm,Qm),n}function Qm(){if(--Qc===0&&ks!==null){Ni!==null&&(Ni.status="fulfilled");var e=ks;ks=null,Ri=0,Ni=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function xC(e,n){var i=[],o={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return e.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<i.length;c++)(0,i[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),o}var Km=_.S;_.S=function(e,n){Mg=Dt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&vC(e,n),Km!==null&&Km(e,n)};var Ka=R(null);function Kc(){var e=Ka.current;return e!==null?e:Be.pooledCache}function rr(e,n){n===null?Z(Ka,Ka.current):Z(Ka,n.pool)}function Zm(){var e=Kc();return e===null?null:{parent:Je._currentValue,pool:e}}var Di=Error(r(460)),Zc=Error(r(474)),lr=Error(r(542)),cr={then:function(){}};function Wm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function $m(e,n,i){switch(i=e[i],i===void 0?e.push(n):i!==n&&(n.then(kn,kn),n=i),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,ep(e),e;default:if(typeof n.status=="string")n.then(kn,kn);else{if(e=Be,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=n,e.status="pending",e.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,ep(e),e}throw Wa=n,Di}}function Za(e){try{var n=e._init;return n(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(Wa=i,Di):i}}var Wa=null;function Jm(){if(Wa===null)throw Error(r(459));var e=Wa;return Wa=null,e}function ep(e){if(e===Di||e===lr)throw Error(r(483))}var ki=null,Ms=0;function ur(e){var n=Ms;return Ms+=1,ki===null&&(ki=[]),$m(ki,e,n)}function Os(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function dr(e,n){throw n.$$typeof===w?Error(r(525)):(e=Object.prototype.toString.call(n),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function tp(e){function n(k,N){if(e){var L=k.deletions;L===null?(k.deletions=[N],k.flags|=16):L.push(N)}}function i(k,N){if(!e)return null;for(;N!==null;)n(k,N),N=N.sibling;return null}function o(k){for(var N=new Map;k!==null;)k.key!==null?N.set(k.key,k):N.set(k.index,k),k=k.sibling;return N}function c(k,N){return k=On(k,N),k.index=0,k.sibling=null,k}function u(k,N,L){return k.index=L,e?(L=k.alternate,L!==null?(L=L.index,L<N?(k.flags|=67108866,N):L):(k.flags|=67108866,N)):(k.flags|=1048576,N)}function y(k){return e&&k.alternate===null&&(k.flags|=67108866),k}function b(k,N,L,F){return N===null||N.tag!==6?(N=zc(L,k.mode,F),N.return=k,N):(N=c(N,L),N.return=k,N)}function T(k,N,L,F){var re=L.type;return re===A?G(k,N,L.props.children,F,L.key):N!==null&&(N.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===q&&Za(re)===N.type)?(N=c(N,L.props),Os(N,L),N.return=k,N):(N=ar(L.type,L.key,L.props,null,k.mode,F),Os(N,L),N.return=k,N)}function P(k,N,L,F){return N===null||N.tag!==4||N.stateNode.containerInfo!==L.containerInfo||N.stateNode.implementation!==L.implementation?(N=Vc(L,k.mode,F),N.return=k,N):(N=c(N,L.children||[]),N.return=k,N)}function G(k,N,L,F,re){return N===null||N.tag!==7?(N=Ya(L,k.mode,F,re),N.return=k,N):(N=c(N,L),N.return=k,N)}function Q(k,N,L){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=zc(""+N,k.mode,L),N.return=k,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case C:return L=ar(N.type,N.key,N.props,null,k.mode,L),Os(L,N),L.return=k,L;case j:return N=Vc(N,k.mode,L),N.return=k,N;case q:return N=Za(N),Q(k,N,L)}if(he(N)||ge(N))return N=Ya(N,k.mode,L,null),N.return=k,N;if(typeof N.then=="function")return Q(k,ur(N),L);if(N.$$typeof===O)return Q(k,or(k,N),L);dr(k,N)}return null}function B(k,N,L,F){var re=N!==null?N.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return re!==null?null:b(k,N,""+L,F);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case C:return L.key===re?T(k,N,L,F):null;case j:return L.key===re?P(k,N,L,F):null;case q:return L=Za(L),B(k,N,L,F)}if(he(L)||ge(L))return re!==null?null:G(k,N,L,F,null);if(typeof L.then=="function")return B(k,N,ur(L),F);if(L.$$typeof===O)return B(k,N,or(k,L),F);dr(k,L)}return null}function V(k,N,L,F,re){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return k=k.get(L)||null,b(N,k,""+F,re);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case C:return k=k.get(F.key===null?L:F.key)||null,T(N,k,F,re);case j:return k=k.get(F.key===null?L:F.key)||null,P(N,k,F,re);case q:return F=Za(F),V(k,N,L,F,re)}if(he(F)||ge(F))return k=k.get(L)||null,G(N,k,F,re,null);if(typeof F.then=="function")return V(k,N,L,ur(F),re);if(F.$$typeof===O)return V(k,N,L,or(N,F),re);dr(N,F)}return null}function ee(k,N,L,F){for(var re=null,Ee=null,ie=N,xe=N=0,Ae=null;ie!==null&&xe<L.length;xe++){ie.index>xe?(Ae=ie,ie=null):Ae=ie.sibling;var Re=B(k,ie,L[xe],F);if(Re===null){ie===null&&(ie=Ae);break}e&&ie&&Re.alternate===null&&n(k,ie),N=u(Re,N,xe),Ee===null?re=Re:Ee.sibling=Re,Ee=Re,ie=Ae}if(xe===L.length)return i(k,ie),je&&_n(k,xe),re;if(ie===null){for(;xe<L.length;xe++)ie=Q(k,L[xe],F),ie!==null&&(N=u(ie,N,xe),Ee===null?re=ie:Ee.sibling=ie,Ee=ie);return je&&_n(k,xe),re}for(ie=o(ie);xe<L.length;xe++)Ae=V(ie,k,xe,L[xe],F),Ae!==null&&(e&&Ae.alternate!==null&&ie.delete(Ae.key===null?xe:Ae.key),N=u(Ae,N,xe),Ee===null?re=Ae:Ee.sibling=Ae,Ee=Ae);return e&&ie.forEach(function(Aa){return n(k,Aa)}),je&&_n(k,xe),re}function ce(k,N,L,F){if(L==null)throw Error(r(151));for(var re=null,Ee=null,ie=N,xe=N=0,Ae=null,Re=L.next();ie!==null&&!Re.done;xe++,Re=L.next()){ie.index>xe?(Ae=ie,ie=null):Ae=ie.sibling;var Aa=B(k,ie,Re.value,F);if(Aa===null){ie===null&&(ie=Ae);break}e&&ie&&Aa.alternate===null&&n(k,ie),N=u(Aa,N,xe),Ee===null?re=Aa:Ee.sibling=Aa,Ee=Aa,ie=Ae}if(Re.done)return i(k,ie),je&&_n(k,xe),re;if(ie===null){for(;!Re.done;xe++,Re=L.next())Re=Q(k,Re.value,F),Re!==null&&(N=u(Re,N,xe),Ee===null?re=Re:Ee.sibling=Re,Ee=Re);return je&&_n(k,xe),re}for(ie=o(ie);!Re.done;xe++,Re=L.next())Re=V(ie,k,xe,Re.value,F),Re!==null&&(e&&Re.alternate!==null&&ie.delete(Re.key===null?xe:Re.key),N=u(Re,N,xe),Ee===null?re=Re:Ee.sibling=Re,Ee=Re);return e&&ie.forEach(function(D2){return n(k,D2)}),je&&_n(k,xe),re}function Le(k,N,L,F){if(typeof L=="object"&&L!==null&&L.type===A&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case C:e:{for(var re=L.key;N!==null;){if(N.key===re){if(re=L.type,re===A){if(N.tag===7){i(k,N.sibling),F=c(N,L.props.children),F.return=k,k=F;break e}}else if(N.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===q&&Za(re)===N.type){i(k,N.sibling),F=c(N,L.props),Os(F,L),F.return=k,k=F;break e}i(k,N);break}else n(k,N);N=N.sibling}L.type===A?(F=Ya(L.props.children,k.mode,F,L.key),F.return=k,k=F):(F=ar(L.type,L.key,L.props,null,k.mode,F),Os(F,L),F.return=k,k=F)}return y(k);case j:e:{for(re=L.key;N!==null;){if(N.key===re)if(N.tag===4&&N.stateNode.containerInfo===L.containerInfo&&N.stateNode.implementation===L.implementation){i(k,N.sibling),F=c(N,L.children||[]),F.return=k,k=F;break e}else{i(k,N);break}else n(k,N);N=N.sibling}F=Vc(L,k.mode,F),F.return=k,k=F}return y(k);case q:return L=Za(L),Le(k,N,L,F)}if(he(L))return ee(k,N,L,F);if(ge(L)){if(re=ge(L),typeof re!="function")throw Error(r(150));return L=re.call(L),ce(k,N,L,F)}if(typeof L.then=="function")return Le(k,N,ur(L),F);if(L.$$typeof===O)return Le(k,N,or(k,L),F);dr(k,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,N!==null&&N.tag===6?(i(k,N.sibling),F=c(N,L),F.return=k,k=F):(i(k,N),F=zc(L,k.mode,F),F.return=k,k=F),y(k)):i(k,N)}return function(k,N,L,F){try{Ms=0;var re=Le(k,N,L,F);return ki=null,re}catch(ie){if(ie===Di||ie===lr)throw ie;var Ee=_t(29,ie,null,k.mode);return Ee.lanes=F,Ee.return=k,Ee}}}var $a=tp(!0),np=tp(!1),ra=!1;function Wc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $c(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function la(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ca(e,n,i){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Ne&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=nr(e),Vm(e,null,i),n}return tr(e,o,n,i),nr(e)}function _s(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,i|=o,n.lanes=i,Xh(e,i)}}function Jc(e,n){var i=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var c=null,u=null;if(i=i.firstBaseUpdate,i!==null){do{var y={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};u===null?c=u=y:u=u.next=y,i=i.next}while(i!==null);u===null?c=u=n:u=u.next=n}else c=u=n;i={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:u,shared:o.shared,callbacks:o.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}var eu=!1;function Ls(){if(eu){var e=Ni;if(e!==null)throw e}}function Ps(e,n,i,o){eu=!1;var c=e.updateQueue;ra=!1;var u=c.firstBaseUpdate,y=c.lastBaseUpdate,b=c.shared.pending;if(b!==null){c.shared.pending=null;var T=b,P=T.next;T.next=null,y===null?u=P:y.next=P,y=T;var G=e.alternate;G!==null&&(G=G.updateQueue,b=G.lastBaseUpdate,b!==y&&(b===null?G.firstBaseUpdate=P:b.next=P,G.lastBaseUpdate=T))}if(u!==null){var Q=c.baseState;y=0,G=P=T=null,b=u;do{var B=b.lane&-536870913,V=B!==b.lane;if(V?(Ce&B)===B:(o&B)===B){B!==0&&B===Ri&&(eu=!0),G!==null&&(G=G.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var ee=e,ce=b;B=n;var Le=i;switch(ce.tag){case 1:if(ee=ce.payload,typeof ee=="function"){Q=ee.call(Le,Q,B);break e}Q=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=ce.payload,B=typeof ee=="function"?ee.call(Le,Q,B):ee,B==null)break e;Q=x({},Q,B);break e;case 2:ra=!0}}B=b.callback,B!==null&&(e.flags|=64,V&&(e.flags|=8192),V=c.callbacks,V===null?c.callbacks=[B]:V.push(B))}else V={lane:B,tag:b.tag,payload:b.payload,callback:b.callback,next:null},G===null?(P=G=V,T=Q):G=G.next=V,y|=B;if(b=b.next,b===null){if(b=c.shared.pending,b===null)break;V=b,b=V.next,V.next=null,c.lastBaseUpdate=V,c.shared.pending=null}}while(!0);G===null&&(T=Q),c.baseState=T,c.firstBaseUpdate=P,c.lastBaseUpdate=G,u===null&&(c.shared.lanes=0),ma|=y,e.lanes=y,e.memoizedState=Q}}function ap(e,n){if(typeof e!="function")throw Error(r(191,e));e.call(n)}function ip(e,n){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)ap(i[e],n)}var Mi=R(null),fr=R(0);function sp(e,n){e=Yn,Z(fr,e),Z(Mi,n),Yn=e|n.baseLanes}function tu(){Z(fr,Yn),Z(Mi,Mi.current)}function nu(){Yn=fr.current,Y(Mi),Y(fr)}var Lt=R(null),Wt=null;function ua(e){var n=e.alternate;Z(Ke,Ke.current&1),Z(Lt,e),Wt===null&&(n===null||Mi.current!==null||n.memoizedState!==null)&&(Wt=e)}function au(e){Z(Ke,Ke.current),Z(Lt,e),Wt===null&&(Wt=e)}function op(e){e.tag===22?(Z(Ke,Ke.current),Z(Lt,e),Wt===null&&(Wt=e)):da()}function da(){Z(Ke,Ke.current),Z(Lt,Lt.current)}function Pt(e){Y(Lt),Wt===e&&(Wt=null),Y(Ke)}var Ke=R(0);function hr(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||cd(i)||ud(i)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Bn=0,ve=null,Oe=null,et=null,mr=!1,Oi=!1,Ja=!1,pr=0,Bs=0,_i=null,bC=0;function Ye(){throw Error(r(321))}function iu(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!Ot(e[i],n[i]))return!1;return!0}function su(e,n,i,o,c,u){return Bn=u,ve=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,_.H=e===null||e.memoizedState===null?Ip:bu,Ja=!1,u=i(o,c),Ja=!1,Oi&&(u=lp(n,i,o,c)),rp(e),u}function rp(e){_.H=Us;var n=Oe!==null&&Oe.next!==null;if(Bn=0,et=Oe=ve=null,mr=!1,Bs=0,_i=null,n)throw Error(r(300));e===null||tt||(e=e.dependencies,e!==null&&sr(e)&&(tt=!0))}function lp(e,n,i,o){ve=e;var c=0;do{if(Oi&&(_i=null),Bs=0,Oi=!1,25<=c)throw Error(r(301));if(c+=1,et=Oe=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}_.H=Gp,u=n(i,o)}while(Oi);return u}function wC(){var e=_.H,n=e.useState()[0];return n=typeof n.then=="function"?zs(n):n,e=e.useState()[0],(Oe!==null?Oe.memoizedState:null)!==e&&(ve.flags|=1024),n}function ou(){var e=pr!==0;return pr=0,e}function ru(e,n,i){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~i}function lu(e){if(mr){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}mr=!1}Bn=0,et=Oe=ve=null,Oi=!1,Bs=pr=0,_i=null}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?ve.memoizedState=et=e:et=et.next=e,et}function Ze(){if(Oe===null){var e=ve.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var n=et===null?ve.memoizedState:et.next;if(n!==null)et=n,Oe=e;else{if(e===null)throw ve.alternate===null?Error(r(467)):Error(r(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},et===null?ve.memoizedState=et=e:et=et.next=e}return et}function gr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zs(e){var n=Bs;return Bs+=1,_i===null&&(_i=[]),e=$m(_i,e,n),n=ve,(et===null?n.memoizedState:et.next)===null&&(n=n.alternate,_.H=n===null||n.memoizedState===null?Ip:bu),e}function yr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return zs(e);if(e.$$typeof===O)return ht(e)}throw Error(r(438,String(e)))}function cu(e){var n=null,i=ve.updateQueue;if(i!==null&&(n=i.memoCache),n==null){var o=ve.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),i===null&&(i=gr(),ve.updateQueue=i),i.memoCache=n,i=n.data[n.index],i===void 0)for(i=n.data[n.index]=Array(e),o=0;o<e;o++)i[o]=ue;return n.index++,i}function zn(e,n){return typeof n=="function"?n(e):n}function vr(e){var n=Ze();return uu(n,Oe,e)}function uu(e,n,i){var o=e.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=i;var c=e.baseQueue,u=o.pending;if(u!==null){if(c!==null){var y=c.next;c.next=u.next,u.next=y}n.baseQueue=c=u,o.pending=null}if(u=e.baseState,c===null)e.memoizedState=u;else{n=c.next;var b=y=null,T=null,P=n,G=!1;do{var Q=P.lane&-536870913;if(Q!==P.lane?(Ce&Q)===Q:(Bn&Q)===Q){var B=P.revertLane;if(B===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),Q===Ri&&(G=!0);else if((Bn&B)===B){P=P.next,B===Ri&&(G=!0);continue}else Q={lane:0,revertLane:P.revertLane,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},T===null?(b=T=Q,y=u):T=T.next=Q,ve.lanes|=B,ma|=B;Q=P.action,Ja&&i(u,Q),u=P.hasEagerState?P.eagerState:i(u,Q)}else B={lane:Q,revertLane:P.revertLane,gesture:P.gesture,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},T===null?(b=T=B,y=u):T=T.next=B,ve.lanes|=Q,ma|=Q;P=P.next}while(P!==null&&P!==n);if(T===null?y=u:T.next=b,!Ot(u,e.memoizedState)&&(tt=!0,G&&(i=Ni,i!==null)))throw i;e.memoizedState=u,e.baseState=y,e.baseQueue=T,o.lastRenderedState=u}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function du(e){var n=Ze(),i=n.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=e;var o=i.dispatch,c=i.pending,u=n.memoizedState;if(c!==null){i.pending=null;var y=c=c.next;do u=e(u,y.action),y=y.next;while(y!==c);Ot(u,n.memoizedState)||(tt=!0),n.memoizedState=u,n.baseQueue===null&&(n.baseState=u),i.lastRenderedState=u}return[u,o]}function cp(e,n,i){var o=ve,c=Ze(),u=je;if(u){if(i===void 0)throw Error(r(407));i=i()}else i=n();var y=!Ot((Oe||c).memoizedState,i);if(y&&(c.memoizedState=i,tt=!0),c=c.queue,mu(fp.bind(null,o,c,e),[e]),c.getSnapshot!==n||y||et!==null&&et.memoizedState.tag&1){if(o.flags|=2048,Li(9,{destroy:void 0},dp.bind(null,o,c,i,n),null),Be===null)throw Error(r(349));u||(Bn&127)!==0||up(o,n,i)}return i}function up(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=ve.updateQueue,n===null?(n=gr(),ve.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function dp(e,n,i,o){n.value=i,n.getSnapshot=o,hp(n)&&mp(e)}function fp(e,n,i){return i(function(){hp(n)&&mp(e)})}function hp(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!Ot(e,i)}catch{return!0}}function mp(e){var n=Ga(e,2);n!==null&&Nt(n,e,2)}function fu(e){var n=xt();if(typeof e=="function"){var i=e;if(e=i(),Ja){ea(!0);try{i()}finally{ea(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:e},n}function pp(e,n,i,o){return e.baseState=i,uu(e,Oe,typeof o=="function"?o:zn)}function SC(e,n,i,o,c){if(wr(e))throw Error(r(485));if(e=n.action,e!==null){var u={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){u.listeners.push(y)}};_.T!==null?i(!0):u.isTransition=!1,o(u),i=n.pending,i===null?(u.next=n.pending=u,gp(n,u)):(u.next=i.next,n.pending=i.next=u)}}function gp(e,n){var i=n.action,o=n.payload,c=e.state;if(n.isTransition){var u=_.T,y={};_.T=y;try{var b=i(c,o),T=_.S;T!==null&&T(y,b),yp(e,n,b)}catch(P){hu(e,n,P)}finally{u!==null&&y.types!==null&&(u.types=y.types),_.T=u}}else try{u=i(c,o),yp(e,n,u)}catch(P){hu(e,n,P)}}function yp(e,n,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(o){vp(e,n,o)},function(o){return hu(e,n,o)}):vp(e,n,i)}function vp(e,n,i){n.status="fulfilled",n.value=i,xp(n),e.state=i,n=e.pending,n!==null&&(i=n.next,i===n?e.pending=null:(i=i.next,n.next=i,gp(e,i)))}function hu(e,n,i){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=i,xp(n),n=n.next;while(n!==o)}e.action=null}function xp(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function bp(e,n){return n}function wp(e,n){if(je){var i=Be.formState;if(i!==null){e:{var o=ve;if(je){if(Ve){t:{for(var c=Ve,u=Zt;c.nodeType!==8;){if(!u){c=null;break t}if(c=$t(c.nextSibling),c===null){c=null;break t}}u=c.data,c=u==="F!"||u==="F"?c:null}if(c){Ve=$t(c.nextSibling),o=c.data==="F!";break e}}sa(o)}o=!1}o&&(n=i[0])}}return i=xt(),i.memoizedState=i.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bp,lastRenderedState:n},i.queue=o,i=Up.bind(null,ve,o),o.dispatch=i,o=fu(!1),u=xu.bind(null,ve,!1,o.queue),o=xt(),c={state:n,dispatch:null,action:e,pending:null},o.queue=c,i=SC.bind(null,ve,c,u,i),c.dispatch=i,o.memoizedState=e,[n,i,!1]}function Sp(e){var n=Ze();return Cp(n,Oe,e)}function Cp(e,n,i){if(n=uu(e,n,bp)[0],e=vr(zn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=zs(n)}catch(y){throw y===Di?lr:y}else o=n;n=Ze();var c=n.queue,u=c.dispatch;return i!==n.memoizedState&&(ve.flags|=2048,Li(9,{destroy:void 0},CC.bind(null,c,i),null)),[o,u,e]}function CC(e,n){e.action=n}function Ap(e){var n=Ze(),i=Oe;if(i!==null)return Cp(n,i,e);Ze(),n=n.memoizedState,i=Ze();var o=i.queue.dispatch;return i.memoizedState=e,[n,o,!1]}function Li(e,n,i,o){return e={tag:e,create:i,deps:o,inst:n,next:null},n=ve.updateQueue,n===null&&(n=gr(),ve.updateQueue=n),i=n.lastEffect,i===null?n.lastEffect=e.next=e:(o=i.next,i.next=e,e.next=o,n.lastEffect=e),e}function Tp(){return Ze().memoizedState}function xr(e,n,i,o){var c=xt();ve.flags|=e,c.memoizedState=Li(1|n,{destroy:void 0},i,o===void 0?null:o)}function br(e,n,i,o){var c=Ze();o=o===void 0?null:o;var u=c.memoizedState.inst;Oe!==null&&o!==null&&iu(o,Oe.memoizedState.deps)?c.memoizedState=Li(n,u,i,o):(ve.flags|=e,c.memoizedState=Li(1|n,u,i,o))}function jp(e,n){xr(8390656,8,e,n)}function mu(e,n){br(2048,8,e,n)}function AC(e){ve.flags|=4;var n=ve.updateQueue;if(n===null)n=gr(),ve.updateQueue=n,n.events=[e];else{var i=n.events;i===null?n.events=[e]:i.push(e)}}function Ep(e){var n=Ze().memoizedState;return AC({ref:n,nextImpl:e}),function(){if((Ne&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}function Rp(e,n){return br(4,2,e,n)}function Np(e,n){return br(4,4,e,n)}function Dp(e,n){if(typeof n=="function"){e=e();var i=n(e);return function(){typeof i=="function"?i():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function kp(e,n,i){i=i!=null?i.concat([e]):null,br(4,4,Dp.bind(null,n,e),i)}function pu(){}function Mp(e,n){var i=Ze();n=n===void 0?null:n;var o=i.memoizedState;return n!==null&&iu(n,o[1])?o[0]:(i.memoizedState=[e,n],e)}function Op(e,n){var i=Ze();n=n===void 0?null:n;var o=i.memoizedState;if(n!==null&&iu(n,o[1]))return o[0];if(o=e(),Ja){ea(!0);try{e()}finally{ea(!1)}}return i.memoizedState=[o,n],o}function gu(e,n,i){return i===void 0||(Bn&1073741824)!==0&&(Ce&261930)===0?e.memoizedState=n:(e.memoizedState=i,e=_g(),ve.lanes|=e,ma|=e,i)}function _p(e,n,i,o){return Ot(i,n)?i:Mi.current!==null?(e=gu(e,i,o),Ot(e,n)||(tt=!0),e):(Bn&42)===0||(Bn&1073741824)!==0&&(Ce&261930)===0?(tt=!0,e.memoizedState=i):(e=_g(),ve.lanes|=e,ma|=e,n)}function Lp(e,n,i,o,c){var u=I.p;I.p=u!==0&&8>u?u:8;var y=_.T,b={};_.T=b,xu(e,!1,n,i);try{var T=c(),P=_.S;if(P!==null&&P(b,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var G=xC(T,o);Vs(e,n,G,Vt(e))}else Vs(e,n,o,Vt(e))}catch(Q){Vs(e,n,{then:function(){},status:"rejected",reason:Q},Vt())}finally{I.p=u,y!==null&&b.types!==null&&(y.types=b.types),_.T=y}}function TC(){}function yu(e,n,i,o){if(e.tag!==5)throw Error(r(476));var c=Pp(e).queue;Lp(e,c,n,z,i===null?TC:function(){return Bp(e),i(o)})}function Pp(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:z,baseState:z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:z},next:null};var i={};return n.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:i},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function Bp(e){var n=Pp(e);n.next===null&&(n=e.alternate.memoizedState),Vs(e,n.next.queue,{},Vt())}function vu(){return ht(no)}function zp(){return Ze().memoizedState}function Vp(){return Ze().memoizedState}function jC(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var i=Vt();e=la(i);var o=ca(n,e,i);o!==null&&(Nt(o,n,i),_s(o,n,i)),n={cache:Xc()},e.payload=n;return}n=n.return}}function EC(e,n,i){var o=Vt();i={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},wr(e)?Hp(n,i):(i=Pc(e,n,i,o),i!==null&&(Nt(i,e,o),qp(i,n,o)))}function Up(e,n,i){var o=Vt();Vs(e,n,i,o)}function Vs(e,n,i,o){var c={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(wr(e))Hp(n,c);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=n.lastRenderedReducer,u!==null))try{var y=n.lastRenderedState,b=u(y,i);if(c.hasEagerState=!0,c.eagerState=b,Ot(b,y))return tr(e,n,c,0),Be===null&&er(),!1}catch{}if(i=Pc(e,n,c,o),i!==null)return Nt(i,e,o),qp(i,n,o),!0}return!1}function xu(e,n,i,o){if(o={lane:2,revertLane:Wu(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},wr(e)){if(n)throw Error(r(479))}else n=Pc(e,i,o,2),n!==null&&Nt(n,e,2)}function wr(e){var n=e.alternate;return e===ve||n!==null&&n===ve}function Hp(e,n){Oi=mr=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function qp(e,n,i){if((i&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,i|=o,n.lanes=i,Xh(e,i)}}var Us={readContext:ht,use:yr,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye};Us.useEffectEvent=Ye;var Ip={readContext:ht,use:yr,useCallback:function(e,n){return xt().memoizedState=[e,n===void 0?null:n],e},useContext:ht,useEffect:jp,useImperativeHandle:function(e,n,i){i=i!=null?i.concat([e]):null,xr(4194308,4,Dp.bind(null,n,e),i)},useLayoutEffect:function(e,n){return xr(4194308,4,e,n)},useInsertionEffect:function(e,n){xr(4,2,e,n)},useMemo:function(e,n){var i=xt();n=n===void 0?null:n;var o=e();if(Ja){ea(!0);try{e()}finally{ea(!1)}}return i.memoizedState=[o,n],o},useReducer:function(e,n,i){var o=xt();if(i!==void 0){var c=i(n);if(Ja){ea(!0);try{i(n)}finally{ea(!1)}}}else c=n;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=EC.bind(null,ve,e),[o.memoizedState,e]},useRef:function(e){var n=xt();return e={current:e},n.memoizedState=e},useState:function(e){e=fu(e);var n=e.queue,i=Up.bind(null,ve,n);return n.dispatch=i,[e.memoizedState,i]},useDebugValue:pu,useDeferredValue:function(e,n){var i=xt();return gu(i,e,n)},useTransition:function(){var e=fu(!1);return e=Lp.bind(null,ve,e.queue,!0,!1),xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,i){var o=ve,c=xt();if(je){if(i===void 0)throw Error(r(407));i=i()}else{if(i=n(),Be===null)throw Error(r(349));(Ce&127)!==0||up(o,n,i)}c.memoizedState=i;var u={value:i,getSnapshot:n};return c.queue=u,jp(fp.bind(null,o,u,e),[e]),o.flags|=2048,Li(9,{destroy:void 0},dp.bind(null,o,u,i,n),null),i},useId:function(){var e=xt(),n=Be.identifierPrefix;if(je){var i=yn,o=gn;i=(o&~(1<<32-Mt(o)-1)).toString(32)+i,n="_"+n+"R_"+i,i=pr++,0<i&&(n+="H"+i.toString(32)),n+="_"}else i=bC++,n="_"+n+"r_"+i.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:vu,useFormState:wp,useActionState:wp,useOptimistic:function(e){var n=xt();n.memoizedState=n.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=i,n=xu.bind(null,ve,!0,i),i.dispatch=n,[e,n]},useMemoCache:cu,useCacheRefresh:function(){return xt().memoizedState=jC.bind(null,ve)},useEffectEvent:function(e){var n=xt(),i={impl:e};return n.memoizedState=i,function(){if((Ne&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}},bu={readContext:ht,use:yr,useCallback:Mp,useContext:ht,useEffect:mu,useImperativeHandle:kp,useInsertionEffect:Rp,useLayoutEffect:Np,useMemo:Op,useReducer:vr,useRef:Tp,useState:function(){return vr(zn)},useDebugValue:pu,useDeferredValue:function(e,n){var i=Ze();return _p(i,Oe.memoizedState,e,n)},useTransition:function(){var e=vr(zn)[0],n=Ze().memoizedState;return[typeof e=="boolean"?e:zs(e),n]},useSyncExternalStore:cp,useId:zp,useHostTransitionStatus:vu,useFormState:Sp,useActionState:Sp,useOptimistic:function(e,n){var i=Ze();return pp(i,Oe,e,n)},useMemoCache:cu,useCacheRefresh:Vp};bu.useEffectEvent=Ep;var Gp={readContext:ht,use:yr,useCallback:Mp,useContext:ht,useEffect:mu,useImperativeHandle:kp,useInsertionEffect:Rp,useLayoutEffect:Np,useMemo:Op,useReducer:du,useRef:Tp,useState:function(){return du(zn)},useDebugValue:pu,useDeferredValue:function(e,n){var i=Ze();return Oe===null?gu(i,e,n):_p(i,Oe.memoizedState,e,n)},useTransition:function(){var e=du(zn)[0],n=Ze().memoizedState;return[typeof e=="boolean"?e:zs(e),n]},useSyncExternalStore:cp,useId:zp,useHostTransitionStatus:vu,useFormState:Ap,useActionState:Ap,useOptimistic:function(e,n){var i=Ze();return Oe!==null?pp(i,Oe,e,n):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:cu,useCacheRefresh:Vp};Gp.useEffectEvent=Ep;function wu(e,n,i,o){n=e.memoizedState,i=i(o,n),i=i==null?n:x({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Su={enqueueSetState:function(e,n,i){e=e._reactInternals;var o=Vt(),c=la(o);c.payload=n,i!=null&&(c.callback=i),n=ca(e,c,o),n!==null&&(Nt(n,e,o),_s(n,e,o))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var o=Vt(),c=la(o);c.tag=1,c.payload=n,i!=null&&(c.callback=i),n=ca(e,c,o),n!==null&&(Nt(n,e,o),_s(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=Vt(),o=la(i);o.tag=2,n!=null&&(o.callback=n),n=ca(e,o,i),n!==null&&(Nt(n,e,i),_s(n,e,i))}};function Yp(e,n,i,o,c,u,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,u,y):n.prototype&&n.prototype.isPureReactComponent?!js(i,o)||!js(c,u):!0}function Fp(e,n,i,o){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,o),n.state!==e&&Su.enqueueReplaceState(n,n.state,null)}function ei(e,n){var i=n;if("ref"in n){i={};for(var o in n)o!=="ref"&&(i[o]=n[o])}if(e=e.defaultProps){i===n&&(i=x({},i));for(var c in e)i[c]===void 0&&(i[c]=e[c])}return i}function Xp(e){Jo(e)}function Qp(e){console.error(e)}function Kp(e){Jo(e)}function Sr(e,n){try{var i=e.onUncaughtError;i(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function Zp(e,n,i){try{var o=e.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Cu(e,n,i){return i=la(i),i.tag=3,i.payload={element:null},i.callback=function(){Sr(e,n)},i}function Wp(e){return e=la(e),e.tag=3,e}function $p(e,n,i,o){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var u=o.value;e.payload=function(){return c(u)},e.callback=function(){Zp(n,i,o)}}var y=i.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){Zp(n,i,o),typeof c!="function"&&(pa===null?pa=new Set([this]):pa.add(this));var b=o.stack;this.componentDidCatch(o.value,{componentStack:b!==null?b:""})})}function RC(e,n,i,o,c){if(i.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=i.alternate,n!==null&&Ei(n,i,c,!0),i=Lt.current,i!==null){switch(i.tag){case 31:case 13:return Wt===null?_r():i.alternate===null&&Fe===0&&(Fe=3),i.flags&=-257,i.flags|=65536,i.lanes=c,o===cr?i.flags|=16384:(n=i.updateQueue,n===null?i.updateQueue=new Set([o]):n.add(o),Qu(e,o,c)),!1;case 22:return i.flags|=65536,o===cr?i.flags|=16384:(n=i.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=n):(i=n.retryQueue,i===null?n.retryQueue=new Set([o]):i.add(o)),Qu(e,o,c)),!1}throw Error(r(435,i.tag))}return Qu(e,o,c),_r(),!1}if(je)return n=Lt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==qc&&(e=Error(r(422),{cause:o}),Ns(Xt(e,i)))):(o!==qc&&(n=Error(r(423),{cause:o}),Ns(Xt(n,i))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=Xt(o,i),c=Cu(e.stateNode,o,c),Jc(e,c),Fe!==4&&(Fe=2)),!1;var u=Error(r(520),{cause:o});if(u=Xt(u,i),Qs===null?Qs=[u]:Qs.push(u),Fe!==4&&(Fe=2),n===null)return!0;o=Xt(o,i),i=n;do{switch(i.tag){case 3:return i.flags|=65536,e=c&-c,i.lanes|=e,e=Cu(i.stateNode,o,e),Jc(i,e),!1;case 1:if(n=i.type,u=i.stateNode,(i.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(pa===null||!pa.has(u))))return i.flags|=65536,c&=-c,i.lanes|=c,c=Wp(c),$p(c,e,i,o),Jc(i,c),!1}i=i.return}while(i!==null);return!1}var Au=Error(r(461)),tt=!1;function mt(e,n,i,o){n.child=e===null?np(n,null,i,o):$a(n,e.child,i,o)}function Jp(e,n,i,o,c){i=i.render;var u=n.ref;if("ref"in o){var y={};for(var b in o)b!=="ref"&&(y[b]=o[b])}else y=o;return Qa(n),o=su(e,n,i,y,u,c),b=ou(),e!==null&&!tt?(ru(e,n,c),Vn(e,n,c)):(je&&b&&Uc(n),n.flags|=1,mt(e,n,o,c),n.child)}function eg(e,n,i,o,c){if(e===null){var u=i.type;return typeof u=="function"&&!Bc(u)&&u.defaultProps===void 0&&i.compare===null?(n.tag=15,n.type=u,tg(e,n,u,o,c)):(e=ar(i.type,null,o,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(u=e.child,!Mu(e,c)){var y=u.memoizedProps;if(i=i.compare,i=i!==null?i:js,i(y,o)&&e.ref===n.ref)return Vn(e,n,c)}return n.flags|=1,e=On(u,o),e.ref=n.ref,e.return=n,n.child=e}function tg(e,n,i,o,c){if(e!==null){var u=e.memoizedProps;if(js(u,o)&&e.ref===n.ref)if(tt=!1,n.pendingProps=o=u,Mu(e,c))(e.flags&131072)!==0&&(tt=!0);else return n.lanes=e.lanes,Vn(e,n,c)}return Tu(e,n,i,o,c)}function ng(e,n,i,o){var c=o.children,u=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(u=u!==null?u.baseLanes|i:i,e!==null){for(o=n.child=e.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~u}else o=0,n.child=null;return ag(e,n,u,i,o)}if((i&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&rr(n,u!==null?u.cachePool:null),u!==null?sp(n,u):tu(),op(n);else return o=n.lanes=536870912,ag(e,n,u!==null?u.baseLanes|i:i,i,o)}else u!==null?(rr(n,u.cachePool),sp(n,u),da(),n.memoizedState=null):(e!==null&&rr(n,null),tu(),da());return mt(e,n,c,i),n.child}function Hs(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function ag(e,n,i,o,c){var u=Kc();return u=u===null?null:{parent:Je._currentValue,pool:u},n.memoizedState={baseLanes:i,cachePool:u},e!==null&&rr(n,null),tu(),op(n),e!==null&&Ei(e,n,o,!0),n.childLanes=c,null}function Cr(e,n){return n=Tr({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function ig(e,n,i){return $a(n,e.child,null,i),e=Cr(n,n.pendingProps),e.flags|=2,Pt(n),n.memoizedState=null,e}function NC(e,n,i){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(je){if(o.mode==="hidden")return e=Cr(n,o),n.lanes=536870912,Hs(null,e);if(au(n),(e=Ve)?(e=gy(e,Zt),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:aa!==null?{id:gn,overflow:yn}:null,retryLane:536870912,hydrationErrors:null},i=Hm(e),i.return=n,n.child=i,ft=n,Ve=null)):e=null,e===null)throw sa(n);return n.lanes=536870912,null}return Cr(n,o)}var u=e.memoizedState;if(u!==null){var y=u.dehydrated;if(au(n),c)if(n.flags&256)n.flags&=-257,n=ig(e,n,i);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(r(558));else if(tt||Ei(e,n,i,!1),c=(i&e.childLanes)!==0,tt||c){if(o=Be,o!==null&&(y=Qh(o,i),y!==0&&y!==u.retryLane))throw u.retryLane=y,Ga(e,y),Nt(o,e,y),Au;_r(),n=ig(e,n,i)}else e=u.treeContext,Ve=$t(y.nextSibling),ft=n,je=!0,ia=null,Zt=!1,e!==null&&Gm(n,e),n=Cr(n,o),n.flags|=4096;return n}return e=On(e.child,{mode:o.mode,children:o.children}),e.ref=n.ref,n.child=e,e.return=n,e}function Ar(e,n){var i=n.ref;if(i===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(r(284));(e===null||e.ref!==i)&&(n.flags|=4194816)}}function Tu(e,n,i,o,c){return Qa(n),i=su(e,n,i,o,void 0,c),o=ou(),e!==null&&!tt?(ru(e,n,c),Vn(e,n,c)):(je&&o&&Uc(n),n.flags|=1,mt(e,n,i,c),n.child)}function sg(e,n,i,o,c,u){return Qa(n),n.updateQueue=null,i=lp(n,o,i,c),rp(e),o=ou(),e!==null&&!tt?(ru(e,n,u),Vn(e,n,u)):(je&&o&&Uc(n),n.flags|=1,mt(e,n,i,u),n.child)}function og(e,n,i,o,c){if(Qa(n),n.stateNode===null){var u=Ci,y=i.contextType;typeof y=="object"&&y!==null&&(u=ht(y)),u=new i(o,u),n.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Su,n.stateNode=u,u._reactInternals=n,u=n.stateNode,u.props=o,u.state=n.memoizedState,u.refs={},Wc(n),y=i.contextType,u.context=typeof y=="object"&&y!==null?ht(y):Ci,u.state=n.memoizedState,y=i.getDerivedStateFromProps,typeof y=="function"&&(wu(n,i,y,o),u.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(y=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),y!==u.state&&Su.enqueueReplaceState(u,u.state,null),Ps(n,o,u,c),Ls(),u.state=n.memoizedState),typeof u.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(e===null){u=n.stateNode;var b=n.memoizedProps,T=ei(i,b);u.props=T;var P=u.context,G=i.contextType;y=Ci,typeof G=="object"&&G!==null&&(y=ht(G));var Q=i.getDerivedStateFromProps;G=typeof Q=="function"||typeof u.getSnapshotBeforeUpdate=="function",b=n.pendingProps!==b,G||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(b||P!==y)&&Fp(n,u,o,y),ra=!1;var B=n.memoizedState;u.state=B,Ps(n,o,u,c),Ls(),P=n.memoizedState,b||B!==P||ra?(typeof Q=="function"&&(wu(n,i,Q,o),P=n.memoizedState),(T=ra||Yp(n,i,T,o,B,P,y))?(G||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=P),u.props=o,u.state=P,u.context=y,o=T):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{u=n.stateNode,$c(e,n),y=n.memoizedProps,G=ei(i,y),u.props=G,Q=n.pendingProps,B=u.context,P=i.contextType,T=Ci,typeof P=="object"&&P!==null&&(T=ht(P)),b=i.getDerivedStateFromProps,(P=typeof b=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(y!==Q||B!==T)&&Fp(n,u,o,T),ra=!1,B=n.memoizedState,u.state=B,Ps(n,o,u,c),Ls();var V=n.memoizedState;y!==Q||B!==V||ra||e!==null&&e.dependencies!==null&&sr(e.dependencies)?(typeof b=="function"&&(wu(n,i,b,o),V=n.memoizedState),(G=ra||Yp(n,i,G,o,B,V,T)||e!==null&&e.dependencies!==null&&sr(e.dependencies))?(P||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(o,V,T),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(o,V,T)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||y===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=V),u.props=o,u.state=V,u.context=T,o=G):(typeof u.componentDidUpdate!="function"||y===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),o=!1)}return u=o,Ar(e,n),o=(n.flags&128)!==0,u||o?(u=n.stateNode,i=o&&typeof i.getDerivedStateFromError!="function"?null:u.render(),n.flags|=1,e!==null&&o?(n.child=$a(n,e.child,null,c),n.child=$a(n,null,i,c)):mt(e,n,i,c),n.memoizedState=u.state,e=n.child):e=Vn(e,n,c),e}function rg(e,n,i,o){return Fa(),n.flags|=256,mt(e,n,i,o),n.child}var ju={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Eu(e){return{baseLanes:e,cachePool:Zm()}}function Ru(e,n,i){return e=e!==null?e.childLanes&~i:0,n&&(e|=zt),e}function lg(e,n,i){var o=n.pendingProps,c=!1,u=(n.flags&128)!==0,y;if((y=u)||(y=e!==null&&e.memoizedState===null?!1:(Ke.current&2)!==0),y&&(c=!0,n.flags&=-129),y=(n.flags&32)!==0,n.flags&=-33,e===null){if(je){if(c?ua(n):da(),(e=Ve)?(e=gy(e,Zt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:aa!==null?{id:gn,overflow:yn}:null,retryLane:536870912,hydrationErrors:null},i=Hm(e),i.return=n,n.child=i,ft=n,Ve=null)):e=null,e===null)throw sa(n);return ud(e)?n.lanes=32:n.lanes=536870912,null}var b=o.children;return o=o.fallback,c?(da(),c=n.mode,b=Tr({mode:"hidden",children:b},c),o=Ya(o,c,i,null),b.return=n,o.return=n,b.sibling=o,n.child=b,o=n.child,o.memoizedState=Eu(i),o.childLanes=Ru(e,y,i),n.memoizedState=ju,Hs(null,o)):(ua(n),Nu(n,b))}var T=e.memoizedState;if(T!==null&&(b=T.dehydrated,b!==null)){if(u)n.flags&256?(ua(n),n.flags&=-257,n=Du(e,n,i)):n.memoizedState!==null?(da(),n.child=e.child,n.flags|=128,n=null):(da(),b=o.fallback,c=n.mode,o=Tr({mode:"visible",children:o.children},c),b=Ya(b,c,i,null),b.flags|=2,o.return=n,b.return=n,o.sibling=b,n.child=o,$a(n,e.child,null,i),o=n.child,o.memoizedState=Eu(i),o.childLanes=Ru(e,y,i),n.memoizedState=ju,n=Hs(null,o));else if(ua(n),ud(b)){if(y=b.nextSibling&&b.nextSibling.dataset,y)var P=y.dgst;y=P,o=Error(r(419)),o.stack="",o.digest=y,Ns({value:o,source:null,stack:null}),n=Du(e,n,i)}else if(tt||Ei(e,n,i,!1),y=(i&e.childLanes)!==0,tt||y){if(y=Be,y!==null&&(o=Qh(y,i),o!==0&&o!==T.retryLane))throw T.retryLane=o,Ga(e,o),Nt(y,e,o),Au;cd(b)||_r(),n=Du(e,n,i)}else cd(b)?(n.flags|=192,n.child=e.child,n=null):(e=T.treeContext,Ve=$t(b.nextSibling),ft=n,je=!0,ia=null,Zt=!1,e!==null&&Gm(n,e),n=Nu(n,o.children),n.flags|=4096);return n}return c?(da(),b=o.fallback,c=n.mode,T=e.child,P=T.sibling,o=On(T,{mode:"hidden",children:o.children}),o.subtreeFlags=T.subtreeFlags&65011712,P!==null?b=On(P,b):(b=Ya(b,c,i,null),b.flags|=2),b.return=n,o.return=n,o.sibling=b,n.child=o,Hs(null,o),o=n.child,b=e.child.memoizedState,b===null?b=Eu(i):(c=b.cachePool,c!==null?(T=Je._currentValue,c=c.parent!==T?{parent:T,pool:T}:c):c=Zm(),b={baseLanes:b.baseLanes|i,cachePool:c}),o.memoizedState=b,o.childLanes=Ru(e,y,i),n.memoizedState=ju,Hs(e.child,o)):(ua(n),i=e.child,e=i.sibling,i=On(i,{mode:"visible",children:o.children}),i.return=n,i.sibling=null,e!==null&&(y=n.deletions,y===null?(n.deletions=[e],n.flags|=16):y.push(e)),n.child=i,n.memoizedState=null,i)}function Nu(e,n){return n=Tr({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function Tr(e,n){return e=_t(22,e,null,n),e.lanes=0,e}function Du(e,n,i){return $a(n,e.child,null,i),e=Nu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function cg(e,n,i){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n),Yc(e.return,n,i)}function ku(e,n,i,o,c,u){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:c,treeForkCount:u}:(y.isBackwards=n,y.rendering=null,y.renderingStartTime=0,y.last=o,y.tail=i,y.tailMode=c,y.treeForkCount=u)}function ug(e,n,i){var o=n.pendingProps,c=o.revealOrder,u=o.tail;o=o.children;var y=Ke.current,b=(y&2)!==0;if(b?(y=y&1|2,n.flags|=128):y&=1,Z(Ke,y),mt(e,n,o,i),o=je?Rs:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cg(e,i,n);else if(e.tag===19)cg(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(i=n.child,c=null;i!==null;)e=i.alternate,e!==null&&hr(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null),ku(n,!1,c,i,u,o);break;case"backwards":case"unstable_legacy-backwards":for(i=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&hr(e)===null){n.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}ku(n,!0,i,null,u,o);break;case"together":ku(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function Vn(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),ma|=n.lanes,(i&n.childLanes)===0)if(e!==null){if(Ei(e,n,i,!1),(i&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(r(153));if(n.child!==null){for(e=n.child,i=On(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=On(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function Mu(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&sr(e)))}function DC(e,n,i){switch(n.tag){case 3:Qe(n,n.stateNode.containerInfo),oa(n,Je,e.memoizedState.cache),Fa();break;case 27:case 5:It(n);break;case 4:Qe(n,n.stateNode.containerInfo);break;case 10:oa(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,au(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(ua(n),n.flags|=128,null):(i&n.child.childLanes)!==0?lg(e,n,i):(ua(n),e=Vn(e,n,i),e!==null?e.sibling:null);ua(n);break;case 19:var c=(e.flags&128)!==0;if(o=(i&n.childLanes)!==0,o||(Ei(e,n,i,!1),o=(i&n.childLanes)!==0),c){if(o)return ug(e,n,i);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Z(Ke,Ke.current),o)break;return null;case 22:return n.lanes=0,ng(e,n,i,n.pendingProps);case 24:oa(n,Je,e.memoizedState.cache)}return Vn(e,n,i)}function dg(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps)tt=!0;else{if(!Mu(e,i)&&(n.flags&128)===0)return tt=!1,DC(e,n,i);tt=(e.flags&131072)!==0}else tt=!1,je&&(n.flags&1048576)!==0&&Im(n,Rs,n.index);switch(n.lanes=0,n.tag){case 16:e:{var o=n.pendingProps;if(e=Za(n.elementType),n.type=e,typeof e=="function")Bc(e)?(o=ei(e,o),n.tag=1,n=og(null,n,e,o,i)):(n.tag=0,n=Tu(null,n,e,o,i));else{if(e!=null){var c=e.$$typeof;if(c===H){n.tag=11,n=Jp(null,n,e,o,i);break e}else if(c===X){n.tag=14,n=eg(null,n,e,o,i);break e}}throw n=$(e)||e,Error(r(306,n,""))}}return n;case 0:return Tu(e,n,n.type,n.pendingProps,i);case 1:return o=n.type,c=ei(o,n.pendingProps),og(e,n,o,c,i);case 3:e:{if(Qe(n,n.stateNode.containerInfo),e===null)throw Error(r(387));o=n.pendingProps;var u=n.memoizedState;c=u.element,$c(e,n),Ps(n,o,null,i);var y=n.memoizedState;if(o=y.cache,oa(n,Je,o),o!==u.cache&&Fc(n,[Je],i,!0),Ls(),o=y.element,u.isDehydrated)if(u={element:o,isDehydrated:!1,cache:y.cache},n.updateQueue.baseState=u,n.memoizedState=u,n.flags&256){n=rg(e,n,o,i);break e}else if(o!==c){c=Xt(Error(r(424)),n),Ns(c),n=rg(e,n,o,i);break e}else for(e=n.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Ve=$t(e.firstChild),ft=n,je=!0,ia=null,Zt=!0,i=np(n,null,o,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Fa(),o===c){n=Vn(e,n,i);break e}mt(e,n,o,i)}n=n.child}return n;case 26:return Ar(e,n),e===null?(i=Sy(n.type,null,n.pendingProps,null))?n.memoizedState=i:je||(i=n.type,e=n.pendingProps,o=Hr(ye.current).createElement(i),o[dt]=n,o[Ct]=e,pt(o,i,e),ct(o),n.stateNode=o):n.memoizedState=Sy(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return It(n),e===null&&je&&(o=n.stateNode=xy(n.type,n.pendingProps,ye.current),ft=n,Zt=!0,c=Ve,xa(n.type)?(dd=c,Ve=$t(o.firstChild)):Ve=c),mt(e,n,n.pendingProps.children,i),Ar(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&je&&((c=o=Ve)&&(o=o2(o,n.type,n.pendingProps,Zt),o!==null?(n.stateNode=o,ft=n,Ve=$t(o.firstChild),Zt=!1,c=!0):c=!1),c||sa(n)),It(n),c=n.type,u=n.pendingProps,y=e!==null?e.memoizedProps:null,o=u.children,od(c,u)?o=null:y!==null&&od(c,y)&&(n.flags|=32),n.memoizedState!==null&&(c=su(e,n,wC,null,null,i),no._currentValue=c),Ar(e,n),mt(e,n,o,i),n.child;case 6:return e===null&&je&&((e=i=Ve)&&(i=r2(i,n.pendingProps,Zt),i!==null?(n.stateNode=i,ft=n,Ve=null,e=!0):e=!1),e||sa(n)),null;case 13:return lg(e,n,i);case 4:return Qe(n,n.stateNode.containerInfo),o=n.pendingProps,e===null?n.child=$a(n,null,o,i):mt(e,n,o,i),n.child;case 11:return Jp(e,n,n.type,n.pendingProps,i);case 7:return mt(e,n,n.pendingProps,i),n.child;case 8:return mt(e,n,n.pendingProps.children,i),n.child;case 12:return mt(e,n,n.pendingProps.children,i),n.child;case 10:return o=n.pendingProps,oa(n,n.type,o.value),mt(e,n,o.children,i),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,Qa(n),c=ht(c),o=o(c),n.flags|=1,mt(e,n,o,i),n.child;case 14:return eg(e,n,n.type,n.pendingProps,i);case 15:return tg(e,n,n.type,n.pendingProps,i);case 19:return ug(e,n,i);case 31:return NC(e,n,i);case 22:return ng(e,n,i,n.pendingProps);case 24:return Qa(n),o=ht(Je),e===null?(c=Kc(),c===null&&(c=Be,u=Xc(),c.pooledCache=u,u.refCount++,u!==null&&(c.pooledCacheLanes|=i),c=u),n.memoizedState={parent:o,cache:c},Wc(n),oa(n,Je,c)):((e.lanes&i)!==0&&($c(e,n),Ps(n,null,null,i),Ls()),c=e.memoizedState,u=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),oa(n,Je,o)):(o=u.cache,oa(n,Je,o),o!==c.cache&&Fc(n,[Je],i,!0))),mt(e,n,n.pendingProps.children,i),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function Un(e){e.flags|=4}function Ou(e,n,i,o,c){if((n=(e.mode&32)!==0)&&(n=!1),n){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(zg())e.flags|=8192;else throw Wa=cr,Zc}else e.flags&=-16777217}function fg(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Ey(n))if(zg())e.flags|=8192;else throw Wa=cr,Zc}function jr(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?Yh():536870912,e.lanes|=n,Vi|=n)}function qs(e,n){if(!je)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ue(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,o=0;if(n)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=i,n}function kC(e,n,i){var o=n.pendingProps;switch(Hc(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(n),null;case 1:return Ue(n),null;case 3:return i=n.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Pn(Je),Me(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(ji(n)?Un(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Ic())),Ue(n),null;case 26:var c=n.type,u=n.memoizedState;return e===null?(Un(n),u!==null?(Ue(n),fg(n,u)):(Ue(n),Ou(n,c,null,o,i))):u?u!==e.memoizedState?(Un(n),Ue(n),fg(n,u)):(Ue(n),n.flags&=-16777217):(e=e.memoizedProps,e!==o&&Un(n),Ue(n),Ou(n,c,e,o,i)),null;case 27:if(mn(n),i=ye.current,c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Un(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Ue(n),null}e=W.current,ji(n)?Ym(n):(e=xy(c,o,i),n.stateNode=e,Un(n))}return Ue(n),null;case 5:if(mn(n),c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Un(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Ue(n),null}if(u=W.current,ji(n))Ym(n);else{var y=Hr(ye.current);switch(u){case 1:u=y.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:u=y.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":u=y.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":u=y.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":u=y.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof o.is=="string"?y.createElement("select",{is:o.is}):y.createElement("select"),o.multiple?u.multiple=!0:o.size&&(u.size=o.size);break;default:u=typeof o.is=="string"?y.createElement(c,{is:o.is}):y.createElement(c)}}u[dt]=n,u[Ct]=o;e:for(y=n.child;y!==null;){if(y.tag===5||y.tag===6)u.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===n)break e;for(;y.sibling===null;){if(y.return===null||y.return===n)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}n.stateNode=u;e:switch(pt(u,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Un(n)}}return Ue(n),Ou(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,i),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&Un(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(r(166));if(e=ye.current,ji(n)){if(e=n.stateNode,i=n.memoizedProps,o=null,c=ft,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[dt]=n,e=!!(e.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||ly(e.nodeValue,i)),e||sa(n,!0)}else e=Hr(e).createTextNode(o),e[dt]=n,n.stateNode=e}return Ue(n),null;case 31:if(i=n.memoizedState,e===null||e.memoizedState!==null){if(o=ji(n),i!==null){if(e===null){if(!o)throw Error(r(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[dt]=n}else Fa(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ue(n),e=!1}else i=Ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return n.flags&256?(Pt(n),n):(Pt(n),null);if((n.flags&128)!==0)throw Error(r(558))}return Ue(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=ji(n),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(r(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[dt]=n}else Fa(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ue(n),c=!1}else c=Ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Pt(n),n):(Pt(n),null)}return Pt(n),(n.flags&128)!==0?(n.lanes=i,n):(i=o!==null,e=e!==null&&e.memoizedState!==null,i&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),u=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(u=o.memoizedState.cachePool.pool),u!==c&&(o.flags|=2048)),i!==e&&i&&(n.child.flags|=8192),jr(n,n.updateQueue),Ue(n),null);case 4:return Me(),e===null&&td(n.stateNode.containerInfo),Ue(n),null;case 10:return Pn(n.type),Ue(n),null;case 19:if(Y(Ke),o=n.memoizedState,o===null)return Ue(n),null;if(c=(n.flags&128)!==0,u=o.rendering,u===null)if(c)qs(o,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(u=hr(e),u!==null){for(n.flags|=128,qs(o,!1),e=u.updateQueue,n.updateQueue=e,jr(n,e),n.subtreeFlags=0,e=i,i=n.child;i!==null;)Um(i,e),i=i.sibling;return Z(Ke,Ke.current&1|2),je&&_n(n,o.treeForkCount),n.child}e=e.sibling}o.tail!==null&&Dt()>kr&&(n.flags|=128,c=!0,qs(o,!1),n.lanes=4194304)}else{if(!c)if(e=hr(u),e!==null){if(n.flags|=128,c=!0,e=e.updateQueue,n.updateQueue=e,jr(n,e),qs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!u.alternate&&!je)return Ue(n),null}else 2*Dt()-o.renderingStartTime>kr&&i!==536870912&&(n.flags|=128,c=!0,qs(o,!1),n.lanes=4194304);o.isBackwards?(u.sibling=n.child,n.child=u):(e=o.last,e!==null?e.sibling=u:n.child=u,o.last=u)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Dt(),e.sibling=null,i=Ke.current,Z(Ke,c?i&1|2:i&1),je&&_n(n,o.treeForkCount),e):(Ue(n),null);case 22:case 23:return Pt(n),nu(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(i&536870912)!==0&&(n.flags&128)===0&&(Ue(n),n.subtreeFlags&6&&(n.flags|=8192)):Ue(n),i=n.updateQueue,i!==null&&jr(n,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==i&&(n.flags|=2048),e!==null&&Y(Ka),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),n.memoizedState.cache!==i&&(n.flags|=2048),Pn(Je),Ue(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}function MC(e,n){switch(Hc(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Pn(Je),Me(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return mn(n),null;case 31:if(n.memoizedState!==null){if(Pt(n),n.alternate===null)throw Error(r(340));Fa()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(Pt(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(r(340));Fa()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Y(Ke),null;case 4:return Me(),null;case 10:return Pn(n.type),null;case 22:case 23:return Pt(n),nu(),e!==null&&Y(Ka),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Pn(Je),null;case 25:return null;default:return null}}function hg(e,n){switch(Hc(n),n.tag){case 3:Pn(Je),Me();break;case 26:case 27:case 5:mn(n);break;case 4:Me();break;case 31:n.memoizedState!==null&&Pt(n);break;case 13:Pt(n);break;case 19:Y(Ke);break;case 10:Pn(n.type);break;case 22:case 23:Pt(n),nu(),e!==null&&Y(Ka);break;case 24:Pn(Je)}}function Is(e,n){try{var i=n.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var c=o.next;i=c;do{if((i.tag&e)===e){o=void 0;var u=i.create,y=i.inst;o=u(),y.destroy=o}i=i.next}while(i!==c)}}catch(b){ke(n,n.return,b)}}function fa(e,n,i){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var u=c.next;o=u;do{if((o.tag&e)===e){var y=o.inst,b=y.destroy;if(b!==void 0){y.destroy=void 0,c=n;var T=i,P=b;try{P()}catch(G){ke(c,T,G)}}}o=o.next}while(o!==u)}}catch(G){ke(n,n.return,G)}}function mg(e){var n=e.updateQueue;if(n!==null){var i=e.stateNode;try{ip(n,i)}catch(o){ke(e,e.return,o)}}}function pg(e,n,i){i.props=ei(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(o){ke(e,n,o)}}function Gs(e,n){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof i=="function"?e.refCleanup=i(o):i.current=o}}catch(c){ke(e,n,c)}}function vn(e,n){var i=e.ref,o=e.refCleanup;if(i!==null)if(typeof o=="function")try{o()}catch(c){ke(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){ke(e,n,c)}else i.current=null}function gg(e){var n=e.type,i=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":i.autoFocus&&o.focus();break e;case"img":i.src?o.src=i.src:i.srcSet&&(o.srcset=i.srcSet)}}catch(c){ke(e,e.return,c)}}function _u(e,n,i){try{var o=e.stateNode;e2(o,e.type,i,n),o[Ct]=n}catch(c){ke(e,e.return,c)}}function yg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&xa(e.type)||e.tag===4}function Lu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yg(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.tag===27&&xa(e.type)||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 Pu(e,n,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,n):(n=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,n.appendChild(e),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=kn));else if(o!==4&&(o===27&&xa(e.type)&&(i=e.stateNode,n=null),e=e.child,e!==null))for(Pu(e,n,i),e=e.sibling;e!==null;)Pu(e,n,i),e=e.sibling}function Er(e,n,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(o!==4&&(o===27&&xa(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(Er(e,n,i),e=e.sibling;e!==null;)Er(e,n,i),e=e.sibling}function vg(e){var n=e.stateNode,i=e.memoizedProps;try{for(var o=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);pt(n,o,i),n[dt]=e,n[Ct]=i}catch(u){ke(e,e.return,u)}}var Hn=!1,nt=!1,Bu=!1,xg=typeof WeakSet=="function"?WeakSet:Set,ut=null;function OC(e,n){if(e=e.containerInfo,id=Qr,e=km(e),Dc(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var c=o.anchorOffset,u=o.focusNode;o=o.focusOffset;try{i.nodeType,u.nodeType}catch{i=null;break e}var y=0,b=-1,T=-1,P=0,G=0,Q=e,B=null;t:for(;;){for(var V;Q!==i||c!==0&&Q.nodeType!==3||(b=y+c),Q!==u||o!==0&&Q.nodeType!==3||(T=y+o),Q.nodeType===3&&(y+=Q.nodeValue.length),(V=Q.firstChild)!==null;)B=Q,Q=V;for(;;){if(Q===e)break t;if(B===i&&++P===c&&(b=y),B===u&&++G===o&&(T=y),(V=Q.nextSibling)!==null)break;Q=B,B=Q.parentNode}Q=V}i=b===-1||T===-1?null:{start:b,end:T}}else i=null}i=i||{start:0,end:0}}else i=null;for(sd={focusedElem:e,selectionRange:i},Qr=!1,ut=n;ut!==null;)if(n=ut,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ut=e;else for(;ut!==null;){switch(n=ut,u=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)c=e[i],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,i=n,c=u.memoizedProps,u=u.memoizedState,o=i.stateNode;try{var ee=ei(i.type,c);e=o.getSnapshotBeforeUpdate(ee,u),o.__reactInternalSnapshotBeforeUpdate=e}catch(ce){ke(i,i.return,ce)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,i=e.nodeType,i===9)ld(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ld(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=n.sibling,e!==null){e.return=n.return,ut=e;break}ut=n.return}}function bg(e,n,i){var o=i.flags;switch(i.tag){case 0:case 11:case 15:In(e,i),o&4&&Is(5,i);break;case 1:if(In(e,i),o&4)if(e=i.stateNode,n===null)try{e.componentDidMount()}catch(y){ke(i,i.return,y)}else{var c=ei(i.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(y){ke(i,i.return,y)}}o&64&&mg(i),o&512&&Gs(i,i.return);break;case 3:if(In(e,i),o&64&&(e=i.updateQueue,e!==null)){if(n=null,i.child!==null)switch(i.child.tag){case 27:case 5:n=i.child.stateNode;break;case 1:n=i.child.stateNode}try{ip(e,n)}catch(y){ke(i,i.return,y)}}break;case 27:n===null&&o&4&&vg(i);case 26:case 5:In(e,i),n===null&&o&4&&gg(i),o&512&&Gs(i,i.return);break;case 12:In(e,i);break;case 31:In(e,i),o&4&&Cg(e,i);break;case 13:In(e,i),o&4&&Ag(e,i),o&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=qC.bind(null,i),l2(e,i))));break;case 22:if(o=i.memoizedState!==null||Hn,!o){n=n!==null&&n.memoizedState!==null||nt,c=Hn;var u=nt;Hn=o,(nt=n)&&!u?Gn(e,i,(i.subtreeFlags&8772)!==0):In(e,i),Hn=c,nt=u}break;case 30:break;default:In(e,i)}}function wg(e){var n=e.alternate;n!==null&&(e.alternate=null,wg(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&hc(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var qe=null,Tt=!1;function qn(e,n,i){for(i=i.child;i!==null;)Sg(e,n,i),i=i.sibling}function Sg(e,n,i){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(ms,i)}catch{}switch(i.tag){case 26:nt||vn(i,n),qn(e,n,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:nt||vn(i,n);var o=qe,c=Tt;xa(i.type)&&(qe=i.stateNode,Tt=!1),qn(e,n,i),Js(i.stateNode),qe=o,Tt=c;break;case 5:nt||vn(i,n);case 6:if(o=qe,c=Tt,qe=null,qn(e,n,i),qe=o,Tt=c,qe!==null)if(Tt)try{(qe.nodeType===9?qe.body:qe.nodeName==="HTML"?qe.ownerDocument.body:qe).removeChild(i.stateNode)}catch(u){ke(i,n,u)}else try{qe.removeChild(i.stateNode)}catch(u){ke(i,n,u)}break;case 18:qe!==null&&(Tt?(e=qe,my(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),Xi(e)):my(qe,i.stateNode));break;case 4:o=qe,c=Tt,qe=i.stateNode.containerInfo,Tt=!0,qn(e,n,i),qe=o,Tt=c;break;case 0:case 11:case 14:case 15:fa(2,i,n),nt||fa(4,i,n),qn(e,n,i);break;case 1:nt||(vn(i,n),o=i.stateNode,typeof o.componentWillUnmount=="function"&&pg(i,n,o)),qn(e,n,i);break;case 21:qn(e,n,i);break;case 22:nt=(o=nt)||i.memoizedState!==null,qn(e,n,i),nt=o;break;default:qn(e,n,i)}}function Cg(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xi(e)}catch(i){ke(n,n.return,i)}}}function Ag(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xi(e)}catch(i){ke(n,n.return,i)}}function _C(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new xg),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new xg),n;default:throw Error(r(435,e.tag))}}function Rr(e,n){var i=_C(e);n.forEach(function(o){if(!i.has(o)){i.add(o);var c=IC.bind(null,e,o);o.then(c,c)}})}function jt(e,n){var i=n.deletions;if(i!==null)for(var o=0;o<i.length;o++){var c=i[o],u=e,y=n,b=y;e:for(;b!==null;){switch(b.tag){case 27:if(xa(b.type)){qe=b.stateNode,Tt=!1;break e}break;case 5:qe=b.stateNode,Tt=!1;break e;case 3:case 4:qe=b.stateNode.containerInfo,Tt=!0;break e}b=b.return}if(qe===null)throw Error(r(160));Sg(u,y,c),qe=null,Tt=!1,u=c.alternate,u!==null&&(u.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)Tg(n,e),n=n.sibling}var sn=null;function Tg(e,n){var i=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:jt(n,e),Et(e),o&4&&(fa(3,e,e.return),Is(3,e),fa(5,e,e.return));break;case 1:jt(n,e),Et(e),o&512&&(nt||i===null||vn(i,i.return)),o&64&&Hn&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?o:i.concat(o))));break;case 26:var c=sn;if(jt(n,e),Et(e),o&512&&(nt||i===null||vn(i,i.return)),o&4){var u=i!==null?i.memoizedState:null;if(o=e.memoizedState,i===null)if(o===null)if(e.stateNode===null){e:{o=e.type,i=e.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":u=c.getElementsByTagName("title")[0],(!u||u[ys]||u[dt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=c.createElement(o),c.head.insertBefore(u,c.querySelector("head > title"))),pt(u,o,i),u[dt]=e,ct(u),o=u;break e;case"link":var y=Ty("link","href",c).get(o+(i.href||""));if(y){for(var b=0;b<y.length;b++)if(u=y[b],u.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&u.getAttribute("rel")===(i.rel==null?null:i.rel)&&u.getAttribute("title")===(i.title==null?null:i.title)&&u.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){y.splice(b,1);break t}}u=c.createElement(o),pt(u,o,i),c.head.appendChild(u);break;case"meta":if(y=Ty("meta","content",c).get(o+(i.content||""))){for(b=0;b<y.length;b++)if(u=y[b],u.getAttribute("content")===(i.content==null?null:""+i.content)&&u.getAttribute("name")===(i.name==null?null:i.name)&&u.getAttribute("property")===(i.property==null?null:i.property)&&u.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&u.getAttribute("charset")===(i.charSet==null?null:i.charSet)){y.splice(b,1);break t}}u=c.createElement(o),pt(u,o,i),c.head.appendChild(u);break;default:throw Error(r(468,o))}u[dt]=e,ct(u),o=u}e.stateNode=o}else jy(c,e.type,e.stateNode);else e.stateNode=Ay(c,o,e.memoizedProps);else u!==o?(u===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):u.count--,o===null?jy(c,e.type,e.stateNode):Ay(c,o,e.memoizedProps)):o===null&&e.stateNode!==null&&_u(e,e.memoizedProps,i.memoizedProps)}break;case 27:jt(n,e),Et(e),o&512&&(nt||i===null||vn(i,i.return)),i!==null&&o&4&&_u(e,e.memoizedProps,i.memoizedProps);break;case 5:if(jt(n,e),Et(e),o&512&&(nt||i===null||vn(i,i.return)),e.flags&32){c=e.stateNode;try{gi(c,"")}catch(ee){ke(e,e.return,ee)}}o&4&&e.stateNode!=null&&(c=e.memoizedProps,_u(e,c,i!==null?i.memoizedProps:c)),o&1024&&(Bu=!0);break;case 6:if(jt(n,e),Et(e),o&4){if(e.stateNode===null)throw Error(r(162));o=e.memoizedProps,i=e.stateNode;try{i.nodeValue=o}catch(ee){ke(e,e.return,ee)}}break;case 3:if(Gr=null,c=sn,sn=qr(n.containerInfo),jt(n,e),sn=c,Et(e),o&4&&i!==null&&i.memoizedState.isDehydrated)try{Xi(n.containerInfo)}catch(ee){ke(e,e.return,ee)}Bu&&(Bu=!1,jg(e));break;case 4:o=sn,sn=qr(e.stateNode.containerInfo),jt(n,e),Et(e),sn=o;break;case 12:jt(n,e),Et(e);break;case 31:jt(n,e),Et(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Rr(e,o)));break;case 13:jt(n,e),Et(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Dr=Dt()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Rr(e,o)));break;case 22:c=e.memoizedState!==null;var T=i!==null&&i.memoizedState!==null,P=Hn,G=nt;if(Hn=P||c,nt=G||T,jt(n,e),nt=G,Hn=P,Et(e),o&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(i===null||T||Hn||nt||ti(e)),i=null,n=e;;){if(n.tag===5||n.tag===26){if(i===null){T=i=n;try{if(u=T.stateNode,c)y=u.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{b=T.stateNode;var Q=T.memoizedProps.style,B=Q!=null&&Q.hasOwnProperty("display")?Q.display:null;b.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(ee){ke(T,T.return,ee)}}}else if(n.tag===6){if(i===null){T=n;try{T.stateNode.nodeValue=c?"":T.memoizedProps}catch(ee){ke(T,T.return,ee)}}}else if(n.tag===18){if(i===null){T=n;try{var V=T.stateNode;c?py(V,!0):py(T.stateNode,!1)}catch(ee){ke(T,T.return,ee)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;i===n&&(i=null),n=n.return}i===n&&(i=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=e.updateQueue,o!==null&&(i=o.retryQueue,i!==null&&(o.retryQueue=null,Rr(e,i))));break;case 19:jt(n,e),Et(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Rr(e,o)));break;case 30:break;case 21:break;default:jt(n,e),Et(e)}}function Et(e){var n=e.flags;if(n&2){try{for(var i,o=e.return;o!==null;){if(yg(o)){i=o;break}o=o.return}if(i==null)throw Error(r(160));switch(i.tag){case 27:var c=i.stateNode,u=Lu(e);Er(e,u,c);break;case 5:var y=i.stateNode;i.flags&32&&(gi(y,""),i.flags&=-33);var b=Lu(e);Er(e,b,y);break;case 3:case 4:var T=i.stateNode.containerInfo,P=Lu(e);Pu(e,P,T);break;default:throw Error(r(161))}}catch(G){ke(e,e.return,G)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function jg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;jg(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function In(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)bg(e,n.alternate,n),n=n.sibling}function ti(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:fa(4,n,n.return),ti(n);break;case 1:vn(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount=="function"&&pg(n,n.return,i),ti(n);break;case 27:Js(n.stateNode);case 26:case 5:vn(n,n.return),ti(n);break;case 22:n.memoizedState===null&&ti(n);break;case 30:ti(n);break;default:ti(n)}e=e.sibling}}function Gn(e,n,i){for(i=i&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=e,u=n,y=u.flags;switch(u.tag){case 0:case 11:case 15:Gn(c,u,i),Is(4,u);break;case 1:if(Gn(c,u,i),o=u,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(P){ke(o,o.return,P)}if(o=u,c=o.updateQueue,c!==null){var b=o.stateNode;try{var T=c.shared.hiddenCallbacks;if(T!==null)for(c.shared.hiddenCallbacks=null,c=0;c<T.length;c++)ap(T[c],b)}catch(P){ke(o,o.return,P)}}i&&y&64&&mg(u),Gs(u,u.return);break;case 27:vg(u);case 26:case 5:Gn(c,u,i),i&&o===null&&y&4&&gg(u),Gs(u,u.return);break;case 12:Gn(c,u,i);break;case 31:Gn(c,u,i),i&&y&4&&Cg(c,u);break;case 13:Gn(c,u,i),i&&y&4&&Ag(c,u);break;case 22:u.memoizedState===null&&Gn(c,u,i),Gs(u,u.return);break;case 30:break;default:Gn(c,u,i)}n=n.sibling}}function zu(e,n){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&Ds(i))}function Vu(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ds(e))}function on(e,n,i,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Eg(e,n,i,o),n=n.sibling}function Eg(e,n,i,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:on(e,n,i,o),c&2048&&Is(9,n);break;case 1:on(e,n,i,o);break;case 3:on(e,n,i,o),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ds(e)));break;case 12:if(c&2048){on(e,n,i,o),e=n.stateNode;try{var u=n.memoizedProps,y=u.id,b=u.onPostCommit;typeof b=="function"&&b(y,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(T){ke(n,n.return,T)}}else on(e,n,i,o);break;case 31:on(e,n,i,o);break;case 13:on(e,n,i,o);break;case 23:break;case 22:u=n.stateNode,y=n.alternate,n.memoizedState!==null?u._visibility&2?on(e,n,i,o):Ys(e,n):u._visibility&2?on(e,n,i,o):(u._visibility|=2,Pi(e,n,i,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&zu(y,n);break;case 24:on(e,n,i,o),c&2048&&Vu(n.alternate,n);break;default:on(e,n,i,o)}}function Pi(e,n,i,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var u=e,y=n,b=i,T=o,P=y.flags;switch(y.tag){case 0:case 11:case 15:Pi(u,y,b,T,c),Is(8,y);break;case 23:break;case 22:var G=y.stateNode;y.memoizedState!==null?G._visibility&2?Pi(u,y,b,T,c):Ys(u,y):(G._visibility|=2,Pi(u,y,b,T,c)),c&&P&2048&&zu(y.alternate,y);break;case 24:Pi(u,y,b,T,c),c&&P&2048&&Vu(y.alternate,y);break;default:Pi(u,y,b,T,c)}n=n.sibling}}function Ys(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var i=e,o=n,c=o.flags;switch(o.tag){case 22:Ys(i,o),c&2048&&zu(o.alternate,o);break;case 24:Ys(i,o),c&2048&&Vu(o.alternate,o);break;default:Ys(i,o)}n=n.sibling}}var Fs=8192;function Bi(e,n,i){if(e.subtreeFlags&Fs)for(e=e.child;e!==null;)Rg(e,n,i),e=e.sibling}function Rg(e,n,i){switch(e.tag){case 26:Bi(e,n,i),e.flags&Fs&&e.memoizedState!==null&&b2(i,sn,e.memoizedState,e.memoizedProps);break;case 5:Bi(e,n,i);break;case 3:case 4:var o=sn;sn=qr(e.stateNode.containerInfo),Bi(e,n,i),sn=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Fs,Fs=16777216,Bi(e,n,i),Fs=o):Bi(e,n,i));break;default:Bi(e,n,i)}}function Ng(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function Xs(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];ut=o,kg(o,e)}Ng(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Dg(e),e=e.sibling}function Dg(e){switch(e.tag){case 0:case 11:case 15:Xs(e),e.flags&2048&&fa(9,e,e.return);break;case 3:Xs(e);break;case 12:Xs(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Nr(e)):Xs(e);break;default:Xs(e)}}function Nr(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];ut=o,kg(o,e)}Ng(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:fa(8,n,n.return),Nr(n);break;case 22:i=n.stateNode,i._visibility&2&&(i._visibility&=-3,Nr(n));break;default:Nr(n)}e=e.sibling}}function kg(e,n){for(;ut!==null;){var i=ut;switch(i.tag){case 0:case 11:case 15:fa(8,i,n);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var o=i.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Ds(i.memoizedState.cache)}if(o=i.child,o!==null)o.return=i,ut=o;else e:for(i=e;ut!==null;){o=ut;var c=o.sibling,u=o.return;if(wg(o),o===i){ut=null;break e}if(c!==null){c.return=u,ut=c;break e}ut=u}}}var LC={getCacheForType:function(e){var n=ht(Je),i=n.data.get(e);return i===void 0&&(i=e(),n.data.set(e,i)),i},cacheSignal:function(){return ht(Je).controller.signal}},PC=typeof WeakMap=="function"?WeakMap:Map,Ne=0,Be=null,we=null,Ce=0,De=0,Bt=null,ha=!1,zi=!1,Uu=!1,Yn=0,Fe=0,ma=0,ni=0,Hu=0,zt=0,Vi=0,Qs=null,Rt=null,qu=!1,Dr=0,Mg=0,kr=1/0,Mr=null,pa=null,it=0,ga=null,Ui=null,Fn=0,Iu=0,Gu=null,Og=null,Ks=0,Yu=null;function Vt(){return(Ne&2)!==0&&Ce!==0?Ce&-Ce:_.T!==null?Wu():Kh()}function _g(){if(zt===0)if((Ce&536870912)===0||je){var e=Uo;Uo<<=1,(Uo&3932160)===0&&(Uo=262144),zt=e}else zt=536870912;return e=Lt.current,e!==null&&(e.flags|=32),zt}function Nt(e,n,i){(e===Be&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(Hi(e,0),ya(e,Ce,zt,!1)),gs(e,i),((Ne&2)===0||e!==Be)&&(e===Be&&((Ne&2)===0&&(ni|=i),Fe===4&&ya(e,Ce,zt,!1)),xn(e))}function Lg(e,n,i){if((Ne&6)!==0)throw Error(r(327));var o=!i&&(n&127)===0&&(n&e.expiredLanes)===0||ps(e,n),c=o?VC(e,n):Xu(e,n,!0),u=o;do{if(c===0){zi&&!o&&ya(e,n,0,!1);break}else{if(i=e.current.alternate,u&&!BC(i)){c=Xu(e,n,!1),u=!1;continue}if(c===2){if(u=n,e.errorRecoveryDisabledLanes&u)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){n=y;e:{var b=e;c=Qs;var T=b.current.memoizedState.isDehydrated;if(T&&(Hi(b,y).flags|=256),y=Xu(b,y,!1),y!==2){if(Uu&&!T){b.errorRecoveryDisabledLanes|=u,ni|=u,c=4;break e}u=Rt,Rt=c,u!==null&&(Rt===null?Rt=u:Rt.push.apply(Rt,u))}c=y}if(u=!1,c!==2)continue}}if(c===1){Hi(e,0),ya(e,n,0,!0);break}e:{switch(o=e,u=c,u){case 0:case 1:throw Error(r(345));case 4:if((n&4194048)!==n)break;case 6:ya(o,n,zt,!ha);break e;case 2:Rt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((n&62914560)===n&&(c=Dr+300-Dt(),10<c)){if(ya(o,n,zt,!ha),qo(o,0,!0)!==0)break e;Fn=n,o.timeoutHandle=fy(Pg.bind(null,o,i,Rt,Mr,qu,n,zt,ni,Vi,ha,u,"Throttled",-0,0),c);break e}Pg(o,i,Rt,Mr,qu,n,zt,ni,Vi,ha,u,null,-0,0)}}break}while(!0);xn(e)}function Pg(e,n,i,o,c,u,y,b,T,P,G,Q,B,V){if(e.timeoutHandle=-1,Q=n.subtreeFlags,Q&8192||(Q&16785408)===16785408){Q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:kn},Rg(n,u,Q);var ee=(u&62914560)===u?Dr-Dt():(u&4194048)===u?Mg-Dt():0;if(ee=w2(Q,ee),ee!==null){Fn=u,e.cancelPendingCommit=ee(Gg.bind(null,e,n,u,i,o,c,y,b,T,G,Q,null,B,V)),ya(e,u,y,!P);return}}Gg(e,n,u,i,o,c,y,b,T)}function BC(e){for(var n=e;;){var i=n.tag;if((i===0||i===11||i===15)&&n.flags&16384&&(i=n.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var c=i[o],u=c.getSnapshot;c=c.value;try{if(!Ot(u(),c))return!1}catch{return!1}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function ya(e,n,i,o){n&=~Hu,n&=~ni,e.suspendedLanes|=n,e.pingedLanes&=~n,o&&(e.warmLanes|=n),o=e.expirationTimes;for(var c=n;0<c;){var u=31-Mt(c),y=1<<u;o[u]=-1,c&=~y}i!==0&&Fh(e,i,n)}function Or(){return(Ne&6)===0?(Zs(0),!1):!0}function Fu(){if(we!==null){if(De===0)var e=we.return;else e=we,Ln=Xa=null,lu(e),ki=null,Ms=0,e=we;for(;e!==null;)hg(e.alternate,e),e=e.return;we=null}}function Hi(e,n){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,a2(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Fn=0,Fu(),Be=e,we=i=On(e.current,null),Ce=n,De=0,Bt=null,ha=!1,zi=ps(e,n),Uu=!1,Vi=zt=Hu=ni=ma=Fe=0,Rt=Qs=null,qu=!1,(n&8)!==0&&(n|=n&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=n;0<o;){var c=31-Mt(o),u=1<<c;n|=e[c],o&=~u}return Yn=n,er(),i}function Bg(e,n){ve=null,_.H=Us,n===Di||n===lr?(n=Jm(),De=3):n===Zc?(n=Jm(),De=4):De=n===Au?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Bt=n,we===null&&(Fe=1,Sr(e,Xt(n,e.current)))}function zg(){var e=Lt.current;return e===null?!0:(Ce&4194048)===Ce?Wt===null:(Ce&62914560)===Ce||(Ce&536870912)!==0?e===Wt:!1}function Vg(){var e=_.H;return _.H=Us,e===null?Us:e}function Ug(){var e=_.A;return _.A=LC,e}function _r(){Fe=4,ha||(Ce&4194048)!==Ce&&Lt.current!==null||(zi=!0),(ma&134217727)===0&&(ni&134217727)===0||Be===null||ya(Be,Ce,zt,!1)}function Xu(e,n,i){var o=Ne;Ne|=2;var c=Vg(),u=Ug();(Be!==e||Ce!==n)&&(Mr=null,Hi(e,n)),n=!1;var y=Fe;e:do try{if(De!==0&&we!==null){var b=we,T=Bt;switch(De){case 8:Fu(),y=6;break e;case 3:case 2:case 9:case 6:Lt.current===null&&(n=!0);var P=De;if(De=0,Bt=null,qi(e,b,T,P),i&&zi){y=0;break e}break;default:P=De,De=0,Bt=null,qi(e,b,T,P)}}zC(),y=Fe;break}catch(G){Bg(e,G)}while(!0);return n&&e.shellSuspendCounter++,Ln=Xa=null,Ne=o,_.H=c,_.A=u,we===null&&(Be=null,Ce=0,er()),y}function zC(){for(;we!==null;)Hg(we)}function VC(e,n){var i=Ne;Ne|=2;var o=Vg(),c=Ug();Be!==e||Ce!==n?(Mr=null,kr=Dt()+500,Hi(e,n)):zi=ps(e,n);e:do try{if(De!==0&&we!==null){n=we;var u=Bt;t:switch(De){case 1:De=0,Bt=null,qi(e,n,u,1);break;case 2:case 9:if(Wm(u)){De=0,Bt=null,qg(n);break}n=function(){De!==2&&De!==9||Be!==e||(De=7),xn(e)},u.then(n,n);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:Wm(u)?(De=0,Bt=null,qg(n)):(De=0,Bt=null,qi(e,n,u,7));break;case 5:var y=null;switch(we.tag){case 26:y=we.memoizedState;case 5:case 27:var b=we;if(y?Ey(y):b.stateNode.complete){De=0,Bt=null;var T=b.sibling;if(T!==null)we=T;else{var P=b.return;P!==null?(we=P,Lr(P)):we=null}break t}}De=0,Bt=null,qi(e,n,u,5);break;case 6:De=0,Bt=null,qi(e,n,u,6);break;case 8:Fu(),Fe=6;break e;default:throw Error(r(462))}}UC();break}catch(G){Bg(e,G)}while(!0);return Ln=Xa=null,_.H=o,_.A=c,Ne=i,we!==null?0:(Be=null,Ce=0,er(),Fe)}function UC(){for(;we!==null&&!cS();)Hg(we)}function Hg(e){var n=dg(e.alternate,e,Yn);e.memoizedProps=e.pendingProps,n===null?Lr(e):we=n}function qg(e){var n=e,i=n.alternate;switch(n.tag){case 15:case 0:n=sg(i,n,n.pendingProps,n.type,void 0,Ce);break;case 11:n=sg(i,n,n.pendingProps,n.type.render,n.ref,Ce);break;case 5:lu(n);default:hg(i,n),n=we=Um(n,Yn),n=dg(i,n,Yn)}e.memoizedProps=e.pendingProps,n===null?Lr(e):we=n}function qi(e,n,i,o){Ln=Xa=null,lu(n),ki=null,Ms=0;var c=n.return;try{if(RC(e,c,n,i,Ce)){Fe=1,Sr(e,Xt(i,e.current)),we=null;return}}catch(u){if(c!==null)throw we=c,u;Fe=1,Sr(e,Xt(i,e.current)),we=null;return}n.flags&32768?(je||o===1?e=!0:zi||(Ce&536870912)!==0?e=!1:(ha=e=!0,(o===2||o===9||o===3||o===6)&&(o=Lt.current,o!==null&&o.tag===13&&(o.flags|=16384))),Ig(n,e)):Lr(n)}function Lr(e){var n=e;do{if((n.flags&32768)!==0){Ig(n,ha);return}e=n.return;var i=kC(n.alternate,n,Yn);if(i!==null){we=i;return}if(n=n.sibling,n!==null){we=n;return}we=n=e}while(n!==null);Fe===0&&(Fe=5)}function Ig(e,n){do{var i=MC(e.alternate,e);if(i!==null){i.flags&=32767,we=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!n&&(e=e.sibling,e!==null)){we=e;return}we=e=i}while(e!==null);Fe=6,we=null}function Gg(e,n,i,o,c,u,y,b,T){e.cancelPendingCommit=null;do Pr();while(it!==0);if((Ne&6)!==0)throw Error(r(327));if(n!==null){if(n===e.current)throw Error(r(177));if(u=n.lanes|n.childLanes,u|=Lc,xS(e,i,u,y,b,T),e===Be&&(we=Be=null,Ce=0),Ui=n,ga=e,Fn=i,Iu=u,Gu=c,Og=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,GC(zo,function(){return Kg(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=_.T,_.T=null,c=I.p,I.p=2,y=Ne,Ne|=4;try{OC(e,n,i)}finally{Ne=y,I.p=c,_.T=o}}it=1,Yg(),Fg(),Xg()}}function Yg(){if(it===1){it=0;var e=ga,n=Ui,i=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||i){i=_.T,_.T=null;var o=I.p;I.p=2;var c=Ne;Ne|=4;try{Tg(n,e);var u=sd,y=km(e.containerInfo),b=u.focusedElem,T=u.selectionRange;if(y!==b&&b&&b.ownerDocument&&Dm(b.ownerDocument.documentElement,b)){if(T!==null&&Dc(b)){var P=T.start,G=T.end;if(G===void 0&&(G=P),"selectionStart"in b)b.selectionStart=P,b.selectionEnd=Math.min(G,b.value.length);else{var Q=b.ownerDocument||document,B=Q&&Q.defaultView||window;if(B.getSelection){var V=B.getSelection(),ee=b.textContent.length,ce=Math.min(T.start,ee),Le=T.end===void 0?ce:Math.min(T.end,ee);!V.extend&&ce>Le&&(y=Le,Le=ce,ce=y);var k=Nm(b,ce),N=Nm(b,Le);if(k&&N&&(V.rangeCount!==1||V.anchorNode!==k.node||V.anchorOffset!==k.offset||V.focusNode!==N.node||V.focusOffset!==N.offset)){var L=Q.createRange();L.setStart(k.node,k.offset),V.removeAllRanges(),ce>Le?(V.addRange(L),V.extend(N.node,N.offset)):(L.setEnd(N.node,N.offset),V.addRange(L))}}}}for(Q=[],V=b;V=V.parentNode;)V.nodeType===1&&Q.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<Q.length;b++){var F=Q[b];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}Qr=!!id,sd=id=null}finally{Ne=c,I.p=o,_.T=i}}e.current=n,it=2}}function Fg(){if(it===2){it=0;var e=ga,n=Ui,i=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||i){i=_.T,_.T=null;var o=I.p;I.p=2;var c=Ne;Ne|=4;try{bg(e,n.alternate,n)}finally{Ne=c,I.p=o,_.T=i}}it=3}}function Xg(){if(it===4||it===3){it=0,uS();var e=ga,n=Ui,i=Fn,o=Og;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?it=5:(it=0,Ui=ga=null,Qg(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(pa=null),dc(i),n=n.stateNode,kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(ms,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=_.T,c=I.p,I.p=2,_.T=null;try{for(var u=e.onRecoverableError,y=0;y<o.length;y++){var b=o[y];u(b.value,{componentStack:b.stack})}}finally{_.T=n,I.p=c}}(Fn&3)!==0&&Pr(),xn(e),c=e.pendingLanes,(i&261930)!==0&&(c&42)!==0?e===Yu?Ks++:(Ks=0,Yu=e):Ks=0,Zs(0)}}function Qg(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Ds(n)))}function Pr(){return Yg(),Fg(),Xg(),Kg()}function Kg(){if(it!==5)return!1;var e=ga,n=Iu;Iu=0;var i=dc(Fn),o=_.T,c=I.p;try{I.p=32>i?32:i,_.T=null,i=Gu,Gu=null;var u=ga,y=Fn;if(it=0,Ui=ga=null,Fn=0,(Ne&6)!==0)throw Error(r(331));var b=Ne;if(Ne|=4,Dg(u.current),Eg(u,u.current,y,i),Ne=b,Zs(0,!1),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(ms,u)}catch{}return!0}finally{I.p=c,_.T=o,Qg(e,n)}}function Zg(e,n,i){n=Xt(i,n),n=Cu(e.stateNode,n,2),e=ca(e,n,2),e!==null&&(gs(e,2),xn(e))}function ke(e,n,i){if(e.tag===3)Zg(e,e,i);else for(;n!==null;){if(n.tag===3){Zg(n,e,i);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(pa===null||!pa.has(o))){e=Xt(i,e),i=Wp(2),o=ca(n,i,2),o!==null&&($p(i,o,n,e),gs(o,2),xn(o));break}}n=n.return}}function Qu(e,n,i){var o=e.pingCache;if(o===null){o=e.pingCache=new PC;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(i)||(Uu=!0,c.add(i),e=HC.bind(null,e,n,i),n.then(e,e))}function HC(e,n,i){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,Be===e&&(Ce&i)===i&&(Fe===4||Fe===3&&(Ce&62914560)===Ce&&300>Dt()-Dr?(Ne&2)===0&&Hi(e,0):Hu|=i,Vi===Ce&&(Vi=0)),xn(e)}function Wg(e,n){n===0&&(n=Yh()),e=Ga(e,n),e!==null&&(gs(e,n),xn(e))}function qC(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),Wg(e,i)}function IC(e,n){var i=0;switch(e.tag){case 31:case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(n),Wg(e,i)}function GC(e,n){return rc(e,n)}var Br=null,Ii=null,Ku=!1,zr=!1,Zu=!1,va=0;function xn(e){e!==Ii&&e.next===null&&(Ii===null?Br=Ii=e:Ii=Ii.next=e),zr=!0,Ku||(Ku=!0,FC())}function Zs(e,n){if(!Zu&&zr){Zu=!0;do for(var i=!1,o=Br;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var u=0;else{var y=o.suspendedLanes,b=o.pingedLanes;u=(1<<31-Mt(42|e)+1)-1,u&=c&~(y&~b),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(i=!0,ty(o,u))}else u=Ce,u=qo(o,o===Be?u:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(u&3)===0||ps(o,u)||(i=!0,ty(o,u));o=o.next}while(i);Zu=!1}}function YC(){$g()}function $g(){zr=Ku=!1;var e=0;va!==0&&n2()&&(e=va);for(var n=Dt(),i=null,o=Br;o!==null;){var c=o.next,u=Jg(o,n);u===0?(o.next=null,i===null?Br=c:i.next=c,c===null&&(Ii=i)):(i=o,(e!==0||(u&3)!==0)&&(zr=!0)),o=c}it!==0&&it!==5||Zs(e),va!==0&&(va=0)}function Jg(e,n){for(var i=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var y=31-Mt(u),b=1<<y,T=c[y];T===-1?((b&i)===0||(b&o)!==0)&&(c[y]=vS(b,n)):T<=n&&(e.expiredLanes|=b),u&=~b}if(n=Be,i=Ce,i=qo(e,e===n?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,i===0||e===n&&(De===2||De===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&lc(o),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||ps(e,i)){if(n=i&-i,n===e.callbackPriority)return n;switch(o!==null&&lc(o),dc(i)){case 2:case 8:i=Ih;break;case 32:i=zo;break;case 268435456:i=Gh;break;default:i=zo}return o=ey.bind(null,e),i=rc(i,o),e.callbackPriority=n,e.callbackNode=i,n}return o!==null&&o!==null&&lc(o),e.callbackPriority=2,e.callbackNode=null,2}function ey(e,n){if(it!==0&&it!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Pr()&&e.callbackNode!==i)return null;var o=Ce;return o=qo(e,e===Be?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Lg(e,o,n),Jg(e,Dt()),e.callbackNode!=null&&e.callbackNode===i?ey.bind(null,e):null)}function ty(e,n){if(Pr())return null;Lg(e,n,!0)}function FC(){i2(function(){(Ne&6)!==0?rc(qh,YC):$g()})}function Wu(){if(va===0){var e=Ri;e===0&&(e=Vo,Vo<<=1,(Vo&261888)===0&&(Vo=256)),va=e}return va}function ny(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Fo(""+e)}function ay(e,n){var i=n.ownerDocument.createElement("input");return i.name=n.name,i.value=n.value,e.id&&i.setAttribute("form",e.id),n.parentNode.insertBefore(i,n),e=new FormData(e),i.parentNode.removeChild(i),e}function XC(e,n,i,o,c){if(n==="submit"&&i&&i.stateNode===c){var u=ny((c[Ct]||null).action),y=o.submitter;y&&(n=(n=y[Ct]||null)?ny(n.formAction):y.getAttribute("formAction"),n!==null&&(u=n,y=null));var b=new Zo("action","action",null,o,c);e.push({event:b,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(va!==0){var T=y?ay(c,y):new FormData(c);yu(i,{pending:!0,data:T,method:c.method,action:u},null,T)}}else typeof u=="function"&&(b.preventDefault(),T=y?ay(c,y):new FormData(c),yu(i,{pending:!0,data:T,method:c.method,action:u},u,T))},currentTarget:c}]})}}for(var $u=0;$u<_c.length;$u++){var Ju=_c[$u],QC=Ju.toLowerCase(),KC=Ju[0].toUpperCase()+Ju.slice(1);an(QC,"on"+KC)}an(_m,"onAnimationEnd"),an(Lm,"onAnimationIteration"),an(Pm,"onAnimationStart"),an("dblclick","onDoubleClick"),an("focusin","onFocus"),an("focusout","onBlur"),an(dC,"onTransitionRun"),an(fC,"onTransitionStart"),an(hC,"onTransitionCancel"),an(Bm,"onTransitionEnd"),mi("onMouseEnter",["mouseout","mouseover"]),mi("onMouseLeave",["mouseout","mouseover"]),mi("onPointerEnter",["pointerout","pointerover"]),mi("onPointerLeave",["pointerout","pointerover"]),Ua("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ua("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ua("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ua("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ua("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ua("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ws="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(" "),ZC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ws));function iy(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var o=e[i],c=o.event;o=o.listeners;e:{var u=void 0;if(n)for(var y=o.length-1;0<=y;y--){var b=o[y],T=b.instance,P=b.currentTarget;if(b=b.listener,T!==u&&c.isPropagationStopped())break e;u=b,c.currentTarget=P;try{u(c)}catch(G){Jo(G)}c.currentTarget=null,u=T}else for(y=0;y<o.length;y++){if(b=o[y],T=b.instance,P=b.currentTarget,b=b.listener,T!==u&&c.isPropagationStopped())break e;u=b,c.currentTarget=P;try{u(c)}catch(G){Jo(G)}c.currentTarget=null,u=T}}}}function Se(e,n){var i=n[fc];i===void 0&&(i=n[fc]=new Set);var o=e+"__bubble";i.has(o)||(sy(n,e,2,!1),i.add(o))}function ed(e,n,i){var o=0;n&&(o|=4),sy(i,e,o,n)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function td(e){if(!e[Vr]){e[Vr]=!0,$h.forEach(function(i){i!=="selectionchange"&&(ZC.has(i)||ed(i,!1,e),ed(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Vr]||(n[Vr]=!0,ed("selectionchange",!1,n))}}function sy(e,n,i,o){switch(_y(n)){case 2:var c=A2;break;case 8:c=T2;break;default:c=gd}i=c.bind(null,n,i,e),c=void 0,!wc||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(n,i,{capture:!0,passive:c}):e.addEventListener(n,i,!0):c!==void 0?e.addEventListener(n,i,{passive:c}):e.addEventListener(n,i,!1)}function nd(e,n,i,o,c){var u=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var y=o.tag;if(y===3||y===4){var b=o.stateNode.containerInfo;if(b===c)break;if(y===4)for(y=o.return;y!==null;){var T=y.tag;if((T===3||T===4)&&y.stateNode.containerInfo===c)return;y=y.return}for(;b!==null;){if(y=di(b),y===null)return;if(T=y.tag,T===5||T===6||T===26||T===27){o=u=y;continue e}b=b.parentNode}}o=o.return}um(function(){var P=u,G=xc(i),Q=[];e:{var B=zm.get(e);if(B!==void 0){var V=Zo,ee=e;switch(e){case"keypress":if(Qo(i)===0)break e;case"keydown":case"keyup":V=IS;break;case"focusin":ee="focus",V=Tc;break;case"focusout":ee="blur",V=Tc;break;case"beforeblur":case"afterblur":V=Tc;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":V=hm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=kS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=FS;break;case _m:case Lm:case Pm:V=_S;break;case Bm:V=QS;break;case"scroll":case"scrollend":V=NS;break;case"wheel":V=ZS;break;case"copy":case"cut":case"paste":V=PS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=pm;break;case"toggle":case"beforetoggle":V=$S}var ce=(n&4)!==0,Le=!ce&&(e==="scroll"||e==="scrollend"),k=ce?B!==null?B+"Capture":null:B;ce=[];for(var N=P,L;N!==null;){var F=N;if(L=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||L===null||k===null||(F=xs(N,k),F!=null&&ce.push($s(N,F,L))),Le)break;N=N.return}0<ce.length&&(B=new V(B,ee,null,i,G),Q.push({event:B,listeners:ce}))}}if((n&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",B&&i!==vc&&(ee=i.relatedTarget||i.fromElement)&&(di(ee)||ee[ui]))break e;if((V||B)&&(B=G.window===G?G:(B=G.ownerDocument)?B.defaultView||B.parentWindow:window,V?(ee=i.relatedTarget||i.toElement,V=P,ee=ee?di(ee):null,ee!==null&&(Le=d(ee),ce=ee.tag,ee!==Le||ce!==5&&ce!==27&&ce!==6)&&(ee=null)):(V=null,ee=P),V!==ee)){if(ce=hm,F="onMouseLeave",k="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(ce=pm,F="onPointerLeave",k="onPointerEnter",N="pointer"),Le=V==null?B:vs(V),L=ee==null?B:vs(ee),B=new ce(F,N+"leave",V,i,G),B.target=Le,B.relatedTarget=L,F=null,di(G)===P&&(ce=new ce(k,N+"enter",ee,i,G),ce.target=L,ce.relatedTarget=Le,F=ce),Le=F,V&&ee)t:{for(ce=WC,k=V,N=ee,L=0,F=k;F;F=ce(F))L++;F=0;for(var re=N;re;re=ce(re))F++;for(;0<L-F;)k=ce(k),L--;for(;0<F-L;)N=ce(N),F--;for(;L--;){if(k===N||N!==null&&k===N.alternate){ce=k;break t}k=ce(k),N=ce(N)}ce=null}else ce=null;V!==null&&oy(Q,B,V,ce,!1),ee!==null&&Le!==null&&oy(Q,Le,ee,ce,!0)}}e:{if(B=P?vs(P):window,V=B.nodeName&&B.nodeName.toLowerCase(),V==="select"||V==="input"&&B.type==="file")var Ee=Cm;else if(wm(B))if(Am)Ee=lC;else{Ee=oC;var ie=sC}else V=B.nodeName,!V||V.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?P&&yc(P.elementType)&&(Ee=Cm):Ee=rC;if(Ee&&(Ee=Ee(e,P))){Sm(Q,Ee,i,G);break e}ie&&ie(e,B,P),e==="focusout"&&P&&B.type==="number"&&P.memoizedProps.value!=null&&gc(B,"number",B.value)}switch(ie=P?vs(P):window,e){case"focusin":(wm(ie)||ie.contentEditable==="true")&&(bi=ie,kc=P,Es=null);break;case"focusout":Es=kc=bi=null;break;case"mousedown":Mc=!0;break;case"contextmenu":case"mouseup":case"dragend":Mc=!1,Mm(Q,i,G);break;case"selectionchange":if(uC)break;case"keydown":case"keyup":Mm(Q,i,G)}var xe;if(Ec)e:{switch(e){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else xi?xm(e,i)&&(Ae="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Ae="onCompositionStart");Ae&&(gm&&i.locale!=="ko"&&(xi||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&xi&&(xe=dm()):(na=G,Sc="value"in na?na.value:na.textContent,xi=!0)),ie=Ur(P,Ae),0<ie.length&&(Ae=new mm(Ae,e,null,i,G),Q.push({event:Ae,listeners:ie}),xe?Ae.data=xe:(xe=bm(i),xe!==null&&(Ae.data=xe)))),(xe=eC?tC(e,i):nC(e,i))&&(Ae=Ur(P,"onBeforeInput"),0<Ae.length&&(ie=new mm("onBeforeInput","beforeinput",null,i,G),Q.push({event:ie,listeners:Ae}),ie.data=xe)),XC(Q,e,P,i,G)}iy(Q,n)})}function $s(e,n,i){return{instance:e,listener:n,currentTarget:i}}function Ur(e,n){for(var i=n+"Capture",o=[];e!==null;){var c=e,u=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||u===null||(c=xs(e,i),c!=null&&o.unshift($s(e,c,u)),c=xs(e,n),c!=null&&o.push($s(e,c,u))),e.tag===3)return o;e=e.return}return[]}function WC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function oy(e,n,i,o,c){for(var u=n._reactName,y=[];i!==null&&i!==o;){var b=i,T=b.alternate,P=b.stateNode;if(b=b.tag,T!==null&&T===o)break;b!==5&&b!==26&&b!==27||P===null||(T=P,c?(P=xs(i,u),P!=null&&y.unshift($s(i,P,T))):c||(P=xs(i,u),P!=null&&y.push($s(i,P,T)))),i=i.return}y.length!==0&&e.push({event:n,listeners:y})}var $C=/\r\n?/g,JC=/\u0000|\uFFFD/g;function ry(e){return(typeof e=="string"?e:""+e).replace($C,`
`).replace(JC,"")}function ly(e,n){return n=ry(n),ry(e)===n}function _e(e,n,i,o,c,u){switch(i){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||gi(e,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&gi(e,""+o);break;case"className":Go(e,"class",o);break;case"tabIndex":Go(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Go(e,i,o);break;case"style":lm(e,o,u);break;case"data":if(n!=="object"){Go(e,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||i!=="href")){e.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}o=Fo(""+o),e.setAttribute(i,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(i==="formAction"?(n!=="input"&&_e(e,n,"name",c.name,c,null),_e(e,n,"formEncType",c.formEncType,c,null),_e(e,n,"formMethod",c.formMethod,c,null),_e(e,n,"formTarget",c.formTarget,c,null)):(_e(e,n,"encType",c.encType,c,null),_e(e,n,"method",c.method,c,null),_e(e,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}o=Fo(""+o),e.setAttribute(i,o);break;case"onClick":o!=null&&(e.onclick=kn);break;case"onScroll":o!=null&&Se("scroll",e);break;case"onScrollEnd":o!=null&&Se("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(i=o.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}i=Fo(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,""+o):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":o===!0?e.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,o):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(i,o):e.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(i):e.setAttribute(i,o);break;case"popover":Se("beforetoggle",e),Se("toggle",e),Io(e,"popover",o);break;case"xlinkActuate":Dn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Dn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Dn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Dn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Dn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Dn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Dn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Dn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Dn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Io(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=ES.get(i)||i,Io(e,i,o))}}function ad(e,n,i,o,c,u){switch(i){case"style":lm(e,o,u);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(i=o.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"children":typeof o=="string"?gi(e,o):(typeof o=="number"||typeof o=="bigint")&&gi(e,""+o);break;case"onScroll":o!=null&&Se("scroll",e);break;case"onScrollEnd":o!=null&&Se("scrollend",e);break;case"onClick":o!=null&&(e.onclick=kn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Jh.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),n=i.slice(2,c?i.length-7:void 0),u=e[Ct]||null,u=u!=null?u[i]:null,typeof u=="function"&&e.removeEventListener(n,u,c),typeof o=="function")){typeof u!="function"&&u!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(n,o,c);break e}i in e?e[i]=o:o===!0?e.setAttribute(i,""):Io(e,i,o)}}}function pt(e,n,i){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Se("error",e),Se("load",e);var o=!1,c=!1,u;for(u in i)if(i.hasOwnProperty(u)){var y=i[u];if(y!=null)switch(u){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_e(e,n,u,y,i,null)}}c&&_e(e,n,"srcSet",i.srcSet,i,null),o&&_e(e,n,"src",i.src,i,null);return;case"input":Se("invalid",e);var b=u=y=c=null,T=null,P=null;for(o in i)if(i.hasOwnProperty(o)){var G=i[o];if(G!=null)switch(o){case"name":c=G;break;case"type":y=G;break;case"checked":T=G;break;case"defaultChecked":P=G;break;case"value":u=G;break;case"defaultValue":b=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(r(137,n));break;default:_e(e,n,o,G,i,null)}}im(e,u,b,T,P,y,c,!1);return;case"select":Se("invalid",e),o=y=u=null;for(c in i)if(i.hasOwnProperty(c)&&(b=i[c],b!=null))switch(c){case"value":u=b;break;case"defaultValue":y=b;break;case"multiple":o=b;default:_e(e,n,c,b,i,null)}n=u,i=y,e.multiple=!!o,n!=null?pi(e,!!o,n,!1):i!=null&&pi(e,!!o,i,!0);return;case"textarea":Se("invalid",e),u=c=o=null;for(y in i)if(i.hasOwnProperty(y)&&(b=i[y],b!=null))switch(y){case"value":o=b;break;case"defaultValue":c=b;break;case"children":u=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:_e(e,n,y,b,i,null)}om(e,o,c,u);return;case"option":for(T in i)i.hasOwnProperty(T)&&(o=i[T],o!=null)&&(T==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":_e(e,n,T,o,i,null));return;case"dialog":Se("beforetoggle",e),Se("toggle",e),Se("cancel",e),Se("close",e);break;case"iframe":case"object":Se("load",e);break;case"video":case"audio":for(o=0;o<Ws.length;o++)Se(Ws[o],e);break;case"image":Se("error",e),Se("load",e);break;case"details":Se("toggle",e);break;case"embed":case"source":case"link":Se("error",e),Se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in i)if(i.hasOwnProperty(P)&&(o=i[P],o!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_e(e,n,P,o,i,null)}return;default:if(yc(n)){for(G in i)i.hasOwnProperty(G)&&(o=i[G],o!==void 0&&ad(e,n,G,o,i,void 0));return}}for(b in i)i.hasOwnProperty(b)&&(o=i[b],o!=null&&_e(e,n,b,o,i,null))}function e2(e,n,i,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,u=null,y=null,b=null,T=null,P=null,G=null;for(V in i){var Q=i[V];if(i.hasOwnProperty(V)&&Q!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":T=Q;default:o.hasOwnProperty(V)||_e(e,n,V,null,o,Q)}}for(var B in o){var V=o[B];if(Q=i[B],o.hasOwnProperty(B)&&(V!=null||Q!=null))switch(B){case"type":u=V;break;case"name":c=V;break;case"checked":P=V;break;case"defaultChecked":G=V;break;case"value":y=V;break;case"defaultValue":b=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(r(137,n));break;default:V!==Q&&_e(e,n,B,V,o,Q)}}pc(e,y,b,T,P,G,u,c);return;case"select":V=y=b=B=null;for(u in i)if(T=i[u],i.hasOwnProperty(u)&&T!=null)switch(u){case"value":break;case"multiple":V=T;default:o.hasOwnProperty(u)||_e(e,n,u,null,o,T)}for(c in o)if(u=o[c],T=i[c],o.hasOwnProperty(c)&&(u!=null||T!=null))switch(c){case"value":B=u;break;case"defaultValue":b=u;break;case"multiple":y=u;default:u!==T&&_e(e,n,c,u,o,T)}n=b,i=y,o=V,B!=null?pi(e,!!i,B,!1):!!o!=!!i&&(n!=null?pi(e,!!i,n,!0):pi(e,!!i,i?[]:"",!1));return;case"textarea":V=B=null;for(b in i)if(c=i[b],i.hasOwnProperty(b)&&c!=null&&!o.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:_e(e,n,b,null,o,c)}for(y in o)if(c=o[y],u=i[y],o.hasOwnProperty(y)&&(c!=null||u!=null))switch(y){case"value":B=c;break;case"defaultValue":V=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==u&&_e(e,n,y,c,o,u)}sm(e,B,V);return;case"option":for(var ee in i)B=i[ee],i.hasOwnProperty(ee)&&B!=null&&!o.hasOwnProperty(ee)&&(ee==="selected"?e.selected=!1:_e(e,n,ee,null,o,B));for(T in o)B=o[T],V=i[T],o.hasOwnProperty(T)&&B!==V&&(B!=null||V!=null)&&(T==="selected"?e.selected=B&&typeof B!="function"&&typeof B!="symbol":_e(e,n,T,B,o,V));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ce in i)B=i[ce],i.hasOwnProperty(ce)&&B!=null&&!o.hasOwnProperty(ce)&&_e(e,n,ce,null,o,B);for(P in o)if(B=o[P],V=i[P],o.hasOwnProperty(P)&&B!==V&&(B!=null||V!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,n));break;default:_e(e,n,P,B,o,V)}return;default:if(yc(n)){for(var Le in i)B=i[Le],i.hasOwnProperty(Le)&&B!==void 0&&!o.hasOwnProperty(Le)&&ad(e,n,Le,void 0,o,B);for(G in o)B=o[G],V=i[G],!o.hasOwnProperty(G)||B===V||B===void 0&&V===void 0||ad(e,n,G,B,o,V);return}}for(var k in i)B=i[k],i.hasOwnProperty(k)&&B!=null&&!o.hasOwnProperty(k)&&_e(e,n,k,null,o,B);for(Q in o)B=o[Q],V=i[Q],!o.hasOwnProperty(Q)||B===V||B==null&&V==null||_e(e,n,Q,B,o,V)}function cy(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function t2(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,i=performance.getEntriesByType("resource"),o=0;o<i.length;o++){var c=i[o],u=c.transferSize,y=c.initiatorType,b=c.duration;if(u&&b&&cy(y)){for(y=0,b=c.responseEnd,o+=1;o<i.length;o++){var T=i[o],P=T.startTime;if(P>b)break;var G=T.transferSize,Q=T.initiatorType;G&&cy(Q)&&(T=T.responseEnd,y+=G*(T<b?1:(b-P)/(T-P)))}if(--o,n+=8*(u+y)/(c.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var id=null,sd=null;function Hr(e){return e.nodeType===9?e:e.ownerDocument}function uy(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function dy(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function od(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var rd=null;function n2(){var e=window.event;return e&&e.type==="popstate"?e===rd?!1:(rd=e,!0):(rd=null,!1)}var fy=typeof setTimeout=="function"?setTimeout:void 0,a2=typeof clearTimeout=="function"?clearTimeout:void 0,hy=typeof Promise=="function"?Promise:void 0,i2=typeof queueMicrotask=="function"?queueMicrotask:typeof hy<"u"?function(e){return hy.resolve(null).then(e).catch(s2)}:fy;function s2(e){setTimeout(function(){throw e})}function xa(e){return e==="head"}function my(e,n){var i=n,o=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(o===0){e.removeChild(c),Xi(n);return}o--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")o++;else if(i==="html")Js(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,Js(i);for(var u=i.firstChild;u;){var y=u.nextSibling,b=u.nodeName;u[ys]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||i.removeChild(u),u=y}}else i==="body"&&Js(e.ownerDocument.body);i=c}while(i);Xi(n)}function py(e,n){var i=e;e=0;do{var o=i.nextSibling;if(i.nodeType===1?n?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(n?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),o&&o.nodeType===8)if(i=o.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=o}while(i)}function ld(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var i=n;switch(n=n.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":ld(i),hc(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function o2(e,n,i,o){for(;e.nodeType===1;){var c=i;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[ys])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var u=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=$t(e.nextSibling),e===null)break}return null}function r2(e,n,i){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=$t(e.nextSibling),e===null))return null;return e}function gy(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=$t(e.nextSibling),e===null))return null;return e}function cd(e){return e.data==="$?"||e.data==="$~"}function ud(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function l2(e,n){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||i.readyState!=="loading")n();else{var o=function(){n(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function $t(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var dd=null;function yy(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(n===0)return $t(e.nextSibling);n--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||n++}e=e.nextSibling}return null}function vy(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(n===0)return e;n--}else i!=="/$"&&i!=="/&"||n++}e=e.previousSibling}return null}function xy(e,n,i){switch(n=Hr(i),e){case"html":if(e=n.documentElement,!e)throw Error(r(452));return e;case"head":if(e=n.head,!e)throw Error(r(453));return e;case"body":if(e=n.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Js(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);hc(e)}var Jt=new Map,by=new Set;function qr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Xn=I.d;I.d={f:c2,r:u2,D:d2,C:f2,L:h2,m:m2,X:g2,S:p2,M:y2};function c2(){var e=Xn.f(),n=Or();return e||n}function u2(e){var n=fi(e);n!==null&&n.tag===5&&n.type==="form"?Bp(n):Xn.r(e)}var Gi=typeof document>"u"?null:document;function wy(e,n,i){var o=Gi;if(o&&typeof n=="string"&&n){var c=Yt(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),by.has(c)||(by.add(c),e={rel:e,crossOrigin:i,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),pt(n,"link",e),ct(n),o.head.appendChild(n)))}}function d2(e){Xn.D(e),wy("dns-prefetch",e,null)}function f2(e,n){Xn.C(e,n),wy("preconnect",e,n)}function h2(e,n,i){Xn.L(e,n,i);var o=Gi;if(o&&e&&n){var c='link[rel="preload"][as="'+Yt(n)+'"]';n==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+Yt(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+Yt(i.imageSizes)+'"]')):c+='[href="'+Yt(e)+'"]';var u=c;switch(n){case"style":u=Yi(e);break;case"script":u=Fi(e)}Jt.has(u)||(e=x({rel:"preload",href:n==="image"&&i&&i.imageSrcSet?void 0:e,as:n},i),Jt.set(u,e),o.querySelector(c)!==null||n==="style"&&o.querySelector(eo(u))||n==="script"&&o.querySelector(to(u))||(n=o.createElement("link"),pt(n,"link",e),ct(n),o.head.appendChild(n)))}}function m2(e,n){Xn.m(e,n);var i=Gi;if(i&&e){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Yt(o)+'"][href="'+Yt(e)+'"]',u=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Fi(e)}if(!Jt.has(u)&&(e=x({rel:"modulepreload",href:e},n),Jt.set(u,e),i.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(to(u)))return}o=i.createElement("link"),pt(o,"link",e),ct(o),i.head.appendChild(o)}}}function p2(e,n,i){Xn.S(e,n,i);var o=Gi;if(o&&e){var c=hi(o).hoistableStyles,u=Yi(e);n=n||"default";var y=c.get(u);if(!y){var b={loading:0,preload:null};if(y=o.querySelector(eo(u)))b.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":n},i),(i=Jt.get(u))&&fd(e,i);var T=y=o.createElement("link");ct(T),pt(T,"link",e),T._p=new Promise(function(P,G){T.onload=P,T.onerror=G}),T.addEventListener("load",function(){b.loading|=1}),T.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Ir(y,n,o)}y={type:"stylesheet",instance:y,count:1,state:b},c.set(u,y)}}}function g2(e,n){Xn.X(e,n);var i=Gi;if(i&&e){var o=hi(i).hoistableScripts,c=Fi(e),u=o.get(c);u||(u=i.querySelector(to(c)),u||(e=x({src:e,async:!0},n),(n=Jt.get(c))&&hd(e,n),u=i.createElement("script"),ct(u),pt(u,"link",e),i.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},o.set(c,u))}}function y2(e,n){Xn.M(e,n);var i=Gi;if(i&&e){var o=hi(i).hoistableScripts,c=Fi(e),u=o.get(c);u||(u=i.querySelector(to(c)),u||(e=x({src:e,async:!0,type:"module"},n),(n=Jt.get(c))&&hd(e,n),u=i.createElement("script"),ct(u),pt(u,"link",e),i.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},o.set(c,u))}}function Sy(e,n,i,o){var c=(c=ye.current)?qr(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(n=Yi(i.href),i=hi(c).hoistableStyles,o=i.get(n),o||(o={type:"style",instance:null,count:0,state:null},i.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=Yi(i.href);var u=hi(c).hoistableStyles,y=u.get(e);if(y||(c=c.ownerDocument||c,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,y),(u=c.querySelector(eo(e)))&&!u._p&&(y.instance=u,y.state.loading=5),Jt.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Jt.set(e,i),u||v2(c,e,i,y.state))),n&&o===null)throw Error(r(528,""));return y}if(n&&o!==null)throw Error(r(529,""));return null;case"script":return n=i.async,i=i.src,typeof i=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Fi(i),i=hi(c).hoistableScripts,o=i.get(n),o||(o={type:"script",instance:null,count:0,state:null},i.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Yi(e){return'href="'+Yt(e)+'"'}function eo(e){return'link[rel="stylesheet"]['+e+"]"}function Cy(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function v2(e,n,i,o){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=e.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),pt(n,"link",i),ct(n),e.head.appendChild(n))}function Fi(e){return'[src="'+Yt(e)+'"]'}function to(e){return"script[async]"+e}function Ay(e,n,i){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Yt(i.href)+'"]');if(o)return n.instance=o,ct(o),o;var c=x({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),ct(o),pt(o,"style",c),Ir(o,i.precedence,e),n.instance=o;case"stylesheet":c=Yi(i.href);var u=e.querySelector(eo(c));if(u)return n.state.loading|=4,n.instance=u,ct(u),u;o=Cy(i),(c=Jt.get(c))&&fd(o,c),u=(e.ownerDocument||e).createElement("link"),ct(u);var y=u;return y._p=new Promise(function(b,T){y.onload=b,y.onerror=T}),pt(u,"link",o),n.state.loading|=4,Ir(u,i.precedence,e),n.instance=u;case"script":return u=Fi(i.src),(c=e.querySelector(to(u)))?(n.instance=c,ct(c),c):(o=i,(c=Jt.get(u))&&(o=x({},i),hd(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),ct(c),pt(c,"link",o),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(r(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,Ir(o,i.precedence,e));return n.instance}function Ir(e,n,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,u=c,y=0;y<o.length;y++){var b=o[y];if(b.dataset.precedence===n)u=b;else if(u!==c)break}u?u.parentNode.insertBefore(e,u.nextSibling):(n=i.nodeType===9?i.head:i,n.insertBefore(e,n.firstChild))}function fd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function hd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Gr=null;function Ty(e,n,i){if(Gr===null){var o=new Map,c=Gr=new Map;c.set(i,o)}else c=Gr,o=c.get(i),o||(o=new Map,c.set(i,o));if(o.has(e))return o;for(o.set(e,null),i=i.getElementsByTagName(e),c=0;c<i.length;c++){var u=i[c];if(!(u[ys]||u[dt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var y=u.getAttribute(n)||"";y=e+y;var b=o.get(y);b?b.push(u):o.set(y,[u])}}return o}function jy(e,n,i){e=e.ownerDocument||e,e.head.insertBefore(i,n==="title"?e.querySelector("head > title"):null)}function x2(e,n,i){if(i===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(e=n.disabled,typeof n.precedence=="string"&&e==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Ey(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function b2(e,n,i,o){if(i.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=Yi(o.href),u=n.querySelector(eo(c));if(u){n=u._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=Yr.bind(e),n.then(e,e)),i.state.loading|=4,i.instance=u,ct(u);return}u=n.ownerDocument||n,o=Cy(o),(c=Jt.get(c))&&fd(o,c),u=u.createElement("link"),ct(u);var y=u;y._p=new Promise(function(b,T){y.onload=b,y.onerror=T}),pt(u,"link",o),i.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,n),(n=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=Yr.bind(e),n.addEventListener("load",i),n.addEventListener("error",i))}}var md=0;function w2(e,n){return e.stylesheets&&e.count===0&&Xr(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var o=setTimeout(function(){if(e.stylesheets&&Xr(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+n);0<e.imgBytes&&md===0&&(md=62500*t2());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xr(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>md?50:800)+n);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function Yr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fr=null;function Xr(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fr=new Map,n.forEach(S2,e),Fr=null,Yr.call(e))}function S2(e,n){if(!(n.state.loading&4)){var i=Fr.get(e);if(i)var o=i.get(null);else{i=new Map,Fr.set(e,i);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<c.length;u++){var y=c[u];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(i.set(y.dataset.precedence,y),o=y)}o&&i.set(null,o)}c=n.instance,y=c.getAttribute("data-precedence"),u=i.get(y)||o,u===o&&i.set(null,c),i.set(y,c),this.count++,o=Yr.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),u?u.parentNode.insertBefore(c,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var no={$$typeof:O,Provider:null,Consumer:null,_currentValue:z,_currentValue2:z,_threadCount:0};function C2(e,n,i,o,c,u,y,b,T){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=cc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cc(0),this.hiddenUpdates=cc(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=u,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function Ry(e,n,i,o,c,u,y,b,T,P,G,Q){return e=new C2(e,n,i,y,T,P,G,Q,b),n=1,u===!0&&(n|=24),u=_t(3,null,null,n),e.current=u,u.stateNode=e,n=Xc(),n.refCount++,e.pooledCache=n,n.refCount++,u.memoizedState={element:o,isDehydrated:i,cache:n},Wc(u),e}function Ny(e){return e?(e=Ci,e):Ci}function Dy(e,n,i,o,c,u){c=Ny(c),o.context===null?o.context=c:o.pendingContext=c,o=la(n),o.payload={element:i},u=u===void 0?null:u,u!==null&&(o.callback=u),i=ca(e,o,n),i!==null&&(Nt(i,e,n),_s(i,e,n))}function ky(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function pd(e,n){ky(e,n),(e=e.alternate)&&ky(e,n)}function My(e){if(e.tag===13||e.tag===31){var n=Ga(e,67108864);n!==null&&Nt(n,e,67108864),pd(e,67108864)}}function Oy(e){if(e.tag===13||e.tag===31){var n=Vt();n=uc(n);var i=Ga(e,n);i!==null&&Nt(i,e,n),pd(e,n)}}var Qr=!0;function A2(e,n,i,o){var c=_.T;_.T=null;var u=I.p;try{I.p=2,gd(e,n,i,o)}finally{I.p=u,_.T=c}}function T2(e,n,i,o){var c=_.T;_.T=null;var u=I.p;try{I.p=8,gd(e,n,i,o)}finally{I.p=u,_.T=c}}function gd(e,n,i,o){if(Qr){var c=yd(o);if(c===null)nd(e,n,o,Kr,i),Ly(e,o);else if(E2(c,e,n,i,o))o.stopPropagation();else if(Ly(e,o),n&4&&-1<j2.indexOf(e)){for(;c!==null;){var u=fi(c);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var y=Va(u.pendingLanes);if(y!==0){var b=u;for(b.pendingLanes|=2,b.entangledLanes|=2;y;){var T=1<<31-Mt(y);b.entanglements[1]|=T,y&=~T}xn(u),(Ne&6)===0&&(kr=Dt()+500,Zs(0))}}break;case 31:case 13:b=Ga(u,2),b!==null&&Nt(b,u,2),Or(),pd(u,2)}if(u=yd(o),u===null&&nd(e,n,o,Kr,i),u===c)break;c=u}c!==null&&o.stopPropagation()}else nd(e,n,o,null,i)}}function yd(e){return e=xc(e),vd(e)}var Kr=null;function vd(e){if(Kr=null,e=di(e),e!==null){var n=d(e);if(n===null)e=null;else{var i=n.tag;if(i===13){if(e=f(n),e!==null)return e;e=null}else if(i===31){if(e=m(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Kr=e,null}function _y(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(dS()){case qh:return 2;case Ih:return 8;case zo:case fS:return 32;case Gh:return 268435456;default:return 32}default:return 32}}var xd=!1,ba=null,wa=null,Sa=null,ao=new Map,io=new Map,Ca=[],j2="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".split(" ");function Ly(e,n){switch(e){case"focusin":case"focusout":ba=null;break;case"dragenter":case"dragleave":wa=null;break;case"mouseover":case"mouseout":Sa=null;break;case"pointerover":case"pointerout":ao.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":io.delete(n.pointerId)}}function so(e,n,i,o,c,u){return e===null||e.nativeEvent!==u?(e={blockedOn:n,domEventName:i,eventSystemFlags:o,nativeEvent:u,targetContainers:[c]},n!==null&&(n=fi(n),n!==null&&My(n)),e):(e.eventSystemFlags|=o,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function E2(e,n,i,o,c){switch(n){case"focusin":return ba=so(ba,e,n,i,o,c),!0;case"dragenter":return wa=so(wa,e,n,i,o,c),!0;case"mouseover":return Sa=so(Sa,e,n,i,o,c),!0;case"pointerover":var u=c.pointerId;return ao.set(u,so(ao.get(u)||null,e,n,i,o,c)),!0;case"gotpointercapture":return u=c.pointerId,io.set(u,so(io.get(u)||null,e,n,i,o,c)),!0}return!1}function Py(e){var n=di(e.target);if(n!==null){var i=d(n);if(i!==null){if(n=i.tag,n===13){if(n=f(i),n!==null){e.blockedOn=n,Zh(e.priority,function(){Oy(i)});return}}else if(n===31){if(n=m(i),n!==null){e.blockedOn=n,Zh(e.priority,function(){Oy(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zr(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=yd(e.nativeEvent);if(i===null){i=e.nativeEvent;var o=new i.constructor(i.type,i);vc=o,i.target.dispatchEvent(o),vc=null}else return n=fi(i),n!==null&&My(n),e.blockedOn=i,!1;n.shift()}return!0}function By(e,n,i){Zr(e)&&i.delete(n)}function R2(){xd=!1,ba!==null&&Zr(ba)&&(ba=null),wa!==null&&Zr(wa)&&(wa=null),Sa!==null&&Zr(Sa)&&(Sa=null),ao.forEach(By),io.forEach(By)}function Wr(e,n){e.blockedOn===n&&(e.blockedOn=null,xd||(xd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,R2)))}var $r=null;function zy(e){$r!==e&&($r=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){$r===e&&($r=null);for(var n=0;n<e.length;n+=3){var i=e[n],o=e[n+1],c=e[n+2];if(typeof o!="function"){if(vd(o||i)===null)continue;break}var u=fi(i);u!==null&&(e.splice(n,3),n-=3,yu(u,{pending:!0,data:c,method:i.method,action:o},o,c))}}))}function Xi(e){function n(T){return Wr(T,e)}ba!==null&&Wr(ba,e),wa!==null&&Wr(wa,e),Sa!==null&&Wr(Sa,e),ao.forEach(n),io.forEach(n);for(var i=0;i<Ca.length;i++){var o=Ca[i];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Ca.length&&(i=Ca[0],i.blockedOn===null);)Py(i),i.blockedOn===null&&Ca.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var c=i[o],u=i[o+1],y=c[Ct]||null;if(typeof u=="function")y||zy(i);else if(y){var b=null;if(u&&u.hasAttribute("formAction")){if(c=u,y=u[Ct]||null)b=y.formAction;else if(vd(c)!==null)continue}else b=y.action;typeof b=="function"?i[o+1]=b:(i.splice(o,3),o-=3),zy(i)}}}function Vy(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(y){return c=y})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(i,20)}function i(){if(!o&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(i,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function bd(e){this._internalRoot=e}Jr.prototype.render=bd.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(r(409));var i=n.current,o=Vt();Dy(i,o,e,n,null,null)},Jr.prototype.unmount=bd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Dy(e.current,2,null,e,null,null),Or(),n[ui]=null}};function Jr(e){this._internalRoot=e}Jr.prototype.unstable_scheduleHydration=function(e){if(e){var n=Kh();e={blockedOn:null,target:e,priority:n};for(var i=0;i<Ca.length&&n!==0&&n<Ca[i].priority;i++);Ca.splice(i,0,e),i===0&&Py(e)}};var Uy=a.version;if(Uy!=="19.2.3")throw Error(r(527,Uy,"19.2.3"));I.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=g(n),e=e!==null?v(e):null,e=e===null?null:e.stateNode,e};var N2={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var el=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!el.isDisabled&&el.supportsFiber)try{ms=el.inject(N2),kt=el}catch{}}return ro.createRoot=function(e,n){if(!l(e))throw Error(r(299));var i=!1,o="",c=Xp,u=Qp,y=Kp;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError)),n=Ry(e,1,!1,null,null,i,o,null,c,u,y,Vy),e[ui]=n.current,td(e),new bd(n)},ro.hydrateRoot=function(e,n,i){if(!l(e))throw Error(r(299));var o=!1,c="",u=Xp,y=Qp,b=Kp,T=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(u=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(b=i.onRecoverableError),i.formState!==void 0&&(T=i.formState)),n=Ry(e,1,!0,n,i??null,o,c,T,u,y,b,Vy),n.context=Ny(null),i=n.current,o=Vt(),o=uc(o),c=la(o),c.callback=null,ca(i,c,o),i=o,n.current.lanes=i,gs(n,i),xn(n),e[ui]=n.current,td(e),new Jr(n)},ro.version="19.2.3",ro}var Zy;function V2(){if(Zy)return Sd.exports;Zy=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),Sd.exports=z2(),Sd.exports}var U2=V2();function H2(t,a){if(t instanceof RegExp)return{keys:!1,pattern:t};var s,r,l,d,f=[],m="",p=t.split("/");for(p[0]||p.shift();l=p.shift();)s=l[0],s==="*"?(f.push(s),m+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):s===":"?(r=l.indexOf("?",1),d=l.indexOf(".",1),f.push(l.substring(1,~r?r:~d?d:l.length)),m+=~r&&!~d?"(?:/([^/]+?))?":"/([^/]+?)",~d&&(m+=(~r?"?":"")+"\\"+l.substring(d))):m+="/"+l;return{keys:f,pattern:new RegExp("^"+m+(a?"(?=$|/)":"/?$"),"i")}}var S=Bl();const We=nx(S),zl=k2({__proto__:null,default:We},[S]);var Ed={exports:{}},Rd={};var Wy;function q2(){if(Wy)return Rd;Wy=1;var t=Bl();function a(x,w){return x===w&&(x!==0||1/x===1/w)||x!==x&&w!==w}var s=typeof Object.is=="function"?Object.is:a,r=t.useState,l=t.useEffect,d=t.useLayoutEffect,f=t.useDebugValue;function m(x,w){var C=w(),j=r({inst:{value:C,getSnapshot:w}}),A=j[0].inst,E=j[1];return d(function(){A.value=C,A.getSnapshot=w,p(A)&&E({inst:A})},[x,C,w]),l(function(){return p(A)&&E({inst:A}),x(function(){p(A)&&E({inst:A})})},[x]),f(C),C}function p(x){var w=x.getSnapshot;x=x.value;try{var C=w();return!s(x,C)}catch{return!0}}function g(x,w){return w()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:m;return Rd.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v,Rd}var $y;function I2(){return $y||($y=1,Ed.exports=q2()),Ed.exports}var G2=I2();const Y2=zl.useInsertionEffect,F2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",X2=F2?S.useLayoutEffect:S.useEffect,Q2=Y2||X2,ix=t=>{const a=S.useRef([t,(...s)=>a[0](...s)]).current;return Q2(()=>{a[0]=t}),a[1]},K2="popstate",zf="pushState",Vf="replaceState",Z2="hashchange",Jy=[K2,zf,Vf,Z2],W2=t=>{for(const a of Jy)addEventListener(a,t);return()=>{for(const a of Jy)removeEventListener(a,t)}},sx=(t,a)=>G2.useSyncExternalStore(W2,t,a),ev=()=>location.search,$2=({ssrSearch:t}={})=>sx(ev,t!=null?()=>t:ev),tv=()=>location.pathname,J2=({ssrPath:t}={})=>sx(tv,t!=null?()=>t:tv),eA=(t,{replace:a=!1,state:s=null}={})=>history[a?Vf:zf](s,"",t),tA=(t={})=>[J2(t),eA],nv=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[nv]>"u"){for(const t of[zf,Vf]){const a=history[t];history[t]=function(){const s=a.apply(this,arguments),r=new Event(t);return r.arguments=arguments,dispatchEvent(r),s}}Object.defineProperty(window,nv,{value:!0})}const nA=(t,a)=>a.toLowerCase().indexOf(t.toLowerCase())?"~"+a:a.slice(t.length)||"/",ox=(t="")=>t==="/"?"":t,aA=(t,a)=>t[0]==="~"?t.slice(1):ox(a)+t,iA=(t="",a)=>nA(av(ox(t)),av(a)),av=t=>{try{return decodeURI(t)}catch{return t}},rx={hook:tA,searchHook:$2,parser:H2,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t,aroundNav:(t,a,s)=>t(a,s)},lx=S.createContext(rx),Vl=()=>S.useContext(lx),cx={},ux=S.createContext(cx),dx=()=>S.useContext(ux),Uf=t=>{const[a,s]=t.hook(t);return[iA(t.base,a),ix((r,l)=>t.aroundNav(s,aA(r,t.base),l))]},fx=(t,a,s,r)=>{const{pattern:l,keys:d}=a instanceof RegExp?{keys:!1,pattern:a}:t(a||"*",r),f=l.exec(s)||[],[m,...p]=f;return m!==void 0?[!0,(()=>{const g=d!==!1?Object.fromEntries(d.map((x,w)=>[x,p[w]])):f.groups;let v={...p};return g&&Object.assign(v,g),v})(),...r?[m]:[]]:[!1,null]},sA=({children:t,...a})=>{const s=Vl(),r=a.hook?rx:s;let l=r;const[d,f=a.ssrSearch??""]=a.ssrPath?.split("?")??[];d&&(a.ssrSearch=f,a.ssrPath=d),a.hrefs=a.hrefs??a.hook?.hrefs,a.searchHook=a.searchHook??a.hook?.searchHook;let m=S.useRef({}),p=m.current,g=p;for(let v in r){const x=v==="base"?r[v]+(a[v]??""):a[v]??r[v];p===g&&x!==g[v]&&(m.current=g={...g}),g[v]=x,(x!==r[v]||x!==l[v])&&(l=g)}return S.createElement(lx.Provider,{value:l,children:t})},iv=({children:t,component:a},s)=>a?S.createElement(a,{params:s}):typeof t=="function"?t(s):t,oA=t=>{let a=S.useRef(cx);const s=a.current;return a.current=Object.keys(t).length!==Object.keys(s).length||Object.entries(t).some(([r,l])=>l!==s[r])?t:s},rn=({path:t,nest:a,match:s,...r})=>{const l=Vl(),[d]=Uf(l),[f,m,p]=s??fx(l.parser,t,d,a),g=oA({...dx(),...m});if(!f)return null;const v=p?S.createElement(sA,{base:p},iv(r,g)):iv(r,g);return S.createElement(ux.Provider,{value:g,children:v})},Ta=S.forwardRef((t,a)=>{const s=Vl(),[r,l]=Uf(s),{to:d="",href:f=d,onClick:m,asChild:p,children:g,className:v,replace:x,state:w,transition:C,...j}=t,A=ix(D=>{D.ctrlKey||D.metaKey||D.altKey||D.shiftKey||D.button!==0||(m?.(D),D.defaultPrevented||(D.preventDefault(),l(f,t)))}),E=s.hrefs(f[0]==="~"?f.slice(1):s.base+f,s);return p&&S.isValidElement(g)?S.cloneElement(g,{onClick:A,href:E}):S.createElement("a",{...j,onClick:A,href:E,className:v?.call?v(r===f):v,children:g,ref:a})}),hx=t=>Array.isArray(t)?t.flatMap(a=>hx(a&&a.type===S.Fragment?a.props.children:a)):[t],rA=({children:t,location:a})=>{const s=Vl(),[r]=Uf(s);for(const l of hx(t)){let d=0;if(S.isValidElement(l)&&(d=fx(s.parser,l.props.path,a||r,l.props.nest))[0])return S.cloneElement(l,{match:d})}return null};var Ul=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},lA={setTimeout:(t,a)=>setTimeout(t,a),clearTimeout:t=>clearTimeout(t),setInterval:(t,a)=>setInterval(t,a),clearInterval:t=>clearInterval(t)},cA=class{#e=lA;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,a){return this.#e.setTimeout(t,a)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,a){return this.#e.setInterval(t,a)}clearInterval(t){this.#e.clearInterval(t)}},tf=new cA;function uA(t){setTimeout(t,0)}var Hl=typeof window>"u"||"Deno"in globalThis;function un(){}function dA(t,a){return typeof t=="function"?t(a):t}function fA(t){return typeof t=="number"&&t>=0&&t!==1/0}function hA(t,a){return Math.max(t+(a||0)-Date.now(),0)}function nf(t,a){return typeof t=="function"?t(a):t}function mA(t,a){return typeof t=="function"?t(a):t}function sv(t,a){const{type:s="all",exact:r,fetchStatus:l,predicate:d,queryKey:f,stale:m}=t;if(f){if(r){if(a.queryHash!==Hf(f,a.options))return!1}else if(!So(a.queryKey,f))return!1}if(s!=="all"){const p=a.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof m=="boolean"&&a.isStale()!==m||l&&l!==a.state.fetchStatus||d&&!d(a))}function ov(t,a){const{exact:s,status:r,predicate:l,mutationKey:d}=t;if(d){if(!a.options.mutationKey)return!1;if(s){if(wo(a.options.mutationKey)!==wo(d))return!1}else if(!So(a.options.mutationKey,d))return!1}return!(r&&a.state.status!==r||l&&!l(a))}function Hf(t,a){return(a?.queryKeyHashFn||wo)(t)}function wo(t){return JSON.stringify(t,(a,s)=>af(s)?Object.keys(s).sort().reduce((r,l)=>(r[l]=s[l],r),{}):s)}function So(t,a){return t===a?!0:typeof t!=typeof a?!1:t&&a&&typeof t=="object"&&typeof a=="object"?Object.keys(a).every(s=>So(t[s],a[s])):!1}var pA=Object.prototype.hasOwnProperty;function mx(t,a,s=0){if(t===a)return t;if(s>500)return a;const r=rv(t)&&rv(a);if(!r&&!(af(t)&&af(a)))return a;const d=(r?t:Object.keys(t)).length,f=r?a:Object.keys(a),m=f.length,p=r?new Array(m):{};let g=0;for(let v=0;v<m;v++){const x=r?v:f[v],w=t[x],C=a[x];if(w===C){p[x]=w,(r?v<d:pA.call(t,x))&&g++;continue}if(w===null||C===null||typeof w!="object"||typeof C!="object"){p[x]=C;continue}const j=mx(w,C,s+1);p[x]=j,j===w&&g++}return d===m&&g===d?t:p}function rv(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function af(t){if(!lv(t))return!1;const a=t.constructor;if(a===void 0)return!0;const s=a.prototype;return!(!lv(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function lv(t){return Object.prototype.toString.call(t)==="[object Object]"}function gA(t){return new Promise(a=>{tf.setTimeout(a,t)})}function yA(t,a,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,a):s.structuralSharing!==!1?mx(t,a):a}function vA(t,a,s=0){const r=[...t,a];return s&&r.length>s?r.slice(1):r}function xA(t,a,s=0){const r=[a,...t];return s&&r.length>s?r.slice(0,-1):r}var qf=Symbol();function px(t,a){return!t.queryFn&&a?.initialPromise?()=>a.initialPromise:!t.queryFn||t.queryFn===qf?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function bA(t,a,s){let r=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=a(),r||(r=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),t}var wA=class extends Ul{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!Hl&&window.addEventListener){const a=()=>t();return window.addEventListener("visibilitychange",a,!1),()=>{window.removeEventListener("visibilitychange",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(a=>{a(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},gx=new wA;function SA(){let t,a;const s=new Promise((l,d)=>{t=l,a=d});s.status="pending",s.catch(()=>{});function r(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{r({status:"fulfilled",value:l}),t(l)},s.reject=l=>{r({status:"rejected",reason:l}),a(l)},s}var CA=uA;function AA(){let t=[],a=0,s=m=>{m()},r=m=>{m()},l=CA;const d=m=>{a?t.push(m):l(()=>{s(m)})},f=()=>{const m=t;t=[],m.length&&l(()=>{r(()=>{m.forEach(p=>{s(p)})})})};return{batch:m=>{let p;a++;try{p=m()}finally{a--,a||f()}return p},batchCalls:m=>(...p)=>{d(()=>{m(...p)})},schedule:d,setNotifyFunction:m=>{s=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{l=m}}}var bt=AA(),TA=class extends Ul{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!Hl&&window.addEventListener){const a=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",a,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",a),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},bl=new TA;function jA(t){return Math.min(1e3*2**t,3e4)}function yx(t){return(t??"online")==="online"?bl.isOnline():!0}var sf=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function vx(t){let a=!1,s=0,r;const l=SA(),d=()=>l.status!=="pending",f=A=>{if(!d()){const E=new sf(A);w(E),t.onCancel?.(E)}},m=()=>{a=!0},p=()=>{a=!1},g=()=>gx.isFocused()&&(t.networkMode==="always"||bl.isOnline())&&t.canRun(),v=()=>yx(t.networkMode)&&t.canRun(),x=A=>{d()||(r?.(),l.resolve(A))},w=A=>{d()||(r?.(),l.reject(A))},C=()=>new Promise(A=>{r=E=>{(d()||g())&&A(E)},t.onPause?.()}).then(()=>{r=void 0,d()||t.onContinue?.()}),j=()=>{if(d())return;let A;const E=s===0?t.initialPromise:void 0;try{A=E??t.fn()}catch(D){A=Promise.reject(D)}Promise.resolve(A).then(x).catch(D=>{if(d())return;const M=t.retry??(Hl?0:3),O=t.retryDelay??jA,H=typeof O=="function"?O(s,D):O,U=M===!0||typeof M=="number"&&s<M||typeof M=="function"&&M(s,D);if(a||!U){w(D);return}s++,t.onFail?.(s,D),gA(H).then(()=>g()?void 0:C()).then(()=>{a?w(D):j()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(r?.(),l),cancelRetry:m,continueRetry:p,canStart:v,start:()=>(v()?j():C().then(j),l)}}var xx=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),fA(this.gcTime)&&(this.#e=tf.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Hl?1/0:300*1e3))}clearGcTimeout(){this.#e&&(tf.clearTimeout(this.#e),this.#e=void 0)}},EA=class extends xx{#e;#t;#n;#i;#a;#o;#r;constructor(t){super(),this.#r=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#n=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=uv(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const a=uv(this.options);a.data!==void 0&&(this.setState(cv(a.data,a.dataUpdatedAt)),this.#e=a)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,a){const s=yA(this.state.data,t,this.options);return this.#s({data:s,type:"success",dataUpdatedAt:a?.updatedAt,manual:a?.manual}),s}setState(t,a){this.#s({type:"setState",state:t,setStateOptions:a})}cancel(t){const a=this.#a?.promise;return this.#a?.cancel(t),a?a.then(un).catch(un):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>mA(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>nf(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!hA(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(a=>a.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(a=>a.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(a=>a!==t),this.observers.length||(this.#a&&(this.#r?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,a){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&a?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const s=new AbortController,r=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#r=!0,s.signal)})},l=()=>{const m=px(this.options,a),g=(()=>{const v={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(v),v})();return this.#r=!1,this.options.persister?this.options.persister(m,g,this):m(g)},f=(()=>{const m={fetchOptions:a,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:l};return r(m),m})();this.options.behavior?.onFetch(f,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#s({type:"fetch",meta:f.fetchOptions?.meta}),this.#a=vx({initialPromise:a?.initialPromise,fn:f.fetchFn,onCancel:m=>{m instanceof sf&&m.revert&&this.setState({...this.#t,fetchStatus:"idle"}),s.abort()},onFail:(m,p)=>{this.#s({type:"failed",failureCount:m,error:p})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const m=await this.#a.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#n.config.onSuccess?.(m,this),this.#n.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof sf){if(m.silent)return this.#a.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#s({type:"error",error:m}),this.#n.config.onError?.(m,this),this.#n.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#s(t){const a=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...RA(s.data,this.options),fetchMeta:t.meta??null};case"success":const r={...s,...cv(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?r:void 0,r;case"error":const l=t.error;return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=a(this.state),bt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function RA(t,a){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:yx(a.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function cv(t,a){return{data:t,dataUpdatedAt:a??Date.now(),error:null,isInvalidated:!1,status:"success"}}function uv(t){const a=typeof t.initialData=="function"?t.initialData():t.initialData,s=a!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:a,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}function dv(t){return{onFetch:(a,s)=>{const r=a.options,l=a.fetchOptions?.meta?.fetchMore?.direction,d=a.state.data?.pages||[],f=a.state.data?.pageParams||[];let m={pages:[],pageParams:[]},p=0;const g=async()=>{let v=!1;const x=j=>{bA(j,()=>a.signal,()=>v=!0)},w=px(a.options,a.fetchOptions),C=async(j,A,E)=>{if(v)return Promise.reject();if(A==null&&j.pages.length)return Promise.resolve(j);const M=(()=>{const K={client:a.client,queryKey:a.queryKey,pageParam:A,direction:E?"backward":"forward",meta:a.options.meta};return x(K),K})(),O=await w(M),{maxPages:H}=a.options,U=E?xA:vA;return{pages:U(j.pages,O,H),pageParams:U(j.pageParams,A,H)}};if(l&&d.length){const j=l==="backward",A=j?NA:fv,E={pages:d,pageParams:f},D=A(r,E);m=await C(E,D,j)}else{const j=t??d.length;do{const A=p===0?f[0]??r.initialPageParam:fv(r,m);if(p>0&&A==null)break;m=await C(m,A),p++}while(p<j)}return m};a.options.persister?a.fetchFn=()=>a.options.persister?.(g,{client:a.client,queryKey:a.queryKey,meta:a.options.meta,signal:a.signal},s):a.fetchFn=g}}}function fv(t,{pages:a,pageParams:s}){const r=a.length-1;return a.length>0?t.getNextPageParam(a[r],a,s[r],s):void 0}function NA(t,{pages:a,pageParams:s}){return a.length>0?t.getPreviousPageParam?.(a[0],a,s[0],s):void 0}var DA=class extends xx{#e;#t;#n;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||kA(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(a=>a!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const a=()=>{this.#a({type:"continue"})},s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=vx({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(d,f)=>{this.#a({type:"failed",failureCount:d,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:a,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",l=!this.#i.canStart();try{if(r)a();else{this.#a({type:"pending",variables:t,isPaused:l}),await this.#n.config.onMutate?.(t,this,s);const f=await this.options.onMutate?.(t,s);f!==this.state.context&&this.#a({type:"pending",context:f,variables:t,isPaused:l})}const d=await this.#i.start();return await this.#n.config.onSuccess?.(d,t,this.state.context,this,s),await this.options.onSuccess?.(d,t,this.state.context,s),await this.#n.config.onSettled?.(d,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(d,null,t,this.state.context,s),this.#a({type:"success",data:d}),d}catch(d){try{await this.#n.config.onError?.(d,t,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onError?.(d,t,this.state.context,s)}catch(f){Promise.reject(f)}try{await this.#n.config.onSettled?.(void 0,d,this.state.variables,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onSettled?.(void 0,d,t,this.state.context,s)}catch(f){Promise.reject(f)}throw this.#a({type:"error",error:d}),d}finally{this.#n.runNext(this)}}#a(t){const a=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=a(this.state),bt.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function kA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var MA=class extends Ul{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,a,s){const r=new DA({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(a),state:s});return this.add(r),r}add(t){this.#e.add(t);const a=tl(t);if(typeof a=="string"){const s=this.#t.get(a);s?s.push(t):this.#t.set(a,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const a=tl(t);if(typeof a=="string"){const s=this.#t.get(a);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(a)}}this.notify({type:"removed",mutation:t})}canRun(t){const a=tl(t);if(typeof a=="string"){const r=this.#t.get(a)?.find(l=>l.state.status==="pending");return!r||r===t}else return!0}runNext(t){const a=tl(t);return typeof a=="string"?this.#t.get(a)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){bt.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const a={exact:!0,...t};return this.getAll().find(s=>ov(a,s))}findAll(t={}){return this.getAll().filter(a=>ov(t,a))}notify(t){bt.batch(()=>{this.listeners.forEach(a=>{a(t)})})}resumePausedMutations(){const t=this.getAll().filter(a=>a.state.isPaused);return bt.batch(()=>Promise.all(t.map(a=>a.continue().catch(un))))}};function tl(t){return t.options.scope?.id}var OA=class extends Ul{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,a,s){const r=a.queryKey,l=a.queryHash??Hf(r,a);let d=this.get(l);return d||(d=new EA({client:t,queryKey:r,queryHash:l,options:t.defaultQueryOptions(a),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(d)),d}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const a=this.#e.get(t.queryHash);a&&(t.destroy(),a===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const a={exact:!0,...t};return this.getAll().find(s=>sv(a,s))}findAll(t={}){const a=this.getAll();return Object.keys(t).length>0?a.filter(s=>sv(t,s)):a}notify(t){bt.batch(()=>{this.listeners.forEach(a=>{a(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},_A=class{#e;#t;#n;#i;#a;#o;#r;#s;constructor(t={}){this.#e=t.queryCache||new OA,this.#t=t.mutationCache||new MA,this.#n=t.defaultOptions||{},this.#i=new Map,this.#a=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#r=gx.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=bl.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#r?.(),this.#r=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const a=this.defaultQueryOptions({queryKey:t});return this.#e.get(a.queryHash)?.state.data}ensureQueryData(t){const a=this.defaultQueryOptions(t),s=this.#e.build(this,a),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(nf(a.staleTime,s))&&this.prefetchQuery(a),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:a,state:s})=>{const r=s.data;return[a,r]})}setQueryData(t,a,s){const r=this.defaultQueryOptions({queryKey:t}),d=this.#e.get(r.queryHash)?.state.data,f=dA(a,d);if(f!==void 0)return this.#e.build(this,r).setData(f,{...s,manual:!0})}setQueriesData(t,a,s){return bt.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,a,s)]))}getQueryState(t){const a=this.defaultQueryOptions({queryKey:t});return this.#e.get(a.queryHash)?.state}removeQueries(t){const a=this.#e;bt.batch(()=>{a.findAll(t).forEach(s=>{a.remove(s)})})}resetQueries(t,a){const s=this.#e;return bt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},a)))}cancelQueries(t,a={}){const s={revert:!0,...a},r=bt.batch(()=>this.#e.findAll(t).map(l=>l.cancel(s)));return Promise.all(r).then(un).catch(un)}invalidateQueries(t,a={}){return bt.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},a)))}refetchQueries(t,a={}){const s={...a,cancelRefetch:a.cancelRefetch??!0},r=bt.batch(()=>this.#e.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let d=l.fetch(void 0,s);return s.throwOnError||(d=d.catch(un)),l.state.fetchStatus==="paused"?Promise.resolve():d}));return Promise.all(r).then(un)}fetchQuery(t){const a=this.defaultQueryOptions(t);a.retry===void 0&&(a.retry=!1);const s=this.#e.build(this,a);return s.isStaleByTime(nf(a.staleTime,s))?s.fetch(a):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(un).catch(un)}fetchInfiniteQuery(t){return t.behavior=dv(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(un).catch(un)}ensureInfiniteQueryData(t){return t.behavior=dv(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return bl.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,a){this.#i.set(wo(t),{queryKey:t,defaultOptions:a})}getQueryDefaults(t){const a=[...this.#i.values()],s={};return a.forEach(r=>{So(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,a){this.#a.set(wo(t),{mutationKey:t,defaultOptions:a})}getMutationDefaults(t){const a=[...this.#a.values()],s={};return a.forEach(r=>{So(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const a={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return a.queryHash||(a.queryHash=Hf(a.queryKey,a)),a.refetchOnReconnect===void 0&&(a.refetchOnReconnect=a.networkMode!=="always"),a.throwOnError===void 0&&(a.throwOnError=!!a.suspense),!a.networkMode&&a.persister&&(a.networkMode="offlineFirst"),a.queryFn===qf&&(a.enabled=!1),a}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},LA=S.createContext(void 0),PA=({client:t,children:a})=>(S.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),h.jsx(LA.Provider,{value:t,children:a}));async function BA(t){if(!t.ok){const a=await t.text()||t.statusText;throw new Error(`${t.status}: ${a}`)}}const zA=({on401:t})=>async({queryKey:a})=>{const s=await fetch(a.join("/"),{credentials:"include"});return await BA(s),await s.json()},VA=new _A({defaultOptions:{queries:{queryFn:zA({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),UA=1,HA=1e6;let Nd=0;function qA(){return Nd=(Nd+1)%Number.MAX_SAFE_INTEGER,Nd.toString()}const Dd=new Map,hv=t=>{if(Dd.has(t))return;const a=setTimeout(()=>{Dd.delete(t),go({type:"REMOVE_TOAST",toastId:t})},HA);Dd.set(t,a)},IA=(t,a)=>{switch(a.type){case"ADD_TOAST":return{...t,toasts:[a.toast,...t.toasts].slice(0,UA)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(s=>s.id===a.toast.id?{...s,...a.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=a;return s?hv(s):t.toasts.forEach(r=>{hv(r.id)}),{...t,toasts:t.toasts.map(r=>r.id===s||s===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return a.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==a.toastId)}}},hl=[];let ml={toasts:[]};function go(t){ml=IA(ml,t),hl.forEach(a=>{a(ml)})}function GA({...t}){const a=qA(),s=l=>go({type:"UPDATE_TOAST",toast:{...l,id:a}}),r=()=>go({type:"DISMISS_TOAST",toastId:a});return go({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:l=>{l||r()}}}),{id:a,dismiss:r,update:s}}function YA(){const[t,a]=S.useState(ml);return S.useEffect(()=>(hl.push(a),()=>{const s=hl.indexOf(a);s>-1&&hl.splice(s,1)}),[t]),{...t,toast:GA,dismiss:s=>go({type:"DISMISS_TOAST",toastId:s})}}var ql=ax();const FA=nx(ql);function $e(t,a,{checkForDefaultPrevented:s=!0}={}){return function(l){if(t?.(l),s===!1||!l.defaultPrevented)return a?.(l)}}function mv(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function Il(...t){return a=>{let s=!1;const r=t.map(l=>{const d=mv(l,a);return!s&&typeof d=="function"&&(s=!0),d});if(s)return()=>{for(let l=0;l<r.length;l++){const d=r[l];typeof d=="function"?d():mv(t[l],null)}}}}function qt(...t){return S.useCallback(Il(...t),t)}function os(t,a=[]){let s=[];function r(d,f){const m=S.createContext(f),p=s.length;s=[...s,f];const g=x=>{const{scope:w,children:C,...j}=x,A=w?.[t]?.[p]||m,E=S.useMemo(()=>j,Object.values(j));return h.jsx(A.Provider,{value:E,children:C})};g.displayName=d+"Provider";function v(x,w){const C=w?.[t]?.[p]||m,j=S.useContext(C);if(j)return j;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${d}\``)}return[g,v]}const l=()=>{const d=s.map(f=>S.createContext(f));return function(m){const p=m?.[t]||d;return S.useMemo(()=>({[`__scope${t}`]:{...m,[t]:p}}),[m,p])}};return l.scopeName=t,[r,XA(l,...a)]}function XA(...t){const a=t[0];if(t.length===1)return a;const s=()=>{const r=t.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(d){const f=r.reduce((m,{useScope:p,scopeName:g})=>{const x=p(d)[`__scope${g}`];return{...m,...x}},{});return S.useMemo(()=>({[`__scope${a.scopeName}`]:f}),[f])}};return s.scopeName=a.scopeName,s}function pv(t){const a=QA(t),s=S.forwardRef((r,l)=>{const{children:d,...f}=r,m=S.Children.toArray(d),p=m.find(ZA);if(p){const g=p.props.children,v=m.map(x=>x===p?S.Children.count(g)>1?S.Children.only(null):S.isValidElement(g)?g.props.children:null:x);return h.jsx(a,{...f,ref:l,children:S.isValidElement(g)?S.cloneElement(g,void 0,v):null})}return h.jsx(a,{...f,ref:l,children:d})});return s.displayName=`${t}.Slot`,s}function QA(t){const a=S.forwardRef((s,r)=>{const{children:l,...d}=s;if(S.isValidElement(l)){const f=$A(l),m=WA(d,l.props);return l.type!==S.Fragment&&(m.ref=r?Il(r,f):f),S.cloneElement(l,m)}return S.Children.count(l)>1?S.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var KA=Symbol("radix.slottable");function ZA(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===KA}function WA(t,a){const s={...a};for(const r in a){const l=t[r],d=a[r];/^on[A-Z]/.test(r)?l&&d?s[r]=(...m)=>{const p=d(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...d}:r==="className"&&(s[r]=[l,d].filter(Boolean).join(" "))}return{...t,...s}}function $A(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}function bx(t){const a=t+"CollectionProvider",[s,r]=os(a),[l,d]=s(a,{collectionRef:{current:null},itemMap:new Map}),f=A=>{const{scope:E,children:D}=A,M=We.useRef(null),O=We.useRef(new Map).current;return h.jsx(l,{scope:E,itemMap:O,collectionRef:M,children:D})};f.displayName=a;const m=t+"CollectionSlot",p=pv(m),g=We.forwardRef((A,E)=>{const{scope:D,children:M}=A,O=d(m,D),H=qt(E,O.collectionRef);return h.jsx(p,{ref:H,children:M})});g.displayName=m;const v=t+"CollectionItemSlot",x="data-radix-collection-item",w=pv(v),C=We.forwardRef((A,E)=>{const{scope:D,children:M,...O}=A,H=We.useRef(null),U=qt(E,H),K=d(v,D);return We.useEffect(()=>(K.itemMap.set(H,{ref:H,...O}),()=>{K.itemMap.delete(H)})),h.jsx(w,{[x]:"",ref:U,children:M})});C.displayName=v;function j(A){const E=d(t+"CollectionConsumer",A);return We.useCallback(()=>{const M=E.collectionRef.current;if(!M)return[];const O=Array.from(M.querySelectorAll(`[${x}]`));return Array.from(E.itemMap.values()).sort((K,X)=>O.indexOf(K.ref.current)-O.indexOf(X.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:f,Slot:g,ItemSlot:C},j,r]}function JA(t){const a=eT(t),s=S.forwardRef((r,l)=>{const{children:d,...f}=r,m=S.Children.toArray(d),p=m.find(nT);if(p){const g=p.props.children,v=m.map(x=>x===p?S.Children.count(g)>1?S.Children.only(null):S.isValidElement(g)?g.props.children:null:x);return h.jsx(a,{...f,ref:l,children:S.isValidElement(g)?S.cloneElement(g,void 0,v):null})}return h.jsx(a,{...f,ref:l,children:d})});return s.displayName=`${t}.Slot`,s}function eT(t){const a=S.forwardRef((s,r)=>{const{children:l,...d}=s;if(S.isValidElement(l)){const f=iT(l),m=aT(d,l.props);return l.type!==S.Fragment&&(m.ref=r?Il(r,f):f),S.cloneElement(l,m)}return S.Children.count(l)>1?S.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var tT=Symbol("radix.slottable");function nT(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===tT}function aT(t,a){const s={...a};for(const r in a){const l=t[r],d=a[r];/^on[A-Z]/.test(r)?l&&d?s[r]=(...m)=>{const p=d(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...d}:r==="className"&&(s[r]=[l,d].filter(Boolean).join(" "))}return{...t,...s}}function iT(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}var sT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=sT.reduce((t,a)=>{const s=JA(`Primitive.${a}`),r=S.forwardRef((l,d)=>{const{asChild:f,...m}=l,p=f?s:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(p,{...m,ref:d})});return r.displayName=`Primitive.${a}`,{...t,[a]:r}},{});function wx(t,a){t&&ql.flushSync(()=>t.dispatchEvent(a))}function Da(t){const a=S.useRef(t);return S.useEffect(()=>{a.current=t}),S.useMemo(()=>(...s)=>a.current?.(...s),[])}function oT(t,a=globalThis?.document){const s=Da(t);S.useEffect(()=>{const r=l=>{l.key==="Escape"&&s(l)};return a.addEventListener("keydown",r,{capture:!0}),()=>a.removeEventListener("keydown",r,{capture:!0})},[s,a])}var rT="DismissableLayer",of="dismissableLayer.update",lT="dismissableLayer.pointerDownOutside",cT="dismissableLayer.focusOutside",gv,Sx=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),If=S.forwardRef((t,a)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:f,onDismiss:m,...p}=t,g=S.useContext(Sx),[v,x]=S.useState(null),w=v?.ownerDocument??globalThis?.document,[,C]=S.useState({}),j=qt(a,X=>x(X)),A=Array.from(g.layers),[E]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),D=A.indexOf(E),M=v?A.indexOf(v):-1,O=g.layersWithOutsidePointerEventsDisabled.size>0,H=M>=D,U=dT(X=>{const q=X.target,se=[...g.branches].some(ue=>ue.contains(q));!H||se||(l?.(X),f?.(X),X.defaultPrevented||m?.())},w),K=fT(X=>{const q=X.target;[...g.branches].some(ue=>ue.contains(q))||(d?.(X),f?.(X),X.defaultPrevented||m?.())},w);return oT(X=>{M===g.layers.size-1&&(r?.(X),!X.defaultPrevented&&m&&(X.preventDefault(),m()))},w),S.useEffect(()=>{if(v)return s&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(gv=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(v)),g.layers.add(v),yv(),()=>{s&&g.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=gv)}},[v,w,s,g]),S.useEffect(()=>()=>{v&&(g.layers.delete(v),g.layersWithOutsidePointerEventsDisabled.delete(v),yv())},[v,g]),S.useEffect(()=>{const X=()=>C({});return document.addEventListener(of,X),()=>document.removeEventListener(of,X)},[]),h.jsx(rt.div,{...p,ref:j,style:{pointerEvents:O?H?"auto":"none":void 0,...t.style},onFocusCapture:$e(t.onFocusCapture,K.onFocusCapture),onBlurCapture:$e(t.onBlurCapture,K.onBlurCapture),onPointerDownCapture:$e(t.onPointerDownCapture,U.onPointerDownCapture)})});If.displayName=rT;var uT="DismissableLayerBranch",Cx=S.forwardRef((t,a)=>{const s=S.useContext(Sx),r=S.useRef(null),l=qt(a,r);return S.useEffect(()=>{const d=r.current;if(d)return s.branches.add(d),()=>{s.branches.delete(d)}},[s.branches]),h.jsx(rt.div,{...t,ref:l})});Cx.displayName=uT;function dT(t,a=globalThis?.document){const s=Da(t),r=S.useRef(!1),l=S.useRef(()=>{});return S.useEffect(()=>{const d=m=>{if(m.target&&!r.current){let p=function(){Ax(lT,s,g,{discrete:!0})};const g={originalEvent:m};m.pointerType==="touch"?(a.removeEventListener("click",l.current),l.current=p,a.addEventListener("click",l.current,{once:!0})):p()}else a.removeEventListener("click",l.current);r.current=!1},f=window.setTimeout(()=>{a.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(f),a.removeEventListener("pointerdown",d),a.removeEventListener("click",l.current)}},[a,s]),{onPointerDownCapture:()=>r.current=!0}}function fT(t,a=globalThis?.document){const s=Da(t),r=S.useRef(!1);return S.useEffect(()=>{const l=d=>{d.target&&!r.current&&Ax(cT,s,{originalEvent:d},{discrete:!1})};return a.addEventListener("focusin",l),()=>a.removeEventListener("focusin",l)},[a,s]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function yv(){const t=new CustomEvent(of);document.dispatchEvent(t)}function Ax(t,a,s,{discrete:r}){const l=s.originalEvent.target,d=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:s});a&&l.addEventListener(t,a,{once:!0}),r?wx(l,d):l.dispatchEvent(d)}var hT=If,mT=Cx,An=globalThis?.document?S.useLayoutEffect:()=>{},pT="Portal",Gf=S.forwardRef((t,a)=>{const{container:s,...r}=t,[l,d]=S.useState(!1);An(()=>d(!0),[]);const f=s||l&&globalThis?.document?.body;return f?FA.createPortal(h.jsx(rt.div,{...r,ref:a}),f):null});Gf.displayName=pT;function gT(t,a){return S.useReducer((s,r)=>a[s][r]??s,t)}var Do=t=>{const{present:a,children:s}=t,r=yT(a),l=typeof s=="function"?s({present:r.isPresent}):S.Children.only(s),d=qt(r.ref,vT(l));return typeof s=="function"||r.isPresent?S.cloneElement(l,{ref:d}):null};Do.displayName="Presence";function yT(t){const[a,s]=S.useState(),r=S.useRef(null),l=S.useRef(t),d=S.useRef("none"),f=t?"mounted":"unmounted",[m,p]=gT(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const g=nl(r.current);d.current=m==="mounted"?g:"none"},[m]),An(()=>{const g=r.current,v=l.current;if(v!==t){const w=d.current,C=nl(g);t?p("MOUNT"):C==="none"||g?.display==="none"?p("UNMOUNT"):p(v&&w!==C?"ANIMATION_OUT":"UNMOUNT"),l.current=t}},[t,p]),An(()=>{if(a){let g;const v=a.ownerDocument.defaultView??window,x=C=>{const A=nl(r.current).includes(CSS.escape(C.animationName));if(C.target===a&&A&&(p("ANIMATION_END"),!l.current)){const E=a.style.animationFillMode;a.style.animationFillMode="forwards",g=v.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=E)})}},w=C=>{C.target===a&&(d.current=nl(r.current))};return a.addEventListener("animationstart",w),a.addEventListener("animationcancel",x),a.addEventListener("animationend",x),()=>{v.clearTimeout(g),a.removeEventListener("animationstart",w),a.removeEventListener("animationcancel",x),a.removeEventListener("animationend",x)}}else p("ANIMATION_END")},[a,p]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:S.useCallback(g=>{r.current=g?getComputedStyle(g):null,s(g)},[])}}function nl(t){return t?.animationName||"none"}function vT(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}var xT=zl[" useInsertionEffect ".trim().toString()]||An;function Gl({prop:t,defaultProp:a,onChange:s=()=>{},caller:r}){const[l,d,f]=bT({defaultProp:a,onChange:s}),m=t!==void 0,p=m?t:l;{const v=S.useRef(t!==void 0);S.useEffect(()=>{const x=v.current;x!==m&&console.warn(`${r} is changing from ${x?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),v.current=m},[m,r])}const g=S.useCallback(v=>{if(m){const x=wT(v)?v(t):v;x!==t&&f.current?.(x)}else d(v)},[m,t,d,f]);return[p,g]}function bT({defaultProp:t,onChange:a}){const[s,r]=S.useState(t),l=S.useRef(s),d=S.useRef(a);return xT(()=>{d.current=a},[a]),S.useEffect(()=>{l.current!==s&&(d.current?.(s),l.current=s)},[s,l]),[s,r,d]}function wT(t){return typeof t=="function"}var ST=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),CT="VisuallyHidden",Yl=S.forwardRef((t,a)=>h.jsx(rt.span,{...t,ref:a,style:{...ST,...t.style}}));Yl.displayName=CT;var AT=Yl,Yf="ToastProvider",[Ff,TT,jT]=bx("Toast"),[Tx]=os("Toast",[jT]),[ET,Fl]=Tx(Yf),jx=t=>{const{__scopeToast:a,label:s="Notification",duration:r=5e3,swipeDirection:l="right",swipeThreshold:d=50,children:f}=t,[m,p]=S.useState(null),[g,v]=S.useState(0),x=S.useRef(!1),w=S.useRef(!1);return s.trim()||console.error(`Invalid prop \`label\` supplied to \`${Yf}\`. Expected non-empty \`string\`.`),h.jsx(Ff.Provider,{scope:a,children:h.jsx(ET,{scope:a,label:s,duration:r,swipeDirection:l,swipeThreshold:d,toastCount:g,viewport:m,onViewportChange:p,onToastAdd:S.useCallback(()=>v(C=>C+1),[]),onToastRemove:S.useCallback(()=>v(C=>C-1),[]),isFocusedToastEscapeKeyDownRef:x,isClosePausedRef:w,children:f})})};jx.displayName=Yf;var Ex="ToastViewport",RT=["F8"],rf="toast.viewportPause",lf="toast.viewportResume",Rx=S.forwardRef((t,a)=>{const{__scopeToast:s,hotkey:r=RT,label:l="Notifications ({hotkey})",...d}=t,f=Fl(Ex,s),m=TT(s),p=S.useRef(null),g=S.useRef(null),v=S.useRef(null),x=S.useRef(null),w=qt(a,x,f.onViewportChange),C=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=f.toastCount>0;S.useEffect(()=>{const E=D=>{r.length!==0&&r.every(O=>D[O]||D.code===O)&&x.current?.focus()};return document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[r]),S.useEffect(()=>{const E=p.current,D=x.current;if(j&&E&&D){const M=()=>{if(!f.isClosePausedRef.current){const K=new CustomEvent(rf);D.dispatchEvent(K),f.isClosePausedRef.current=!0}},O=()=>{if(f.isClosePausedRef.current){const K=new CustomEvent(lf);D.dispatchEvent(K),f.isClosePausedRef.current=!1}},H=K=>{!E.contains(K.relatedTarget)&&O()},U=()=>{E.contains(document.activeElement)||O()};return E.addEventListener("focusin",M),E.addEventListener("focusout",H),E.addEventListener("pointermove",M),E.addEventListener("pointerleave",U),window.addEventListener("blur",M),window.addEventListener("focus",O),()=>{E.removeEventListener("focusin",M),E.removeEventListener("focusout",H),E.removeEventListener("pointermove",M),E.removeEventListener("pointerleave",U),window.removeEventListener("blur",M),window.removeEventListener("focus",O)}}},[j,f.isClosePausedRef]);const A=S.useCallback(({tabbingDirection:E})=>{const M=m().map(O=>{const H=O.ref.current,U=[H,...HT(H)];return E==="forwards"?U:U.reverse()});return(E==="forwards"?M.reverse():M).flat()},[m]);return S.useEffect(()=>{const E=x.current;if(E){const D=M=>{const O=M.altKey||M.ctrlKey||M.metaKey;if(M.key==="Tab"&&!O){const U=document.activeElement,K=M.shiftKey;if(M.target===E&&K){g.current?.focus();return}const se=A({tabbingDirection:K?"backwards":"forwards"}),ue=se.findIndex(me=>me===U);kd(se.slice(ue+1))?M.preventDefault():K?g.current?.focus():v.current?.focus()}};return E.addEventListener("keydown",D),()=>E.removeEventListener("keydown",D)}},[m,A]),h.jsxs(mT,{ref:p,role:"region","aria-label":l.replace("{hotkey}",C),tabIndex:-1,style:{pointerEvents:j?void 0:"none"},children:[j&&h.jsx(cf,{ref:g,onFocusFromOutsideViewport:()=>{const E=A({tabbingDirection:"forwards"});kd(E)}}),h.jsx(Ff.Slot,{scope:s,children:h.jsx(rt.ol,{tabIndex:-1,...d,ref:w})}),j&&h.jsx(cf,{ref:v,onFocusFromOutsideViewport:()=>{const E=A({tabbingDirection:"backwards"});kd(E)}})]})});Rx.displayName=Ex;var Nx="ToastFocusProxy",cf=S.forwardRef((t,a)=>{const{__scopeToast:s,onFocusFromOutsideViewport:r,...l}=t,d=Fl(Nx,s);return h.jsx(Yl,{tabIndex:0,...l,ref:a,style:{position:"fixed"},onFocus:f=>{const m=f.relatedTarget;!d.viewport?.contains(m)&&r()}})});cf.displayName=Nx;var ko="Toast",NT="toast.swipeStart",DT="toast.swipeMove",kT="toast.swipeCancel",MT="toast.swipeEnd",Dx=S.forwardRef((t,a)=>{const{forceMount:s,open:r,defaultOpen:l,onOpenChange:d,...f}=t,[m,p]=Gl({prop:r,defaultProp:l??!0,onChange:d,caller:ko});return h.jsx(Do,{present:s||m,children:h.jsx(LT,{open:m,...f,ref:a,onClose:()=>p(!1),onPause:Da(t.onPause),onResume:Da(t.onResume),onSwipeStart:$e(t.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:$e(t.onSwipeMove,g=>{const{x:v,y:x}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${v}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${x}px`)}),onSwipeCancel:$e(t.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:$e(t.onSwipeEnd,g=>{const{x:v,y:x}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${v}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${x}px`),p(!1)})})})});Dx.displayName=ko;var[OT,_T]=Tx(ko,{onClose(){}}),LT=S.forwardRef((t,a)=>{const{__scopeToast:s,type:r="foreground",duration:l,open:d,onClose:f,onEscapeKeyDown:m,onPause:p,onResume:g,onSwipeStart:v,onSwipeMove:x,onSwipeCancel:w,onSwipeEnd:C,...j}=t,A=Fl(ko,s),[E,D]=S.useState(null),M=qt(a,$=>D($)),O=S.useRef(null),H=S.useRef(null),U=l||A.duration,K=S.useRef(0),X=S.useRef(U),q=S.useRef(0),{onToastAdd:se,onToastRemove:ue}=A,me=Da(()=>{E?.contains(document.activeElement)&&A.viewport?.focus(),f()}),ge=S.useCallback($=>{!$||$===1/0||(window.clearTimeout(q.current),K.current=new Date().getTime(),q.current=window.setTimeout(me,$))},[me]);S.useEffect(()=>{const $=A.viewport;if($){const he=()=>{ge(X.current),g?.()},_=()=>{const I=new Date().getTime()-K.current;X.current=X.current-I,window.clearTimeout(q.current),p?.()};return $.addEventListener(rf,_),$.addEventListener(lf,he),()=>{$.removeEventListener(rf,_),$.removeEventListener(lf,he)}}},[A.viewport,U,p,g,ge]),S.useEffect(()=>{d&&!A.isClosePausedRef.current&&ge(U)},[d,U,A.isClosePausedRef,ge]),S.useEffect(()=>(se(),()=>ue()),[se,ue]);const Te=S.useMemo(()=>E?Bx(E):null,[E]);return A.viewport?h.jsxs(h.Fragment,{children:[Te&&h.jsx(PT,{__scopeToast:s,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:Te}),h.jsx(OT,{scope:s,onClose:me,children:ql.createPortal(h.jsx(Ff.ItemSlot,{scope:s,children:h.jsx(hT,{asChild:!0,onEscapeKeyDown:$e(m,()=>{A.isFocusedToastEscapeKeyDownRef.current||me(),A.isFocusedToastEscapeKeyDownRef.current=!1}),children:h.jsx(rt.li,{tabIndex:0,"data-state":d?"open":"closed","data-swipe-direction":A.swipeDirection,...j,ref:M,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:$e(t.onKeyDown,$=>{$.key==="Escape"&&(m?.($.nativeEvent),$.nativeEvent.defaultPrevented||(A.isFocusedToastEscapeKeyDownRef.current=!0,me()))}),onPointerDown:$e(t.onPointerDown,$=>{$.button===0&&(O.current={x:$.clientX,y:$.clientY})}),onPointerMove:$e(t.onPointerMove,$=>{if(!O.current)return;const he=$.clientX-O.current.x,_=$.clientY-O.current.y,I=!!H.current,z=["left","right"].includes(A.swipeDirection),ae=["left","up"].includes(A.swipeDirection)?Math.min:Math.max,de=z?ae(0,he):0,R=z?0:ae(0,_),Y=$.pointerType==="touch"?10:2,Z={x:de,y:R},W={originalEvent:$,delta:Z};I?(H.current=Z,al(DT,x,W,{discrete:!1})):vv(Z,A.swipeDirection,Y)?(H.current=Z,al(NT,v,W,{discrete:!1}),$.target.setPointerCapture($.pointerId)):(Math.abs(he)>Y||Math.abs(_)>Y)&&(O.current=null)}),onPointerUp:$e(t.onPointerUp,$=>{const he=H.current,_=$.target;if(_.hasPointerCapture($.pointerId)&&_.releasePointerCapture($.pointerId),H.current=null,O.current=null,he){const I=$.currentTarget,z={originalEvent:$,delta:he};vv(he,A.swipeDirection,A.swipeThreshold)?al(MT,C,z,{discrete:!0}):al(kT,w,z,{discrete:!0}),I.addEventListener("click",ae=>ae.preventDefault(),{once:!0})}})})})}),A.viewport)})]}):null}),PT=t=>{const{__scopeToast:a,children:s,...r}=t,l=Fl(ko,a),[d,f]=S.useState(!1),[m,p]=S.useState(!1);return VT(()=>f(!0)),S.useEffect(()=>{const g=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(g)},[]),m?null:h.jsx(Gf,{asChild:!0,children:h.jsx(Yl,{...r,children:d&&h.jsxs(h.Fragment,{children:[l.label," ",s]})})})},BT="ToastTitle",kx=S.forwardRef((t,a)=>{const{__scopeToast:s,...r}=t;return h.jsx(rt.div,{...r,ref:a})});kx.displayName=BT;var zT="ToastDescription",Mx=S.forwardRef((t,a)=>{const{__scopeToast:s,...r}=t;return h.jsx(rt.div,{...r,ref:a})});Mx.displayName=zT;var Ox="ToastAction",_x=S.forwardRef((t,a)=>{const{altText:s,...r}=t;return s.trim()?h.jsx(Px,{altText:s,asChild:!0,children:h.jsx(Xf,{...r,ref:a})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ox}\`. Expected non-empty \`string\`.`),null)});_x.displayName=Ox;var Lx="ToastClose",Xf=S.forwardRef((t,a)=>{const{__scopeToast:s,...r}=t,l=_T(Lx,s);return h.jsx(Px,{asChild:!0,children:h.jsx(rt.button,{type:"button",...r,ref:a,onClick:$e(t.onClick,l.onClose)})})});Xf.displayName=Lx;var Px=S.forwardRef((t,a)=>{const{__scopeToast:s,altText:r,...l}=t;return h.jsx(rt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...l,ref:a})});function Bx(t){const a=[];return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&a.push(r.textContent),UT(r)){const l=r.ariaHidden||r.hidden||r.style.display==="none",d=r.dataset.radixToastAnnounceExclude==="";if(!l)if(d){const f=r.dataset.radixToastAnnounceAlt;f&&a.push(f)}else a.push(...Bx(r))}}),a}function al(t,a,s,{discrete:r}){const l=s.originalEvent.currentTarget,d=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:s});a&&l.addEventListener(t,a,{once:!0}),r?wx(l,d):l.dispatchEvent(d)}var vv=(t,a,s=0)=>{const r=Math.abs(t.x),l=Math.abs(t.y),d=r>l;return a==="left"||a==="right"?d&&r>s:!d&&l>s};function VT(t=()=>{}){const a=Da(t);An(()=>{let s=0,r=0;return s=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(a)),()=>{window.cancelAnimationFrame(s),window.cancelAnimationFrame(r)}},[a])}function UT(t){return t.nodeType===t.ELEMENT_NODE}function HT(t){const a=[],s=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const l=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||l?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)a.push(s.currentNode);return a}function kd(t){const a=document.activeElement;return t.some(s=>s===a?!0:(s.focus(),document.activeElement!==a))}var qT=jx,zx=Rx,Vx=Dx,Ux=kx,Hx=Mx,qx=_x,Ix=Xf;function Gx(t){var a,s,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(a=0;a<l;a++)t[a]&&(s=Gx(t[a]))&&(r&&(r+=" "),r+=s)}else for(s in t)t[s]&&(r&&(r+=" "),r+=s);return r}function Yx(){for(var t,a,s=0,r="",l=arguments.length;s<l;s++)(t=arguments[s])&&(a=Gx(t))&&(r&&(r+=" "),r+=a);return r}const xv=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,bv=Yx,Qf=(t,a)=>s=>{var r;if(a?.variants==null)return bv(t,s?.class,s?.className);const{variants:l,defaultVariants:d}=a,f=Object.keys(l).map(g=>{const v=s?.[g],x=d?.[g];if(v===null)return null;const w=xv(v)||xv(x);return l[g][w]}),m=s&&Object.entries(s).reduce((g,v)=>{let[x,w]=v;return w===void 0||(g[x]=w),g},{}),p=a==null||(r=a.compoundVariants)===null||r===void 0?void 0:r.reduce((g,v)=>{let{class:x,className:w,...C}=v;return Object.entries(C).every(j=>{let[A,E]=j;return Array.isArray(E)?E.includes({...d,...m}[A]):{...d,...m}[A]===E})?[...g,x,w]:g},[]);return bv(t,f,p,s?.class,s?.className)};const IT=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),GT=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,s,r)=>r?r.toUpperCase():s.toLowerCase()),wv=t=>{const a=GT(t);return a.charAt(0).toUpperCase()+a.slice(1)},Fx=(...t)=>t.filter((a,s,r)=>!!a&&a.trim()!==""&&r.indexOf(a)===s).join(" ").trim(),YT=t=>{for(const a in t)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};var FT={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 XT=S.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:l="",children:d,iconNode:f,...m},p)=>S.createElement("svg",{ref:p,...FT,width:a,height:a,stroke:t,strokeWidth:r?Number(s)*24/Number(a):s,className:Fx("lucide",l),...!d&&!YT(m)&&{"aria-hidden":"true"},...m},[...f.map(([g,v])=>S.createElement(g,v)),...Array.isArray(d)?d:[d]]));const ze=(t,a)=>{const s=S.forwardRef(({className:r,...l},d)=>S.createElement(XT,{ref:d,iconNode:a,className:Fx(`lucide-${IT(wv(t))}`,`lucide-${t}`,r),...l}));return s.displayName=wv(t),s};const QT=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Xx=ze("arrow-left",QT);const KT=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ts=ze("arrow-right",KT);const ZT=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Qx=ze("award",ZT);const WT=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Md=ze("book-open",WT);const $T=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],ns=ze("briefcase",$T);const JT=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],Kx=ze("building-2",JT);const ej=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],tj=ze("chevron-down",ej);const nj=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],aj=ze("chevron-right",nj);const ij=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],sj=ze("circle-alert",ij);const oj=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Zx=ze("facebook",oj);const rj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],lj=ze("globe",rj);const cj=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Wx=ze("heart",cj);const uj=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],$x=ze("house",uj);const dj=[["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"}]],Jx=ze("instagram",dj);const fj=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],eb=ze("layers",fj);const hj=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],mj=ze("mail",hj);const pj=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Ra=ze("map-pin",pj);const gj=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],yj=ze("map",gj);const vj=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],wl=ze("phone",vj);const xj=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],bj=ze("quote",xj);const wj=[["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"}]],Sl=ze("shield-check",wj);const Sj=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],tb=ze("sparkles",Sj);const Cj=[["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"}]],nb=ze("star",Cj);const Aj=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],ab=ze("trending-up",Aj);const Tj=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],jj=ze("x",Tj);const Ej=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],ib=ze("youtube",Ej),Rj=(t,a)=>{const s=new Array(t.length+a.length);for(let r=0;r<t.length;r++)s[r]=t[r];for(let r=0;r<a.length;r++)s[t.length+r]=a[r];return s},Nj=(t,a)=>({classGroupId:t,validator:a}),sb=(t=new Map,a=null,s)=>({nextPart:t,validators:a,classGroupId:s}),Cl="-",Sv=[],Dj="arbitrary..",kj=t=>{const a=Oj(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return Mj(f);const m=f.split(Cl),p=m[0]===""&&m.length>1?1:0;return ob(m,p,a)},getConflictingClassGroupIds:(f,m)=>{if(m){const p=r[f],g=s[f];return p?g?Rj(g,p):p:g||Sv}return s[f]||Sv}}},ob=(t,a,s)=>{if(t.length-a===0)return s.classGroupId;const l=t[a],d=s.nextPart.get(l);if(d){const g=ob(t,a+1,d);if(g)return g}const f=s.validators;if(f===null)return;const m=a===0?t.join(Cl):t.slice(a).join(Cl),p=f.length;for(let g=0;g<p;g++){const v=f[g];if(v.validator(m))return v.classGroupId}},Mj=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const a=t.slice(1,-1),s=a.indexOf(":"),r=a.slice(0,s);return r?Dj+r:void 0})(),Oj=t=>{const{theme:a,classGroups:s}=t;return _j(s,a)},_j=(t,a)=>{const s=sb();for(const r in t){const l=t[r];Kf(l,s,r,a)}return s},Kf=(t,a,s,r)=>{const l=t.length;for(let d=0;d<l;d++){const f=t[d];Lj(f,a,s,r)}},Lj=(t,a,s,r)=>{if(typeof t=="string"){Pj(t,a,s);return}if(typeof t=="function"){Bj(t,a,s,r);return}zj(t,a,s,r)},Pj=(t,a,s)=>{const r=t===""?a:rb(a,t);r.classGroupId=s},Bj=(t,a,s,r)=>{if(Vj(t)){Kf(t(r),a,s,r);return}a.validators===null&&(a.validators=[]),a.validators.push(Nj(s,t))},zj=(t,a,s,r)=>{const l=Object.entries(t),d=l.length;for(let f=0;f<d;f++){const[m,p]=l[f];Kf(p,rb(a,m),s,r)}},rb=(t,a)=>{let s=t;const r=a.split(Cl),l=r.length;for(let d=0;d<l;d++){const f=r[d];let m=s.nextPart.get(f);m||(m=sb(),s.nextPart.set(f,m)),s=m}return s},Vj=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Uj=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,s=Object.create(null),r=Object.create(null);const l=(d,f)=>{s[d]=f,a++,a>t&&(a=0,r=s,s=Object.create(null))};return{get(d){let f=s[d];if(f!==void 0)return f;if((f=r[d])!==void 0)return l(d,f),f},set(d,f){d in s?s[d]=f:l(d,f)}}},uf="!",Cv=":",Hj=[],Av=(t,a,s,r,l)=>({modifiers:t,hasImportantModifier:a,baseClassName:s,maybePostfixModifierPosition:r,isExternal:l}),qj=t=>{const{prefix:a,experimentalParseClassName:s}=t;let r=l=>{const d=[];let f=0,m=0,p=0,g;const v=l.length;for(let A=0;A<v;A++){const E=l[A];if(f===0&&m===0){if(E===Cv){d.push(l.slice(p,A)),p=A+1;continue}if(E==="/"){g=A;continue}}E==="["?f++:E==="]"?f--:E==="("?m++:E===")"&&m--}const x=d.length===0?l:l.slice(p);let w=x,C=!1;x.endsWith(uf)?(w=x.slice(0,-1),C=!0):x.startsWith(uf)&&(w=x.slice(1),C=!0);const j=g&&g>p?g-p:void 0;return Av(d,C,w,j)};if(a){const l=a+Cv,d=r;r=f=>f.startsWith(l)?d(f.slice(l.length)):Av(Hj,!1,f,void 0,!0)}if(s){const l=r;r=d=>s({className:d,parseClassName:l})}return r},Ij=t=>{const a=new Map;return t.orderSensitiveModifiers.forEach((s,r)=>{a.set(s,1e6+r)}),s=>{const r=[];let l=[];for(let d=0;d<s.length;d++){const f=s[d],m=f[0]==="[",p=a.has(f);m||p?(l.length>0&&(l.sort(),r.push(...l),l=[]),r.push(f)):l.push(f)}return l.length>0&&(l.sort(),r.push(...l)),r}},Gj=t=>({cache:Uj(t.cacheSize),parseClassName:qj(t),sortModifiers:Ij(t),...kj(t)}),Yj=/\s+/,Fj=(t,a)=>{const{parseClassName:s,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:d}=a,f=[],m=t.trim().split(Yj);let p="";for(let g=m.length-1;g>=0;g-=1){const v=m[g],{isExternal:x,modifiers:w,hasImportantModifier:C,baseClassName:j,maybePostfixModifierPosition:A}=s(v);if(x){p=v+(p.length>0?" "+p:p);continue}let E=!!A,D=r(E?j.substring(0,A):j);if(!D){if(!E){p=v+(p.length>0?" "+p:p);continue}if(D=r(j),!D){p=v+(p.length>0?" "+p:p);continue}E=!1}const M=w.length===0?"":w.length===1?w[0]:d(w).join(":"),O=C?M+uf:M,H=O+D;if(f.indexOf(H)>-1)continue;f.push(H);const U=l(D,E);for(let K=0;K<U.length;++K){const X=U[K];f.push(O+X)}p=v+(p.length>0?" "+p:p)}return p},Xj=(...t)=>{let a=0,s,r,l="";for(;a<t.length;)(s=t[a++])&&(r=lb(s))&&(l&&(l+=" "),l+=r);return l},lb=t=>{if(typeof t=="string")return t;let a,s="";for(let r=0;r<t.length;r++)t[r]&&(a=lb(t[r]))&&(s&&(s+=" "),s+=a);return s},Qj=(t,...a)=>{let s,r,l,d;const f=p=>{const g=a.reduce((v,x)=>x(v),t());return s=Gj(g),r=s.cache.get,l=s.cache.set,d=m,m(p)},m=p=>{const g=r(p);if(g)return g;const v=Fj(p,s);return l(p,v),v};return d=f,(...p)=>d(Xj(...p))},Kj=[],st=t=>{const a=s=>s[t]||Kj;return a.isThemeGetter=!0,a},cb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ub=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zj=/^\d+\/\d+$/,Wj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$j=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Jj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,eE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qi=t=>Zj.test(t),be=t=>!!t&&!Number.isNaN(Number(t)),ja=t=>!!t&&Number.isInteger(Number(t)),Od=t=>t.endsWith("%")&&be(t.slice(0,-1)),Qn=t=>Wj.test(t),nE=()=>!0,aE=t=>$j.test(t)&&!Jj.test(t),db=()=>!1,iE=t=>eE.test(t),sE=t=>tE.test(t),oE=t=>!te(t)&&!ne(t),rE=t=>rs(t,mb,db),te=t=>cb.test(t),ai=t=>rs(t,pb,aE),_d=t=>rs(t,fE,be),Tv=t=>rs(t,fb,db),lE=t=>rs(t,hb,sE),il=t=>rs(t,gb,iE),ne=t=>ub.test(t),lo=t=>ls(t,pb),cE=t=>ls(t,hE),jv=t=>ls(t,fb),uE=t=>ls(t,mb),dE=t=>ls(t,hb),sl=t=>ls(t,gb,!0),rs=(t,a,s)=>{const r=cb.exec(t);return r?r[1]?a(r[1]):s(r[2]):!1},ls=(t,a,s=!1)=>{const r=ub.exec(t);return r?r[1]?a(r[1]):s:!1},fb=t=>t==="position"||t==="percentage",hb=t=>t==="image"||t==="url",mb=t=>t==="length"||t==="size"||t==="bg-size",pb=t=>t==="length",fE=t=>t==="number",hE=t=>t==="family-name",gb=t=>t==="shadow",mE=()=>{const t=st("color"),a=st("font"),s=st("text"),r=st("font-weight"),l=st("tracking"),d=st("leading"),f=st("breakpoint"),m=st("container"),p=st("spacing"),g=st("radius"),v=st("shadow"),x=st("inset-shadow"),w=st("text-shadow"),C=st("drop-shadow"),j=st("blur"),A=st("perspective"),E=st("aspect"),D=st("ease"),M=st("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...H(),ne,te],K=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto","contain","none"],q=()=>[ne,te,p],se=()=>[Qi,"full","auto",...q()],ue=()=>[ja,"none","subgrid",ne,te],me=()=>["auto",{span:["full",ja,ne,te]},ja,ne,te],ge=()=>[ja,"auto",ne,te],Te=()=>["auto","min","max","fr",ne,te],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],he=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...q()],I=()=>[Qi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],z=()=>[t,ne,te],ae=()=>[...H(),jv,Tv,{position:[ne,te]}],de=()=>["no-repeat",{repeat:["","x","y","space","round"]}],R=()=>["auto","cover","contain",uE,rE,{size:[ne,te]}],Y=()=>[Od,lo,ai],Z=()=>["","none","full",g,ne,te],W=()=>["",be,lo,ai],fe=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>[be,Od,jv,Tv],Qe=()=>["","none",j,ne,te],Me=()=>["none",be,ne,te],It=()=>["none",be,ne,te],mn=()=>[be,ne,te],pn=()=>[Qi,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Qn],breakpoint:[Qn],color:[nE],container:[Qn],"drop-shadow":[Qn],ease:["in","out","in-out"],font:[oE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Qn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Qn],shadow:[Qn],spacing:["px",be],text:[Qn],"text-shadow":[Qn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Qi,te,ne,E]}],container:["container"],columns:[{columns:[be,te,ne,m]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:U()}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:se()}],"inset-x":[{"inset-x":se()}],"inset-y":[{"inset-y":se()}],start:[{start:se()}],end:[{end:se()}],top:[{top:se()}],right:[{right:se()}],bottom:[{bottom:se()}],left:[{left:se()}],visibility:["visible","invisible","collapse"],z:[{z:[ja,"auto",ne,te]}],basis:[{basis:[Qi,"full","auto",m,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,Qi,"auto","initial","none",te]}],grow:[{grow:["",be,ne,te]}],shrink:[{shrink:["",be,ne,te]}],order:[{order:[ja,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":ue()}],"col-start-end":[{col:me()}],"col-start":[{"col-start":ge()}],"col-end":[{"col-end":ge()}],"grid-rows":[{"grid-rows":ue()}],"row-start-end":[{row:me()}],"row-start":[{"row-start":ge()}],"row-end":[{"row-end":ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Te()}],"auto-rows":[{"auto-rows":Te()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...he(),"normal"]}],"justify-self":[{"justify-self":["auto",...he()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...he(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...he(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...he(),"baseline"]}],"place-self":[{"place-self":["auto",...he()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[m,"screen",...I()]}],"min-w":[{"min-w":[m,"screen","none",...I()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[f]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",s,lo,ai]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ne,_d]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Od,te]}],"font-family":[{font:[cE,te,a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,ne,te]}],"line-clamp":[{"line-clamp":[be,"none",ne,_d]}],leading:[{leading:[d,...q()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:z()}],"text-color":[{text:z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",ne,ai]}],"text-decoration-color":[{decoration:z()}],"underline-offset":[{"underline-offset":[be,"auto",ne,te]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ja,ne,te],radial:["",ne,te],conic:[ja,ne,te]},dE,lE]}],"bg-color":[{bg:z()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:z()}],"gradient-via":[{via:z()}],"gradient-to":[{to:z()}],rounded:[{rounded:Z()}],"rounded-s":[{"rounded-s":Z()}],"rounded-e":[{"rounded-e":Z()}],"rounded-t":[{"rounded-t":Z()}],"rounded-r":[{"rounded-r":Z()}],"rounded-b":[{"rounded-b":Z()}],"rounded-l":[{"rounded-l":Z()}],"rounded-ss":[{"rounded-ss":Z()}],"rounded-se":[{"rounded-se":Z()}],"rounded-ee":[{"rounded-ee":Z()}],"rounded-es":[{"rounded-es":Z()}],"rounded-tl":[{"rounded-tl":Z()}],"rounded-tr":[{"rounded-tr":Z()}],"rounded-br":[{"rounded-br":Z()}],"rounded-bl":[{"rounded-bl":Z()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...fe(),"hidden","none"]}],"divide-style":[{divide:[...fe(),"hidden","none"]}],"border-color":[{border:z()}],"border-color-x":[{"border-x":z()}],"border-color-y":[{"border-y":z()}],"border-color-s":[{"border-s":z()}],"border-color-e":[{"border-e":z()}],"border-color-t":[{"border-t":z()}],"border-color-r":[{"border-r":z()}],"border-color-b":[{"border-b":z()}],"border-color-l":[{"border-l":z()}],"divide-color":[{divide:z()}],"outline-style":[{outline:[...fe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,ne,te]}],"outline-w":[{outline:["",be,lo,ai]}],"outline-color":[{outline:z()}],shadow:[{shadow:["","none",v,sl,il]}],"shadow-color":[{shadow:z()}],"inset-shadow":[{"inset-shadow":["none",x,sl,il]}],"inset-shadow-color":[{"inset-shadow":z()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:z()}],"ring-offset-w":[{"ring-offset":[be,ai]}],"ring-offset-color":[{"ring-offset":z()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":z()}],"text-shadow":[{"text-shadow":["none",w,sl,il]}],"text-shadow-color":[{"text-shadow":z()}],opacity:[{opacity:[be,ne,te]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":z()}],"mask-image-linear-to-color":[{"mask-linear-to":z()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":z()}],"mask-image-t-to-color":[{"mask-t-to":z()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":z()}],"mask-image-r-to-color":[{"mask-r-to":z()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":z()}],"mask-image-b-to-color":[{"mask-b-to":z()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":z()}],"mask-image-l-to-color":[{"mask-l-to":z()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":z()}],"mask-image-x-to-color":[{"mask-x-to":z()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":z()}],"mask-image-y-to-color":[{"mask-y-to":z()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":z()}],"mask-image-radial-to-color":[{"mask-radial-to":z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":H()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":z()}],"mask-image-conic-to-color":[{"mask-conic-to":z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:Qe()}],brightness:[{brightness:[be,ne,te]}],contrast:[{contrast:[be,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",C,sl,il]}],"drop-shadow-color":[{"drop-shadow":z()}],grayscale:[{grayscale:["",be,ne,te]}],"hue-rotate":[{"hue-rotate":[be,ne,te]}],invert:[{invert:["",be,ne,te]}],saturate:[{saturate:[be,ne,te]}],sepia:[{sepia:["",be,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":Qe()}],"backdrop-brightness":[{"backdrop-brightness":[be,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[be,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",be,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[be,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[be,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",be,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":q()}],"border-spacing-x":[{"border-spacing-x":q()}],"border-spacing-y":[{"border-spacing-y":q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",ne,te]}],ease:[{ease:["linear","initial",D,ne,te]}],delay:[{delay:[be,ne,te]}],animate:[{animate:["none",M,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,ne,te]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:Me()}],"rotate-x":[{"rotate-x":Me()}],"rotate-y":[{"rotate-y":Me()}],"rotate-z":[{"rotate-z":Me()}],scale:[{scale:It()}],"scale-x":[{"scale-x":It()}],"scale-y":[{"scale-y":It()}],"scale-z":[{"scale-z":It()}],"scale-3d":["scale-3d"],skew:[{skew:mn()}],"skew-x":[{"skew-x":mn()}],"skew-y":[{"skew-y":mn()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pn()}],"translate-x":[{"translate-x":pn()}],"translate-y":[{"translate-y":pn()}],"translate-z":[{"translate-z":pn()}],"translate-none":["translate-none"],accent:[{accent:z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ne,te]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne,te]}],fill:[{fill:["none",...z()]}],"stroke-w":[{stroke:[be,lo,ai,_d]}],stroke:[{stroke:["none",...z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},pE=Qj(mE);function lt(...t){return pE(Yx(t))}const gE=qT,yb=S.forwardRef(({className:t,...a},s)=>h.jsx(zx,{ref:s,className:lt("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...a}));yb.displayName=zx.displayName;const yE=Qf("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),vb=S.forwardRef(({className:t,variant:a,...s},r)=>h.jsx(Vx,{ref:r,className:lt(yE({variant:a}),t),...s}));vb.displayName=Vx.displayName;const vE=S.forwardRef(({className:t,...a},s)=>h.jsx(qx,{ref:s,className:lt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...a}));vE.displayName=qx.displayName;const xb=S.forwardRef(({className:t,...a},s)=>h.jsx(Ix,{ref:s,className:lt("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...a,children:h.jsx(jj,{className:"h-4 w-4"})}));xb.displayName=Ix.displayName;const bb=S.forwardRef(({className:t,...a},s)=>h.jsx(Ux,{ref:s,className:lt("text-sm font-semibold",t),...a}));bb.displayName=Ux.displayName;const wb=S.forwardRef(({className:t,...a},s)=>h.jsx(Hx,{ref:s,className:lt("text-sm opacity-90",t),...a}));wb.displayName=Hx.displayName;function xE(){const{toasts:t}=YA();return h.jsxs(gE,{children:[t.map(function({id:a,title:s,description:r,action:l,...d}){return h.jsxs(vb,{...d,children:[h.jsxs("div",{className:"grid gap-1",children:[s&&h.jsx(bb,{children:s}),r&&h.jsx(wb,{children:r})]}),l,h.jsx(xb,{})]},a)}),h.jsx(yb,{})]})}var bE=zl[" useId ".trim().toString()]||(()=>{}),wE=0;function Sb(t){const[a,s]=S.useState(bE());return An(()=>{s(r=>r??String(wE++))},[t]),a?`radix-${a}`:""}const SE=["top","right","bottom","left"],ka=Math.min,Ut=Math.max,Al=Math.round,ol=Math.floor,Sn=t=>({x:t,y:t}),CE={left:"right",right:"left",bottom:"top",top:"bottom"},AE={start:"end",end:"start"};function df(t,a,s){return Ut(t,ka(a,s))}function Wn(t,a){return typeof t=="function"?t(a):t}function $n(t){return t.split("-")[0]}function cs(t){return t.split("-")[1]}function Zf(t){return t==="x"?"y":"x"}function Wf(t){return t==="y"?"height":"width"}const TE=new Set(["top","bottom"]);function bn(t){return TE.has($n(t))?"y":"x"}function $f(t){return Zf(bn(t))}function jE(t,a,s){s===void 0&&(s=!1);const r=cs(t),l=$f(t),d=Wf(l);let f=l==="x"?r===(s?"end":"start")?"right":"left":r==="start"?"bottom":"top";return a.reference[d]>a.floating[d]&&(f=Tl(f)),[f,Tl(f)]}function EE(t){const a=Tl(t);return[ff(t),a,ff(a)]}function ff(t){return t.replace(/start|end/g,a=>AE[a])}const Ev=["left","right"],Rv=["right","left"],RE=["top","bottom"],NE=["bottom","top"];function DE(t,a,s){switch(t){case"top":case"bottom":return s?a?Rv:Ev:a?Ev:Rv;case"left":case"right":return a?RE:NE;default:return[]}}function kE(t,a,s,r){const l=cs(t);let d=DE($n(t),s==="start",r);return l&&(d=d.map(f=>f+"-"+l),a&&(d=d.concat(d.map(ff)))),d}function Tl(t){return t.replace(/left|right|bottom|top/g,a=>CE[a])}function ME(t){return{top:0,right:0,bottom:0,left:0,...t}}function Cb(t){return typeof t!="number"?ME(t):{top:t,right:t,bottom:t,left:t}}function jl(t){const{x:a,y:s,width:r,height:l}=t;return{width:r,height:l,top:s,left:a,right:a+r,bottom:s+l,x:a,y:s}}function Nv(t,a,s){let{reference:r,floating:l}=t;const d=bn(a),f=$f(a),m=Wf(f),p=$n(a),g=d==="y",v=r.x+r.width/2-l.width/2,x=r.y+r.height/2-l.height/2,w=r[m]/2-l[m]/2;let C;switch(p){case"top":C={x:v,y:r.y-l.height};break;case"bottom":C={x:v,y:r.y+r.height};break;case"right":C={x:r.x+r.width,y:x};break;case"left":C={x:r.x-l.width,y:x};break;default:C={x:r.x,y:r.y}}switch(cs(a)){case"start":C[f]-=w*(s&&g?-1:1);break;case"end":C[f]+=w*(s&&g?-1:1);break}return C}const OE=async(t,a,s)=>{const{placement:r="bottom",strategy:l="absolute",middleware:d=[],platform:f}=s,m=d.filter(Boolean),p=await(f.isRTL==null?void 0:f.isRTL(a));let g=await f.getElementRects({reference:t,floating:a,strategy:l}),{x:v,y:x}=Nv(g,r,p),w=r,C={},j=0;for(let A=0;A<m.length;A++){const{name:E,fn:D}=m[A],{x:M,y:O,data:H,reset:U}=await D({x:v,y:x,initialPlacement:r,placement:w,strategy:l,middlewareData:C,rects:g,platform:f,elements:{reference:t,floating:a}});v=M??v,x=O??x,C={...C,[E]:{...C[E],...H}},U&&j<=50&&(j++,typeof U=="object"&&(U.placement&&(w=U.placement),U.rects&&(g=U.rects===!0?await f.getElementRects({reference:t,floating:a,strategy:l}):U.rects),{x:v,y:x}=Nv(g,w,p)),A=-1)}return{x:v,y:x,placement:w,strategy:l,middlewareData:C}};async function Co(t,a){var s;a===void 0&&(a={});const{x:r,y:l,platform:d,rects:f,elements:m,strategy:p}=t,{boundary:g="clippingAncestors",rootBoundary:v="viewport",elementContext:x="floating",altBoundary:w=!1,padding:C=0}=Wn(a,t),j=Cb(C),E=m[w?x==="floating"?"reference":"floating":x],D=jl(await d.getClippingRect({element:(s=await(d.isElement==null?void 0:d.isElement(E)))==null||s?E:E.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(m.floating)),boundary:g,rootBoundary:v,strategy:p})),M=x==="floating"?{x:r,y:l,width:f.floating.width,height:f.floating.height}:f.reference,O=await(d.getOffsetParent==null?void 0:d.getOffsetParent(m.floating)),H=await(d.isElement==null?void 0:d.isElement(O))?await(d.getScale==null?void 0:d.getScale(O))||{x:1,y:1}:{x:1,y:1},U=jl(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:M,offsetParent:O,strategy:p}):M);return{top:(D.top-U.top+j.top)/H.y,bottom:(U.bottom-D.bottom+j.bottom)/H.y,left:(D.left-U.left+j.left)/H.x,right:(U.right-D.right+j.right)/H.x}}const _E=t=>({name:"arrow",options:t,async fn(a){const{x:s,y:r,placement:l,rects:d,platform:f,elements:m,middlewareData:p}=a,{element:g,padding:v=0}=Wn(t,a)||{};if(g==null)return{};const x=Cb(v),w={x:s,y:r},C=$f(l),j=Wf(C),A=await f.getDimensions(g),E=C==="y",D=E?"top":"left",M=E?"bottom":"right",O=E?"clientHeight":"clientWidth",H=d.reference[j]+d.reference[C]-w[C]-d.floating[j],U=w[C]-d.reference[C],K=await(f.getOffsetParent==null?void 0:f.getOffsetParent(g));let X=K?K[O]:0;(!X||!await(f.isElement==null?void 0:f.isElement(K)))&&(X=m.floating[O]||d.floating[j]);const q=H/2-U/2,se=X/2-A[j]/2-1,ue=ka(x[D],se),me=ka(x[M],se),ge=ue,Te=X-A[j]-me,$=X/2-A[j]/2+q,he=df(ge,$,Te),_=!p.arrow&&cs(l)!=null&&$!==he&&d.reference[j]/2-($<ge?ue:me)-A[j]/2<0,I=_?$<ge?$-ge:$-Te:0;return{[C]:w[C]+I,data:{[C]:he,centerOffset:$-he-I,..._&&{alignmentOffset:I}},reset:_}}}),LE=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(a){var s,r;const{placement:l,middlewareData:d,rects:f,initialPlacement:m,platform:p,elements:g}=a,{mainAxis:v=!0,crossAxis:x=!0,fallbackPlacements:w,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:A=!0,...E}=Wn(t,a);if((s=d.arrow)!=null&&s.alignmentOffset)return{};const D=$n(l),M=bn(m),O=$n(m)===m,H=await(p.isRTL==null?void 0:p.isRTL(g.floating)),U=w||(O||!A?[Tl(m)]:EE(m)),K=j!=="none";!w&&K&&U.push(...kE(m,A,j,H));const X=[m,...U],q=await Co(a,E),se=[];let ue=((r=d.flip)==null?void 0:r.overflows)||[];if(v&&se.push(q[D]),x){const $=jE(l,f,H);se.push(q[$[0]],q[$[1]])}if(ue=[...ue,{placement:l,overflows:se}],!se.every($=>$<=0)){var me,ge;const $=(((me=d.flip)==null?void 0:me.index)||0)+1,he=X[$];if(he&&(!(x==="alignment"?M!==bn(he):!1)||ue.every(z=>bn(z.placement)===M?z.overflows[0]>0:!0)))return{data:{index:$,overflows:ue},reset:{placement:he}};let _=(ge=ue.filter(I=>I.overflows[0]<=0).sort((I,z)=>I.overflows[1]-z.overflows[1])[0])==null?void 0:ge.placement;if(!_)switch(C){case"bestFit":{var Te;const I=(Te=ue.filter(z=>{if(K){const ae=bn(z.placement);return ae===M||ae==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(ae=>ae>0).reduce((ae,de)=>ae+de,0)]).sort((z,ae)=>z[1]-ae[1])[0])==null?void 0:Te[0];I&&(_=I);break}case"initialPlacement":_=m;break}if(l!==_)return{reset:{placement:_}}}return{}}}};function Dv(t,a){return{top:t.top-a.height,right:t.right-a.width,bottom:t.bottom-a.height,left:t.left-a.width}}function kv(t){return SE.some(a=>t[a]>=0)}const PE=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(a){const{rects:s}=a,{strategy:r="referenceHidden",...l}=Wn(t,a);switch(r){case"referenceHidden":{const d=await Co(a,{...l,elementContext:"reference"}),f=Dv(d,s.reference);return{data:{referenceHiddenOffsets:f,referenceHidden:kv(f)}}}case"escaped":{const d=await Co(a,{...l,altBoundary:!0}),f=Dv(d,s.floating);return{data:{escapedOffsets:f,escaped:kv(f)}}}default:return{}}}}},Ab=new Set(["left","top"]);async function BE(t,a){const{placement:s,platform:r,elements:l}=t,d=await(r.isRTL==null?void 0:r.isRTL(l.floating)),f=$n(s),m=cs(s),p=bn(s)==="y",g=Ab.has(f)?-1:1,v=d&&p?-1:1,x=Wn(a,t);let{mainAxis:w,crossAxis:C,alignmentAxis:j}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return m&&typeof j=="number"&&(C=m==="end"?j*-1:j),p?{x:C*v,y:w*g}:{x:w*g,y:C*v}}const zE=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(a){var s,r;const{x:l,y:d,placement:f,middlewareData:m}=a,p=await BE(a,t);return f===((s=m.offset)==null?void 0:s.placement)&&(r=m.arrow)!=null&&r.alignmentOffset?{}:{x:l+p.x,y:d+p.y,data:{...p,placement:f}}}}},VE=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(a){const{x:s,y:r,placement:l}=a,{mainAxis:d=!0,crossAxis:f=!1,limiter:m={fn:E=>{let{x:D,y:M}=E;return{x:D,y:M}}},...p}=Wn(t,a),g={x:s,y:r},v=await Co(a,p),x=bn($n(l)),w=Zf(x);let C=g[w],j=g[x];if(d){const E=w==="y"?"top":"left",D=w==="y"?"bottom":"right",M=C+v[E],O=C-v[D];C=df(M,C,O)}if(f){const E=x==="y"?"top":"left",D=x==="y"?"bottom":"right",M=j+v[E],O=j-v[D];j=df(M,j,O)}const A=m.fn({...a,[w]:C,[x]:j});return{...A,data:{x:A.x-s,y:A.y-r,enabled:{[w]:d,[x]:f}}}}}},UE=function(t){return t===void 0&&(t={}),{options:t,fn(a){const{x:s,y:r,placement:l,rects:d,middlewareData:f}=a,{offset:m=0,mainAxis:p=!0,crossAxis:g=!0}=Wn(t,a),v={x:s,y:r},x=bn(l),w=Zf(x);let C=v[w],j=v[x];const A=Wn(m,a),E=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(p){const O=w==="y"?"height":"width",H=d.reference[w]-d.floating[O]+E.mainAxis,U=d.reference[w]+d.reference[O]-E.mainAxis;C<H?C=H:C>U&&(C=U)}if(g){var D,M;const O=w==="y"?"width":"height",H=Ab.has($n(l)),U=d.reference[x]-d.floating[O]+(H&&((D=f.offset)==null?void 0:D[x])||0)+(H?0:E.crossAxis),K=d.reference[x]+d.reference[O]+(H?0:((M=f.offset)==null?void 0:M[x])||0)-(H?E.crossAxis:0);j<U?j=U:j>K&&(j=K)}return{[w]:C,[x]:j}}}},HE=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(a){var s,r;const{placement:l,rects:d,platform:f,elements:m}=a,{apply:p=()=>{},...g}=Wn(t,a),v=await Co(a,g),x=$n(l),w=cs(l),C=bn(l)==="y",{width:j,height:A}=d.floating;let E,D;x==="top"||x==="bottom"?(E=x,D=w===(await(f.isRTL==null?void 0:f.isRTL(m.floating))?"start":"end")?"left":"right"):(D=x,E=w==="end"?"top":"bottom");const M=A-v.top-v.bottom,O=j-v.left-v.right,H=ka(A-v[E],M),U=ka(j-v[D],O),K=!a.middlewareData.shift;let X=H,q=U;if((s=a.middlewareData.shift)!=null&&s.enabled.x&&(q=O),(r=a.middlewareData.shift)!=null&&r.enabled.y&&(X=M),K&&!w){const ue=Ut(v.left,0),me=Ut(v.right,0),ge=Ut(v.top,0),Te=Ut(v.bottom,0);C?q=j-2*(ue!==0||me!==0?ue+me:Ut(v.left,v.right)):X=A-2*(ge!==0||Te!==0?ge+Te:Ut(v.top,v.bottom))}await p({...a,availableWidth:q,availableHeight:X});const se=await f.getDimensions(m.floating);return j!==se.width||A!==se.height?{reset:{rects:!0}}:{}}}};function Xl(){return typeof window<"u"}function us(t){return Tb(t)?(t.nodeName||"").toLowerCase():"#document"}function Ht(t){var a;return(t==null||(a=t.ownerDocument)==null?void 0:a.defaultView)||window}function En(t){var a;return(a=(Tb(t)?t.ownerDocument:t.document)||window.document)==null?void 0:a.documentElement}function Tb(t){return Xl()?t instanceof Node||t instanceof Ht(t).Node:!1}function dn(t){return Xl()?t instanceof Element||t instanceof Ht(t).Element:!1}function Tn(t){return Xl()?t instanceof HTMLElement||t instanceof Ht(t).HTMLElement:!1}function Mv(t){return!Xl()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ht(t).ShadowRoot}const qE=new Set(["inline","contents"]);function Mo(t){const{overflow:a,overflowX:s,overflowY:r,display:l}=fn(t);return/auto|scroll|overlay|hidden|clip/.test(a+r+s)&&!qE.has(l)}const IE=new Set(["table","td","th"]);function GE(t){return IE.has(us(t))}const YE=[":popover-open",":modal"];function Ql(t){return YE.some(a=>{try{return t.matches(a)}catch{return!1}})}const FE=["transform","translate","scale","rotate","perspective"],XE=["transform","translate","scale","rotate","perspective","filter"],QE=["paint","layout","strict","content"];function Jf(t){const a=eh(),s=dn(t)?fn(t):t;return FE.some(r=>s[r]?s[r]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!a&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!a&&(s.filter?s.filter!=="none":!1)||XE.some(r=>(s.willChange||"").includes(r))||QE.some(r=>(s.contain||"").includes(r))}function KE(t){let a=Ma(t);for(;Tn(a)&&!as(a);){if(Jf(a))return a;if(Ql(a))return null;a=Ma(a)}return null}function eh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ZE=new Set(["html","body","#document"]);function as(t){return ZE.has(us(t))}function fn(t){return Ht(t).getComputedStyle(t)}function Kl(t){return dn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ma(t){if(us(t)==="html")return t;const a=t.assignedSlot||t.parentNode||Mv(t)&&t.host||En(t);return Mv(a)?a.host:a}function jb(t){const a=Ma(t);return as(a)?t.ownerDocument?t.ownerDocument.body:t.body:Tn(a)&&Mo(a)?a:jb(a)}function Ao(t,a,s){var r;a===void 0&&(a=[]),s===void 0&&(s=!0);const l=jb(t),d=l===((r=t.ownerDocument)==null?void 0:r.body),f=Ht(l);if(d){const m=hf(f);return a.concat(f,f.visualViewport||[],Mo(l)?l:[],m&&s?Ao(m):[])}return a.concat(l,Ao(l,[],s))}function hf(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Eb(t){const a=fn(t);let s=parseFloat(a.width)||0,r=parseFloat(a.height)||0;const l=Tn(t),d=l?t.offsetWidth:s,f=l?t.offsetHeight:r,m=Al(s)!==d||Al(r)!==f;return m&&(s=d,r=f),{width:s,height:r,$:m}}function th(t){return dn(t)?t:t.contextElement}function Ji(t){const a=th(t);if(!Tn(a))return Sn(1);const s=a.getBoundingClientRect(),{width:r,height:l,$:d}=Eb(a);let f=(d?Al(s.width):s.width)/r,m=(d?Al(s.height):s.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!m||!Number.isFinite(m))&&(m=1),{x:f,y:m}}const WE=Sn(0);function Rb(t){const a=Ht(t);return!eh()||!a.visualViewport?WE:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function $E(t,a,s){return a===void 0&&(a=!1),!s||a&&s!==Ht(t)?!1:a}function ci(t,a,s,r){a===void 0&&(a=!1),s===void 0&&(s=!1);const l=t.getBoundingClientRect(),d=th(t);let f=Sn(1);a&&(r?dn(r)&&(f=Ji(r)):f=Ji(t));const m=$E(d,s,r)?Rb(d):Sn(0);let p=(l.left+m.x)/f.x,g=(l.top+m.y)/f.y,v=l.width/f.x,x=l.height/f.y;if(d){const w=Ht(d),C=r&&dn(r)?Ht(r):r;let j=w,A=hf(j);for(;A&&r&&C!==j;){const E=Ji(A),D=A.getBoundingClientRect(),M=fn(A),O=D.left+(A.clientLeft+parseFloat(M.paddingLeft))*E.x,H=D.top+(A.clientTop+parseFloat(M.paddingTop))*E.y;p*=E.x,g*=E.y,v*=E.x,x*=E.y,p+=O,g+=H,j=Ht(A),A=hf(j)}}return jl({width:v,height:x,x:p,y:g})}function Zl(t,a){const s=Kl(t).scrollLeft;return a?a.left+s:ci(En(t)).left+s}function Nb(t,a){const s=t.getBoundingClientRect(),r=s.left+a.scrollLeft-Zl(t,s),l=s.top+a.scrollTop;return{x:r,y:l}}function JE(t){let{elements:a,rect:s,offsetParent:r,strategy:l}=t;const d=l==="fixed",f=En(r),m=a?Ql(a.floating):!1;if(r===f||m&&d)return s;let p={scrollLeft:0,scrollTop:0},g=Sn(1);const v=Sn(0),x=Tn(r);if((x||!x&&!d)&&((us(r)!=="body"||Mo(f))&&(p=Kl(r)),Tn(r))){const C=ci(r);g=Ji(r),v.x=C.x+r.clientLeft,v.y=C.y+r.clientTop}const w=f&&!x&&!d?Nb(f,p):Sn(0);return{width:s.width*g.x,height:s.height*g.y,x:s.x*g.x-p.scrollLeft*g.x+v.x+w.x,y:s.y*g.y-p.scrollTop*g.y+v.y+w.y}}function eR(t){return Array.from(t.getClientRects())}function tR(t){const a=En(t),s=Kl(t),r=t.ownerDocument.body,l=Ut(a.scrollWidth,a.clientWidth,r.scrollWidth,r.clientWidth),d=Ut(a.scrollHeight,a.clientHeight,r.scrollHeight,r.clientHeight);let f=-s.scrollLeft+Zl(t);const m=-s.scrollTop;return fn(r).direction==="rtl"&&(f+=Ut(a.clientWidth,r.clientWidth)-l),{width:l,height:d,x:f,y:m}}const Ov=25;function nR(t,a){const s=Ht(t),r=En(t),l=s.visualViewport;let d=r.clientWidth,f=r.clientHeight,m=0,p=0;if(l){d=l.width,f=l.height;const v=eh();(!v||v&&a==="fixed")&&(m=l.offsetLeft,p=l.offsetTop)}const g=Zl(r);if(g<=0){const v=r.ownerDocument,x=v.body,w=getComputedStyle(x),C=v.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,j=Math.abs(r.clientWidth-x.clientWidth-C);j<=Ov&&(d-=j)}else g<=Ov&&(d+=g);return{width:d,height:f,x:m,y:p}}const aR=new Set(["absolute","fixed"]);function iR(t,a){const s=ci(t,!0,a==="fixed"),r=s.top+t.clientTop,l=s.left+t.clientLeft,d=Tn(t)?Ji(t):Sn(1),f=t.clientWidth*d.x,m=t.clientHeight*d.y,p=l*d.x,g=r*d.y;return{width:f,height:m,x:p,y:g}}function _v(t,a,s){let r;if(a==="viewport")r=nR(t,s);else if(a==="document")r=tR(En(t));else if(dn(a))r=iR(a,s);else{const l=Rb(t);r={x:a.x-l.x,y:a.y-l.y,width:a.width,height:a.height}}return jl(r)}function Db(t,a){const s=Ma(t);return s===a||!dn(s)||as(s)?!1:fn(s).position==="fixed"||Db(s,a)}function sR(t,a){const s=a.get(t);if(s)return s;let r=Ao(t,[],!1).filter(m=>dn(m)&&us(m)!=="body"),l=null;const d=fn(t).position==="fixed";let f=d?Ma(t):t;for(;dn(f)&&!as(f);){const m=fn(f),p=Jf(f);!p&&m.position==="fixed"&&(l=null),(d?!p&&!l:!p&&m.position==="static"&&!!l&&aR.has(l.position)||Mo(f)&&!p&&Db(t,f))?r=r.filter(v=>v!==f):l=m,f=Ma(f)}return a.set(t,r),r}function oR(t){let{element:a,boundary:s,rootBoundary:r,strategy:l}=t;const f=[...s==="clippingAncestors"?Ql(a)?[]:sR(a,this._c):[].concat(s),r],m=f[0],p=f.reduce((g,v)=>{const x=_v(a,v,l);return g.top=Ut(x.top,g.top),g.right=ka(x.right,g.right),g.bottom=ka(x.bottom,g.bottom),g.left=Ut(x.left,g.left),g},_v(a,m,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function rR(t){const{width:a,height:s}=Eb(t);return{width:a,height:s}}function lR(t,a,s){const r=Tn(a),l=En(a),d=s==="fixed",f=ci(t,!0,d,a);let m={scrollLeft:0,scrollTop:0};const p=Sn(0);function g(){p.x=Zl(l)}if(r||!r&&!d)if((us(a)!=="body"||Mo(l))&&(m=Kl(a)),r){const C=ci(a,!0,d,a);p.x=C.x+a.clientLeft,p.y=C.y+a.clientTop}else l&&g();d&&!r&&l&&g();const v=l&&!r&&!d?Nb(l,m):Sn(0),x=f.left+m.scrollLeft-p.x-v.x,w=f.top+m.scrollTop-p.y-v.y;return{x,y:w,width:f.width,height:f.height}}function Ld(t){return fn(t).position==="static"}function Lv(t,a){if(!Tn(t)||fn(t).position==="fixed")return null;if(a)return a(t);let s=t.offsetParent;return En(t)===s&&(s=s.ownerDocument.body),s}function kb(t,a){const s=Ht(t);if(Ql(t))return s;if(!Tn(t)){let l=Ma(t);for(;l&&!as(l);){if(dn(l)&&!Ld(l))return l;l=Ma(l)}return s}let r=Lv(t,a);for(;r&&GE(r)&&Ld(r);)r=Lv(r,a);return r&&as(r)&&Ld(r)&&!Jf(r)?s:r||KE(t)||s}const cR=async function(t){const a=this.getOffsetParent||kb,s=this.getDimensions,r=await s(t.floating);return{reference:lR(t.reference,await a(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function uR(t){return fn(t).direction==="rtl"}const dR={convertOffsetParentRelativeRectToViewportRelativeRect:JE,getDocumentElement:En,getClippingRect:oR,getOffsetParent:kb,getElementRects:cR,getClientRects:eR,getDimensions:rR,getScale:Ji,isElement:dn,isRTL:uR};function Mb(t,a){return t.x===a.x&&t.y===a.y&&t.width===a.width&&t.height===a.height}function fR(t,a){let s=null,r;const l=En(t);function d(){var m;clearTimeout(r),(m=s)==null||m.disconnect(),s=null}function f(m,p){m===void 0&&(m=!1),p===void 0&&(p=1),d();const g=t.getBoundingClientRect(),{left:v,top:x,width:w,height:C}=g;if(m||a(),!w||!C)return;const j=ol(x),A=ol(l.clientWidth-(v+w)),E=ol(l.clientHeight-(x+C)),D=ol(v),O={rootMargin:-j+"px "+-A+"px "+-E+"px "+-D+"px",threshold:Ut(0,ka(1,p))||1};let H=!0;function U(K){const X=K[0].intersectionRatio;if(X!==p){if(!H)return f();X?f(!1,X):r=setTimeout(()=>{f(!1,1e-7)},1e3)}X===1&&!Mb(g,t.getBoundingClientRect())&&f(),H=!1}try{s=new IntersectionObserver(U,{...O,root:l.ownerDocument})}catch{s=new IntersectionObserver(U,O)}s.observe(t)}return f(!0),d}function hR(t,a,s,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:d=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,g=th(t),v=l||d?[...g?Ao(g):[],...Ao(a)]:[];v.forEach(D=>{l&&D.addEventListener("scroll",s,{passive:!0}),d&&D.addEventListener("resize",s)});const x=g&&m?fR(g,s):null;let w=-1,C=null;f&&(C=new ResizeObserver(D=>{let[M]=D;M&&M.target===g&&C&&(C.unobserve(a),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var O;(O=C)==null||O.observe(a)})),s()}),g&&!p&&C.observe(g),C.observe(a));let j,A=p?ci(t):null;p&&E();function E(){const D=ci(t);A&&!Mb(A,D)&&s(),A=D,j=requestAnimationFrame(E)}return s(),()=>{var D;v.forEach(M=>{l&&M.removeEventListener("scroll",s),d&&M.removeEventListener("resize",s)}),x?.(),(D=C)==null||D.disconnect(),C=null,p&&cancelAnimationFrame(j)}}const mR=zE,pR=VE,gR=LE,yR=HE,vR=PE,Pv=_E,xR=UE,bR=(t,a,s)=>{const r=new Map,l={platform:dR,...s},d={...l.platform,_c:r};return OE(t,a,{...l,platform:d})};var wR=typeof document<"u",SR=function(){},pl=wR?S.useLayoutEffect:SR;function El(t,a){if(t===a)return!0;if(typeof t!=typeof a)return!1;if(typeof t=="function"&&t.toString()===a.toString())return!0;let s,r,l;if(t&&a&&typeof t=="object"){if(Array.isArray(t)){if(s=t.length,s!==a.length)return!1;for(r=s;r--!==0;)if(!El(t[r],a[r]))return!1;return!0}if(l=Object.keys(t),s=l.length,s!==Object.keys(a).length)return!1;for(r=s;r--!==0;)if(!{}.hasOwnProperty.call(a,l[r]))return!1;for(r=s;r--!==0;){const d=l[r];if(!(d==="_owner"&&t.$$typeof)&&!El(t[d],a[d]))return!1}return!0}return t!==t&&a!==a}function Ob(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Bv(t,a){const s=Ob(t);return Math.round(a*s)/s}function Pd(t){const a=S.useRef(t);return pl(()=>{a.current=t}),a}function CR(t){t===void 0&&(t={});const{placement:a="bottom",strategy:s="absolute",middleware:r=[],platform:l,elements:{reference:d,floating:f}={},transform:m=!0,whileElementsMounted:p,open:g}=t,[v,x]=S.useState({x:0,y:0,strategy:s,placement:a,middlewareData:{},isPositioned:!1}),[w,C]=S.useState(r);El(w,r)||C(r);const[j,A]=S.useState(null),[E,D]=S.useState(null),M=S.useCallback(z=>{z!==K.current&&(K.current=z,A(z))},[]),O=S.useCallback(z=>{z!==X.current&&(X.current=z,D(z))},[]),H=d||j,U=f||E,K=S.useRef(null),X=S.useRef(null),q=S.useRef(v),se=p!=null,ue=Pd(p),me=Pd(l),ge=Pd(g),Te=S.useCallback(()=>{if(!K.current||!X.current)return;const z={placement:a,strategy:s,middleware:w};me.current&&(z.platform=me.current),bR(K.current,X.current,z).then(ae=>{const de={...ae,isPositioned:ge.current!==!1};$.current&&!El(q.current,de)&&(q.current=de,ql.flushSync(()=>{x(de)}))})},[w,a,s,me,ge]);pl(()=>{g===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,x(z=>({...z,isPositioned:!1})))},[g]);const $=S.useRef(!1);pl(()=>($.current=!0,()=>{$.current=!1}),[]),pl(()=>{if(H&&(K.current=H),U&&(X.current=U),H&&U){if(ue.current)return ue.current(H,U,Te);Te()}},[H,U,Te,ue,se]);const he=S.useMemo(()=>({reference:K,floating:X,setReference:M,setFloating:O}),[M,O]),_=S.useMemo(()=>({reference:H,floating:U}),[H,U]),I=S.useMemo(()=>{const z={position:s,left:0,top:0};if(!_.floating)return z;const ae=Bv(_.floating,v.x),de=Bv(_.floating,v.y);return m?{...z,transform:"translate("+ae+"px, "+de+"px)",...Ob(_.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:ae,top:de}},[s,m,_.floating,v.x,v.y]);return S.useMemo(()=>({...v,update:Te,refs:he,elements:_,floatingStyles:I}),[v,Te,he,_,I])}const AR=t=>{function a(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:t,fn(s){const{element:r,padding:l}=typeof t=="function"?t(s):t;return r&&a(r)?r.current!=null?Pv({element:r.current,padding:l}).fn(s):{}:r?Pv({element:r,padding:l}).fn(s):{}}}},TR=(t,a)=>({...mR(t),options:[t,a]}),jR=(t,a)=>({...pR(t),options:[t,a]}),ER=(t,a)=>({...xR(t),options:[t,a]}),RR=(t,a)=>({...gR(t),options:[t,a]}),NR=(t,a)=>({...yR(t),options:[t,a]}),DR=(t,a)=>({...vR(t),options:[t,a]}),kR=(t,a)=>({...AR(t),options:[t,a]});var MR="Arrow",_b=S.forwardRef((t,a)=>{const{children:s,width:r=10,height:l=5,...d}=t;return h.jsx(rt.svg,{...d,ref:a,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?s:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});_b.displayName=MR;var OR=_b;function _R(t){const[a,s]=S.useState(void 0);return An(()=>{if(t){s({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const d=l[0];let f,m;if("borderBoxSize"in d){const p=d.borderBoxSize,g=Array.isArray(p)?p[0]:p;f=g.inlineSize,m=g.blockSize}else f=t.offsetWidth,m=t.offsetHeight;s({width:f,height:m})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else s(void 0)},[t]),a}var Lb="Popper",[Pb,Bb]=os(Lb),[J6,zb]=Pb(Lb),Vb="PopperAnchor",Ub=S.forwardRef((t,a)=>{const{__scopePopper:s,virtualRef:r,...l}=t,d=zb(Vb,s),f=S.useRef(null),m=qt(a,f),p=S.useRef(null);return S.useEffect(()=>{const g=p.current;p.current=r?.current||f.current,g!==p.current&&d.onAnchorChange(p.current)}),r?null:h.jsx(rt.div,{...l,ref:m})});Ub.displayName=Vb;var nh="PopperContent",[LR,PR]=Pb(nh),Hb=S.forwardRef((t,a)=>{const{__scopePopper:s,side:r="bottom",sideOffset:l=0,align:d="center",alignOffset:f=0,arrowPadding:m=0,avoidCollisions:p=!0,collisionBoundary:g=[],collisionPadding:v=0,sticky:x="partial",hideWhenDetached:w=!1,updatePositionStrategy:C="optimized",onPlaced:j,...A}=t,E=zb(nh,s),[D,M]=S.useState(null),O=qt(a,oe=>M(oe)),[H,U]=S.useState(null),K=_R(H),X=K?.width??0,q=K?.height??0,se=r+(d!=="center"?"-"+d:""),ue=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},me=Array.isArray(g)?g:[g],ge=me.length>0,Te={padding:ue,boundary:me.filter(zR),altBoundary:ge},{refs:$,floatingStyles:he,placement:_,isPositioned:I,middlewareData:z}=CR({strategy:"fixed",placement:se,whileElementsMounted:(...oe)=>hR(...oe,{animationFrame:C==="always"}),elements:{reference:E.anchor},middleware:[TR({mainAxis:l+q,alignmentAxis:f}),p&&jR({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?ER():void 0,...Te}),p&&RR({...Te}),NR({...Te,apply:({elements:oe,rects:Qe,availableWidth:Me,availableHeight:It})=>{const{width:mn,height:pn}=Qe.reference,Ba=oe.floating.style;Ba.setProperty("--radix-popper-available-width",`${Me}px`),Ba.setProperty("--radix-popper-available-height",`${It}px`),Ba.setProperty("--radix-popper-anchor-width",`${mn}px`),Ba.setProperty("--radix-popper-anchor-height",`${pn}px`)}}),H&&kR({element:H,padding:m}),VR({arrowWidth:X,arrowHeight:q}),w&&DR({strategy:"referenceHidden",...Te})]}),[ae,de]=Gb(_),R=Da(j);An(()=>{I&&R?.()},[I,R]);const Y=z.arrow?.x,Z=z.arrow?.y,W=z.arrow?.centerOffset!==0,[fe,ye]=S.useState();return An(()=>{D&&ye(window.getComputedStyle(D).zIndex)},[D]),h.jsx("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...he,transform:I?he.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(" "),...z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:h.jsx(LR,{scope:s,placedSide:ae,onArrowChange:U,arrowX:Y,arrowY:Z,shouldHideArrow:W,children:h.jsx(rt.div,{"data-side":ae,"data-align":de,...A,ref:O,style:{...A.style,animation:I?void 0:"none"}})})})});Hb.displayName=nh;var qb="PopperArrow",BR={top:"bottom",right:"left",bottom:"top",left:"right"},Ib=S.forwardRef(function(a,s){const{__scopePopper:r,...l}=a,d=PR(qb,r),f=BR[d.placedSide];return h.jsx("span",{ref:d.onArrowChange,style:{position:"absolute",left:d.arrowX,top:d.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[d.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[d.placedSide],visibility:d.shouldHideArrow?"hidden":void 0},children:h.jsx(OR,{...l,ref:s,style:{...l.style,display:"block"}})})});Ib.displayName=qb;function zR(t){return t!==null}var VR=t=>({name:"transformOrigin",options:t,fn(a){const{placement:s,rects:r,middlewareData:l}=a,f=l.arrow?.centerOffset!==0,m=f?0:t.arrowWidth,p=f?0:t.arrowHeight,[g,v]=Gb(s),x={start:"0%",center:"50%",end:"100%"}[v],w=(l.arrow?.x??0)+m/2,C=(l.arrow?.y??0)+p/2;let j="",A="";return g==="bottom"?(j=f?x:`${w}px`,A=`${-p}px`):g==="top"?(j=f?x:`${w}px`,A=`${r.floating.height+p}px`):g==="right"?(j=`${-p}px`,A=f?x:`${C}px`):g==="left"&&(j=`${r.floating.width+p}px`,A=f?x:`${C}px`),{data:{x:j,y:A}}}});function Gb(t){const[a,s="center"]=t.split("-");return[a,s]}var UR=Ub,HR=Hb,qR=Ib,IR=Symbol("radix.slottable");function GR(t){const a=({children:s})=>h.jsx(h.Fragment,{children:s});return a.displayName=`${t}.Slottable`,a.__radixId=IR,a}var[Wl]=os("Tooltip",[Bb]),ah=Bb(),Yb="TooltipProvider",YR=700,zv="tooltip.open",[FR,Fb]=Wl(Yb),Xb=t=>{const{__scopeTooltip:a,delayDuration:s=YR,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:d}=t,f=S.useRef(!0),m=S.useRef(!1),p=S.useRef(0);return S.useEffect(()=>{const g=p.current;return()=>window.clearTimeout(g)},[]),h.jsx(FR,{scope:a,isOpenDelayedRef:f,delayDuration:s,onOpen:S.useCallback(()=>{window.clearTimeout(p.current),f.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>f.current=!0,r)},[r]),isPointerInTransitRef:m,onPointerInTransitChange:S.useCallback(g=>{m.current=g},[]),disableHoverableContent:l,children:d})};Xb.displayName=Yb;var Qb="Tooltip",[eO,Oo]=Wl(Qb),mf="TooltipTrigger",XR=S.forwardRef((t,a)=>{const{__scopeTooltip:s,...r}=t,l=Oo(mf,s),d=Fb(mf,s),f=ah(s),m=S.useRef(null),p=qt(a,m,l.onTriggerChange),g=S.useRef(!1),v=S.useRef(!1),x=S.useCallback(()=>g.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),h.jsx(UR,{asChild:!0,...f,children:h.jsx(rt.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:p,onPointerMove:$e(t.onPointerMove,w=>{w.pointerType!=="touch"&&!v.current&&!d.isPointerInTransitRef.current&&(l.onTriggerEnter(),v.current=!0)}),onPointerLeave:$e(t.onPointerLeave,()=>{l.onTriggerLeave(),v.current=!1}),onPointerDown:$e(t.onPointerDown,()=>{l.open&&l.onClose(),g.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:$e(t.onFocus,()=>{g.current||l.onOpen()}),onBlur:$e(t.onBlur,l.onClose),onClick:$e(t.onClick,l.onClose)})})});XR.displayName=mf;var ih="TooltipPortal",[QR,KR]=Wl(ih,{forceMount:void 0}),Kb=t=>{const{__scopeTooltip:a,forceMount:s,children:r,container:l}=t,d=Oo(ih,a);return h.jsx(QR,{scope:a,forceMount:s,children:h.jsx(Do,{present:s||d.open,children:h.jsx(Gf,{asChild:!0,container:l,children:r})})})};Kb.displayName=ih;var is="TooltipContent",Zb=S.forwardRef((t,a)=>{const s=KR(is,t.__scopeTooltip),{forceMount:r=s.forceMount,side:l="top",...d}=t,f=Oo(is,t.__scopeTooltip);return h.jsx(Do,{present:r||f.open,children:f.disableHoverableContent?h.jsx(Wb,{side:l,...d,ref:a}):h.jsx(ZR,{side:l,...d,ref:a})})}),ZR=S.forwardRef((t,a)=>{const s=Oo(is,t.__scopeTooltip),r=Fb(is,t.__scopeTooltip),l=S.useRef(null),d=qt(a,l),[f,m]=S.useState(null),{trigger:p,onClose:g}=s,v=l.current,{onPointerInTransitChange:x}=r,w=S.useCallback(()=>{m(null),x(!1)},[x]),C=S.useCallback((j,A)=>{const E=j.currentTarget,D={x:j.clientX,y:j.clientY},M=tN(D,E.getBoundingClientRect()),O=nN(D,M),H=aN(A.getBoundingClientRect()),U=sN([...O,...H]);m(U),x(!0)},[x]);return S.useEffect(()=>()=>w(),[w]),S.useEffect(()=>{if(p&&v){const j=E=>C(E,v),A=E=>C(E,p);return p.addEventListener("pointerleave",j),v.addEventListener("pointerleave",A),()=>{p.removeEventListener("pointerleave",j),v.removeEventListener("pointerleave",A)}}},[p,v,C,w]),S.useEffect(()=>{if(f){const j=A=>{const E=A.target,D={x:A.clientX,y:A.clientY},M=p?.contains(E)||v?.contains(E),O=!iN(D,f);M?w():O&&(w(),g())};return document.addEventListener("pointermove",j),()=>document.removeEventListener("pointermove",j)}},[p,v,f,g,w]),h.jsx(Wb,{...t,ref:d})}),[WR,$R]=Wl(Qb,{isInside:!1}),JR=GR("TooltipContent"),Wb=S.forwardRef((t,a)=>{const{__scopeTooltip:s,children:r,"aria-label":l,onEscapeKeyDown:d,onPointerDownOutside:f,...m}=t,p=Oo(is,s),g=ah(s),{onClose:v}=p;return S.useEffect(()=>(document.addEventListener(zv,v),()=>document.removeEventListener(zv,v)),[v]),S.useEffect(()=>{if(p.trigger){const x=w=>{w.target?.contains(p.trigger)&&v()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[p.trigger,v]),h.jsx(If,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:x=>x.preventDefault(),onDismiss:v,children:h.jsxs(HR,{"data-state":p.stateAttribute,...g,...m,ref:a,style:{...m.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[h.jsx(JR,{children:r}),h.jsx(WR,{scope:s,isInside:!0,children:h.jsx(AT,{id:p.contentId,role:"tooltip",children:l||r})})]})})});Zb.displayName=is;var $b="TooltipArrow",eN=S.forwardRef((t,a)=>{const{__scopeTooltip:s,...r}=t,l=ah(s);return $R($b,s).isInside?null:h.jsx(qR,{...l,...r,ref:a})});eN.displayName=$b;function tN(t,a){const s=Math.abs(a.top-t.y),r=Math.abs(a.bottom-t.y),l=Math.abs(a.right-t.x),d=Math.abs(a.left-t.x);switch(Math.min(s,r,l,d)){case d:return"left";case l:return"right";case s:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function nN(t,a,s=5){const r=[];switch(a){case"top":r.push({x:t.x-s,y:t.y+s},{x:t.x+s,y:t.y+s});break;case"bottom":r.push({x:t.x-s,y:t.y-s},{x:t.x+s,y:t.y-s});break;case"left":r.push({x:t.x+s,y:t.y-s},{x:t.x+s,y:t.y+s});break;case"right":r.push({x:t.x-s,y:t.y-s},{x:t.x-s,y:t.y+s});break}return r}function aN(t){const{top:a,right:s,bottom:r,left:l}=t;return[{x:l,y:a},{x:s,y:a},{x:s,y:r},{x:l,y:r}]}function iN(t,a){const{x:s,y:r}=t;let l=!1;for(let d=0,f=a.length-1;d<a.length;f=d++){const m=a[d],p=a[f],g=m.x,v=m.y,x=p.x,w=p.y;v>r!=w>r&&s<(x-g)*(r-v)/(w-v)+g&&(l=!l)}return l}function sN(t){const a=t.slice();return a.sort((s,r)=>s.x<r.x?-1:s.x>r.x?1:s.y<r.y?-1:s.y>r.y?1:0),oN(a)}function oN(t){if(t.length<=1)return t.slice();const a=[];for(let r=0;r<t.length;r++){const l=t[r];for(;a.length>=2;){const d=a[a.length-1],f=a[a.length-2];if((d.x-f.x)*(l.y-f.y)>=(d.y-f.y)*(l.x-f.x))a.pop();else break}a.push(l)}a.pop();const s=[];for(let r=t.length-1;r>=0;r--){const l=t[r];for(;s.length>=2;){const d=s[s.length-1],f=s[s.length-2];if((d.x-f.x)*(l.y-f.y)>=(d.y-f.y)*(l.x-f.x))s.pop();else break}s.push(l)}return s.pop(),a.length===1&&s.length===1&&a[0].x===s[0].x&&a[0].y===s[0].y?a:a.concat(s)}var rN=Xb,lN=Kb,Jb=Zb;const cN=rN,uN=S.forwardRef(({className:t,sideOffset:a=4,...s},r)=>h.jsx(lN,{children:h.jsx(Jb,{ref:r,sideOffset:a,className:lt("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",t),...s})}));uN.displayName=Jb.displayName;const Pe=S.forwardRef(({className:t,...a},s)=>h.jsx("div",{ref:s,className:lt("rounded-xl border bg-card text-card-foreground shadow",t),...a}));Pe.displayName="Card";const dN=S.forwardRef(({className:t,...a},s)=>h.jsx("div",{ref:s,className:lt("flex flex-col space-y-1.5 p-6",t),...a}));dN.displayName="CardHeader";const fN=S.forwardRef(({className:t,...a},s)=>h.jsx("div",{ref:s,className:lt("font-semibold leading-none tracking-tight",t),...a}));fN.displayName="CardTitle";const hN=S.forwardRef(({className:t,...a},s)=>h.jsx("div",{ref:s,className:lt("text-sm text-muted-foreground",t),...a}));hN.displayName="CardDescription";const ew=S.forwardRef(({className:t,...a},s)=>h.jsx("div",{ref:s,className:lt("p-6 pt-0",t),...a}));ew.displayName="CardContent";const mN=S.forwardRef(({className:t,...a},s)=>h.jsx("div",{ref:s,className:lt("flex items-center p-6 pt-0",t),...a}));mN.displayName="CardFooter";function pN(){return h.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:h.jsx(Pe,{className:"w-full max-w-md mx-4",children:h.jsxs(ew,{className:"pt-6",children:[h.jsxs("div",{className:"flex mb-4 gap-2",children:[h.jsx(sj,{className:"h-8 w-8 text-red-500"}),h.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),h.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const tw=S.createContext({});function gN(t){const a=S.useRef(null);return a.current===null&&(a.current=t()),a.current}const nw=typeof window<"u",yN=nw?S.useLayoutEffect:S.useEffect,sh=S.createContext(null);function oh(t,a){t.indexOf(a)===-1&&t.push(a)}function rh(t,a){const s=t.indexOf(a);s>-1&&t.splice(s,1)}const jn=(t,a,s)=>s>a?a:s<t?t:s;let lh=()=>{};const Jn={},aw=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function iw(t){return typeof t=="object"&&t!==null}const sw=t=>/^0[^.\s]+$/u.test(t);function ch(t){let a;return()=>(a===void 0&&(a=t()),a)}const nn=t=>t,vN=(t,a)=>s=>a(t(s)),_o=(...t)=>t.reduce(vN),To=(t,a,s)=>{const r=a-t;return r===0?1:(s-t)/r};class uh{constructor(){this.subscriptions=[]}add(a){return oh(this.subscriptions,a),()=>rh(this.subscriptions,a)}notify(a,s,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](a,s,r);else for(let d=0;d<l;d++){const f=this.subscriptions[d];f&&f(a,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Zn=t=>t*1e3,tn=t=>t/1e3;function ow(t,a){return a?t*(1e3/a):0}const rw=(t,a,s)=>(((1-3*s+3*a)*t+(3*s-6*a))*t+3*a)*t,xN=1e-7,bN=12;function wN(t,a,s,r,l){let d,f,m=0;do f=a+(s-a)/2,d=rw(f,r,l)-t,d>0?s=f:a=f;while(Math.abs(d)>xN&&++m<bN);return f}function Lo(t,a,s,r){if(t===a&&s===r)return nn;const l=d=>wN(d,0,1,t,s);return d=>d===0||d===1?d:rw(l(d),a,r)}const lw=t=>a=>a<=.5?t(2*a)/2:(2-t(2*(1-a)))/2,cw=t=>a=>1-t(1-a),uw=Lo(.33,1.53,.69,.99),dh=cw(uw),dw=lw(dh),fw=t=>(t*=2)<1?.5*dh(t):.5*(2-Math.pow(2,-10*(t-1))),fh=t=>1-Math.sin(Math.acos(t)),hw=cw(fh),mw=lw(fh),SN=Lo(.42,0,1,1),CN=Lo(0,0,.58,1),pw=Lo(.42,0,.58,1),AN=t=>Array.isArray(t)&&typeof t[0]!="number",gw=t=>Array.isArray(t)&&typeof t[0]=="number",TN={linear:nn,easeIn:SN,easeInOut:pw,easeOut:CN,circIn:fh,circInOut:mw,circOut:hw,backIn:dh,backInOut:dw,backOut:uw,anticipate:fw},jN=t=>typeof t=="string",Vv=t=>{if(gw(t)){lh(t.length===4);const[a,s,r,l]=t;return Lo(a,s,r,l)}else if(jN(t))return TN[t];return t},rl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function EN(t,a){let s=new Set,r=new Set,l=!1,d=!1;const f=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function p(v){f.has(v)&&(g.schedule(v),t()),v(m)}const g={schedule:(v,x=!1,w=!1)=>{const j=w&&l?s:r;return x&&f.add(v),j.has(v)||j.add(v),v},cancel:v=>{r.delete(v),f.delete(v)},process:v=>{if(m=v,l){d=!0;return}l=!0,[s,r]=[r,s],s.forEach(p),s.clear(),l=!1,d&&(d=!1,g.process(v))}};return g}const RN=40;function yw(t,a){let s=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},d=()=>s=!0,f=rl.reduce((O,H)=>(O[H]=EN(d),O),{}),{setup:m,read:p,resolveKeyframes:g,preUpdate:v,update:x,preRender:w,render:C,postRender:j}=f,A=()=>{const O=Jn.useManualTiming?l.timestamp:performance.now();s=!1,Jn.useManualTiming||(l.delta=r?1e3/60:Math.max(Math.min(O-l.timestamp,RN),1)),l.timestamp=O,l.isProcessing=!0,m.process(l),p.process(l),g.process(l),v.process(l),x.process(l),w.process(l),C.process(l),j.process(l),l.isProcessing=!1,s&&a&&(r=!1,t(A))},E=()=>{s=!0,r=!0,l.isProcessing||t(A)};return{schedule:rl.reduce((O,H)=>{const U=f[H];return O[H]=(K,X=!1,q=!1)=>(s||E(),U.schedule(K,X,q)),O},{}),cancel:O=>{for(let H=0;H<rl.length;H++)f[rl[H]].cancel(O)},state:l,steps:f}}const{schedule:He,cancel:Oa,state:gt,steps:Bd}=yw(typeof requestAnimationFrame<"u"?requestAnimationFrame:nn,!0);let gl;function NN(){gl=void 0}const wt={now:()=>(gl===void 0&&wt.set(gt.isProcessing||Jn.useManualTiming?gt.timestamp:performance.now()),gl),set:t=>{gl=t,queueMicrotask(NN)}},vw=t=>a=>typeof a=="string"&&a.startsWith(t),xw=vw("--"),DN=vw("var(--"),hh=t=>DN(t)?kN.test(t.split("/*")[0].trim()):!1,kN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Uv(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const ds={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},jo={...ds,transform:t=>jn(0,1,t)},ll={...ds,default:1},yo=t=>Math.round(t*1e5)/1e5,mh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function MN(t){return t==null}const ON=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ph=(t,a)=>s=>!!(typeof s=="string"&&ON.test(s)&&s.startsWith(t)||a&&!MN(s)&&Object.prototype.hasOwnProperty.call(s,a)),bw=(t,a,s)=>r=>{if(typeof r!="string")return r;const[l,d,f,m]=r.match(mh);return{[t]:parseFloat(l),[a]:parseFloat(d),[s]:parseFloat(f),alpha:m!==void 0?parseFloat(m):1}},_N=t=>jn(0,255,t),zd={...ds,transform:t=>Math.round(_N(t))},oi={test:ph("rgb","red"),parse:bw("red","green","blue"),transform:({red:t,green:a,blue:s,alpha:r=1})=>"rgba("+zd.transform(t)+", "+zd.transform(a)+", "+zd.transform(s)+", "+yo(jo.transform(r))+")"};function LN(t){let a="",s="",r="",l="";return t.length>5?(a=t.substring(1,3),s=t.substring(3,5),r=t.substring(5,7),l=t.substring(7,9)):(a=t.substring(1,2),s=t.substring(2,3),r=t.substring(3,4),l=t.substring(4,5),a+=a,s+=s,r+=r,l+=l),{red:parseInt(a,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const pf={test:ph("#"),parse:LN,transform:oi.transform},Po=t=>({test:a=>typeof a=="string"&&a.endsWith(t)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${t}`}),Ea=Po("deg"),Cn=Po("%"),J=Po("px"),PN=Po("vh"),BN=Po("vw"),Hv={...Cn,parse:t=>Cn.parse(t)/100,transform:t=>Cn.transform(t*100)},Ki={test:ph("hsl","hue"),parse:bw("hue","saturation","lightness"),transform:({hue:t,saturation:a,lightness:s,alpha:r=1})=>"hsla("+Math.round(t)+", "+Cn.transform(yo(a))+", "+Cn.transform(yo(s))+", "+yo(jo.transform(r))+")"},at={test:t=>oi.test(t)||pf.test(t)||Ki.test(t),parse:t=>oi.test(t)?oi.parse(t):Ki.test(t)?Ki.parse(t):pf.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?oi.transform(t):Ki.transform(t),getAnimatableNone:t=>{const a=at.parse(t);return a.alpha=0,at.transform(a)}},zN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function VN(t){return isNaN(t)&&typeof t=="string"&&(t.match(mh)?.length||0)+(t.match(zN)?.length||0)>0}const ww="number",Sw="color",UN="var",HN="var(",qv="${}",qN=/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 Eo(t){const a=t.toString(),s=[],r={color:[],number:[],var:[]},l=[];let d=0;const m=a.replace(qN,p=>(at.test(p)?(r.color.push(d),l.push(Sw),s.push(at.parse(p))):p.startsWith(HN)?(r.var.push(d),l.push(UN),s.push(p)):(r.number.push(d),l.push(ww),s.push(parseFloat(p))),++d,qv)).split(qv);return{values:s,split:m,indexes:r,types:l}}function Cw(t){return Eo(t).values}function Aw(t){const{split:a,types:s}=Eo(t),r=a.length;return l=>{let d="";for(let f=0;f<r;f++)if(d+=a[f],l[f]!==void 0){const m=s[f];m===ww?d+=yo(l[f]):m===Sw?d+=at.transform(l[f]):d+=l[f]}return d}}const IN=t=>typeof t=="number"?0:at.test(t)?at.getAnimatableNone(t):t;function GN(t){const a=Cw(t);return Aw(t)(a.map(IN))}const _a={test:VN,parse:Cw,createTransformer:Aw,getAnimatableNone:GN};function Vd(t,a,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(a-t)*6*s:s<1/2?a:s<2/3?t+(a-t)*(2/3-s)*6:t}function YN({hue:t,saturation:a,lightness:s,alpha:r}){t/=360,a/=100,s/=100;let l=0,d=0,f=0;if(!a)l=d=f=s;else{const m=s<.5?s*(1+a):s+a-s*a,p=2*s-m;l=Vd(p,m,t+1/3),d=Vd(p,m,t),f=Vd(p,m,t-1/3)}return{red:Math.round(l*255),green:Math.round(d*255),blue:Math.round(f*255),alpha:r}}function Rl(t,a){return s=>s>0?a:t}const Ge=(t,a,s)=>t+(a-t)*s,Ud=(t,a,s)=>{const r=t*t,l=s*(a*a-r)+r;return l<0?0:Math.sqrt(l)},FN=[pf,oi,Ki],XN=t=>FN.find(a=>a.test(t));function Iv(t){const a=XN(t);if(!a)return!1;let s=a.parse(t);return a===Ki&&(s=YN(s)),s}const Gv=(t,a)=>{const s=Iv(t),r=Iv(a);if(!s||!r)return Rl(t,a);const l={...s};return d=>(l.red=Ud(s.red,r.red,d),l.green=Ud(s.green,r.green,d),l.blue=Ud(s.blue,r.blue,d),l.alpha=Ge(s.alpha,r.alpha,d),oi.transform(l))},gf=new Set(["none","hidden"]);function QN(t,a){return gf.has(t)?s=>s<=0?t:a:s=>s>=1?a:t}function KN(t,a){return s=>Ge(t,a,s)}function gh(t){return typeof t=="number"?KN:typeof t=="string"?hh(t)?Rl:at.test(t)?Gv:$N:Array.isArray(t)?Tw:typeof t=="object"?at.test(t)?Gv:ZN:Rl}function Tw(t,a){const s=[...t],r=s.length,l=t.map((d,f)=>gh(d)(d,a[f]));return d=>{for(let f=0;f<r;f++)s[f]=l[f](d);return s}}function ZN(t,a){const s={...t,...a},r={};for(const l in s)t[l]!==void 0&&a[l]!==void 0&&(r[l]=gh(t[l])(t[l],a[l]));return l=>{for(const d in r)s[d]=r[d](l);return s}}function WN(t,a){const s=[],r={color:0,var:0,number:0};for(let l=0;l<a.values.length;l++){const d=a.types[l],f=t.indexes[d][r[d]],m=t.values[f]??0;s[l]=m,r[d]++}return s}const $N=(t,a)=>{const s=_a.createTransformer(a),r=Eo(t),l=Eo(a);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?gf.has(t)&&!l.values.length||gf.has(a)&&!r.values.length?QN(t,a):_o(Tw(WN(r,l),l.values),s):Rl(t,a)};function jw(t,a,s){return typeof t=="number"&&typeof a=="number"&&typeof s=="number"?Ge(t,a,s):gh(t)(t,a)}const JN=t=>{const a=({timestamp:s})=>t(s);return{start:(s=!0)=>He.update(a,s),stop:()=>Oa(a),now:()=>gt.isProcessing?gt.timestamp:wt.now()}},Ew=(t,a,s=10)=>{let r="";const l=Math.max(Math.round(a/s),2);for(let d=0;d<l;d++)r+=Math.round(t(d/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Nl=2e4;function yh(t){let a=0;const s=50;let r=t.next(a);for(;!r.done&&a<Nl;)a+=s,r=t.next(a);return a>=Nl?1/0:a}function e3(t,a=100,s){const r=s({...t,keyframes:[0,a]}),l=Math.min(yh(r),Nl);return{type:"keyframes",ease:d=>r.next(l*d).value/a,duration:tn(l)}}const t3=5;function Rw(t,a,s){const r=Math.max(a-t3,0);return ow(s-t(r),a-r)}const Xe={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},Hd=.001;function n3({duration:t=Xe.duration,bounce:a=Xe.bounce,velocity:s=Xe.velocity,mass:r=Xe.mass}){let l,d,f=1-a;f=jn(Xe.minDamping,Xe.maxDamping,f),t=jn(Xe.minDuration,Xe.maxDuration,tn(t)),f<1?(l=g=>{const v=g*f,x=v*t,w=v-s,C=yf(g,f),j=Math.exp(-x);return Hd-w/C*j},d=g=>{const x=g*f*t,w=x*s+s,C=Math.pow(f,2)*Math.pow(g,2)*t,j=Math.exp(-x),A=yf(Math.pow(g,2),f);return(-l(g)+Hd>0?-1:1)*((w-C)*j)/A}):(l=g=>{const v=Math.exp(-g*t),x=(g-s)*t+1;return-Hd+v*x},d=g=>{const v=Math.exp(-g*t),x=(s-g)*(t*t);return v*x});const m=5/t,p=i3(l,d,m);if(t=Zn(t),isNaN(p))return{stiffness:Xe.stiffness,damping:Xe.damping,duration:t};{const g=Math.pow(p,2)*r;return{stiffness:g,damping:f*2*Math.sqrt(r*g),duration:t}}}const a3=12;function i3(t,a,s){let r=s;for(let l=1;l<a3;l++)r=r-t(r)/a(r);return r}function yf(t,a){return t*Math.sqrt(1-a*a)}const s3=["duration","bounce"],o3=["stiffness","damping","mass"];function Yv(t,a){return a.some(s=>t[s]!==void 0)}function r3(t){let a={velocity:Xe.velocity,stiffness:Xe.stiffness,damping:Xe.damping,mass:Xe.mass,isResolvedFromDuration:!1,...t};if(!Yv(t,o3)&&Yv(t,s3))if(t.visualDuration){const s=t.visualDuration,r=2*Math.PI/(s*1.2),l=r*r,d=2*jn(.05,1,1-(t.bounce||0))*Math.sqrt(l);a={...a,mass:Xe.mass,stiffness:l,damping:d}}else{const s=n3(t);a={...a,...s,mass:Xe.mass},a.isResolvedFromDuration=!0}return a}function Dl(t=Xe.visualDuration,a=Xe.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:a}:t;let{restSpeed:r,restDelta:l}=s;const d=s.keyframes[0],f=s.keyframes[s.keyframes.length-1],m={done:!1,value:d},{stiffness:p,damping:g,mass:v,duration:x,velocity:w,isResolvedFromDuration:C}=r3({...s,velocity:-tn(s.velocity||0)}),j=w||0,A=g/(2*Math.sqrt(p*v)),E=f-d,D=tn(Math.sqrt(p/v)),M=Math.abs(E)<5;r||(r=M?Xe.restSpeed.granular:Xe.restSpeed.default),l||(l=M?Xe.restDelta.granular:Xe.restDelta.default);let O;if(A<1){const U=yf(D,A);O=K=>{const X=Math.exp(-A*D*K);return f-X*((j+A*D*E)/U*Math.sin(U*K)+E*Math.cos(U*K))}}else if(A===1)O=U=>f-Math.exp(-D*U)*(E+(j+D*E)*U);else{const U=D*Math.sqrt(A*A-1);O=K=>{const X=Math.exp(-A*D*K),q=Math.min(U*K,300);return f-X*((j+A*D*E)*Math.sinh(q)+U*E*Math.cosh(q))/U}}const H={calculatedDuration:C&&x||null,next:U=>{const K=O(U);if(C)m.done=U>=x;else{let X=U===0?j:0;A<1&&(X=U===0?Zn(j):Rw(O,U,K));const q=Math.abs(X)<=r,se=Math.abs(f-K)<=l;m.done=q&&se}return m.value=m.done?f:K,m},toString:()=>{const U=Math.min(yh(H),Nl),K=Ew(X=>H.next(U*X).value,U,30);return U+"ms "+K},toTransition:()=>{}};return H}Dl.applyToOptions=t=>{const a=e3(t,100,Dl);return t.ease=a.ease,t.duration=Zn(a.duration),t.type="keyframes",t};function vf({keyframes:t,velocity:a=0,power:s=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:d=500,modifyTarget:f,min:m,max:p,restDelta:g=.5,restSpeed:v}){const x=t[0],w={done:!1,value:x},C=q=>m!==void 0&&q<m||p!==void 0&&q>p,j=q=>m===void 0?p:p===void 0||Math.abs(m-q)<Math.abs(p-q)?m:p;let A=s*a;const E=x+A,D=f===void 0?E:f(E);D!==E&&(A=D-x);const M=q=>-A*Math.exp(-q/r),O=q=>D+M(q),H=q=>{const se=M(q),ue=O(q);w.done=Math.abs(se)<=g,w.value=w.done?D:ue};let U,K;const X=q=>{C(w.value)&&(U=q,K=Dl({keyframes:[w.value,j(w.value)],velocity:Rw(O,q,w.value),damping:l,stiffness:d,restDelta:g,restSpeed:v}))};return X(0),{calculatedDuration:null,next:q=>{let se=!1;return!K&&U===void 0&&(se=!0,H(q),X(q)),U!==void 0&&q>=U?K.next(q-U):(!se&&H(q),w)}}}function l3(t,a,s){const r=[],l=s||Jn.mix||jw,d=t.length-1;for(let f=0;f<d;f++){let m=l(t[f],t[f+1]);if(a){const p=Array.isArray(a)?a[f]||nn:a;m=_o(p,m)}r.push(m)}return r}function c3(t,a,{clamp:s=!0,ease:r,mixer:l}={}){const d=t.length;if(lh(d===a.length),d===1)return()=>a[0];if(d===2&&a[0]===a[1])return()=>a[1];const f=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),a=[...a].reverse());const m=l3(a,r,l),p=m.length,g=v=>{if(f&&v<t[0])return a[0];let x=0;if(p>1)for(;x<t.length-2&&!(v<t[x+1]);x++);const w=To(t[x],t[x+1],v);return m[x](w)};return s?v=>g(jn(t[0],t[d-1],v)):g}function u3(t,a){const s=t[t.length-1];for(let r=1;r<=a;r++){const l=To(0,a,r);t.push(Ge(s,1,l))}}function d3(t){const a=[0];return u3(a,t.length-1),a}function f3(t,a){return t.map(s=>s*a)}function h3(t,a){return t.map(()=>a||pw).splice(0,t.length-1)}function vo({duration:t=300,keyframes:a,times:s,ease:r="easeInOut"}){const l=AN(r)?r.map(Vv):Vv(r),d={done:!1,value:a[0]},f=f3(s&&s.length===a.length?s:d3(a),t),m=c3(f,a,{ease:Array.isArray(l)?l:h3(a,l)});return{calculatedDuration:t,next:p=>(d.value=m(p),d.done=p>=t,d)}}const m3=t=>t!==null;function vh(t,{repeat:a,repeatType:s="loop"},r,l=1){const d=t.filter(m3),m=l<0||a&&s!=="loop"&&a%2===1?0:d.length-1;return!m||r===void 0?d[m]:r}const p3={decay:vf,inertia:vf,tween:vo,keyframes:vo,spring:Dl};function Nw(t){typeof t.type=="string"&&(t.type=p3[t.type])}class xh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,s){return this.finished.then(a,s)}}const g3=t=>t/100;class bh extends xh{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==wt.now()&&this.tick(wt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;Nw(a);const{type:s=vo,repeat:r=0,repeatDelay:l=0,repeatType:d,velocity:f=0}=a;let{keyframes:m}=a;const p=s||vo;p!==vo&&typeof m[0]!="number"&&(this.mixKeyframes=_o(g3,jw(m[0],m[1])),m=[0,100]);const g=p({...a,keyframes:m});d==="mirror"&&(this.mirroredGenerator=p({...a,keyframes:[...m].reverse(),velocity:-f})),g.calculatedDuration===null&&(g.calculatedDuration=yh(g));const{calculatedDuration:v}=g;this.calculatedDuration=v,this.resolvedDuration=v+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=g}updateTime(a){const s=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(a,s=!1){const{generator:r,totalDuration:l,mixKeyframes:d,mirroredGenerator:f,resolvedDuration:m,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:g=0,keyframes:v,repeat:x,repeatType:w,repeatDelay:C,type:j,onUpdate:A,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-l/this.speed,this.startTime)),s?this.currentTime=a:this.updateTime(a);const D=this.currentTime-g*(this.playbackSpeed>=0?1:-1),M=this.playbackSpeed>=0?D<0:D>l;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let O=this.currentTime,H=r;if(x){const q=Math.min(this.currentTime,l)/m;let se=Math.floor(q),ue=q%1;!ue&&q>=1&&(ue=1),ue===1&&se--,se=Math.min(se,x+1),se%2&&(w==="reverse"?(ue=1-ue,C&&(ue-=C/m)):w==="mirror"&&(H=f)),O=jn(0,1,ue)*m}const U=M?{done:!1,value:v[0]}:H.next(O);d&&(U.value=d(U.value));let{done:K}=U;!M&&p!==null&&(K=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const X=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&K);return X&&j!==vf&&(U.value=vh(v,this.options,E,this.speed)),A&&A(U.value),X&&this.finish(),U}then(a,s){return this.finished.then(a,s)}get duration(){return tn(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+tn(a)}get time(){return tn(this.currentTime)}set time(a){a=Zn(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(wt.now());const s=this.playbackSpeed!==a;this.playbackSpeed=a,s&&(this.time=tn(this.currentTime))}play(){if(this.isStopped)return;const{driver:a=JN,startTime:s}=this.options;this.driver||(this.driver=a(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(wt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}function y3(t){for(let a=1;a<t.length;a++)t[a]??(t[a]=t[a-1])}const ri=t=>t*180/Math.PI,xf=t=>{const a=ri(Math.atan2(t[1],t[0]));return bf(a)},v3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:xf,rotateZ:xf,skewX:t=>ri(Math.atan(t[1])),skewY:t=>ri(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},bf=t=>(t=t%360,t<0&&(t+=360),t),Fv=xf,Xv=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Qv=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),x3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Xv,scaleY:Qv,scale:t=>(Xv(t)+Qv(t))/2,rotateX:t=>bf(ri(Math.atan2(t[6],t[5]))),rotateY:t=>bf(ri(Math.atan2(-t[2],t[0]))),rotateZ:Fv,rotate:Fv,skewX:t=>ri(Math.atan(t[4])),skewY:t=>ri(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function wf(t){return t.includes("scale")?1:0}function Sf(t,a){if(!t||t==="none")return wf(a);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(s)r=x3,l=s;else{const m=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=v3,l=m}if(!l)return wf(a);const d=r[a],f=l[1].split(",").map(w3);return typeof d=="function"?d(f):f[d]}const b3=(t,a)=>{const{transform:s="none"}=getComputedStyle(t);return Sf(s,a)};function w3(t){return parseFloat(t.trim())}const fs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hs=new Set(fs),Kv=t=>t===ds||t===J,S3=new Set(["x","y","z"]),C3=fs.filter(t=>!S3.has(t));function A3(t){const a=[];return C3.forEach(s=>{const r=t.getValue(s);r!==void 0&&(a.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),a}const Na={width:({x:t},{paddingLeft:a="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(a)-parseFloat(s),height:({y:t},{paddingTop:a="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(a)-parseFloat(s),top:(t,{top:a})=>parseFloat(a),left:(t,{left:a})=>parseFloat(a),bottom:({y:t},{top:a})=>parseFloat(a)+(t.max-t.min),right:({x:t},{left:a})=>parseFloat(a)+(t.max-t.min),x:(t,{transform:a})=>Sf(a,"x"),y:(t,{transform:a})=>Sf(a,"y")};Na.translateX=Na.x;Na.translateY=Na.y;const li=new Set;let Cf=!1,Af=!1,Tf=!1;function Dw(){if(Af){const t=Array.from(li).filter(r=>r.needsMeasurement),a=new Set(t.map(r=>r.element)),s=new Map;a.forEach(r=>{const l=A3(r);l.length&&(s.set(r,l),r.render())}),t.forEach(r=>r.measureInitialState()),a.forEach(r=>{r.render();const l=s.get(r);l&&l.forEach(([d,f])=>{r.getValue(d)?.set(f)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Af=!1,Cf=!1,li.forEach(t=>t.complete(Tf)),li.clear()}function kw(){li.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Af=!0)})}function T3(){Tf=!0,kw(),Dw(),Tf=!1}class wh{constructor(a,s,r,l,d,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=s,this.name=r,this.motionValue=l,this.element=d,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(li.add(this),Cf||(Cf=!0,He.read(kw),He.resolveKeyframes(Dw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:s,element:r,motionValue:l}=this;if(a[0]===null){const d=l?.get(),f=a[a.length-1];if(d!==void 0)a[0]=d;else if(r&&s){const m=r.readValue(s,f);m!=null&&(a[0]=m)}a[0]===void 0&&(a[0]=f),l&&d===void 0&&l.set(a[0])}y3(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),li.delete(this)}cancel(){this.state==="scheduled"&&(li.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const j3=t=>t.startsWith("--");function E3(t,a,s){j3(a)?t.style.setProperty(a,s):t.style[a]=s}const R3=ch(()=>window.ScrollTimeline!==void 0),N3={};function D3(t,a){const s=ch(t);return()=>N3[a]??s()}const Mw=D3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),mo=([t,a,s,r])=>`cubic-bezier(${t}, ${a}, ${s}, ${r})`,Zv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mo([0,.65,.55,1]),circOut:mo([.55,0,1,.45]),backIn:mo([.31,.01,.66,-.59]),backOut:mo([.33,1.53,.69,.99])};function Ow(t,a){if(t)return typeof t=="function"?Mw()?Ew(t,a):"ease-out":gw(t)?mo(t):Array.isArray(t)?t.map(s=>Ow(s,a)||Zv.easeOut):Zv[t]}function k3(t,a,s,{delay:r=0,duration:l=300,repeat:d=0,repeatType:f="loop",ease:m="easeOut",times:p}={},g=void 0){const v={[a]:s};p&&(v.offset=p);const x=Ow(m,l);Array.isArray(x)&&(v.easing=x);const w={delay:r,duration:l,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:d+1,direction:f==="reverse"?"alternate":"normal"};return g&&(w.pseudoElement=g),t.animate(v,w)}function _w(t){return typeof t=="function"&&"applyToOptions"in t}function M3({type:t,...a}){return _w(t)&&Mw()?t.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class O3 extends xh{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:s,name:r,keyframes:l,pseudoElement:d,allowFlatten:f=!1,finalKeyframe:m,onComplete:p}=a;this.isPseudoElement=!!d,this.allowFlatten=f,this.options=a,lh(typeof a.type!="string");const g=M3(a);this.animation=k3(s,r,l,g,d),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const v=vh(l,this.options,m,this.speed);this.updateMotionValue?this.updateMotionValue(v):E3(s,r,v),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const a=this.animation.effect?.getComputedTiming?.().duration||0;return tn(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+tn(a)}get time(){return tn(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Zn(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&R3()?(this.animation.timeline=a,nn):s(this)}}const Lw={anticipate:fw,backInOut:dw,circInOut:mw};function _3(t){return t in Lw}function L3(t){typeof t.ease=="string"&&_3(t.ease)&&(t.ease=Lw[t.ease])}const qd=10;class P3 extends O3{constructor(a){L3(a),Nw(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:s,onUpdate:r,onComplete:l,element:d,...f}=this.options;if(!s)return;if(a!==void 0){s.set(a);return}const m=new bh({...f,autoplay:!1}),p=Math.max(qd,wt.now()-this.startTime),g=jn(0,qd,p-qd);s.setWithVelocity(m.sample(Math.max(0,p-g)).value,m.sample(p).value,g),m.stop()}}const Wv=(t,a)=>a==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(_a.test(t)||t==="0")&&!t.startsWith("url("));function B3(t){const a=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==a)return!0}function z3(t,a,s,r){const l=t[0];if(l===null)return!1;if(a==="display"||a==="visibility")return!0;const d=t[t.length-1],f=Wv(l,a),m=Wv(d,a);return!f||!m?!1:B3(t)||(s==="spring"||_w(s))&&r}function jf(t){t.duration=0,t.type="keyframes"}const V3=new Set(["opacity","clipPath","filter","transform"]),U3=ch(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function H3(t){const{motionValue:a,name:s,repeatDelay:r,repeatType:l,damping:d,type:f}=t;if(!(a?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=a.owner.getProps();return U3()&&s&&V3.has(s)&&(s!=="transform"||!g)&&!p&&!r&&l!=="mirror"&&d!==0&&f!=="inertia"}const q3=40;class I3 extends xh{constructor({autoplay:a=!0,delay:s=0,type:r="keyframes",repeat:l=0,repeatDelay:d=0,repeatType:f="loop",keyframes:m,name:p,motionValue:g,element:v,...x}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=wt.now();const w={autoplay:a,delay:s,type:r,repeat:l,repeatDelay:d,repeatType:f,name:p,motionValue:g,element:v,...x},C=v?.KeyframeResolver||wh;this.keyframeResolver=new C(m,(j,A,E)=>this.onKeyframesResolved(j,A,w,!E),p,g,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,s,r,l){this.keyframeResolver=void 0;const{name:d,type:f,velocity:m,delay:p,isHandoff:g,onUpdate:v}=r;this.resolvedAt=wt.now(),z3(a,d,f,m)||((Jn.instantAnimations||!p)&&v?.(vh(a,r,s)),a[0]=a[a.length-1],jf(r),r.repeat=0);const w={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>q3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:a},C=!g&&H3(w)?new P3({...w,element:w.motionValue.owner.current}):new bh(w);C.finished.then(()=>this.notifyFinished()).catch(nn),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(a,s){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),T3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const G3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Y3(t){const a=G3.exec(t);if(!a)return[,];const[,s,r,l]=a;return[`--${s??r}`,l]}function Pw(t,a,s=1){const[r,l]=Y3(t);if(!r)return;const d=window.getComputedStyle(a).getPropertyValue(r);if(d){const f=d.trim();return aw(f)?parseFloat(f):f}return hh(l)?Pw(l,a,s+1):l}function Sh(t,a){return t?.[a]??t?.default??t}const F3={type:"spring",stiffness:500,damping:25,restSpeed:10},X3=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Q3={type:"keyframes",duration:.8},K3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Z3=(t,{keyframes:a})=>a.length>2?Q3:hs.has(t)?t.startsWith("scale")?X3(a[1]):F3:K3;function W3({when:t,delay:a,delayChildren:s,staggerChildren:r,staggerDirection:l,repeat:d,repeatType:f,repeatDelay:m,from:p,elapsed:g,...v}){return!!Object.keys(v).length}const $3=t=>t!==null;function J3(t,{repeat:a,repeatType:s="loop"},r){const l=t.filter($3),d=a&&s!=="loop"&&a%2===1?0:l.length-1;return l[d]}function Bw(t,a,s,r=0,l=1){const d=Array.from(t).sort((g,v)=>g.sortNodePosition(v)).indexOf(a),f=t.size,m=(f-1)*r;return typeof s=="function"?s(d,f):l===1?d*r:m-d*r}const Ch=(t,a,s,r={},l,d)=>f=>{const m=Sh(r,t)||{},p=m.delay||r.delay||0;let{elapsed:g=0}=r;g=g-Zn(p);const v={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:a.getVelocity(),...m,delay:-g,onUpdate:w=>{a.set(w),m.onUpdate&&m.onUpdate(w)},onComplete:()=>{f(),m.onComplete&&m.onComplete()},name:t,motionValue:a,element:d?void 0:l};W3(m)||Object.assign(v,Z3(t,v)),v.duration&&(v.duration=Zn(v.duration)),v.repeatDelay&&(v.repeatDelay=Zn(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let x=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(jf(v),v.delay===0&&(x=!0)),(Jn.instantAnimations||Jn.skipAnimations)&&(x=!0,jf(v),v.delay=0),v.allowFlatten=!m.type&&!m.ease,x&&!d&&a.get()!==void 0){const w=J3(v.keyframes,m);if(w!==void 0){He.update(()=>{v.onUpdate(w),v.onComplete()});return}}return m.isSync?new bh(v):new I3(v)},zw=new Set(["width","height","top","left","right","bottom",...fs]),$v=30,eD=t=>!isNaN(parseFloat(t));class tD{constructor(a,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=wt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=s.owner}setCurrent(a){this.current=a,this.updatedAt=wt.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=eD(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,s){this.events[a]||(this.events[a]=new uh);const r=this.events[a].add(s);return a==="change"?()=>{r(),He.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,s){this.passiveEffect=a,this.stopPassiveEffect=s}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-r}jump(a,s=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=wt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>$v)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,$v);return ow(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(a){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=a(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ss(t,a){return new tD(t,a)}function Jv(t){const a=[{},{}];return t?.values.forEach((s,r)=>{a[0][r]=s.get(),a[1][r]=s.getVelocity()}),a}function Ah(t,a,s,r){if(typeof a=="function"){const[l,d]=Jv(r);a=a(s!==void 0?s:t.custom,l,d)}if(typeof a=="string"&&(a=t.variants&&t.variants[a]),typeof a=="function"){const[l,d]=Jv(r);a=a(s!==void 0?s:t.custom,l,d)}return a}function es(t,a,s){const r=t.getProps();return Ah(r,a,s!==void 0?s:r.custom,t)}const Ef=t=>Array.isArray(t);function nD(t,a,s){t.hasValue(a)?t.getValue(a).set(s):t.addValue(a,ss(s))}function aD(t){return Ef(t)?t[t.length-1]||0:t}function iD(t,a){const s=es(t,a);let{transitionEnd:r={},transition:l={},...d}=s||{};d={...d,...r};for(const f in d){const m=aD(d[f]);nD(t,f,m)}}const vt=t=>!!(t&&t.getVelocity);function sD(t){return!!(vt(t)&&t.add)}function Rf(t,a){const s=t.getValue("willChange");if(sD(s))return s.add(a);if(!s&&Jn.WillChange){const r=new Jn.WillChange("auto");t.addValue("willChange",r),r.add(a)}}function Th(t){return t.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const oD="framerAppearId",Vw="data-"+Th(oD);function Uw(t){return t.props[Vw]}function rD({protectedKeys:t,needsAnimating:a},s){const r=t.hasOwnProperty(s)&&a[s]!==!0;return a[s]=!1,r}function Hw(t,a,{delay:s=0,transitionOverride:r,type:l}={}){let{transition:d=t.getDefaultTransition(),transitionEnd:f,...m}=a;r&&(d=r);const p=[],g=l&&t.animationState&&t.animationState.getState()[l];for(const v in m){const x=t.getValue(v,t.latestValues[v]??null),w=m[v];if(w===void 0||g&&rD(g,v))continue;const C={delay:s,...Sh(d||{},v)},j=x.get();if(j!==void 0&&!x.isAnimating&&!Array.isArray(w)&&w===j&&!C.velocity)continue;let A=!1;if(window.MotionHandoffAnimation){const D=Uw(t);if(D){const M=window.MotionHandoffAnimation(D,v,He);M!==null&&(C.startTime=M,A=!0)}}Rf(t,v),x.start(Ch(v,x,w,t.shouldReduceMotion&&zw.has(v)?{type:!1}:C,t,A));const E=x.animation;E&&p.push(E)}return f&&Promise.all(p).then(()=>{He.update(()=>{f&&iD(t,f)})}),p}function Nf(t,a,s={}){const r=es(t,a,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(l=s.transitionOverride);const d=r?()=>Promise.all(Hw(t,r,s)):()=>Promise.resolve(),f=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:x}=l;return lD(t,a,p,g,v,x,s)}:()=>Promise.resolve(),{when:m}=l;if(m){const[p,g]=m==="beforeChildren"?[d,f]:[f,d];return p().then(()=>g())}else return Promise.all([d(),f(s.delay)])}function lD(t,a,s=0,r=0,l=0,d=1,f){const m=[];for(const p of t.variantChildren)p.notify("AnimationStart",a),m.push(Nf(p,a,{...f,delay:s+(typeof r=="function"?0:r)+Bw(t.variantChildren,p,r,l,d)}).then(()=>p.notify("AnimationComplete",a)));return Promise.all(m)}function cD(t,a,s={}){t.notify("AnimationStart",a);let r;if(Array.isArray(a)){const l=a.map(d=>Nf(t,d,s));r=Promise.all(l)}else if(typeof a=="string")r=Nf(t,a,s);else{const l=typeof a=="function"?es(t,a,s.custom):a;r=Promise.all(Hw(t,l,s))}return r.then(()=>{t.notify("AnimationComplete",a)})}const uD={test:t=>t==="auto",parse:t=>t},qw=t=>a=>a.test(t),Iw=[ds,J,Cn,Ea,BN,PN,uD],e0=t=>Iw.find(qw(t));function dD(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||sw(t):!0}const fD=new Set(["brightness","contrast","saturate","opacity"]);function hD(t){const[a,s]=t.slice(0,-1).split("(");if(a==="drop-shadow")return t;const[r]=s.match(mh)||[];if(!r)return t;const l=s.replace(r,"");let d=fD.has(a)?1:0;return r!==s&&(d*=100),a+"("+d+l+")"}const mD=/\b([a-z-]*)\(.*?\)/gu,Df={..._a,getAnimatableNone:t=>{const a=t.match(mD);return a?a.map(hD).join(" "):t}},t0={...ds,transform:Math.round},pD={rotate:Ea,rotateX:Ea,rotateY:Ea,rotateZ:Ea,scale:ll,scaleX:ll,scaleY:ll,scaleZ:ll,skew:Ea,skewX:Ea,skewY:Ea,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:jo,originX:Hv,originY:Hv,originZ:J},jh={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,backgroundPositionX:J,backgroundPositionY:J,...pD,zIndex:t0,fillOpacity:jo,strokeOpacity:jo,numOctaves:t0},gD={...jh,color:at,backgroundColor:at,outlineColor:at,fill:at,stroke:at,borderColor:at,borderTopColor:at,borderRightColor:at,borderBottomColor:at,borderLeftColor:at,filter:Df,WebkitFilter:Df},Gw=t=>gD[t];function Yw(t,a){let s=Gw(t);return s!==Df&&(s=_a),s.getAnimatableNone?s.getAnimatableNone(a):void 0}const yD=new Set(["auto","none","0"]);function vD(t,a,s){let r=0,l;for(;r<t.length&&!l;){const d=t[r];typeof d=="string"&&!yD.has(d)&&Eo(d).values.length&&(l=t[r]),r++}if(l&&s)for(const d of a)t[d]=Yw(s,l)}class xD extends wh{constructor(a,s,r,l,d){super(a,s,r,l,d,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let v=0;v<a.length;v++){let x=a[v];if(typeof x=="string"&&(x=x.trim(),hh(x))){const w=Pw(x,s.current);w!==void 0&&(a[v]=w),v===a.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!zw.has(r)||a.length!==2)return;const[l,d]=a,f=e0(l),m=e0(d),p=Uv(l),g=Uv(d);if(p!==g&&Na[r]){this.needsMeasurement=!0;return}if(f!==m)if(Kv(f)&&Kv(m))for(let v=0;v<a.length;v++){const x=a[v];typeof x=="string"&&(a[v]=parseFloat(x))}else Na[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:s}=this,r=[];for(let l=0;l<a.length;l++)(a[l]===null||dD(a[l]))&&r.push(l);r.length&&vD(a,r,s)}measureInitialState(){const{element:a,unresolvedKeyframes:s,name:r}=this;if(!a||!a.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Na[r](a.measureViewportBox(),window.getComputedStyle(a.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&a.getValue(r,l).jump(l,!1)}measureEndState(){const{element:a,name:s,unresolvedKeyframes:r}=this;if(!a||!a.current)return;const l=a.getValue(s);l&&l.jump(this.measuredOrigin,!1);const d=r.length-1,f=r[d];r[d]=Na[s](a.measureViewportBox(),window.getComputedStyle(a.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,p])=>{a.getValue(m).set(p)}),this.resolveNoneKeyframes()}}function bD(t,a,s){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const l=s?.[t]??r.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}const Fw=(t,a)=>a&&typeof t=="number"?a.transform(t):t;function wD(t){return iw(t)&&"offsetHeight"in t}const{schedule:Eh}=yw(queueMicrotask,!1),cn={x:!1,y:!1};function Xw(){return cn.x||cn.y}function SD(t){return t==="x"||t==="y"?cn[t]?null:(cn[t]=!0,()=>{cn[t]=!1}):cn.x||cn.y?null:(cn.x=cn.y=!0,()=>{cn.x=cn.y=!1})}function Qw(t,a){const s=bD(t),r=new AbortController,l={passive:!0,...a,signal:r.signal};return[s,l,()=>r.abort()]}function n0(t){return!(t.pointerType==="touch"||Xw())}function CD(t,a,s={}){const[r,l,d]=Qw(t,s),f=m=>{if(!n0(m))return;const{target:p}=m,g=a(p,m);if(typeof g!="function"||!p)return;const v=x=>{n0(x)&&(g(x),p.removeEventListener("pointerleave",v))};p.addEventListener("pointerleave",v,l)};return r.forEach(m=>{m.addEventListener("pointerenter",f,l)}),d}const Kw=(t,a)=>a?t===a?!0:Kw(t,a.parentElement):!1,Rh=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,AD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Zw(t){return AD.has(t.tagName)||t.isContentEditable===!0}const yl=new WeakSet;function a0(t){return a=>{a.key==="Enter"&&t(a)}}function Id(t,a){t.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const TD=(t,a)=>{const s=t.currentTarget;if(!s)return;const r=a0(()=>{if(yl.has(s))return;Id(s,"down");const l=a0(()=>{Id(s,"up")}),d=()=>Id(s,"cancel");s.addEventListener("keyup",l,a),s.addEventListener("blur",d,a)});s.addEventListener("keydown",r,a),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),a)};function i0(t){return Rh(t)&&!Xw()}function jD(t,a,s={}){const[r,l,d]=Qw(t,s),f=m=>{const p=m.currentTarget;if(!i0(m))return;yl.add(p);const g=a(p,m),v=(C,j)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",w),yl.has(p)&&yl.delete(p),i0(C)&&typeof g=="function"&&g(C,{success:j})},x=C=>{v(C,p===window||p===document||s.useGlobalTarget||Kw(p,C.target))},w=C=>{v(C,!1)};window.addEventListener("pointerup",x,l),window.addEventListener("pointercancel",w,l)};return r.forEach(m=>{(s.useGlobalTarget?window:m).addEventListener("pointerdown",f,l),wD(m)&&(m.addEventListener("focus",g=>TD(g,l)),!Zw(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),d}function Ww(t){return iw(t)&&"ownerSVGElement"in t}function ED(t){return Ww(t)&&t.tagName==="svg"}const RD=[...Iw,at,_a],ND=t=>RD.find(qw(t)),s0=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zi=()=>({x:s0(),y:s0()}),o0=()=>({min:0,max:0}),ot=()=>({x:o0(),y:o0()}),kf={current:null},$w={current:!1},DD=typeof window<"u";function kD(){if($w.current=!0,!!DD)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),a=()=>kf.current=t.matches;t.addEventListener("change",a),a()}else kf.current=!1}const MD=new WeakMap;function $l(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Ro(t){return typeof t=="string"||Array.isArray(t)}const Nh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Dh=["initial",...Nh];function Jl(t){return $l(t.animate)||Dh.some(a=>Ro(t[a]))}function Jw(t){return!!(Jl(t)||t.variants)}function OD(t,a,s){for(const r in a){const l=a[r],d=s[r];if(vt(l))t.addValue(r,l);else if(vt(d))t.addValue(r,ss(l,{owner:t}));else if(d!==l)if(t.hasValue(r)){const f=t.getValue(r);f.liveStyle===!0?f.jump(l):f.hasAnimated||f.set(l)}else{const f=t.getStaticValue(r);t.addValue(r,ss(f!==void 0?f:l,{owner:t}))}}for(const r in s)a[r]===void 0&&t.removeValue(r);return a}const r0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let kl={};function e1(t){kl=t}function _D(){return kl}class LD{scrapeMotionValuesFromProps(a,s,r){return{}}constructor({parent:a,props:s,presenceContext:r,reducedMotionConfig:l,blockInitialAnimation:d,visualState:f},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=wh,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 w=wt.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,He.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=f;this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=g,this.parent=a,this.props=s,this.presenceContext=r,this.depth=a?a.depth+1:0,this.reducedMotionConfig=l,this.options=m,this.blockInitialAnimation=!!d,this.isControllingVariants=Jl(s),this.isVariantNode=Jw(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(s,{},this);for(const w in x){const C=x[w];p[w]!==void 0&&vt(C)&&C.set(p[w])}}mount(a){this.current=a,MD.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,r)=>this.bindToMotionValue(r,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:($w.current||kD(),this.shouldReduceMotion=kf.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Oa(this.notifyUpdate),Oa(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const s=this.features[a];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,s){this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)();const r=hs.has(a);r&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",f=>{this.latestValues[a]=f,this.props.onUpdate&&He.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,a,s)),this.valueSubscriptions.set(a,()=>{l(),d&&d(),s.owner&&s.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in kl){const s=kl[a];if(!s)continue;const{isEnabled:r,Feature:l}=s;if(!this.features[a]&&l&&r(this.props)&&(this.features[a]=new l(this)),this.features[a]){const d=this.features[a];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ot()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,s){this.latestValues[a]=s}update(a,s){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<r0.length;r++){const l=r0[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const d="on"+l,f=a[d];f&&(this.propEventSubscriptions[l]=this.on(l,f))}this.prevMotionValues=OD(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]: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(a){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(a),()=>s.variantChildren.delete(a)}addValue(a,s){const r=this.values.get(a);s!==r&&(r&&this.removeValue(a),this.bindToMotionValue(a,s),this.values.set(a,s),this.latestValues[a]=s.get())}removeValue(a){this.values.delete(a);const s=this.valueSubscriptions.get(a);s&&(s(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,s){if(this.props.values&&this.props.values[a])return this.props.values[a];let r=this.values.get(a);return r===void 0&&s!==void 0&&(r=ss(s===null?void 0:s,{owner:this}),this.addValue(a,r)),r}readValue(a,s){let r=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return r!=null&&(typeof r=="string"&&(aw(r)||sw(r))?r=parseFloat(r):!ND(r)&&_a.test(s)&&(r=Yw(a,s)),this.setBaseTarget(a,vt(r)?r.get():r)),vt(r)?r.get():r}setBaseTarget(a,s){this.baseTarget[a]=s}getBaseTarget(a){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const d=Ah(this.props,s,this.presenceContext?.custom);d&&(r=d[a])}if(s&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,a);return l!==void 0&&!vt(l)?l:this.initialValues[a]!==void 0&&r===void 0?void 0:this.baseTarget[a]}on(a,s){return this.events[a]||(this.events[a]=new uh),this.events[a].add(s)}notify(a,...s){this.events[a]&&this.events[a].notify(...s)}scheduleRenderMicrotask(){Eh.render(this.render)}}class Pa{constructor(a){this.isMounted=!1,this.node=a}update(){}}class t1 extends LD{constructor(){super(...arguments),this.KeyframeResolver=xD}sortInstanceNodePosition(a,s){return a.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(a,s){const r=a.style;return r?r[s]:void 0}removeValueFromRenderState(a,{vars:s,style:r}){delete s[a],delete r[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;vt(a)&&(this.childSubscription=a.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function n1({top:t,left:a,right:s,bottom:r}){return{x:{min:a,max:s},y:{min:t,max:r}}}function PD({x:t,y:a}){return{top:a.min,right:t.max,bottom:a.max,left:t.min}}function BD(t,a){if(!a)return t;const s=a({x:t.left,y:t.top}),r=a({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function Gd(t){return t===void 0||t===1}function Mf({scale:t,scaleX:a,scaleY:s}){return!Gd(t)||!Gd(a)||!Gd(s)}function si(t){return Mf(t)||a1(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a1(t){return l0(t.x)||l0(t.y)}function l0(t){return t&&t!=="0%"}function Ml(t,a,s){const r=t-s,l=a*r;return s+l}function c0(t,a,s,r,l){return l!==void 0&&(t=Ml(t,l,r)),Ml(t,s,r)+a}function Of(t,a=0,s=1,r,l){t.min=c0(t.min,a,s,r,l),t.max=c0(t.max,a,s,r,l)}function i1(t,{x:a,y:s}){Of(t.x,a.translate,a.scale,a.originPoint),Of(t.y,s.translate,s.scale,s.originPoint)}const u0=.999999999999,d0=1.0000000000001;function zD(t,a,s,r=!1){const l=s.length;if(!l)return;a.x=a.y=1;let d,f;for(let m=0;m<l;m++){d=s[m],f=d.projectionDelta;const{visualElement:p}=d.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&d.options.layoutScroll&&d.scroll&&d!==d.root&&$i(t,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),f&&(a.x*=f.x.scale,a.y*=f.y.scale,i1(t,f)),r&&si(d.latestValues)&&$i(t,d.latestValues))}a.x<d0&&a.x>u0&&(a.x=1),a.y<d0&&a.y>u0&&(a.y=1)}function Wi(t,a){t.min=t.min+a,t.max=t.max+a}function f0(t,a,s,r,l=.5){const d=Ge(t.min,t.max,l);Of(t,a,s,d,r)}function $i(t,a){f0(t.x,a.x,a.scaleX,a.scale,a.originX),f0(t.y,a.y,a.scaleY,a.scale,a.originY)}function s1(t,a){return n1(BD(t.getBoundingClientRect(),a))}function VD(t,a,s){const r=s1(t,s),{scroll:l}=a;return l&&(Wi(r.x,l.offset.x),Wi(r.y,l.offset.y)),r}const UD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},HD=fs.length;function qD(t,a,s){let r="",l=!0;for(let d=0;d<HD;d++){const f=fs[d],m=t[f];if(m===void 0)continue;let p=!0;if(typeof m=="number"?p=m===(f.startsWith("scale")?1:0):p=parseFloat(m)===0,!p||s){const g=Fw(m,jh[f]);if(!p){l=!1;const v=UD[f]||f;r+=`${v}(${g}) `}s&&(a[f]=g)}}return r=r.trim(),s?r=s(a,l?"":r):l&&(r="none"),r}function kh(t,a,s){const{style:r,vars:l,transformOrigin:d}=t;let f=!1,m=!1;for(const p in a){const g=a[p];if(hs.has(p)){f=!0;continue}else if(xw(p)){l[p]=g;continue}else{const v=Fw(g,jh[p]);p.startsWith("origin")?(m=!0,d[p]=v):r[p]=v}}if(a.transform||(f||s?r.transform=qD(a,t.transform,s):r.transform&&(r.transform="none")),m){const{originX:p="50%",originY:g="50%",originZ:v=0}=d;r.transformOrigin=`${p} ${g} ${v}`}}function o1(t,{style:a,vars:s},r,l){const d=t.style;let f;for(f in a)d[f]=a[f];l?.applyProjectionStyles(d,r);for(f in s)d.setProperty(f,s[f])}function h0(t,a){return a.max===a.min?0:t/(a.max-a.min)*100}const co={correct:(t,a)=>{if(!a.target)return t;if(typeof t=="string")if(J.test(t))t=parseFloat(t);else return t;const s=h0(t,a.target.x),r=h0(t,a.target.y);return`${s}% ${r}%`}},ID={correct:(t,{treeScale:a,projectionDelta:s})=>{const r=t,l=_a.parse(t);if(l.length>5)return r;const d=_a.createTransformer(t),f=typeof l[0]!="number"?1:0,m=s.x.scale*a.x,p=s.y.scale*a.y;l[0+f]/=m,l[1+f]/=p;const g=Ge(m,p,.5);return typeof l[2+f]=="number"&&(l[2+f]/=g),typeof l[3+f]=="number"&&(l[3+f]/=g),d(l)}},_f={borderRadius:{...co,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:co,borderTopRightRadius:co,borderBottomLeftRadius:co,borderBottomRightRadius:co,boxShadow:ID};function r1(t,{layout:a,layoutId:s}){return hs.has(t)||t.startsWith("origin")||(a||s!==void 0)&&(!!_f[t]||t==="opacity")}function Mh(t,a,s){const r=t.style,l=a?.style,d={};if(!r)return d;for(const f in r)(vt(r[f])||l&&vt(l[f])||r1(f,t)||s?.getValue(f)?.liveStyle!==void 0)&&(d[f]=r[f]);return d}function GD(t){return window.getComputedStyle(t)}class YD extends t1{constructor(){super(...arguments),this.type="html",this.renderInstance=o1}readValueFromInstance(a,s){if(hs.has(s))return this.projection?.isProjecting?wf(s):b3(a,s);{const r=GD(a),l=(xw(s)?r.getPropertyValue(s):r[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(a,{transformPagePoint:s}){return s1(a,s)}build(a,s,r){kh(a,s,r.transformTemplate)}scrapeMotionValuesFromProps(a,s,r){return Mh(a,s,r)}}const FD={offset:"stroke-dashoffset",array:"stroke-dasharray"},XD={offset:"strokeDashoffset",array:"strokeDasharray"};function QD(t,a,s=1,r=0,l=!0){t.pathLength=1;const d=l?FD:XD;t[d.offset]=J.transform(-r);const f=J.transform(a),m=J.transform(s);t[d.array]=`${f} ${m}`}const KD=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function l1(t,{attrX:a,attrY:s,attrScale:r,pathLength:l,pathSpacing:d=1,pathOffset:f=0,...m},p,g,v){if(kh(t,m,g),p){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:w}=t;x.transform&&(w.transform=x.transform,delete x.transform),(w.transform||x.transformOrigin)&&(w.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),w.transform&&(w.transformBox=v?.transformBox??"fill-box",delete x.transformBox);for(const C of KD)x[C]!==void 0&&(w[C]=x[C],delete x[C]);a!==void 0&&(x.x=a),s!==void 0&&(x.y=s),r!==void 0&&(x.scale=r),l!==void 0&&QD(x,l,d,f,!1)}const c1=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"]),u1=t=>typeof t=="string"&&t.toLowerCase()==="svg";function ZD(t,a,s,r){o1(t,a,void 0,r);for(const l in a.attrs)t.setAttribute(c1.has(l)?l:Th(l),a.attrs[l])}function d1(t,a,s){const r=Mh(t,a,s);for(const l in t)if(vt(t[l])||vt(a[l])){const d=fs.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[d]=t[l]}return r}class WD extends t1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ot}getBaseTargetFromProps(a,s){return a[s]}readValueFromInstance(a,s){if(hs.has(s)){const r=Gw(s);return r&&r.default||0}return s=c1.has(s)?s:Th(s),a.getAttribute(s)}scrapeMotionValuesFromProps(a,s,r){return d1(a,s,r)}build(a,s,r){l1(a,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(a,s,r,l){ZD(a,s,r,l)}mount(a){this.isSVGTag=u1(a.tagName),super.mount(a)}}const $D=Dh.length;function f1(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?f1(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const a={};for(let s=0;s<$D;s++){const r=Dh[s],l=t.props[r];(Ro(l)||l===!1)&&(a[r]=l)}return a}function h1(t,a){if(!Array.isArray(a))return!1;const s=a.length;if(s!==t.length)return!1;for(let r=0;r<s;r++)if(a[r]!==t[r])return!1;return!0}const JD=[...Nh].reverse(),ek=Nh.length;function tk(t){return a=>Promise.all(a.map(({animation:s,options:r})=>cD(t,s,r)))}function nk(t){let a=tk(t),s=m0(),r=!0;const l=p=>(g,v)=>{const x=es(t,v,p==="exit"?t.presenceContext?.custom:void 0);if(x){const{transition:w,transitionEnd:C,...j}=x;g={...g,...j,...C}}return g};function d(p){a=p(t)}function f(p){const{props:g}=t,v=f1(t.parent)||{},x=[],w=new Set;let C={},j=1/0;for(let E=0;E<ek;E++){const D=JD[E],M=s[D],O=g[D]!==void 0?g[D]:v[D],H=Ro(O),U=D===p?M.isActive:null;U===!1&&(j=E);let K=O===v[D]&&O!==g[D]&&H;if(K&&r&&t.manuallyAnimateOnMount&&(K=!1),M.protectedKeys={...C},!M.isActive&&U===null||!O&&!M.prevProp||$l(O)||typeof O=="boolean")continue;const X=ak(M.prevProp,O);let q=X||D===p&&M.isActive&&!K&&H||E>j&&H,se=!1;const ue=Array.isArray(O)?O:[O];let me=ue.reduce(l(D),{});U===!1&&(me={});const{prevResolvedValues:ge={}}=M,Te={...ge,...me},$=I=>{q=!0,w.has(I)&&(se=!0,w.delete(I)),M.needsAnimating[I]=!0;const z=t.getValue(I);z&&(z.liveStyle=!1)};for(const I in Te){const z=me[I],ae=ge[I];if(C.hasOwnProperty(I))continue;let de=!1;Ef(z)&&Ef(ae)?de=!h1(z,ae):de=z!==ae,de?z!=null?$(I):w.add(I):z!==void 0&&w.has(I)?$(I):M.protectedKeys[I]=!0}M.prevProp=O,M.prevResolvedValues=me,M.isActive&&(C={...C,...me}),r&&t.blockInitialAnimation&&(q=!1);const he=K&&X;q&&(!he||se)&&x.push(...ue.map(I=>{const z={type:D};if(typeof I=="string"&&r&&!he&&t.manuallyAnimateOnMount&&t.parent){const{parent:ae}=t,de=es(ae,I);if(ae.enteringChildren&&de){const{delayChildren:R}=de.transition||{};z.delay=Bw(ae.enteringChildren,t,R)}}return{animation:I,options:z}}))}if(w.size){const E={};if(typeof g.initial!="boolean"){const D=es(t,Array.isArray(g.initial)?g.initial[0]:g.initial);D&&D.transition&&(E.transition=D.transition)}w.forEach(D=>{const M=t.getBaseTarget(D),O=t.getValue(D);O&&(O.liveStyle=!0),E[D]=M??null}),x.push({animation:E})}let A=!!x.length;return r&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(A=!1),r=!1,A?a(x):Promise.resolve()}function m(p,g){if(s[p].isActive===g)return Promise.resolve();t.variantChildren?.forEach(x=>x.animationState?.setActive(p,g)),s[p].isActive=g;const v=f(p);for(const x in s)s[x].protectedKeys={};return v}return{animateChanges:f,setActive:m,setAnimateFunction:d,getState:()=>s,reset:()=>{s=m0()}}}function ak(t,a){return typeof a=="string"?a!==t:Array.isArray(a)?!h1(a,t):!1}function ii(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function m0(){return{animate:ii(!0),whileInView:ii(),whileHover:ii(),whileTap:ii(),whileDrag:ii(),whileFocus:ii(),exit:ii()}}const m1=1e-4,ik=1-m1,sk=1+m1,p1=.01,ok=0-p1,rk=0+p1;function St(t){return t.max-t.min}function lk(t,a,s){return Math.abs(t-a)<=s}function p0(t,a,s,r=.5){t.origin=r,t.originPoint=Ge(a.min,a.max,t.origin),t.scale=St(s)/St(a),t.translate=Ge(s.min,s.max,t.origin)-t.originPoint,(t.scale>=ik&&t.scale<=sk||isNaN(t.scale))&&(t.scale=1),(t.translate>=ok&&t.translate<=rk||isNaN(t.translate))&&(t.translate=0)}function xo(t,a,s,r){p0(t.x,a.x,s.x,r?r.originX:void 0),p0(t.y,a.y,s.y,r?r.originY:void 0)}function g0(t,a,s){t.min=s.min+a.min,t.max=t.min+St(a)}function ck(t,a,s){g0(t.x,a.x,s.x),g0(t.y,a.y,s.y)}function y0(t,a,s){t.min=a.min-s.min,t.max=t.min+St(a)}function Ol(t,a,s){y0(t.x,a.x,s.x),y0(t.y,a.y,s.y)}function v0(t,a,s,r,l){return t-=a,t=Ml(t,1/s,r),l!==void 0&&(t=Ml(t,1/l,r)),t}function uk(t,a=0,s=1,r=.5,l,d=t,f=t){if(Cn.test(a)&&(a=parseFloat(a),a=Ge(f.min,f.max,a/100)-f.min),typeof a!="number")return;let m=Ge(d.min,d.max,r);t===d&&(m-=a),t.min=v0(t.min,a,s,m,l),t.max=v0(t.max,a,s,m,l)}function x0(t,a,[s,r,l],d,f){uk(t,a[s],a[r],a[l],a.scale,d,f)}const dk=["x","scaleX","originX"],fk=["y","scaleY","originY"];function b0(t,a,s,r){x0(t.x,a,dk,s?s.x:void 0,r?r.x:void 0),x0(t.y,a,fk,s?s.y:void 0,r?r.y:void 0)}function w0(t,a){t.min=a.min,t.max=a.max}function ln(t,a){w0(t.x,a.x),w0(t.y,a.y)}function S0(t,a){t.translate=a.translate,t.scale=a.scale,t.originPoint=a.originPoint,t.origin=a.origin}function C0(t){return t.translate===0&&t.scale===1}function g1(t){return C0(t.x)&&C0(t.y)}function A0(t,a){return t.min===a.min&&t.max===a.max}function hk(t,a){return A0(t.x,a.x)&&A0(t.y,a.y)}function T0(t,a){return Math.round(t.min)===Math.round(a.min)&&Math.round(t.max)===Math.round(a.max)}function y1(t,a){return T0(t.x,a.x)&&T0(t.y,a.y)}function j0(t){return St(t.x)/St(t.y)}function E0(t,a){return t.translate===a.translate&&t.scale===a.scale&&t.originPoint===a.originPoint}function en(t){return[t("x"),t("y")]}function mk(t,a,s){let r="";const l=t.x.translate/a.x,d=t.y.translate/a.y,f=s?.z||0;if((l||d||f)&&(r=`translate3d(${l}px, ${d}px, ${f}px) `),(a.x!==1||a.y!==1)&&(r+=`scale(${1/a.x}, ${1/a.y}) `),s){const{transformPerspective:g,rotate:v,rotateX:x,rotateY:w,skewX:C,skewY:j}=s;g&&(r=`perspective(${g}px) ${r}`),v&&(r+=`rotate(${v}deg) `),x&&(r+=`rotateX(${x}deg) `),w&&(r+=`rotateY(${w}deg) `),C&&(r+=`skewX(${C}deg) `),j&&(r+=`skewY(${j}deg) `)}const m=t.x.scale*a.x,p=t.y.scale*a.y;return(m!==1||p!==1)&&(r+=`scale(${m}, ${p})`),r||"none"}const v1=["TopLeft","TopRight","BottomLeft","BottomRight"],pk=v1.length,R0=t=>typeof t=="string"?parseFloat(t):t,N0=t=>typeof t=="number"||J.test(t);function gk(t,a,s,r,l,d){l?(t.opacity=Ge(0,s.opacity??1,yk(r)),t.opacityExit=Ge(a.opacity??1,0,vk(r))):d&&(t.opacity=Ge(a.opacity??1,s.opacity??1,r));for(let f=0;f<pk;f++){const m=`border${v1[f]}Radius`;let p=D0(a,m),g=D0(s,m);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||N0(p)===N0(g)?(t[m]=Math.max(Ge(R0(p),R0(g),r),0),(Cn.test(g)||Cn.test(p))&&(t[m]+="%")):t[m]=g}(a.rotate||s.rotate)&&(t.rotate=Ge(a.rotate||0,s.rotate||0,r))}function D0(t,a){return t[a]!==void 0?t[a]:t.borderRadius}const yk=x1(0,.5,hw),vk=x1(.5,.95,nn);function x1(t,a,s){return r=>r<t?0:r>a?1:s(To(t,a,r))}function xk(t,a){const s=wt.now(),r=({timestamp:l})=>{const d=l-s;d>=a&&(Oa(r),t(d-a))};return He.setup(r,!0),()=>Oa(r)}function No(t,a,s,r={passive:!0}){return t.addEventListener(a,s,r),()=>t.removeEventListener(a,s)}function vl(t){return vt(t)?t.get():t}function bk(t,a,s){const r=vt(t)?t:ss(t);return r.start(Ch("",r,a,s)),r.animation}const wk=(t,a)=>t.depth-a.depth;class Sk{constructor(){this.children=[],this.isDirty=!1}add(a){oh(this.children,a),this.isDirty=!0}remove(a){rh(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(wk),this.isDirty=!1,this.children.forEach(a)}}class Ck{constructor(){this.members=[]}add(a){oh(this.members,a),a.scheduleRender()}remove(a){if(rh(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(a){const s=this.members.findIndex(l=>a===l);if(s===0)return!1;let r;for(let l=s;l>=0;l--){const d=this.members[l];if(d.isPresent!==!1){r=d;break}}return r?(this.promote(r),!0):!1}promote(a,s){const r=this.lead;if(a!==r&&(this.prevLead=r,this.lead=a,a.show(),r)){r.instance&&r.scheduleRender(),a.scheduleRender(),a.resumeFrom=r,s&&(a.resumeFrom.preserveOpacity=!0),r.snapshot&&(a.snapshot=r.snapshot,a.snapshot.latestValues=r.animationValues||r.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0);const{crossfade:l}=a.options;l===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:s,resumingFrom:r}=a;s.onExitComplete&&s.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const xl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Yd=["","X","Y","Z"],Ak=1e3;let Tk=0;function Fd(t,a,s,r){const{latestValues:l}=a;l[t]&&(s[t]=l[t],a.setStaticValue(t,0),r&&(r[t]=0))}function b1(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:a}=t.options;if(!a)return;const s=Uw(a);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:d}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",He,!(l||d))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&b1(r)}function w1({attachResizeListener:t,defaultParent:a,measureScroll:s,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(f={},m=a?.()){this.id=Tk++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Rk),this.nodes.forEach(Mk),this.nodes.forEach(Ok),this.nodes.forEach(Nk)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new Sk)}addEventListener(f,m){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new uh),this.eventHandlers.get(f).add(m)}notifyListeners(f,...m){const p=this.eventHandlers.get(f);p&&p.notify(...m)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=Ww(f)&&!ED(f),this.instance=f;const{layoutId:m,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||m)&&(this.isLayoutDirty=!0),t){let v,x=0;const w=()=>this.root.updateBlockedByResize=!1;He.read(()=>{x=window.innerWidth}),t(f,()=>{const C=window.innerWidth;C!==x&&(x=C,this.root.updateBlockedByResize=!0,v&&v(),v=xk(w,250),xl.hasAnimatedSinceResize&&(xl.hasAnimatedSinceResize=!1,this.nodes.forEach(O0)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&g&&(m||p)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:x,hasRelativeLayoutChanged:w,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||g.getDefaultTransition()||zk,{onLayoutAnimationStart:A,onLayoutAnimationComplete:E}=g.getProps(),D=!this.targetLayout||!y1(this.targetLayout,C),M=!x&&w;if(this.options.layoutRoot||this.resumeFrom||M||x&&(D||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const O={...Sh(j,"layout"),onPlay:A,onComplete:E};(g.shouldReduceMotion||this.options.layoutRoot)&&(O.delay=0,O.type=!1),this.startAnimation(O),this.setAnimationOrigin(v,M)}else x||O0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}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,this.eventHandlers.clear(),Oa(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(_k),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&&b1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const x=this.path[v];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:m,layout:p}=this.options;if(m===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(k0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(M0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(kk),this.nodes.forEach(jk),this.nodes.forEach(Ek)):this.nodes.forEach(M0),this.clearAllSnapshots();const m=wt.now();gt.delta=jn(0,1e3/60,m-gt.timestamp),gt.timestamp=m,gt.isProcessing=!0,Bd.update.process(gt),Bd.preRender.process(gt),Bd.render.process(gt),gt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Eh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Dk),this.sharedNodes.forEach(Lk)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,He.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){He.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!St(this.snapshot.measuredBox.x)&&!St(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}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.layoutVersion++,this.layoutCorrected=ot(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(m=!1),m&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!g1(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,v=g!==this.prevTransformTemplateValue;f&&this.instance&&(m||si(this.latestValues)||v)&&(l(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const m=this.measurePageBox();let p=this.removeElementScroll(m);return f&&(p=this.removeTransform(p)),Vk(p),{animationId:this.root.animationId,measuredBox:m,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return ot();const m=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Uk))){const{scroll:g}=this.root;g&&(Wi(m.x,g.offset.x),Wi(m.y,g.offset.y))}return m}removeElementScroll(f){const m=ot();if(ln(m,f),this.scroll?.wasRoot)return m;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:v,options:x}=g;g!==this.root&&v&&x.layoutScroll&&(v.wasRoot&&ln(m,f),Wi(m.x,v.offset.x),Wi(m.y,v.offset.y))}return m}applyTransform(f,m=!1){const p=ot();ln(p,f);for(let g=0;g<this.path.length;g++){const v=this.path[g];!m&&v.options.layoutScroll&&v.scroll&&v!==v.root&&$i(p,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),si(v.latestValues)&&$i(p,v.latestValues)}return si(this.latestValues)&&$i(p,this.latestValues),p}removeTransform(f){const m=ot();ln(m,f);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!si(g.latestValues))continue;Mf(g.latestValues)&&g.updateSnapshot();const v=ot(),x=g.measurePageBox();ln(v,x),b0(m,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,v)}return si(this.latestValues)&&b0(m,this.latestValues),m}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!==gt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(f||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:x}=this.options;if(!this.layout||!(v||x))return;this.resolvedRelativeTargetAt=gt.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ot(),this.targetWithTransforms=ot()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ck(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ln(this.target,this.layout.layoutBox),i1(this.target,this.targetDelta)):ln(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Mf(this.parent.latestValues)||a1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,m,p){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ot(),this.relativeTargetOrigin=ot(),Ol(this.relativeTargetOrigin,m,p),ln(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const f=this.getLead(),m=!!this.resumingFrom||this!==f;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===gt.timestamp&&(p=!1),p)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;ln(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,w=this.treeScale.y;zD(this.layoutCorrected,this.treeScale,this.path,m),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=ot());const{target:C}=f;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(S0(this.prevProjectionDelta.x,this.projectionDelta.x),S0(this.prevProjectionDelta.y,this.projectionDelta.y)),xo(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==w||!E0(this.projectionDelta.x,this.prevProjectionDelta.x)||!E0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Zi(),this.projectionDelta=Zi(),this.projectionDeltaWithTransform=Zi()}setAnimationOrigin(f,m=!1){const p=this.snapshot,g=p?p.latestValues:{},v={...this.latestValues},x=Zi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const w=ot(),C=p?p.source:void 0,j=this.layout?this.layout.source:void 0,A=C!==j,E=this.getStack(),D=!E||E.members.length<=1,M=!!(A&&!D&&this.options.crossfade===!0&&!this.path.some(Bk));this.animationProgress=0;let O;this.mixTargetDelta=H=>{const U=H/1e3;_0(x.x,f.x,U),_0(x.y,f.y,U),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ol(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Pk(this.relativeTarget,this.relativeTargetOrigin,w,U),O&&hk(this.relativeTarget,O)&&(this.isProjectionDirty=!1),O||(O=ot()),ln(O,this.relativeTarget)),A&&(this.animationValues=v,gk(v,g,this.latestValues,U,M,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Oa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=He.update(()=>{xl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ss(0)),this.currentAnimation=bk(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),f.onUpdate&&f.onUpdate(m)},onStop:()=>{},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(Ak),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:m,target:p,layout:g,latestValues:v}=f;if(!(!m||!p||!g)){if(this!==f&&this.layout&&g&&S1(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||ot();const x=St(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+x;const w=St(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+w}ln(m,p),$i(m,v),xo(this.projectionDeltaWithTransform,this.layoutCorrected,m,v)}}registerSharedNode(f,m){this.sharedNodes.has(f)||this.sharedNodes.set(f,new Ck),this.sharedNodes.get(f).add(m);const g=m.options.initialPromotionConfig;m.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(m):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){const{layoutId:f}=this.options;return f?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:f}=this.options;return f?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:m,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let m=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(m=!0),!m)return;const g={};p.z&&Fd("z",f,g,this.animationValues);for(let v=0;v<Yd.length;v++)Fd(`rotate${Yd[v]}`,f,g,this.animationValues),Fd(`skew${Yd[v]}`,f,g,this.animationValues);f.render();for(const v in g)f.setStaticValue(v,g[v]),this.animationValues&&(this.animationValues[v]=g[v]);f.scheduleRender()}applyProjectionStyles(f,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=vl(m?.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=vl(m?.pointerEvents)||""),this.hasProjected&&!si(this.latestValues)&&(f.transform=p?p({},""):"none",this.hasProjected=!1);return}f.visibility="";const v=g.animationValues||g.latestValues;this.applyTransformsToTarget();let x=mk(this.projectionDeltaWithTransform,this.treeScale,v);p&&(x=p(v,x)),f.transform=x;const{x:w,y:C}=this.projectionDelta;f.transformOrigin=`${w.origin*100}% ${C.origin*100}% 0`,g.animationValues?f.opacity=g===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=g===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const j in _f){if(v[j]===void 0)continue;const{correct:A,applyTo:E,isCSSVariable:D}=_f[j],M=x==="none"?v[j]:A(v[j],g);if(E){const O=E.length;for(let H=0;H<O;H++)f[E[H]]=M}else D?this.options.visualElement.renderState.vars[j]=M:f[j]=M}this.options.layoutId&&(f.pointerEvents=g===this?vl(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(k0),this.root.sharedNodes.clear()}}}function jk(t){t.updateLayout()}function Ek(t){const a=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&a&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=t.layout,{animationType:l}=t.options,d=a.source!==t.layout.source;l==="size"?en(v=>{const x=d?a.measuredBox[v]:a.layoutBox[v],w=St(x);x.min=s[v].min,x.max=x.min+w}):S1(l,a.layoutBox,s)&&en(v=>{const x=d?a.measuredBox[v]:a.layoutBox[v],w=St(s[v]);x.max=x.min+w,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[v].max=t.relativeTarget[v].min+w)});const f=Zi();xo(f,s,a.layoutBox);const m=Zi();d?xo(m,t.applyTransform(r,!0),a.measuredBox):xo(m,s,a.layoutBox);const p=!g1(f);let g=!1;if(!t.resumeFrom){const v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:x,layout:w}=v;if(x&&w){const C=ot();Ol(C,a.layoutBox,x.layoutBox);const j=ot();Ol(j,s,w.layoutBox),y1(C,j)||(g=!0),v.options.layoutRoot&&(t.relativeTarget=j,t.relativeTargetOrigin=C,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:a,delta:m,layoutDelta:f,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Rk(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Nk(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Dk(t){t.clearSnapshot()}function k0(t){t.clearMeasurements()}function M0(t){t.isLayoutDirty=!1}function kk(t){const{visualElement:a}=t.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),t.resetTransform()}function O0(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Mk(t){t.resolveTargetDelta()}function Ok(t){t.calcProjection()}function _k(t){t.resetSkewAndRotation()}function Lk(t){t.removeLeadSnapshot()}function _0(t,a,s){t.translate=Ge(a.translate,0,s),t.scale=Ge(a.scale,1,s),t.origin=a.origin,t.originPoint=a.originPoint}function L0(t,a,s,r){t.min=Ge(a.min,s.min,r),t.max=Ge(a.max,s.max,r)}function Pk(t,a,s,r){L0(t.x,a.x,s.x,r),L0(t.y,a.y,s.y,r)}function Bk(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const zk={duration:.45,ease:[.4,0,.1,1]},P0=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),B0=P0("applewebkit/")&&!P0("chrome/")?Math.round:nn;function z0(t){t.min=B0(t.min),t.max=B0(t.max)}function Vk(t){z0(t.x),z0(t.y)}function S1(t,a,s){return t==="position"||t==="preserve-aspect"&&!lk(j0(a),j0(s),.2)}function Uk(t){return t!==t.root&&t.scroll?.wasRoot}const Hk=w1({attachResizeListener:(t,a)=>No(t,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xd={current:void 0},C1=w1({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Xd.current){const t=new Hk({});t.mount(window),t.setOptions({layoutScroll:!0}),Xd.current=t}return Xd.current},resetTransform:(t,a)=>{t.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),A1=S.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function qk(t=!0){const a=S.useContext(sh);if(a===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:l}=a,d=S.useId();S.useEffect(()=>{if(t)return l(d)},[t]);const f=S.useCallback(()=>t&&r&&r(d),[d,r,t]);return!s&&r?[!1,f]:[!0]}const T1=S.createContext({strict:!1}),V0={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"]};let U0=!1;function Ik(){if(U0)return;const t={};for(const a in V0)t[a]={isEnabled:s=>V0[a].some(r=>!!s[r])};e1(t),U0=!0}function j1(){return Ik(),_D()}function Gk(t){const a=j1();for(const s in t)a[s]={...a[s],...t[s]};e1(a)}const Yk=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 _l(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Yk.has(t)}let E1=t=>!_l(t);function Fk(t){typeof t=="function"&&(E1=a=>a.startsWith("on")?!_l(a):t(a))}try{Fk(require("@emotion/is-prop-valid").default)}catch{}function Xk(t,a,s){const r={};for(const l in t)l==="values"&&typeof t.values=="object"||(E1(l)||s===!0&&_l(l)||!a&&!_l(l)||t.draggable&&l.startsWith("onDrag"))&&(r[l]=t[l]);return r}const ec=S.createContext({});function Qk(t,a){if(Jl(t)){const{initial:s,animate:r}=t;return{initial:s===!1||Ro(s)?s:void 0,animate:Ro(r)?r:void 0}}return t.inherit!==!1?a:{}}function Kk(t){const{initial:a,animate:s}=Qk(t,S.useContext(ec));return S.useMemo(()=>({initial:a,animate:s}),[H0(a),H0(s)])}function H0(t){return Array.isArray(t)?t.join(" "):t}const Oh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function R1(t,a,s){for(const r in a)!vt(a[r])&&!r1(r,s)&&(t[r]=a[r])}function Zk({transformTemplate:t},a){return S.useMemo(()=>{const s=Oh();return kh(s,a,t),Object.assign({},s.vars,s.style)},[a])}function Wk(t,a){const s=t.style||{},r={};return R1(r,s,t),Object.assign(r,Zk(t,a)),r}function $k(t,a){const s={},r=Wk(t,a);return t.drag&&t.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s}const N1=()=>({...Oh(),attrs:{}});function Jk(t,a,s,r){const l=S.useMemo(()=>{const d=N1();return l1(d,a,u1(r),t.transformTemplate,t.style),{...d.attrs,style:{...d.style}}},[a]);if(t.style){const d={};R1(d,t.style,t),l.style={...d,...l.style}}return l}const eM=["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 _h(t){return typeof t!="string"||t.includes("-")?!1:!!(eM.indexOf(t)>-1||/[A-Z]/u.test(t))}function tM(t,a,s,{latestValues:r},l,d=!1,f){const p=(f??_h(t)?Jk:$k)(a,r,l,t),g=Xk(a,typeof t=="string",d),v=t!==S.Fragment?{...g,...p,ref:s}:{},{children:x}=a,w=S.useMemo(()=>vt(x)?x.get():x,[x]);return S.createElement(t,{...v,children:w})}function nM({scrapeMotionValuesFromProps:t,createRenderState:a},s,r,l){return{latestValues:aM(s,r,l,t),renderState:a()}}function aM(t,a,s,r){const l={},d=r(t,{});for(const w in d)l[w]=vl(d[w]);let{initial:f,animate:m}=t;const p=Jl(t),g=Jw(t);a&&g&&!p&&t.inherit!==!1&&(f===void 0&&(f=a.initial),m===void 0&&(m=a.animate));let v=s?s.initial===!1:!1;v=v||f===!1;const x=v?m:f;if(x&&typeof x!="boolean"&&!$l(x)){const w=Array.isArray(x)?x:[x];for(let C=0;C<w.length;C++){const j=Ah(t,w[C]);if(j){const{transitionEnd:A,transition:E,...D}=j;for(const M in D){let O=D[M];if(Array.isArray(O)){const H=v?O.length-1:0;O=O[H]}O!==null&&(l[M]=O)}for(const M in A)l[M]=A[M]}}}return l}const D1=t=>(a,s)=>{const r=S.useContext(ec),l=S.useContext(sh),d=()=>nM(t,a,r,l);return s?d():gN(d)},iM=D1({scrapeMotionValuesFromProps:Mh,createRenderState:Oh}),sM=D1({scrapeMotionValuesFromProps:d1,createRenderState:N1}),oM=Symbol.for("motionComponentSymbol");function rM(t,a,s){const r=S.useRef(s);S.useInsertionEffect(()=>{r.current=s});const l=S.useRef(null);return S.useCallback(d=>{d&&t.onMount?.(d),a&&(d?a.mount(d):a.unmount());const f=r.current;if(typeof f=="function")if(d){const m=f(d);typeof m=="function"&&(l.current=m)}else l.current?(l.current(),l.current=null):f(d);else f&&(f.current=d)},[a])}const k1=S.createContext({});function po(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function lM(t,a,s,r,l,d){const{visualElement:f}=S.useContext(ec),m=S.useContext(T1),p=S.useContext(sh),g=S.useContext(A1).reducedMotion,v=S.useRef(null);r=r||m.renderer,!v.current&&r&&(v.current=r(t,{visualState:a,parent:f,props:s,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g,isSVG:d}));const x=v.current,w=S.useContext(k1);x&&!x.projection&&l&&(x.type==="html"||x.type==="svg")&&cM(v.current,s,l,w);const C=S.useRef(!1);S.useInsertionEffect(()=>{x&&C.current&&x.update(s,p)});const j=s[Vw],A=S.useRef(!!j&&!window.MotionHandoffIsComplete?.(j)&&window.MotionHasOptimisedAnimation?.(j));return yN(()=>{x&&(C.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),A.current&&x.animationState&&x.animationState.animateChanges())}),S.useEffect(()=>{x&&(!A.current&&x.animationState&&x.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(j)}),A.current=!1),x.enteringChildren=void 0)}),x}function cM(t,a,s,r){const{layoutId:l,layout:d,drag:f,dragConstraints:m,layoutScroll:p,layoutRoot:g,layoutCrossfade:v}=a;t.projection=new s(t.latestValues,a["data-framer-portal-id"]?void 0:M1(t.parent)),t.projection.setOptions({layoutId:l,layout:d,alwaysMeasureLayout:!!f||m&&po(m),visualElement:t,animationType:typeof d=="string"?d:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:p,layoutRoot:g})}function M1(t){if(t)return t.options.allowProjection!==!1?t.projection:M1(t.parent)}function Qd(t,{forwardMotionProps:a=!1,type:s}={},r,l){r&&Gk(r);const d=s?s==="svg":_h(t),f=d?sM:iM;function m(g,v){let x;const w={...S.useContext(A1),...g,layoutId:uM(g)},{isStatic:C}=w,j=Kk(g),A=f(g,C);if(!C&&nw){dM();const E=fM(w);x=E.MeasureLayout,j.visualElement=lM(t,A,w,l,E.ProjectionNode,d)}return h.jsxs(ec.Provider,{value:j,children:[x&&j.visualElement?h.jsx(x,{visualElement:j.visualElement,...w}):null,tM(t,g,rM(A,j.visualElement,v),A,C,a,d)]})}m.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const p=S.forwardRef(m);return p[oM]=t,p}function uM({layoutId:t}){const a=S.useContext(tw).id;return a&&t!==void 0?a+"-"+t:t}function dM(t,a){S.useContext(T1).strict}function fM(t){const a=j1(),{drag:s,layout:r}=a;if(!s&&!r)return{};const l={...s,...r};return{MeasureLayout:s?.isEnabled(t)||r?.isEnabled(t)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function hM(t,a){if(typeof Proxy>"u")return Qd;const s=new Map,r=(d,f)=>Qd(d,f,t,a),l=(d,f)=>r(d,f);return new Proxy(l,{get:(d,f)=>f==="create"?r:(s.has(f)||s.set(f,Qd(f,void 0,t,a)),s.get(f))})}const mM=(t,a)=>a.isSVG??_h(t)?new WD(a):new YD(a,{allowProjection:t!==S.Fragment});class pM extends Pa{constructor(a){super(a),a.animationState||(a.animationState=nk(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();$l(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:s}=this.node.prevProps||{};a!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let gM=0;class yM extends Pa{constructor(){super(...arguments),this.id=gM++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===r)return;const l=this.node.animationState.setActive("exit",!a);s&&!a&&l.then(()=>{s(this.id)})}mount(){const{register:a,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const vM={animation:{Feature:pM},exit:{Feature:yM}};function Bo(t){return{point:{x:t.pageX,y:t.pageY}}}const xM=t=>a=>Rh(a)&&t(a,Bo(a));function bo(t,a,s,r){return No(t,a,xM(s),r)}const O1=({current:t})=>t?t.ownerDocument.defaultView:null,q0=(t,a)=>Math.abs(t-a);function bM(t,a){const s=q0(t.x,a.x),r=q0(t.y,a.y);return Math.sqrt(s**2+r**2)}const I0=new Set(["auto","scroll"]);class _1{constructor(a,s,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:d=!1,distanceThreshold:f=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=Zd(this.lastMoveEventInfo,this.history),j=this.startEvent!==null,A=bM(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!j&&!A)return;const{point:E}=C,{timestamp:D}=gt;this.history.push({...E,timestamp:D});const{onStart:M,onMove:O}=this.handlers;j||(M&&M(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,C)},this.handlePointerMove=(C,j)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=Kd(j,this.transformPagePoint),He.update(this.updatePoint,!0)},this.handlePointerUp=(C,j)=>{this.end();const{onEnd:A,onSessionEnd:E,resumeAnimation:D}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&D&&D(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=Zd(C.type==="pointercancel"?this.lastMoveEventInfo:Kd(j,this.transformPagePoint),this.history);this.startEvent&&A&&A(C,M),E&&E(C,M)},!Rh(a))return;this.dragSnapToOrigin=d,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=l||window;const p=Bo(a),g=Kd(p,this.transformPagePoint),{point:v}=g,{timestamp:x}=gt;this.history=[{...v,timestamp:x}];const{onSessionStart:w}=s;w&&w(a,Zd(g,this.history)),this.removeListeners=_o(bo(this.contextWindow,"pointermove",this.handlePointerMove),bo(this.contextWindow,"pointerup",this.handlePointerUp),bo(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(a){let s=a.parentElement;for(;s;){const r=getComputedStyle(s);(I0.has(r.overflowX)||I0.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const s=this.scrollPositions.get(a);if(!s)return;const r=a===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},d={x:l.x-s.x,y:l.y-s.y};d.x===0&&d.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(a,l),He.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Oa(this.updatePoint)}}function Kd(t,a){return a?{point:a(t.point)}:t}function G0(t,a){return{x:t.x-a.x,y:t.y-a.y}}function Zd({point:t},a){return{point:t,delta:G0(t,L1(a)),offset:G0(t,wM(a)),velocity:SM(a,.1)}}function wM(t){return t[0]}function L1(t){return t[t.length-1]}function SM(t,a){if(t.length<2)return{x:0,y:0};let s=t.length-1,r=null;const l=L1(t);for(;s>=0&&(r=t[s],!(l.timestamp-r.timestamp>Zn(a)));)s--;if(!r)return{x:0,y:0};const d=tn(l.timestamp-r.timestamp);if(d===0)return{x:0,y:0};const f={x:(l.x-r.x)/d,y:(l.y-r.y)/d};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function CM(t,{min:a,max:s},r){return a!==void 0&&t<a?t=r?Ge(a,t,r.min):Math.max(t,a):s!==void 0&&t>s&&(t=r?Ge(s,t,r.max):Math.min(t,s)),t}function Y0(t,a,s){return{min:a!==void 0?t.min+a:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function AM(t,{top:a,left:s,bottom:r,right:l}){return{x:Y0(t.x,s,l),y:Y0(t.y,a,r)}}function F0(t,a){let s=a.min-t.min,r=a.max-t.max;return a.max-a.min<t.max-t.min&&([s,r]=[r,s]),{min:s,max:r}}function TM(t,a){return{x:F0(t.x,a.x),y:F0(t.y,a.y)}}function jM(t,a){let s=.5;const r=St(t),l=St(a);return l>r?s=To(a.min,a.max-r,t.min):r>l&&(s=To(t.min,t.max-l,a.min)),jn(0,1,s)}function EM(t,a){const s={};return a.min!==void 0&&(s.min=a.min-t.min),a.max!==void 0&&(s.max=a.max-t.min),s}const Lf=.35;function RM(t=Lf){return t===!1?t=0:t===!0&&(t=Lf),{x:X0(t,"left","right"),y:X0(t,"top","bottom")}}function X0(t,a,s){return{min:Q0(t,a),max:Q0(t,s)}}function Q0(t,a){return typeof t=="number"?t:t[a]||0}const NM=new WeakMap;class DM{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ot(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const d=x=>{s?(this.stopAnimation(),this.snapToCursor(Bo(x).point)):this.pauseAnimation()},f=(x,w)=>{this.stopAnimation();const{drag:C,dragPropagation:j,onDragStart:A}=this.getProps();if(C&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=SD(C),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),en(D=>{let M=this.getAxisMotionValue(D).get()||0;if(Cn.test(M)){const{projection:O}=this.visualElement;if(O&&O.layout){const H=O.layout.layoutBox[D];H&&(M=St(H)*(parseFloat(M)/100))}}this.originPoint[D]=M}),A&&He.postRender(()=>A(x,w)),Rf(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},m=(x,w)=>{this.latestPointerEvent=x,this.latestPanInfo=w;const{dragPropagation:C,dragDirectionLock:j,onDirectionLock:A,onDrag:E}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:D}=w;if(j&&this.currentDirection===null){this.currentDirection=kM(D),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",w.point,D),this.updateAxis("y",w.point,D),this.visualElement.render(),E&&E(x,w)},p=(x,w)=>{this.latestPointerEvent=x,this.latestPanInfo=w,this.stop(x,w),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>en(x=>this.getAnimationState(x)==="paused"&&this.getAxisMotionValue(x).animation?.play()),{dragSnapToOrigin:v}=this.getProps();this.panSession=new _1(a,{onSessionStart:d,onStart:f,onMove:m,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:O1(this.visualElement),element:this.visualElement.current})}stop(a,s){const r=a||this.latestPointerEvent,l=s||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!l||!r)return;const{velocity:f}=l;this.startAnimation(f);const{onDragEnd:m}=this.getProps();m&&He.postRender(()=>m(r,l))}cancel(){this.isDragging=!1;const{projection:a,animationState:s}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(a,s,r){const{drag:l}=this.getProps();if(!r||!cl(a,l,this.currentDirection))return;const d=this.getAxisMotionValue(a);let f=this.originPoint[a]+r[a];this.constraints&&this.constraints[a]&&(f=CM(f,this.constraints[a],this.elastic[a])),d.set(f)}resolveConstraints(){const{dragConstraints:a,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;a&&po(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&r?this.constraints=AM(r.layoutBox,a):this.constraints=!1,this.elastic=RM(s),l!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&en(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=EM(r.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:s}=this.getProps();if(!a||!po(a))return!1;const r=a.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const d=VD(r,l.root,this.visualElement.getTransformPagePoint());let f=TM(l.layout.layoutBox,d);if(s){const m=s(PD(f));this.hasMutatedConstraints=!!m,m&&(f=n1(m))}return f}startAnimation(a){const{drag:s,dragMomentum:r,dragElastic:l,dragTransition:d,dragSnapToOrigin:f,onDragTransitionEnd:m}=this.getProps(),p=this.constraints||{},g=en(v=>{if(!cl(v,s,this.currentDirection))return;let x=p&&p[v]||{};f&&(x={min:0,max:0});const w=l?200:1e6,C=l?40:1e7,j={type:"inertia",velocity:r?a[v]:0,bounceStiffness:w,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...d,...x};return this.startAxisValueAnimation(v,j)});return Promise.all(g).then(m)}startAxisValueAnimation(a,s){const r=this.getAxisMotionValue(a);return Rf(this.visualElement,a),r.start(Ch(a,r,0,s,this.visualElement,!1))}stopAnimation(){en(a=>this.getAxisMotionValue(a).stop())}pauseAnimation(){en(a=>this.getAxisMotionValue(a).animation?.pause())}getAnimationState(a){return this.getAxisMotionValue(a).animation?.state}getAxisMotionValue(a){const s=`_drag${a.toUpperCase()}`,r=this.visualElement.getProps(),l=r[s];return l||this.visualElement.getValue(a,(r.initial?r.initial[a]:void 0)||0)}snapToCursor(a){en(s=>{const{drag:r}=this.getProps();if(!cl(s,r,this.currentDirection))return;const{projection:l}=this.visualElement,d=this.getAxisMotionValue(s);if(l&&l.layout){const{min:f,max:m}=l.layout.layoutBox[s],p=d.get()||0;d.set(a[s]-Ge(f,m,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!po(s)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};en(f=>{const m=this.getAxisMotionValue(f);if(m&&this.constraints!==!1){const p=m.get();l[f]=jM({min:p,max:p},this.constraints[f])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),en(f=>{if(!cl(f,a,null))return;const m=this.getAxisMotionValue(f),{min:p,max:g}=this.constraints[f];m.set(Ge(p,g,l[f]))})}addListeners(){if(!this.visualElement.current)return;NM.set(this.visualElement,this);const a=this.visualElement.current,s=bo(a,"pointerdown",p=>{const{drag:g,dragListener:v=!0}=this.getProps();g&&v&&!Zw(p.target)&&this.start(p)}),r=()=>{const{dragConstraints:p}=this.getProps();po(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,d=l.addEventListener("measure",r);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),He.read(r);const f=No(window,"resize",()=>this.scalePositionWithinConstraints()),m=l.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(en(v=>{const x=this.getAxisMotionValue(v);x&&(this.originPoint[v]+=p[v].translate,x.set(x.get()+p[v].translate))}),this.visualElement.render())}));return()=>{f(),s(),d(),m&&m()}}getProps(){const a=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:d=!1,dragElastic:f=Lf,dragMomentum:m=!0}=a;return{...a,drag:s,dragDirectionLock:r,dragPropagation:l,dragConstraints:d,dragElastic:f,dragMomentum:m}}}function cl(t,a,s){return(a===!0||a===t)&&(s===null||s===t)}function kM(t,a=10){let s=null;return Math.abs(t.y)>a?s="y":Math.abs(t.x)>a&&(s="x"),s}class MM extends Pa{constructor(a){super(a),this.removeGroupControls=nn,this.removeListeners=nn,this.controls=new DM(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||nn}update(){const{dragControls:a}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};a!==s&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const K0=t=>(a,s)=>{t&&He.postRender(()=>t(a,s))};class OM extends Pa{constructor(){super(...arguments),this.removePointerDownListener=nn}onPointerDown(a){this.session=new _1(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:O1(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:s,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:K0(a),onStart:K0(s),onMove:r,onEnd:(d,f)=>{delete this.session,l&&He.postRender(()=>l(d,f))}}}mount(){this.removePointerDownListener=bo(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Wd=!1;class _M extends S.Component{componentDidMount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:r,layoutId:l}=this.props,{projection:d}=a;d&&(s.group&&s.group.add(d),r&&r.register&&l&&r.register(d),Wd&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,onExitComplete:()=>this.safeToRemove()})),xl.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:s,visualElement:r,drag:l,isPresent:d}=this.props,{projection:f}=r;return f&&(f.isPresent=d,Wd=!0,l||a.layoutDependency!==s||s===void 0||a.isPresent!==d?f.willUpdate():this.safeToRemove(),a.isPresent!==d&&(d?f.promote():f.relegate()||He.postRender(()=>{const m=f.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),Eh.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:l}=a;Wd=!0,l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function P1(t){const[a,s]=qk(),r=S.useContext(tw);return h.jsx(_M,{...t,layoutGroup:r,switchLayoutGroup:S.useContext(k1),isPresent:a,safeToRemove:s})}const LM={pan:{Feature:OM},drag:{Feature:MM,ProjectionNode:C1,MeasureLayout:P1}};function Z0(t,a,s){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,d=r[l];d&&He.postRender(()=>d(a,Bo(a)))}class PM extends Pa{mount(){const{current:a}=this.node;a&&(this.unmount=CD(a,(s,r)=>(Z0(this.node,r,"Start"),l=>Z0(this.node,l,"End"))))}unmount(){}}class BM extends Pa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!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=_o(No(this.node.current,"focus",()=>this.onFocus()),No(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function W0(t,a,s){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),d=r[l];d&&He.postRender(()=>d(a,Bo(a)))}class zM extends Pa{mount(){const{current:a}=this.node;a&&(this.unmount=jD(a,(s,r)=>(W0(this.node,r,"Start"),(l,{success:d})=>W0(this.node,l,d?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Pf=new WeakMap,$d=new WeakMap,VM=t=>{const a=Pf.get(t.target);a&&a(t)},UM=t=>{t.forEach(VM)};function HM({root:t,...a}){const s=t||document;$d.has(s)||$d.set(s,{});const r=$d.get(s),l=JSON.stringify(a);return r[l]||(r[l]=new IntersectionObserver(UM,{root:t,...a})),r[l]}function qM(t,a,s){const r=HM(a);return Pf.set(t,s),r.observe(t),()=>{Pf.delete(t),r.unobserve(t)}}const IM={some:0,all:1};class GM extends Pa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:s,margin:r,amount:l="some",once:d}=a,f={root:s?s.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:IM[l]},m=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,d&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:v,onViewportLeave:x}=this.node.getProps(),w=g?v:x;w&&w(p)};return qM(this.node.current,f,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:s}=this.node;["amount","margin","root"].some(YM(a,s))&&this.startObserver()}unmount(){}}function YM({viewport:t={}},{viewport:a={}}={}){return s=>t[s]!==a[s]}const FM={inView:{Feature:GM},tap:{Feature:zM},focus:{Feature:BM},hover:{Feature:PM}},XM={layout:{ProjectionNode:C1,MeasureLayout:P1}},QM={...vM,...FM,...LM,...XM},le=hM(QM,mM);var KM=Symbol.for("react.lazy"),Ll=zl[" use ".trim().toString()];function ZM(t){return typeof t=="object"&&t!==null&&"then"in t}function B1(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===KM&&"_payload"in t&&ZM(t._payload)}function z1(t){const a=$M(t),s=S.forwardRef((r,l)=>{let{children:d,...f}=r;B1(d)&&typeof Ll=="function"&&(d=Ll(d._payload));const m=S.Children.toArray(d),p=m.find(e6);if(p){const g=p.props.children,v=m.map(x=>x===p?S.Children.count(g)>1?S.Children.only(null):S.isValidElement(g)?g.props.children:null:x);return h.jsx(a,{...f,ref:l,children:S.isValidElement(g)?S.cloneElement(g,void 0,v):null})}return h.jsx(a,{...f,ref:l,children:d})});return s.displayName=`${t}.Slot`,s}var WM=z1("Slot");function $M(t){const a=S.forwardRef((s,r)=>{let{children:l,...d}=s;if(B1(l)&&typeof Ll=="function"&&(l=Ll(l._payload)),S.isValidElement(l)){const f=n6(l),m=t6(d,l.props);return l.type!==S.Fragment&&(m.ref=r?Il(r,f):f),S.cloneElement(l,m)}return S.Children.count(l)>1?S.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var JM=Symbol("radix.slottable");function e6(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===JM}function t6(t,a){const s={...a};for(const r in a){const l=t[r],d=a[r];/^on[A-Z]/.test(r)?l&&d?s[r]=(...m)=>{const p=d(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...d}:r==="className"&&(s[r]=[l,d].filter(Boolean).join(" "))}return{...t,...s}}function n6(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}const a6=Qf("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ie=S.forwardRef(({className:t,variant:a,size:s,asChild:r=!1,...l},d)=>{const f=r?WM:"button";return h.jsx(f,{className:lt(a6({variant:a,size:s,className:t})),ref:d,...l})});Ie.displayName="Button";const i6=Qf("whitespace-nowrap inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover-elevate ",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow-xs",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground shadow-xs",outline:"text-foreground border [border-color:var(--badge-outline)]"}},defaultVariants:{variant:"default"}});function wn({className:t,variant:a,...s}){return h.jsx("div",{className:lt(i6({variant:a}),t),...s})}function Rn(){return h.jsx("header",{"data-testid":"header-site",className:"sticky top-0 z-50 border-b bg-background/90 supports-[backdrop-filter]:backdrop-blur-xl",children:h.jsx("div",{className:"ppre-container",children:h.jsxs("div",{className:"flex h-20 items-center justify-between gap-2 md:gap-4",children:[h.jsxs(Ta,{href:"/","data-testid":"link-home",className:"group flex items-center gap-2 shrink-0",children:[h.jsx("img",{src:"/images/PacificPremieD52aR03cP13ZL-Hoover3c_icon_1770843391481.png",alt:"Pacific Premier Logo",className:"h-8 md:h-10 w-auto"}),h.jsxs("div",{className:"leading-tight hidden sm:block",children:[h.jsx("div",{"data-testid":"text-brand",className:"text-xs md:text-sm font-bold tracking-tight text-[#003366]",children:"Pacific Premier"}),h.jsx("div",{"data-testid":"text-brand-sub",className:"text-[10px] md:text-[11px] font-medium text-[#00acc8]",children:"Real Estate"})]})]}),h.jsxs("nav",{"data-testid":"nav-primary",className:"hidden lg:flex items-center justify-center gap-3 xl:gap-5 whitespace-nowrap overflow-x-auto flex-nowrap w-full mx-4",children:[h.jsx(Ta,{href:"/buy",className:"text-sm font-medium text-muted-foreground hover:text-[#00acc8] shrink-0",children:"Buyer Tools"}),h.jsx(Ta,{href:"/sell",className:"text-sm font-medium text-muted-foreground hover:text-[#00acc8] shrink-0",children:"Seller Tools"}),h.jsx(Ta,{href:"/invest",className:"text-sm font-medium text-muted-foreground hover:text-[#00acc8] shrink-0",children:"Investments"}),h.jsx(Ta,{href:"/communities",className:"text-sm font-medium text-muted-foreground hover:text-[#00acc8] shrink-0",children:"Communities"}),h.jsx(Ta,{href:"/advisors",className:"text-sm font-medium text-muted-foreground hover:text-[#00acc8] shrink-0",children:"Advisors"}),h.jsx(Ta,{href:"/faq",className:"text-sm font-medium text-muted-foreground hover:text-[#00acc8] shrink-0",children:"FAQ"}),h.jsx(Ta,{href:"/testimonials",className:"text-sm font-medium text-muted-foreground hover:text-[#00acc8] shrink-0",children:"Testimonials"})]}),h.jsxs("div",{className:"flex items-center gap-2 md:gap-3 shrink-0",children:[h.jsxs("div",{className:"hidden xl:flex items-center gap-2 mr-1",children:[h.jsx("a",{href:"https://www.instagram.com/pacpremier",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#00acc8] transition-colors",title:"Instagram",children:h.jsx(Jx,{className:"h-4 w-4"})}),h.jsx("a",{href:"https://www.youtube.com/channel/UC_Nl1Xg2sq4YuLEGHmG9Nvg",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#00acc8] transition-colors",title:"YouTube",children:h.jsx(ib,{className:"h-4 w-4"})}),h.jsx("a",{href:"https://www.facebook.com/pacificpremier/",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#00acc8] transition-colors",title:"Facebook",children:h.jsx(Zx,{className:"h-4 w-4"})})]}),h.jsxs(Ie,{"data-testid":"button-cta-consultation",className:"shadow-sm bg-[#00acc8] hover:bg-[#00acc8]/90 text-xs md:text-sm px-3 md:px-4",onClick:()=>{const t=document.getElementById("contact");t?t.scrollIntoView({behavior:"smooth",block:"start"}):window.location.href="/#contact"},children:["Get Started",h.jsx(ts,{className:"ml-1.5 md:ml-2 h-3 w-3 md:h-4 md:w-4 hidden sm:inline"})]})]})]})})})}var s6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],o6=s6.reduce((t,a)=>{const s=z1(`Primitive.${a}`),r=S.forwardRef((l,d)=>{const{asChild:f,...m}=l,p=f?s:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(p,{...m,ref:d})});return r.displayName=`Primitive.${a}`,{...t,[a]:r}},{}),r6="Separator",$0="horizontal",l6=["horizontal","vertical"],V1=S.forwardRef((t,a)=>{const{decorative:s,orientation:r=$0,...l}=t,d=c6(r)?r:$0,m=s?{role:"none"}:{"aria-orientation":d==="vertical"?d:void 0,role:"separator"};return h.jsx(o6.div,{"data-orientation":d,...m,...l,ref:a})});V1.displayName=r6;function c6(t){return l6.includes(t)}var U1=V1;const La=S.forwardRef(({className:t,orientation:a="horizontal",decorative:s=!0,...r},l)=>h.jsx(U1,{ref:l,decorative:s,orientation:a,className:lt("shrink-0 bg-border",a==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...r}));La.displayName=U1.displayName;function Nn(){return h.jsx("footer",{"data-testid":"footer",className:"bg-white border-t border-[#00acc8]/10 py-12",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs("div",{className:"grid gap-12 md:grid-cols-[1.5fr_1fr_1.5fr_1fr]",children:[h.jsxs("div",{className:"space-y-6",children:[h.jsx("img",{src:"/images/PacificPremieD52aR03cP13ZL-Hoover3c_1770843391480.png",alt:"Pacific Premier Full Logo",className:"h-14 w-auto"}),h.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed max-w-sm",children:"Pacific Premier is a dedicated boutique real estate firm licensed in California and Arizona, providing elite residential and investment services."})]}),h.jsxs("div",{children:[h.jsx("h4",{className:"font-bold text-[#003366] mb-4",children:"Our Offices"}),h.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[h.jsxs("li",{className:"flex items-start gap-2",children:[h.jsx(Ra,{className:"h-4 w-4 text-[#00acc8] shrink-0 mt-0.5"}),h.jsxs("span",{children:[h.jsx("strong",{children:"Southern California"}),h.jsx("br",{}),"Serving San Diego, Orange, and Los Angeles Counties, with a focus on coastal markets."]})]}),h.jsxs("li",{className:"flex items-start gap-2",children:[h.jsx(Ra,{className:"h-4 w-4 text-[#00acc8] shrink-0 mt-0.5"}),h.jsxs("span",{children:[h.jsx("strong",{children:"Phoenix, AZ"}),h.jsx("br",{}),"Expert representation in Phoenix and the East Valley."]})]})]})]}),h.jsxs("div",{className:"space-y-4",children:[h.jsx("h4",{className:"font-bold text-[#003366]",children:"Quick Links"}),h.jsxs("nav",{className:"flex flex-col gap-2 text-sm text-muted-foreground",children:[h.jsx("a",{href:"/buy",className:"hover:text-[#00acc8]",children:"Buyer Tools"}),h.jsx("a",{href:"/sell",className:"hover:text-[#00acc8]",children:"Seller Tools"}),h.jsx("a",{href:"/invest",className:"hover:text-[#00acc8]",children:"Investments"}),h.jsx("a",{href:"/communities",className:"hover:text-[#00acc8]",children:"Communities"}),h.jsx("a",{href:"/advisors",className:"hover:text-[#00acc8]",children:"Advisors"}),h.jsx("a",{href:"/faq",className:"hover:text-[#00acc8]",children:"FAQ"}),h.jsx("a",{href:"/testimonials",className:"hover:text-[#00acc8]",children:"Testimonials"}),h.jsx("a",{href:"/#contact",className:"hover:text-[#00acc8]",children:"Contact"})]})]}),h.jsxs("div",{children:[h.jsx("h4",{className:"font-bold text-[#003366] mb-4",children:"Follow Us"}),h.jsxs("div",{className:"flex gap-3 mb-6",children:[h.jsx("a",{href:"https://www.instagram.com/pacpremier",target:"_blank",rel:"noopener noreferrer",className:"h-10 w-10 rounded-lg bg-[#00acc8]/10 flex items-center justify-center text-[#00acc8] hover:bg-[#00acc8]/20 transition-colors","data-testid":"link-social-instagram",children:h.jsx(Jx,{className:"h-5 w-5"})}),h.jsx("a",{href:"https://www.youtube.com/channel/UC_Nl1Xg2sq4YuLEGHmG9Nvg",target:"_blank",rel:"noopener noreferrer",className:"h-10 w-10 rounded-lg bg-[#00acc8]/10 flex items-center justify-center text-[#00acc8] hover:bg-[#00acc8]/20 transition-colors","data-testid":"link-social-youtube",children:h.jsx(ib,{className:"h-5 w-5"})}),h.jsx("a",{href:"https://www.facebook.com/pacificpremier/",target:"_blank",rel:"noopener noreferrer",className:"h-10 w-10 rounded-lg bg-[#00acc8]/10 flex items-center justify-center text-[#00acc8] hover:bg-[#00acc8]/20 transition-colors","data-testid":"link-social-facebook",children:h.jsx(Zx,{className:"h-5 w-5"})})]}),h.jsxs(Ie,{variant:"outline",className:"border-[#00acc8] text-[#00acc8] w-full text-xs",onClick:()=>window.location.href="mailto:info@pacificpremier.com?subject=Newsletter%20Signup","data-testid":"button-newsletter-signup",children:[h.jsx(mj,{className:"h-3 w-3 mr-1"}),"Subscribe to Newsletter"]})]})]}),h.jsx(La,{className:"my-10 bg-[#00acc8]/10"}),h.jsxs("div",{className:"space-y-4 text-center",children:[h.jsxs("div",{className:"flex flex-col md:flex-row justify-center gap-x-8 gap-y-2 text-[13px] text-muted-foreground font-medium",children:[h.jsx("span",{"data-testid":"text-footer-ca",children:"Pacific Premier Real Estate Inc., CA DRE #01982675, Ryan Evans, Designated Broker"}),h.jsx("span",{"data-testid":"text-footer-az",children:"Pacific Premier Real Estate LLC, AZ License #LC720957000, Ryan Evans, Designated Broker"})]}),h.jsxs("div",{className:"text-[11px] text-muted-foreground/60 uppercase tracking-widest",children:["© ",new Date().getFullYear()," Pacific Premier Real Estate. All Rights Reserved."]})]})]})})}const ul={hidden:{opacity:0,y:14},show:{opacity:1,y:0}},u6={hidden:{},show:{transition:{staggerChildren:.08,delayChildren:.04}}};function d6(){const[t,a]=S.useState("Coastal"),s=S.useMemo(()=>[{id:"ppre-001",address:"1427 Pacific Crest Dr",city:"Newport Beach",price:"$8,950,000",beds:5,baths:6,sqft:"5,240",status:"Available",neighborhood:"Cliffside",highlight:"Ocean-view living with private courtyard. "},{id:"ppre-002",address:"19 Seawind Terrace",city:"Laguna Beach",price:"$6,400,000",beds:4,baths:5,sqft:"4,110",status:"In Escrow",neighborhood:"Emerald Bay",highlight:"Architectural lines, natural stone, sunset decks."},{id:"ppre-003",address:"801 Vista Del Mar",city:"Manhattan Beach",price:"$5,250,000",beds:4,baths:4,sqft:"3,780",status:"Available",neighborhood:"Sand Section",highlight:"Steps to the Strand with panoramic rooftop lounge."},{id:"ppre-004",address:"300 Summit Ridge Ln",city:"Beverly Hills",price:"$12,800,000",beds:6,baths:8,sqft:"7,090",status:"Sold",neighborhood:"Trousdale",highlight:"Discreet modern estate with resort-grade amenities."}],[]);return S.useMemo(()=>t==="Coastal"?s.filter(r=>["Newport Beach","Laguna Beach"].includes(r.city)):t==="Los Angeles"?s.filter(r=>["Manhattan Beach","Beverly Hills"].includes(r.city)):s,[t,s]),h.jsxs("div",{"data-testid":"page-home",className:"min-h-dvh",children:[h.jsx(Rn,{}),h.jsxs("main",{children:[h.jsxs("section",{"data-testid":"section-hero",className:"relative overflow-hidden min-h-[85vh] flex flex-col justify-center",children:[h.jsxs("div",{className:"absolute inset-0 -z-10 bg-[#003366]",children:[h.jsx("div",{className:"absolute inset-0 bg-black/40 z-10"}),h.jsx("img",{src:"https://www.leveragere.com/slir/w1050-h550-c1050x550/assets/2075.jpg",alt:"Luxury Real Estate",className:"w-full h-full object-cover"})]}),h.jsx("div",{className:"ppre-container relative z-20",children:h.jsx("div",{className:"py-12 sm:py-16 lg:py-24 max-w-4xl",children:h.jsx(le.div,{variants:u6,initial:"hidden",animate:"show",className:"grid items-center gap-12",children:h.jsxs("div",{className:"min-w-0",children:[h.jsx(le.p,{"data-testid":"text-hero-kicker",variants:ul,className:"ppre-kicker text-[#00acc8] mb-4",children:"Boutique Excellence • CA & AZ"}),h.jsxs(le.h1,{"data-testid":"text-hero-title",variants:ul,className:"ppre-h1 mt-4 text-white",children:["Elevating the",h.jsx("span",{className:"block",children:"Standard of Home."})]}),h.jsxs(le.p,{"data-testid":"text-hero-subtitle",variants:ul,className:"mt-6 max-w-xl text-lg leading-relaxed text-white/90 font-medium",children:["Specializing in high-end residential ",h.jsx("strong",{children:"purchases and sales"})," across Southern California and Phoenix. We combine local expertise with a boutique approach to every transaction."]}),h.jsxs(le.div,{variants:ul,className:"mt-8 flex flex-col gap-4 sm:flex-row sm:items-center",children:[h.jsx(Ie,{"data-testid":"button-hero-buy",size:"lg",className:"shadow-md bg-[#00acc8] hover:bg-[#00acc8]/90 text-white border-0",onClick:()=>{document.getElementById("buy")?.scrollIntoView({behavior:"smooth",block:"start"})},children:"Browse Homes"}),h.jsx(Ie,{"data-testid":"button-hero-sell",size:"lg",variant:"outline",className:"bg-transparent border-white text-white hover:bg-white/10",onClick:()=>{document.getElementById("sell")?.scrollIntoView({behavior:"smooth",block:"start"})},children:"Sell Your Property"})]})]})})})})]}),h.jsx("section",{id:"sell","data-testid":"section-sell",className:"py-16 sm:py-24",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-12",children:[h.jsx(wn,{className:"bg-[#003366]/10 text-[#003366] border-[#003366]/20 mb-4",variant:"outline",children:"For Sellers"}),h.jsx("h2",{className:"ppre-h2 text-[#003366]",children:"Achieve Premium Value for Your Home"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"Our strategic marketing, precise pricing, and boutique approach ensure your luxury property reaches qualified buyers and achieves the highest possible sale price. We price homes accurately from the outset, ensuring quick transactions and realizing full value—rather than pricing too high and taking multiple price cuts."})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:[{icon:tb,title:"Elevated Marketing",desc:"Cinematic video, editorial photography, premium placement."},{icon:ab,title:"Strategic Pricing",desc:"Data-driven analysis to position your home optimally."},{icon:Sl,title:"Discreet Representation",desc:"Privacy and controlled exposure, on your terms."}].map(r=>h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10 text-center",children:[h.jsx("div",{className:"flex justify-center mb-4",children:h.jsx("div",{className:"h-12 w-12 rounded-lg bg-[#003366]/10 flex items-center justify-center",children:h.jsx(r.icon,{className:"h-6 w-6 text-[#003366]"})})}),h.jsx("h3",{className:"font-bold text-[#003366]",children:r.title}),h.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:r.desc})]},r.title))})]})}),h.jsx("section",{id:"valuation","data-testid":"section-valuation",className:"py-16 sm:py-24 bg-[#003366]/5",children:h.jsxs("div",{className:"ppre-container",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] text-center mb-12",children:"Home Valuation Guide"}),h.jsx("div",{className:"grid gap-8 md:grid-cols-2 lg:max-w-5xl mx-auto",children:[{title:"What is a Home Valuation?",desc:"A professional assessment of your home's market value based on comparable sales, location, condition, and current market conditions."},{title:"How is Value Calculated?",desc:"We analyze comparable properties (comps), recent sales, market trends, property features, condition, and location desirability."},{title:"How Accurate is the Valuation?",desc:"Our valuations are highly accurate when based on strong comparables, current market data, and expert analysis."},{title:"How is a Valuation Performed?",desc:"Through a comprehensive comparative market analysis (CMA), property inspection, and analysis of local market dynamics."},{title:"Why is a Valuation Important?",desc:"An accurate valuation ensures your home is priced optimally from day one to attract buyers quickly while maximizing your return."}].map((r,l)=>h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10",children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-3",children:r.title}),h.jsx("p",{className:"text-sm text-muted-foreground",children:r.desc})]},l))}),h.jsx("div",{className:"mt-8 text-center",children:h.jsxs(Ie,{className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white",onClick:()=>{document.getElementById("contact")?.scrollIntoView({behavior:"smooth"})},children:["Request Your Home Valuation",h.jsx(ts,{className:"ml-2 h-4 w-4"})]})})]})}),h.jsx("section",{id:"buy","data-testid":"section-buy",className:"py-16 sm:py-24 bg-white",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-12",children:[h.jsx(wn,{className:"bg-[#00acc8]/10 text-[#00acc8] border-[#00acc8]/20 mb-4",variant:"outline",children:"For Buyers"}),h.jsx("h2",{className:"ppre-h2 text-[#003366]",children:"Find Your Next Luxury Home"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"Whether you're searching for a coastal gem in Southern California or a premier property in the Phoenix area, our dedicated buyer representation ensures you find the right home at the right price."})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:[{icon:$x,title:"Off-Market Access",desc:"Exclusive listings not yet on the market."},{icon:Wx,title:"Negotiation Expertise",desc:"Strategic representation to secure the best terms."},{icon:Sl,title:"Complete Guidance",desc:"From search to closing, every step covered."}].map(r=>h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10 text-center",children:[h.jsx("div",{className:"flex justify-center mb-4",children:h.jsx("div",{className:"h-12 w-12 rounded-lg bg-[#00acc8]/10 flex items-center justify-center",children:h.jsx(r.icon,{className:"h-6 w-6 text-[#00acc8]"})})}),h.jsx("h3",{className:"font-bold text-[#003366]",children:r.title}),h.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:r.desc})]},r.title))}),h.jsx("div",{className:"mt-8 text-center",children:h.jsxs(Ie,{variant:"outline",className:"border-[#00acc8] text-[#00acc8]",onClick:()=>window.location.href="/communities",children:["Explore Communities",h.jsx(ts,{className:"ml-2 h-4 w-4"})]})})]})}),h.jsx("section",{id:"invest","data-testid":"section-invest",className:"py-16 sm:py-24 bg-white",children:h.jsxs("div",{className:"ppre-container text-center",children:[h.jsxs("div",{className:"max-w-3xl mx-auto",children:[h.jsx(wn,{className:"bg-[#00acc8]/10 text-[#00acc8] border-[#00acc8]/20 mb-4",variant:"outline",children:"Investment Strategy"}),h.jsx("h2",{className:"ppre-h2 text-[#003366]",children:"Build Wealth Through Real Estate"}),h.jsx("p",{className:"mt-4 text-muted-foreground mb-12",children:"Beyond traditional sales, we assist sophisticated investors in identifying high-yield opportunities, portfolio growth strategies, and complex real estate deals in Southern California and Arizona."})]}),h.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:["Flips","Multi-Family","Commercial","REO/Foreclosure"].map(r=>h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10 text-center hover:shadow-md transition-shadow",children:[h.jsx("div",{className:"h-12 w-12 rounded-lg bg-[#00acc8]/10 flex items-center justify-center mx-auto mb-4",children:h.jsx(ns,{className:"h-6 w-6 text-[#00acc8]"})}),h.jsx("h3",{className:"font-bold text-[#003366]",children:r})]},r))})]})}),h.jsx("section",{className:"bg-[#f8fcfd] border-y border-[#00acc8]/5 py-16 sm:py-24",children:h.jsx("div",{className:"ppre-container",children:h.jsxs("div",{className:"grid gap-16 lg:grid-cols-2 items-center",children:[h.jsxs("div",{children:[h.jsx("div",{className:"ppre-kicker text-[#00acc8] mb-4",children:"Our Services"}),h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:"Comprehensive Real Estate Advisory"}),h.jsxs("div",{className:"grid gap-6",children:[h.jsxs("div",{className:"flex gap-4",children:[h.jsx("div",{className:"h-10 w-10 shrink-0 rounded-lg bg-[#003366] flex items-center justify-center",children:h.jsx(Kx,{className:"text-white h-5 w-5"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Elite Sales & Marketing"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Strategic positioning and cinematic marketing for luxury residential listings."})]})]}),h.jsxs("div",{className:"flex gap-4",children:[h.jsx("div",{className:"h-10 w-10 shrink-0 rounded-lg bg-[#00acc8] flex items-center justify-center",children:h.jsx(ns,{className:"text-white h-5 w-5"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Buyer Acquisition"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Dedicated representation for luxury purchases, including off-market access."})]})]}),h.jsxs("div",{className:"flex gap-4",children:[h.jsx("div",{className:"h-10 w-10 shrink-0 rounded-lg bg-[#003366] flex items-center justify-center",children:h.jsx(eb,{className:"text-white h-5 w-5"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Investment Strategy"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Analytical data to support real estate investment and portfolio scaling."})]})]})]})]}),h.jsx("div",{className:"relative",children:h.jsxs(Pe,{className:"ppre-card p-8 ppre-noise relative z-10 border-[#00acc8]/10 shadow-lg",children:[h.jsx("h3",{className:"text-xl font-bold text-[#003366] mb-4",children:"The Pacific Premier Advantage"}),h.jsxs("ul",{className:"space-y-3 mb-6",children:[h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Licensed Real Estate Attorney Available for All Transactions"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Multi-State Licensing (CA & AZ)"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Boutique Personalized Attention"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Sophisticated Digital Marketing Suite"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Deep Network of Private Buyers"]})]}),h.jsxs("div",{className:"pt-6 border-t border-[#00acc8]/10",children:[h.jsx("div",{className:"text-sm font-semibold text-[#003366] mb-2",children:"Our Specialties:"}),h.jsx("div",{className:"flex flex-wrap gap-2",children:["Buying","Selling","Investments","Flips","Luxury","Coastal","Multi Family"].map(r=>h.jsx(wn,{className:"bg-[#00acc8]/10 text-[#00acc8] border-[#00acc8]/20",children:r},r))})]})]})})]})})}),h.jsx("section",{id:"contact",className:"py-16 sm:py-24 bg-white",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-12",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366]",children:"Contact Our Advisory Team"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"Whether you are looking to acquire your next home, list a premier property, or explore investment options, we are here to provide expert guidance."})]}),h.jsxs("div",{className:"grid md:grid-cols-2 gap-12",children:[h.jsxs("div",{className:"space-y-8",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-2",children:"Southern California Office"}),h.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Serving San Diego, Orange, and Los Angeles Counties, with a focus on coastal markets."}),h.jsxs(Ie,{variant:"outline",className:"border-[#00acc8] text-[#00acc8] w-full",onClick:()=>window.location.href="tel:+18588889333",children:[h.jsx(wl,{className:"h-4 w-4 mr-2"}),"(858) 888-9333"]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-2",children:"Phoenix Office"}),h.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Expert representation in Phoenix and the East Valley (Scottsdale, Paradise Valley, Chandler, Gilbert, Queen Creek)."}),h.jsxs(Ie,{variant:"outline",className:"border-[#00acc8] text-[#00acc8] w-full",onClick:()=>window.location.href="tel:+14809996263",children:[h.jsx(wl,{className:"h-4 w-4 mr-2"}),"(480) 999-6263"]})]}),h.jsx("div",{className:"pt-6",children:h.jsx(Ie,{variant:"outline",className:"border-[#003366] text-[#003366] w-full",onClick:()=>window.location.href="mailto:info@pacificpremier.com",children:"Email Us Directly"})})]}),h.jsxs(Pe,{className:"p-6 border-[#00acc8]/10 shadow-sm flex flex-col justify-center items-center text-center bg-gradient-to-br from-[#003366]/5 to-[#00acc8]/5",children:[h.jsx("h3",{className:"text-xl font-bold text-[#003366] mb-4",children:"Ready to Discuss Your Real Estate Goals?"}),h.jsx("p",{className:"text-muted-foreground mb-8",children:"We provide white-glove service for luxury buyers, sellers, and investors across California and Arizona."}),h.jsx(Ie,{className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white w-full sm:w-auto",onClick:()=>window.location.href="mailto:info@pacificpremier.com?subject=Real%20Estate%20Inquiry",children:"Email Our Advisory Team"})]})]})]})}),h.jsx(Nn,{})]})]})}const uo={hidden:{opacity:0,y:20},show:{opacity:1,y:0}},J0={hidden:{},show:{transition:{staggerChildren:.1,delayChildren:.05}}},f6=[{id:1,name:"Margaret Chen",role:"Home Seller",location:"Newport Beach, CA",content:"Pacific Premier's strategic marketing and guidance resulted in an above-asking-price sale in just 18 days. Their professionalism and attention to detail were exceptional.",rating:5},{id:2,name:"David & Elena Morales",role:"Home Buyers",location:"Paradise Valley, AZ",content:"Ryan's expertise and off-market connections gave us access to the perfect home before it hit the market. His negotiation skills saved us hundreds of thousands of dollars.",rating:5},{id:3,name:"James Peterson",role:"Real Estate Investor",location:"Laguna Beach, CA",content:"As a multi-property investor, I appreciate Pacific Premier's deep market knowledge and analytical approach. They've become my go-to for strategic acquisitions.",rating:5},{id:4,name:"Sophia Renault",role:"Home Seller",location:"San Diego, CA",content:"The cinematic marketing and editorial photography truly set my property apart. I felt supported throughout the entire process from listing to closing.",rating:5},{id:5,name:"Robert & Susan Walsh",role:"Home Buyers",location:"Scottsdale, AZ",content:"Ryan's dual expertise as both an attorney and broker gave us confidence in every step of the transaction. He negotiated on our behalf with remarkable skill.",rating:5},{id:6,name:"Lisa Anderson",role:"Investment Property Client",location:"Orange County, CA",content:"Their investment advisory service helped me identify and acquire a multi-family property with strong upside potential. Professional, responsive, and results-driven.",rating:5}];function h6(){return h.jsxs("div",{className:"min-h-dvh bg-[#f8fcfd]",children:[h.jsx(Rn,{}),h.jsx("main",{children:h.jsx("section",{className:"py-16 sm:py-24",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs(le.div,{variants:J0,initial:"hidden",animate:"show",className:"max-w-3xl mx-auto text-center mb-16",children:[h.jsx(le.p,{variants:uo,className:"ppre-kicker text-[#00acc8]",children:"Client Voices"}),h.jsx(le.h1,{variants:uo,className:"ppre-h1 mt-4 text-[#003366]",children:"Trusted by luxury home buyers and sellers"}),h.jsx(le.p,{variants:uo,className:"mt-6 text-lg text-muted-foreground",children:"Discover what clients say about their experience with Pacific Premier Real Estate and our commitment to excellence."})]}),h.jsx(le.div,{variants:J0,initial:"hidden",animate:"show",className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:f6.map(t=>h.jsx(le.div,{variants:uo,children:h.jsxs(Pe,{className:"h-full ppre-card ppre-noise border-[#00acc8]/10 p-6 flex flex-col",children:[h.jsxs("div",{className:"flex items-start justify-between mb-4",children:[h.jsx("div",{className:"flex gap-1",children:Array.from({length:t.rating}).map((a,s)=>h.jsx(nb,{className:"h-4 w-4 text-[#00acc8] fill-[#00acc8]"},s))}),h.jsx(bj,{className:"h-5 w-5 text-[#00acc8]/30"})]}),h.jsxs("p",{className:"text-muted-foreground leading-relaxed flex-grow mb-6 text-sm",children:['"',t.content,'"']}),h.jsx(La,{className:"my-4 bg-[#00acc8]/10"}),h.jsxs("div",{children:[h.jsx("div",{className:"font-semibold text-[#003366]",children:t.name}),h.jsx("div",{className:"text-xs text-[#00acc8] font-medium",children:t.role}),h.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:t.location})]})]})},t.id))}),h.jsx(le.div,{variants:uo,initial:"hidden",animate:"show",className:"mt-16 text-center",children:h.jsxs("div",{className:"max-w-2xl mx-auto bg-gradient-to-br from-[#003366]/5 to-[#00acc8]/5 border border-[#00acc8]/20 rounded-2xl p-8",children:[h.jsx("h2",{className:"text-2xl font-bold text-[#003366] mb-4",children:"Ready to work with us?"}),h.jsx("p",{className:"text-muted-foreground mb-6",children:"Whether you're buying, selling, or investing, our team is ready to deliver exceptional results."}),h.jsx(Ie,{className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white",onClick:()=>window.location.href="/#contact",children:"Get in Touch"})]})})]})})}),h.jsx(Nn,{})]})}const Kn={hidden:{opacity:0,y:20},show:{opacity:1,y:0}},m6={hidden:{},show:{transition:{staggerChildren:.08,delayChildren:.05}}};function p6(){return h.jsxs("div",{className:"min-h-dvh bg-white",children:[h.jsx(Rn,{}),h.jsx("main",{children:h.jsx("section",{className:"py-16 sm:py-24 bg-gradient-to-b from-[#003366]/5 to-transparent",children:h.jsx("div",{className:"ppre-container",children:h.jsxs(le.div,{variants:m6,initial:"hidden",animate:"show",className:"max-w-4xl mx-auto",children:[h.jsx("div",{className:"mb-8",children:h.jsxs(Ie,{onClick:()=>window.location.href="/advisors",variant:"link",className:"text-[#00acc8] pl-0",children:[h.jsx(Xx,{className:"h-4 w-4 mr-2"})," Back to Advisors"]})}),h.jsxs(le.div,{variants:Kn,className:"text-center mb-12",children:[h.jsx("h1",{className:"ppre-h1 text-[#003366]",children:"Ryan Evans"}),h.jsx("p",{className:"text-lg text-[#00acc8] font-semibold mt-2",children:"Managing Broker & Licensed Real Estate Attorney"})]}),h.jsx(le.div,{variants:Kn,className:"mb-12",children:h.jsx("div",{className:"aspect-square w-64 mx-auto mb-8 rounded-2xl overflow-hidden shadow-lg border border-[#00acc8]/10 bg-gradient-to-b from-[#003366]/10 to-transparent",children:h.jsx("img",{src:"/images/evans-ryan_001_1773014364466.jpg",alt:"Ryan Evans",className:"w-full h-full object-cover object-top"})})}),h.jsxs(le.div,{variants:Kn,className:"bg-[#f8fcfd] rounded-3xl p-8 sm:p-12 border border-[#00acc8]/10 mb-12",children:[h.jsx("p",{className:"text-lg leading-relaxed text-muted-foreground mb-6",children:"I pride myself on my professionalism, extensive national real estate network, and knowledge of the real estate market. As a licensed attorney and real estate broker, I provide a higher level of expertise and service than you will find most anywhere else."}),h.jsx("p",{className:"text-lg leading-relaxed text-muted-foreground",children:"I have advanced experience in residential sales and rentals, commercial sales and rentals, and complicated real estate deals. I am happy to act as a resource or refer you to any one of my connections in my national network. Please take a look at my experience, education, and additional information listed below and reach out to me at your convenience."})]}),h.jsxs(le.div,{variants:Kn,className:"mb-12",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:"Core Competencies"}),h.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:[{icon:lj,title:"Languages",content:"English, Portuguese, Spanish"},{icon:ns,title:"Practice Areas",content:"Residential, Commercial, Investment, & Complex Transactions"}].map(t=>h.jsx(Pe,{className:"ppre-card p-6 border-[#00acc8]/10",children:h.jsxs("div",{className:"flex items-start gap-3",children:[h.jsx(t.icon,{className:"h-6 w-6 text-[#00acc8] shrink-0 mt-1"}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-2",children:t.title}),h.jsx("p",{className:"text-sm text-muted-foreground",children:t.content})]})]})},t.title))})]}),h.jsxs(le.div,{variants:Kn,className:"mb-12",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:"Experience"}),h.jsx(Pe,{className:"ppre-card p-8 border-[#00acc8]/10",children:h.jsxs("div",{className:"space-y-6",children:[h.jsxs("div",{children:[h.jsxs("h3",{className:"font-bold text-[#003366] flex items-center gap-2 mb-3",children:[h.jsx(Qx,{className:"h-5 w-5 text-[#00acc8]"}),"Residential Real Estate"]}),h.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground ml-7",children:[h.jsx("li",{children:"• Sales and leases from both buyer/seller and landlord/tenant sides"}),h.jsx("li",{children:"• Traditional sales, short sales, REOs, foreclosures, and fix-and-flips"}),h.jsx("li",{children:"• Multi-property investment strategy and portfolio management"})]})]}),h.jsx(La,{className:"bg-[#00acc8]/10"}),h.jsxs("div",{children:[h.jsxs("h3",{className:"font-bold text-[#003366] flex items-center gap-2 mb-3",children:[h.jsx(ns,{className:"h-5 w-5 text-[#00acc8]"}),"Commercial Real Estate"]}),h.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground ml-7",children:[h.jsx("li",{children:"• Sales and leases from both buyer/seller and landlord/tenant sides"}),h.jsx("li",{children:"• Commercial retail transactions (specialty focus)"}),h.jsx("li",{children:"• Drafted and negotiated commercial real estate leases for over 5,000 separate properties across all 50 states and Canada"}),h.jsx("li",{children:"• Drafting and reviewing purchase and financing documents"})]})]}),h.jsx(La,{className:"bg-[#00acc8]/10"}),h.jsxs("div",{children:[h.jsxs("h3",{className:"font-bold text-[#003366] flex items-center gap-2 mb-3",children:[h.jsx(Ra,{className:"h-5 w-5 text-[#00acc8]"}),"Commercial Development & Acquisition"]}),h.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground ml-7",children:[h.jsx("li",{children:"• Prospective purchase acquisition of two separate Panera Bread franchisees totaling 30+ restaurants"}),h.jsx("li",{children:"• Identified commercial land parcels to purchase and develop into retail shopping centers in Greater Chicago"}),h.jsx("li",{children:"• Attended local meetings for town planning, zoning, and construction boards"})]})]})]})})]}),h.jsxs(le.div,{variants:Kn,className:"mb-12",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:"Education"}),h.jsx(Pe,{className:"ppre-card p-8 border-[#00acc8]/10",children:h.jsxs("div",{className:"space-y-4",children:[h.jsxs("div",{className:"flex items-start gap-4",children:[h.jsx(Md,{className:"h-6 w-6 text-[#00acc8] shrink-0 mt-1"}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Bachelor of Science, Business Management"}),h.jsx("p",{className:"text-sm text-[#00acc8] font-medium",children:"Arizona State University"}),h.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Graduated Summa Cum Laude"})]})]}),h.jsxs("div",{className:"flex items-start gap-4",children:[h.jsx(Md,{className:"h-6 w-6 text-[#00acc8] shrink-0 mt-1"}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Juris Doctor (J.D.)"}),h.jsx("p",{className:"text-sm text-[#00acc8] font-medium",children:"Boston University School of Law"})]})]}),h.jsxs("div",{className:"flex items-start gap-4",children:[h.jsx(Md,{className:"h-6 w-6 text-[#00acc8] shrink-0 mt-1"}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Master of Business Administration (M.B.A.)"}),h.jsx("p",{className:"text-sm text-[#00acc8] font-medium",children:"Boston University School of Management"})]})]})]})})]}),h.jsxs(le.div,{variants:Kn,className:"mb-12",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:"Licensing & Credentials"}),h.jsx(Pe,{className:"ppre-card p-8 border-[#00acc8]/10",children:h.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-3",children:"Bar Admission"}),h.jsxs("div",{className:"space-y-2",children:[h.jsx(wn,{className:"bg-[#003366]/10 text-[#003366] border-[#003366]/20",children:"California"}),h.jsx(wn,{className:"bg-[#003366]/10 text-[#003366] border-[#003366]/20 ml-2",children:"Arizona"}),h.jsx(wn,{className:"bg-[#003366]/10 text-[#003366] border-[#003366]/20 ml-2",children:"Massachusetts"}),h.jsx(wn,{className:"bg-[#003366]/10 text-[#003366] border-[#003366]/20 ml-2",children:"Nebraska"})]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-3",children:"Real Estate Licenses"}),h.jsx("div",{className:"space-y-2",children:h.jsxs("div",{className:"text-sm text-muted-foreground",children:[h.jsx("p",{children:"• CA DRE #01982675"}),h.jsx("p",{children:"• AZ License #LC720957000"}),h.jsx("p",{className:"mt-2 font-semibold text-[#003366]",children:"Designated Broker"})]})})]})]})})]}),h.jsxs(le.div,{variants:Kn,className:"mb-12",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:"Why Work With Ryan"}),h.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:[{title:"Dual Expertise",desc:"Combines deep legal knowledge with real estate market experience."},{title:"Advanced Experience",desc:"Years of proven success in complex residential and commercial transactions."},{title:"National Network",desc:"Extensive connections and resources across the country."}].map(t=>h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10 text-center",children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-2",children:t.title}),h.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc})]},t.title))})]}),h.jsxs(le.div,{variants:Kn,className:"bg-gradient-to-br from-[#003366]/5 to-[#00acc8]/5 border border-[#00acc8]/20 rounded-2xl p-8 text-center",children:[h.jsx("h2",{className:"text-2xl font-bold text-[#003366] mb-4",children:"Ready to connect?"}),h.jsx("p",{className:"text-muted-foreground mb-6",children:"Reach out to discuss your real estate needs, or let me refer you to someone in my network."}),h.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[h.jsxs(Ie,{className:"bg-[#003366] hover:bg-[#003366]/90 text-white flex items-center justify-center",onClick:()=>window.location.href="tel:+18588889333",children:[h.jsx(wl,{className:"h-4 w-4 mr-2"}),"Southern California: (858) 888-9333"]}),h.jsxs(Ie,{className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white flex items-center justify-center",onClick:()=>window.location.href="tel:+14809996263",children:[h.jsx(wl,{className:"h-4 w-4 mr-2"}),"Phoenix: (480) 999-6263"]})]})]})]})})})}),h.jsx(Nn,{})]})}const fo={hidden:{opacity:0,y:20},show:{opacity:1,y:0}},g6={hidden:{},show:{transition:{staggerChildren:.1,delayChildren:.05}}};function y6(){return h.jsxs("div",{className:"min-h-dvh bg-white",children:[h.jsx(Rn,{}),h.jsxs("main",{children:[h.jsx("section",{className:"py-16 sm:py-24 bg-gradient-to-b from-[#003366]/5 to-transparent",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs(le.div,{variants:g6,initial:"hidden",animate:"show",className:"max-w-3xl mx-auto text-center mb-16",children:[h.jsx(le.p,{variants:fo,className:"ppre-kicker text-[#00acc8]",children:"Our Team"}),h.jsx(le.h1,{variants:fo,className:"ppre-h1 mt-4 text-[#003366]",children:"Elevated Real Estate Advisory"}),h.jsx(le.p,{variants:fo,className:"mt-6 text-lg text-muted-foreground",children:"Pacific Premier is built on a foundation of deep expertise, personalized attention, and unwavering commitment to client success. Our advisors combine extensive market knowledge, legal acumen, and boutique-level service to deliver exceptional outcomes."})]}),h.jsx("div",{className:"grid gap-8 max-w-4xl mx-auto",children:h.jsxs("div",{className:"bg-[#f8fcfd] rounded-3xl p-8 sm:p-12 border border-[#00acc8]/10 text-center",children:[h.jsx("h2",{className:"text-2xl font-bold text-[#003366] mb-4",children:"Why Choose Our Advisors"}),h.jsx("div",{className:"grid gap-6 mt-8 md:grid-cols-3",children:[{icon:Qx,title:"Expertise",desc:"Advanced experience in real estate strategy and legal oversight"},{icon:ns,title:"Dedication",desc:"White-glove, personalized service for each client"},{icon:nb,title:"Excellence",desc:"Proven track record of premium outcomes"}].map(t=>h.jsxs("div",{className:"space-y-3",children:[h.jsx("div",{className:"flex justify-center",children:h.jsx(t.icon,{className:"h-6 w-6 text-[#00acc8]"})}),h.jsx("h3",{className:"font-bold text-[#003366]",children:t.title}),h.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc})]},t.title))})]})})]})}),h.jsx("section",{className:"py-16 sm:py-24",children:h.jsxs("div",{className:"ppre-container",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] text-center mb-12",children:"Our Advisors"}),h.jsxs("div",{className:"grid gap-8 md:grid-cols-2 lg:max-w-4xl mx-auto",children:[h.jsx(le.div,{variants:fo,initial:"hidden",animate:"show",children:h.jsxs(Pe,{className:"ppre-card ppre-noise border-[#00acc8]/10 overflow-hidden shadow-lg hover:shadow-xl transition-shadow",children:[h.jsx("div",{className:"aspect-square overflow-hidden bg-gradient-to-br from-[#003366]/10 to-[#00acc8]/10",children:h.jsx("img",{src:"/images/evans-ryan_001_1773014364466.jpg",alt:"Ryan Evans",className:"w-full h-full object-cover object-top"})}),h.jsxs("div",{className:"p-6",children:[h.jsx("h3",{className:"text-2xl font-bold text-[#003366]",children:"Ryan Evans"}),h.jsx("p",{className:"text-[#00acc8] font-semibold mt-1",children:"Managing Broker"}),h.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:"Licensed Real Estate Attorney (CA, AZ, MA, NE)"}),h.jsx(La,{className:"my-4 bg-[#00acc8]/10"}),h.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-6",children:"Advanced expertise in residential, commercial, and investment real estate. Extensive national network and deep market knowledge."}),h.jsx(Ie,{className:"w-full bg-[#00acc8] hover:bg-[#00acc8]/90 text-white",onClick:()=>window.location.href="/advisors/ryan",children:"View Full Profile"})]})]})}),h.jsx(le.div,{variants:fo,initial:"hidden",animate:"show",children:h.jsxs(Pe,{className:"ppre-card ppre-noise border-[#00acc8]/10 overflow-hidden shadow-lg hover:shadow-xl transition-shadow flex flex-col justify-center items-center p-8 text-center bg-gradient-to-br from-[#003366]/5 to-[#00acc8]/5 h-full min-h-[400px]",children:[h.jsx("div",{className:"text-5xl mb-4 text-[#00acc8]",children:"+"}),h.jsx("h3",{className:"text-xl font-bold text-[#003366] mb-2",children:"More Advisors"}),h.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"We're expanding our team to better serve our clients across all markets."}),h.jsx(Ie,{variant:"outline",className:"border-[#00acc8] text-[#00acc8]",onClick:()=>window.location.href="/#contact",children:"Contact Us"})]})})]})]})})]}),h.jsx(Nn,{})]})}var tc="Collapsible",[v6,H1]=os(tc),[x6,Lh]=v6(tc),q1=S.forwardRef((t,a)=>{const{__scopeCollapsible:s,open:r,defaultOpen:l,disabled:d,onOpenChange:f,...m}=t,[p,g]=Gl({prop:r,defaultProp:l??!1,onChange:f,caller:tc});return h.jsx(x6,{scope:s,disabled:d,contentId:Sb(),open:p,onOpenToggle:S.useCallback(()=>g(v=>!v),[g]),children:h.jsx(rt.div,{"data-state":Bh(p),"data-disabled":d?"":void 0,...m,ref:a})})});q1.displayName=tc;var I1="CollapsibleTrigger",G1=S.forwardRef((t,a)=>{const{__scopeCollapsible:s,...r}=t,l=Lh(I1,s);return h.jsx(rt.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":Bh(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...r,ref:a,onClick:$e(t.onClick,l.onOpenToggle)})});G1.displayName=I1;var Ph="CollapsibleContent",Y1=S.forwardRef((t,a)=>{const{forceMount:s,...r}=t,l=Lh(Ph,t.__scopeCollapsible);return h.jsx(Do,{present:s||l.open,children:({present:d})=>h.jsx(b6,{...r,ref:a,present:d})})});Y1.displayName=Ph;var b6=S.forwardRef((t,a)=>{const{__scopeCollapsible:s,present:r,children:l,...d}=t,f=Lh(Ph,s),[m,p]=S.useState(r),g=S.useRef(null),v=qt(a,g),x=S.useRef(0),w=x.current,C=S.useRef(0),j=C.current,A=f.open||m,E=S.useRef(A),D=S.useRef(void 0);return S.useEffect(()=>{const M=requestAnimationFrame(()=>E.current=!1);return()=>cancelAnimationFrame(M)},[]),An(()=>{const M=g.current;if(M){D.current=D.current||{transitionDuration:M.style.transitionDuration,animationName:M.style.animationName},M.style.transitionDuration="0s",M.style.animationName="none";const O=M.getBoundingClientRect();x.current=O.height,C.current=O.width,E.current||(M.style.transitionDuration=D.current.transitionDuration,M.style.animationName=D.current.animationName),p(r)}},[f.open,r]),h.jsx(rt.div,{"data-state":Bh(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!A,...d,ref:v,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...t.style},children:A&&l})});function Bh(t){return t?"open":"closed"}var w6=q1,S6=G1,C6=Y1,A6=S.createContext(void 0);function T6(t){const a=S.useContext(A6);return t||a||"ltr"}var hn="Accordion",j6=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[zh,E6,R6]=bx(hn),[nc]=os(hn,[R6,H1]),Vh=H1(),F1=We.forwardRef((t,a)=>{const{type:s,...r}=t,l=r,d=r;return h.jsx(zh.Provider,{scope:t.__scopeAccordion,children:s==="multiple"?h.jsx(M6,{...d,ref:a}):h.jsx(k6,{...l,ref:a})})});F1.displayName=hn;var[X1,N6]=nc(hn),[Q1,D6]=nc(hn,{collapsible:!1}),k6=We.forwardRef((t,a)=>{const{value:s,defaultValue:r,onValueChange:l=()=>{},collapsible:d=!1,...f}=t,[m,p]=Gl({prop:s,defaultProp:r??"",onChange:l,caller:hn});return h.jsx(X1,{scope:t.__scopeAccordion,value:We.useMemo(()=>m?[m]:[],[m]),onItemOpen:p,onItemClose:We.useCallback(()=>d&&p(""),[d,p]),children:h.jsx(Q1,{scope:t.__scopeAccordion,collapsible:d,children:h.jsx(K1,{...f,ref:a})})})}),M6=We.forwardRef((t,a)=>{const{value:s,defaultValue:r,onValueChange:l=()=>{},...d}=t,[f,m]=Gl({prop:s,defaultProp:r??[],onChange:l,caller:hn}),p=We.useCallback(v=>m((x=[])=>[...x,v]),[m]),g=We.useCallback(v=>m((x=[])=>x.filter(w=>w!==v)),[m]);return h.jsx(X1,{scope:t.__scopeAccordion,value:f,onItemOpen:p,onItemClose:g,children:h.jsx(Q1,{scope:t.__scopeAccordion,collapsible:!0,children:h.jsx(K1,{...d,ref:a})})})}),[O6,ac]=nc(hn),K1=We.forwardRef((t,a)=>{const{__scopeAccordion:s,disabled:r,dir:l,orientation:d="vertical",...f}=t,m=We.useRef(null),p=qt(m,a),g=E6(s),x=T6(l)==="ltr",w=$e(t.onKeyDown,C=>{if(!j6.includes(C.key))return;const j=C.target,A=g().filter(q=>!q.ref.current?.disabled),E=A.findIndex(q=>q.ref.current===j),D=A.length;if(E===-1)return;C.preventDefault();let M=E;const O=0,H=D-1,U=()=>{M=E+1,M>H&&(M=O)},K=()=>{M=E-1,M<O&&(M=H)};switch(C.key){case"Home":M=O;break;case"End":M=H;break;case"ArrowRight":d==="horizontal"&&(x?U():K());break;case"ArrowDown":d==="vertical"&&U();break;case"ArrowLeft":d==="horizontal"&&(x?K():U());break;case"ArrowUp":d==="vertical"&&K();break}const X=M%D;A[X].ref.current?.focus()});return h.jsx(O6,{scope:s,disabled:r,direction:l,orientation:d,children:h.jsx(zh.Slot,{scope:s,children:h.jsx(rt.div,{...f,"data-orientation":d,ref:p,onKeyDown:r?void 0:w})})})}),Pl="AccordionItem",[_6,Uh]=nc(Pl),Z1=We.forwardRef((t,a)=>{const{__scopeAccordion:s,value:r,...l}=t,d=ac(Pl,s),f=N6(Pl,s),m=Vh(s),p=Sb(),g=r&&f.value.includes(r)||!1,v=d.disabled||t.disabled;return h.jsx(_6,{scope:s,open:g,disabled:v,triggerId:p,children:h.jsx(w6,{"data-orientation":d.orientation,"data-state":nS(g),...m,...l,ref:a,disabled:v,open:g,onOpenChange:x=>{x?f.onItemOpen(r):f.onItemClose(r)}})})});Z1.displayName=Pl;var W1="AccordionHeader",$1=We.forwardRef((t,a)=>{const{__scopeAccordion:s,...r}=t,l=ac(hn,s),d=Uh(W1,s);return h.jsx(rt.h3,{"data-orientation":l.orientation,"data-state":nS(d.open),"data-disabled":d.disabled?"":void 0,...r,ref:a})});$1.displayName=W1;var Bf="AccordionTrigger",J1=We.forwardRef((t,a)=>{const{__scopeAccordion:s,...r}=t,l=ac(hn,s),d=Uh(Bf,s),f=D6(Bf,s),m=Vh(s);return h.jsx(zh.ItemSlot,{scope:s,children:h.jsx(S6,{"aria-disabled":d.open&&!f.collapsible||void 0,"data-orientation":l.orientation,id:d.triggerId,...m,...r,ref:a})})});J1.displayName=Bf;var eS="AccordionContent",tS=We.forwardRef((t,a)=>{const{__scopeAccordion:s,...r}=t,l=ac(hn,s),d=Uh(eS,s),f=Vh(s);return h.jsx(C6,{role:"region","aria-labelledby":d.triggerId,"data-orientation":l.orientation,...f,...r,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...t.style}})});tS.displayName=eS;function nS(t){return t?"open":"closed"}var L6=F1,P6=Z1,B6=$1,aS=J1,iS=tS;const z6=L6,sS=S.forwardRef(({className:t,...a},s)=>h.jsx(P6,{ref:s,className:lt("border-b",t),...a}));sS.displayName="AccordionItem";const oS=S.forwardRef(({className:t,children:a,...s},r)=>h.jsx(B6,{className:"flex",children:h.jsxs(aS,{ref:r,className:lt("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",t),...s,children:[a,h.jsx(tj,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));oS.displayName=aS.displayName;const rS=S.forwardRef(({className:t,children:a,...s},r)=>h.jsx(iS,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:h.jsx("div",{className:lt("pb-4 pt-0",t),children:a})}));rS.displayName=iS.displayName;const Jd={hidden:{opacity:0,y:20},show:{opacity:1,y:0}},ex=[{id:"buying-1",category:"Buying",question:"How do I start the home buying process?",answer:"Contact our buyer advisors to begin a consultation. We'll discuss your goals, review your budget, get you pre-qualified, and start searching for properties that match your criteria. Our team handles everything from off-market access to negotiation to closing."},{id:"buying-2",category:"Buying",question:"What is pre-qualification and why is it important?",answer:"Pre-qualification is an initial assessment of your buying capacity based on your income, debts, and credit. It shows sellers you're a serious buyer and strengthens your offer. We can connect you with lenders for formal pre-approval as well."},{id:"buying-3",category:"Buying",question:"Do you have off-market listings available?",answer:"Yes. Our extensive network of sellers and agents gives us access to properties not yet listed publicly. We actively source off-market opportunities for qualified buyers seeking properties in specific areas or with particular characteristics."},{id:"selling-1",category:"Selling",question:"How is my home's value determined?",answer:"We use comparative market analysis (CMA), reviewing recent comparable sales, market trends, property condition, location, and unique features. We also consider current market conditions to establish a pricing strategy that attracts qualified buyers while maximizing value."},{id:"selling-2",category:"Selling",question:"What's your average time on market?",answer:"We use strategic pricing, cinematic marketing, and a curated buyer network to minimize the number of days on market. The number of days may vary due to a variety of factors including property type, location, and overall market conditions."},{id:"selling-3",category:"Selling",question:"What is your approach to pricing homes?",answer:"Our approach is to price homes accurately from the outset, ensuring a quick transaction and realizing full value, rather than pricing a home too high from the outset and having to take multiple price cuts."},{id:"selling-4",category:"Selling",question:"What marketing services do you provide?",answer:"We provide comprehensive marketing including professional photography, cinematic video production, drone footage, virtual tours, premium online placement, print marketing, and targeted digital advertising. Every property receives a customized marketing strategy."},{id:"investing-1",category:"Investing",question:"What types of investment properties do you work with?",answer:"We assist with residential rentals, multi-family properties, commercial real estate, fix-and-flips, REOs, and complex development deals. Our analytical approach helps identify opportunities with strong upside potential."},{id:"investing-2",category:"Investing",question:"Can you help with out-of-state investments?",answer:"Yes. Our national network and dual licensing in California and Arizona position us to assist with investments in both states. We can also refer trusted partners in other markets."},{id:"investing-3",category:"Investing",question:"Do you provide investment advisory services?",answer:"As a licensed broker and attorney, Ryan provides strategic guidance on investment structure, deal evaluation, and negotiation. We combine market data with legal expertise to support your investment goals."},{id:"legal-1",category:"Legal",question:"Is a real estate attorney involved in my transaction?",answer:"Yes. As a licensed real estate attorney, Ryan ensures all transaction documents are properly drafted, reviewed, and negotiated. This protects your interests and streamlines the closing process."},{id:"legal-2",category:"Legal",question:"What areas does Pacific Premier serve?",answer:"We serve Southern California (Orange County, San Diego, and Los Angeles Counties) and the greater Phoenix metropolitan area (including the East Valley)."},{id:"general-1",category:"General",question:"How do I schedule a consultation?",answer:"Call us at (858) 888-9333 for Southern California or (480) 999-6263 for Phoenix, or visit our Contact page to submit an inquiry. We typically respond within one business day."}];function V6(){const t=Array.from(new Set(ex.map(a=>a.category)));return h.jsxs("div",{className:"min-h-dvh bg-white",children:[h.jsx(Rn,{}),h.jsxs("main",{children:[h.jsx("section",{className:"py-16 sm:py-24 bg-gradient-to-b from-[#003366]/5 to-transparent",children:h.jsx("div",{className:"ppre-container",children:h.jsxs(le.div,{initial:"hidden",animate:"show",variants:{hidden:{},show:{transition:{staggerChildren:.1}}},className:"max-w-3xl mx-auto text-center mb-16",children:[h.jsx(le.p,{variants:Jd,className:"ppre-kicker text-[#00acc8]",children:"Answers"}),h.jsx(le.h1,{variants:Jd,className:"ppre-h1 mt-4 text-[#003366]",children:"Frequently Asked Questions"}),h.jsx(le.p,{variants:Jd,className:"mt-6 text-lg text-muted-foreground",children:"Find answers to common questions about buying, selling, investing, and working with Pacific Premier Real Estate."})]})})}),h.jsx("section",{className:"py-16 sm:py-24",children:h.jsxs("div",{className:"ppre-container max-w-4xl",children:[t.map(a=>h.jsxs("div",{className:"mb-12",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:a}),h.jsx(Pe,{className:"ppre-card border-[#00acc8]/10 p-0 overflow-hidden",children:h.jsx(z6,{type:"single",collapsible:!0,className:"divide-y divide-[#00acc8]/10",children:ex.filter(s=>s.category===a).map(s=>h.jsxs(sS,{value:s.id,className:"border-none",children:[h.jsx(oS,{className:"px-6 py-4 hover:bg-[#f8fcfd] transition-colors text-left",children:h.jsx("span",{className:"font-semibold text-[#003366]",children:s.question})}),h.jsx(rS,{className:"px-6 py-4 bg-[#f8fcfd] text-muted-foreground",children:s.answer})]},s.id))})})]},a)),h.jsx("div",{className:"mt-16 text-center",children:h.jsxs("div",{className:"bg-gradient-to-br from-[#003366]/5 to-[#00acc8]/5 border border-[#00acc8]/20 rounded-2xl p-8",children:[h.jsx("h2",{className:"text-2xl font-bold text-[#003366] mb-4",children:"Didn't find your answer?"}),h.jsx("p",{className:"text-muted-foreground mb-6",children:"Reach out to our team directly. We're happy to answer any questions."}),h.jsx(Ie,{className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white",onClick:()=>window.location.href="/#contact",children:"Contact Us"})]})})]})})]}),h.jsx(Nn,{})]})}const ef={hidden:{opacity:0,y:20},show:{opacity:1,y:0}},U6=["4s Ranch","Allied Gardens","Cardiff","Carlsbad","Carmel Mountain Ranch","Carmel Valley","City Heights","Clairemont","Coronado","Del Cerro","Del Mar","Encinitas","Escondido","Fairbanks Ranch","Golden Hill","La Jolla","La Mesa","Leucadia","Linda Vista","Logan Heights","Mira Mesa","Mission Beach","North Park","Oceanside","Pacific Beach","Point Loma","Poway","Rancho Bernardo","Rancho Penasquitos","Rancho Santa Fe","San Carlos","San Diego","San Elijo","San Marcos","Scripps Ranch","Serra Mesa","Solana Beach","Sorrento Valley","Tierrasanta","Torrey Highlands","Vista"].map(t=>({name:t,county:"San Diego County"})),H6=["Aliso Viejo","Anaheim Hills","Balboa Island","Corona del Mar","Costa Mesa","Coto de Caza","Cowan Heights","Crystal Cove","Dana Point","Huntington Beach","Irvine","Ladera Ranch","Laguna Beach","Laguna Niguel","Lake Forest","Mission Viejo","Newport Beach","Orange","Rancho Santa Margarita","San Clemente","San Juan Capistrano","Shady Canyon","Turtle Rock","Villa Park"].map(t=>({name:t,county:"Orange County"})),q6=["Bel Air","Beverly Hills","Brentwood","Century City","Culver City","Hancock Park","Hollywood","Hollywood Hills","Long Beach","Malibu","Manhattan Beach","Marina del Rey","Pacific Palisades","Rancho Palos Verdes","Redondo Beach","Santa Monica"].map(t=>({name:t,county:"Los Angeles County"})),I6=["Ahwatukee","Arcadia","Biltmore","Chandler","Desert Ridge","Gilbert","Mesa","Paradise Valley","Phoenix","Queen Creek","Scottsdale","Tempe"].map(t=>({name:t,county:"Maricopa County"}));function G6(){return h.jsxs("div",{className:"min-h-dvh bg-white",children:[h.jsx(Rn,{}),h.jsxs("main",{children:[h.jsx("section",{className:"py-16 sm:py-24 bg-gradient-to-b from-[#003366]/5 to-transparent",children:h.jsx("div",{className:"ppre-container",children:h.jsxs(le.div,{initial:"hidden",animate:"show",variants:{hidden:{},show:{transition:{staggerChildren:.1}}},className:"max-w-3xl mx-auto text-center mb-16",children:[h.jsx(le.p,{variants:ef,className:"ppre-kicker text-[#00acc8]",children:"Neighborhoods"}),h.jsx(le.h1,{variants:ef,className:"ppre-h1 mt-4 text-[#003366]",children:"Explore Our Markets"}),h.jsx(le.p,{variants:ef,className:"mt-6 text-lg text-muted-foreground",children:"Discover premier communities across Southern California and Phoenix where Pacific Premier specializes in luxury real estate."})]})})}),h.jsx("section",{className:"py-16 bg-[#f8fcfd]",children:h.jsxs("div",{className:"ppre-container",children:[h.jsx("h2",{className:"text-3xl font-bold text-[#003366] mb-4 text-center",children:"Southern California"}),h.jsx("p",{className:"text-center text-muted-foreground mb-12 max-w-2xl mx-auto",children:"Serving San Diego, Orange, and Los Angeles Counties, with a focus on luxury coastal markets and premium inland communities."}),h.jsxs("div",{className:"space-y-16",children:[h.jsxs("div",{children:[h.jsxs("h3",{className:"text-2xl font-bold text-[#00acc8] mb-6 flex items-center gap-2",children:[h.jsx(Ra,{className:"h-6 w-6"})," San Diego County"]}),h.jsx("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:U6.map(t=>h.jsx(Pe,{className:"ppre-card p-4 hover:shadow-md transition-shadow cursor-pointer border-[#00acc8]/10",onClick:()=>window.location.href=`/communities/${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:h.jsx("h4",{className:"font-semibold text-[#003366]",children:t.name})},t.name))})]}),h.jsx(La,{className:"bg-[#00acc8]/10"}),h.jsxs("div",{children:[h.jsxs("h3",{className:"text-2xl font-bold text-[#00acc8] mb-6 flex items-center gap-2",children:[h.jsx(Ra,{className:"h-6 w-6"})," Orange County"]}),h.jsx("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:H6.map(t=>h.jsx(Pe,{className:"ppre-card p-4 hover:shadow-md transition-shadow cursor-pointer border-[#00acc8]/10",onClick:()=>window.location.href=`/communities/${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:h.jsx("h4",{className:"font-semibold text-[#003366]",children:t.name})},t.name))})]}),h.jsx(La,{className:"bg-[#00acc8]/10"}),h.jsxs("div",{children:[h.jsxs("h3",{className:"text-2xl font-bold text-[#00acc8] mb-6 flex items-center gap-2",children:[h.jsx(Ra,{className:"h-6 w-6"})," Los Angeles County"]}),h.jsx("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:q6.map(t=>h.jsx(Pe,{className:"ppre-card p-4 hover:shadow-md transition-shadow cursor-pointer border-[#00acc8]/10",onClick:()=>window.location.href=`/communities/${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:h.jsx("h4",{className:"font-semibold text-[#003366]",children:t.name})},t.name))})]})]})]})}),h.jsx("section",{className:"py-16 sm:py-24",children:h.jsxs("div",{className:"ppre-container",children:[h.jsx("h2",{className:"text-3xl font-bold text-[#003366] mb-4 text-center",children:"Phoenix & The East Valley"}),h.jsx("p",{className:"text-center text-muted-foreground mb-12 max-w-2xl mx-auto",children:"Expert representation across the greater Phoenix metropolitan area, specializing in Scottsdale, Paradise Valley, and the growing East Valley."}),h.jsxs("div",{children:[h.jsxs("h3",{className:"text-2xl font-bold text-[#00acc8] mb-6 flex items-center gap-2",children:[h.jsx(Ra,{className:"h-6 w-6"})," Maricopa County & Surroundings"]}),h.jsx("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:I6.map(t=>h.jsx(Pe,{className:"ppre-card p-4 hover:shadow-md transition-shadow cursor-pointer border-[#00acc8]/10",onClick:()=>window.location.href=`/communities/${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:h.jsx("h4",{className:"font-semibold text-[#003366]",children:t.name})},t.name))})]})]})})]}),h.jsx(Nn,{})]})}const Y6=JSON.parse('[{"City":"4S Ranch","County/Area":"San Diego","Description":"Master-planned 4S Ranch is popular for its newer neighborhoods, wide streets and strong everyday convenience. Pioneer Park, 4S Commons and 4S Ranch Village Center keep recreation, errands and dining close to home, while Del Sur and Rancho Bernardo are just minutes away. With quick access to Interstate 15 and a polished North County feel, it appeals to buyers who want a modern suburban lifestyle without giving up connectivity.","Image URL":"https://www.sdparks.org/content/dam/sdparks/en/images/carousel/4s-community-1.jpg","Representative Landmark / Photo Idea":"Pioneer Park and 4S Commons"},{"City":"Allied Gardens","County/Area":"San Diego","Description":"Tucked beside Mission Trails Regional Park and Lake Murray, Allied Gardens offers an easygoing residential feel with standout access to outdoor recreation. The neighborhood is also near Admiral Baker Golf Course, local shops along Waring Road and the College Area’s dining and entertainment options. Its central location near Interstate 8 makes it especially appealing for buyers who want hills, trails and day-to-day convenience in one place.","Image URL":"https://www.sandiegoproperties.us/wp-client_data/20579/796/uploads/2018/07/allied-gardens.png","Representative Landmark / Photo Idea":"Mission Trails Regional Park and Lake Murray"},{"City":"Cardiff","County/Area":"San Diego","Description":"Cardiff-by-the-Sea pairs a laid-back surf vibe with some of North County’s prettiest coastal scenery. San Elijo State Beach, the San Elijo Lagoon trails and Seaside Market give the area a classic beach-town rhythm, while Encinitas and Solana Beach are right next door. Easy access to I-5 adds convenience for buyers who want an ocean-close lifestyle with everyday charm.","Image URL":"https://www.parks.ca.gov/pages/21289/images/Cardiff%20State%20Beach%20%281%29.jpg","Representative Landmark / Photo Idea":"San Elijo Lagoon and Cardiff State Beach"},{"City":"Carlsbad","County/Area":"San Diego","Description":"Carlsbad balances resort-style coastal living with major family attractions and polished shopping. Residents are close to LEGOLAND California, The Flower Fields, Carlsbad Village and the Carlsbad Premium Outlets, with beaches never far away. Its location along I-5 and Highway 78 makes it a strong fit for buyers seeking both lifestyle appeal and practical access around North County.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/e/e6/Wide_Shot_of_Carlsbad_Flower_Fields.jpg","Representative Landmark / Photo Idea":"The Flower Fields and Carlsbad Village"},{"City":"Carmel Mountain Ranch","County/Area":"San Diego","Description":"Everyday convenience is a major draw in Carmel Mountain Ranch, where shopping, dining and neighborhood services are built right into the community. Carmel Mountain Ranch Town Center and nearby Carmel Mountain Plaza make errands easy, while Poway, Rancho Bernardo and golf courses are just minutes away. Positioned at I-15 and SR-56, it suits buyers who want a comfortable base with strong commuter access.","Image URL":"https://assets.site-static.com/userFiles/2597/image/2023/CARMEL_MOUNTAIN_RANCH/7-7-2023_9_reasons-why-gatewood-hills-great-place-to-live/9-reasons-why-gatewood-hills-carmel-mountain-ranch-great-place-to-live.jpg","Representative Landmark / Photo Idea":"Carmel Mountain Ranch Town Center"},{"City":"Carmel Valley","County/Area":"San Diego","Description":"Carmel Valley blends upscale neighborhoods with a polished, highly convenient West County lifestyle. One Paseo, Del Mar Highlands Town Center, Torrey Pines and nearby beaches give the area a strong mix of dining, shopping and recreation. With easy access to I-5 and SR-56, it stands out for buyers who want a refined address close to employment centers and the coast.","Image URL":"https://www.groundlevelsd.com/wp-content/uploads/2017/11/Project-One-Paseo_Hero-03.jpg","Representative Landmark / Photo Idea":"One Paseo and Del Mar Highlands Town Center"},{"City":"City Heights","County/Area":"San Diego","Description":"Known for its energy and incredible food scene, City Heights offers a vibrant urban lifestyle in a central San Diego setting. Neighborhood parks, multicultural dining corridors and quick access to Balboa Park and North Park mean there is always something nearby to explore. Buyers who value convenience and a true city feel often appreciate how quickly City Heights connects to I-15, I-805 and downtown.","Image URL":"https://cdn.kpbs.org/dims4/default/ad3a51b/2147483647/strip/true/crop/929x572%2B48%2B0/resize/1760x1084%21/quality/90/?url=http%3A%2F%2Fkpbs-brightspot.s3.amazonaws.com%2Fimg%2Fphotos%2F2015%2F08%2F17%2FCityHeightsSign1-1024x572.jpg","Representative Landmark / Photo Idea":"International dining corridors and neighborhood parks"},{"City":"Clairemont","County/Area":"San Diego","Description":"Clairemont’s biggest advantage is location: it sits close to Mission Bay, UTC, La Jolla and some of San Diego’s most-used freeway connections. Tecolote Canyon, neighborhood parks and long-standing local shopping centers give the area an easy, established feel. For buyers who want central access to beaches, schools and employment hubs, Clairemont remains one of the city’s most practical choices.","Image URL":"https://exploreclairemont.com/wp-content/uploads/clairemont-sign-close-1024x683.webp","Representative Landmark / Photo Idea":"Tecolote Canyon and central San Diego access"},{"City":"Coronado","County/Area":"San Diego","Description":"Across the bay from downtown, Coronado delivers a classic coastal lifestyle with a polished small-town atmosphere. The Hotel del Coronado, Orange Avenue boutiques, the beach and ferry access all add to its everyday appeal. Buyers are often drawn to Coronado for its waterfront beauty, walkability and rare blend of resort ambiance and city convenience.","Image URL":"https://phgcdn.com/images/uploads/SANHC/masthead/SANHC-masthead-hoteldelcoronado.jpg","Representative Landmark / Photo Idea":"Hotel del Coronado and Orange Avenue"},{"City":"Del Cerro","County/Area":"San Diego","Description":"Set against rolling hills east of Mission Valley, Del Cerro is prized for its residential feel and easy access to outdoor recreation. Lake Murray, Cowles Mountain and nearby San Diego State University give the area a strong mix of scenery, activity and convenience. Its quick connection to I-8 makes Del Cerro attractive for buyers who want a quieter setting without feeling far from the rest of the city.","Image URL":"https://s3-us-west-1.amazonaws.com/peakery-media/images/items/main/cache/cowles-mountain.jpg.1920x1440_q95_crop.jpg","Representative Landmark / Photo Idea":"Lake Murray and Cowles Mountain"},{"City":"Del Mar","County/Area":"San Diego","Description":"Del Mar pairs a luxury coastal address with one of Southern California’s most iconic beach-town settings. The village, sandy shoreline, Del Mar Racetrack and nearby Torrey Pines create a lifestyle centered on ocean views, dining and leisure. With quick I-5 access and a location between downtown San Diego and North County, it has enduring appeal for buyers seeking prestige and convenience.","Image URL":"https://www.dmtc.com/data/groupsales/venues/20.jpg","Representative Landmark / Photo Idea":"Del Mar Beach and the Racetrack"},{"City":"Encinitas","County/Area":"San Diego","Description":"Surf culture, walkable shopping and a strong coastal lifestyle all come together in Encinitas. Moonlight Beach, the San Diego Botanic Garden, Highway 101 cafes and nearby trail networks make the city feel active and inviting year-round. Buyers are often drawn to Encinitas for its relaxed polish, ocean-close neighborhoods and easy access along I-5.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/4/48/Swami%27s_Surf_Spot_in_Encinitas%2C_California.jpg","Representative Landmark / Photo Idea":"Moonlight Beach and Highway 101"},{"City":"Escondido","County/Area":"San Diego","Description":"Escondido offers a broader range of homes, wide-open North County scenery and a downtown that has been steadily revitalized around Grand Avenue. The San Diego Zoo Safari Park, Dixon Lake, local wineries and nearby golf add variety to the lifestyle here. Buyers who want room to spread out while staying connected to I-15 and Highway 78 often see strong value in Escondido.","Image URL":"https://sandiegozoowildlifealliance.org/sites/default/files/hero/park-rondavel-gradientT21_0101_004.png","Representative Landmark / Photo Idea":"Grand Avenue and the Safari Park"},{"City":"Fairbanks Ranch","County/Area":"San Diego","Description":"Gated Fairbanks Ranch is known for its elegant estates, landscaped grounds and private, country-club atmosphere. Golf, equestrian amenities and close proximity to Rancho Santa Fe, Del Mar and the coast reinforce its upscale appeal. For buyers seeking privacy, prestige and easy access to North County’s premier destinations, Fairbanks Ranch offers a distinctive luxury setting.","Image URL":"https://welcomehometosandiego.com/wp-content/uploads/2020/12/Fairbanks-gate-scaled.jpg","Representative Landmark / Photo Idea":"Private luxury setting and golf"},{"City":"Golden Hill","County/Area":"San Diego","Description":"Golden Hill combines historic charm with close-in access to some of San Diego’s best urban amenities. Balboa Park, South Park cafes, downtown nightlife and neighborhood architecture give the area a character-rich feel that stands apart from more conventional neighborhoods. Buyers who want style, walkability and quick freeway access often find Golden Hill especially compelling.","Image URL":"https://hiddensandiego.com/wp-content/uploads/2021/07/golden-hill-park-8.jpg","Representative Landmark / Photo Idea":"Balboa Park and historic homes"},{"City":"La Jolla","County/Area":"San Diego","Description":"Few places in Southern California match La Jolla’s mix of coastline, culture and everyday elegance. La Jolla Cove, the Village, Torrey Pines and proximity to UC San Diego create a lifestyle that feels both scenic and sophisticated. From boutique shopping to oceanfront dining, the area consistently attracts buyers who want a premier address with lasting appeal.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/c/cc/LaJolla-2_%2845716612345%29.jpg","Representative Landmark / Photo Idea":"La Jolla Cove and the Village"},{"City":"La Mesa","County/Area":"San Diego","Description":"La Mesa is loved for its village-style downtown, established neighborhoods and easy transit connections. Restaurants and shops around La Mesa Village, nearby Grossmont Center and access to Mount Helix and local parks give residents a balanced lifestyle. With trolley service and convenient routes to I-8 and SR-125, it appeals to buyers who want charm with day-to-day practicality.","Image URL":"https://eccalifornian.com/wp-content/uploads/2023/04/la-mesa-sign.jpg","Representative Landmark / Photo Idea":"La Mesa Village and Mount Helix"},{"City":"Leucadia","County/Area":"San Diego","Description":"Leucadia brings a creative, laid-back energy to the coast with surf breaks, gardens and a more eclectic version of beach-town living. Coast Highway 101, local coffee spots, nurseries and easy access to beaches give the neighborhood its unmistakable personality. Buyers who want Encinitas coastal living with a relaxed, boutique feel often gravitate to Leucadia.","Image URL":"https://www.californiabeaches.com/wp-content/uploads/2014/09/IMG_9261-Large1-1000x667.jpg","Representative Landmark / Photo Idea":"Coast Highway 101 and surf beaches"},{"City":"Linda Vista","County/Area":"San Diego","Description":"Central and highly connected, Linda Vista offers quick reach to many of San Diego’s biggest everyday destinations. The neighborhood sits near the University of San Diego, Fashion Valley, Mission Bay and trolley access, making shopping, recreation and commuting especially convenient. Buyers looking for a practical central location with steady demand often keep Linda Vista on the short list.","Image URL":"https://2.bp.blogspot.com/-Zvs2QbgOJcM/VK_jAXhgtBI/AAAAAAAAIw8/cQPrhr4T0Yk/s1600/Welcome%2BCA%2BLinda%2BVista%2B2007%2BWBlog.jpg","Representative Landmark / Photo Idea":"University of San Diego and central access"},{"City":"Logan Heights","County/Area":"San Diego","Description":"Logan Heights places buyers close to downtown while offering a strong sense of local character. Chicano Park, nearby Barrio Logan galleries and restaurants, and quick access to Petco Park and the waterfront give the area a distinctly urban appeal. Its location near Interstate 5, the 94 and major employment centers makes it a compelling option for buyers who value proximity and culture.","Image URL":"https://www.nps.gov/articles/000/images/Chicano-Park-San-Diego.jpg","Representative Landmark / Photo Idea":"Chicano Park and nearby downtown"},{"City":"Mira Mesa","County/Area":"San Diego","Description":"Mira Mesa is known for everyday convenience, strong shopping options and easy access to some of San Diego’s largest job centers. Mira Mesa Market Center, neighborhood parks, Miramar College and proximity to Sorrento Valley make the area especially practical for busy households. With connections to I-15, I-805 and SR-56, it remains a popular choice for buyers who want location and functionality.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/f/f4/%2821%29_Miramar_Reservoir.jpg","Representative Landmark / Photo Idea":"Miramar Reservoir"},{"City":"Mission Beach","County/Area":"San Diego","Description":"Mission Beach centers around the boardwalk, the sand and a lifestyle that feels like vacation all year. Belmont Park, Mission Bay water sports and bikeable access to Pacific Beach keep the area lively from morning to sunset. Buyers who want immediate beach access and an iconic coastal setting are naturally drawn to Mission Beach.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/e/e8/PBfromabove.jpg","Representative Landmark / Photo Idea":"Mission Beach shoreline"},{"City":"North Park","County/Area":"San Diego","Description":"North Park is one of San Diego’s most sought-after urban neighborhoods thanks to its restaurants, coffee shops, boutiques and craft beer scene. The Observatory, Morley Field and Balboa Park add culture and recreation to a community that already feels full of personality. Buyers who want a stylish, walkable neighborhood with quick access to downtown and freeways often look here first.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/5/51/NorthParkUni30th.JPG","Representative Landmark / Photo Idea":"North Park streetscape"},{"City":"Oceanside","County/Area":"San Diego","Description":"Oceanside blends classic beach living with a fast-evolving downtown and some of North County’s most recognizable landmarks. The pier, harbor, surf scene and restaurants along Coast Highway and Mission Avenue give the city a lively waterfront identity. With Amtrak, the Coaster and I-5 nearby, Oceanside appeals to buyers who want coastal energy with strong regional access.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/9/94/Oceansidepier.jpg","Representative Landmark / Photo Idea":"Oceanside Pier"},{"City":"Pacific Beach","County/Area":"San Diego","Description":"Pacific Beach offers one of San Diego’s most active oceanfront lifestyles, with the boardwalk and Crystal Pier at the center of it all. Garnet Avenue’s restaurants and nightlife, Mission Bay recreation and nearby La Jolla make the area feel both fun and connected. Buyers looking for beach culture, walkability and everyday vibrancy often zero in on Pacific Beach.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/5/5e/Pacific_Beach%2C_San_Diego.jpg","Representative Landmark / Photo Idea":"Pacific Beach boardwalk / shoreline"},{"City":"Point Loma","County/Area":"San Diego","Description":"Point Loma brings together marinas, bay views and a more relaxed coastal atmosphere just minutes from downtown and the airport. Liberty Station, Shelter Island and Cabrillo National Monument give the area a mix of dining, waterfront recreation and local history. Buyers are often drawn to Point Loma for its scenic setting and easy access to both city and sea.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/6/63/Cabrillo_National_Monument_and_Lighthouse.jpg","Representative Landmark / Photo Idea":"Cabrillo National Monument"},{"City":"Poway","County/Area":"San Diego","Description":"Poway is prized for its spacious residential feel, strong park system and access to trails and open space. Lake Poway, Old Poway Park and Blue Sky Ecological Reserve anchor a lifestyle that feels more relaxed and outdoors-oriented than many neighboring communities. Buyers who want room, recreation and a well-established setting often see Poway as a long-term fit.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/b6/Lake_Poway.jpg","Representative Landmark / Photo Idea":"Lake Poway"},{"City":"Rancho Bernardo","County/Area":"San Diego","Description":"Rancho Bernardo offers a mature, well-planned setting with golf, shopping and a strong everyday sense of comfort. Bernardo Winery, local country clubs and convenient retail centers give the area a blend of leisure and practicality. Its easy access to I-15 and nearby business parks makes Rancho Bernardo appealing to buyers seeking a polished North County base.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/b6/Lake_Poway.jpg","Representative Landmark / Photo Idea":"Lake Poway"},{"City":"Rancho Penasquitos","County/Area":"San Diego","Description":"Rancho Peñasquitos is especially popular with buyers who want trail access and convenient North County connectivity. Los Peñasquitos Canyon Preserve, Black Mountain and nearby Carmel Mountain shopping make it easy to mix outdoor time with daily errands. Positioned near I-15 and SR-56, the area offers a comfortable balance of neighborhood feel and regional access.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/d/d8/LosPenasquitos.JPG","Representative Landmark / Photo Idea":"Los Peñasquitos Canyon Preserve"},{"City":"Rancho Santa Fe","County/Area":"San Diego","Description":"Rancho Santa Fe is one of Southern California’s most prestigious residential addresses, known for its estates, equestrian culture and understated luxury. The village, golf clubs and tree-lined roads create a private, timeless atmosphere that feels set apart from busier coastal markets. Buyers seeking exclusivity, acreage and proximity to both beaches and North County amenities continue to view Rancho Santa Fe as a standout choice.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/5/56/Rancho_Santa_Fe_street_view_2013.jpg","Representative Landmark / Photo Idea":"Rancho Santa Fe village streetscape"},{"City":"San Carlos","County/Area":"San Diego","Description":"San Carlos sits at the doorstep of some of East County’s best outdoor amenities while keeping daily conveniences close at hand. Cowles Mountain, Lake Murray and Mission Trails Regional Park make the area especially appealing for active lifestyles. With quick routes to I-8, SR-125 and nearby colleges, San Carlos works well for buyers who want scenery and accessibility.","Image URL":"https://s3-us-west-1.amazonaws.com/peakery-media/images/items/main/cache/cowles-mountain.jpg.1920x1440_q95_crop.jpg","Representative Landmark / Photo Idea":"Cowles Mountain"},{"City":"San Diego","County/Area":"San Diego","Description":"San Diego combines beach culture, urban energy and year-round outdoor living in a way few major cities can match. From Balboa Park and Little Italy to the harbor, stadiums and miles of coastline, the city offers something different in nearly every direction. Buyers are drawn to San Diego for its mix of lifestyle options, employment centers and lasting desirability.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/e/ea/La_Jolla_Shores_view_%28cropped%29.jpg","Representative Landmark / Photo Idea":"Coastal San Diego view"},{"City":"San Elijo","County/Area":"San Diego","Description":"Perched above North County with sweeping views, San Elijo Hills has a master-planned feel centered around trails, parks and a walkable town center. Double Peak Park, local schools and neighborhood gathering spots give the community a strong live-work-play rhythm. Buyers who want newer homes, scenic surroundings and easy access to San Marcos and coastal North County often see San Elijo as a standout.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/2/24/Fletcher_Cover%2C_Solana_Beach_California_-_panoramio.jpg","Representative Landmark / Photo Idea":"North County coastal overlook"},{"City":"San Marcos","County/Area":"San Diego","Description":"San Marcos has grown into a vibrant North County hub with a strong mix of education, dining and outdoor recreation. California State University San Marcos, Restaurant Row, Lake San Marcos and nearby trail systems give the city everyday variety. Buyers appreciate the balance of convenience, newer development and access to Highway 78.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/2/24/Fletcher_Cover%2C_Solana_Beach_California_-_panoramio.jpg","Representative Landmark / Photo Idea":"North County lifestyle scene"},{"City":"Scripps Ranch","County/Area":"San Diego","Description":"Known for its eucalyptus-lined streets and lake-centered recreation, Scripps Ranch offers a polished residential feel with easy reach to major employment centers. Miramar Lake, neighborhood parks and convenient shopping keep the area active without feeling crowded. Buyers who want a quiet, established community near I-15, SR-56 and Sorrento Valley often gravitate here.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Scripps_Ranch_sign.jpg","Representative Landmark / Photo Idea":"Scripps Ranch neighborhood sign"},{"City":"Serra Mesa","County/Area":"San Diego","Description":"Serra Mesa stands out for its central location and easy access to many of San Diego’s largest medical, business and entertainment hubs. Snapdragon Stadium, Mission Valley shopping and nearby parks add activity, while the neighborhood itself keeps a quieter residential feel. Buyers often see Serra Mesa as a smart option for convenience to I-15, I-805 and SR-163.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/bb/SerraMesaGateway.jpg","Representative Landmark / Photo Idea":"Serra Mesa gateway"},{"City":"Solana Beach","County/Area":"San Diego","Description":"Small in size but big on coastal appeal, Solana Beach blends beach-town ease with a distinctly upscale edge. Fletcher Cove, Cedros Design District and nearby Del Mar attractions create a lifestyle built around art, dining and ocean views. Buyers who want walkability, Coaster access and a refined North County address often find Solana Beach especially attractive.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/2/24/Fletcher_Cover%2C_Solana_Beach_California_-_panoramio.jpg","Representative Landmark / Photo Idea":"Fletcher Cove"},{"City":"Sorrento Valley","County/Area":"San Diego","Description":"Sorrento Valley is prized for its strategic location near tech campuses, Torrey Pines and the coast. The area offers quick access to UTC shopping, nearby beaches and major commuting corridors, making day-to-day life exceptionally efficient. Buyers who want a practical home base close to employment hubs and West County amenities often look closely at Sorrento Valley.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/d/d8/LosPenasquitos.JPG","Representative Landmark / Photo Idea":"Los Peñasquitos Canyon Preserve"},{"City":"Tierrasanta","County/Area":"San Diego","Description":"Tierrasanta offers a tucked-away feel with canyon views and some of the best immediate access to Mission Trails Regional Park. Golf, neighborhood parks and strong connectivity to SR-52 and I-15 help the area balance recreation with convenience. Buyers who want a quieter central location with plenty of outdoor space often appreciate Tierrasanta’s enduring appeal.","Image URL":"https://s3-us-west-1.amazonaws.com/peakery-media/images/items/main/cache/cowles-mountain.jpg.1920x1440_q95_crop.jpg","Representative Landmark / Photo Idea":"Mission Trails / Cowles Mountain"},{"City":"Torrey Highlands","County/Area":"San Diego","Description":"Torrey Highlands pairs newer neighborhood planning with a location that keeps North County and the coast within easy reach. Shopping and dining are close by, while Del Mar Highlands, One Paseo and Torrey Pines are a short drive away. For buyers who want a clean, contemporary feel and excellent access to SR-56, I-5 and I-15, Torrey Highlands checks important boxes.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/d/d8/LosPenasquitos.JPG","Representative Landmark / Photo Idea":"Los Peñasquitos Canyon Preserve"},{"City":"Vista","County/Area":"San Diego","Description":"Vista has a creative, relaxed identity shaped by its downtown revival, community arts scene and inland North County setting. The Moonlight Amphitheatre, Brengle Terrace Park and growing collection of local breweries give the city plenty of personality. Buyers who want more space, a strong sense of place and convenient access to Highway 78 often see Vista as a smart alternative to the coast.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/0d/Vista_Gateway.jpg","Representative Landmark / Photo Idea":"Vista gateway"},{"Image URL":""},{"City":"Aliso Viejo","County/Area":"Orange","Description":"Aliso Viejo brings together newer neighborhoods, business convenience and quick access to some of South Orange County’s best outdoor spaces. Aliso Viejo Town Center and the nearby Aliso and Wood Canyons trails make it easy to enjoy both errands and recreation close to home. Buyers often like how quickly the area connects to Laguna Beach, the 73 Toll Road and major employment centers.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/b7/060907-005-SokaU-FoundersHall.jpg","Representative Landmark / Photo Idea":"Soka University campus"},{"City":"Anaheim Hills","County/Area":"Orange","Description":"Rolling hills, larger lots and a quieter residential feel give Anaheim Hills a distinct character within North Orange County. Oak Canyon Nature Center, Anaheim Hills Golf Course and nearby shopping centers support an active, everyday lifestyle. Its location near the 91, 55 and 241 makes the area appealing for buyers who want scenic surroundings with solid commuter access.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/0a/Anaheimhills.jpg","Representative Landmark / Photo Idea":"Anaheim Hills hillside view"},{"City":"Balboa Island","County/Area":"Orange","Description":"Balboa Island is one of Newport Harbor’s most recognizable enclaves, known for waterfront charm and a lifestyle built around the bay. Marine Avenue boutiques, the ferry and the harborfront walking path create a setting that feels both classic and special. Buyers are drawn to Balboa Island for its walkability, boating culture and timeless coastal appeal.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/d/dd/Balboa_Island_wide_Photo_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Balboa Island harborfront"},{"City":"Corona del Mar","County/Area":"Orange","Description":"Corona del Mar combines village-style living with some of Orange County’s most beautiful shoreline. Big Corona, Little Corona, oceanfront bluffs and nearby Fashion Island keep the area equal parts scenic and refined. Buyers who want coastal elegance, boutique shopping and quick access to Newport Beach often put Corona del Mar at the top of the list.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a5/Corona_del_Mar_State_Beach_Photo_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Corona del Mar State Beach"},{"City":"Costa Mesa","County/Area":"Orange","Description":"Costa Mesa stands out for its creative energy, exceptional shopping and central Orange County location. South Coast Plaza, Segerstrom Center for the Arts, The CAMP and The LAB give the city a mix of luxury retail, design and dining that feels unlike anywhere else nearby. Buyers who want culture, convenience and access to the 405, 55 and 73 often find Costa Mesa especially compelling.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/e/e0/South_Coast_Plaza_entrance.jpg","Representative Landmark / Photo Idea":"South Coast Plaza"},{"City":"Coto de Caza","County/Area":"Orange","Description":"Coto de Caza is known for its gated privacy, rolling hills and country-club lifestyle. Golf, equestrian amenities and miles of scenic surroundings give the community a distinctly upscale, retreat-like feel. Buyers looking for space, security and a polished South County address often see Coto de Caza as a standout option.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/2/25/Coto_De_Caza_Ranch_by_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Coto de Caza ranch entrance"},{"City":"Cowan Heights","County/Area":"Orange","Description":"Cowan Heights offers a private hillside setting with custom homes, panoramic views and a more secluded feel than much of central Orange County. Peters Canyon, nearby Old Towne Orange and access to North Tustin’s dining and services add convenience to the estate-style atmosphere. Buyers who value room to breathe and a tucked-away address often gravitate to Cowan Heights.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/0a/Anaheimhills.jpg","Representative Landmark / Photo Idea":"Anaheim Hills hillside view"},{"City":"Crystal Cove","County/Area":"Orange","Description":"Crystal Cove is defined by dramatic coastline, luxury homes and direct access to one of Orange County’s most celebrated state parks. The blufftop setting, beach coves and resort-style backdrop create a rare sense of exclusivity along the coast. Buyers seeking a signature oceanfront lifestyle between Newport Beach and Laguna Beach often view Crystal Cove as truly exceptional.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a0/Crystal_Cove_State_Park_photo_d_ramey_logan.jpg","Representative Landmark / Photo Idea":"Crystal Cove coastline"},{"City":"Dana Point","County/Area":"Orange","Description":"Dana Point delivers a harbor-centered coastal lifestyle with easy access to beaches, boating and a growing dining scene. The Lantern District, Dana Point Harbor and nearby Salt Creek Beach make the city feel relaxed, active and upscale at the same time. Buyers are often drawn to Dana Point for its ocean views, resort atmosphere and convenient location along I-5.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/6/62/Dana_Point_a_city_in_southern_Orange_County_CA_Photo_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Dana Point coastal view"},{"City":"Huntington Beach","County/Area":"Orange","Description":"Few places embody the Southern California beach lifestyle quite like Huntington Beach. The pier, Main Street, Pacific City and Bolsa Chica wetlands keep the city lively from surf mornings to sunset dining. Buyers who want strong coastal identity, walkable beach zones and easy access to Orange County job centers often look here first.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/4/47/Huntington_Pier_Terminus.jpg","Representative Landmark / Photo Idea":"Huntington Beach Pier"},{"City":"Irvine","County/Area":"Orange","Description":"Irvine is prized for master-planned neighborhoods, business access and an enormous range of lifestyle amenities. Irvine Spectrum Center, Great Park, extensive trail systems and proximity to UC Irvine give the city a polished, highly convenient feel. Buyers consistently appreciate Irvine for its organization, connectivity and access to the 405, 5, 133 and toll roads.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/c/cb/Irvine_Spectrum_Center_%282013%29_12.jpg","Representative Landmark / Photo Idea":"Irvine Spectrum Center"},{"City":"Ladera Ranch","County/Area":"Orange","Description":"Ladera Ranch was designed around neighborhood parks, clubhouses and a strong sense of community connection. Tree-lined streets, trail networks and nearby shopping make everyday living especially easy, while Mission Viejo and San Juan Capistrano are close by. Buyers who want a planned community with a family-friendly lifestyle and South County convenience often find Ladera Ranch very appealing.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/b7/060907-005-SokaU-FoundersHall.jpg","Representative Landmark / Photo Idea":"Master-planned community landmark"},{"City":"Laguna Beach","County/Area":"Orange","Description":"Laguna Beach pairs artistic character with unforgettable shoreline scenery. Heisler Park, secluded coves, festival season and the walkable village make the city feel both creative and luxurious. Buyers drawn to boutique coastal living often see Laguna Beach as one of the most distinctive addresses in Southern California.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a0/Crystal_Cove_State_Park_photo_d_ramey_logan.jpg","Representative Landmark / Photo Idea":"Crystal Cove coastline"},{"City":"Laguna Niguel","County/Area":"Orange","Description":"Laguna Niguel offers a calm, polished residential environment with convenient access to coast and canyon alike. Laguna Niguel Regional Park, nearby Dana Point Harbor and easy routes to South County shopping make the area especially livable. Buyers who want a well-established community near the beach without being directly in the busiest coastal zones often look here.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a0/Crystal_Cove_State_Park_photo_d_ramey_logan.jpg","Representative Landmark / Photo Idea":"Orange County coastal parkland"},{"City":"Lake Forest","County/Area":"Orange","Description":"Lake Forest balances everyday practicality with strong access to outdoor amenities and major Orange County routes. Whiting Ranch Wilderness Park, Lake Forest Sports Park and nearby shopping centers add variety to day-to-day life. Buyers often like the city for its comfortable neighborhoods, inland value and easy reach to Irvine Spectrum and the 5/241 corridor.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a0/Crystal_Cove_State_Park_photo_d_ramey_logan.jpg","Representative Landmark / Photo Idea":"Orange County parkland / trails"},{"City":"Mission Viejo","County/Area":"Orange","Description":"Mission Viejo is one of South Orange County’s best-known master-planned cities, built around recreation and convenience. Lake Mission Viejo, The Shops at Mission Viejo and nearby trails give the area a strong everyday lifestyle foundation. Buyers who want a well-established community with quick access to I-5 and the 241 often see Mission Viejo as a reliable long-term choice.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a0/Crystal_Cove_State_Park_photo_d_ramey_logan.jpg","Representative Landmark / Photo Idea":"South Orange County lifestyle scene"},{"City":"Newport Beach","County/Area":"Orange","Description":"Newport Beach blends harbor living, luxury shopping and world-class coastal real estate into one of Orange County’s premier markets. Fashion Island, the Balboa Peninsula, yacht marinas and Back Bay recreation all contribute to the city’s broad lifestyle appeal. Buyers are drawn to Newport for its prestige, waterfront beauty and seamless access to both leisure and business hubs.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/d/dd/Balboa_Island_wide_Photo_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Balboa Island waterfront"},{"City":"Orange","County/Area":"Orange","Description":"Orange offers a charming historic core with the added convenience of a central county location. The Orange Circle, Chapman University and nearby destinations like The Outlets at Orange and Angel Stadium keep the city active and well connected. Buyers who want character, restaurants and easy access to the 55, 57 and 22 often appreciate what Orange has to offer.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/d/dd/Balboa_Island_wide_Photo_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Orange County landmark scene"},{"City":"Rancho Santa Margarita","County/Area":"Orange","Description":"Rancho Santa Margarita is built around scenic hills, neighborhood parks and an easy South County pace. The lakefront town center, nearby O’Neill Regional Park and community amenities support an active lifestyle close to home. Buyers looking for a polished suburban setting with quick toll road access often find Rancho Santa Margarita to be a strong fit.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/2/25/Coto_De_Caza_Ranch_by_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Foothill community view"},{"City":"San Clemente","County/Area":"Orange","Description":"San Clemente blends Spanish-style charm with beaches, surf culture and a laid-back coastal atmosphere. The pier, Avenida Del Mar, ocean-view trails and nearby San Onofre give the city a strong sense of place. Buyers are often drawn to San Clemente for its timeless architecture, relaxed energy and convenient location along I-5.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/6/62/Dana_Point_a_city_in_southern_Orange_County_CA_Photo_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"South OC coastal view"},{"City":"San Juan Capistrano","County/Area":"Orange","Description":"San Juan Capistrano stands out for its historic mission, equestrian roots and distinctive small-town atmosphere. Los Rios Historic District, local dining and nearby trail systems create a setting that feels rich in character and unexpectedly convenient. Buyers who want heritage, charm and access to both South County and the coast often find San Juan Capistrano especially attractive.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/6/62/Dana_Point_a_city_in_southern_Orange_County_CA_Photo_D_Ramey_Logan.jpg","Representative Landmark / Photo Idea":"Mission-style South OC landmark"},{"City":"Shady Canyon","County/Area":"Orange","Description":"Shady Canyon offers a private, high-end enclave framed by preserved open space and championship golf. The community’s custom estates, clubhouse setting and proximity to Bommer Canyon create a luxury lifestyle that feels both exclusive and scenic. Buyers seeking privacy, architecture and a premier Irvine address often see Shady Canyon in a class of its own.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/c/cb/Irvine_Spectrum_Center_%282013%29_12.jpg","Representative Landmark / Photo Idea":"Irvine hillside / lifestyle scene"},{"City":"Turtle Rock","County/Area":"Orange","Description":"Turtle Rock is admired for its hillside setting, established homes and close proximity to Irvine’s academic and business centers. Bommer Canyon, Turtle Rock Community Park and the nearby University of California, Irvine give the area both recreation and everyday convenience. Buyers who want a quiet, well-located neighborhood near the 73 and 405 often find Turtle Rock especially appealing.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/c/cb/Irvine_Spectrum_Center_%282013%29_12.jpg","Representative Landmark / Photo Idea":"Irvine hillside / lifestyle scene"},{"City":"Villa Park","County/Area":"Orange","Description":"Villa Park is known for estate-sized lots, quiet streets and a more spacious residential feel than much of North Orange County. Orange, Anaheim Hills and the region’s major retail corridors are all nearby, so privacy does not come at the expense of convenience. Buyers looking for a refined suburban setting with room to grow often keep Villa Park on their list.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/0a/Anaheimhills.jpg","Representative Landmark / Photo Idea":"Orange County neighborhood view"},{"Image URL":""},{"City":"Bel Air","County/Area":"Los Angeles","Description":"Bel Air is synonymous with privacy, grand estates and one of Los Angeles’ most iconic luxury addresses. The neighborhood’s winding hillsides offer a secluded feel while keeping the Getty Center, UCLA and Beverly Hills within easy reach. Buyers seeking prestige, space and a classic Westside location continue to see Bel Air as a benchmark property market.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Bel Air residential hillside view"},{"City":"Beverly Hills","County/Area":"Los Angeles","Description":"Beverly Hills combines global name recognition with everyday access to top-tier shopping, dining and wellness. Rodeo Drive, the Golden Triangle and nearby hotels and restaurants give the area a polished, world-class atmosphere. Buyers are drawn to Beverly Hills for its prestige, central Westside location and lasting luxury appeal.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/1/12/Rodeo_Drive%2C_Beverly_Hills%2C_LA%2C_CA%2C_jjron_21.03.2012.jpg","Representative Landmark / Photo Idea":"Rodeo Drive"},{"City":"Brentwood","County/Area":"Los Angeles","Description":"Brentwood offers a refined neighborhood feel with tree-lined streets, stylish local shopping and strong Westside convenience. Brentwood Country Mart, San Vicente dining and proximity to the Getty make the area feel both established and current. Buyers who want a polished residential setting between Santa Monica and Beverly Hills often find Brentwood especially attractive.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Brentwood_Bundy_palms_01.jpg/1920px-Brentwood_Bundy_palms_01.jpg","Representative Landmark / Photo Idea":"Brentwood palm-lined street"},{"City":"Century City","County/Area":"Los Angeles","Description":"Century City brings together luxury condos, modern offices and some of the Westside’s best shopping in a highly central location. Westfield Century City and close access to Beverly Hills, Westwood and Santa Monica make daily life especially convenient. Buyers who want a sleek, connected urban base with strong amenities often look to Century City.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/1/12/Rodeo_Drive%2C_Beverly_Hills%2C_LA%2C_CA%2C_jjron_21.03.2012.jpg","Representative Landmark / Photo Idea":"Westside luxury streetscape"},{"City":"Culver City","County/Area":"Los Angeles","Description":"Culver City has become one of Los Angeles’ most dynamic live-work-play markets, blending studio history with a modern creative edge. The Arts District, Platform, Helms Bakery area and the Expo Line keep dining, design and transit all within easy reach. Buyers are often drawn to Culver City for its energy, convenience and strong connection to the broader Westside.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/1/12/Rodeo_Drive%2C_Beverly_Hills%2C_LA%2C_CA%2C_jjron_21.03.2012.jpg","Representative Landmark / Photo Idea":"Westside urban lifestyle scene"},{"City":"Hancock Park","County/Area":"Los Angeles","Description":"Hancock Park is prized for stately architecture, broad streets and a timeless central Los Angeles setting. Larchmont Village, Wilshire’s museum corridor and nearby Hollywood amenities add dining and culture without sacrificing neighborhood calm. Buyers who value heritage homes and a classic in-town address often see Hancock Park as a standout.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/1/12/Rodeo_Drive%2C_Beverly_Hills%2C_LA%2C_CA%2C_jjron_21.03.2012.jpg","Representative Landmark / Photo Idea":"Classic LA neighborhood scene"},{"City":"Hollywood","County/Area":"Los Angeles","Description":"Hollywood remains one of Los Angeles’ most recognizable neighborhoods, with entertainment history and city energy built into the streetscape. The Hollywood Sign, Walk of Fame, theaters and access to Griffith Park keep the area full of iconic destinations. Buyers looking for central location, cultural cachet and proximity to studios and nightlife often gravitate to Hollywood.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Hollywood / central LA landmark scene"},{"City":"Hollywood Hills","County/Area":"Los Angeles","Description":"Perched above the city, Hollywood Hills pairs dramatic views with quick access to the creative heart of Los Angeles. Runyon Canyon, canyon roads and proximity to Sunset Boulevard, studios and Universal create a lifestyle that feels both elevated and connected. Buyers seeking privacy, architecture and unmistakable LA scenery are often drawn here.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Hollywood Hills residential view"},{"City":"Long Beach","County/Area":"Los Angeles","Description":"Long Beach offers waterfront living with the scale and amenities of a full-service city. The marina, Belmont Shore, Naples, the Aquarium of the Pacific and a revitalized downtown give the area broad lifestyle appeal. Buyers often appreciate Long Beach for its coastal setting, diverse neighborhoods and easy access to Orange County and Los Angeles.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Long Beach coastal scene"},{"City":"Malibu","County/Area":"Los Angeles","Description":"Malibu is defined by legendary beaches, canyon hikes and a residential market shaped by the Pacific at nearly every turn. The pier, Zuma Beach, Point Dume and nearby trailheads create a lifestyle centered on scenery and outdoor living. Buyers looking for privacy, ocean views and a signature Southern California address continue to prize Malibu.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Malibu coastline"},{"City":"Manhattan Beach","County/Area":"Los Angeles","Description":"Manhattan Beach blends an upscale beach lifestyle with a compact, walkable downtown and a strong sense of everyday polish. The pier, The Strand, boutique shopping and top restaurants make it easy to enjoy the coast without sacrificing convenience. Buyers who want a high-end South Bay address close to LAX and major employment centers often focus on Manhattan Beach.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"South Bay beach scene"},{"City":"Marina del Rey","County/Area":"Los Angeles","Description":"Marina del Rey offers a waterfront setting centered around yachts, bike paths and resort-style apartment and condo living. The marina, waterside dining and quick access to Venice, Playa Vista and LAX keep the area highly convenient. Buyers drawn to a polished coastal lifestyle with easy movement around the Westside often find Marina del Rey especially appealing.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Marina lifestyle scene"},{"City":"Pacific Palisades","County/Area":"Los Angeles","Description":"Pacific Palisades is prized for its coastal bluff setting, village feel and easy access to both ocean and canyon landscapes. Will Rogers State Beach, Temescal Gateway Park and the ongoing revival of Palisades Village reinforce the area’s long-standing lifestyle appeal. Buyers looking for a prestigious Westside address with room, scenery and a neighborhood atmosphere continue to watch the Palisades closely.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Will Rogers beach area"},{"City":"Rancho Palos Verdes","County/Area":"Los Angeles","Description":"Rancho Palos Verdes is known for sweeping Pacific views, dramatic bluffs and a quieter luxury feel on the Peninsula. Terranea’s coastal trails, the Point Vicente area and championship golf give the city a resort-like atmosphere with everyday residential appeal. Buyers who want ocean scenery, space and a more secluded South Bay address often look to Rancho Palos Verdes.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Palos Verdes coastal bluff"},{"City":"Redondo Beach","County/Area":"Los Angeles","Description":"Redondo Beach combines classic South Bay living with a working waterfront and an easygoing beach-town pace. King Harbor, Riviera Village and The Strand keep dining, recreation and ocean views close to home. Buyers who want a coastal lifestyle with strong everyday convenience often see Redondo Beach as one of the area’s most balanced choices.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Redondo Beach pier area"},{"City":"Santa Monica","County/Area":"Los Angeles","Description":"Santa Monica blends beach living, retail energy and big-city convenience in one of the Westside’s most recognized coastal markets. The pier, Third Street Promenade, Palisades Park and the bike-friendly shoreline create a lifestyle that is active from sunrise to evening. Buyers are drawn to Santa Monica for its walkability, amenities and direct access to both the ocean and the broader Los Angeles core.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/0/03/Belair.jpg","Representative Landmark / Photo Idea":"Santa Monica pier area"},{"Image URL":""},{"Image URL":""},{"Image URL":""},{"City":"Ahwatukee","County/Area":"East Valley","Description":"Set against South Mountain, Ahwatukee offers a desert-edge residential feel with easy access to hiking and sweeping views. South Mountain Park, neighborhood golf and the Loop 202 corridor make it easy to blend recreation with daily commuting. Buyers who want a quieter Phoenix setting with strong connections to Chandler, Tempe and Sky Harbor often find Ahwatukee especially appealing.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/9/92/231209-2_Ahwatukee_and_South_Mountain.jpg","Representative Landmark / Photo Idea":"South Mountain backdrop"},{"City":"Arcadia","County/Area":"East Valley","Description":"Arcadia is one of Phoenix’s most sought-after neighborhoods thanks to its leafy streets, central location and stylish dining scene. Camelback Mountain views, local favorites along 44th Street and close access to both Scottsdale and the Biltmore keep the area highly desirable. Buyers are often drawn to Arcadia for its blend of character, convenience and upscale lifestyle.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a9/Camelback_Mountain_2.jpg","Representative Landmark / Photo Idea":"Camelback Mountain"},{"City":"Biltmore","County/Area":"East Valley","Description":"The Biltmore area is known for classic Phoenix luxury, anchored by resort history and polished shopping. Arizona Biltmore, Biltmore Fashion Park and nearby golf courses create a refined everyday setting close to central business districts. Buyers who want an established high-end neighborhood with quick access to the 51, downtown and the airport often focus on Biltmore.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a9/Camelback_Mountain_2.jpg","Representative Landmark / Photo Idea":"Camelback Mountain / Biltmore area"},{"City":"Chandler","County/Area":"East Valley","Description":"Chandler balances a strong employment base with family-friendly amenities and a lively downtown. Downtown Chandler, Chandler Fashion Center and a wide range of parks and restaurants make the city easy to enjoy beyond work hours. Buyers often appreciate Chandler for its polished suburban feel and convenient access to Loop 101 and Loop 202.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/b9/Downtown_Phoenix_Aerial_Looking_Northeast.jpg","Representative Landmark / Photo Idea":"East Valley city view"},{"City":"Desert Ridge","County/Area":"East Valley","Description":"Desert Ridge offers a newer North Phoenix lifestyle built around shopping, dining and resort amenities. Desert Ridge Marketplace, High Street and the JW Marriott Desert Ridge create an active hub for everything from everyday errands to nights out. Buyers who want convenience, newer housing and quick access to Loop 101 and the 51 often see Desert Ridge as a strong fit.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/b9/Downtown_Phoenix_Aerial_Looking_Northeast.jpg","Representative Landmark / Photo Idea":"North Phoenix lifestyle scene"},{"City":"Gilbert","County/Area":"East Valley","Description":"Gilbert has become one of the Valley’s most popular residential destinations thanks to its polished neighborhoods and vibrant Heritage District. The Riparian Preserve, Agritopia area and SanTan Village add outdoor recreation, dining and shopping to daily life. Buyers are often drawn to Gilbert for its balance of community feel, modern amenities and East Valley access.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/f/f6/Scottsdale_waterfront.jpg","Representative Landmark / Photo Idea":"East Valley lifestyle scene"},{"City":"Mesa","County/Area":"East Valley","Description":"Mesa offers a wide-ranging lifestyle with arts venues, spring training, higher education and plenty of room to choose the right kind of neighborhood. Mesa Arts Center, Sloan Park, Riverview and Downtown Mesa give the city multiple activity centers rather than just one. Buyers who want value, variety and strong freeway access across the East Valley often look to Mesa.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/f/f6/Scottsdale_waterfront.jpg","Representative Landmark / Photo Idea":"East Valley arts / city scene"},{"City":"Paradise Valley","County/Area":"East Valley","Description":"Paradise Valley is one of Arizona’s premier luxury markets, prized for estate homes, mountain views and resort-style living. Camelback Mountain, championship golf and proximity to Scottsdale and the Biltmore create a setting that feels private yet exceptionally convenient. Buyers seeking exclusivity, scenery and a top-tier desert address consistently keep Paradise Valley in view.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/a/a9/Camelback_Mountain_2.jpg","Representative Landmark / Photo Idea":"Camelback Mountain"},{"City":"Phoenix","County/Area":"East Valley","Description":"Phoenix offers the broadest mix of city amenities in the Valley, from sports and dining to hiking and arts. Downtown venues, the Desert Botanical Garden, Papago Park and major employment centers give buyers a wide range of lifestyle options to choose from. With access to multiple freeways and Sky Harbor nearby, Phoenix works well for buyers who value flexibility and scale.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/b/b9/Downtown_Phoenix_Aerial_Looking_Northeast.jpg","Representative Landmark / Photo Idea":"Downtown Phoenix skyline"},{"City":"Queen Creek","County/Area":"East Valley","Description":"Queen Creek has grown quickly while holding onto a more relaxed, small-town edge compared with older parts of the Valley. Schnepf Farms, Queen Creek Olive Mill, expanding retail and family-oriented parks give the area a lifestyle that feels both comfortable and current. Buyers who want newer communities, space and easy access to the southeast Valley often find Queen Creek especially attractive.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/f/f6/Scottsdale_waterfront.jpg","Representative Landmark / Photo Idea":"Southeast Valley lifestyle scene"},{"City":"Scottsdale","County/Area":"East Valley","Description":"Scottsdale pairs resort luxury with some of the Valley’s best dining, golf and shopping. Old Town, Scottsdale Quarter, Kierland Commons and the McDowell Sonoran Preserve give the city a rare mix of nightlife, retail and outdoor recreation. Buyers looking for a polished desert lifestyle with strong long-term appeal consistently gravitate to Scottsdale.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/f/f6/Scottsdale_waterfront.jpg","Representative Landmark / Photo Idea":"Scottsdale waterfront"},{"City":"Tempe","County/Area":"East Valley","Description":"Tempe brings together waterfront recreation, university energy and one of the Valley’s best-connected urban settings. Arizona State University, Tempe Town Lake and Mill Avenue keep the area active with dining, events and everyday movement. Buyers who want walkability, transit options and quick access to Phoenix, Scottsdale and the airport often see Tempe as a compelling choice.","Image URL":"https://upload.wikimedia.org/wikipedia/commons/f/fb/HOPE_in_Tempe.jpg","Representative Landmark / Photo Idea":"Tempe Town Lake"},{"County/Area":"East Valley","Image URL":""},{"City":"Note","County/Area":"Image URLs","Description":"Filled links are single-photo links (either a direct image file or a specific Getty detail page). Rows left blank were cleared rather than leaving broken or rotating links."}]'),ho={hidden:{opacity:0,y:20},show:{opacity:1,y:0}},F6=t=>{const a=["https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1600607687931-cebf12918804?auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1600566753086-00f18efc2291?auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1600573472550-8090b5e0745e?auto=format&fit=crop&w=800&q=80"];return a[t.length%a.length]};function X6(){const a=dx()?.slug,s=Y6.find(p=>p.City&&p.City.toLowerCase().replace(/\s+/g,"-")===a),r=s?.City||a.split("-").map(p=>p.charAt(0).toUpperCase()+p.slice(1)).join(" "),l=s?.["County/Area"]||"Pacific Premier Region",d=s?.Description||`Discover the exceptional lifestyle and premium real estate opportunities in ${r}. Known for its distinguished neighborhoods and remarkable amenities, ${r} represents the pinnacle of luxury living.`,f=s?.["Image URL"]||F6(a),m=s?.["Representative Landmark / Photo Idea"];return h.jsxs("div",{className:"min-h-dvh bg-white flex flex-col",children:[h.jsx(Rn,{}),h.jsxs("main",{className:"flex-grow",children:[h.jsx("section",{className:"py-12 sm:py-16 bg-[#f8fcfd]",children:h.jsxs("div",{className:"ppre-container max-w-5xl",children:[h.jsx("div",{className:"mb-8",children:h.jsxs(Ie,{onClick:()=>window.location.href="/communities",variant:"link",className:"text-[#00acc8] pl-0",children:[h.jsx(Xx,{className:"h-4 w-4 mr-2"})," Back to Communities"]})}),h.jsxs(le.div,{initial:"hidden",animate:"show",variants:{hidden:{},show:{transition:{staggerChildren:.1}}},className:"grid md:grid-cols-2 gap-12 items-center",children:[h.jsxs("div",{children:[h.jsx(le.p,{variants:ho,className:"ppre-kicker text-[#00acc8]",children:"Community Profile"}),h.jsx(le.h1,{variants:ho,className:"ppre-h1 mt-4 text-[#003366]",children:r}),h.jsxs(le.p,{variants:ho,className:"mt-3 flex items-center gap-2 text-[#00acc8] font-medium",children:[h.jsx(Ra,{className:"h-4 w-4"}),l]}),h.jsx(le.p,{variants:ho,className:"mt-6 text-lg text-muted-foreground leading-relaxed",children:d})]}),h.jsx(le.div,{variants:ho,className:"rounded-3xl overflow-hidden shadow-2xl border border-[#00acc8]/10 h-80",children:h.jsx("img",{src:f,alt:`${r} Community`,className:"w-full h-full object-cover"})})]})]})}),m&&h.jsx("section",{className:"py-12 sm:py-16 bg-white",children:h.jsx("div",{className:"ppre-container max-w-5xl",children:h.jsx(Pe,{className:"ppre-card p-8 border-[#00acc8]/10 bg-gradient-to-br from-white to-[#f8fcfd]",children:h.jsxs("div",{className:"flex items-start gap-4",children:[h.jsx("div",{className:"h-12 w-12 rounded-lg bg-[#00acc8]/10 flex items-center justify-center shrink-0",children:h.jsx(yj,{className:"h-6 w-6 text-[#00acc8]"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-xl font-bold text-[#003366] mb-2",children:"Local Landmarks & Attractions"}),h.jsx("p",{className:"text-muted-foreground leading-relaxed",children:m})]})]})})})}),h.jsx("section",{className:"py-16 sm:py-24",children:h.jsx("div",{className:"ppre-container max-w-4xl",children:h.jsxs("div",{className:"text-center bg-gradient-to-br from-[#003366]/5 to-[#00acc8]/5 border border-[#00acc8]/10 rounded-3xl p-12 shadow-xl",children:[h.jsxs("h2",{className:"ppre-h2 text-[#003366] mb-6",children:["Interested in ",r,"?"]}),h.jsxs("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto text-lg",children:["Our local experts have deep knowledge of ",r," and can help you navigate the market to find your perfect property."]}),h.jsx(Ie,{size:"lg",className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white",onClick:()=>window.location.href="/#contact",children:"Contact Our Area Specialists"})]})})})]}),h.jsx(Nn,{})]})}const dl={hidden:{opacity:0,y:20},show:{opacity:1,y:0}};function Q6(){const[t,a]=S.useState("Coastal"),s=S.useMemo(()=>[{id:"ppre-001",address:"1427 Pacific Crest Dr",city:"Newport Beach",price:"$8,950,000",beds:5,baths:6,sqft:"5,240",status:"Available",neighborhood:"Cliffside",highlight:"Ocean-view living with private courtyard. "},{id:"ppre-002",address:"19 Seawind Terrace",city:"Laguna Beach",price:"$6,400,000",beds:4,baths:5,sqft:"4,110",status:"In Escrow",neighborhood:"Emerald Bay",highlight:"Architectural lines, natural stone, sunset decks."},{id:"ppre-003",address:"801 Vista Del Mar",city:"Manhattan Beach",price:"$5,250,000",beds:4,baths:4,sqft:"3,780",status:"Available",neighborhood:"Sand Section",highlight:"Steps to the Strand with panoramic rooftop lounge."},{id:"ppre-004",address:"300 Summit Ridge Ln",city:"Beverly Hills",price:"$12,800,000",beds:6,baths:8,sqft:"7,090",status:"Sold",neighborhood:"Trousdale",highlight:"Discreet modern estate with resort-grade amenities."}],[]);return S.useMemo(()=>t==="Coastal"?s.filter(r=>["Newport Beach","Laguna Beach"].includes(r.city)):t==="Los Angeles"?s.filter(r=>["Manhattan Beach","Beverly Hills"].includes(r.city)):s,[t,s]),h.jsxs("div",{className:"min-h-dvh bg-white",children:[h.jsx(Rn,{}),h.jsx("main",{children:h.jsx("section",{className:"py-16 sm:py-24 bg-gradient-to-b from-[#003366]/5 to-transparent",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs(le.div,{initial:"hidden",animate:"show",variants:{hidden:{},show:{transition:{staggerChildren:.1}}},className:"max-w-3xl mx-auto text-center mb-12",children:[h.jsx(le.p,{variants:dl,className:"ppre-kicker text-[#00acc8]",children:"Buyer Tools"}),h.jsx(le.h1,{variants:dl,className:"ppre-h1 mt-4 text-[#003366]",children:"Find Your Next Luxury Home"}),h.jsx(le.p,{variants:dl,className:"mt-6 text-lg text-muted-foreground",children:"Whether you're searching for a coastal gem in Southern California or a premier property in the Phoenix area, our dedicated buyer representation ensures you find the right home at the right price."})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto mb-12",children:[{icon:$x,title:"Off-Market Access",desc:"Exclusive listings not yet on the market."},{icon:Wx,title:"Negotiation Expertise",desc:"Strategic representation to secure the best terms."},{icon:Sl,title:"Complete Guidance",desc:"From search to closing, every step covered."}].map((r,l)=>h.jsx(le.div,{initial:"hidden",animate:"show",variants:dl,transition:{delay:l*.1},children:h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10 text-center h-full",children:[h.jsx("div",{className:"flex justify-center mb-4",children:h.jsx("div",{className:"h-12 w-12 rounded-lg bg-[#00acc8]/10 flex items-center justify-center",children:h.jsx(r.icon,{className:"h-6 w-6 text-[#00acc8]"})})}),h.jsx("h3",{className:"font-bold text-[#003366]",children:r.title}),h.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:r.desc})]})},r.title))}),h.jsx("div",{className:"text-center",children:h.jsxs(Ie,{variant:"outline",className:"border-[#00acc8] text-[#00acc8]",onClick:()=>window.location.href="/communities",children:["Explore Communities",h.jsx(ts,{className:"ml-2 h-4 w-4"})]})})]})})}),h.jsx(Nn,{})]})}const fl={hidden:{opacity:0,y:20},show:{opacity:1,y:0}};function K6(){return h.jsxs("div",{className:"min-h-dvh bg-white",children:[h.jsx(Rn,{}),h.jsxs("main",{children:[h.jsx("section",{className:"py-16 sm:py-24 bg-gradient-to-b from-[#003366]/5 to-transparent",children:h.jsxs("div",{className:"ppre-container",children:[h.jsxs(le.div,{initial:"hidden",animate:"show",variants:{hidden:{},show:{transition:{staggerChildren:.1}}},className:"max-w-3xl mx-auto text-center mb-12",children:[h.jsx(le.p,{variants:fl,className:"ppre-kicker text-[#00acc8]",children:"Seller Tools"}),h.jsx(le.h1,{variants:fl,className:"ppre-h1 mt-4 text-[#003366]",children:"Achieve Premium Value for Your Home"}),h.jsx(le.p,{variants:fl,className:"mt-6 text-lg text-muted-foreground",children:"Our strategic marketing, precise pricing, and boutique approach ensure your luxury property reaches qualified buyers and achieves the highest possible sale price. We price homes accurately from the outset, ensuring quick transactions and realizing full value—rather than pricing too high and taking multiple price cuts."})]}),h.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[{icon:tb,title:"Elevated Marketing",desc:"Cinematic video, editorial photography, premium placement."},{icon:ab,title:"Strategic Pricing",desc:"Data-driven analysis to position your home optimally."},{icon:Sl,title:"Discreet Representation",desc:"Privacy and controlled exposure, on your terms."}].map((t,a)=>h.jsx(le.div,{initial:"hidden",animate:"show",variants:fl,transition:{delay:a*.1},children:h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10 text-center h-full",children:[h.jsx("div",{className:"flex justify-center mb-4",children:h.jsx("div",{className:"h-12 w-12 rounded-lg bg-[#003366]/10 flex items-center justify-center",children:h.jsx(t.icon,{className:"h-6 w-6 text-[#003366]"})})}),h.jsx("h3",{className:"font-bold text-[#003366]",children:t.title}),h.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:t.desc})]})},t.title))})]})}),h.jsx("section",{id:"valuation",className:"py-16 sm:py-24 bg-[#003366]/5 border-y border-[#00acc8]/10",children:h.jsxs("div",{className:"ppre-container",children:[h.jsx("h2",{className:"ppre-h2 text-[#003366] text-center mb-12",children:"Home Valuation Guide"}),h.jsx("div",{className:"grid gap-8 md:grid-cols-2 lg:max-w-5xl mx-auto",children:[{title:"What is a Home Valuation?",desc:"A professional assessment of your home's market value based on comparable sales, location, condition, and current market conditions."},{title:"How is Value Calculated?",desc:"We analyze comparable properties (comps), recent sales, market trends, property features, condition, and location desirability."},{title:"How Accurate is the Valuation?",desc:"Our valuations are highly accurate when based on strong comparables, current market data, and expert analysis."},{title:"How is a Valuation Performed?",desc:"Through a comprehensive comparative market analysis (CMA), property inspection, and analysis of local market dynamics."},{title:"Why is a Valuation Important?",desc:"An accurate valuation ensures your home is priced optimally from day one to attract buyers quickly while maximizing your return."}].map((t,a)=>h.jsxs(Pe,{className:"ppre-card p-6 border-[#00acc8]/10",children:[h.jsx("h3",{className:"font-bold text-[#003366] mb-3",children:t.title}),h.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc})]},a))}),h.jsx("div",{className:"mt-12 text-center",children:h.jsxs(Ie,{className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white",onClick:()=>{window.location.href="/#contact"},children:["Request Your Home Valuation",h.jsx(ts,{className:"ml-2 h-4 w-4"})]})})]})}),h.jsx("section",{className:"bg-[#f8fcfd] py-16 sm:py-24",children:h.jsx("div",{className:"ppre-container",children:h.jsxs("div",{className:"grid gap-16 lg:grid-cols-2 items-center max-w-6xl mx-auto",children:[h.jsxs("div",{children:[h.jsx("div",{className:"ppre-kicker text-[#00acc8] mb-4",children:"Our Services"}),h.jsx("h2",{className:"ppre-h2 text-[#003366] mb-6",children:"Comprehensive Real Estate Advisory"}),h.jsxs("div",{className:"grid gap-6",children:[h.jsxs("div",{className:"flex gap-4",children:[h.jsx("div",{className:"h-10 w-10 shrink-0 rounded-lg bg-[#003366] flex items-center justify-center",children:h.jsx(Kx,{className:"text-white h-5 w-5"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Elite Sales & Marketing"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Strategic positioning and cinematic marketing for luxury residential listings."})]})]}),h.jsxs("div",{className:"flex gap-4",children:[h.jsx("div",{className:"h-10 w-10 shrink-0 rounded-lg bg-[#00acc8] flex items-center justify-center",children:h.jsx(ns,{className:"text-white h-5 w-5"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Buyer Acquisition"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Dedicated representation for luxury purchases, including off-market access."})]})]}),h.jsxs("div",{className:"flex gap-4",children:[h.jsx("div",{className:"h-10 w-10 shrink-0 rounded-lg bg-[#003366] flex items-center justify-center",children:h.jsx(eb,{className:"text-white h-5 w-5"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-[#003366]",children:"Investment Strategy"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Analytical data to support real estate investment and portfolio scaling."})]})]})]})]}),h.jsx("div",{className:"relative",children:h.jsxs(Pe,{className:"ppre-card p-8 ppre-noise relative z-10 border-[#00acc8]/10 shadow-lg",children:[h.jsx("h3",{className:"text-xl font-bold text-[#003366] mb-4",children:"The Pacific Premier Advantage"}),h.jsxs("ul",{className:"space-y-3 mb-6",children:[h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Licensed Real Estate Attorney Available for All Transactions"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Multi-State Licensing (CA & AZ)"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Boutique Personalized Attention"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Sophisticated Digital Marketing Suite"]}),h.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[#00acc8]"}),"Deep Network of Private Buyers"]})]}),h.jsxs("div",{className:"pt-6 border-t border-[#00acc8]/10",children:[h.jsx("div",{className:"text-sm font-semibold text-[#003366] mb-2",children:"Our Specialties:"}),h.jsx("div",{className:"flex flex-wrap gap-2",children:["Selling","Investments","Flips","Luxury","Coastal","Multi Family"].map(t=>h.jsx(wn,{className:"bg-[#00acc8]/10 text-[#00acc8] border-[#00acc8]/20",children:t},t))})]})]})})]})})})]}),h.jsx(Nn,{})]})}const tx={hidden:{opacity:0,y:20},show:{opacity:1,y:0}};function Z6(){return h.jsxs("div",{className:"min-h-dvh bg-white",children:[h.jsx(Rn,{}),h.jsxs("main",{children:[h.jsx("section",{className:"py-16 sm:py-24 bg-gradient-to-b from-[#003366]/5 to-transparent",children:h.jsx("div",{className:"ppre-container",children:h.jsxs(le.div,{initial:"hidden",animate:"show",variants:{hidden:{},show:{transition:{staggerChildren:.1}}},className:"max-w-4xl mx-auto text-center",children:[h.jsx(le.p,{variants:tx,className:"ppre-kicker text-[#00acc8]",children:"Investment Advisory"}),h.jsx(le.h1,{variants:tx,className:"ppre-h1 mt-4 text-[#003366]",children:"Our Investment Philosophy"})]})})}),h.jsx("section",{className:"py-12 sm:py-16 bg-white",children:h.jsxs("div",{className:"ppre-container max-w-5xl",children:[h.jsxs("div",{className:"grid md:grid-cols-2 gap-12 lg:gap-20 items-center mb-20",children:[h.jsxs("div",{className:"order-2 md:order-1 relative",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-bl from-[#003366]/10 to-[#00acc8]/10 rounded-3xl transform -translate-x-4 translate-y-4"}),h.jsxs(Pe,{className:"ppre-card p-10 relative bg-white border-[#00acc8]/20 shadow-xl rounded-3xl flex flex-col justify-center h-full text-center ppre-noise",children:[h.jsx("p",{className:"text-[#003366] font-medium leading-relaxed text-lg mb-6",children:'"At Pacific Premier Real Estate, we believe successful real estate investing starts with discipline, patience, and a focus on fundamentals. Rather than chasing trends, we focus on properties supported by strong local demand, sound economics, and long-term market stability."'}),h.jsx("div",{className:"h-1 w-16 bg-[#00acc8] mx-auto rounded-full mb-6"}),h.jsx("p",{className:"text-sm text-muted-foreground uppercase tracking-widest font-semibold",children:"Core Philosophy"})]})]}),h.jsxs("div",{className:"order-1 md:order-2 space-y-6 text-lg text-muted-foreground leading-relaxed",children:[h.jsxs("p",{children:[h.jsx("strong",{className:"text-[#003366]",children:"Our approach prioritizes"})," income-producing residential assets, including single-family rentals and multi-family properties, in markets with durable growth drivers such as population growth, employment centers, and housing demand."]}),h.jsxs("p",{children:["We also look for ",h.jsx("strong",{className:"text-[#00acc8]",children:"value-add opportunities"}),"—properties where thoughtful improvements, operational efficiencies, or repositioning may enhance long-term performance."]})]})]}),h.jsx("div",{className:"bg-[#f8fcfd] rounded-3xl p-8 md:p-16 border border-[#00acc8]/10 mb-20",children:h.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"text-2xl font-bold text-[#003366] mb-6",children:"Aligning With Your Objectives"}),h.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Every investor has different objectives. Some prioritize cash flow, others long-term appreciation, tax efficiency, or portfolio diversification through strategies like 1031 exchanges."}),h.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Our role is to help investors identify opportunities that align with their goals while navigating the complexities of acquisition, analysis, and execution."})]}),h.jsx("div",{className:"space-y-4",children:["Cash Flow Optimization","Long-Term Appreciation","Tax Efficiency Strategies","1031 Exchange Execution","Portfolio Diversification"].map((t,a)=>h.jsxs(Pe,{className:"p-4 border-[#00acc8]/10 flex items-center gap-3 bg-white shadow-sm",children:[h.jsx("div",{className:"h-8 w-8 rounded-full bg-[#00acc8]/10 flex items-center justify-center shrink-0",children:h.jsx(aj,{className:"h-4 w-4 text-[#00acc8]"})}),h.jsx("span",{className:"font-semibold text-[#003366]",children:t})]},a))})]})}),h.jsxs("div",{className:"text-center max-w-3xl mx-auto",children:[h.jsx(wn,{className:"bg-[#00acc8]/10 text-[#00acc8] border-[#00acc8]/20 mb-6",variant:"outline",children:"The Bottom Line"}),h.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-[#003366] mb-8 leading-tight",children:"At its core, our philosophy is simple: acquire quality assets, analyze carefully, and invest with a long-term perspective."}),h.jsxs(Ie,{size:"lg",className:"bg-[#00acc8] hover:bg-[#00acc8]/90 text-white mt-4",onClick:()=>window.location.href="/#contact",children:["Discuss Investment Opportunities",h.jsx(ts,{className:"ml-2 h-4 w-4"})]})]})]})})]}),h.jsx(Nn,{})]})}function W6(){return h.jsxs(rA,{children:[h.jsx(rn,{path:"/",component:d6}),h.jsx(rn,{path:"/buy",component:Q6}),h.jsx(rn,{path:"/sell",component:K6}),h.jsx(rn,{path:"/invest",component:Z6}),h.jsx(rn,{path:"/testimonials",component:h6}),h.jsx(rn,{path:"/advisors/ryan",component:p6}),h.jsx(rn,{path:"/advisors",component:y6}),h.jsx(rn,{path:"/faq",component:V6}),h.jsx(rn,{path:"/communities",component:G6}),h.jsx(rn,{path:"/communities/:slug",component:X6}),h.jsx(rn,{component:pN})]})}function $6(){return h.jsx(PA,{client:VA,children:h.jsxs(cN,{children:[h.jsx(xE,{}),h.jsx(W6,{})]})})}U2.createRoot(document.getElementById("root")).render(h.jsx($6,{}));
