vendor: 4,237 bytes, line 1
1function YT(e,i){for(var a=0;a<i.length;a++){const r=i[a];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(r,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function a(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=a(l);fetch(l.href,u)}})();function KT(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tf={exports:{}},Ja={};var pg;function XT(){if(pg)return Ja;pg=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function a(r,l,u){var f=null;if(u!==void 0&&(f=""+u),l.key!==void 0&&(f=""+l.key),"key"in l){u={};for(var h in l)h!=="key"&&(u[h]=l[h])}else u=l;return l=u.ref,{$$typeof:e,type:r,key:f,ref:l!==void 0?l:null,props:u}}return Ja.Fragment=i,Ja.jsx=a,Ja.jsxs=a,Ja}var yg;function FT(){return yg||(yg=1,tf.exports=XT()),tf.exports}var S=FT(),ef={exports:{}},$a={},nf={exports:{}},sf={};var gg;function QT(){return gg||(gg=1,(function(e){function i(L,F){var K=L.length;L.push(F);t:for(;0<K;){var et=K-1>>>1,T=L[et];if(0<l(T,F))L[et]=F,L[K]=T,K=et;else break t}}function a(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var F=L[0],K=L.pop();if(K!==F){L[0]=K;t:for(var et=0,T=L.length,G=T>>>1;et<G;){var $=2*(et+1)-1,J=L[$],ct=$+1,ht=L[ct];if(0>l(J,K))ct<T&&0>l(ht,J)?(L[et]=ht,L[ct]=K,et=ct):(L[et]=J,L[$]=K,et=$);else if(ct<T&&0>l(ht,K))L[et]=ht,L[ct]=K,et=ct;else break t}}return F}function l(L,F){var K=L.sortIndex-F.sortIndex;return K!==0?K:L.id-F.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var f=Date,h=f.now();e.unstable_now=function(){return f.now()-h}}var p=[],m=[],y=1,g=null,b=3,w=!1,A=!1,C=!1,R=!1,N=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function P(L){for(var F=a(m);F!==null;){if(F.callback===null)r(m);else if(F.startTime<=L)r(m),F.sortIndex=F.expirationTime,i(p,F);else break;F=a(m)}}function U(L){if(C=!1,P(L),!A)if(a(p)!==null)A=!0,Q||(Q=!0,rt());else{var F=a(m);F!==null&&ut(U,F.startTime-L)}}var Q=!1,Z=-1,H=5,I=-1;function W(){return R?!0:!(e.unstable_now()-I<H)}function lt(){if(R=!1,Q){var L=e.unstable_now();I=L;var F=!0;try{t:{A=!1,C&&(C=!1,O(Z),Z=-1),w=!0;var K=b;try{e:{for(P(L),g=a(p);g!==null&&!(g.expirationTime>L&&W());){var et=g.callback;if(typeof et=="function"){g.callback=null,b=g.priorityLevel;var T=et(g.expirationTime<=L);if(L=e.unstable_now(),typeof T=="function"){g.callback=T,P(L),F=!0;break e}g===a(p)&&r(p),P(L)}else r(p);g=a(p)}if(g!==null)F=!0;else{var G=a(m);G!==null&&ut(U,G.startTime-L),F=!1}}break t}finally{g=null,b=K,w=!1}F=void 0}}finally{F?rt():Q=!1}}}var rt;if(typeof V=="function")rt=function(){V(lt)};else if(typeof MessageChannel<"u"){var yt=new MessageChannel,tt=yt.port2;yt.port1.onmessage=lt,rt=function(){tt.postMessage(null)}}else rt=function(){N(lt,0)};function ut(L,F){Z=N(function(){L(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<L?Math.floor(1e3/L):
vendor: 30,446 bytes, lines 1-8
15},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(L){switch(b){case 1:case 2:case 3:var F=3;break;default:F=b}var K=b;b=F;try{return L()}finally{b=K}},e.unstable_requestPaint=function(){R=!0},e.unstable_runWithPriority=function(L,F){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var K=b;b=L;try{return F()}finally{b=K}},e.unstable_scheduleCallback=function(L,F,K){var et=e.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?et+K:et):K=et,L){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=K+T,L={id:y++,callback:F,priorityLevel:L,startTime:K,expirationTime:T,sortIndex:-1},K>et?(L.sortIndex=K,i(m,L),a(p)===null&&L===a(m)&&(C?(O(Z),Z=-1):C=!0,ut(U,K-et))):(L.sortIndex=T,i(p,L),A||w||(A=!0,Q||(Q=!0,rt()))),L},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(L){var F=b;return function(){var K=b;b=F;try{return L.apply(this,arguments)}finally{b=K}}}})(sf)),sf}var vg;function ZT(){return vg||(vg=1,nf.exports=QT()),nf.exports}var af={exports:{}},gt={};var bg;function WT(){if(bg)return gt;bg=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.iterator;function b(T){return T===null||typeof T!="object"?null:(T=g&&T[g]||T["@@iterator"],typeof T=="function"?T:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,C={};function R(T,G,$){this.props=T,this.context=G,this.refs=C,this.updater=$||w}R.prototype.isReactComponent={},R.prototype.setState=function(T,G){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,G,"setState")},R.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function N(){}N.prototype=R.prototype;function O(T,G,$){this.props=T,this.context=G,this.refs=C,this.updater=$||w}var V=O.prototype=new N;V.constructor=O,A(V,R.prototype),V.isPureReactComponent=!0;var P=Array.isArray,U={H:null,A:null,T:null,S:null,V:null},Q=Object.prototype.hasOwnProperty;function Z(T,G,$,J,ct,ht){return $=ht.ref,{$$typeof:e,type:T,key:G,ref:$!==void 0?$:null,props:ht}}function H(T,G){return Z(T.type,G,void 0,void 0,void 0,T.props)}function I(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function W(T){var G={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function($){return G[$]})}var lt=/\/+/g;function rt(T,G){return typeof T=="object"&&T!==null&&T.key!=null?W(""+T.key):G.toString(36)}function yt(){}function tt(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(yt,yt):(T.status="pending",T.then(function(G){T.status==="pending"&&(T.status="fulfilled",T.value=G)},function(G){T.status==="pending"&&(T.status="rejected",T.reason=G)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function ut(T,G,$,J,ct){var ht=typeof T;(ht==="undefined"||ht==="boolean")&&(T=null);var ot=!1;if(T===null)ot=!0;else switch(ht){case"bigint":case"string":case"number":ot=!0;break;case"object":switch(T.$$typeof){case e:case i:ot=!0;break;case y:return ot=T._init,ut(ot(T._payload),G,$,J,ct)}}if(ot)return ct=ct(T),ot=J===""?"."+rt(T,0):J,P(ct)?($="",ot!=null&&($=ot.replace(lt,"$&/")+"/"),ut(ct,G,$,"",function(Mt){return Mt})):ct!=null&&(I(ct)&&(ct=H(ct,$+(ct.key==null||T&&T.key===ct.key?"":(""+ct.key).replace(lt,"$&/")+"/")+ot)),G.push(ct)),1;ot=0;var Yt=J===""?".":J+":";if(P(T))for(var At=0;At<T.length;At++)J=T[At],ht=Yt+rt(J,At),ot+=ut(J,G,$,ht,ct);else if(At=b(T),typeof At=="function")for(T=At.call(T),At=0;!(J=T.next()).done;)J=J.value,ht=Yt+rt(J,At++),ot+=ut(J,G,$,ht,ct);else if(ht==="object"){if(typeof T.then=="function")return ut(tt(T),G,$,J,ct);throw G=String(T),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ot}function L(T,G,$){if(T==null)return T;var J=[],ct=0;return ut(T,J,"","",function(ht){return G.call($,ht,ct++)}),J}function F(T){if(T._status===-1){var G=T._result;G=G(),G.then(function($){(T._status===0||T._status===-1)&&(T._status=1,T._result=$)},function($){(T._status===0||T._status===-1)&&(T._status=2,T._result=$)}),T._status===-1&&(T._status=0,T._result=G)}if(T._status===1)return T._result.default;throw T._result}var K=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function et(){}return gt.Children={map:L,forEach:function(T,G,$){L(T,function(){G.apply(this,arguments)},$)},count:function(T){var G=0;return L(T,function(){G++}),G},toArray:function(T){return L(T,function(G){return G})||[]},only:function(T){if(!I(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},gt.Component=R,gt.Fragment=a,gt.Profiler=l,gt.PureComponent=O,gt.StrictMode=r,gt.Suspense=p,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=U,gt.__COMPILER_RUNTIME={__proto__:null,c:function(T){return U.H.useMemoCache(T)}},gt.cache=function(T){return function(){return T.apply(null,arguments)}},gt.cloneElement=function(T,G,$){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var J=A({},T.props),ct=T.key,ht=void 0;if(G!=null)for(ot in G.ref!==void 0&&(ht=void 0),G.key!==void 0&&(ct=""+G.key),G)!Q.call(G,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&G.ref===void 0||(J[ot]=G[ot]);var ot=arguments.length-2;if(ot===1)J.children=$;else if(1<ot){for(var Yt=Array(ot),At=0;At<ot;At++)Yt[At]=arguments[At+2];J.children=Yt}return Z(T.type,ct,void 0,void 0,ht,J)},gt.createContext=function(T){return T={$$typeof:f,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:u,_context:T},T},gt.createElement=function(T,G,$){var J,ct={},ht=null;if(G!=null)for(J in G.key!==void 0&&(ht=""+G.key),G)Q.call(G,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ct[J]=G[J]);var ot=arguments.length-2;if(ot===1)ct.children=$;else if(1<ot){for(var Yt=Array(ot),At=0;At<ot;At++)Yt[At]=arguments[At+2];ct.children=Yt}if(T&&T.defaultProps)for(J in ot=T.defaultProps,ot)ct[J]===void 0&&(ct[J]=ot[J]);return Z(T,ht,void 0,void 0,null,ct)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(T){return{$$typeof:h,render:T}},gt.isValidElement=I,gt.lazy=function(T){return{$$typeof:y,_payload:{_status:-1,_result:T},_init:F}},gt.memo=function(T,G){return{$$typeof:m,type:T,compare:G===void 0?null:G}},gt.startTransition=function(T){var G=U.T,$={};U.T=$;try{var J=T(),ct=U.S;ct!==null&&ct($,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(et,K)}catch(ht){K(ht)}finally{U.T=G}},gt.unstable_useCacheRefresh=function(){return U.H.useCacheRefresh()},gt.use=function(T){return U.H.use(T)},gt.useActionState=function(T,G,$){return U.H.useActionState(T,G,$)},gt.useCallback=function(T,G){return U.H.useCallback(T,G)},gt.useContext=function(T){return U.H.useContext(T)},gt.useDebugValue=function(){},gt.useDeferredValue=function(T,G){return U.H.useDeferredValue(T,G)},gt.useEffect=function(T,G,$){var J=U.H;if(typeof $=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return J.useEffect(T,G)},gt.useId=function(){return U.H.useId()},gt.useImperativeHandle=function(T,G,$){return U.H.useImperativeHandle(T,G,$)},gt.useInsertionEffect=function(T,G){return U.H.useInsertionEffect(T,G)},gt.useLayoutEffect=function(T,G){return U.H.useLayoutEffect(T,G)},gt.useMemo=function(T,G){return U.H.useMemo(T,G)},gt.useOptimistic=function(T,G){return U.H.useOptimistic(T,G)},gt.useReducer=function(T,G,$){return U.H.useReducer(T,G,$)},gt.useRef=function(T){return U.H.useRef(T)},gt.useState=function(T){return U.H.useState(T)},gt.useSyncExternalStore=function(T,G,$){return U.H.useSyncExternalStore(T,G,$)},gt.useTransition=function(){return U.H.useTransition()},gt.version="19.1.0",gt}var xg;function Cl(){return xg||(xg=1,af.exports=WT()),af.exports}var rf={exports:{}},fe={};var wg;function IT(){if(wg)return fe;wg=1;var e=Cl();function i(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var r={d:{f:a,r:function(){throw Error(i(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(p,m,y){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:g==null?null:""+g,children:p,containerInfo:m,implementation:y}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return fe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,fe.createPortal=function(p,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return u(p,m,null,y)},fe.flushSync=function(p){var m=f.T,y=r.p;try{if(f.T=null,r.p=2,p)return p()}finally{f.T=m,r.p=y,r.d.f()}},fe.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(p,m))},fe.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},fe.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var y=m.as,g=h(y,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,w=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?r.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:w}):y==="script"&&r.d.X(p,{crossOrigin:g,integrity:b,fetchPriority:w,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},fe.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=h(m.as,m.crossOrigin);r.d.M(p,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(p)},fe.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,g=h(y,m.crossOrigin);r.d.L(p,y,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},fe.preloadModule=function(p,m){if(typeof p=="string")if(m){var y=h(m.as,m.crossOrigin);r.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(p)},fe.requestFormReset=function(p){r.d.r(p)},fe.unstable_batchedUpdates=function(p,m){return p(m)},fe.useFormState=function(p,m,y){return f.H.useFormState(p,m,y)},fe.useFormStatus=function(){return f.H.useHostTransitionStatus()},fe.version="19.1.0",fe}var Sg;function B0(){if(Sg)return rf.exports;Sg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(i){console.error(i)}}return e(),rf.exports=IT(),rf.exports}var Tg;function JT(){if(Tg)return $a;Tg=1;var e=ZT(),i=Cl(),a=B0();function r(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var n=t,s=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(s=n.return),t=n.return;while(t)}return n.tag===3?s:null}function f(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function h(t){if(u(t)!==t)throw Error(r(188))}function p(t){var n=t.alternate;if(!n){if(n=u(t),n===null)throw Error(r(188));return n!==t?null:t}for(var s=t,o=n;;){var c=s.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){s=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===s)return h(c),t;if(d===o)return h(c),n;d=d.sibling}throw Error(r(188))}if(s.return!==o.return)s=c,o=d;else{for(var v=!1,x=c.child;x;){if(x===s){v=!0,s=c,o=d;break}if(x===o){v=!0,o=c,s=d;break}x=x.sibling}if(!v){for(x=d.child;x;){if(x===s){v=!0,s=d,o=c;break}if(x===o){v=!0,o=d,s=c;break}x=x.sibling}if(!v)throw Error(r(189))}}if(s.alternate!==o)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?t:n}function m(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=m(t),n!==null)return n;t=t.sibling}return null}var y=Object.assign,g=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),O=Symbol.for("react.consumer"),V=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),W=Symbol.for("react.memo_cache_sentinel"),lt=Symbol.iterator;function rt(t){return t===null||typeof t!="object"?null:(t=lt&&t[lt]||t["@@iterator"],typeof t=="function"?t:null)}var yt=Symbol.for("react.client.reference");function tt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===yt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case A:return"Fragment";case R:return"Profiler";case C:return"StrictMode";case U:return"Suspense";case Q:return"SuspenseList";case I:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case w:return"Portal";case V:return(t.displayName||"Context")+".Provider";case O:return(t._context.displayName||"Context")+".Consumer";case P:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Z:return n=t.displayName||null,n!==null?n:tt(t.type)||"Memo";case H:n=t._payload,t=t._init;try{return tt(t(n))}catch{}}return null}var ut=Array.isArray,L=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K={pending:!1,data:null,method:null,action:null},et=[],T=-1;function G(t){return{current:t}}function $(t){0>T||(t.current=et[T],et[T]=null,T--)}function J(t,n){T++,et[T]=t.current,t.current=n}var ct=G(null),ht=G(null),ot=G(null),Yt=G(null);function At(t,n){switch(J(ot,n),J(ht,t),J(ct,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?Gy(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=Gy(n),t=Yy(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}$(ct),J(ct,t)}function Mt(){$(ct),$(ht),$(ot)}function Yn(t){t.memoizedState!==null&&J(Yt,t);var n=ct.current,s=Yy(n,t.type);n!==s&&(J(ht,t),J(ct,s))}function Qe(t){ht.current===t&&($(ct),$(ht)),Yt.current===t&&($(Yt),Fa._currentValue=K)}var ln=Object.prototype.hasOwnProperty,Sn=e.unstable_scheduleCallback,Te=e.unstable_cancelCallback,Sw=e.unstable_shouldYield,Tw=e.unstable_requestPaint,cn=e.unstable_now,Aw=e.unstable_getCurrentPriorityLevel,Th=e.unstable_ImmediatePriority,Ah=e.unstable_UserBlockingPriority,Er=e.unstable_NormalPriority,Ew=e.unstable_LowPriority,Eh=e.unstable_IdlePriority,Cw=e.log,Rw=e.unstable_setDisableYieldValue,ea=null,Ae=null;function Kn(t){if(typeof Cw=="function"&&Rw(t),Ae&&typeof Ae.setStrictMode=="function")try{Ae.setStrictMode(ea,t)}catch{}}var Ee=Math.clz32?Math.clz32:Ow,Mw=Math.log,Dw=Math.LN2;function Ow(t){return t>>>=0,t===0?32:31-(Mw(t)/Dw|0)|0}var Cr=256,Rr=4194304;function Ti(t){var n=t&42;if(n!==0)return n;switch(t&-t){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:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Mr(t,n,s){var o=t.pendingLanes;if(o===0)return 0;var c=0,d=t.suspendedLanes,v=t.pingedLanes;t=t.warmLanes;var x=o&134217727;return x!==0?(o=x&~d,o!==0?c=Ti(o):(v&=x,v!==0?c=Ti(v):s||(s=x&~t,s!==0&&(c=Ti(s))))):(x=o&~d,x!==0?c=Ti(x):v!==0?c=Ti(v):s||(s=o&~t,s!==0&&(c=Ti(s)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,s=n&-n,d>=s||d===32&&(s&4194048)!==0)?n:c}function na(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function Nw(t,n){switch(t){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 Ch(){var t=Cr;return Cr<<=1,(Cr&4194048)===0&&(Cr=256),t}function Rh(){var t=Rr;return Rr<<=1,(Rr&62914560)===0&&(Rr=4194304),t}function Gl(t){for(var n=[],s=0;31>s;s++)n.push(t);return n}function ia(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function jw(t,n,s,o,c,d){var v=t.pendingLanes;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=s,t.entangledLanes&=s,t.errorRecoveryDisabledLanes&=s,t.shellSuspendCounter=0;var x=t.entanglements,M=t.expirationTimes,z=t.hiddenUpdates;for(s=v&~s;0<s;){var q=31-Ee(s),X=1<<q;x[q]=0,M[q]=-1;var k=z[q];if(k!==null)for(z[q]=null,q=0;q<k.length;q++){var B=k[q];B!==null&&(B.lane&=-536870913)}s&=~X}o!==0&&Mh(t,o,0),d!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=d&~(v&~n))}function Mh(t,n,s){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-Ee(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|s&4194090}function Dh(t,n){var s=t.entangledLanes|=n;for(t=t.entanglements;s;){var o=31-Ee(s),c=1<<o;c&n|t[o]&n&&(t[o]|=n),s&=~c}}function Yl(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Kl(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Oh(){var t=F.p;return t!==0?t:(t=window.event,t===void 0?32:cg(t.type))}function Vw(t,n){var s=F.p;try{return F.p=t,n()}finally{F.p=s}}var Xn=Math.random().toString(36).slice(2),ce="__reactFiber$"+Xn,ye="__reactProps$"+Xn,Ii="__reactContainer$"+Xn,Xl="__reactEvents$"+Xn,Lw="__reactListeners$"+Xn,_w="__reactHandles$"+Xn,Nh="__reactResources$"+Xn,sa="__reactMarker$"+Xn;function Fl(t){delete t[ce],delete t[ye],delete t[Xl],delete t[Lw],delete t[_w]}function Ji(t){var n=t[ce];if(n)return n;for(var s=t.parentNode;s;){if(n=s[Ii]||s[ce]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(t=Qy(t);t!==null;){if(s=t[ce])return s;t=Qy(t)}return n}t=s,s=t.parentNode}return null}function $i(t){if(t=t[ce]||t[Ii]){var n=t.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return t}return null}function aa(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(r(33))}function ts(t){var n=t[Nh];return n||(n=t[Nh]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function $t(t){t[sa]=!0}var jh=new Set,Vh={};function Ai(t,n){es(t,n),es(t+"Capture",n)}function es(t,n){for(Vh[t]=n,t=0;t<n.length;t++)jh.add(n[t])}var zw=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]*$"),Lh={},_h={};function kw(t){return ln.call(_h,t)?!0:ln.call(Lh,t)?!1:zw.test(t)?_h[t]=!0:(Lh[t]=!0,!1)}function Dr(t,n,s){if(kw(n))if(s===null)t.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+s)}}function Or(t,n,s){if(s===null)t.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+s)}}function Tn(t,n,s,o){if(o===null)t.removeAttribute(s);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(s);return}t.setAttributeNS(n,s,""+o)}}var Ql,zh;function ns(t){if(Ql===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);Ql=n&&n[1]||"",zh=-1<s.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+Ql+t+zh}var Zl=!1;function Wl(t,n){if(!t||Zl)return"";Zl=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(B){var k=B}Reflect.construct(t,[],X)}else{try{X.call()}catch(B){k=B}t.call(X.prototype)}}else{try{throw Error()}catch(B){k=B}(X=t())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(B){if(B&&k&&typeof B.stack=="string")return[B.stack,k.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 d=o.DetermineComponentFrameRoot(),v=d[0],x=d[1];if(v&&x){var M=v.split(` 4`),z=x.split(` 5`);for(c=o=0;o<M.length&&!M[o].includes("DetermineComponentFrameRoot");)o++;for(;c<z.length&&!z[c].includes("DetermineComponentFrameRoot");)c++;if(o===M.length||c===z.length)for(o=M.length-1,c=z.length-1;1<=o&&0<=c&&M[o]!==z[c];)c--;for(;1<=o&&0<=c;o--,c--)if(M[o]!==z[c]){if(o!==1||c!==1)do if(o--,c--,0>c||M[o]!==z[c]){var q=` 6`+M[o].replace(" at new "," at ");return t.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",t.displayName)),q}while(1<=o&&0<=c);break}}}finally{Zl=!1,Error.prepareStackTrace=s}return(s=t?t.displayName||t.name:"")?ns(s):""}function Pw(t){switch(t.tag){case 26:case 27:case 5:return ns(t.type);case 16:return ns("Lazy");case 13:return ns("Suspense");case 19:return ns("SuspenseList");case 0:case 15:return Wl(t.type,!1);case 11:return Wl(t.type.render,!1);case 1:return Wl(t.type,!0);case 31:return ns("Activity");default:return""}}function kh(t){try{var n="";do n+=Pw(t),t=t.return;while(t);return n}catch(s){return` 7Error generating stack: `+s.message+` 8`+s.stack}}function ke(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ph(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Bw(t){var n=Ph(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),o=""+t[n];if(!t.hasOwnProperty(n)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var c=s.get,d=s.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return c.call(this)},set:function(v){o=""+v,d.call(this,v)}}),Object.defineProperty(t,n,{enumerable:s.enumerable}),{getValue:function(){return o},setValue:function(v){o=""+v},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function Nr(t){t._valueTracker||(t._valueTracker=Bw(t))}function Bh(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var s=n.getValue(),o="";return t&&(o=Ph(t)?t.checked?"true":"false":t.value),t=o,t!==s?(n.setValue(t),!0):!1}function jr(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Uw=/[\n"\\]/g;function Pe(t){return t.replace(Uw,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Il(t,n,s,o,c,d,v,x){t.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.type=v:t.removeAttribute("type"),n!=null?v==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+ke(n)):t.value!==""+ke(n)&&(t.value=""+ke(n)):v!=="submit"&&v!=="reset"||t.removeAttribute("value"),n!=null?Jl(t,v,ke(n)):s!=null?Jl(t,v,ke(s)):o!=null&&t.removeAttribute("value"),c==null&&d!=null&&(t.defaultChecked=!!d),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.name=""+ke(x):t.removeAttribute("name")}function Uh(t,n,s,o,c,d,v,x){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.type=d),n!=null||s!=null){if(!(d!=="submit"&&d!=="reset"||n!=null))return;s=s!=null?""+ke(s):"",n=n!=null?""+ke(n):s,x||n===t.value||(t.value=n),t.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=x?t.checked:!!o,t.defaultChecked=!!o,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.name=v)}function Jl(t,n,s){n==="number"&&jr(t.ownerDocument)===t||t.defaultValue===""+s||(t.defaultValue=""+s)}function is(t,n,s,o){if(t=t.options,n){n={};for(var c=0;c<s.length;c++)n["$"+s[c]]=!0;for(s=0;s<t.length;s++)c=n.hasOwnProperty("$"+t[s].value),t[s].selected!==c&&(t[s].selected=c),c&&o&&(t[s].defaultSelected=!0)}else{for(s=""+ke(s),n=null,c=0;c<t.length;c++){if(t[c].value===s){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}n!==null||t[c].disabled||(n=t[c])}n!==null&&(n.selected=!0)}}function Hh(t,n,s){if(n!=null&&(n=""+ke(n),n!==t.value&&(t.value=n),s==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=s!=null?""+ke(s):""}function qh(t,n,s,o){if(n==null){if(o!=null){if(s!=null)throw Error(r(92));if(ut(o)){if(1<o.length)throw Error(r(93));o=o[0]}s=o}s==null&&(s=""),n=s}s=ke(n),t.defaultValue=s,o=t.textContent,o===s&&o!==""&&o!==null&&(t.value=o)}function ss(t,n){if(n){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=n;return}}t.textContent=n}var Hw=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 Gh(t,n,s){var o=n.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?o?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":o?t.setProperty(n,s):typeof s!="number"||s===0||Hw.has(n)?n==="float"?t.cssFloat=s:t[n]=(""+s).trim():t[n]=s+"px"}function Yh(t,n,s){if(n!=null&&typeof n!="object")throw Error(r(62));if(t=t.style,s!=null){for(var o in s)!s.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&s[c]!==o&&Gh(t,c,o)}else for(var d in n)n.hasOwnProperty(d)&&Gh(t,d,n[d])}function $l(t){if(t.indexOf("-")===-1)return!1;switch(t){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 qw=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"],["colorRen
8dering","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"]]),Gw=/^[\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 Vr(t){return Gw.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var tc=null;function ec(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var as=null,rs=null;function Kh(t){var n=$i(t);if(n&&(t=n.stateNode)){var s=t[ye]||null;t:switch(t=n.stateNode,n.type){case"input":if(Il(t,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),n=s.name,s.type==="radio"&&n!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Pe(""+n)+'"][type="radio"]'),n=0;n<s.length;n++){var o=s[n];if(o!==t&&o.form===t.form){var c=o[ye]||null;if(!c)throw Error(r(90));Il(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<s.length;n++)o=s[n],o.form===t.form&&Bh(o)}break t;case"textarea":Hh(t,s.value,s.defaultValue);break t;case"select":n=s.value,n!=null&&is(t,!!s.multiple,n,!1)}}}var nc=!1;function Xh(t,n,s){if(nc)return t(n,s);nc=!0;try{var o=t(n);return o}finally{if(nc=!1,(as!==null||rs!==null)&&(bo(),as&&(n=as,t=rs,rs=as=null,Kh(n),t)))for(n=0;n<t.length;n++)Kh(t[n])}}function ra(t,n){var s=t.stateNode;if(s===null)return null;var o=s[ye]||null;if(o===null)return null;s=o[n];t: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)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break t;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(r(231,n,typeof s));return s}var An=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ic=!1;if(An)try{var oa={};Object.defineProperty(oa,"passive",{get:function(){ic=!0}}),window.addEventListener("test",oa,oa),window.removeEventListener("test",oa,oa)}catch{ic=!1}var Fn=null,sc=null,Lr=null;function Fh(){if(Lr)return Lr;var t,n=sc,s=n.length,o,c="value"in Fn?Fn.value:Fn.textContent,d=c.length;for(t=0;t<s&&n[t]===c[t];t++);var v=s-t;for(o=1;o<=v&&n[s-o]===c[d-o];o++);return Lr=c.slice(t,1<o?1-o:void 0)}function _r(t){var n=t.keyCode;
vendor: 3,069 bytes, line 8
8return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function zr(){return!0}function Qh(){return!1}function ge(t){function n(s,o,c,d,v){this._reactName=s,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var x in t)t.hasOwnProperty(x)&&(s=t[x],this[x]=s?s(d):d[x]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?zr:Qh,this.isPropagationStopped=Qh,this}return y(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=zr)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=zr)},persist:function(){},isPersistent:zr}),n}var Ei={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kr=ge(Ei),la=y({},Ei,{view:0,detail:0}),Yw=ge(la),ac,rc,ca,Pr=y({},la,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ca&&(ca&&t.type==="mousemove"?(ac=t.screenX-ca.screenX,rc=t.screenY-ca.screenY):rc=ac=0,ca=t),ac)},movementY:function(t){return"movementY"in t?t.movementY:rc}}),Zh=ge(Pr),Kw=y({},Pr,{dataTransfer:0}),Xw=ge(Kw),Fw=y({},la,{relatedTarget:0}),oc=ge(Fw),Qw=y({},Ei,{animationName:0,elapsedTime:0,pseudoElement:0}),Zw=ge(Qw),Ww=y({},Ei,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Iw=ge(Ww),Jw=y({},Ei,{data:0}),Wh=ge(Jw),$w={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tS={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"},eS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nS(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=eS[t])?!!n[t]:!1}function lc(){return nS}var iS=y({},la,{key:function(t){if(t.key){var n=$w[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=_r(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?tS[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lc,charCo
vendor: 4,938 bytes, line 8
8de:function(t){return t.type==="keypress"?_r(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?_r(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),sS=ge(iS),aS=y({},Pr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ih=ge(aS),rS=y({},la,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lc}),oS=ge(rS),lS=y({},Ei,{propertyName:0,elapsedTime:0,pseudoElement:0}),cS=ge(lS),uS=y({},Pr,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),fS=ge(uS),dS=y({},Ei,{newState:0,oldState:0}),hS=ge(dS),mS=[9,13,27,32],cc=An&&"CompositionEvent"in window,ua=null;An&&"documentMode"in document&&(ua=document.documentMode);var pS=An&&"TextEvent"in window&&!ua,Jh=An&&(!cc||ua&&8<ua&&11>=ua),$h=" ",tm=!1;function em(t,n){switch(t){case"keyup":return mS.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nm(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var os=!1;function yS(t,n){switch(t){case"compositionend":return nm(n);case"keypress":return n.which!==32?null:(tm=!0,$h);case"textInput":return t=n.data,t===$h&&tm?null:t;default:return null}}function gS(t,n){if(os)return t==="compositionend"||!cc&&em(t,n)?(t=Fh(),Lr=sc=Fn=null,os=!1,t):null;switch(t){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 Jh&&n.locale!=="ko"?null:n.data;default:return null}}var vS={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 im(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!vS[t.type]:n==="textarea"}function sm(t,n,s,o){as?rs?rs.push(o):rs=[o]:as=o,n=Eo(n,"onChange"),0<n.length&&(s=new kr("onChange","change",null,s,o),t.push({event:s,listeners:n}))}var fa=null,da=null;function bS(t){Py(t,0)}function Br(t){var n=aa(t);if(Bh(n))return t}function am(t,n){if(t==="change")return n}var rm=!1;if(An){var uc;if(An){var fc="oninput"in document;if(!fc){var om=document.createElement("div");om.setAttribute("oninput","return;"),fc=typeof om.oninput=="function"}uc=fc}else uc=!1;rm=uc&&(!document.documentMode||9<document.documentMode)}function lm(){fa&&(fa.detachEvent("onpropertychange",cm),da=fa=null)}function cm(t){if(t.propertyName==="value"&&Br(da)){var n=[];sm(n,da,t,ec(t)),Xh(bS,n)}}function xS(t,n,s){t==="focusin"?(lm(),fa=n,da=s,fa.attachEvent("onpropertychange",cm)):t==="focusout"&&lm()}function wS(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Br(da)}function SS(t,n){if(t==="click")return Br(n)}function TS(t,n){if(t==="input"||t==="change")return Br(n)}function AS(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Ce=typeof Object.is=="function"?Object.is:AS;function ha(t,n){if(Ce(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var s=Object.keys(t),o=Object.keys(n);if(s.length!==o.length)return!1;for(o=0;o<s.length;o++){var c=s[o];if(!ln.call(n,c)||!Ce(t[c],n[c]))return!1}return!0}function um(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function fm(t,n){var s=um(t);t=0;for(var o;s;){if(s.nodeType===3){if(o=t+s.textContent.length,t<=n&&o>=n)return{node:s,offset:n-t};t=o}t:{for(;s;){if(s.nextSibling){s=s.nextSibling;break t}s=s.parentNode}s=void 0}s=um(s)}}function dm(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?dm(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function hm(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=jr(t.document);n instanceof t.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)t=n.contentWindow;else break;n=jr(t.document)}return n}function dc(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var ES=An&&"documentMode"in document&&11>=document.documentMode,ls=null,hc=null,ma=null,mc=!1;function mm(t,n,s){var o=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;mc||ls==null||ls!==jr(o)||(o=ls,"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,focu
vendor: 97,752 bytes, line 8
8sNode:o.focusNode,focusOffset:o.focusOffset}),ma&&ha(ma,o)||(ma=o,o=Eo(hc,"onSelect"),0<o.length&&(n=new kr("onSelect","select",null,n,s),t.push({event:n,listeners:o}),n.target=ls)))}function Ci(t,n){var s={};return s[t.toLowerCase()]=n.toLowerCase(),s["Webkit"+t]="webkit"+n,s["Moz"+t]="moz"+n,s}var cs={animationend:Ci("Animation","AnimationEnd"),animationiteration:Ci("Animation","AnimationIteration"),animationstart:Ci("Animation","AnimationStart"),transitionrun:Ci("Transition","TransitionRun"),transitionstart:Ci("Transition","TransitionStart"),transitioncancel:Ci("Transition","TransitionCancel"),transitionend:Ci("Transition","TransitionEnd")},pc={},pm={};An&&(pm=document.createElement("div").style,"AnimationEvent"in window||(delete cs.animationend.animation,delete cs.animationiteration.animation,delete cs.animationstart.animation),"TransitionEvent"in window||delete cs.transitionend.transition);function Ri(t){if(pc[t])return pc[t];if(!cs[t])return t;var n=cs[t],s;for(s in n)if(n.hasOwnProperty(s)&&s in pm)return pc[t]=n[s];return t}var ym=Ri("animationend"),gm=Ri("animationiteration"),vm=Ri("animationstart"),CS=Ri("transitionrun"),RS=Ri("transitionstart"),MS=Ri("transitioncancel"),bm=Ri("transitionend"),xm=new Map,yc="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(" ");yc.push("scrollEnd");function Ze(t,n){xm.set(t,n),Ai(n,[t])}var wm=new WeakMap;function Be(t,n){if(typeof t=="object"&&t!==null){var s=wm.get(t);return s!==void 0?s:(n={value:t,source:n,stack:kh(n)},wm.set(t,n),n)}return{value:t,source:n,stack:kh(n)}}var Ue=[],us=0,gc=0;function Ur(){for(var t=us,n=gc=us=0;n<t;){var s=Ue[n];Ue[n++]=null;var o=Ue[n];Ue[n++]=null;var c=Ue[n];Ue[n++]=null;var d=Ue[n];if(Ue[n++]=null,o!==null&&c!==null){var v=o.pending;v===null?c.next=c:(c.next=v.next,v.next=c),o.pending=c}d!==0&&Sm(s,c,d)}}function Hr(t,n,s,o){Ue[us++]=t,Ue[us++]=n,Ue[us++]=s,Ue[us++]=o,gc|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function vc(t,n,s,o){return Hr(t,n,s,o),qr(t)}function fs(t,n){return Hr(t,null,null,n),qr(t)}function Sm(t,n,s){t.lanes|=s;var o=t.alternate;o!==null&&(o.lanes|=s);for(var c=!1,d=t.return;d!==null;)d.childLanes|=s,o=d.alternate,o!==null&&(o.childLanes|=s),d.tag===22&&(t=d.stateNode,t===null||t._visibility&1||(c=!0)),t=d,d=d.return;return t.tag===3?(d=t.stateNode,c&&n!==null&&(c=31-Ee(s),t=d.hiddenUpdates,o=t[c],o===null?t[c]=[n]:o.push(n),n.lane=s|536870912),d):null}function qr(t){if(50<Ba)throw Ba=0,Au=null,Error(r(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var ds={};function DS(t,n,s,o){this.tag=t,this.key=s,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 Re(t,n,s,o){return new DS(t,n,s,o)}function bc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function En(t,n){var s=t.alternate;return s===null?(s=Re(t.tag,n,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=n,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&65011712,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,n=t.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s.refCleanup=t.refCleanup,s}function Tm(t,n){t.flags&=65011714;var s=t.alternate;return s===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=s.childLanes,t.lanes=s.lanes,t.child=s.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=s.memoizedProps,t.memoizedState=s.memoizedState,t.updateQueue=s.updateQueue,t.type=s.type,n=s.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function Gr(t,n,s,o,c,d){var v=0;if(o=t,typeof t=="function")bc(t)&&(v=1);else if(typeof t=="string")v=NT(t,s,ct.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case I:return t=Re(31,s,n,c),t.elementType=I,t.lanes=d,t;case A:return Mi(s.children,c,d,n);case C:v=8,c|=24;break;case R:return t=Re(12,s,n,c|2),t.elementType=R,t.lanes=d,t;case U:return t=Re(13,s,n,c),t.elementType=U,t.lanes=d,t;case Q:return t=Re(19,s,n,c),t.elementType=Q,t.lanes=d,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case N:case V:v=10;break t;case O:v=9;break t;case P:v=11;break t;case Z:v=14;break t;case H:v=16,o=null;break t}v=29,s=Error(r(130,t===null?"null":typeof t,"")),o=null}return n=Re(v,s,n,c),n.elementType=t,n.type=o,n.lanes=d,n}function Mi(t,n,s,o){return t=Re(7,t,o,n),t.lanes=s,t}function xc(t,n,s){return t=Re(6,t,null,n),t.lanes=s,t}function wc(t,n,s){return n=Re(4,t.children!==null?t.children:[],t.key,n),n.lanes=s,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var hs=[],ms=0,Yr=null,Kr=0,He=[],qe=0,Di=null,Cn=1,Rn="";function Oi(t,n){hs[ms++]=Kr,hs[ms++]=Yr,Yr=t,Kr=n}function Am(t,n,s){He[qe++]=Cn,He[qe++]=Rn,He[qe++]=Di,Di=t;var o=Cn;t=Rn;var c=32-Ee(o)-1;o&=~(1<<c),s+=1;var d=32-Ee(n)+c;if(30<d){var v=c-c%5;d=(o&(1<<v)-1).toString(32),o>>=v,c-=v,Cn=1<<32-Ee(n)+c|s<<c|o,Rn=d+t}else Cn=1<<d|s<<c|o,Rn=t}function Sc(t){t.return!==null&&(Oi(t,1),Am(t,1,0))}function Tc(t){for(;t===Yr;)Yr=hs[--ms],hs[ms]=null,Kr=hs[--ms],hs[ms]=null;for(;t===Di;)Di=He[--qe],He[qe]=null,Rn=He[--qe],He[qe]=null,Cn=He[--qe],He[qe]=null}var de=null,Bt=null,Rt=!1,Ni=null,un=!1,Ac=Error(r(519));function ji(t){var n=Error(r(418,""));throw ga(Be(n,t)),Ac}function Em(t){var n=t.stateNode,s=t.type,o=t.memoizedProps;switch(n[ce]=t,n[ye]=o,s){case"dialog":St("cancel",n),St("close",n);break;case"iframe":case"object":case"embed":St("load",n);break;case"video":case"audio":for(s=0;s<Ha.length;s++)St(Ha[s],n);break;case"source":St("error",n);break;case"img":case"image":case"link":St("error",n),St("load",n);break;case"details":St("toggle",n);break;case"input":St("invalid",n),Uh(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Nr(n);break;case"select":St("invalid",n);break;case"textarea":St("invalid",n),qh(n,o.value,o.defaultValue,o.children),Nr(n)}s=o.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||n.textContent===""+s||o.suppressHydrationWarning===!0||qy(n.textContent,s)?(o.popover!=null&&(St("beforetoggle",n),St("toggle",n)),o.onScroll!=null&&St("scroll",n),o.onScrollEnd!=null&&St("scrollend",n),o.onClick!=null&&(n.onclick=Co),n=!0):n=!1,n||ji(t)}function Cm(t){for(de=t.return;de;)switch(de.tag){case 5:case 13:un=!1;return;case 27:case 3:un=!0;return;default:de=de.return}}function pa(t){if(t!==de)return!1;if(!Rt)return Cm(t),Rt=!0,!1;var n=t.tag,s;if((s=n!==3&&n!==27)&&((s=n===5)&&(s=t.type,s=!(s!=="form"&&s!=="button")||Uu(t.type,t.memoizedProps)),s=!s),s&&Bt&&ji(t),Cm(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));t:{for(t=t.nextSibling,n=0;t;){if(t.nodeType===8)if(s=t.data,s==="/$"){if(n===0){Bt=Ie(t.nextSibling);break t}n--}else s!=="$"&&s!=="$!"&&s!=="$?"||n++;t=t.nextSibling}Bt=null}}else n===27?(n=Bt,ci(t.type)?(t=Yu,Yu=null,Bt=t):Bt=n):Bt=de?Ie(t.stateNode.nextSibling):null;return!0}function ya(){Bt=de=null,Rt=!1}function Rm(){var t=Ni;return t!==null&&(xe===null?xe=t:xe.push.apply(xe,t),Ni=null),t}function ga(t){Ni===null?Ni=[t]:Ni.push(t)}var Ec=G(null),Vi=null,Mn=null;function Qn(t,n,s){J(Ec,n._currentValue),n._currentValue=s}function Dn(t){t._currentValue=Ec.current,$(Ec)}function Cc(t,n,s){for(;t!==null;){var o=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),t===s)break;t=t.return}}function Rc(t,n,s,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var d=c.dependencies;if(d!==null){var v=c.child;d=d.firstContext;t:for(;d!==null;){var x=d;d=c;for(var M=0;M<n.length;M++)if(x.context===n[M]){d.lanes|=s,x=d.alternate,x!==null&&(x.lanes|=s),Cc(d.return,s,t),o||(v=null);break t}d=x.next}}else if(c.tag===18){if(v=c.return,v===null)throw Error(r(341));v.lanes|=s,d=v.alternate,d!==null&&(d.lanes|=s),Cc(v,s,t),v=null}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===t){v=null;break}if(c=v.sibling,c!==null){c.return=v.return,v=c;break}v=v.return}c=v}}function va(t,n,s,o){t=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var v=c.alternate;if(v===null)throw Error(r(387));if(v=v.memoizedProps,v!==null){var x=c.type;Ce(c.pendingProps.value,v.value)||(t!==null?t.push(x):t=[x])}}else if(c===Yt.current){if(v=c.alternate,v===null)throw Error(r(387));v.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(Fa):t=[Fa])}c=c.return}t!==null&&Rc(n,t,s,o),n.flags|=262144}function Xr(t){for(t=t.firstContext;t!==null;){if(!Ce(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Li(t){Vi=t,Mn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ue(t){return Mm(Vi,t)}function Fr(t,n){return Vi===null&&Li(t),Mm(t,n)}function Mm(t,n){var s=n._currentValue;if(n={context:n,memoizedValue:s,next:null},Mn===null){if(t===null)throw Error(r(308));Mn=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else Mn=Mn.next=n;return s}var OS=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(s,o){t.push(o)}};this.abort=function(){n.aborted=!0,t.forEach(function(s){return s()})}},NS=e.unstable_scheduleCallback,jS=e.unstable_NormalPriority,Qt={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Mc(){return{controller:new OS,data:new Map,refCount:0}}function ba(t){t.refCount--,t.refCount===0&&NS(jS,function(){t.controller.abort()})}var xa=null,Dc=0,ps=0,ys=null;function VS(t,n){if(xa===null){var s=xa=[];Dc=0,ps=Nu(),ys={status:"pending",value:void 0,then:function(o){s.push(o)}}}return Dc++,n.then(Dm,Dm),n}function Dm(){if(--Dc===0&&xa!==null){ys!==null&&(ys.status="fulfilled");var t=xa;xa=null,ps=0,ys=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function LS(t,n){var s=[],o={status:"pending",value:null,reason:null,then:function(c){s.push(c)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<s.length;c++)(0,s[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<s.length;c++)(0,s[c])(void 0)}),o}var Om=L.S;L.S=function(t,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&VS(t,n),Om!==null&&Om(t,n)};var _i=G(null);function Oc(){var t=_i.current;return t!==null?t:zt.pooledCache}function Qr(t,n){n===null?J(_i,_i.current):J(_i,n.pool)}function Nm(){var t=Oc();return t===null?null:{parent:Qt._currentValue,pool:t}}var wa=Error(r(460)),jm=Error(r(474)),Zr=Error(r(542)),Nc={then:function(){}};function Vm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Wr(){}function Lm(t,n,s){switch(s=t[s],s===void 0?t.push(n):s!==n&&(n.then(Wr,Wr),n=s),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,zm(t),t;default:if(typeof n.status=="string")n.then(Wr,Wr);else{if(t=zt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=n,t.status="pending",t.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 t=n.reason,zm(t),t}throw Sa=n,wa}}var Sa=null;function _m(){if(Sa===null)throw Error(r(459));var t=Sa;return Sa=null,t}function zm(t){if(t===wa||t===Zr)throw Error(r(483))}var Zn=!1;function jc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vc(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Wn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function In(t,n,s){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Dt&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=qr(t),Sm(t,null,s),n}return Hr(t,o,n,s),qr(t)}function Ta(t,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194048)!==0)){var o=n.lanes;o&=t.pendingLanes,s|=o,n.lanes=s,Dh(t,s)}}function Lc(t,n){var s=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,s===o)){var c=null,d=null;if(s=s.firstBaseUpdate,s!==null){do{var v={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};d===null?c=d=v:d=d.next=v,s=s.next}while(s!==null);d===null?c=d=n:d=d.next=n}else c=d=n;s={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=n:t.next=n,s.lastBaseUpdate=n}var _c=!1;function Aa(){if(_c){var t=ys;if(t!==null)throw t}}function Ea(t,n,s,o){_c=!1;var c=t.updateQueue;Zn=!1;var d=c.firstBaseUpdate,v=c.lastBaseUpdate,x=c.shared.pending;if(x!==null){c.shared.pending=null;var M=x,z=M.next;M.next=null,v===null?d=z:v.next=z,v=M;var q=t.alternate;q!==null&&(q=q.updateQueue,x=q.lastBaseUpdate,x!==v&&(x===null?q.firstBaseUpdate=z:x.next=z,q.lastBaseUpdate=M))}if(d!==null){var X=c.baseState;v=0,q=z=M=null,x=d;do{var k=x.lane&-536870913,B=k!==x.lane;if(B?(Tt&k)===k:(o&k)===k){k!==0&&k===ps&&(_c=!0),q!==null&&(q=q.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});t:{var pt=t,dt=x;k=n;var Vt=s;switch(dt.tag){case 1:if(pt=dt.payload,typeof pt=="function"){X=pt.call(Vt,X,k);break t}X=pt;break t;case 3:pt.flags=pt.flags&-65537|128;case 0:if(pt=dt.payload,k=typeof pt=="function"?pt.call(Vt,X,k):pt,k==null)break t;X=y({},X,k);break t;case 2:Zn=!0}}k=x.callback,k!==null&&(t.flags|=64,B&&(t.flags|=8192),B=c.callbacks,B===null?c.callbacks=[k]:B.push(k))}else B={lane:k,tag:x.tag,payload:x.payload,callback:x.callback,next:null},q===null?(z=q=B,M=X):q=q.next=B,v|=k;if(x=x.next,x===null){if(x=c.shared.pending,x===null)break;B=x,x=B.next,B.next=null,c.lastBaseUpdate=B,c.shared.pending=null}}while(!0);q===null&&(M=X),c.baseState=M,c.firstBaseUpdate=z,c.lastBaseUpdate=q,d===null&&(c.shared.lanes=0),ai|=v,t.lanes=v,t.memoizedState=X}}function km(t,n){if(typeof t!="function")throw Error(r(191,t));t.call(n)}function Pm(t,n){var s=t.callbacks;if(s!==null)for(t.callbacks=null,t=0;t<s.length;t++)km(s[t],n)}var gs=G(null),Ir=G(0);function Bm(t,n){t=zn,J(Ir,t),J(gs,n),zn=t|n.baseLanes}function zc(){J(Ir,zn),J(gs,gs.current)}function kc(){zn=Ir.current,$(gs),$(Ir)}var Jn=0,vt=null,Nt=null,Kt=null,Jr=!1,vs=!1,zi=!1,$r=0,Ca=0,bs=null,_S=0;function qt(){throw Error(r(321))}function Pc(t,n){if(n===null)return!1;for(var s=0;s<n.length&&s<t.length;s++)if(!Ce(t[s],n[s]))return!1;return!0}function Bc(t,n,s,o,c,d){return Jn=d,vt=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,L.H=t===null||t.memoizedState===null?Sp:Tp,zi=!1,d=s(o,c),zi=!1,vs&&(d=Hm(n,s,o,c)),Um(t),d}function Um(t){L.H=ao;var n=Nt!==null&&Nt.next!==null;if(Jn=0,Kt=Nt=vt=null,Jr=!1,Ca=0,bs=null,n)throw Error(r(300));t===null||te||(t=t.dependencies,t!==null&&Xr(t)&&(te=!0))}function Hm(t,n,s,o){vt=t;var c=0;do{if(vs&&(bs=null),Ca=0,vs=!1,25<=c)throw Error(r(301));if(c+=1,Kt=Nt=null,t.updateQueue!=null){var d=t.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}L.H=qS,d=n(s,o)}while(vs);return d}function zS(){var t=L.H,n=t.useState()[0];return n=typeof n.then=="function"?Ra(n):n,t=t.useState()[0],(Nt!==null?Nt.memoizedState:null)!==t&&(vt.flags|=1024),n}function Uc(){var t=$r!==0;return $r=0,t}function Hc(t,n,s){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~s}function qc(t){if(Jr){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Jr=!1}Jn=0,Kt=Nt=vt=null,vs=!1,Ca=$r=0,bs=null}function ve(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Kt===null?vt.memoizedState=Kt=t:Kt=Kt.next=t,Kt}function Xt(){if(Nt===null){var t=vt.alternate;t=t!==null?t.memoizedState:null}else t=Nt.next;var n=Kt===null?vt.memoizedState:Kt.next;if(n!==null)Kt=n,Nt=t;else{if(t===null)throw vt.alternate===null?Error(r(467)):Error(r(310));Nt=t,t={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},Kt===null?vt.memoizedState=Kt=t:Kt=Kt.next=t}return Kt}function Gc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ra(t){var n=Ca;return Ca+=1,bs===null&&(bs=[]),t=Lm(bs,t,n),n=vt,(Kt===null?n.memoizedState:Kt.next)===null&&(n=n.alternate,L.H=n===null||n.memoizedState===null?Sp:Tp),t}function to(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ra(t);if(t.$$typeof===V)return ue(t)}throw Error(r(438,String(t)))}function Yc(t){var n=null,s=vt.updateQueue;if(s!==null&&(n=s.memoCache),n==null){var o=vt.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}),s===null&&(s=Gc(),vt.updateQueue=s),s.memoCache=n,s=n.data[n.index],s===void 0)for(s=n.data[n.index]=Array(t),o=0;o<t;o++)s[o]=W;return n.index++,s}function On(t,n){return typeof n=="function"?n(t):n}function eo(t){var n=Xt();return Kc(n,Nt,t)}function Kc(t,n,s){var o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=s;var c=t.baseQueue,d=o.pending;if(d!==null){if(c!==null){var v=c.next;c.next=d.next,d.next=v}n.baseQueue=c=d,o.pending=null}if(d=t.baseState,c===null)t.memoizedState=d;else{n=c.next;var x=v=null,M=null,z=n,q=!1;do{var X=z.lane&-536870913;if(X!==z.lane?(Tt&X)===X:(Jn&X)===X){var k=z.revertLane;if(k===0)M!==null&&(M=M.next={lane:0,revertLane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),X===ps&&(q=!0);else if((Jn&k)===k){z=z.next,k===ps&&(q=!0);continue}else X={lane:0,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(x=M=X,v=d):M=M.next=X,vt.lanes|=k,ai|=k;X=z.action,zi&&s(d,X),d=z.hasEagerState?z.eagerState:s(d,X)}else k={lane:X,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(x=M=k,v=d):M=M.next=k,vt.lanes|=X,ai|=X;z=z.next}while(z!==null&&z!==n);if(M===null?v=d:M.next=x,!Ce(d,t.memoizedState)&&(te=!0,q&&(s=ys,s!==null)))throw s;t.memoizedState=d,t.baseState=v,t.baseQueue=M,o.lastRenderedState=d}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Xc(t){var n=Xt(),s=n.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;var o=s.dispatch,c=s.pending,d=n.memoizedState;if(c!==null){s.pending=null;var v=c=c.next;do d=t(d,v.action),v=v.next;while(v!==c);Ce(d,n.memoizedState)||(te=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),s.lastRenderedState=d}return[d,o]}function qm(t,n,s){var o=vt,c=Xt(),d=Rt;if(d){if(s===void 0)throw Error(r(407));s=s()}else s=n();var v=!Ce((Nt||c).memoizedState,s);v&&(c.memoizedState=s,te=!0),c=c.queue;var x=Km.bind(null,o,c,t);if(Ma(2048,8,x,[t]),c.getSnapshot!==n||v||Kt!==null&&Kt.memoizedState.tag&1){if(o.flags|=2048,xs(9,no(),Ym.bind(null,o,c,s,n),null),zt===null)throw Error(r(349));d||(Jn&124)!==0||Gm(o,n,s)}return s}function Gm(t,n,s){t.flags|=16384,t={getSnapshot:n,value:s},n=vt.updateQueue,n===null?(n=Gc(),vt.updateQueue=n,n.stores=[t]):(s=n.stores,s===null?n.stores=[t]:s.push(t))}function Ym(t,n,s,o){n.value=s,n.getSnapshot=o,Xm(n)&&Fm(t)}function Km(t,n,s){return s(function(){Xm(n)&&Fm(t)})}function Xm(t){var n=t.getSnapshot;t=t.value;try{var s=n();return!Ce(t,s)}catch{return!0}}function Fm(t){var n=fs(t,2);n!==null&&je(n,t,2)}function Fc(t){var n=ve();if(typeof t=="function"){var s=t;if(t=s(),zi){Kn(!0);try{s()}finally{Kn(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:t},n}function Qm(t,n,s,o){return t.baseState=s,Kc(t,Nt,typeof o=="function"?o:On)}function kS(t,n,s,o,c){if(so(t))throw Error(r(485));if(t=n.action,t!==null){var d={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){d.listeners.push(v)}};L.T!==null?s(!0):d.isTransition=!1,o(d),s=n.pending,s===null?(d.next=n.pending=d,Zm(n,d)):(d.next=s.next,n.pending=s.next=d)}}function Zm(t,n){var s=n.action,o=n.payload,c=t.state;if(n.isTransition){var d=L.T,v={};L.T=v;try{var x=s(c,o),M=L.S;M!==null&&M(v,x),Wm(t,n,x)}catch(z){Qc(t,n,z)}finally{L.T=d}}else try{d=s(c,o),Wm(t,n,d)}catch(z){Qc(t,n,z)}}function Wm(t,n,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(o){Im(t,n,o)},function(o){return Qc(t,n,o)}):Im(t,n,s)}function Im(t,n,s){n.status="fulfilled",n.value=s,Jm(n),t.state=s,n=t.pending,n!==null&&(s=n.next,s===n?t.pending=null:(s=s.next,n.next=s,Zm(t,s)))}function Qc(t,n,s){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=s,Jm(n),n=n.next;while(n!==o)}t.action=null}function Jm(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function $m(t,n){return n}function tp(t,n){if(Rt){var s=zt.formState;if(s!==null){t:{var o=vt;if(Rt){if(Bt){e:{for(var c=Bt,d=un;c.nodeType!==8;){if(!d){c=null;break e}if(c=Ie(c.nextSibling),c===null){c=null;break e}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){Bt=Ie(c.nextSibling),o=c.data==="F!";break t}}ji(o)}o=!1}o&&(n=s[0])}}return s=ve(),s.memoizedState=s.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$m,lastRenderedState:n},s.queue=o,s=bp.bind(null,vt,o),o.dispatch=s,o=Fc(!1),d=$c.bind(null,vt,!1,o.queue),o=ve(),c={state:n,dispatch:null,action:t,pending:null},o.queue=c,s=kS.bind(null,vt,c,d,s),c.dispatch=s,o.memoizedState=t,[n,s,!1]}function ep(t){var n=Xt();return np(n,Nt,t)}function np(t,n,s){if(n=Kc(t,n,$m)[0],t=eo(On)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=Ra(n)}catch(v){throw v===wa?Zr:v}else o=n;n=Xt();var c=n.queue,d=c.dispatch;return s!==n.memoizedState&&(vt.flags|=2048,xs(9,no(),PS.bind(null,c,s),null)),[o,d,t]}function PS(t,n){t.action=n}function ip(t){var n=Xt(),s=Nt;if(s!==null)return np(n,s,t);Xt(),n=n.memoizedState,s=Xt();var o=s.queue.dispatch;return s.memoizedState=t,[n,o,!1]}function xs(t,n,s,o){return t={tag:t,create:s,deps:o,inst:n,next:null},n=vt.updateQueue,n===null&&(n=Gc(),vt.updateQueue=n),s=n.lastEffect,s===null?n.lastEffect=t.next=t:(o=s.next,s.next=t,t.next=o,n.lastEffect=t),t}function no(){return{destroy:void 0,resource:void 0}}function sp(){return Xt().memoizedState}function io(t,n,s,o){var c=ve();o=o===void 0?null:o,vt.flags|=t,c.memoizedState=xs(1|n,no(),s,o)}function Ma(t,n,s,o){var c=Xt();o=o===void 0?null:o;var d=c.memoizedState.inst;Nt!==null&&o!==null&&Pc(o,Nt.memoizedState.deps)?c.memoizedState=xs(n,d,s,o):(vt.flags|=t,c.memoizedState=xs(1|n,d,s,o))}function ap(t,n){io(8390656,8,t,n)}function rp(t,n){Ma(2048,8,t,n)}function op(t,n){return Ma(4,2,t,n)}function lp(t,n){return Ma(4,4,t,n)}function cp(t,n){if(typeof n=="function"){t=t();var s=n(t);return function(){typeof s=="function"?s():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function up(t,n,s){s=s!=null?s.concat([t]):null,Ma(4,4,cp.bind(null,n,t),s)}function Zc(){}function fp(t,n){var s=Xt();n=n===void 0?null:n;var o=s.memoizedState;return n!==null&&Pc(n,o[1])?o[0]:(s.memoizedState=[t,n],t)}function dp(t,n){var s=Xt();n=n===void 0?null:n;var o=s.memoizedState;if(n!==null&&Pc(n,o[1]))return o[0];if(o=t(),zi){Kn(!0);try{t()}finally{Kn(!1)}}return s.memoizedState=[o,n],o}function Wc(t,n,s){return s===void 0||(Jn&1073741824)!==0?t.memoizedState=n:(t.memoizedState=s,t=py(),vt.lanes|=t,ai|=t,s)}function hp(t,n,s,o){return Ce(s,n)?s:gs.current!==null?(t=Wc(t,s,o),Ce(t,n)||(te=!0),t):(Jn&42)===0?(te=!0,t.memoizedState=s):(t=py(),vt.lanes|=t,ai|=t,n)}function mp(t,n,s,o,c){var d=F.p;F.p=d!==0&&8>d?d:8;var v=L.T,x={};L.T=x,$c(t,!1,n,s);try{var M=c(),z=L.S;if(z!==null&&z(x,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var q=LS(M,o);Da(t,n,q,Ne(t))}else Da(t,n,o,Ne(t))}catch(X){Da(t,n,{then:function(){},status:"rejected",reason:X},Ne())}finally{F.p=d,L.T=v}}function BS(){}function Ic(t,n,s,o){if(t.tag!==5)throw Error(r(476));var c=pp(t).queue;mp(t,c,n,K,s===null?BS:function(){return yp(t),s(o)})}function pp(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:K,baseState:K,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:K},next:null};var s={};return n.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:s},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function yp(t){var n=pp(t).next.queue;Da(t,n,{},Ne())}function Jc(){return ue(Fa)}function gp(){return Xt().memoizedState}function vp(){return Xt().memoizedState}function US(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var s=Ne();t=Wn(s);var o=In(n,t,s);o!==null&&(je(o,n,s),Ta(o,n,s)),n={cache:Mc()},t.payload=n;return}n=n.return}}function HS(t,n,s){var o=Ne();s={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},so(t)?xp(n,s):(s=vc(t,n,s,o),s!==null&&(je(s,t,o),wp(s,n,o)))}function bp(t,n,s){var o=Ne();Da(t,n,s,o)}function Da(t,n,s,o){var c={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(so(t))xp(n,c);else{var d=t.alternate;if(t.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var v=n.lastRenderedState,x=d(v,s);if(c.hasEagerState=!0,c.eagerState=x,Ce(x,v))return Hr(t,n,c,0),zt===null&&Ur(),!1}catch{}if(s=vc(t,n,c,o),s!==null)return je(s,t,o),wp(s,n,o),!0}return!1}function $c(t,n,s,o){if(o={lane:2,revertLane:Nu(),action:o,hasEagerState:!1,eagerState:null,next:null},so(t)){if(n)throw Error(r(479))}else n=vc(t,s,o,2),n!==null&&je(n,t,2)}function so(t){var n=t.alternate;return t===vt||n!==null&&n===vt}function xp(t,n){vs=Jr=!0;var s=t.pending;s===null?n.next=n:(n.next=s.next,s.next=n),t.pending=n}function wp(t,n,s){if((s&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,s|=o,n.lanes=s,Dh(t,s)}}var ao={readContext:ue,use:to,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt},Sp={readContext:ue,use:to,useCallback:function(t,n){return ve().memoizedState=[t,n===void 0?null:n],t},useContext:ue,useEffect:ap,useImperativeHandle:function(t,n,s){s=s!=null?s.concat([t]):null,io(4194308,4,cp.bind(null,n,t),s)},useLayoutEffect:function(t,n){return io(4194308,4,t,n)},useInsertionEffect:function(t,n){io(4,2,t,n)},useMemo:function(t,n){var s=ve();n=n===void 0?null:n;var o=t();if(zi){Kn(!0);try{t()}finally{Kn(!1)}}return s.memoizedState=[o,n],o},useReducer:function(t,n,s){var o=ve();if(s!==void 0){var c=s(n);if(zi){Kn(!0);try{s(n)}finally{Kn(!1)}}}else c=n;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=HS.bind(null,vt,t),[o.memoizedState,t]},useRef:function(t){var n=ve();return t={current:t},n.memoizedState=t},useState:function(t){t=Fc(t);var n=t.queue,s=bp.bind(null,vt,n);return n.dispatch=s,[t.memoizedState,s]},useDebugValue:Zc,useDeferredValue:function(t,n){var s=ve();return Wc(s,t,n)},useTransition:function(){var t=Fc(!1);return t=mp.bind(null,vt,t.queue,!0,!1),ve().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,s){var o=vt,c=ve();if(Rt){if(s===void 0)throw Error(r(407));s=s()}else{if(s=n(),zt===null)throw Error(r(349));(Tt&124)!==0||Gm(o,n,s)}c.memoizedState=s;var d={value:s,getSnapshot:n};return c.queue=d,ap(Km.bind(null,o,d,t),[t]),o.flags|=2048,xs(9,no(),Ym.bind(null,o,d,s,n),null),s},useId:function(){var t=ve(),n=zt.identifierPrefix;if(Rt){var s=Rn,o=Cn;s=(o&~(1<<32-Ee(o)-1)).toString(32)+s,n="«"+n+"R"+s,s=$r++,0<s&&(n+="H"+s.toString(32)),n+="»"}else s=_S++,n="«"+n+"r"+s.toString(32)+"»";return t.memoizedState=n},useHostTransitionStatus:Jc,useFormState:tp,useActionState:tp,useOptimistic:function(t){var n=ve();n.memoizedState=n.baseState=t;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=s,n=$c.bind(null,vt,!0,s),s.dispatch=n,[t,n]},useMemoCache:Yc,useCacheRefresh:function(){return ve().memoizedState=US.bind(null,vt)}},Tp={readContext:ue,use:to,useCallback:fp,useContext:ue,useEffect:rp,useImperativeHandle:up,useInsertionEffect:op,useLayoutEffect:lp,useMemo:dp,useReducer:eo,useRef:sp,useState:function(){return eo(On)},useDebugValue:Zc,useDeferredValue:function(t,n){var s=Xt();return hp(s,Nt.memoizedState,t,n)},useTransition:function(){var t=eo(On)[0],n=Xt().memoizedState;return[typeof t=="boolean"?t:Ra(t),n]},useSyncExternalStore:qm,useId:gp,useHostTransitionStatus:Jc,useFormState:ep,useActionState:ep,useOptimistic:function(t,n){var s=Xt();return Qm(s,Nt,t,n)},useMemoCache:Yc,useCacheRefresh:vp},qS={readContext:ue,use:to,useCallback:fp,useContext:ue,useEffect:rp,useImperativeHandle:up,useInsertionEffect:op,useLayoutEffect:lp,useMemo:dp,useReducer:Xc,useRef:sp,useState:function(){return Xc(On)},useDebugValue:Zc,useDeferredValue:function(t,n){var s=Xt();return Nt===null?Wc(s,t,n):hp(s,Nt.memoizedState,t,n)},useTransition:function(){var t=Xc(On)[0],n=Xt().memoizedState;return[typeof t=="boolean"?t:Ra(t),n]},useSyncExternalStore:qm,useId:gp,useHostTransitionStatus:Jc,useFormState:ip,useActionState:ip,useOptimistic:function(t,n){var s=Xt();return Nt!==null?Qm(s,Nt,t,n):(s.baseState=t,[t,s.queue.dispatch])},useMemoCache:Yc,useCacheRefresh:vp},ws=null,Oa=0;function ro(t){var n=Oa;return Oa+=1,ws===null&&(ws=[]),Lm(ws,t,n)}function Na(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function oo(t,n){throw n.$$typeof===g?Error(r(525)):(t=Object.prototype.toString.call(n),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function Ap(t){var n=t._init;return n(t._payload)}function Ep(t){function n(j,D){if(t){var _=j.deletions;_===null?(j.deletions=[D],j.flags|=16):_.push(D)}}function s(j,D){if(!t)return null;for(;D!==null;)n(j,D),D=D.sibling;return null}function o(j){for(var D=new Map;j!==null;)j.key!==null?D.set(j.key,j):D.set(j.index,j),j=j.sibling;return D}function c(j,D){return j=En(j,D),j.index=0,j.sibling=null,j}function d(j,D,_){return j.index=_,t?(_=j.alternate,_!==null?(_=_.index,_<D?(j.flags|=67108866,D):_):(j.flags|=67108866,D)):(j.flags|=1048576,D)}function v(j){return t&&j.alternate===null&&(j.flags|=67108866),j}function x(j,D,_,Y){return D===null||D.tag!==6?(D=xc(_,j.mode,Y),D.return=j,D):(D=c(D,_),D.return=j,D)}function M(j,D,_,Y){var st=_.type;return st===A?q(j,D,_.props.children,Y,_.key):D!==null&&(D.elementType===st||typeof st=="object"&&st!==null&&st.$$typeof===H&&Ap(st)===D.type)?(D=c(D,_.props),Na(D,_),D.return=j,D):(D=Gr(_.type,_.key,_.props,null,j.mode,Y),Na(D,_),D.return=j,D)}function z(j,D,_,Y){return D===null||D.tag!==4||D.stateNode.containerInfo!==_.containerInfo||D.stateNode.implementation!==_.implementation?(D=wc(_,j.mode,Y),D.return=j,D):(D=c(D,_.children||[]),D.return=j,D)}function q(j,D,_,Y,st){return D===null||D.tag!==7?(D=Mi(_,j.mode,Y,st),D.return=j,D):(D=c(D,_),D.return=j,D)}function X(j,D,_){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=xc(""+D,j.mode,_),D.return=j,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case b:return _=Gr(D.type,D.key,D.props,null,j.mode,_),Na(_,D),_.return=j,_;case w:return D=wc(D,j.mode,_),D.return=j,D;case H:var Y=D._init;return D=Y(D._payload),X(j,D,_)}if(ut(D)||rt(D))return D=Mi(D,j.mode,_,null),D.return=j,D;if(typeof D.then=="function")return X(j,ro(D),_);if(D.$$typeof===V)return X(j,Fr(j,D),_);oo(j,D)}return null}function k(j,D,_,Y){var st=D!==null?D.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return st!==null?null:x(j,D,""+_,Y);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case b:return _.key===st?M(j,D,_,Y):null;case w:return _.key===st?z(j,D,_,Y):null;case H:return st=_._init,_=st(_._payload),k(j,D,_,Y)}if(ut(_)||rt(_))return st!==null?null:q(j,D,_,Y,null);if(typeof _.then=="function")return k(j,D,ro(_),Y);if(_.$$typeof===V)return k(j,D,Fr(j,_),Y);oo(j,_)}return null}function B(j,D,_,Y,st){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return j=j.get(_)||null,x(D,j,""+Y,st);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case b:return j=j.get(Y.key===null?_:Y.key)||null,M(D,j,Y,st);case w:return j=j.get(Y.key===null?_:Y.key)||null,z(D,j,Y,st);case H:var xt=Y._init;return Y=xt(Y._payload),B(j,D,_,Y,st)}if(ut(Y)||rt(Y))return j=j.get(_)||null,q(D,j,Y,st,null);if(typeof Y.then=="function")return B(j,D,_,ro(Y),st);if(Y.$$typeof===V)return B(j,D,_,Fr(D,Y),st);oo(D,Y)}return null}function pt(j,D,_,Y){for(var st=null,xt=null,ft=D,mt=D=0,ne=null;ft!==null&&mt<_.length;mt++){ft.index>mt?(ne=ft,ft=null):ne=ft.sibling;var Ct=k(j,ft,_[mt],Y);if(Ct===null){ft===null&&(ft=ne);break}t&&ft&&Ct.alternate===null&&n(j,ft),D=d(Ct,D,mt),xt===null?st=Ct:xt.sibling=Ct,xt=Ct,ft=ne}if(mt===_.length)return s(j,ft),Rt&&Oi(j,mt),st;if(ft===null){for(;mt<_.length;mt++)ft=X(j,_[mt],Y),ft!==null&&(D=d(ft,D,mt),xt===null?st=ft:xt.sibling=ft,xt=ft);return Rt&&Oi(j,mt),st}for(ft=o(ft);mt<_.length;mt++)ne=B(ft,j,mt,_[mt],Y),ne!==null&&(t&&ne.alternate!==null&&ft.delete(ne.key===null?mt:ne.key),D=d(ne,D,mt),xt===null?st=ne:xt.sibling=ne,xt=ne);return t&&ft.forEach(function(mi){return n(j,mi)}),Rt&&Oi(j,mt),st}function dt(j,D,_,Y){if(_==null)throw Error(r(151));for(var st=null,xt=null,ft=D,mt=D=0,ne=null,Ct=_.next();ft!==null&&!Ct.done;mt++,Ct=_.next()){ft.index>mt?(ne=ft,ft=null):ne=ft.sibling;var mi=k(j,ft,Ct.value,Y);if(mi===null){ft===null&&(ft=ne);break}t&&ft&&mi.alternate===null&&n(j,ft),D=d(mi,D,mt),xt===null?st=mi:xt.sibling=mi,xt=mi,ft=ne}if(Ct.done)return s(j,ft),Rt&&Oi(j,mt),st;if(ft===null){for(;!Ct.done;mt++,Ct=_.next())Ct=X(j,Ct.value,Y),Ct!==null&&(D=d(Ct,D,mt),xt===null?st=Ct:xt.sibling=Ct,xt=Ct);return Rt&&Oi(j,mt),st}for(ft=o(ft);!Ct.done;mt++,Ct=_.next())Ct=B(ft,j,mt,Ct.value,Y),Ct!==null&&(t&&Ct.alternate!==null&&ft.delete(Ct.key===null?mt:Ct.key),D=d(Ct,D,mt),xt===null?st=Ct:xt.sibling=Ct,xt=Ct);return t&&ft.forEach(function(GT){return n(j,GT)}),Rt&&Oi(j,mt),st}function Vt(j,D,_,Y){if(typeof _=="object"&&_!==null&&_.type===A&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case b:t:{for(var st=_.key;D!==null;){if(D.key===st){if(st=_.type,st===A){if(D.tag===7){s(j,D.sibling),Y=c(D,_.props.children),Y.return=j,j=Y;break t}}else if(D.elementType===st||typeof st=="object"&&st!==null&&st.$$typeof===H&&Ap(st)===D.type){s(j,D.sibling),Y=c(D,_.props),Na(Y,_),Y.return=j,j=Y;break t}s(j,D);break}else n(j,D);D=D.sibling}_.type===A?(Y=Mi(_.props.children,j.mode,Y,_.key),Y.return=j,j=Y):(Y=Gr(_.type,_.key,_.props,null,j.mode,Y),Na(Y,_),Y.return=j,j=Y)}return v(j);case w:t:{for(st=_.key;D!==null;){if(D.key===st)if(D.tag===4&&D.stateNode.containerInfo===_.containerInfo&&D.stateNode.implementation===_.implementation){s(j,D.sibling),Y=c(D,_.children||[]),Y.return=j,j=Y;break t}else{s(j,D);break}else n(j,D);D=D.sibling}Y=wc(_,j.mode,Y),Y.return=j,j=Y}return v(j);case H:return st=_._init,_=st(_._payload),Vt(j,D,_,Y)}if(ut(_))return pt(j,D,_,Y);if(rt(_)){if(st=rt(_),typeof st!="function")throw Error(r(150));return _=st.call(_),dt(j,D,_,Y)}if(typeof _.then=="function")return Vt(j,D,ro(_),Y);if(_.$$typeof===V)return Vt(j,D,Fr(j,_),Y);oo(j,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,D!==null&&D.tag===6?(s(j,D.sibling),Y=c(D,_),Y.return=j,j=Y):(s(j,D),Y=xc(_,j.mode,Y),Y.return=j,j=Y),v(j)):s(j,D)}return function(j,D,_,Y){try{Oa=0;var st=Vt(j,D,_,Y);return ws=null,st}catch(ft){if(ft===wa||ft===Zr)throw ft;var xt=Re(29,ft,null,j.mode);return xt.lanes=Y,xt.return=j,xt}}}var Ss=Ep(!0),Cp=Ep(!1),Ge=G(null),fn=null;function $n(t){var n=t.alternate;J(Zt,Zt.current&1),J(Ge,t),fn===null&&(n===null||gs.current!==null||n.memoizedState!==null)&&(fn=t)}function Rp(t){if(t.tag===22){if(J(Zt,Zt.current),J(Ge,t),fn===null){var n=t.alternate;n!==null&&n.memoizedState!==null&&(fn=t)}}else ti()}function ti(){J(Zt,Zt.current),J(Ge,Ge.current)}function Nn(t){$(Ge),fn===t&&(fn=null),$(Zt)}var Zt=G(0);function lo(t){for(var n=t;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||Gu(s)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function tu(t,n,s,o){n=t.memoizedState,s=s(o,n),s=s==null?n:y({},n,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var eu={enqueueSetState:function(t,n,s){t=t._reactInternals;var o=Ne(),c=Wn(o);c.payload=n,s!=null&&(c.callback=s),n=In(t,c,o),n!==null&&(je(n,t,o),Ta(n,t,o))},enqueueReplaceState:function(t,n,s){t=t._reactInternals;var o=Ne(),c=Wn(o);c.tag=1,c.payload=n,s!=null&&(c.callback=s),n=In(t,c,o),n!==null&&(je(n,t,o),Ta(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var s=Ne(),o=Wn(s);o.tag=2,n!=null&&(o.callback=n),n=In(t,o,s),n!==null&&(je(n,t,s),Ta(n,t,s))}};function Mp(t,n,s,o,c,d,v){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,d,v):n.prototype&&n.prototype.isPureReactComponent?!ha(s,o)||!ha(c,d):!0}function Dp(t,n,s,o){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,o),n.state!==t&&eu.enqueueReplaceState(n,n.state,null)}function ki(t,n){var s=n;if("ref"in n){s={};for(var o in n)o!=="ref"&&(s[o]=n[o])}if(t=t.defaultProps){s===n&&(s=y({},s));for(var c in t)s[c]===void 0&&(s[c]=t[c])}return s}var co=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Op(t){co(t)}function Np(t){console.error(t)}function jp(t){co(t)}function uo(t,n){try{var s=t.onUncaughtError;s(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function Vp(t,n,s){try{var o=t.onCaughtError;o(s.value,{componentStack:s.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function nu(t,n,s){return s=Wn(s),s.tag=3,s.payload={element:null},s.callback=function(){uo(t,n)},s}function Lp(t){return t=Wn(t),t.tag=3,t}function _p(t,n,s,o){var c=s.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;t.payload=function(){return c(d)},t.callback=function(){Vp(n,s,o)}}var v=s.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(t.callback=function(){Vp(n,s,o),typeof c!="function"&&(ri===null?ri=new Set([this]):ri.add(this));var x=o.stack;this.componentDidCatch(o.value,{componentStack:x!==null?x:""})})}function GS(t,n,s,o,c){if(s.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=s.alternate,n!==null&&va(n,s,c,!0),s=Ge.current,s!==null){switch(s.tag){case 13:return fn===null?Cu():s.alternate===null&&Ut===0&&(Ut=3),s.flags&=-257,s.flags|=65536,s.lanes=c,o===Nc?s.flags|=16384:(n=s.updateQueue,n===null?s.updateQueue=new Set([o]):n.add(o),Mu(t,o,c)),!1;case 22:return s.flags|=65536,o===Nc?s.flags|=16384:(n=s.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},s.updateQueue=n):(s=n.retryQueue,s===null?n.retryQueue=new Set([o]):s.add(o)),Mu(t,o,c)),!1}throw Error(r(435,s.tag))}return Mu(t,o,c),Cu(),!1}if(Rt)return n=Ge.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==Ac&&(t=Error(r(422),{cause:o}),ga(Be(t,s)))):(o!==Ac&&(n=Error(r(423),{cause:o}),ga(Be(n,s))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=Be(o,s),c=nu(t.stateNode,o,c),Lc(t,c),Ut!==4&&(Ut=2)),!1;var d=Error(r(520),{cause:o});if(d=Be(d,s),Pa===null?Pa=[d]:Pa.push(d),Ut!==4&&(Ut=2),n===null)return!0;o=Be(o,s),s=n;do{switch(s.tag){case 3:return s.flags|=65536,t=c&-c,s.lanes|=t,t=nu(s.stateNode,o,t),Lc(s,t),!1;case 1:if(n=s.type,d=s.stateNode,(s.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ri===null||!ri.has(d))))return s.flags|=65536,c&=-c,s.lanes|=c,c=Lp(c),_p(c,t,s,o),Lc(s,c),!1}s=s.return}while(s!==null);return!1}var zp=Error(r(461)),te=!1;function se(t,n,s,o){n.child=t===null?Cp(n,null,s,o):Ss(n,t.child,s,o)}function kp(t,n,s,o,c){s=s.render;var d=n.ref;if("ref"in o){var v={};for(var x in o)x!=="ref"&&(v[x]=o[x])}else v=o;return Li(n),o=Bc(t,n,s,v,d,c),x=Uc(),t!==null&&!te?(Hc(t,n,c),jn(t,n,c)):(Rt&&x&&Sc(n),n.flags|=1,se(t,n,o,c),n.child)}function Pp(t,n,s,o,c){if(t===null){var d=s.type;return typeof d=="function"&&!bc(d)&&d.defaultProps===void 0&&s.compare===null?(n.tag=15,n.type=d,Bp(t,n,d,o,c)):(t=Gr(s.type,null,o,n,n.mode,c),t.ref=n.ref,t.return=n,n.child=t)}if(d=t.child,!uu(t,c)){var v=d.memoizedProps;if(s=s.compare,s=s!==null?s:ha,s(v,o)&&t.ref===n.ref)return jn(t,n,c)}return n.flags|=1,t=En(d,o),t.ref=n.ref,t.return=n,n.child=t}function Bp(t,n,s,o,c){if(t!==null){var d=t.memoizedProps;if(ha(d,o)&&t.ref===n.ref)if(te=!1,n.pendingProps=o=d,uu(t,c))(t.flags&131072)!==0&&(te=!0);else return n.lanes=t.lanes,jn(t,n,c)}return iu(t,n,s,o,c)}function Up(t,n,s){var o=n.pendingProps,c=o.children,d=t!==null?t.memoizedState:null;if(o.mode==="hidden"){if((n.flags&128)!==0){if(o=d!==null?d.baseLanes|s:s,t!==null){for(c=n.child=t.child,d=0;c!==null;)d=d|c.lanes|c.childLanes,c=c.sibling;n.childLanes=d&~o}else n.childLanes=0,n.child=null;return Hp(t,n,o,s)}if((s&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&Qr(n,d!==null?d.cachePool:null),d!==null?Bm(n,d):zc(),Rp(n);else return n.lanes=n.childLanes=536870912,Hp(t,n,d!==null?d.baseLanes|s:s,s)}else d!==null?(Qr(n,d.cachePool),Bm(n,d),ti(),n.memoizedState=null):(t!==null&&Qr(n,null),zc(),ti());return se(t,n,c,s),n.child}function Hp(t,n,s,o){var c=Oc();return c=c===null?null:{parent:Qt._currentValue,pool:c},n.memoizedState={baseLanes:s,cachePool:c},t!==null&&Qr(n,null),zc(),Rp(n),t!==null&&va(t,n,o,!0),null}function fo(t,n){var s=n.ref;if(s===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(t===null||t.ref!==s)&&(n.flags|=4194816)}}function iu(t,n,s,o,c){return Li(n),s=Bc(t,n,s,o,void 0,c),o=Uc(),t!==null&&!te?(Hc(t,n,c),jn(t,n,c)):(Rt&&o&&Sc(n),n.flags|=1,se(t,n,s,c),n.child)}function qp(t,n,s,o,c,d){return Li(n),n.updateQueue=null,s=Hm(n,o,s,c),Um(t),o=Uc(),t!==null&&!te?(Hc(t,n,d),jn(t,n,d)):(Rt&&o&&Sc(n),n.flags|=1,se(t,n,s,d),n.child)}function Gp(t,n,s,o,c){if(Li(n),n.stateNode===null){var d=ds,v=s.contextType;typeof v=="object"&&v!==null&&(d=ue(v)),d=new s(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=eu,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},jc(n),v=s.contextType,d.context=typeof v=="object"&&v!==null?ue(v):ds,d.state=n.memoizedState,v=s.getDerivedStateFromProps,typeof v=="function"&&(tu(n,s,v,o),d.state=n.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(v=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),v!==d.state&&eu.enqueueReplaceState(d,d.state,null),Ea(n,o,d,c),Aa(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){d=n.stateNode;var x=n.memoizedProps,M=ki(s,x);d.props=M;var z=d.context,q=s.contextType;v=ds,typeof q=="object"&&q!==null&&(v=ue(q));var X=s.getDerivedStateFromProps;q=typeof X=="function"||typeof d.getSnapshotBeforeUpdate=="function",x=n.pendingProps!==x,q||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(x||z!==v)&&Dp(n,d,o,v),Zn=!1;var k=n.memoizedState;d.state=k,Ea(n,o,d,c),Aa(),z=n.memoizedState,x||k!==z||Zn?(typeof X=="function"&&(tu(n,s,X,o),z=n.memoizedState),(M=Zn||Mp(n,s,M,o,k,z,v))?(q||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=z),d.props=o,d.state=z,d.context=v,o=M):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,Vc(t,n),v=n.memoizedProps,q=ki(s,v),d.props=q,X=n.pendingProps,k=d.context,z=s.contextType,M=ds,typeof z=="object"&&z!==null&&(M=ue(z)),x=s.getDerivedStateFromProps,(z=typeof x=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v!==X||k!==M)&&Dp(n,d,o,M),Zn=!1,k=n.memoizedState,d.state=k,Ea(n,o,d,c),Aa();var B=n.memoizedState;v!==X||k!==B||Zn||t!==null&&t.dependencies!==null&&Xr(t.dependencies)?(typeof x=="function"&&(tu(n,s,x,o),B=n.memoizedState),(q=Zn||Mp(n,s,q,o,k,B,M)||t!==null&&t.dependencies!==null&&Xr(t.dependencies))?(z||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,B,M),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,B,M)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||v===t.memoizedProps&&k===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&k===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=B),d.props=o,d.state=B,d.context=M,o=q):(typeof d.componentDidUpdate!="function"||v===t.memoizedProps&&k===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&k===t.memoizedState||(n.flags|=1024),o=!1)}return d=o,fo(t,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,s=o&&typeof s.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,t!==null&&o?(n.child=Ss(n,t.child,null,c),n.child=Ss(n,null,s,c)):se(t,n,s,c),n.memoizedState=d.state,t=n.child):t=jn(t,n,c),t}function Yp(t,n,s,o){return ya(),n.flags|=256,se(t,n,s,o),n.child}var su={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function au(t){return{baseLanes:t,cachePool:Nm()}}function ru(t,n,s){return t=t!==null?t.childLanes&~s:0,n&&(t|=Ye),t}function Kp(t,n,s){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,v;if((v=d)||(v=t!==null&&t.memoizedState===null?!1:(Zt.current&2)!==0),v&&(c=!0,n.flags&=-129),v=(n.flags&32)!==0,n.flags&=-33,t===null){if(Rt){if(c?$n(n):ti(),Rt){var x=Bt,M;if(M=x){t:{for(M=x,x=un;M.nodeType!==8;){if(!x){x=null;break t}if(M=Ie(M.nextSibling),M===null){x=null;break t}}x=M}x!==null?(n.memoizedState={dehydrated:x,treeContext:Di!==null?{id:Cn,overflow:Rn}:null,retryLane:536870912,hydrationErrors:null},M=Re(18,null,null,0),M.stateNode=x,M.return=n,n.child=M,de=n,Bt=null,M=!0):M=!1}M||ji(n)}if(x=n.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Gu(x)?n.lanes=32:n.lanes=536870912,null;Nn(n)}return x=o.children,o=o.fallback,c?(ti(),c=n.mode,x=ho({mode:"hidden",children:x},c),o=Mi(o,c,s,null),x.return=n,o.return=n,x.sibling=o,n.child=x,c=n.child,c.memoizedState=au(s),c.childLanes=ru(t,v,s),n.memoizedState=su,o):($n(n),ou(n,x))}if(M=t.memoizedState,M!==null&&(x=M.dehydrated,x!==null)){if(d)n.flags&256?($n(n),n.flags&=-257,n=lu(t,n,s)):n.memoizedState!==null?(ti(),n.child=t.child,n.flags|=128,n=null):(ti(),c=o.fallback,x=n.mode,o=ho({mode:"visible",children:o.children},x),c=Mi(c,x,s,null),c.flags|=2,o.return=n,c.return=n,o.sibling=c,n.child=o,Ss(n,t.child,null,s),o=n.child,o.memoizedState=au(s),o.childLanes=ru(t,v,s),n.memoizedState=su,n=c);else if($n(n),Gu(x)){if(v=x.nextSibling&&x.nextSibling.dataset,v)var z=v.dgst;v=z,o=Error(r(419)),o.stack="",o.digest=v,ga({value:o,source:null,stack:null}),n=lu(t,n,s)}else if(te||va(t,n,s,!1),v=(s&t.childLanes)!==0,te||v){if(v=zt,v!==null&&(o=s&-s,o=(o&42)!==0?1:Yl(o),o=(o&(v.suspendedLanes|s))!==0?0:o,o!==0&&o!==M.retryLane))throw M.retryLane=o,fs(t,o),je(v,t,o),zp;x.data==="$?"||Cu(),n=lu(t,n,s)}else x.data==="$?"?(n.flags|=192,n.child=t.child,n=null):(t=M.treeContext,Bt=Ie(x.nextSibling),de=n,Rt=!0,Ni=null,un=!1,t!==null&&(He[qe++]=Cn,He[qe++]=Rn,He[qe++]=Di,Cn=t.id,Rn=t.overflow,Di=n),n=ou(n,o.children),n.flags|=4096);return n}return c?(ti(),c=o.fallback,x=n.mode,M=t.child,z=M.sibling,o=En(M,{mode:"hidden",children:o.children}),o.subtreeFlags=M.subtreeFlags&65011712,z!==null?c=En(z,c):(c=Mi(c,x,s,null),c.flags|=2),c.return=n,o.return=n,o.sibling=c,n.child=o,o=c,c=n.child,x=t.child.memoizedState,x===null?x=au(s):(M=x.cachePool,M!==null?(z=Qt._currentValue,M=M.parent!==z?{parent:z,pool:z}:M):M=Nm(),x={baseLanes:x.baseLanes|s,cachePool:M}),c.memoizedState=x,c.childLanes=ru(t,v,s),n.memoizedState=su,o):($n(n),s=t.child,t=s.sibling,s=En(s,{mode:"visible",children:o.children}),s.return=n,s.sibling=null,t!==null&&(v=n.deletions,v===null?(n.deletions=[t],n.flags|=16):v.push(t)),n.child=s,n.memoizedState=null,s)}function ou(t,n){return n=ho({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function ho(t,n){return t=Re(22,t,null,n),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function lu(t,n,s){return Ss(n,t.child,null,s),t=ou(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function Xp(t,n,s){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),Cc(t.return,n,s)}function cu(t,n,s,o,c){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:s,tailMode:c}:(d.isBackwards=n,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=s,d.tailMode=c)}function Fp(t,n,s){var o=n.pendingProps,c=o.revealOrder,d=o.tail;if(se(t,n,o.children,s),o=Zt.current,(o&2)!==0)o=o&1|2,n.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Xp(t,s,n);else if(t.tag===19)Xp(t,s,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break t;for(;t.sibling===null;){if(t.return===null||t.return===n)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}o&=1}switch(J(Zt,o),c){case"forwards":for(s=n.child,c=null;s!==null;)t=s.alternate,t!==null&&lo(t)===null&&(c=s),s=s.sibling;s=c,s===null?(c=n.child,n.child=null):(c=s.sibling,s.sibling=null),cu(n,!1,c,s,d);break;case"backwards":for(s=null,c=n.child,n.child=null;c!==null;){if(t=c.alternate,t!==null&&lo(t)===null){n.child=c;break}t=c.sibling,c.sibling=s,s=c,c=t}cu(n,!0,s,null,d);break;case"together":cu(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function jn(t,n,s){if(t!==null&&(n.dependencies=t.dependencies),ai|=n.lanes,(s&n.childLanes)===0)if(t!==null){if(va(t,n,s,!1),(s&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(r(153));if(n.child!==null){for(t=n.child,s=En(t,t.pendingProps),n.child=s,s.return=n;t.sibling!==null;)t=t.sibling,s=s.sibling=En(t,t.pendingProps),s.return=n;s.sibling=null}return n.child}function uu(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&Xr(t)))}function YS(t,n,s){switch(n.tag){case 3:At(n,n.stateNode.containerInfo),Qn(n,Qt,t.memoizedState.cache),ya();break;case 27:case 5:Yn(n);break;case 4:At(n,n.stateNode.containerInfo);break;case 10:Qn(n,n.type,n.memoizedProps.value);break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?($n(n),n.flags|=128,null):(s&n.child.childLanes)!==0?Kp(t,n,s):($n(n),t=jn(t,n,s),t!==null?t.sibling:null);$n(n);break;case 19:var c=(t.flags&128)!==0;if(o=(s&n.childLanes)!==0,o||(va(t,n,s,!1),o=(s&n.childLanes)!==0),c){if(o)return Fp(t,n,s);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),J(Zt,Zt.current),o)break;return null;case 22:case 23:return n.lanes=0,Up(t,n,s);case 24:Qn(n,Qt,t.memoizedState.cache)}return jn(t,n,s)}function Qp(t,n,s){if(t!==null)if(t.memoizedProps!==n.pendingProps)te=!0;else{if(!uu(t,s)&&(n.flags&128)===0)return te=!1,YS(t,n,s);te=(t.flags&131072)!==0}else te=!1,Rt&&(n.flags&1048576)!==0&&Am(n,Kr,n.index);switch(n.lanes=0,n.tag){case 16:t:{t=n.pendingProps;var o=n.elementType,c=o._init;if(o=c(o._payload),n.type=o,typeof o=="function")bc(o)?(t=ki(o,t),n.tag=1,n=Gp(null,n,o,t,s)):(n.tag=0,n=iu(null,n,o,t,s));else{if(o!=null){if(c=o.$$typeof,c===P){n.tag=11,n=kp(null,n,o,t,s);break t}else if(c===Z){n.tag=14,n=Pp(null,n,o,t,s);break t}}throw n=tt(o)||o,Error(r(306,n,""))}}return n;case 0:return iu(t,n,n.type,n.pendingProps,s);case 1:return o=n.type,c=ki(o,n.pendingProps),Gp(t,n,o,c,s);case 3:t:{if(At(n,n.stateNode.containerInfo),t===null)throw Error(r(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,Vc(t,n),Ea(n,o,null,s);var v=n.memoizedState;if(o=v.cache,Qn(n,Qt,o),o!==d.cache&&Rc(n,[Qt],s,!0),Aa(),o=v.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:v.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=Yp(t,n,o,s);break t}else if(o!==c){c=Be(Error(r(424)),n),ga(c),n=Yp(t,n,o,s);break t}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Bt=Ie(t.firstChild),de=n,Rt=!0,Ni=null,un=!0,s=Cp(n,null,o,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(ya(),o===c){n=jn(t,n,s);break t}se(t,n,o,s)}n=n.child}return n;case 26:return fo(t,n),t===null?(s=Jy(n.type,null,n.pendingProps,null))?n.memoizedState=s:Rt||(s=n.type,t=n.pendingProps,o=Ro(ot.current).createElement(s),o[ce]=n,o[ye]=t,re(o,s,t),$t(o),n.stateNode=o):n.memoizedState=Jy(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Yn(n),t===null&&Rt&&(o=n.stateNode=Zy(n.type,n.pendingProps,ot.current),de=n,un=!0,c=Bt,ci(n.type)?(Yu=c,Bt=Ie(o.firstChild)):Bt=c),se(t,n,n.pendingProps.children,s),fo(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Rt&&((c=o=Bt)&&(o=vT(o,n.type,n.pendingProps,un),o!==null?(n.stateNode=o,de=n,Bt=Ie(o.firstChild),un=!1,c=!0):c=!1),c||ji(n)),Yn(n),c=n.type,d=n.pendingProps,v=t!==null?t.memoizedProps:null,o=d.children,Uu(c,d)?o=null:v!==null&&Uu(c,v)&&(n.flags|=32),n.memoizedState!==null&&(c=Bc(t,n,zS,null,null,s),Fa._currentValue=c),fo(t,n),se(t,n,o,s),n.child;case 6:return t===null&&Rt&&((t=s=Bt)&&(s=bT(s,n.pendingProps,un),s!==null?(n.stateNode=s,de=n,Bt=null,t=!0):t=!1),t||ji(n)),null;case 13:return Kp(t,n,s);case 4:return At(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=Ss(n,null,o,s):se(t,n,o,s),n.child;case 11:return kp(t,n,n.type,n.pendingProps,s);case 7:return se(t,n,n.pendingProps,s),n.child;case 8:return se(t,n,n.pendingProps.children,s),n.child;case 12:return se(t,n,n.pendingProps.children,s),n.child;case 10:return o=n.pendingProps,Qn(n,n.type,o.value),se(t,n,o.children,s),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,Li(n),c=ue(c),o=o(c),n.flags|=1,se(t,n,o,s),n.child;case 14:return Pp(t,n,n.type,n.pendingProps,s);case 15:return Bp(t,n,n.type,n.pendingProps,s);case 19:return Fp(t,n,s);case 31:return o=n.pendingProps,s=n.mode,o={mode:o.mode,children:o.children},t===null?(s=ho(o,s),s.ref=n.ref,n.child=s,s.return=n,n=s):(s=En(t.child,o),s.ref=n.ref,n.child=s,s.return=n,n=s),n;case 22:return Up(t,n,s);case 24:return Li(n),o=ue(Qt),t===null?(c=Oc(),c===null&&(c=zt,d=Mc(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=s),c=d),n.memoizedState={parent:o,cache:c},jc(n),Qn(n,Qt,c)):((t.lanes&s)!==0&&(Vc(t,n),Ea(n,null,null,s),Aa()),c=t.memoizedState,d=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),Qn(n,Qt,o)):(o=d.cache,Qn(n,Qt,o),o!==c.cache&&Rc(n,[Qt],s,!0))),se(t,n,n.pendingProps.children,s),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function Vn(t){t.flags|=4}function Zp(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!ig(n)){if(n=Ge.current,n!==null&&((Tt&4194048)===Tt?fn!==null:(Tt&62914560)!==Tt&&(Tt&536870912)===0||n!==fn))throw Sa=Nc,jm;t.flags|=8192}}function mo(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Rh():536870912,t.lanes|=n,Cs|=n)}function ja(t,n){if(!Rt)switch(t.tailMode){case"hidden":n=t.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function Pt(t){var n=t.alternate!==null&&t.alternate.child===t.child,s=0,o=0;if(n)for(var c=t.child;c!==null;)s|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)s|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=s,n}function KS(t,n,s){var o=n.pendingProps;switch(Tc(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pt(n),null;case 1:return Pt(n),null;case 3:return s=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Dn(Qt),Mt(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(pa(n)?Vn(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Rm())),Pt(n),null;case 26:return s=n.memoizedState,t===null?(Vn(n),s!==null?(Pt(n),Zp(n,s)):(Pt(n),n.flags&=-16777217)):s?s!==t.memoizedState?(Vn(n),Pt(n),Zp(n,s)):(Pt(n),n.flags&=-16777217):(t.memoizedProps!==o&&Vn(n),Pt(n),n.flags&=-16777217),null;case 27:Qe(n),s=ot.current;var c=n.type;if(t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Vn(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Pt(n),null}t=ct.current,pa(n)?Em(n):(t=Zy(c,o,s),n.stateNode=t,Vn(n))}return Pt(n),null;case 5:if(Qe(n),s=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Vn(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Pt(n),null}if(t=ct.current,pa(n))Em(n);else{switch(c=Ro(ot.current),t){case 1:t=c.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:t=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":t=c.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":t=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":t=c.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof o.is=="string"?c.createElement("select",{is:o.is}):c.createElement("select"),o.multiple?t.multiple=!0:o.size&&(t.size=o.size);break;default:t=typeof o.is=="string"?c.createElement(s,{is:o.is}):c.createElement(s)}}t[ce]=n,t[ye]=o;t:for(c=n.child;c!==null;){if(c.tag===5||c.tag===6)t.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===n)break t;for(;c.sibling===null;){if(c.return===null||c.return===n)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}n.stateNode=t;t:switch(re(t,s,o),s){case"button":case"input":case"select":case"textarea":t=!!o.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Vn(n)}}return Pt(n),n.flags&=-16777217,null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&Vn(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(r(166));if(t=ot.current,pa(n)){if(t=n.stateNode,s=n.memoizedProps,o=null,c=de,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}t[ce]=n,t=!!(t.nodeValue===s||o!==null&&o.suppressHydrationWarning===!0||qy(t.nodeValue,s)),t||ji(n)}else t=Ro(t).createTextNode(o),t[ce]=n,n.stateNode=t}return Pt(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=pa(n),o!==null&&o.dehydrated!==null){if(t===null){if(!c)throw Error(r(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[ce]=n}else ya(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Pt(n),c=!1}else c=Rm(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Nn(n),n):(Nn(n),null)}if(Nn(n),(n.flags&128)!==0)return n.lanes=s,n;if(s=o!==null,t=t!==null&&t.memoizedState!==null,s){o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool);var d=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)}return s!==t&&s&&(n.child.flags|=8192),mo(n,n.updateQueue),Pt(n),null;case 4:return Mt(),t===null&&_u(n.stateNode.containerInfo),Pt(n),null;case 10:return Dn(n.type),Pt(n),null;case 19:if($(Zt),c=n.memoizedState,c===null)return Pt(n),null;if(o=(n.flags&128)!==0,d=c.rendering,d===null)if(o)ja(c,!1);else{if(Ut!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(d=lo(t),d!==null){for(n.flags|=128,ja(c,!1),t=d.updateQueue,n.updateQueue=t,mo(n,t),n.subtreeFlags=0,t=s,s=n.child;s!==null;)Tm(s,t),s=s.sibling;return J(Zt,Zt.current&1|2),n.child}t=t.sibling}c.tail!==null&&cn()>go&&(n.flags|=128,o=!0,ja(c,!1),n.lanes=4194304)}else{if(!o)if(t=lo(d),t!==null){if(n.flags|=128,o=!0,t=t.updateQueue,n.updateQueue=t,mo(n,t),ja(c,!0),c.tail===null&&c.tailMode==="hidden"&&!d.alternate&&!Rt)return Pt(n),null}else 2*cn()-c.renderingStartTime>go&&s!==536870912&&(n.flags|=128,o=!0,ja(c,!1),n.lanes=4194304);c.isBackwards?(d.sibling=n.child,n.child=d):(t=c.last,t!==null?t.sibling=d:n.child=d,c.last=d)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=cn(),n.sibling=null,t=Zt.current,J(Zt,o?t&1|2:t&1),n):(Pt(n),null);case 22:case 23:return Nn(n),kc(),o=n.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(s&536870912)!==0&&(n.flags&128)===0&&(Pt(n),n.subtreeFlags&6&&(n.flags|=8192)):Pt(n),s=n.updateQueue,s!==null&&mo(n,s.retryQueue),s=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==s&&(n.flags|=2048),t!==null&&$(_i),null;case 24:return s=null,t!==null&&(s=t.memoizedState.cache),n.memoizedState.cache!==s&&(n.flags|=2048),Dn(Qt),Pt(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}function XS(t,n){switch(Tc(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return Dn(Qt),Mt(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return Qe(n),null;case 13:if(Nn(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(r(340));ya()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return $(Zt),null;case 4:return Mt(),null;case 10:return Dn(n.type),null;case 22:case 23:return Nn(n),kc(),t!==null&&$(_i),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return Dn(Qt),null;case 25:return null;default:return null}}function Wp(t,n){switch(Tc(n),n.tag){case 3:Dn(Qt),Mt();break;case 26:case 27:case 5:Qe(n);break;case 4:Mt();break;case 13:Nn(n);break;case 19:$(Zt);break;case 10:Dn(n.type);break;case 22:case 23:Nn(n),kc(),t!==null&&$(_i);break;case 24:Dn(Qt)}}function Va(t,n){try{var s=n.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var c=o.next;s=c;do{if((s.tag&t)===t){o=void 0;var d=s.create,v=s.inst;o=d(),v.destroy=o}s=s.next}while(s!==c)}}catch(x){Lt(n,n.return,x)}}function ei(t,n,s){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&t)===t){var v=o.inst,x=v.destroy;if(x!==void 0){v.destroy=void 0,c=n;var M=s,z=x;try{z()}catch(q){Lt(c,M,q)}}}o=o.next}while(o!==d)}}catch(q){Lt(n,n.return,q)}}function Ip(t){var n=t.updateQueue;if(n!==null){var s=t.stateNode;try{Pm(n,s)}catch(o){Lt(t,t.return,o)}}}function Jp(t,n,s){s.props=ki(t.type,t.memoizedProps),s.state=t.memoizedState;try{s.componentWillUnmount()}catch(o){Lt(t,n,o)}}function La(t,n){try{var s=t.ref;if(s!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof s=="function"?t.refCleanup=s(o):s.current=o}}catch(c){Lt(t,n,c)}}function dn(t,n){var s=t.ref,o=t.refCleanup;if(s!==null)if(typeof o=="function")try{o()}catch(c){Lt(t,n,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(c){Lt(t,n,c)}else s.current=null}function $p(t){var n=t.type,s=t.memoizedProps,o=t.stateNode;try{t:switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&o.focus();break t;case"img":s.src?o.src=s.src:s.srcSet&&(o.srcset=s.srcSet)}}catch(c){Lt(t,t.return,c)}}function fu(t,n,s){try{var o=t.stateNode;hT(o,t.type,s,n),o[ye]=n}catch(c){Lt(t,t.return,c)}}function ty(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ci(t.type)||t.tag===4}function du(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||ty(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ci(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function hu(t,n,s){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(t,n):(n=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,n.appendChild(t),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=Co));else if(o!==4&&(o===27&&ci(t.type)&&(s=t.stateNode,n=null),t=t.child,t!==null))for(hu(t,n,s),t=t.sibling;t!==null;)hu(t,n,s),t=t.sibling}function po(t,n,s){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?s.insertBefore(t,n):s.appendChild(t);else if(o!==4&&(o===27&&ci(t.type)&&(s=t.stateNode),t=t.child,t!==null))for(po(t,n,s),t=t.sibling;t!==null;)po(t,n,s),t=t.sibling}function ey(t){var n=t.stateNode,s=t.memoizedProps;try{for(var o=t.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);re(n,o,s),n[ce]=t,n[ye]=s}catch(d){Lt(t,t.return,d)}}var Ln=!1,Gt=!1,mu=!1,ny=typeof WeakSet=="function"?WeakSet:Set,ee=null;function FS(t,n){if(t=t.containerInfo,Pu=Vo,t=hm(t),dc(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else t:{s=(s=t.ownerDocument)&&s.defaultView||window;var o=s.getSelection&&s.getSelection();if(o&&o.rangeCount!==0){s=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{s.nodeType,d.nodeType}catch{s=null;break t}var v=0,x=-1,M=-1,z=0,q=0,X=t,k=null;e:for(;;){for(var B;X!==s||c!==0&&X.nodeType!==3||(x=v+c),X!==d||o!==0&&X.nodeType!==3||(M=v+o),X.nodeType===3&&(v+=X.nodeValue.length),(B=X.firstChild)!==null;)k=X,X=B;for(;;){if(X===t)break e;if(k===s&&++z===c&&(x=v),k===d&&++q===o&&(M=v),(B=X.nextSibling)!==null)break;X=k,k=X.parentNode}X=B}s=x===-1||M===-1?null:{start:x,end:M}}else s=null}s=s||{start:0,end:0}}else s=null;for(Bu={focusedElem:t,selectionRange:s},Vo=!1,ee=n;ee!==null;)if(n=ee,t=n.child,(n.subtreeFlags&1024)!==0&&t!==null)t.return=n,ee=t;else for(;ee!==null;){switch(n=ee,d=n.alternate,t=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&d!==null){t=void 0,s=n,c=d.memoizedProps,d=d.memoizedState,o=s.stateNode;try{var pt=ki(s.type,c,s.elementType===s.type);t=o.getSnapshotBeforeUpdate(pt,d),o.__reactInternalSnapshotBeforeUpdate=t}catch(dt){Lt(s,s.return,dt)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,s=t.nodeType,s===9)qu(t);else if(s===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":qu(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=n.sibling,t!==null){t.return=n.return,ee=t;break}ee=n.return}}function iy(t,n,s){var o=s.flags;switch(s.tag){case 0:case 11:case 15:ni(t,s),o&4&&Va(5,s);break;case 1:if(ni(t,s),o&4)if(t=s.stateNode,n===null)try{t.componentDidMount()}catch(v){Lt(s,s.return,v)}else{var c=ki(s.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(c,n,t.__reactInternalSnapshotBeforeUpdate)}catch(v){Lt(s,s.return,v)}}o&64&&Ip(s),o&512&&La(s,s.return);break;case 3:if(ni(t,s),o&64&&(t=s.updateQueue,t!==null)){if(n=null,s.child!==null)switch(s.child.tag){case 27:case 5:n=s.child.stateNode;break;case 1:n=s.child.stateNode}try{Pm(t,n)}catch(v){Lt(s,s.return,v)}}break;case 27:n===null&&o&4&&ey(s);case 26:case 5:ni(t,s),n===null&&o&4&&$p(s),o&512&&La(s,s.return);break;case 12:ni(t,s);break;case 13:ni(t,s),o&4&&ry(t,s),o&64&&(t=s.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(s=nT.bind(null,s),xT(t,s))));break;case 22:if(o=s.memoizedState!==null||Ln,!o){n=n!==null&&n.memoizedState!==null||Gt,c=Ln;var d=Gt;Ln=o,(Gt=n)&&!d?ii(t,s,(s.subtreeFlags&8772)!==0):ni(t,s),Ln=c,Gt=d}break;case 30:break;default:ni(t,s)}}function sy(t){var n=t.alternate;n!==null&&(t.alternate=null,sy(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&Fl(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var kt=null,be=!1;function _n(t,n,s){for(s=s.child;s!==null;)ay(t,n,s),s=s.sibling}function ay(t,n,s){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(ea,s)}catch{}switch(s.tag){case 26:Gt||dn(s,n),_n(t,n,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Gt||dn(s,n);var o=kt,c=be;ci(s.type)&&(kt=s.stateNode,be=!1),_n(t,n,s),Ga(s.stateNode),kt=o,be=c;break;case 5:Gt||dn(s,n);case 6:if(o=kt,c=be,kt=null,_n(t,n,s),kt=o,be=c,kt!==null)if(be)try{(kt.nodeType===9?kt.body:kt.nodeName==="HTML"?kt.ownerDocument.body:kt).removeChild(s.stateNode)}catch(d){Lt(s,n,d)}else try{kt.removeChild(s.stateNode)}catch(d){Lt(s,n,d)}break;case 18:kt!==null&&(be?(t=kt,Fy(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,s.stateNode),Ia(t)):Fy(kt,s.stateNode));break;case 4:o=kt,c=be,kt=s.stateNode.containerInfo,be=!0,_n(t,n,s),kt=o,be=c;break;case 0:case 11:case 14:case 15:Gt||ei(2,s,n),Gt||ei(4,s,n),_n(t,n,s);break;case 1:Gt||(dn(s,n),o=s.stateNode,typeof o.componentWillUnmount=="function"&&Jp(s,n,o)),_n(t,n,s);break;case 21:_n(t,n,s);break;case 22:Gt=(o=Gt)||s.memoizedState!==null,_n(t,n,s),Gt=o;break;default:_n(t,n,s)}}function ry(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ia(t)}catch(s){Lt(n,n.return,s)}}function QS(t){switch(t.tag){case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new ny),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new ny),n;default:throw Error(r(435,t.tag))}}function pu(t,n){var s=QS(t);n.forEach(function(o){var c=iT.bind(null,t,o);s.has(o)||(s.add(o),o.then(c,c))})}function Me(t,n){var s=n.deletions;if(s!==null)for(var o=0;o<s.length;o++){var c=s[o],d=t,v=n,x=v;t:for(;x!==null;){switch(x.tag){case 27:if(ci(x.type)){kt=x.stateNode,be=!1;break t}break;case 5:kt=x.stateNode,be=!1;break t;case 3:case 4:kt=x.stateNode.containerInfo,be=!0;break t}x=x.return}if(kt===null)throw Error(r(160));ay(d,v,c),kt=null,be=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)oy(n,t),n=n.sibling}var We=null;function oy(t,n){var s=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Me(n,t),De(t),o&4&&(ei(3,t,t.return),Va(3,t),ei(5,t,t.return));break;case 1:Me(n,t),De(t),o&512&&(Gt||s===null||dn(s,s.return)),o&64&&Ln&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(s=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=s===null?o:s.concat(o))));break;case 26:var c=We;if(Me(n,t),De(t),o&512&&(Gt||s===null||dn(s,s.return)),o&4){var d=s!==null?s.memoizedState:null;if(o=t.memoizedState,s===null)if(o===null)if(t.stateNode===null){t:{o=t.type,s=t.memoizedProps,c=c.ownerDocument||c;e:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[sa]||d[ce]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),re(d,o,s),d[ce]=t,$t(d),o=d;break t;case"link":var v=eg("link","href",c).get(o+(s.href||""));if(v){for(var x=0;x<v.length;x++)if(d=v[x],d.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&d.getAttribute("rel")===(s.rel==null?null:s.rel)&&d.getAttribute("title")===(s.title==null?null:s.title)&&d.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){v.splice(x,1);break e}}d=c.createElement(o),re(d,o,s),c.head.appendChild(d);break;case"meta":if(v=eg("meta","content",c).get(o+(s.content||""))){for(x=0;x<v.length;x++)if(d=v[x],d.getAttribute("content")===(s.content==null?null:""+s.content)&&d.getAttribute("name")===(s.name==null?null:s.name)&&d.getAttribute("property")===(s.property==null?null:s.property)&&d.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&d.getAttribute("charset")===(s.charSet==null?null:s.charSet)){v.splice(x,1);break e}}d=c.createElement(o),re(d,o,s),c.head.appendChild(d);break;default:throw Error(r(468,o))}d[ce]=t,$t(d),o=d}t.stateNode=o}else ng(c,t.type,t.stateNode);else t.stateNode=tg(c,o,t.memoizedProps);else d!==o?(d===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):d.count--,o===null?ng(c,t.type,t.stateNode):tg(c,o,t.memoizedProps)):o===null&&t.stateNode!==null&&fu(t,t.memoizedProps,s.memoizedProps)}break;case 27:Me(n,t),De(t),o&512&&(Gt||s===null||dn(s,s.return)),s!==null&&o&4&&fu(t,t.memoizedProps,s.memoizedProps);break;case 5:if(Me(n,t),De(t),o&512&&(Gt||s===null||dn(s,s.return)),t.flags&32){c=t.stateNode;try{ss(c,"")}catch(B){Lt(t,t.return,B)}}o&4&&t.stateNode!=null&&(c=t.memoizedProps,fu(t,c,s!==null?s.memoizedProps:c)),o&1024&&(mu=!0);break;case 6:if(Me(n,t),De(t),o&4){if(t.stateNode===null)throw Error(r(162));o=t.memoizedProps,s=t.stateNode;try{s.nodeValue=o}catch(B){Lt(t,t.return,B)}}break;case 3:if(Oo=null,c=We,We=Mo(n.containerInfo),Me(n,t),We=c,De(t),o&4&&s!==null&&s.memoizedState.isDehydrated)try{Ia(n.containerInfo)}catch(B){Lt(t,t.return,B)}mu&&(mu=!1,ly(t));break;case 4:o=We,We=Mo(t.stateNode.containerInfo),Me(n,t),De(t),We=o;break;case 12:Me(n,t),De(t);break;case 13:Me(n,t),De(t),t.child.flags&8192&&t.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(wu=cn()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,pu(t,o)));break;case 22:c=t.memoizedState!==null;var M=s!==null&&s.memoizedState!==null,z=Ln,q=Gt;if(Ln=z||c,Gt=q||M,Me(n,t),Gt=q,Ln=z,De(t),o&8192)t:for(n=t.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(s===null||M||Ln||Gt||Pi(t)),s=null,n=t;;){if(n.tag===5||n.tag===26){if(s===null){M=s=n;try{if(d=M.stateNode,c)v=d.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{x=M.stateNode;var X=M.memoizedProps.style,k=X!=null&&X.hasOwnProperty("display")?X.display:null;x.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch(B){Lt(M,M.return,B)}}}else if(n.tag===6){if(s===null){M=n;try{M.stateNode.nodeValue=c?"":M.memoizedProps}catch(B){Lt(M,M.return,B)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break t;for(;n.sibling===null;){if(n.return===null||n.return===t)break t;s===n&&(s=null),n=n.return}s===n&&(s=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=t.updateQueue,o!==null&&(s=o.retryQueue,s!==null&&(o.retryQueue=null,pu(t,s))));break;case 19:Me(n,t),De(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,pu(t,o)));break;case 30:break;case 21:break;default:Me(n,t),De(t)}}function De(t){var n=t.flags;if(n&2){try{for(var s,o=t.return;o!==null;){if(ty(o)){s=o;break}o=o.return}if(s==null)throw Error(r(160));switch(s.tag){case 27:var c=s.stateNode,d=du(t);po(t,d,c);break;case 5:var v=s.stateNode;s.flags&32&&(ss(v,""),s.flags&=-33);var x=du(t);po(t,x,v);break;case 3:case 4:var M=s.stateNode.containerInfo,z=du(t);hu(t,z,M);break;default:throw Error(r(161))}}catch(q){Lt(t,t.return,q)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function ly(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;ly(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function ni(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)iy(t,n.alternate,n),n=n.sibling}function Pi(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:ei(4,n,n.return),Pi(n);break;case 1:dn(n,n.return);var s=n.stateNode;typeof s.componentWillUnmount=="function"&&Jp(n,n.return,s),Pi(n);break;case 27:Ga(n.stateNode);case 26:case 5:dn(n,n.return),Pi(n);break;case 22:n.memoizedState===null&&Pi(n);break;case 30:Pi(n);break;default:Pi(n)}t=t.sibling}}function ii(t,n,s){for(s=s&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=t,d=n,v=d.flags;switch(d.tag){case 0:case 11:case 15:ii(c,d,s),Va(4,d);break;case 1:if(ii(c,d,s),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(z){Lt(o,o.return,z)}if(o=d,c=o.updateQueue,c!==null){var x=o.stateNode;try{var M=c.shared.hiddenCallbacks;if(M!==null)for(c.shared.hiddenCallbacks=null,c=0;c<M.length;c++)km(M[c],x)}catch(z){Lt(o,o.return,z)}}s&&v&64&&Ip(d),La(d,d.return);break;case 27:ey(d);case 26:case 5:ii(c,d,s),s&&o===null&&v&4&&$p(d),La(d,d.return);break;case 12:ii(c,d,s);break;case 13:ii(c,d,s),s&&v&4&&ry(c,d);break;case 22:d.memoizedState===null&&ii(c,d,s),La(d,d.return);break;case 30:break;default:ii(c,d,s)}n=n.sibling}}function yu(t,n){var s=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==s&&(t!=null&&t.refCount++,s!=null&&ba(s))}function gu(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&ba(t))}function hn(t,n,s,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)cy(t,n,s,o),n=n.sibling}function cy(t,n,s,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:hn(t,n,s,o),c&2048&&Va(9,n);break;case 1:hn(t,n,s,o);break;case 3:hn(t,n,s,o),c&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&ba(t)));break;case 12:if(c&2048){hn(t,n,s,o),t=n.stateNode;try{var d=n.memoizedProps,v=d.id,x=d.onPostCommit;typeof x=="function"&&x(v,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(M){Lt(n,n.return,M)}}else hn(t,n,s,o);break;case 13:hn(t,n,s,o);break;case 23:break;case 22:d=n.stateNode,v=n.alternate,n.memoizedState!==null?d._visibility&2?hn(t,n,s,o):_a(t,n):d._visibility&2?hn(t,n,s,o):(d._visibility|=2,Ts(t,n,s,o,(n.subtreeFlags&10256)!==0)),c&2048&&yu(v,n);break;case 24:hn(t,n,s,o),c&2048&&gu(n.alternate,n);break;default:hn(t,n,s,o)}}function Ts(t,n,s,o,c){for(c=c&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var d=t,v=n,x=s,M=o,z=v.flags;switch(v.tag){case 0:case 11:case 15:Ts(d,v,x,M,c),Va(8,v);break;case 23:break;case 22:var q=v.stateNode;v.memoizedState!==null?q._visibility&2?Ts(d,v,x,M,c):_a(d,v):(q._visibility|=2,Ts(d,v,x,M,c)),c&&z&2048&&yu(v.alternate,v);break;case 24:Ts(d,v,x,M,c),c&&z&2048&&gu(v.alternate,v);break;default:Ts(d,v,x,M,c)}n=n.sibling}}function _a(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var s=t,o=n,c=o.flags;switch(o.tag){case 22:_a(s,o),c&2048&&yu(o.alternate,o);break;case 24:_a(s,o),c&2048&&gu(o.alternate,o);break;default:_a(s,o)}n=n.sibling}}var za=8192;function As(t){if(t.subtreeFlags&za)for(t=t.child;t!==null;)uy(t),t=t.sibling}function uy(t){switch(t.tag){case 26:As(t),t.flags&za&&t.memoizedState!==null&&VT(We,t.memoizedState,t.memoizedProps);break;case 5:As(t);break;case 3:case 4:var n=We;We=Mo(t.stateNode.containerInfo),As(t),We=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=za,za=16777216,As(t),za=n):As(t));break;default:As(t)}}function fy(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function ka(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var o=n[s];ee=o,hy(o,t)}fy(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)dy(t),t=t.sibling}function dy(t){switch(t.tag){case 0:case 11:case 15:ka(t),t.flags&2048&&ei(9,t,t.return);break;case 3:ka(t);break;case 12:ka(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,yo(t)):ka(t);break;default:ka(t)}}function yo(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var o=n[s];ee=o,hy(o,t)}fy(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:ei(8,n,n.return),yo(n);break;case 22:s=n.stateNode,s._visibility&2&&(s._visibility&=-3,yo(n));break;default:yo(n)}t=t.sibling}}function hy(t,n){for(;ee!==null;){var s=ee;switch(s.tag){case 0:case 11:case 15:ei(8,s,n);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var o=s.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:ba(s.memoizedState.cache)}if(o=s.child,o!==null)o.return=s,ee=o;else t:for(s=t;ee!==null;){o=ee;var c=o.sibling,d=o.return;if(sy(o),o===s){ee=null;break t}if(c!==null){c.return=d,ee=c;break t}ee=d}}}var ZS={getCacheForType:function(t){var n=ue(Qt),s=n.data.get(t);return s===void 0&&(s=t(),n.data.set(t,s)),s}},WS=typeof WeakMap=="function"?WeakMap:Map,Dt=0,zt=null,wt=null,Tt=0,Ot=0,Oe=null,si=!1,Es=!1,vu=!1,zn=0,Ut=0,ai=0,Bi=0,bu=0,Ye=0,Cs=0,Pa=null,xe=null,xu=!1,wu=0,go=1/0,vo=null,ri=null,ae=0,oi=null,Rs=null,Ms=0,Su=0,Tu=null,my=null,Ba=0,Au=null;function Ne(){if((Dt&2)!==0&&Tt!==0)return Tt&-Tt;if(L.T!==null){var t=ps;return t!==0?t:Nu()}return Oh()}function py(){Ye===0&&(Ye=(Tt&536870912)===0||Rt?Ch():536870912);var t=Ge.current;return t!==null&&(t.flags|=32),Ye}function je(t,n,s){(t===zt&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)&&(Ds(t,0),li(t,Tt,Ye,!1)),ia(t,s),((Dt&2)===0||t!==zt)&&(t===zt&&((Dt&2)===0&&(Bi|=s),Ut===4&&li(t,Tt,Ye,!1)),mn(t))}function yy(t,n,s){if((Dt&6)!==0)throw Error(r(327));var o=!s&&(n&124)===0&&(n&t.expiredLanes)===0||na(t,n),c=o?$S(t,n):Ru(t,n,!0),d=o;do{if(c===0){Es&&!o&&li(t,n,0,!1);break}else{if(s=t.current.alternate,d&&!IS(s)){c=Ru(t,n,!1),d=!1;continue}if(c===2){if(d=n,t.errorRecoveryDisabledLanes&d)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){n=v;t:{var x=t;c=Pa;var M=x.current.memoizedState.isDehydrated;if(M&&(Ds(x,v).flags|=256),v=Ru(x,v,!1),v!==2){if(vu&&!M){x.errorRecoveryDisabledLanes|=d,Bi|=d,c=4;break t}d=xe,xe=c,d!==null&&(xe===null?xe=d:xe.push.apply(xe,d))}c=v}if(d=!1,c!==2)continue}}if(c===1){Ds(t,0),li(t,n,0,!0);break}t:{switch(o=t,d=c,d){case 0:case 1:throw Error(r(345));case 4:if((n&4194048)!==n)break;case 6:li(o,n,Ye,!si);break t;case 2:xe=null;break;case 3:case 5:break;default:throw Error(r(329))}if((n&62914560)===n&&(c=wu+300-cn(),10<c)){if(li(o,n,Ye,!si),Mr(o,0,!0)!==0)break t;o.timeoutHandle=Ky(gy.bind(null,o,s,xe,vo,xu,n,Ye,Bi,Cs,si,d,2,-0,0),c);break t}gy(o,s,xe,vo,xu,n,Ye,Bi,Cs,si,d,0,-0,0)}}break}while(!0);mn(t)}function gy(t,n,s,o,c,d,v,x,M,z,q,X,k,B){if(t.timeoutHandle=-1,X=n.subtreeFlags,(X&8192||(X&16785408)===16785408)&&(Xa={stylesheets:null,count:0,unsuspend:jT},uy(n),X=LT(),X!==null)){t.cancelPendingCommit=X(Ay.bind(null,t,n,d,s,o,c,v,x,M,q,1,k,B)),li(t,d,v,!z);return}Ay(t,n,d,s,o,c,v,x,M)}function IS(t){for(var n=t;;){var s=n.tag;if((s===0||s===11||s===15)&&n.flags&16384&&(s=n.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var o=0;o<s.length;o++){var c=s[o],d=c.getSnapshot;c=c.value;try{if(!Ce(d(),c))return!1}catch{return!1}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function li(t,n,s,o){n&=~bu,n&=~Bi,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var c=n;0<c;){var d=31-Ee(c),v=1<<d;o[d]=-1,c&=~v}s!==0&&Mh(t,s,n)}function bo(){return(Dt&6)===0?(Ua(0),!1):!0}function Eu(){if(wt!==null){if(Ot===0)var t=wt.return;else t=wt,Mn=Vi=null,qc(t),ws=null,Oa=0,t=wt;for(;t!==null;)Wp(t.alternate,t),t=t.return;wt=null}}function Ds(t,n){var s=t.timeoutHandle;s!==-1&&(t.timeoutHandle=-1,pT(s)),s=t.cancelPendingCommit,s!==null&&(t.cancelPendingCommit=null,s()),Eu(),zt=t,wt=s=En(t.current,null),Tt=n,Ot=0,Oe=null,si=!1,Es=na(t,n),vu=!1,Cs=Ye=bu=Bi=ai=Ut=0,xe=Pa=null,xu=!1,(n&8)!==0&&(n|=n&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=n;0<o;){var c=31-Ee(o),d=1<<c;n|=t[c],o&=~d}return zn=n,Ur(),s}function vy(t,n){vt=null,L.H=ao,n===wa||n===Zr?(n=_m(),Ot=3):n===jm?(n=_m(),Ot=4):Ot=n===zp?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Oe=n,wt===null&&(Ut=1,uo(t,Be(n,t.current)))}function by(){var t=L.H;return L.H=ao,t===null?ao:t}function xy(){var t=L.A;return L.A=ZS,t}function Cu(){Ut=4,si||(Tt&4194048)!==Tt&&Ge.current!==null||(Es=!0),(ai&134217727)===0&&(Bi&134217727)===0||zt===null||li(zt,Tt,Ye,!1)}function Ru(t,n,s){var o=Dt;Dt|=2;var c=by(),d=xy();(zt!==t||Tt!==n)&&(vo=null,Ds(t,n)),n=!1;var v=Ut;t:do try{if(Ot!==0&&wt!==null){var x=wt,M=Oe;switch(Ot){case 8:Eu(),v=6;break t;case 3:case 2:case 9:case 6:Ge.current===null&&(n=!0);var z=Ot;if(Ot=0,Oe=null,Os(t,x,M,z),s&&Es){v=0;break t}break;default:z=Ot,Ot=0,Oe=null,Os(t,x,M,z)}}JS(),v=Ut;break}catch(q){vy(t,q)}while(!0);return n&&t.shellSuspendCounter++,Mn=Vi=null,Dt=o,L.H=c,L.A=d,wt===null&&(zt=null,Tt=0,Ur()),v}function JS(){for(;wt!==null;)wy(wt)}function $S(t,n){var s=Dt;Dt|=2;var o=by(),c=xy();zt!==t||Tt!==n?(vo=null,go=cn()+500,Ds(t,n)):Es=na(t,n);t:do try{if(Ot!==0&&wt!==null){n=wt;var d=Oe;e:switch(Ot){case 1:Ot=0,Oe=null,Os(t,n,d,1);break;case 2:case 9:if(Vm(d)){Ot=0,Oe=null,Sy(n);break}n=function(){Ot!==2&&Ot!==9||zt!==t||(Ot=7),mn(t)},d.then(n,n);break t;case 3:Ot=7;break t;case 4:Ot=5;break t;case 7:Vm(d)?(Ot=0,Oe=null,Sy(n)):(Ot=0,Oe=null,Os(t,n,d,7));break;case 5:var v=null;switch(wt.tag){case 26:v=wt.memoizedState;case 5:case 27:var x=wt;if(!v||ig(v)){Ot=0,Oe=null;var M=x.sibling;if(M!==null)wt=M;else{var z=x.return;z!==null?(wt=z,xo(z)):wt=null}break e}}Ot=0,Oe=null,Os(t,n,d,5);break;case 6:Ot=0,Oe=null,Os(t,n,d,6);break;case 8:Eu(),Ut=6;break t;default:throw Error(r(462))}}tT();break}catch(q){vy(t,q)}while(!0);return Mn=Vi=null,L.H=o,L.A=c,Dt=s,wt!==null?0:(zt=null,Tt=0,Ur(),Ut)}function tT(){for(;wt!==null&&!Sw();)wy(wt)}function wy(t){var n=Qp(t.alternate,t,zn);t.memoizedProps=t.pendingProps,n===null?xo(t):wt=n}function Sy(t){var n=t,s=n.alternate;switch(n.tag){case 15:case 0:n=qp(s,n,n.pendingProps,n.type,void 0,Tt);break;case 11:n=qp(s,n,n.pendingProps,n.type.render,n.ref,Tt);break;case 5:qc(n);default:Wp(s,n),n=wt=Tm(n,zn),n=Qp(s,n,zn)}t.memoizedProps=t.pendingProps,n===null?xo(t):wt=n}function Os(t,n,s,o){Mn=Vi=null,qc(n),ws=null,Oa=0;var c=n.return;try{if(GS(t,c,n,s,Tt)){Ut=1,uo(t,Be(s,t.current)),wt=null;return}}catch(d){if(c!==null)throw wt=c,d;Ut=1,uo(t,Be(s,t.current)),wt=null;return}n.flags&32768?(Rt||o===1?t=!0:Es||(Tt&536870912)!==0?t=!1:(si=t=!0,(o===2||o===9||o===3||o===6)&&(o=Ge.current,o!==null&&o.tag===13&&(o.flags|=16384))),Ty(n,t)):xo(n)}function xo(t){var n=t;do{if((n.flags&32768)!==0){Ty(n,si);return}t=n.return;var s=KS(n.alternate,n,zn);if(s!==null){wt=s;return}if(n=n.sibling,n!==null){wt=n;return}wt=n=t}while(n!==null);Ut===0&&(Ut=5)}function Ty(t,n){do{var s=XS(t.alternate,t);if(s!==null){s.flags&=32767,wt=s;return}if(s=t.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!n&&(t=t.sibling,t!==null)){wt=t;return}wt=t=s}while(t!==null);Ut=6,wt=null}function Ay(t,n,s,o,c,d,v,x,M){t.cancelPendingCommit=null;do wo();while(ae!==0);if((Dt&6)!==0)throw Error(r(327));if(n!==null){if(n===t.current)throw Error(r(177));if(d=n.lanes|n.childLanes,d|=gc,jw(t,s,d,v,x,M),t===zt&&(wt=zt=null,Tt=0),Rs=n,oi=t,Ms=s,Su=d,Tu=c,my=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,sT(Er,function(){return Dy(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=L.T,L.T=null,c=F.p,F.p=2,v=Dt,Dt|=4;try{FS(t,n,s)}finally{Dt=v,F.p=c,L.T=o}}ae=1,Ey(),Cy(),Ry()}}function Ey(){if(ae===1){ae=0;var t=oi,n=Rs,s=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||s){s=L.T,L.T=null;var o=F.p;F.p=2;var c=Dt;Dt|=4;try{oy(n,t);var d=Bu,v=hm(t.containerInfo),x=d.focusedElem,M=d.selectionRange;if(v!==x&&x&&x.ownerDocument&&dm(x.ownerDocument.documentElement,x)){if(M!==null&&dc(x)){var z=M.start,q=M.end;if(q===void 0&&(q=z),"selectionStart"in x)x.selectionStart=z,x.selectionEnd=Math.min(q,x.value.length);else{var X=x.ownerDocument||document,k=X&&X.defaultView||window;if(k.getSelection){var B=k.getSelection(),pt=x.textContent.length,dt=Math.min(M.start,pt),Vt=M.end===void 0?dt:Math.min(M.end,pt);!B.extend&&dt>Vt&&(v=Vt,Vt=dt,dt=v);var j=fm(x,dt),D=fm(x,Vt);if(j&&D&&(B.rangeCount!==1||B.anchorNode!==j.node||B.anchorOffset!==j.offset||B.focusNode!==D.node||B.focusOffset!==D.offset)){var _=X.createRange();_.setStart(j.node,j.offset),B.removeAllRanges(),dt>Vt?(B.addRange(_),B.extend(D.node,D.offset)):(_.setEnd(D.node,D.offset),B.addRange(_))}}}}for(X=[],B=x;B=B.parentNode;)B.nodeType===1&&X.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<X.length;x++){var Y=X[x];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}Vo=!!Pu,Bu=Pu=null}finally{Dt=c,F.p=o,L.T=s}}t.current=n,ae=2}}function Cy(){if(ae===2){ae=0;var t=oi,n=Rs,s=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||s){s=L.T,L.T=null;var o=F.p;F.p=2;var c=Dt;Dt|=4;try{iy(t,n.alternate,n)}finally{Dt=c,F.p=o,L.T=s}}ae=3}}function Ry(){if(ae===4||ae===3){ae=0,Tw();var t=oi,n=Rs,s=Ms,o=my;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?ae=5:(ae=0,Rs=oi=null,My(t,t.pendingLanes));var c=t.pendingLanes;if(c===0&&(ri=null),Kl(s),n=n.stateNode,Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot(ea,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=L.T,c=F.p,F.p=2,L.T=null;try{for(var d=t.onRecoverableError,v=0;v<o.length;v++){var x=o[v];d(x.value,{componentStack:x.stack})}}finally{L.T=n,F.p=c}}(Ms&3)!==0&&wo(),mn(t),c=t.pendingLanes,(s&4194090)!==0&&(c&42)!==0?t===Au?Ba++:(Ba=0,Au=t):Ba=0,Ua(0)}}function My(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,ba(n)))}function wo(t){return Ey(),Cy(),Ry(),Dy()}function Dy(){if(ae!==5)return!1;var t=oi,n=Su;Su=0;var s=Kl(Ms),o=L.T,c=F.p;try{F.p=32>s?32:s,L.T=null,s=Tu,Tu=null;var d=oi,v=Ms;if(ae=0,Rs=oi=null,Ms=0,(Dt&6)!==0)throw Error(r(331));var x=Dt;if(Dt|=4,dy(d.current),cy(d,d.current,v,s),Dt=x,Ua(0,!1),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot(ea,d)}catch{}return!0}finally{F.p=c,L.T=o,My(t,n)}}function Oy(t,n,s){n=Be(s,n),n=nu(t.stateNode,n,2),t=In(t,n,2),t!==null&&(ia(t,2),mn(t))}function Lt(t,n,s){if(t.tag===3)Oy(t,t,s);else for(;n!==null;){if(n.tag===3){Oy(n,t,s);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ri===null||!ri.has(o))){t=Be(s,t),s=Lp(2),o=In(n,s,2),o!==null&&(_p(s,o,n,t),ia(o,2),mn(o));break}}n=n.return}}function Mu(t,n,s){var o=t.pingCache;if(o===null){o=t.pingCache=new WS;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(s)||(vu=!0,c.add(s),t=eT.bind(null,t,n,s),n.then(t,t))}function eT(t,n,s){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&s,t.warmLanes&=~s,zt===t&&(Tt&s)===s&&(Ut===4||Ut===3&&(Tt&62914560)===Tt&&300>cn()-wu?(Dt&2)===0&&Ds(t,0):bu|=s,Cs===Tt&&(Cs=0)),mn(t)}function Ny(t,n){n===0&&(n=Rh()),t=fs(t,n),t!==null&&(ia(t,n),mn(t))}function nT(t){var n=t.memoizedState,s=0;n!==null&&(s=n.retryLane),Ny(t,s)}function iT(t,n){var s=0;switch(t.tag){case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(s=c.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(n),Ny(t,s)}function sT(t,n){return Sn(t,n)}var So=null,Ns=null,Du=!1,To=!1,Ou=!1,Ui=0;function mn(t){t!==Ns&&t.next===null&&(Ns===null?So=Ns=t:Ns=Ns.next=t),To=!0,Du||(Du=!0,rT())}function Ua(t,n){if(!Ou&&To){Ou=!0;do for(var s=!1,o=So;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var v=o.suspendedLanes,x=o.pingedLanes;d=(1<<31-Ee(42|t)+1)-1,d&=c&~(v&~x),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(s=!0,_y(o,d))}else d=Tt,d=Mr(o,o===zt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||na(o,d)||(s=!0,_y(o,d));o=o.next}while(s);Ou=!1}}function aT(){jy()}function jy(){To=Du=!1;var t=0;Ui!==0&&(mT()&&(t=Ui),Ui=0);for(var n=cn(),s=null,o=So;o!==null;){var c=o.next,d=Vy(o,n);d===0?(o.next=null,s===null?So=c:s.next=c,c===null&&(Ns=s)):(s=o,(t!==0||(d&3)!==0)&&(To=!0)),o=c}Ua(t)}function Vy(t,n){for(var s=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,d=t.pendingLanes&-62914561;0<d;){var v=31-Ee(d),x=1<<v,M=c[v];M===-1?((x&s)===0||(x&o)!==0)&&(c[v]=Nw(x,n)):M<=n&&(t.expiredLanes|=x),d&=~x}if(n=zt,s=Tt,s=Mr(t,t===n?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,s===0||t===n&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&Te(o),t.callbackNode=null,t.callbackPriority=0;if((s&3)===0||na(t,s)){if(n=s&-s,n===t.callbackPriority)return n;switch(o!==null&&Te(o),Kl(s)){case 2:case 8:s=Ah;break;case 32:s=Er;break;case 268435456:s=Eh;break;default:s=Er}return o=Ly.bind(null,t),s=Sn(s,o),t.callbackPriority=n,t.callbackNode=s,n}return o!==null&&o!==null&&Te(o),t.callbackPriority=2,t.callbackNode=null,2}function Ly(t,n){if(ae!==0&&ae!==5)return t.callbackNode=null,t.callbackPriority=0,null;var s=t.callbackNode;if(wo()&&t.callbackNode!==s)return null;var o=Tt;return o=Mr(t,t===zt?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(yy(t,o,n),Vy(t,cn()),t.callbackNode!=null&&t.callbackNode===s?Ly.bind(null,t):null)}function _y(t,n){if(wo())return null;yy(t,n,!0)}function rT(){yT(function(){(Dt&6)!==0?Sn(Th,aT):jy()})}function Nu(){return Ui===0&&(Ui=Ch()),Ui}function zy(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Vr(""+t)}function ky(t,n){var s=n.ownerDocument.createElement("input");return s.name=n.name,s.value=n.value,t.id&&s.setAttribute("form",t.id),n.parentNode.insertBefore(s,n),t=new FormData(t),s.parentNode.removeChild(s),t}function oT(t,n,s,o,c){if(n==="submit"&&s&&s.stateNode===c){var d=zy((c[ye]||null).action),v=o.submitter;v&&(n=(n=v[ye]||null)?zy(n.formAction):v.getAttribute("formAction"),n!==null&&(d=n,v=null));var x=new kr("action","action",null,o,c);t.push({event:x,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ui!==0){var M=v?ky(c,v):new FormData(c);Ic(s,{pending:!0,data:M,method:c.method,action:d},null,M)}}else typeof d=="function"&&(x.preventDefault(),M=v?ky(c,v):new FormData(c),Ic(s,{pending:!0,data:M,method:c.method,action:d},d,M))},currentTarget:c}]})}}for(var ju=0;ju<yc.length;ju++){var Vu=yc[ju],lT=Vu.toLowerCase(),cT=Vu[0].toUpperCase()+Vu.slice(1);Ze(lT,"on"+cT)}Ze(ym,"onAnimationEnd"),Ze(gm,"onAnimationIteration"),Ze(vm,"onAnimationStart"),Ze("dblclick","onDoubleClick"),Ze("focusin","onFocus"),Ze("focusout","onBlur"),Ze(CS,"onTransitionRun"),Ze(RS,"onTransitionStart"),Ze(MS,"onTransitionCancel"),Ze(bm,"onTransitionEnd"),es("onMouseEnter",["mouseout","mouseover"]),es("onMouseLeave",["mouseout","mouseover"]),es("onPointerEnter",["pointerout","pointerover"]),es("onPointerLeave",["pointerout","pointerover"]),Ai("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ai("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),Ai("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ai("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ai("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ai("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ha="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(" "),uT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ha));function Py(t,n){n=(n&4)!==0;for(var s=0;s<t.length;s++){var o=t[s],c=o.event;o=o.listeners;t:{var d=void 0;if(n)for(var v=o.length-1;0<=v;v--){var x=o[v],M=x.instance,z=x.currentTarget;if(x=x.listener,M!==d&&c.isPropagationStopped())break t;d=x,c.currentTarget=z;try{d(c)}catch(q){co(q)}c.currentTarget=null,d=M}else for(v=0;v<o.length;v++){if(x=o[v],M=x.instance,z=x.currentTarget,x=x.listener,M!==d&&c.isPropagationStopped())break t;d=x,c.currentTarget=z;try{d(c)}catch(q){co(q)}c.currentTarget=null,d=M}}}}function St(t,n){var s=n[Xl];s===void 0&&(s=n[Xl]=new Set);var o=t+"__bubble";s.has(o)||(By(n,t,2,!1),s.add(o))}function Lu(t,n,s){var o=0;n&&(o|=4),By(s,t,o,n)}var Ao="_reactListening"+Math.random().toString(36).slice(2);function _u(t){if(!t[Ao]){t[Ao]=!0,jh.forEach(function(s){s!=="selectionchange"&&(uT.has(s)||Lu(s,!1,t),Lu(s,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[Ao]||(n[Ao]=!0,Lu("selectionchange",!1,n))}}function By(t,n,s,o){switch(cg(n)){case 2:var c=kT;break;case 8:c=PT;break;default:c=Zu}s=c.bind(null,n,s,t),c=void 0,!ic||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(n,s,{capture:!0,passive:c}):t.addEventListener(n,s,!0):c!==void 0?t.addEventListener(n,s,{passive:c}):t.addEventListener(n,s,!1)}function zu(t,n,s,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)t:for(;;){if(o===null)return;var v=o.tag;if(v===3||v===4){var x=o.stateNode.containerInfo;if(x===c)break;if(v===4)for(v=o.return;v!==null;){var M=v.tag;if((M===3||M===4)&&v.stateNode.containerInfo===c)return;v=v.return}for(;x!==null;){if(v=Ji(x),v===null)return;if(M=v.tag,M===5||M===6||M===26||M===27){o=d=v;continue t}x=x.parentNode}}o=o.return}Xh(function(){var z=d,q=ec(s),X=[];t:{var k=xm.get(t);if(k!==void 0){var B=kr,pt=t;switch(t){case"keypress":if(_r(s)===0)break t;case"keydown":case"keyup":B=sS;break;case"focusin":pt="focus",B=oc;break;case"focusout":pt="blur",B=oc;break;case"beforeblur":case"afterblur":B=oc;break;case"click":if(s.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=Zh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=Xw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=oS;break;case ym:case gm:case vm:B=Zw;break;case bm:B=cS;break;case"scroll":case"scrollend":B=Yw;break;case"wheel":B=fS;break;case"copy":case"cut":case"paste":B=Iw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Ih;break;case"toggle":case"beforetoggle":B=hS}var dt=(n&4)!==0,Vt=!dt&&(t==="scroll"||t==="scrollend"),j=dt?k!==null?k+"Capture":null:k;dt=[];for(var D=z,_;D!==null;){var Y=D;if(_=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||_===null||j===null||(Y=ra(D,j),Y!=null&&dt.push(qa(D,Y,_))),Vt)break;D=D.return}0<dt.length&&(k=new B(k,pt,null,s,q),X.push({event:k,listeners:dt}))}}if((n&7)===0){t:{if(k=t==="mouseover"||t==="pointerover",B=t==="mouseout"||t==="pointerout",k&&s!==tc&&(pt=s.relatedTarget||s.fromElement)&&(Ji(pt)||pt[Ii]))break t;if((B||k)&&(k=q.window===q?q:(k=q.ownerDocument)?k.defaultView||k.parentWindow:window,B?(pt=s.relatedTarget||s.toElement,B=z,pt=pt?Ji(pt):null,pt!==null&&(Vt=u(pt),dt=pt.tag,pt!==Vt||dt!==5&&dt!==27&&dt!==6)&&(pt=null)):(B=null,pt=z),B!==pt)){if(dt=Zh,Y="onMouseLeave",j="onMouseEnter",D="mouse",(t==="pointerout"||t==="pointerover")&&(dt=Ih,Y="onPointerLeave",j="onPointerEnter",D="pointer"),Vt=B==null?k:aa(B),_=pt==null?k:aa(pt),k=new dt(Y,D+"leave",B,s,q),k.target=Vt,k.relatedTarget=_,Y=null,Ji(q)===z&&(dt=new dt(j,D+"enter",pt,s,q),dt.target=_,dt.relatedTarget=Vt,Y=dt),Vt=Y,B&&pt)e:{for(dt=B,j=pt,D=0,_=dt;_;_=js(_))D++;for(_=0,Y=j;Y;Y=js(Y))_++;for(;0<D-_;)dt=js(dt),D--;for(;0<_-D;)j=js(j),_--;for(;D--;){if(dt===j||j!==null&&dt===j.alternate)break e;dt=js(dt),j=js(j)}dt=null}else dt=null;B!==null&&Uy(X,k,B,dt,!1),pt!==null&&Vt!==null&&Uy(X,Vt,pt,dt,!0)}}t:{if(k=z?aa(z):window,B=k.nodeName&&k.nodeName.toLowerCase(),B==="select"||B==="input"&&k.type==="file")var st=am;else if(im(k))if(rm)st=TS;else{st=wS;var xt=xS}else B=k.nodeName,!B||B.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?z&&$l(z.elementType)&&(st=am):st=SS;if(st&&(st=st(t,z))){sm(X,st,s,q);break t}xt&&xt(t,k,z),t==="focusout"&&z&&k.type==="number"&&z.memoizedProps.value!=null&&Jl(k,"number",k.value)}switch(xt=z?aa(z):window,t){case"focusin":(im(xt)||xt.contentEditable==="true")&&(ls=xt,hc=z,ma=null);break;case"focusout":ma=hc=ls=null;break;case"mousedown":mc=!0;break;case"contextmenu":case"mouseup":case"dragend":mc=!1,mm(X,s,q);break;case"selectionchange":if(ES)break;case"keydown":case"keyup":mm(X,s,q)}var ft;if(cc)t:{switch(t){case"compositionstart":var mt="onCompositionStart";break t;case"compositionend":mt="onCompositionEnd";break t;case"compositionupdate":mt="onCompositionUpdate";break t}mt=void 0}else os?em(t,s)&&(mt="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(mt="onCompositionStart");mt&&(Jh&&s.locale!=="ko"&&(os||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&os&&(ft=Fh()):(Fn=q,sc="value"in Fn?Fn.value:Fn.textContent,os=!0)),xt=Eo(z,mt),0<xt.length&&(mt=new Wh(mt,t,null,s,q),X.push({event:mt,listeners:xt}),ft?mt.data=ft:(ft=nm(s),ft!==null&&(mt.data=ft)))),(ft=pS?yS(t,s):gS(t,s))&&(mt=Eo(z,"onBeforeInput"),0<mt.length&&(xt=new Wh("onBeforeInput","beforeinput",null,s,q),X.push({event:xt,listeners:mt}),xt.data=ft)),oT(X,t,z,s,q)}Py(X,n)})}function qa(t,n,s){return{instance:t,listener:n,currentTarget:s}}function Eo(t,n){for(var s=n+"Capture",o=[];t!==null;){var c=t,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=ra(t,s),c!=null&&o.unshift(qa(t,c,d)),c=ra(t,n),c!=null&&o.push(qa(t,c,d))),t.tag===3)return o;t=t.return}return[]}function js(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Uy(t,n,s,o,c){for(var d=n._reactName,v=[];s!==null&&s!==o;){var x=s,M=x.alternate,z=x.stateNode;if(x=x.tag,M!==null&&M===o)break;x!==5&&x!==26&&x!==27||z===null||(M=z,c?(z=ra(s,d),z!=null&&v.unshift(qa(s,z,M))):c||(z=ra(s,d),z!=null&&v.push(qa(s,z,M)))),s=s.return}v.length!==0&&t.push({event:n,listeners:v})}var fT=/\r\n?/g,dT=/\u0000|\uFFFD/g;function Hy(t){return(typeof t=="string"?t:""+t).replace(fT,` 9`).replace(dT,"")}function qy(t,n){return n=Hy(n),Hy(t)===n}function Co(){}function jt(t,n,s,o,c,d){switch(s){case"children":typeof o=="str
9ing"?n==="body"||n==="textarea"&&o===""||ss(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&ss(t,""+o);break;case"className":Or(t,"class",o);break;case"tabIndex":Or(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Or(t,s,o);break;case"style":Yh(t,o,d);break;case"data":if(n!=="object"){Or(t,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||s!=="href")){t.removeAttribute(s);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(s);break}o=Vr(""+o),t.setAttribute(s,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(s,"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 d=="function"&&(s==="formAction"?(n!=="input"&&jt(t,n,"name",c.name,c,null),jt(t,n,"formEncType",c.formEncType,c,null),jt(t,n,"formMethod",c.formMethod,c,null),jt(t,n,"formTarget",c.formTarget,c,null)):(jt(t,n,"encType",c.encType,c,null),jt(t,n,"method",c.method,c,null),jt(t,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(s);break}o=Vr(""+o),t.setAttribute(s,o);break;case"onClick":o!=null&&(t.onclick=Co);break;case"onScroll":o!=null&&St("scroll",t);break;case"onScrollEnd":o!=null&&St("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=s}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}s=Vr(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);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"?t.setAttribute(s,""+o):t.removeAttribute(s);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"?t.setAttribute(s,""):t.removeAttribute(s);break;case"capture":case"download":o===!0?t.setAttribute(s,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(s,o):t.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(s,o):t.removeAttribute(s);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(s):t.setAttribute(s,o);break;case"popover":St("beforetoggle",t),St("toggle",t),Dr(t,"popover",o);break;case"xlinkActuate":Tn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Tn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Tn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Tn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Tn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Tn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Tn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Tn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Tn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Dr(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=qw.get(s)||s,Dr(t,s,o))}}function ku(t,n,s,o,c,d){switch(s){case"style":Yh(t,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=s}}break;
vendor: 6,952 bytes, line 9
9case"children":typeof o=="string"?ss(t,o):(typeof o=="number"||typeof o=="bigint")&&ss(t,""+o);break;case"onScroll":o!=null&&St("scroll",t);break;case"onScrollEnd":o!=null&&St("scrollend",t);break;case"onClick":o!=null&&(t.onclick=Co);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Vh.hasOwnProperty(s))t:{if(s[0]==="o"&&s[1]==="n"&&(c=s.endsWith("Capture"),n=s.slice(2,c?s.length-7:void 0),d=t[ye]||null,d=d!=null?d[s]:null,typeof d=="function"&&t.removeEventListener(n,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(s in t?t[s]=null:t.hasAttribute(s)&&t.removeAttribute(s)),t.addEventListener(n,o,c);break t}s in t?t[s]=o:o===!0?t.setAttribute(s,""):Dr(t,s,o)}}}function re(t,n,s){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",t),St("load",t);var o=!1,c=!1,d;for(d in s)if(s.hasOwnProperty(d)){var v=s[d];if(v!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:jt(t,n,d,v,s,null)}}c&&jt(t,n,"srcSet",s.srcSet,s,null),o&&jt(t,n,"src",s.src,s,null);return;case"input":St("invalid",t);var x=d=v=c=null,M=null,z=null;for(o in s)if(s.hasOwnProperty(o)){var q=s[o];if(q!=null)switch(o){case"name":c=q;break;case"type":v=q;break;case"checked":M=q;break;case"defaultChecked":z=q;break;case"value":d=q;break;case"defaultValue":x=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,n));break;default:jt(t,n,o,q,s,null)}}Uh(t,d,x,M,z,v,c,!1),Nr(t);return;case"select":St("invalid",t),o=v=d=null;for(c in s)if(s.hasOwnProperty(c)&&(x=s[c],x!=null))switch(c){case"value":d=x;break;case"defaultValue":v=x;break;case"multiple":o=x;default:jt(t,n,c,x,s,null)}n=d,s=v,t.multiple=!!o,n!=null?is(t,!!o,n,!1):s!=null&&is(t,!!o,s,!0);return;case"textarea":St("invalid",t),d=c=o=null;for(v in s)if(s.hasOwnProperty(v)&&(x=s[v],x!=null))switch(v){case"value":o=x;break;case"defaultValue":c=x;break;case"children":d=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:jt(t,n,v,x,s,null)}qh(t,o,c,d),Nr(t);return;case"option":for(M in s)s.hasOwnProperty(M)&&(o=s[M],o!=null)&&(M==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":jt(t,n,M,o,s,null));return;case"dialog":St("beforetoggle",t),St("toggle",t),St("cancel",t),St("close",t);break;case"iframe":case"object":St("load",t);break;case"video":case"audio":for(o=0;o<Ha.length;o++)St(Ha[o],t);break;case"image":St("error",t),St("load",t);break;case"details":St("toggle",t);break;case"embed":case"source":case"link":St("error",t),St("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in s)if(s.hasOwnProperty(z)&&(o=s[z],o!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:jt(t,n,z,o,s,null)}return;default:if($l(n)){for(q in s)s.hasOwnProperty(q)&&(o=s[q],o!==void 0&&ku(t,n,q,o,s,void 0));return}}for(x in s)s.hasOwnProperty(x)&&(o=s[x],o!=null&&jt(t,n,x,o,s,null))}function hT(t,n,s,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,d=null,v=null,x=null,M=null,z=null,q=null;for(B in s){var X=s[B];if(s.hasOwnProperty(B)&&X!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":M=X;default:o.hasOwnProperty(B)||jt(t,n,B,null,o,X)}}for(var k in o){var B=o[k];if(X=s[k],o.hasOwnProperty(k)&&(B!=null||X!=null))switch(k){case"type":d=B;break;case"name":c=B;break;case"checked":z=B;break;case"defaultChecked":q=B;break;case"value":v=B;break;case"defaultValue":x=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,n));break;default:B!==X&&jt(t,n,k,B,o,X)}}Il(t,v,x,M,z,q,d,c);return;case"select":B=v=x=k=null;for(d in s)if(M=s[d],s.hasOwnProperty(d)&&M!=null)switch(d){case"value":break;case"multiple":B=M;default:o.hasOwnProperty(d)||jt(t,n,d,null,o,M)}for(c in o)if(d=o[c],M=s[c],o.hasOwnProperty(c)&&(d!=null||M!=null))switch(c){case"value":k=d;break;case"defaultValue":x=d;break;case"multiple":v=d;default:d!==M&&jt(t,n,c,d,o,M)}n=x,s=v,o=B,k!=null?is(t,!!s,k,!1):!!o!=!!s&&(n!=null?is(t,!!s,n,!0):is(t,!!s,s?[]:"",!1));return;case"textarea":B=k=null;for(x in s)if(c=s[x],s.hasOwnProperty(x)&&c!=null&&!o.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:jt(t,n,x,null,o,c)}for(v in o)if(c=o[v],d=s[v],o.hasOwnProperty(v)&&(c!=null||d!=null))switch(v){case"value":k=c;break;case"defaultValue":B=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==d&&jt(t,n,v,c,o,d)}Hh(t,k,B);return;case"option":for(var pt in s)k=s[pt],s.hasOwnProperty(pt)&&k!=null&&!o.hasOwnProperty(pt)&&(pt==="selected"?t.selected=!1:jt(t,n,pt,null,o,k));for(M in o)k=o[M],B=s[M],o.hasOwnProperty(M)&&k!==B&&(k!=null||B!=null)&&(M==="selected"?t.selected=k&&typeof k!="function"&&typeof k!="symbol":jt(t,n,M,k,o,B));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 dt in s)k=s[dt],s.hasOwnProperty(dt)&&k!=null&&!o.hasOwnProperty(dt)&&jt(t,n,dt,null,o,k);for(z in o)if(k=o[z],B=s[z],o.hasOwnProperty(z)&&k!==B&&(k!=null||B!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,n));break;default:jt(t,n,z,k,o,B)}return;default:if($l(n)){for(var Vt in s)k=s[Vt],s.hasOwnProperty(Vt)&&k!==void 0&&!o.hasOwnProperty(Vt)&&ku(t,n,Vt,void 0,o,k);for(q in o)k=o[q],B=s[q],!o.hasOwnProperty(q)||k===B||k===void 0&&B===void 0||ku(t,n,q,k,o,B);return}}for(var j in s)k=s[j],s.hasOwnProperty(j)&&k!=null&&!o.hasOwnProperty(j)&&jt(t,n,j,null,o,k);for(X in o)k=o[X],B=s[X],!o.hasOwnProperty(X)||k===B||k==null&&B==null||jt(t,n,X,k,o,B)}var Pu=null,Bu=null;function Ro(t){return t.nodeType===9?t:t.ownerDocument}function Gy(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Yy(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function Uu(t,n){return t==="textarea"||t==="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 Hu=null;function mT(){var t=window.event;return t&&t.type==="popstate"?t===Hu?!1:(Hu=t,!0):(Hu=null,!1)}var Ky=typeof setTimeout=="function"?setTimeout:void 0,pT=typeof clearTimeout=="function"?clearTimeout:void 0,Xy=typeof Promise=="function"?Promise:void 0,yT=typeof queueMicrotask=="function"?queueMicrotask:typeof Xy<"u"?function(t){return Xy.resolve(null).then(t).cat
vendor: 5,156 bytes, line 9
9ch(gT)}:Ky;function gT(t){setTimeout(function(){throw t})}function ci(t){return t==="head"}function Fy(t,n){var s=n,o=0,c=0;do{var d=s.nextSibling;if(t.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(0<o&&8>o){s=o;var v=t.ownerDocument;if(s&1&&Ga(v.documentElement),s&2&&Ga(v.body),s&4)for(s=v.head,Ga(s),v=s.firstChild;v;){var x=v.nextSibling,M=v.nodeName;v[sa]||M==="SCRIPT"||M==="STYLE"||M==="LINK"&&v.rel.toLowerCase()==="stylesheet"||s.removeChild(v),v=x}}if(c===0){t.removeChild(d),Ia(n);return}c--}else s==="$"||s==="$?"||s==="$!"?c++:o=s.charCodeAt(0)-48;else o=0;s=d}while(s);Ia(n)}function qu(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var s=n;switch(n=n.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":qu(s),Fl(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}t.removeChild(s)}}function vT(t,n,s,o){for(;t.nodeType===1;){var c=s;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[sa])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(d=t.getAttribute("rel"),d==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(d!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(d=t.getAttribute("src"),(d!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===d)return t}else return t;if(t=Ie(t.nextSibling),t===null)break}return null}function bT(t,n,s){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!s||(t=Ie(t.nextSibling),t===null))return null;return t}function Gu(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function xT(t,n){var s=t.ownerDocument;if(t.data!=="$?"||s.readyState==="complete")n();else{var o=function(){n(),s.removeEventListener("DOMContentLoaded",o)};s.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function Ie(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return t}var Yu=null;function Qy(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(n===0)return t;n--}else s==="/$"&&n++}t=t.previousSibling}return null}function Zy(t,n,s){switch(n=Ro(s),t){case"html":if(t=n.documentElement,!t)throw Error(r(452));return t;case"head":if(t=n.head,!t)throw Error(r(453));return t;case"body":if(t=n.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Ga(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Fl(t)}var Ke=new Map,Wy=new Set;function Mo(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var kn=F.d;F.d={f:wT,r:ST,D:TT,C:AT,L:ET,m:CT,X:MT,S:RT,M:DT};function wT(){var t=kn.f(),n=bo();return t||n}function ST(t){var n=$i(t);n!==null&&n.tag===5&&n.type==="form"?yp(n):kn.r(t)}var Vs=typeof document>"u"?null:document;function Iy(t,n,s){var o=Vs;if(o&&typeof n=="string"&&n){var c=Pe(n);c='link[rel="'+t+'"][href="'+c+'"]',typeof s=="string"&&(c+='[crossorigin="'+s+'"]'),Wy.has(c)||(Wy.add(c),t={rel:t,crossOrigin:s,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),re(n,"link",t),$t(n),o.head.appendChild(n)))}}function TT(t){kn.D(t),Iy("dns-prefetch",t,null)}function AT(t,n){kn.C(t,n),Iy("preconnect",t,n)}function ET(t,n,s){kn.L(t,n,s);var o=Vs;if(o&&t&&n){var c='link[rel="preload"][as="'+Pe(n)+'"]';n==="image"&&s&&s.imageSrcSet?(c+='[imagesrcset="'+Pe(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(c+='[imagesizes="'+Pe(s.imageSizes)+'"]')):c+='[href="'+Pe(t)+'"]';var d=c;switch(n){case"style":d=Ls(t);break;case"script":d=_s(t)}Ke.has(d)||(t=y({rel:"preload",href:n==="image"&&s&&s.imageSrcSet?void 0:t,as:n},s),Ke.set(d,t),o.querySelector(c)!==null||n==="style"&&o.querySelector(Ya(d))||n==="script"&&o.querySelector(Ka(d))||(n=o.createElement("link"),re(n,"link",t),$t(n),o.head.appendChild(n)))}}function CT(t,n){kn.m(t,n);var s=Vs;if(s&&t){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Pe(o)+'"][href="'+Pe(t)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=_s(t)}if(!Ke.has(d)&&(t=y({rel:"modulepreload",href:t},n),Ke.set(d,t),s.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Ka(d)))return}o=s.createElement("link"),re(o,"link",t),$t(o),s.head.appendChild(o)}}}
vendor: 4,370 bytes, line 9
9function RT(t,n,s){kn.S(t,n,s);var o=Vs;if(o&&t){var c=ts(o).hoistableStyles,d=Ls(t);n=n||"default";var v=c.get(d);if(!v){var x={loading:0,preload:null};if(v=o.querySelector(Ya(d)))x.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":n},s),(s=Ke.get(d))&&Ku(t,s);var M=v=o.createElement("link");$t(M),re(M,"link",t),M._p=new Promise(function(z,q){M.onload=z,M.onerror=q}),M.addEventListener("load",function(){x.loading|=1}),M.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Do(v,n,o)}v={type:"stylesheet",instance:v,count:1,state:x},c.set(d,v)}}}function MT(t,n){kn.X(t,n);var s=Vs;if(s&&t){var o=ts(s).hoistableScripts,c=_s(t),d=o.get(c);d||(d=s.querySelector(Ka(c)),d||(t=y({src:t,async:!0},n),(n=Ke.get(c))&&Xu(t,n),d=s.createElement("script"),$t(d),re(d,"link",t),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function DT(t,n){kn.M(t,n);var s=Vs;if(s&&t){var o=ts(s).hoistableScripts,c=_s(t),d=o.get(c);d||(d=s.querySelector(Ka(c)),d||(t=y({src:t,async:!0,type:"module"},n),(n=Ke.get(c))&&Xu(t,n),d=s.createElement("script"),$t(d),re(d,"link",t),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function Jy(t,n,s,o){var c=(c=ot.current)?Mo(c):null;if(!c)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(n=Ls(s.href),s=ts(c).hoistableStyles,o=s.get(n),o||(o={type:"style",instance:null,count:0,state:null},s.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){t=Ls(s.href);var d=ts(c).hoistableStyles,v=d.get(t);if(v||(c=c.ownerDocument||c,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(t,v),(d=c.querySelector(Ya(t)))&&!d._p&&(v.instance=d,v.state.loading=5),Ke.has(t)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Ke.set(t,s),d||OT(c,t,s,v.state))),n&&o===null)throw Error(r(528,""));return v}if(n&&o!==null)throw Error(r(529,""));return null;case"script":return n=s.async,s=s.src,typeof s=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=_s(s),s=ts(c).hoistableScripts,o=s.get(n),o||(o={type:"script",instance:null,count:0,state:null},s.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function Ls(t){return'href="'+Pe(t)+'"'}function Ya(t){return'link[rel="stylesheet"]['+t+"]"}function $y(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function OT(t,n,s,o){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=t.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),re(n,"link",s),$t(n),t.head.appendChild(n))}function _s(t){return'[src="'+Pe(t)+'"]'}function Ka(t){return"script[async]"+t}function tg(t,n,s){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+Pe(s.href)+'"]');if(o)return n.instance=o,$t(o),o;var c=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),$t(o),re(o,"style",c),Do(o,s.precedence,t),n.instance=o;case"stylesheet":c=Ls(s.href);var d=t.querySelector(Ya(c));if(d)return n.state.loading|=4,n.instance=d,$t(d),d;o=$y(s),(c=Ke.get(c))&&Ku(o,c),d=(t.ownerDocument||t).createElement("link"),$t(d);var v=d;return v._p=new Promise(function(x,M){v.onload=x,v.onerror=M}),re(d,"link",o),n.state.loading|=4,Do(d,s.precedence,t),n.instance=d;case"script":return d=_s(s.src),(c=t.querySelector(Ka(d)))?(n.instance=c,$t(c),c):(o=s,(c=Ke.get(d))&&(o=y({},s),Xu(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),$t(c),re(c,"link",o),t.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,Do(o,s.precedence,t));return n.instance}function Do(t,n,s){for(var o=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,v=0;v<o.length;v++){var x=o[v];if(x.dataset.precedence===n)d=x;else if(d!==c)break}
vendor: 13,386 bytes, line 9
9d?d.parentNode.insertBefore(t,d.nextSibling):(n=s.nodeType===9?s.head:s,n.insertBefore(t,n.firstChild))}function Ku(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function Xu(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var Oo=null;function eg(t,n,s){if(Oo===null){var o=new Map,c=Oo=new Map;c.set(s,o)}else c=Oo,o=c.get(s),o||(o=new Map,c.set(s,o));if(o.has(t))return o;for(o.set(t,null),s=s.getElementsByTagName(t),c=0;c<s.length;c++){var d=s[c];if(!(d[sa]||d[ce]||t==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var v=d.getAttribute(n)||"";v=t+v;var x=o.get(v);x?x.push(d):o.set(v,[d])}}return o}function ng(t,n,s){t=t.ownerDocument||t,t.head.insertBefore(s,n==="title"?t.querySelector("head > title"):null)}function NT(t,n,s){if(s===1||n.itemProp!=null)return!1;switch(t){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"?(t=n.disabled,typeof n.precedence=="string"&&t==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 ig(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Xa=null;function jT(){}function VT(t,n,s){if(Xa===null)throw Error(r(475));var o=Xa;if(n.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var c=Ls(s.href),d=t.querySelector(Ya(c));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(o.count++,o=No.bind(o),t.then(o,o)),n.state.loading|=4,n.instance=d,$t(d);return}d=t.ownerDocument||t,s=$y(s),(c=Ke.get(c))&&Ku(s,c),d=d.createElement("link"),$t(d);var v=d;v._p=new Promise(function(x,M){v.onload=x,v.onerror=M}),re(d,"link",s),n.instance=d}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(o.count++,n=No.bind(o),t.addEventListener("load",n),t.addEventListener("error",n))}}function LT(){if(Xa===null)throw Error(r(475));var t=Xa;return t.stylesheets&&t.count===0&&Fu(t,t.stylesheets),0<t.count?function(n){var s=setTimeout(function(){if(t.stylesheets&&Fu(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(s)}}:null}function No(){if(this.count--,this.count===0){if(this.stylesheets)Fu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var jo=null;function Fu(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,jo=new Map,n.forEach(_T,t),jo=null,No.call(t))}function _T(t,n){if(!(n.state.loading&4)){var s=jo.get(t);if(s)var o=s.get(null);else{s=new Map,jo.set(t,s);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var v=c[d];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(s.set(v.dataset.precedence,v),o=v)}o&&s.set(null,o)}c=n.instance,v=c.getAttribute("data-precedence"),d=s.get(v)||o,d===o&&s.set(null,c),s.set(v,c),this.count++,o=No.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),n.state.loading|=4}}var Fa={$$typeof:V,Provider:null,Consumer:null,_currentValue:K,_currentValue2:K,_threadCount:0};function zT(t,n,s,o,c,d,v,x){this.tag=1,this.containerInfo=t,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=Gl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gl(0),this.hiddenUpdates=Gl(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function sg(t,n,s,o,c,d,v,x,M,z,q,X){return t=new zT(t,n,s,v,x,M,z,X),n=1,d===!0&&(n|=24),d=Re(3,null,null,n),t.current=d,d.stateNode=t,n=Mc(),n.refCount++,t.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:s,cache:n},jc(d),t}function ag(t){return t?(t=ds,t):ds}function rg(t,n,s,o,c,d){c=ag(c),o.context===null?o.context=c:o.pendingContext=c,o=Wn(n),o.payload={element:s},d=d===void 0?null:d,d!==null&&(o.callback=d),s=In(t,o,n),s!==null&&(je(s,t,n),Ta(s,t,n))}function og(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<n?s:n}}function Qu(t,n){og(t,n),(t=t.alternate)&&og(t,n)}function lg(t){if(t.tag===13){var n=fs(t,67108864);n!==null&&je(n,t,67108864),Qu(t,67108864)}}var Vo=!0;function kT(t,n,s,o){var c=L.T;L.T=null;var d=F.p;try{F.p=2,Zu(t,n,s,o)}finally{F.p=d,L.T=c}}function PT(t,n,s,o){var c=L.T;L.T=null;var d=F.p;try{F.p=8,Zu(t,n,s,o)}finally{F.p=d,L.T=c}}function Zu(t,n,s,o){if(Vo){var c=Wu(o);if(c===null)zu(t,n,o,Lo,s),ug(t,o);else if(UT(c,t,n,s,o))o.stopPropagation();else if(ug(t,o),n&4&&-1<BT.indexOf(t)){for(;c!==null;){var d=$i(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var v=Ti(d.pendingLanes);if(v!==0){var x=d;for(x.pendingLanes|=2,x.entangledLanes|=2;v;){var M=1<<31-Ee(v);x.entanglements[1]|=M,v&=~M}mn(d),(Dt&6)===0&&(go=cn()+500,Ua(0))}}break;case 13:x=fs(d,2),x!==null&&je(x,d,2),bo(),Qu(d,2)}if(d=Wu(o),d===null&&zu(t,n,o,Lo,s),d===c)break;c=d}c!==null&&o.stopPropagation()}else zu(t,n,o,null,s)}}function Wu(t){return t=ec(t),Iu(t)}var Lo=null;function Iu(t){if(Lo=null,t=Ji(t),t!==null){var n=u(t);if(n===null)t=null;else{var s=n.tag;if(s===13){if(t=f(n),t!==null)return t;t=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return Lo=t,null}function cg(t){switch(t){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(Aw()){case Th:return 2;case Ah:return 8;case Er:case Ew:return 32;case Eh:return 268435456;default:return 32}default:return 32}}var Ju=!1,ui=null,fi=null,di=null,Qa=new Map,Za=new Map,hi=[],BT="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 ug(t,n){switch(t){case"focusin":case"focusout":ui=null;break;case"dragenter":case"dragleave":fi=null;break;case"mouseover":case"mouseout":di=null;break;case"pointerover":case"pointerout":Qa.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Za.delete(n.pointerId)}}function Wa(t,n,s,o,c,d){return t===null||t.nativeEvent!==d?(t={blockedOn:n,domEventName:s,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=$i(n),n!==null&&lg(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),t)}function UT(t,n,s,o,c){switch(n){case"focusin":return ui=Wa(ui,t,n,s,o,c),!0;case"dragenter":return fi=Wa(fi,t,n,s,o,c),!0;case"mouseover":return di=Wa(di,t,n,s,o,c),!0;case"pointerover":var d=c.pointerId;return Qa.set(d,Wa(Qa.get(d)||null,t,n,s,o,c)),!0;case"gotpointercapture":return d=c.pointerId,Za.set(d,Wa(Za.get(d)||null,t,n,s,o,c)),!0}return!1}function fg(t){var n=Ji(t.target);if(n!==null){var s=u(n);if(s!==null){if(n=s.tag,n===13){if(n=f(s),n!==null){t.blockedOn=n,Vw(t.priority,function(){if(s.tag===13){var o=Ne();o=Yl(o);var c=fs(s,o);c!==null&&je(c,s,o),Qu(s,o)}});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function _o(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var s=Wu(t.nativeEvent);if(s===null){s=t.nativeEvent;var o=new s.constructor(s.type,s);tc=o,s.target.dispatchEvent(o),tc=null}else return n=$i(s),n!==null&&lg(n),t.blockedOn=s,!1;n.shift()}return!0}function dg(t,n,s){_o(t)&&s.delete(n)}function HT(){Ju=!1,ui!==null&&_o(ui)&&(ui=null),fi!==null&&_o(fi)&&(fi=null),di!==null&&_o(di)&&(di=null),Qa.forEach(dg),Za.forEach(dg)}function zo(t,n){t.blockedOn===n&&(t.blockedOn=null,Ju||(Ju=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,HT)))}var ko=null;function hg(t){ko!==t&&(ko=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ko===t&&(ko=null);for(var n=0;n<t.length;n+=3){var s=t[n],o=t[n+1],c=t[n+2];if(typeof o!="function"){if(Iu(o||s)===null)continue;break}var d=$i(s);d!==null&&(t.splice(n,3),n-=3,Ic(d,{pending:!0,data:c,method:s.method,action:o},o,c))}}))}function Ia(t){function n(M){return zo(M,t)}ui!==null&&zo(ui,t),fi!==null&&zo(fi,t),di!==null&&zo(di,t),Qa.forEach(n),Za.forEach(n);for(var s=0;s<hi.length;s++){var o=hi[s];o.blockedOn===t&&(o.blockedOn=null)}for(;0<hi.length&&(s=hi[0],s.blockedOn===null);)fg(s),s.blockedOn===null&&hi.shift();if(s=(t.ownerDocument||t).$$reactFormReplay,s!=null)for(o=0;o<s.length;o+=3){var c=s[o],d=s[o+1],v=c[ye]||null;if(typeof d=="function")v||hg(s);else if(v){var x=null;if(d&&d.hasAttribute("formAction")){if(c=d,v=d[ye]||null)x=v.formAction;else if(Iu(c)!==null)continue}else x=v.action;typeof x=="function"?s[o+1]=x:(s.splice(o,3),o-=3),hg(s)}}}function $u(t){this._internalRoot=t}Po.prototype.render=$u.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(r(409));var s=n.current,o=Ne();rg(s,o,t,n,null,null)},Po.prototype.unmount=$u.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;rg(t.current,2,null,t,null,null),bo(),n[Ii]=null}};function Po(t){this._internalRoot=t}Po.prototype.unstable_scheduleHydration=function(t){if(t){var n=Oh();t={blockedOn:null,target:t,priority:n};for(var s=0;s<hi.length&&n!==0&&n<hi[s].priority;s++);hi.splice(s,0,t),s===0&&fg(t)}};var mg=i.version;if(mg!=="19.1.0")throw Error(r(527,mg,"19.1.0"));F.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=p(n),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var qT={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bo.isDisabled&&Bo.supportsFiber)try{ea=Bo.inject(qT),Ae=Bo}catch{}}return $a.createRoot=function(t,n){if(!l(t))throw Error(r(299));var s=!1,o="",c=Op,d=Np,v=jp,x=null;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(x=n.unstable_transitionCallbacks)),n=sg(t,1,!1,null,null,s,o,c,d,v,x,null),t[Ii]=n.current,_u(t),new $u(n)},$a.hydrateRoot=function(t,n,s){if(!l(t))throw Error(r(299));var o=!1,c="",d=Op,v=Np,x=jp,M=null,z=null;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(c=s.identifierPrefix),s.onUncaughtError!==void 0&&(d=s.onUncaughtError),s.onCaughtError!==void 0&&(v=s.onCaughtError),s.onRecoverableError!==void 0&&(x=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(M=s.unstable_transitionCallbacks),s.formState!==void 0&&(z=s.formState)),n=sg(t,1,!0,n,s??null,o,c,d,v,x,M,z),n.context=ag(null),s=n.current,o=Ne(),o=Yl(o),c=Wn(o),c.callback=null,In(s,c,o),s=o,n.current.lanes=s,ia(n,s),mn(n),t[Ii]=n.current,_u(t),new Po(n)},$a.version="19.1.0",$a}var Ag;function $T(){if(Ag)return ef.exports;Ag=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(i){console.error(i)}}
9return e(),ef.exports=JT(),ef.exports}var tA=$T();function eA(e,i){if(e instanceof RegExp)return{keys:!1,pattern:e};var a,r,l,u,f=[],h="",p=e.split("/");for(p[0]||p.shift();l=p.shift();)a=l[0],a==="*"?(f.push(a),h+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):a===":"?(r=l.indexOf("?",1),u=l.indexOf(".",1),f.push(l.substring(1,~r?r:~u?u:l.length)),h+=~r&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(h+=(~r?"?":"")+"\\"+l.substring(u))):h+="/"+l;return{keys:f,pattern:new RegExp("^"+h+(i?"(?=$|/)":"/?$"),"i")}}var E=Cl();const nA=KT(E),Td=YT({__proto__:null,default:nA},[E]);var of={exports:{}},lf={};var Eg;function iA(){if(Eg)return lf;Eg=1;var e=Cl();function i(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var a=typeof Object.is=="function"?Object.is:i,r=e.useState,l=e.useEffect,u=e.useLayoutEffect,f=e.useDebugValue;function h(g,b){var w=b(),A=r({inst:{value:w,getSnapshot:b}}),C=A[0].inst,R=A[1];return u(function(){C.value=w,C.getSnapshot=b,p(C)&&R({inst:C})},[g,w,b]),l(function(){return p(C)&&R({inst:C}),g(function(){p(C)&&R({inst:C})})},[g]),f(w),w}function p(g){var b=g.getSnapshot;g=g.value;try{var w=b();return!a(g,w)}catch{return!0}}function m(g,b){return b()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?m:h;return lf.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,lf}var Cg;function sA(){return Cg||(Cg=1,of.exports=iA()),of.exports}var aA=sA();const rA=Td.useInsertionEffect,oA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",lA=oA?E.useLayoutEffect:E.useEffect,cA=rA||lA,U0=e=>{const i=E.useRef([e,(...a)=>i[0](...a)]).current;return cA(()=>{i[0]=e}),i[1]},uA="popstate",Ad="pushState",Ed="replaceState",fA="hashchange",Rg=[uA,Ad,Ed,fA],dA=e=>{for(const i of Rg)addEventListener(i,e);return()=>{for(const i of Rg)removeEventListener(i,e)}},H0=(e,i)=>aA.useSyncExternalStore(dA,e,i),Mg=()=>location.search,hA=({ssrSearch:e}={})=>H0(Mg,e!=null?()=>e:Mg),Dg=()=>location.pathname,mA=({ssrPath:e}={})=>H0(Dg,e!=null?()=>e:Dg),pA=(e,{replace:i=!1,state:a=null}={})=>history[i?Ed:Ad](a,"",e),yA=(e={})=>[mA(e),pA],Og=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Og]>"u"){for(const e of[Ad,Ed]){const i=history[e];history[e]=function(){const a=i.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),a}}Object.defineProperty(window,Og,{value:!0})}const gA=(e,i)=>i.toLowerCase().indexOf(e.toLowerCase())?"~"+i:i.slice(e.length)||"/",q0=(e="")=>e==="/"?"":e,vA=(e,i)=>e[0]==="~"?e.slice(1):q0(i)+e,bA=(e="",i)=>gA(Ng(q0(e)),Ng(i)),Ng=e=>{try{return decodeURI(e)}catch{return e}},G0={hook:yA,searchHook:hA,parser:eA,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,i,a)=>e(i,a)},Y0=E.createContext(G0),gr=()=>E.useContext(Y0),K0={},X0=E.createContext(K0),xA=()=>E.useContext(X0),Rl=e=>{const[i,a]=e.hook(e);return[bA(e.base,i),U0((r,l)=>e.aroundNav(a,vA(r,e.base),l))]},wA=()=>Rl(gr()),F0=(e,i,a,r)=>{const{pattern:l,keys:u}=i instanceof RegExp?{keys:!1,pattern:i}:e(i||"*",r),f=l.exec(a)||[],[h,...p]=f;return h!==void 0?[!0,(()=>{const m=u!==!1?Object.fromEntries(u.map((g,b)=>[g,p[b]])):f.groups;let y={...p};return m&&Object.assign(y,m),y})(),...r?[h]:[]]:[!1,null]},Q0=({children:e,...i})=>{const a=gr(),r=i.hook?G0:a;let l=r;const[u,f=i.ssrSearch??""]=i.ssrPath?.split("?")??[];u&&(i.ssrSearch=f,i.ssrPath=u),i.hrefs=i.hrefs??i.hook?.hrefs,i.searchHook=i.searchHook??i.hook?.searchHook;let h=E.useRef({}),p=h.current,m=p;for(let y in r){const g=y==="base"?r[y]+(i[y]??""):i[y]??r[y];p===m&&g!==m[y]&&(h.current=m={...m}),m[y]=g,(g!==r[y]||g!==l[y])&&(l=m)}return E.createElement(Y0.Provider,{value:l,children:e})},jg=({children:e,component:i},a)=>i?E.createElement(i,{params:a}):typeof e=="function"?e(a):e,SA=e=>{let i=E.useRef(K0);const a=i.current;return i.current=Object.keys(e).length!==Object.keys(a).length||Object.entries(e).some(([r,l])=>l!==a[r])?e:a},cf=({path:e,nest:i,match:a,...r})=>{const l=gr(),[u]=Rl(l),[f,h,p]=a??F0(l.parser,e,u,i),m=SA({...xA(),...h});if(!f)return null;const y=p?E.createElement(Q0,{base:p},jg(r,m)):jg(r,m);return E.createElement(X0.Provider,{value:m,children:y})},Vg=E.forwardRef((e,i)=>{const a=gr(),[r,l]=Rl(a),{to:u="",href:f=u,onClick:h,asChild:p,children:m,className:y,replace:g,state:b,transition:w,...A}=e,C=U0(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(h?.(N),N.defaultPrevented||(N.preventDefault(),l(f,e)))}),R=a.hrefs(f[0]==="~"?f.slice(1):a.base+f,a);return p&&E.isValidElement(m)?E.cloneElement(m,{onClick:C,href:R}):E.createElement("a",{...A,onClick:C,href:R,className:y?.call?y(r===f):y,children:m,ref:i})}),Z0=e=>Array.isArray(e)?e.flatMap(i=>Z0(i&&i.type===E.Fragment?i.props.children:i)):[e],TA=({children:e,location:i})=>{const a=gr(),[r]=Rl(a);for(const l of Z0(e)){let u=0;if(E.isValidElement(l)&&(u=F0(a.parser,l.props.path,i||r,l.props.nest))[0])return E.cloneElement(l,{match:u})}return null};var Ml=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},AA=class extends Ml{#t;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const i=()=>e();return window.addEventListener("visibilitychange",i,!1),()=>
vendor: 23,143 bytes, line 9
9{window.removeEventListener("visibilitychange",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(i=>{i(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},W0=new AA,EA={setTimeout:(e,i)=>setTimeout(e,i),clearTimeout:e=>clearTimeout(e),setInterval:(e,i)=>setInterval(e,i),clearInterval:e=>clearInterval(e)},CA=class{#t=EA;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,i){return this.#t.setTimeout(e,i)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,i){return this.#t.setInterval(e,i)}clearInterval(e){this.#t.clearInterval(e)}},_f=new CA;function RA(e){setTimeout(e,0)}var MA=typeof window>"u"||"Deno"in globalThis;function tn(){}function DA(e,i){return typeof e=="function"?e(i):e}function OA(e){return typeof e=="number"&&e>=0&&e!==1/0}function NA(e,i){return Math.max(e+(i||0)-Date.now(),0)}function zf(e,i){return typeof e=="function"?e(i):e}function jA(e,i){return typeof e=="function"?e(i):e}function Lg(e,i){const{type:a="all",exact:r,fetchStatus:l,predicate:u,queryKey:f,stale:h}=e;if(f){if(r){if(i.queryHash!==Cd(f,i.options))return!1}else if(!dr(i.queryKey,f))return!1}if(a!=="all"){const p=i.isActive();if(a==="active"&&!p||a==="inactive"&&p)return!1}return!(typeof h=="boolean"&&i.isStale()!==h||l&&l!==i.state.fetchStatus||u&&!u(i))}function _g(e,i){const{exact:a,status:r,predicate:l,mutationKey:u}=e;if(u){if(!i.options.mutationKey)return!1;if(a){if(fr(i.options.mutationKey)!==fr(u))return!1}else if(!dr(i.options.mutationKey,u))return!1}return!(r&&i.state.status!==r||l&&!l(i))}function Cd(e,i){return(i?.queryKeyHashFn||fr)(e)}function fr(e){return JSON.stringify(e,(i,a)=>kf(a)?Object.keys(a).sort().reduce((r,l)=>(r[l]=a[l],r),{}):a)}function dr(e,i){return e===i?!0:typeof e!=typeof i?!1:e&&i&&typeof e=="object"&&typeof i=="object"?Object.keys(i).every(a=>dr(e[a],i[a])):!1}var VA=Object.prototype.hasOwnProperty;function I0(e,i,a=0){if(e===i)return e;if(a>500)return i;const r=zg(e)&&zg(i);if(!r&&!(kf(e)&&kf(i)))return i;const u=(r?e:Object.keys(e)).length,f=r?i:Object.keys(i),h=f.length,p=r?new Array(h):{};let m=0;for(let y=0;y<h;y++){const g=r?y:f[y],b=e[g],w=i[g];if(b===w){p[g]=b,(r?y<u:VA.call(e,g))&&m++;continue}if(b===null||w===null||typeof b!="object"||typeof w!="object"){p[g]=w;continue}const A=I0(b,w,a+1);p[g]=A,A===b&&m++}return u===h&&m===u?e:p}function zg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function kf(e){if(!kg(e))return!1;const i=e.constructor;if(i===void 0)return!0;const a=i.prototype;return!(!kg(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function kg(e){return Object.prototype.toString.call(e)==="[object Object]"}function LA(e){return new Promise(i=>{_f.setTimeout(i,e)})}function _A(e,i,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,i):a.structuralSharing!==!1?I0(e,i):i}function zA(e,i,a=0){const r=[...e,i];return a&&r.length>a?r.slice(1):r}function kA(e,i,a=0){const r=[i,...e];return a&&r.length>a?r.slice(0,-1):r}var Rd=Symbol();function J0(e,i){return!e.queryFn&&i?.initialPromise?()=>i.initialPromise:!e.queryFn||e.queryFn===Rd?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function PA(e,i,a){let r=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??=i(),r||(r=!0,l.aborted?a():l.addEventListener("abort",a,{once:!0})),l)}),e}var $0=(()=>{let e=()=>MA;return{isServer(){return e()},setIsServer(i){e=i}}})();function BA(){let e,i;const a=new Promise((l,u)=>{e=l,i=u});a.status="pending",a.catch(()=>{});function r(l){Object.assign(a,l),delete a.resolve,delete a.reject}return a.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},a.reject=l=>{r({status:"rejected",reason:l}),i(l)},a}var UA=RA;function HA(){let e=[],i=0,a=h=>{h()},r=h=>{h()},l=UA;const u=h=>{i?e.push(h):l(()=>{a(h)})},f=()=>{const h=e;e=[],h.length&&l(()=>{r(()=>{h.forEach(p=>{a(p)})})})};return{batch:h=>{let p;i++;try{p=h()}finally{i--,i||f()}return p},batchCalls:h=>(...p)=>{u(()=>{h(...p)})},schedule:u,setNotifyFunction:h=>{a=h},setBatchNotifyFunction:h=>{r=h},setScheduler:h=>{l=h}}}var he=HA(),qA=class extends Ml{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const i=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#t}},cl=new qA;function GA(e){return Math.min(1e3*2**e,3e4)}function tb(e){return(e??"online")==="online"?cl.isOnline():!0}var Pf=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function eb(e){let i=!1,a=0,r;const l=BA(),u=()=>l.status!=="pending",f=C=>{if(!u()){const R=new Pf(C);b(R),e.onCancel?.(R)}},h=()=>{i=!0},p=()=>{i=!1},m=()=>W0.isFocused()&&(e.networkMode==="always"||cl.isOnline())&&e.canRun(),y=()=>tb(e.networkMode)&&e.canRun(),g=C=>{u()||(r?.(),l.resolve(C))},b=C=>{u()||(r?.(),l.reject(C))},w=()=>new Promise(C=>{r=R=>{(u()||m())&&C(R)},e.onPause?.()}).then(()=>{r=void 0,u()||e.onContinue?.()}),A=()=>{if(u())return;let C;const R=a===0?e.initialPromise:void 0;try{C=R??e.fn()}catch(N){C=Promise.reject(N)}Promise.resolve(C).then(g).catch(N=>{if(u())return;const O=e.retry??($0.isServer()?0:3),V=e.retryDelay??GA,P=typeof V=="function"?V(a,N):V,U=O===!0||typeof O=="number"&&a<O||typeof O=="function"&&O(a,N);if(i||!U){b(N);return}a++,e.onFail?.(a,N),LA(P).then(()=>m()?void 0:w()).then(()=>{i?b(N):A()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(r?.(),l),cancelRetry:h,continueRetry:p,canStart:y,start:()=>(y()?A():w().then(A),l)}}var nb=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),OA(this.gcTime)&&(this.#t=_f.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??($0.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(_f.clearTimeout(this.#t),this.#t=void 0)}};function YA(e){return{onFetch:(i,a)=>{const r=i.options,l=i.fetchOptions?.meta?.fetchMore?.direction,u=i.state.data?.pages||[],f=i.state.data?.pageParams||[];let h={pages:[],pageParams:[]},p=0;const m=async()=>{let y=!1;const g=A=>{PA(A,()=>i.signal,()=>y=!0)},b=J0(i.options,i.fetchOptions),w=async(A,C,R)=>{if(y)return Promise.reject(i.signal.reason);if(C==null&&A.pages.length)return Promise.resolve(A);const O=(()=>{const Q={client:i.client,queryKey:i.queryKey,pageParam:C,direction:R?"backward":"forward",meta:i.options.meta};return g(Q),Q})(),V=await b(O),{maxPages:P}=i.options,U=R?kA:zA;return{pages:U(A.pages,V,P),pageParams:U(A.pageParams,C,P)}};if(l&&u.length){const A=l==="backward",C=A?KA:Pg,R={pages:u,pageParams:f},N=C(r,R);h=await w(R,N,A)}else{const A=e??u.length;do{const C=p===0?f[0]??r.initialPageParam:Pg(r,h);if(p>0&&C==null)break;h=await w(h,C),p++}while(p<A)}return h};i.options.persister?i.fetchFn=()=>i.options.persister?.(m,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},a):i.fetchFn=m}}}function Pg(e,{pages:i,pageParams:a}){const r=i.length-1;return i.length>0?e.getNextPageParam(i[r],i,a[r],a):void 0}function KA(e,{pages:i,pageParams:a}){return i.length>0?e.getPreviousPageParam?.(i[0],i,a[0],a):void 0}var XA=class extends nb{#t;#e;#n;#s;#a;#i;#l;#r;constructor(e){super(),this.#r=!1,this.#l=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#s=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Ug(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#l,...e},e?._type&&(this.#t=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Ug(this.options);i.data!==void 0&&(this.setState(Bg(i.data,i.dataUpdatedAt)),this.#e=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(e,i){const a=_A(this.state.data,e,this.options);return this.#o({data:a,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),a}setState(e){this.#o({type:"setState",state:e})}cancel(e){const i=this.#i?.promise;return this.#i?.cancel(e),i?i.then(tn).catch(tn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>jA(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Rd||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>zf(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!NA(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(i=>i.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(i=>i.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(i=>i!==e),this.observers.length||(this.#i&&(this.#r||this.#c()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,i){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const p=this.observers.find(m=>m.options.queryFn);p&&this.setOptions(p.options)}const a=new AbortController,r=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(this.#r=!0,a.signal)})},l=()=>{const p=J0(this.options,i),y=(()=>{const g={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(g),g})();return this.#r=!1,this.options.persister?this.options.persister(p,y,this):p(y)},f=(()=>{const p={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:l};return r(p),p})();(this.#t==="infinite"?YA(this.options.pages):this.options.behavior)?.onFetch(f,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#o({type:"fetch",meta:f.fetchOptions?.meta}),this.#i=eb({initialPromise:i?.initialPromise,fn:f.fetchFn,onCancel:p=>{p instanceof Pf&&p.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.abort()},onFail:(p,m)=>{this.#o({type:"failed",failureCount:p,error:m})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const p=await this.#i.start();if(p===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(p),this.#s.config.onSuccess?.(p,this),this.#s.config.onSettled?.(p,this.state.error,this),p}catch(p){if(p instanceof Pf){if(p.silent)return this.#i.promise;if(p.revert){if(this.state.data===void 0)throw p;return this.state.data}}throw this.#o({type:"error",error:p}),this.#s.config.onError?.(p,this),this.#s.config.onSettled?.(this.state.data,p,this),p}finally{this.scheduleGc()}}#o(e){const i=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...FA(a.data,this.options),fetchMeta:e.meta??null};case"success":const r={...a,...Bg(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const l=e.error;return{...a,error:l,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=i(this.state),he.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:e})})}};function FA(e,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tb(i.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Bg(e,i){return{data:e,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Ug(e){const i=typeof e.initialData=="function"?e.initialData():e.initialData,a=i!==void 0,r=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:a?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var QA=class extends nb{#t;#e;#n;#s;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||ZA(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(i=>i!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){const i=()=>{this.#a({type:"continue"})},a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=eb({fn:()=>this.options.mutationFn?this.options.mutationFn(e,a):Promise.reject(new Error("No mutationFn found")),onFail:(u,f)=>{this.#a({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:i,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.#s.canStart();try{if(r)i();else{this.#a({type:"pending",variables:e,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,a);const f=await this.options.onMutate?.(e,a);f!==this.state.context&&this.#a({type:"pending",context:f,variables:e,isPaused:l})}const u=await this.#s.start();return await this.#n.config.onSuccess?.(u,e,this.state.context,this,a),await this.options.onSuccess?.(u,e,this.state.context,a),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(u,null,e,this.state.context,a),this.#a({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,e,this.state.context,this,a)}catch(f){Promise.reject(f)}try{await this.options.onError?.(u,e,this.state.context,a)}catch(f){Promise.reject(f)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,a)}catch(f){Promise.reject(f)}try{await this.options.onSettled?.(void 0,u,e,this.state.context,a)}catch(f){Promise.reject(f)}throw this.#a({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#a(e){const i=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=i(this.state),he.batch(()=>{this.#e.forEach(a=>{a.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function ZA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var WA=class extends Ml{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,i,a){const r=new QA({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(i),state:a});return this.add(r),r}add(e){this.#t.add(e);const i=Uo(e);if(typeof i=="string"){const a=this.#e.get(i);a?a.push(e):this.#e.set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const i=Uo(e);if(typeof i=="string"){const a=this.#e.get(i);if(a)if(a.length>1){const r=a.indexOf(e);r!==-1&&a.splice(r,1)}else a[0]===e&&this.#e.delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=Uo(e);if(typeof i=="string"){const r=this.#e.get(i)?.find(l=>l.state.status==="pending");return!r||r===e}else return!0}runNext(e){const i=Uo(e);return typeof i=="string"?this.#e.get(i)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){he.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const i={exact:!0,...e};return this.getAll().find(a=>_g(i,a))}findAll(e={}){return this.getAll().filter(i=>_g(e,i))}notify(e){he.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return he.batch(()=>Promise.all(e.map(i=>i.continue().catch(tn))))}};function Uo(e){return e.options.scope?.id}var IA=class extends Ml{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,i,a){const r=i.queryKey,l=i.queryHash??Cd(r,i);let u=this.get(l);return u||(u=new XA({client:e,queryKey:r,queryHash:l,options:e.defaultQueryOptions(i),state:a,defaultOptions:e.getQueryDefaults(r)}),this.add(u)),u}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=this.#t.get(e.queryHash);i&&(e.destroy(),i===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){he.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const i={exact:!0,...e};return this.getAll().find(a=>Lg(i,a))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(a=>Lg(e,a)):i}notify(e){he.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){he.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){he.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},JA=class{#t;#e;#n;#s;#a;#i;#l;#r;constructor(e={}){this.#t=e.queryCache||new IA,this.#e=e.mutationCache||new WA,this.#n=e.defaultOptions||{},this.#s=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#l=W0.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#r=cl.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#l?.(),this.#l=void 0,this.#r?.(),this.#r=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const i=this.defaultQueryOptions({queryKey:e});return this.#t.get(i.queryHash)?.state.data}ensureQueryData(e){const i=this.defaultQueryOptions(e),a=this.#t.build(this,i),r=a.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(zf(i.staleTime,a))&&this.prefetchQuery(i),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:i,state:a})=>{const r=a.data;return[i,r]})}setQueryData(e,i,a){const r=this.defaultQueryOptions({queryKey:e}),u=this.#t.get(r.queryHash)?.state.data,f=DA(i,u);if(f!==void 0)return this.#t.build(this,r).setData(f,{...a,manual:!0})}setQueriesData(e,i,a){return he.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,i,a)]))}getQueryState(e){const i=this.defaultQueryOptions({queryKey:e});return this.#t.get(i.queryHash)?.state}removeQueries(e){const i=this.#t;he.batch(()=>{i.findAll(e).forEach(a=>{i.remove(a)})})}resetQueries(e,i){const a=this.#t;return he.batch(()=>(a.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},i)))}cancelQueries(e,i={}){const a={revert:!0,...i},r=he.batch(()=>this.#t.findAll(e).map(l=>l.cancel(a)));return Promise.all(r).then(tn).catch(tn)}invalidateQueries(e,i={}){return he.batch(()=>(this.#t.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},i)))}refetchQueries(e,i={}){const a={...i,cancelRefetch:i.cancelRefetch??!0},r=he.batch(()=>this.#t.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,a);return a.throwOnError||(u=u.catch(tn)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(tn)}fetchQuery(e){const i=this.defaultQueryOptions(e);i.retry===void 0&&(i.retry=!1);const a=this.#t.build(this,i);return a.isStaleByTime(zf(i.staleTime,a))?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(tn).catch(tn)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(tn).catch(tn)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return cl.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,i){this.#s.set(fr(e),{queryKey:e,defaultOptions:i})}getQueryDefaults(e){const i=[...this.#s.values()],a={};
9return i.forEach(r=>{dr(e,r.queryKey)&&Object.assign(a,r.defaultOptions)}),a}setMutationDefaults(e,i){this.#a.set(fr(e),{mutationKey:e,defaultOptions:i})}getMutationDefaults(e){const i=[...this.#a.values()],a={};return i.forEach(r=>{dr(e,r.mutationKey)&&Object.assign(a,r.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const i={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return i.queryHash||(i.queryHash=Cd(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===Rd&&(i.enabled=!1),i}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},$A=E.createContext(void 0),tE=({client:e,children:i})=>(E.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx($A.Provider,{value:e,children:i}));const eE=1,nE=1e6;let uf=0;function iE(){return uf=(uf+1)%Number.MAX_SAFE_INTEGER,uf.toString()}const ff=new Map,Hg=e=>{if(ff.has(e))return;const i=setTimeout(()=>{ff.delete(e),sr({type:"REMOVE_TOAST",toastId:e})},nE);ff.set(e,i)},sE=(e,i)=>{switch(i.type){case"ADD_TOAST":return{...e,toasts:[i.toast,...e.toasts].slice(0,eE)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===i.toast.id?{...a,...i.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=i;return a?Hg(a):e.toasts.forEach(r=>{Hg(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return i.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==i.toastId)}}},Jo=[];let $o={toasts:[]};function sr(e){$o=sE($o,e),Jo.forEach(i=>{i($o)})}function aE({...e}){const i=iE(),a=l=>sr({type:"UPDATE_TOAST",toast:{...l,id:i}}),r=()=>sr({type:"DISMISS_TOAST",toastId:i});return sr({type:"ADD_TOAST",toast:{...e,id:i,open:!0,onOpenChange:l=>{l||r()}}}),{id:i,dismiss:r,update:a}}function rE(){const[e,i]=E.useState($o);return E.useEffect(()=>(Jo.push(i),()=>{const a=Jo.indexOf(i);a>-1&&Jo.splice(a,1)}),[e]),{...e,toast:aE,dismiss:a=>sr({type:"DISMISS_TOAST",toastId:a})}}var Dl=B0();function Jt(e,i,{checkForDefaultPrevented:a=!0}={}){return function(l){if(e?.(l),a===!1||!l.defaultPrevented)return i?.(l)}}function qg(e,i){if(typeof e=="function")return e(i);e!=null&&(e.current=i)}function oE(...e){return i=>{let a=!1;const r=e.map(l=>{const u=qg(l,i);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():qg(e[l],null)}}}}function sn(...e){return E.useCallback(oE(...e),e)}function Ol(e,i=[]){let a=[];function r(u,f){const h=E.createContext(f);h.displayName=u+"Context";const p=a.length;a=[...a,f];const m=g=>{const{scope:b,children:w,...A}=g,C=b?.[e]?.[p]||h,R=E.useMemo(()=>A,Object.values(A));return S.jsx(C.Provider,{value:R,children:w})};m.displayName=u+"Provider";function y(g,b){const w=b?.[e]?.[p]||h,A=E.useContext(w);if(A)return A;if(f!==void 0)return f;throw new Error(`\`${g}\` must be used within \`${u}\``)}return[m,y]}const l=()=>{const u=a.map(f=>E.createContext(f));return function(h){const p=h?.[e]||u;return E.useMemo(()=>({[`__scope${e}`]:{...h,[e]:p}}),[h,p])}};return l.scopeName=e,[r,lE(l,...i)]}function lE(...e){const i=e[0];if(e.length===1)return i;const a=()=>{const r=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const f=r.reduce((h,{useScope:p,scopeName:m})=>{const g=p(u)[`__scope${m}`];return{...h,...g}},{});return E.useMemo(()=>({[`__scope${i.scopeName}`]:f}),[f])}};return a.scopeName=i.scopeName,a}function Bf(e){const i=E.forwardRef((a,r)=>{let{children:l,...u}=a,f=null,h=!1;const p=[];Gg(l)&&typeof Ho=="function"&&(l=Ho(l._payload)),E.Children.forEach(l,b=>{if(hE(b)){h=!0;const w=b;let A="child"in w.props?w.props.child:w.props.children;Gg(A)&&typeof Ho=="function"&&(A=Ho(A._payload)),f=uE(w,A),p.push(f?.props?.children)}else p.push(b)}),f?f=E.cloneElement(f,void 0,p):!h&&E.Children.count(l)===1&&E.isValidElement(l)&&(f=l);const m=f?dE(f):void 0,y=sn(r,m);if(!f){if(l||l===0)throw new Error(h?gE(e):yE(e));return l}const g=fE(u,f.props??{});return f.type!==E.Fragment&&(g.ref=r?y:m),E.cloneElement(f,g)});return i.displayName=`${e}.Slot`,i}var ib=Symbol.for("radix.slottable");function cE(e){const i=a=>"child"in a?a.children(a.child):a.children;return i.displayName=`${e}.Slottable`,i.__radixId=ib,i}var uE=(e,i)=>{if("child"in e.props){const a=e.props.child;return E.isValidElement(a)?E.cloneElement(a,void 0,e.props.children(a.props.children)):null}return E.isValidElement(i)?i:null};function fE(e,i){const a={...i};for(const r in i){const l=e[r],u=i[r];/^on[A-Z]/.test(r)?l&&u?a[r]=(...h)=>{const p=u(...h);return l(...h),p}:l&&(a[r]=l):r==="style"?a[r]={...l,...u}
9:r==="className"&&(a[r]=[l,u].filter(Boolean).join(" "))}return{...e,...a}}function dE(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function hE(e){return E.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ib}var mE=Symbol.for("react.lazy");function Gg(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===mE&&"_payload"in e&&pE(e._payload)}function pE(e){return typeof e=="object"&&e!==null&&"then"in e}var yE=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,gE=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Ho=Td[" use ".trim().toString()];function vE(e){const i=e+"CollectionProvider",[a,r]=Ol(i),[l,u]=a(i,{collectionRef:{current:null},itemMap:new Map}),f=C=>{const{scope:R,children:N}=C,O=E.useRef(null),V=E.useRef(new Map).current;return S.jsx(l,{scope:R,itemMap:V,collectionRef:O,children:N})};f.displayName=i;const h=e+"CollectionSlot",p=Bf(h),m=E.forwardRef((C,R)=>{const{scope:N,children:O}=C,V=u(h,N),P=sn(R,V.collectionRef);return S.jsx(p,{ref:P,children:O})});m.displayName=h;const y=e+"CollectionItemSlot",g="data-radix-collection-item",b=Bf(y),w=E.forwardRef((C,R)=>{const{scope:N,children:O,...V}=C,P=E.useRef(null),U=sn(R,P),Q=u(y,N);return E.useEffect(()=>(Q.itemMap.set(P,{ref:P,...V}),()=>{Q.itemMap.delete(P)})),S.jsx(b,{[g]:"",ref:U,children:O})});w.displayName=y;function A(C){const R=u(e+"CollectionConsumer",C);return E.useCallback(()=>{const O=R.collectionRef.current;if(!O)return[];const V=Array.from(O.querySelectorAll(`[${g}]`));return Array.from(R.itemMap.values()).sort((Q,Z)=>V.indexOf(Q.ref.current)-V.indexOf(Z.ref.current))},[R.collectionRef,R.itemMap])}return[{Provider:f,Slot:m,ItemSlot:w},A,r]}var bE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Se=bE.reduce((e,i)=>{const a=Bf(`Primitive.${i}`),r=E.forwardRef((l,u)=>{const{asChild:f,...h}=l,p=f?a:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(p,{...h,ref:u})});return r.displayName=`Primitive.${i}`,{...e,[i]:r}},{});function sb(e,i){e&&Dl.flushSync(()=>e.dispatchEvent(i))}function gi(e){const i=E.useRef(e);return E.useEffect(()=>{i.current=e}),E.useMemo(()=>((...a)=>i.current?.(...a)),[])}function xE(e,i=globalThis?.document){const a=gi(e);E.useEffect(()=>{const r=l=>{l.key==="Escape"&&a(l)};return i.addEventListener("keydown",r,{capture:!0}),()=>i.removeEventListener("keydown",r,{capture:!0})},[a,i])}var wE="DismissableLayer",Uf="dismissableLayer.update",SE="dismissableLayer.pointerDownOutside",TE="dismissableLayer.focusOutside",Yg,ab=E.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Md=E.forwardRef((e,i)=>{const{disableOutsidePointerEvents:a=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:p,...m}=e,y=E.useContext(ab),[g,b]=E.useState(null),w=g?.ownerDocument??globalThis?.document,[,A]=E.useState({}),C=sn(i,I=>b(I)),R=Array.from(y.layers),[N]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),O=R.indexOf(N),V=g?R.indexOf(g):-1,P=y.layersWithOutsidePointerEventsDisabled.size>0,U=V>=O,Q=E.useRef(!1),Z=EE(I=>{const W=I.target;if(!(W instanceof Node))return;const lt=[...y.branches].some(rt=>rt.contains(W));!U||lt||(u?.(I),h?.(I),I.defaultPrevented||p?.())},{ownerDocument:w,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:Q,dismissableSurfaces:y.dismissableSurfaces}),H=CE(I=>{if(r&&Q.current)return;const W=I.target;[...y.branches].some(rt=>rt.contains(W))||(f?.(I),h?.(I),I.defaultPrevented||p?.())},w);return xE(I=>{V===y.layers.size-1&&(l?.(I),!I.defaultPrevented&&p&&(I.preventDefault(),p()))},w),E.useEffect(()=>{if(g)return a&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(Yg=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(g)),y.layers.add(g),Kg(),()=>{a&&(y.layersWithOutsidePointerEventsDisabled.delete(g),y.layersWithOutsidePointerEventsDisabled.size===0&&(w.body.style.pointerEvents=Yg))}},[g,w,a,y]),E.useEffect(()=>()=>{g&&(y.layers.delete(g),y.layersWithOutsidePointerEventsDisabled.delete(g),Kg())},[g,y]),E.useEffect(()=>{const I=()=>A({});return document.addEventListener(Uf,I),()=>document.removeEventListener(Uf,I)},[]),S.jsx(Se.div,{...m,ref:C,style:{pointerEvents:P?U?"auto":"none":void 0,...e.style},onFocusCapture:Jt(e.onFocusCapture,H.onFocusCapture),onBlurCapture:Jt(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:Jt(e.onPointerDownCapture,Z.onPointerDownCapture)})});Md.displayName=wE;var AE="DismissableLayerBranch",rb=E.forwardRef((e,i)=>{const a=E.useContext(ab),r=E.useRef(null),l=sn(i,r);return E.useEffect(()=>{const u=r.current;if(u)return a.branches.add(u),()=>{a.branches.delete(u)}},[a.branches]),S.jsx(Se.div,{...e,ref:l})});rb.displayName=AE;function EE(e,i){const{ownerDocument:a=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:l,dismissableSurfaces:u}=i,f=gi(e),h=E.useRef(!1),p=E.useRef(!1),m=E.useRef(new Map),y=E.useRef(()=>{});return E.useEffect(()=>{function g(){p.current=!1,l.current=!1,m.current.clear()}function b(){return Array.from(m.current.values()).some(Boolean)}function w(O){if(!p.current)return;const V=O.target;V instanceof Node&&[...u].some(U=>U.contains(V))||m.current.set(O.type,!0),O.type==="click"&&window.setTimeout(()=>{p.current&&y.current()},0)}function A(O){p.current&&m.current.set(O.type,!1)}const C=O=>{if(O.target&&!h.current){let V=function(){a.removeEventListener("click",y.current);const U=b();g(),U||ob(SE,f,P,{discrete:!0})};const P={originalEvent:O};p.current=!0,l.current=r&&O.button===0,m.current.clear(),!r||O.button!==0?V():(a.removeEventListener("click",y.current),y.current=V,a.addEventListener("click",y.current,{once:!0}))}else a.removeEventListener("click",y.current),g();h.current=!1},R=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const O of R)a.addEventListener(O,w,!0),a.addEventListener(O,A);const N=window.setTimeout(()=>{a.addEventListener("pointerdown",C)},0);return()=>{window.clearTimeout(N),a.removeEventListener("pointerdown",C),a.removeEventListener("click",y.current);for(const O of R)a.removeEventListener(O,w,!0),a.removeEventListener(O,A)}},[a,f,r,l,u]),{onPointerDownCapture:()=>h.current=!0}}function CE(e,i=globalThis?.document){const a=gi(e),r=E.useRef(!1);return E.useEffect(()=>{const l=u=>{u.target&&!r.current&&ob(TE,a,{originalEvent:u},{discrete:!1})};return i.addEventListener("focusin",l),()=>i.removeEventListener("focusin",l)},[i,a]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Kg(){const e=new CustomEvent(Uf);document.dispatchEvent(e)}function ob(e,i,a,{discrete:r}){const l=a.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});i&&l.addEventListener(e,i,{once:!0}),r?sb(l,u):l.dispatchEvent(u)}var RE=Md,ME=rb,Un=globalThis?.document?E.useLayoutEffect:()=>{},DE="Portal",Dd=E.forwardRef((e,i)=>{const{container:a,...r}=e,[l,u]=E.useState(!1);Un(()=>u(!0),[]);const f=a||l&&globalThis?.document?.body;return f?Dl.createPortal(S.jsx(Se.div,{...r,ref:i}),f):null});Dd.displayName=DE;function OE(e,i){return E.useReducer((a,r)=>i[a][r]??a,e)}var Nl=e=>{const{present:i,children:a}=e,r=NE(i),l=typeof a=="function"?a({present:r.isPresent}):E.Children.only(a),u=jE(r.ref,VE(l));return typeof a=="function"||r.isPresent?E.cloneElement(l,{ref:u}):null};
9Nl.displayName="Presence";function NE(e){const[i,a]=E.useState(),r=E.useRef(null),l=E.useRef(e),u=E.useRef("none"),f=e?"mounted":"unmounted",[h,p]=OE(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E.useEffect(()=>{const m=qo(r.current);u.current=h==="mounted"?m:"none"},[h]),Un(()=>{const m=r.current,y=l.current;if(y!==e){const b=u.current,w=qo(m);e?p("MOUNT"):w==="none"||m?.display==="none"?p("UNMOUNT"):p(y&&b!==w?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,p]),Un(()=>{if(i){let m;const y=i.ownerDocument.defaultView??window,g=w=>{const C=qo(r.current).includes(CSS.escape(w.animationName));if(w.target===i&&C&&(p("ANIMATION_END"),!l.current)){const R=i.style.animationFillMode;i.style.animationFillMode="forwards",m=y.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=R)})}},b=w=>{w.target===i&&(u.current=qo(r.current))};return i.addEventListener("animationstart",b),i.addEventListener("animationcancel",g),i.addEventListener("animationend",g),()=>{y.clearTimeout(m),i.removeEventListener("animationstart",b),i.removeEventListener("animationcancel",g),i.removeEventListener("animationend",g)}}else p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:E.useCallback(m=>{r.current=m?getComputedStyle(m):null,a(m)},[])}}function Xg(e,i){if(typeof e=="function")return e(i);e!=null&&(e.current=i)}function jE(...e){const i=E.useRef(e);return i.current=e,E.useCallback(a=>{const r=i.current;let l=!1;const u=r.map(f=>{const h=Xg(f,a);return!l&&typeof h=="function"&&(l=!0),h});if(l)return()=>{for(let f=0;f<u.length;f++){const h=u[f];typeof h=="function"?h():Xg(r[f],null)}}},[])}function qo(e){return e?.animationName||"none"}function VE(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var LE=Td[" useInsertionEffect ".trim().toString()]||Un;function _E({prop:e,defaultProp:i,onChange:a=()=>{},caller:r}){const[l,u,f]=zE({defaultProp:i,onChange:a}),h=e!==void 0,p=h?e:l;{const y=E.useRef(e!==void 0);E.useEffect(()=>{const g=y.current;g!==h&&console.warn(`${r} is changing from ${g?"controlled":"uncontrolled"} to ${h?"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.`),y.current=h},[h,r])}const m=E.useCallback(y=>{if(h){const g=kE(y)?y(e):y;g!==e&&f.current?.(g)}else u(y)},[h,e,u,f]);return[p,m]}function zE({defaultProp:e,onChange:i}){const[a,r]=E.useState(e),l=E.useRef(a),u=E.useRef(i);return LE(()=>{u.current=i},[i]),E.useEffect(()=>{l.current!==a&&(u.current?.(a),l.current=a)},[a,l]),[a,r,u]}function kE(e){return typeof e=="function"}var PE=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"}),BE="VisuallyHidden",jl=E.forwardRef((e,i)=>S.jsx(Se.span,{...e,ref:i,style:{...PE,...e.style}}));jl.displayName=BE;var UE=jl,Od="ToastProvider",[Nd,HE,qE]=vE("Toast"),[lb]=Ol("Toast",[qE]),[GE,Vl]=lb(Od),cb=e=>{const{__scopeToast:i,label:a="Notification",duration:r=5e3,swipeDirection:l="right",swipeThreshold:u=50,announcerContainer:f,children:h}=e,[p,m]=E.useState(null),[y,g]=E.useState(0),b=E.useRef(!1),w=E.useRef(!1);return a.trim()||console.error(`Invalid prop \`label\` supplied to \`${Od}\`. Expected non-empty \`string\`.`),S.jsx(Nd.Provider,{scope:i,children:S.jsx(GE,{scope:i,label:a,duration:r,swipeDirection:l,swipeThreshold:u,toastCount:y,viewport:p,onViewportChange:m,onToastAdd:E.useCallback(()=>g(A=>A+1),[]),onToastRemove:E.useCallback(()=>g(A=>A-1),[]),isFocusedToastEscapeKeyDownRef:b,isClosePausedRef:w,announcerContainer:f,children:h})})};cb.displayName=Od;var ub="ToastViewport",YE=["F8"],Hf="toast.viewportPause",qf="toast.viewportResume",fb=E.forwardRef((e,i)=>{const{__scopeToast:a,hotkey:r=YE,label:l="Notifications ({hotkey})",...u}=e,f=Vl(ub,a),h=HE(a),p=E.useRef(null),m=E.useRef(null),y=E.useRef(null),g=E.useRef(null),b=sn(i,g,f.onViewportChange),w=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=f.toastCount>0;E.useEffect(()=>{const R=N=>{r.length!==0&&r.every(V=>N[V]||N.code===V)&&g.current?.focus()};return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[r]),E.useEffect(()=>{const R=p.current,N=g.current;if(A&&R&&N){const O=()=>{if(!f.isClosePausedRef.current){const Q=new CustomEvent(Hf);N.dispatchEvent(Q),f.isClosePausedRef.current=!0}},V=()=>
9{if(f.isClosePausedRef.current){const Q=new CustomEvent(qf);N.dispatchEvent(Q),f.isClosePausedRef.current=!1}},P=Q=>{!R.contains(Q.relatedTarget)&&V()},U=()=>{R.contains(document.activeElement)||V()};return R.addEventListener("focusin",O),R.addEventListener("focusout",P),R.addEventListener("pointermove",O),R.addEventListener("pointerleave",U),window.addEventListener("blur",O),window.addEventListener("focus",V),()=>{R.removeEventListener("focusin",O),R.removeEventListener("focusout",P),R.removeEventListener("pointermove",O),R.removeEventListener("pointerleave",U),window.removeEventListener("blur",O),window.removeEventListener("focus",V)}}},[A,f.isClosePausedRef]);const C=E.useCallback(({tabbingDirection:R})=>{const O=h().map(V=>{const P=V.ref.current,U=[P,...i2(P)];return R==="forwards"?U:U.reverse()});return(R==="forwards"?O.reverse():O).flat()},[h]);return E.useEffect(()=>{const R=g.current;if(R){const N=O=>{const V=O.altKey||O.ctrlKey||O.metaKey;if(O.key==="Tab"&&!V){const U=document.activeElement,Q=O.shiftKey;if(O.target===R&&Q){m.current?.focus();return}const I=C({tabbingDirection:Q?"backwards":"forwards"}),W=I.findIndex(lt=>lt===U);df(I.slice(W+1))?O.preventDefault():Q?m.current?.focus():y.current?.focus()}};return R.addEventListener("keydown",N),()=>R.removeEventListener("keydown",N)}},[h,C]),S.jsxs(ME,{ref:p,role:"region","aria-label":l.replace("{hotkey}",w),tabIndex:-1,style:{pointerEvents:A?void 0:"none"},children:[A&&S.jsx(Gf,{ref:m,onFocusFromOutsideViewport:()=>{const R=C({tabbingDirection:"forwards"});df(R)}}),S.jsx(Nd.Slot,{scope:a,children:S.jsx(Se.ol,{tabIndex:-1,...u,ref:b})}),A&&S.jsx(Gf,{ref:y,onFocusFromOutsideViewport:()=>{const R=C({tabbingDirection:"backwards"});df(R)}})]})});fb.displayName=ub;var db="ToastFocusProxy",Gf=E.forwardRef((e,i)=>{const{__scopeToast:a,onFocusFromOutsideViewport:r,...l}=e,u=Vl(db,a);return S.jsx(jl,{tabIndex:0,...l,ref:i,style:{position:"fixed"},onFocus:f=>{const h=f.relatedTarget;!u.viewport?.contains(h)&&r()}})});Gf.displayName=db;var vr="Toast",KE="toast.swipeStart",XE="toast.swipeMove",FE="toast.swipeCancel",QE="toast.swipeEnd",hb=E.forwardRef((e,i)=>{const{forceMount:a,open:r,defaultOpen:l,onOpenChange:u,...f}=e,[h,p]=_E({prop:r,defaultProp:l??!0,onChange:u,caller:vr});return S.jsx(Nl,{present:a||h,children:S.jsx(IE,{open:h,...f,ref:i,onClose:()=>p(!1),onPause:gi(e.onPause),onResume:gi(e.onResume),onSwipeStart:Jt(e.onSwipeStart,m=>{m.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Jt(e.onSwipeMove,m=>{const{x:y,y:g}=m.detail.delta;m.currentTarget.setAttribute("data-swipe","move"),m.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),m.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${g}px`)}),onSwipeCancel:Jt(e.onSwipeCancel,m=>{m.currentTarget.setAttribute("data-swipe","cancel"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),m.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Jt(e.onSwipeEnd,m=>{const{x:y,y:g}=m.detail.delta;m.currentTarget.setAttribute("data-swipe","end"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),m.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),m.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${g}px`),p(!1)})})})});hb.displayName=vr;var[ZE,WE]=lb(vr,{onClose(){}}),IE=E.forwardRef((e,i)=>{const{__scopeToast:a,type:r="foreground",duration:l,open:u,onClose:f,onEscapeKeyDown:h,onPause:p,onResume:m,onSwipeStart:y,onSwipeMove:g,onSwipeCancel:b,onSwipeEnd:w,...A}=e,C=Vl(vr,a),[R,N]=E.useState(null),O=sn(i,tt=>N(tt)),V=E.useRef(null),P=E.useRef(null),U=l||C.duration,Q=E.useRef(0),Z=E.useRef(U),H=E.useRef(0),{onToastAdd:I,onToastRemove:W}=C,lt=gi(()=>{R?.contains(document.activeElement)&&C.viewport?.focus(),f()}),rt=E.useCallback(tt=>{!tt||tt===1/0||(window.clearTimeout(H.current),Q.current=new Date().getTime(),H.current=window.setTimeout(lt,tt))},[lt]);E.useEffect(()=>{const tt=C.viewport;if(tt){const ut=()=>{rt(Z.current),m?.()},L=()=>{const F=new Date().getTime()-Q.current;Z.current=Z.current-F,window.clearTimeout(H.current),p?.()};return tt.addEventListener(Hf,L),tt.addEventListener(qf,ut),()=>{tt.removeEventListener(Hf,L),tt.removeEventListener(qf,ut)}}},[C.viewport,U,p,m,rt]),E.useEffect(()=>{u&&!C.isClosePausedRef.current&&rt(U)},[u,U,C.isClosePausedRef,rt]),E.useEffect(()=>(I(),()=>W()),[I,W]);const yt=E.useMemo(()=>R?xb(R):null,[R]);
9return C.viewport?S.jsxs(S.Fragment,{children:[yt&&S.jsx(JE,{__scopeToast:a,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:yt}),S.jsx(ZE,{scope:a,onClose:lt,children:Dl.createPortal(S.jsx(Nd.ItemSlot,{scope:a,children:S.jsx(RE,{asChild:!0,onEscapeKeyDown:Jt(h,()=>{C.isFocusedToastEscapeKeyDownRef.current||lt(),C.isFocusedToastEscapeKeyDownRef.current=!1}),children:S.jsx(Se.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":C.swipeDirection,...A,ref:O,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Jt(e.onKeyDown,tt=>{tt.key==="Escape"&&(h?.(tt.nativeEvent),tt.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,lt()))}),onPointerDown:Jt(e.onPointerDown,tt=>{tt.button===0&&(V.current={x:tt.clientX,y:tt.clientY})}),onPointerMove:Jt(e.onPointerMove,tt=>{if(!V.current)return;const ut=tt.clientX-V.current.x,L=tt.clientY-V.current.y,F=!!P.current,K=["left","right"].includes(C.swipeDirection),et=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,T=K?et(0,ut):0,G=K?0:et(0,L),$=tt.pointerType==="touch"?10:2,J={x:T,y:G},ct={originalEvent:tt,delta:J};F?(P.current=J,Go(XE,g,ct,{discrete:!1})):Fg(J,C.swipeDirection,$)?(P.current=J,Go(KE,y,ct,{discrete:!1}),tt.target.setPointerCapture(tt.pointerId)):(Math.abs(ut)>$||Math.abs(L)>$)&&(V.current=null)}),onPointerUp:Jt(e.onPointerUp,tt=>{const ut=P.current,L=tt.target;if(L.hasPointerCapture(tt.pointerId)&&L.releasePointerCapture(tt.pointerId),P.current=null,V.current=null,ut){const F=tt.currentTarget,K={originalEvent:tt,delta:ut};Fg(ut,C.swipeDirection,C.swipeThreshold)?Go(QE,w,K,{discrete:!0}):Go(FE,b,K,{discrete:!0}),F.addEventListener("click",et=>et.preventDefault(),{once:!0})}})})})}),C.viewport)})]}):null}),JE=e=>{const{__scopeToast:i,children:a,...r}=e,l=Vl(vr,i),[u,f]=E.useState(!1),[h,p]=E.useState(!1);return e2(()=>f(!0)),E.useEffect(()=>{const m=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(m)},[]),h?null:S.jsx(Dd,{asChild:!0,container:l.announcerContainer||void 0,children:S.jsx(jl,{...r,children:u&&S.jsxs(S.Fragment,{children:[l.label," ",a]})})})},$E="ToastTitle",mb=E.forwardRef((e,i)=>{const{__scopeToast:a,...r}=e;return S.jsx(Se.div,{...r,ref:i})});mb.displayName=$E;var t2="ToastDescription",pb=E.forwardRef((e,i)=>{const{__scopeToast:a,...r}=e;return S.jsx(Se.div,{...r,ref:i})});pb.displayName=t2;var yb="ToastAction",gb=E.forwardRef((e,i)=>{const{altText:a,...r}=e;return a.trim()?S.jsx(bb,{altText:a,asChild:!0,children:S.jsx(jd,{...r,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${yb}\`. Expected non-empty \`string\`.`),null)});gb.displayName=yb;var vb="ToastClose",jd=E.forwardRef((e,i)=>{const{__scopeToast:a,...r}=e,l=WE(vb,a);return S.jsx(bb,{asChild:!0,children:S.jsx(Se.button,{type:"button",...r,ref:i,onClick:Jt(e.onClick,l.onClose)})})});jd.displayName=vb;var bb=E.forwardRef((e,i)=>{const{__scopeToast:a,altText:r,...l}=e;return S.jsx(Se.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...l,ref:i})});function xb(e){const i=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&i.push(r.textContent),n2(r)){const l=r.ariaHidden||r.hidden||r.style.display==="none",u=r.dataset.radixToastAnnounceExclude==="";if(!l)if(u){const f=r.dataset.radixToastAnnounceAlt;f&&i.push(f)}else i.push(...xb(r))}}),i}function Go(e,i,a,{discrete:r}){const l=a.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:a});i&&l.addEventListener(e,i,{once:!0}),r?sb(l,u):l.dispatchEvent(u)}var Fg=(e,i,a=0)=>{const r=Math.abs(e.x),l=Math.abs(e.y),u=r>l;return i==="left"||i==="right"?u&&r>a:!u&&l>a};function e2(e=()=>{}){const i=gi(e);Un(()=>{let a=0,r=0;return a=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(a),window.cancelAnimationFrame(r)}},[i])}function n2(e){return e.nodeType===e.ELEMENT_NODE}function i2(e){const i=[],a=document.createTreeWalker(e,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(;a.nextNode();)i.push(a.currentNode);return i}function df(e){const i=document.activeElement;return e.some(a=>a===i?!0:(a.focus(),document.activeElement!==i))}
vendor: 4,371 bytes, line 9
9var s2=cb,wb=fb,Sb=hb,Tb=mb,Ab=pb,Eb=gb,Cb=jd;function Rb(e){var i,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(i=0;i<l;i++)e[i]&&(a=Rb(e[i]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function Mb(){for(var e,i,a=0,r="",l=arguments.length;a<l;a++)(e=arguments[a])&&(i=Rb(e))&&(r&&(r+=" "),r+=i);return r}const Qg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Zg=Mb,a2=(e,i)=>a=>{var r;if(i?.variants==null)return Zg(e,a?.class,a?.className);const{variants:l,defaultVariants:u}=i,f=Object.keys(l).map(m=>{const y=a?.[m],g=u?.[m];if(y===null)return null;const b=Qg(y)||Qg(g);return l[m][b]}),h=a&&Object.entries(a).reduce((m,y)=>{let[g,b]=y;return b===void 0||(m[g]=b),m},{}),p=i==null||(r=i.compoundVariants)===null||r===void 0?void 0:r.reduce((m,y)=>{let{class:g,className:b,...w}=y;return Object.entries(w).every(A=>{let[C,R]=A;return Array.isArray(R)?R.includes({...u,...h}[C]):{...u,...h}[C]===R})?[...m,g,b]:m},[]);return Zg(e,f,p,a?.class,a?.className)};const r2=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o2=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,a,r)=>r?r.toUpperCase():a.toLowerCase()),Wg=e=>{const i=o2(e);return i.charAt(0).toUpperCase()+i.slice(1)},Db=(...e)=>e.filter((i,a,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===a).join(" ").trim(),l2=e=>{for(const i in e)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};var c2={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 u2=E.forwardRef(({color:e="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:f,...h},p)=>E.createElement("svg",{ref:p,...c2,width:i,height:i,stroke:e,strokeWidth:r?Number(a)*24/Number(i):a,className:Db("lucide",l),...!u&&!l2(h)&&{"aria-hidden":"true"},...h},[...f.map(([m,y])=>E.createElement(m,y)),...Array.isArray(u)?u:[u]]));const Zs=(e,i)=>{const a=E.forwardRef(({className:r,...l},u)=>E.createElement(u2,{ref:u,iconNode:i,className:Db(`lucide-${r2(Wg(e))}`,`lucide-${e}`,r),...l}));return a.displayName=Wg(e),a};const f2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ar=Zs("arrow-right",f2);const d2=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ob=Zs("chevron-left",d2);const h2=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Nb=Zs("chevron-right",h2);const m2=[["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"}]],p2=Zs("circle-alert",m2);const y2=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],g2=Zs("play",y2);const v2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],jb=Zs("x",v2),b2=(e,i)=>{const a=new Array(e.length+i.length);for(let r=0;r<e.length;r++)a[r]=e[r];for(let r=0;r<i.length;r++)a[e.length+r]=i[r];return a},x2=(e,i)=>({classGroupId:e,validator:i}),Vb=(e=new Map,i=null,a)=>({nextPart:e,validators:i,classGroupId:a}),ul="-",Ig=[],w2="arbitrary..",S2=e=>{const i=A2(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return T2(f);const h=f.split(ul),p=h[0]===""&&h.length>1?1:0;return Lb(h,p,i)},getConflictingClassGroupIds:(f,h)=>{if(h){const p=r[f],m=a[f];return p?m?b2(m,p):p:m||Ig}return a[f]||Ig}}},Lb=(e,i,a)=>{if(e.length-i===0)return a.classGroupId;const l=e[i],u=a.nextPart.get(l);if(u){const m=Lb(e,i+1,u);if(m)return m}const f=a.validators;if(f===null)return;const h=i===0?e.join(ul):e.slice(i).join(ul),p=f.length;for(let m=0;m<p;m++){const y=f[m];if(y.validator(h))return y.classGroupId}},T2=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=e.slice(1,-1),a=i.indexOf(":"),r=i.slice(0,a);return r?w2+r:void 0})(),A2=e=>{const{theme:i,classGroups:a}=e;return E2(a,i)},E2=(e,i)=>{const a=Vb();for(const r in e){const l=e[r];Vd(l,a,r,i)}return a},Vd=(e,i,a,r)=>{const l=e.length;for(let u=0;u<l;u++){const f=e[u];C2(f,i,a,r)}},C2=(e,i,a,r)=>{if(typeof e=="string"){R2(e,i,a);return}if(typeof e=="function"){M2(e,i,a,r);return}D2(e,i,a,r)},R2=(e,i,a)=>{const r=e===""?i:_b(i,e);r.classGroupId=a},M2=(e,i,a,r)=>{if(O2(e)){Vd(e(r),i,a,r);return}
vendor: 4,143 bytes, line 9
9i.validators===null&&(i.validators=[]),i.validators.push(x2(a,e))},D2=(e,i,a,r)=>{const l=Object.entries(e),u=l.length;for(let f=0;f<u;f++){const[h,p]=l[f];Vd(p,_b(i,h),a,r)}},_b=(e,i)=>{let a=e;const r=i.split(ul),l=r.length;for(let u=0;u<l;u++){const f=r[u];let h=a.nextPart.get(f);h||(h=Vb(),a.nextPart.set(f,h)),a=h}return a},O2=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,N2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let i=0,a=Object.create(null),r=Object.create(null);const l=(u,f)=>{a[u]=f,i++,i>e&&(i=0,r=a,a=Object.create(null))};return{get(u){let f=a[u];if(f!==void 0)return f;if((f=r[u])!==void 0)return l(u,f),f},set(u,f){u in a?a[u]=f:l(u,f)}}},Yf="!",Jg=":",j2=[],$g=(e,i,a,r,l)=>({modifiers:e,hasImportantModifier:i,baseClassName:a,maybePostfixModifierPosition:r,isExternal:l}),V2=e=>{const{prefix:i,experimentalParseClassName:a}=e;let r=l=>{const u=[];let f=0,h=0,p=0,m;const y=l.length;for(let C=0;C<y;C++){const R=l[C];if(f===0&&h===0){if(R===Jg){u.push(l.slice(p,C)),p=C+1;continue}if(R==="/"){m=C;continue}}R==="["?f++:R==="]"?f--:R==="("?h++:R===")"&&h--}const g=u.length===0?l:l.slice(p);let b=g,w=!1;g.endsWith(Yf)?(b=g.slice(0,-1),w=!0):g.startsWith(Yf)&&(b=g.slice(1),w=!0);const A=m&&m>p?m-p:void 0;return $g(u,w,b,A)};if(i){const l=i+Jg,u=r;r=f=>f.startsWith(l)?u(f.slice(l.length)):$g(j2,!1,f,void 0,!0)}if(a){const l=r;r=u=>a({className:u,parseClassName:l})}return r},L2=e=>{const i=new Map;return e.orderSensitiveModifiers.forEach((a,r)=>{i.set(a,1e6+r)}),a=>{const r=[];let l=[];for(let u=0;u<a.length;u++){const f=a[u],h=f[0]==="[",p=i.has(f);h||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}},_2=e=>({cache:N2(e.cacheSize),parseClassName:V2(e),sortModifiers:L2(e),postfixLookupClassGroupIds:z2(e),...S2(e)}),z2=e=>{const i=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let r=0;r<a.length;r++)i[a[r]]=!0;return i},k2=/\s+/,P2=(e,i)=>{const{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:u,postfixLookupClassGroupIds:f}=i,h=[],p=e.trim().split(k2);let m="";for(let y=p.length-1;y>=0;y-=1){const g=p[y],{isExternal:b,modifiers:w,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:R}=a(g);if(b){m=g+(m.length>0?" "+m:m);continue}let N=!!R,O;if(N){const Z=C.substring(0,R);O=r(Z);const H=O&&f[O]?r(C):void 0;H&&H!==O&&(O=H,N=!1)}else O=r(C);if(!O){if(!N){m=g+(m.length>0?" "+m:m);continue}if(O=r(C),!O){m=g+(m.length>0?" "+m:m);continue}N=!1}const V=w.length===0?"":w.length===1?w[0]:u(w).join(":"),P=A?V+Yf:V,U=P+O;if(h.indexOf(U)>-1)continue;h.push(U);const Q=l(O,N);for(let Z=0;Z<Q.length;++Z){const H=Q[Z];h.push(P+H)}m=g+(m.length>0?" "+m:m)}return m},B2=(...e)=>{let i=0,a,r,l="";for(;i<e.length;)(a=e[i++])&&(r=zb(a))&&(l&&(l+=" "),l+=r);return l},zb=e=>{if(typeof e=="string")return e;let i,a="";for(let r=0;r<e.length;r++)e[r]&&(i=zb(e[r]))&&(a&&(a+=" "),a+=i);return a},U2=(e,...i)=>{let a,r,l,u;const f=p=>{const m=i.reduce((y,g)=>g(y),e());return a=_2(m),r=a.cache.get,l=a.cache.set,u=h,h(p)},h=p=>{const m=r(p);if(m)return m;const y=P2(p,a);return l(p,y),y};return u=f,(...p)=>u(B2(...p))},H2=[],Wt=e=>{const i=a=>a[e]||H2;return i.isThemeGetter=!0,i},kb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,q2=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,G2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Y2=/\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$/,K2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,X2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,F2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pi=e=>q2.test(e),bt=e=>!!e&&!Number.isNaN(Number(e)),pn=e=>!!e&&Number.isInteger(Number(e)),hf=e=>e.endsWith("%")&&bt(e.slice(0,-1)),Pn=e=>G2.test(e),Bb=()=>!0,Q2=e=>Y2.test(e)&&!K2.test(e),Ld=()=>!1,Z2=e=>X2.test(e),W2=e=>F2.test(e),I2=e=>!nt(e)&&!it(e),J2=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),$2
vendor: 9,394 bytes, line 9
9=e=>wi(e,qb,Ld),nt=e=>kb.test(e),Hi=e=>wi(e,Gb,Q2),tv=e=>wi(e,oC,bt),tC=e=>wi(e,Kb,Bb),eC=e=>wi(e,Yb,Ld),ev=e=>wi(e,Ub,Ld),nC=e=>wi(e,Hb,W2),Yo=e=>wi(e,Xb,Z2),it=e=>Pb.test(e),tr=e=>Wi(e,Gb),iC=e=>Wi(e,Yb),nv=e=>Wi(e,Ub),sC=e=>Wi(e,qb),aC=e=>Wi(e,Hb),Ko=e=>Wi(e,Xb,!0),rC=e=>Wi(e,Kb,!0),wi=(e,i,a)=>{const r=kb.exec(e);return r?r[1]?i(r[1]):a(r[2]):!1},Wi=(e,i,a=!1)=>{const r=Pb.exec(e);return r?r[1]?i(r[1]):a:!1},Ub=e=>e==="position"||e==="percentage",Hb=e=>e==="image"||e==="url",qb=e=>e==="length"||e==="size"||e==="bg-size",Gb=e=>e==="length",oC=e=>e==="number",Yb=e=>e==="family-name",Kb=e=>e==="number"||e==="weight",Xb=e=>e==="shadow",lC=()=>{const e=Wt("color"),i=Wt("font"),a=Wt("text"),r=Wt("font-weight"),l=Wt("tracking"),u=Wt("leading"),f=Wt("breakpoint"),h=Wt("container"),p=Wt("spacing"),m=Wt("radius"),y=Wt("shadow"),g=Wt("inset-shadow"),b=Wt("text-shadow"),w=Wt("drop-shadow"),A=Wt("blur"),C=Wt("perspective"),R=Wt("aspect"),N=Wt("ease"),O=Wt("animate"),V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...P(),it,nt],Q=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto","contain","none"],H=()=>[it,nt,p],I=()=>[pi,"full","auto",...H()],W=()=>[pn,"none","subgrid",it,nt],lt=()=>["auto",{span:["full",pn,it,nt]},pn,it,nt],rt=()=>[pn,"auto",it,nt],yt=()=>["auto","min","max","fr",it,nt],tt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ut=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...H()],F=()=>[pi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...H()],K=()=>[pi,"screen","full","dvw","lvw","svw","min","max","fit",...H()],et=()=>[pi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...H()],T=()=>[e,it,nt],G=()=>[...P(),nv,ev,{position:[it,nt]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",sC,$2,{size:[it,nt]}],ct=()=>[hf,tr,Hi],ht=()=>["","none","full",m,it,nt],ot=()=>["",bt,tr,Hi],Yt=()=>["solid","dashed","dotted","double"],At=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Mt=()=>[bt,hf,nv,ev],Yn=()=>["","none",A,it,nt],Qe=()=>["none",bt,it,nt],ln=()=>["none",bt,it,nt],Sn=()=>[bt,it,nt],Te=()=>[pi,"full",...H()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Pn],breakpoint:[Pn],color:[Bb],container:[Pn],"drop-shadow":[Pn],ease:["in","out","in-out"],font:[I2],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Pn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Pn],shadow:[Pn],spacing:["px",bt],text:[Pn],"text-shadow":[Pn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",pi,nt,it,R]}],container:["container"],"container-type":[{"@container":["","normal","size",it,nt]}],"container-named":[J2],columns:[{columns:[bt,nt,it,h]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:Q()}],"overflow-x":[{"overflow-x":Q()}],"overflow-y":[{"overflow-y":Q()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[pn,"auto",it,nt]}],basis:[{basis:[pi,"full","auto",h,...H()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,pi,"auto","initial","none",nt]}],grow:[{grow:["",bt,it,nt]}],shrink:[{shrink:["",bt,it,nt]}],order:[{order:[pn,"first","last","none",it,nt]}],"grid-cols":[{"grid-cols":W()}],"col-start-end":[{col:lt()}],"col-start":[{"col-start":rt()}],"col-end":[{"col-end":rt()}],"grid-rows":[{"grid-rows":W()}],"row-start-end":[{row:lt()}],"row-start":[{"row-start":rt()}],"row-end":[{"row-end":rt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":yt()}],"auto-rows":[{"auto-rows":yt()}],gap:[{gap:H()}],"gap-x":[{"gap-x":H()}],"gap-y":[{"gap-y":H()}],"justify-content":[{justify:[...tt(),"normal"]}],"justify-items":[{"justify-items":[...ut(),"normal"]}],"justify-self":[{"justify-self":["auto",...ut()]}],"align-content":[{content:["normal",...tt()]}],"align-items":[{items:[...ut(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ut(),{baseline:["","last"]}]}],"place-content":[{"place-content":tt()}],"place-items":[{"place-items":[...ut(),"baseline"]}],"place-self":[{"place-self":["auto",...ut()]}],p:[{p:H()}],px:[{px:H()}],py:[{py:H()}],ps:[{ps:H()}],pe:[{pe:H()}],pbs:[{pbs:H()}],pbe:[{pbe:H()}],pt:[{pt:H()}],pr:[{pr:H()}],pb:[{pb:H()}],pl:[{pl:H()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":H()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":H()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...K()]}],"min-inline-size":[{"min-inline":["auto",...K()]}],"max-inline-size":[{"max-inline":["none",...K()]}],"block-size":[{block:["auto",...et()]}],"min-block-size":[{"min-block":["auto",...et()]}],"max-block-size":[{"max-block":["none",...et()]}],w:[{w:[h,"screen",...F()]}],"min-w":[{"min-w":[h,"screen","none",...F()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[f]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",a,tr,Hi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,rC,tC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",hf,nt]}],"font-family":[{font:[iC,eC,i]}],"font-features":[{"font-features":[nt]}],"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,it,nt]}],"line-clamp":[{"line-clamp":[bt,"none",it,tv]}],leading:[{leading:[u,...H()]}],"list-image":[{"list-image":["none",it,nt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",it,nt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Yt(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",it,Hi]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[bt,"auto",it,nt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:H()}],"tab-size":[{tab:[pn,it,nt]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",it,nt]}],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",it,nt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pn,it,nt],radial:["",it,nt],conic:[pn,it,nt]},aC,nC]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:ct()}
vendor: 7,427 bytes, line 9
9],"gradient-via-pos":[{via:ct()}],"gradient-to-pos":[{to:ct()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:ht()}],"rounded-s":[{"rounded-s":ht()}],"rounded-e":[{"rounded-e":ht()}],"rounded-t":[{"rounded-t":ht()}],"rounded-r":[{"rounded-r":ht()}],"rounded-b":[{"rounded-b":ht()}],"rounded-l":[{"rounded-l":ht()}],"rounded-ss":[{"rounded-ss":ht()}],"rounded-se":[{"rounded-se":ht()}],"rounded-ee":[{"rounded-ee":ht()}],"rounded-es":[{"rounded-es":ht()}],"rounded-tl":[{"rounded-tl":ht()}],"rounded-tr":[{"rounded-tr":ht()}],"rounded-br":[{"rounded-br":ht()}],"rounded-bl":[{"rounded-bl":ht()}],"border-w":[{border:ot()}],"border-w-x":[{"border-x":ot()}],"border-w-y":[{"border-y":ot()}],"border-w-s":[{"border-s":ot()}],"border-w-e":[{"border-e":ot()}],"border-w-bs":[{"border-bs":ot()}],"border-w-be":[{"border-be":ot()}],"border-w-t":[{"border-t":ot()}],"border-w-r":[{"border-r":ot()}],"border-w-b":[{"border-b":ot()}],"border-w-l":[{"border-l":ot()}],"divide-x":[{"divide-x":ot()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ot()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Yt(),"hidden","none"]}],"divide-style":[{divide:[...Yt(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...Yt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,it,nt]}],"outline-w":[{outline:["",bt,tr,Hi]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",y,Ko,Yo]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",g,Ko,Yo]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:ot()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[bt,Hi]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":ot()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",b,Ko,Yo]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[bt,it,nt]}],"mix-blend":[{"mix-blend":[...At(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":At()}],"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":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":Mt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Mt()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":Mt()}],"mask-image-t-to-pos":[{"mask-t-to":Mt()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":Mt()}],"mask-image-r-to-pos":[{"mask-r-to":Mt()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":Mt()}],"mask-image-b-to-pos":[{"mask-b-to":Mt()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":Mt()}],"mask-image-l-to-pos":[{"mask-l-to":Mt()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":Mt()}],"mask-image-x-to-pos":[{"mask-x-to":Mt()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":Mt()}],"mask-image-y-to-pos":[{"mask-y-to":Mt()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[it,nt]}],"mask-image-radial-from-pos":[{"mask-radial-from":Mt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Mt()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":P()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":Mt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Mt()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",it,nt]}],filter:[{filter:["","none",it,nt]}],blur:[{blur:Yn()}],brightness:[{brightness:[bt,it,nt]}],contrast:[{contrast:[bt,it,nt]}],"drop-shadow":[{"drop-shadow":["","none",w,Ko,Yo]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",bt,it,nt]}],"hue-rotate":[{"hue-rotate":[bt,it,nt]}],invert:[{invert:["",bt,it,nt]}],saturate:[{saturate:[bt,it,nt]}],sepia:[{sepia:["",bt,it,nt]}],"backdrop-filter":[{"backdrop-filter":["","none",it,nt]}],"backdrop-blur":[{"backdrop-blur":Yn()}],"backdrop-brightness":[{"backdrop-brightness":[bt,it,nt]}],"backdrop-contrast":[{"backdrop-contrast":[bt,it,nt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,it,nt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,it,nt]}],"backdrop-invert":[{"backdrop-invert":["",bt,it,nt]}],"backdrop-opacity":[{"backdrop-opacity":[bt,it,nt]}],"backdrop-saturate":[{"backdrop-saturate":[bt,it,nt]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,it,nt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":H()}],"border-spacing-x":[{"border-spacing-x":H()}],"border-spacing-y":[{"border-spacing-y":H()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",it,nt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",it,nt]}],ease:[{ease:["linear","initial",N,it,nt]}],delay:[{delay:[bt,it,nt]}],animate:[{animate:["none",O,it,nt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,it,nt]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:Qe()}],"rotate-x":[{"rotate-x":Qe()}],"rotate-y":[{"rotate-y":Qe()}],"rotate-z":[{"rotate-z":Qe()}],scale:[{scale:ln()}],"scale-x":[{"scale-x":ln()}],"scale-y":[{"scale-y":ln()}],"scale-z":[{"scale-z":ln()}],"scale-3d":["scale-3d"],skew:[{skew:Sn()}],"skew-x":[{"skew-x":Sn()}],"skew-y":[{"skew-y":Sn()}],transform:[{transform:[it,nt,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Te()}],"translate-x":[{"translate-x":Te()}],"translate-y":[{"translate-y":Te()}],"translate-z":[{"translate-z":Te()}],"translate-none":["translate-none"],zoom:[{zoom:[pn,it,nt]}],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}
9],"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",it,nt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":T()}],"scrollbar-track-color":[{"scrollbar-track":T()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mbs":[{"scroll-mbs":H()}],"scroll-mbe":[{"scroll-mbe":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pbs":[{"scroll-pbs":H()}],"scroll-pbe":[{"scroll-pbe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"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",it,nt]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[bt,tr,Hi,tv]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},cC=U2(lC);function ze(...e){return cC(Mb(e))}const uC=s2,Fb=E.forwardRef(({className:e,...i},a)=>S.jsx(wb,{ref:a,className:ze("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]",e),...i}));Fb.displayName=wb.displayName;const fC=a2("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"}}),Qb=E.forwardRef(({className:e,variant:i,...a},r)=>S.jsx(Sb,{ref:r,className:ze(fC({variant:i}),e),...a}));Qb.displayName=Sb.displayName;const dC=E.forwardRef(({className:e,...i},a)=>S.jsx(Eb,{ref:a,className:ze("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",e),...i}));dC.displayName=Eb.displayName;const Zb=E.forwardRef(({className:e,...i},a)=>S.jsx(Cb,{ref:a,className:ze("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 4,012 bytes, line 9
9/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",e),"toast-close":"",...i,children:S.jsx(jb,{className:"h-4 w-4"})}));Zb.displayName=Cb.displayName;const Wb=E.forwardRef(({className:e,...i},a)=>S.jsx(Tb,{ref:a,className:ze("text-sm font-semibold",e),...i}));Wb.displayName=Tb.displayName;const Ib=E.forwardRef(({className:e,...i},a)=>S.jsx(Ab,{ref:a,className:ze("text-sm opacity-90",e),...i}));Ib.displayName=Ab.displayName;function hC(){const{toasts:e}=rE();return S.jsxs(uC,{children:[e.map(function({id:i,title:a,description:r,action:l,...u}){return S.jsxs(Qb,{...u,children:[S.jsxs("div",{className:"grid gap-1",children:[a&&S.jsx(Wb,{children:a}),r&&S.jsx(Ib,{children:r})]}),l,S.jsx(Zb,{})]},i)}),S.jsx(Fb,{})]})}const mC=["top","right","bottom","left"],vi=Math.min,Ve=Math.max,fl=Math.round,Xo=Math.floor,bn=e=>({x:e,y:e}),pC={left:"right",right:"left",bottom:"top",top:"bottom"};function Kf(e,i,a){return Ve(e,vi(i,a))}function Hn(e,i){return typeof e=="function"?e(i):e}function qn(e){return e.split("-")[0]}function Ws(e){return e.split("-")[1]}function _d(e){return e==="x"?"y":"x"}function zd(e){return e==="y"?"height":"width"}function vn(e){const i=e[0];return i==="t"||i==="b"?"y":"x"}function kd(e){return _d(vn(e))}function yC(e,i,a){a===void 0&&(a=!1);const r=Ws(e),l=kd(e),u=zd(l);let f=l==="x"?r===(a?"end":"start")?"right":"left":r==="start"?"bottom":"top";return i.reference[u]>i.floating[u]&&(f=dl(f)),[f,dl(f)]}function gC(e){const i=dl(e);return[Xf(e),i,Xf(i)]}function Xf(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const iv=["left","right"],sv=["right","left"],vC=["top","bottom"],bC=["bottom","top"];function xC(e,i,a){switch(e){case"top":case"bottom":return a?i?sv:iv:i?iv:sv;case"left":case"right":return i?vC:bC;default:return[]}}function wC(e,i,a,r){const l=Ws(e);let u=xC(qn(e),a==="start",r);return l&&(u=u.map(f=>f+"-"+l),i&&(u=u.concat(u.map(Xf)))),u}function dl(e){const i=qn(e);return pC[i]+e.slice(i.length)}function SC(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jb(e){return typeof e!="number"?SC(e):{top:e,right:e,bottom:e,left:e}}function hl(e){const{x:i,y:a,width:r,height:l}=e;return{width:r,height:l,top:a,left:i,right:i+r,bottom:a+l,x:i,y:a}}function av(e,i,a){let{reference:r,floating:l}=e;const u=vn(i),f=kd(i),h=zd(f),p=qn(i),m=u==="y",y=r.x+r.width/2-l.width/2,g=r.y+r.height/2-l.height/2,b=r[h]/2-l[h]/2;let w;switch(p){case"top":w={x:y,y:r.y-l.height};break;case"bottom":w={x:y,y:r.y+r.height};break;case"right":w={x:r.x+r.width,y:g};break;case"left":w={x:r.x-l.width,y:g};break;default:w={x:r.x,y:r.y}}switch(Ws(i)){case"start":w[f]-=b*(a&&m?-1:1);break;case"end":w[f]+=b*(a&&m?-1:1);break}return w}async function TC(e,i){var a;i===void 0&&(i={});const{x:r,y:l,platform:u,rects:f,elements:h,strategy:p}=e,{boundary:m="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:b=!1,padding:w=0}=Hn(i,e),A=Jb(w),R=h[b?g==="floating"?"reference":"floating":g],N=hl(await u.getClippingRect({element:(a=await(u.isElement==null?void 0:u.isElement(R)))==null||a?R:R.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(h.floating)),boundary:m,rootBoundary:y,strategy:p})),O=g==="floating"?{x:r,y:l,width:f.floating.width,height:f.floating.height}:f.reference,V=await(u.getOffsetParent==null?void 0:u.getOffsetParent(h.floating)),P=await(u.isElement==null?void 0:u.isElement(V))?await(u.getScale==null?void 0:u.getScale(V))||{x:1,y:1}:{x:1,y:1},U=hl(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:O,offsetParent:V,strategy:p}):O);return{top:(N.top-U.top+A.top)/P.y,bottom:(U.bottom-N.bottom+A.bottom)/P.y,left:(N.left-U.left+A.left)/P.x,r
vendor: 4,104 bytes, line 9
9ight:(U.right-N.right+A.right)/P.x}}const AC=50,EC=async(e,i,a)=>{const{placement:r="bottom",strategy:l="absolute",middleware:u=[],platform:f}=a,h=f.detectOverflow?f:{...f,detectOverflow:TC},p=await(f.isRTL==null?void 0:f.isRTL(i));let m=await f.getElementRects({reference:e,floating:i,strategy:l}),{x:y,y:g}=av(m,r,p),b=r,w=0;const A={};for(let C=0;C<u.length;C++){const R=u[C];if(!R)continue;const{name:N,fn:O}=R,{x:V,y:P,data:U,reset:Q}=await O({x:y,y:g,initialPlacement:r,placement:b,strategy:l,middlewareData:A,rects:m,platform:h,elements:{reference:e,floating:i}});y=V??y,g=P??g,A[N]={...A[N],...U},Q&&w<AC&&(w++,typeof Q=="object"&&(Q.placement&&(b=Q.placement),Q.rects&&(m=Q.rects===!0?await f.getElementRects({reference:e,floating:i,strategy:l}):Q.rects),{x:y,y:g}=av(m,b,p)),C=-1)}return{x:y,y:g,placement:b,strategy:l,middlewareData:A}},CC=e=>({name:"arrow",options:e,async fn(i){const{x:a,y:r,placement:l,rects:u,platform:f,elements:h,middlewareData:p}=i,{element:m,padding:y=0}=Hn(e,i)||{};if(m==null)return{};const g=Jb(y),b={x:a,y:r},w=kd(l),A=zd(w),C=await f.getDimensions(m),R=w==="y",N=R?"top":"left",O=R?"bottom":"right",V=R?"clientHeight":"clientWidth",P=u.reference[A]+u.reference[w]-b[w]-u.floating[A],U=b[w]-u.reference[w],Q=await(f.getOffsetParent==null?void 0:f.getOffsetParent(m));let Z=Q?Q[V]:0;(!Z||!await(f.isElement==null?void 0:f.isElement(Q)))&&(Z=h.floating[V]||u.floating[A]);const H=P/2-U/2,I=Z/2-C[A]/2-1,W=vi(g[N],I),lt=vi(g[O],I),rt=W,yt=Z-C[A]-lt,tt=Z/2-C[A]/2+H,ut=Kf(rt,tt,yt),L=!p.arrow&&Ws(l)!=null&&tt!==ut&&u.reference[A]/2-(tt<rt?W:lt)-C[A]/2<0,F=L?tt<rt?tt-rt:tt-yt:0;return{[w]:b[w]+F,data:{[w]:ut,centerOffset:tt-ut-F,...L&&{alignmentOffset:F}},reset:L}}}),RC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(i){var a,r;const{placement:l,middlewareData:u,rects:f,initialPlacement:h,platform:p,elements:m}=i,{mainAxis:y=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:C=!0,...R}=Hn(e,i);if((a=u.arrow)!=null&&a.alignmentOffset)return{};const N=qn(l),O=vn(h),V=qn(h)===h,P=await(p.isRTL==null?void 0:p.isRTL(m.floating)),U=b||(V||!C?[dl(h)]:gC(h)),Q=A!=="none";!b&&Q&&U.push(...wC(h,C,A,P));const Z=[h,...U],H=await p.detectOverflow(i,R),I=[];let W=((r=u.flip)==null?void 0:r.overflows)||[];if(y&&I.push(H[N]),g){const tt=yC(l,f,P);I.push(H[tt[0]],H[tt[1]])}if(W=[...W,{placement:l,overflows:I}],!I.every(tt=>tt<=0)){var lt,rt;const tt=(((lt=u.flip)==null?void 0:lt.index)||0)+1,ut=Z[tt];if(ut&&(!(g==="alignment"?O!==vn(ut):!1)||W.every(K=>vn(K.placement)===O?K.overflows[0]>0:!0)))return{data:{index:tt,overflows:W},reset:{placement:ut}};let L=(rt=W.filter(F=>F.overflows[0]<=0).sort((F,K)=>F.overflows[1]-K.overflows[1])[0])==null?void 0:rt.placement;if(!L)switch(w){case"bestFit":{var yt;const F=(yt=W.filter(K=>{if(Q){const et=vn(K.placement);return et===O||et==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(et=>et>0).reduce((et,T)=>et+T,0)]).sort((K,et)=>K[1]-et[1])[0])==null?void 0:yt[0];F&&(L=F);break}case"initialPlacement":L=h;break}if(l!==L)return{reset:{placement:L}}}return{}}}};function rv(e,i){return{top:e.top-i.height,right:e.right-i.width,bottom:e.bottom-i.height,left:e.left-i.width}}function ov(e){return mC.some(i=>e[i]>=0)}const MC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(i){const{rects:a,platform:r}=i,{strategy:l="referenceHidden",...u}=Hn(e,i);switch(l){case"referenceHidden":{const f=await r.detectOverflow(i,{...u,elementContext:"reference"}),h=rv(f,a.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:ov(h)}}}case"escaped":{const f=await r.detectOverflow(i,{...u,altBoundary:!0}),h=rv(f,a.floating);return{data:{escapedOffsets:h,escaped:ov(h)}}}default:return{}}}}},$b=new Set(["left","top"]);async function DC(e,i){const{placement:a,platform:r,elements:l}=e,u=await(r.isRTL==null?void 0:r.isRTL(l.floating)),f=qn(a),h=Ws(a),p=vn(a)==="y",m=$b.has(f)?-1:1,y=u&&p?-1:1,g=Hn(i,e);let{mainAxis:b,crossAxis:w,alignmentAxis:A}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}
9:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return h&&typeof A=="number"&&(w=h==="end"?A*-1:A),p?{x:w*y,y:b*m}:{x:b*m,y:w*y}}const OC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(i){var a,r;const{x:l,y:u,placement:f,middlewareData:h}=i,p=await DC(i,e);return f===((a=h.offset)==null?void 0:a.placement)&&(r=h.arrow)!=null&&r.alignmentOffset?{}:{x:l+p.x,y:u+p.y,data:{...p,placement:f}}}}},NC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(i){const{x:a,y:r,placement:l,platform:u}=i,{mainAxis:f=!0,crossAxis:h=!1,limiter:p={fn:N=>{let{x:O,y:V}=N;return{x:O,y:V}}},...m}=Hn(e,i),y={x:a,y:r},g=await u.detectOverflow(i,m),b=vn(qn(l)),w=_d(b);let A=y[w],C=y[b];if(f){const N=w==="y"?"top":"left",O=w==="y"?"bottom":"right",V=A+g[N],P=A-g[O];A=Kf(V,A,P)}if(h){const N=b==="y"?"top":"left",O=b==="y"?"bottom":"right",V=C+g[N],P=C-g[O];C=Kf(V,C,P)}const R=p.fn({...i,[w]:A,[b]:C});return{...R,data:{x:R.x-a,y:R.y-r,enabled:{[w]:f,[b]:h}}}}}},jC=function(e){return e===void 0&&(e={}),{options:e,fn(i){const{x:a,y:r,placement:l,rects:u,middlewareData:f}=i,{offset:h=0,mainAxis:p=!0,crossAxis:m=!0}=Hn(e,i),y={x:a,y:r},g=vn(l),b=_d(g);let w=y[b],A=y[g];const C=Hn(h,i),R=typeof C=="number"?{mainAxis:C,crossAxis:0}:{mainAxis:0,crossAxis:0,...C};if(p){const V=b==="y"?"height":"width",P=u.reference[b]-u.floating[V]+R.mainAxis,U=u.reference[b]+u.reference[V]-R.mainAxis;w<P?w=P:w>U&&(w=U)}if(m){var N,O;const V=b==="y"?"width":"height",P=$b.has(qn(l)),U=u.reference[g]-u.floating[V]+(P&&((N=f.offset)==null?void 0:N[g])||0)+(P?0:R.crossAxis),Q=u.reference[g]+u.reference[V]+(P?0:((O=f.offset)==null?void 0:O[g])||0)-(P?R.crossAxis:0);A<U?A=U:A>Q&&(A=Q)}return{[b]:w,[g]:A}}}},VC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(i){var a,r;const{placement:l,rects:u,platform:f,elements:h}=i,{apply:p=()=>{},...m}=Hn(e,i),y=await f.detectOverflow(i,m),g=qn(l),b=Ws(l),w=vn(l)==="y",{width:A,height:C}=u.floating;let R,N;g==="top"||g==="bottom"?(R=g,N=b===(await(f.isRTL==null?void 0:f.isRTL(h.floating))?"start":"end")?"left":"right"):(N=g,R=b==="end"?"top":"bottom");const O=C-y.top-y.bottom,V=A-y.left-y.right,P=vi(C-y[R],O),U=vi(A-y[N],V),Q=!i.middlewareData.shift;let Z=P,H=U;if((a=i.middlewareData.shift)!=null&&a.enabled.x&&(H=V),(r=i.middlewareData.shift)!=null&&r.enabled.y&&(Z=O),Q&&!b){const W=Ve(y.left,0),lt=Ve(y.right,0),rt=Ve(y.top,0),yt=Ve(y.bottom,0);w?H=A-2*(W!==0||lt!==0?W+lt:Ve(y.left,y.right)):Z=C-2*(rt!==0||yt!==0?rt+yt:Ve(y.top,y.bottom))}await p({...i,availableWidth:H,availableHeight:Z});const I=await f.getDimensions(h.floating);return A!==I.width||C!==I.height?{reset:{rects:!0}}:{}}}};function Ll(){return typeof window<"u"}function Is(e){return tx(e)?(e.nodeName||"").toLowerCase():"#document"}function Le(e){var i;return(e==null||(i=e.ownerDocument)==null?void 0:i.defaultView)||window}function wn(e){var i;return(i=(tx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:i.documentElement}function tx(e){return Ll()?e instanceof Node||e instanceof Le(e).Node:!1}function an(e){return Ll()?e instanceof Element||e instanceof Le(e).Element:!1}function Gn(e){return Ll()?e instanceof HTMLElement||e instanceof Le(e).HTMLElement:!1}function lv(e){return!Ll()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Le(e).ShadowRoot}function br(e){const{overflow:i,overflowX:a,overflowY:r,display:l}=rn(e);return/auto|scroll|overlay|hidden|clip/.test(i+r+a)&&l!=="inline"&&l!=="contents"}function LC(e){return/^(table|td|th)$/.test(Is(e))}function _l(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const _C=/transform|translate|scale|rotate|perspective|filter/,zC=/paint|layout|strict|content/,qi=e=>!!e&&e!=="none";let mf;function Pd(e){const i=an(e)?rn(e):e;return qi(i.transform)||qi(i.translate)||qi(i.scale)||qi(i.rotate)||qi(i.perspective)||!Bd()&&(qi(i.backdropFilter)||qi(i.filter))||_C.test(i.willChange||"")||zC.test(i.contain||"")}function kC(e){let i=bi(e);for(;Gn(i)&&!Gs(i);){if(Pd(i))return i;if(_l(i))return null;i=bi(i)}return null}function Bd(){return mf==null&&(mf=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),mf}function Gs(e){return/^(html|body|#document)$/.test(Is(e))}function rn(e){return Le(e).getComputedStyle(e)}function zl(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bi(e){if(Is(e)==="html")return e;const i=e.assignedSlot||e.parentNode||lv(e)&&e.host||wn(e);return lv(i)?i.host:i}function ex(e){const i=bi(e);return Gs(i)?e.ownerDocument?e.ownerDocument.body:e.body:Gn(i)&&br(i)?i:ex(i)}function hr(e,i,a){var r;i===void 0&&(i=[]),a===void 0&&(a=!0);const l=ex(e),u=l===((r=e.ownerDocument)==null?void 0:r.body),f=Le(l);if(u){const h=Ff(f);
vendor: 4,304 bytes, line 9
9return i.concat(f,f.visualViewport||[],br(l)?l:[],h&&a?hr(h):[])}else return i.concat(l,hr(l,[],a))}function Ff(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nx(e){const i=rn(e);let a=parseFloat(i.width)||0,r=parseFloat(i.height)||0;const l=Gn(e),u=l?e.offsetWidth:a,f=l?e.offsetHeight:r,h=fl(a)!==u||fl(r)!==f;return h&&(a=u,r=f),{width:a,height:r,$:h}}function Ud(e){return an(e)?e:e.contextElement}function qs(e){const i=Ud(e);if(!Gn(i))return bn(1);const a=i.getBoundingClientRect(),{width:r,height:l,$:u}=nx(i);let f=(u?fl(a.width):a.width)/r,h=(u?fl(a.height):a.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!h||!Number.isFinite(h))&&(h=1),{x:f,y:h}}const PC=bn(0);function ix(e){const i=Le(e);return!Bd()||!i.visualViewport?PC:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function BC(e,i,a){return i===void 0&&(i=!1),!a||i&&a!==Le(e)?!1:i}function Zi(e,i,a,r){i===void 0&&(i=!1),a===void 0&&(a=!1);const l=e.getBoundingClientRect(),u=Ud(e);let f=bn(1);i&&(r?an(r)&&(f=qs(r)):f=qs(e));const h=BC(u,a,r)?ix(u):bn(0);let p=(l.left+h.x)/f.x,m=(l.top+h.y)/f.y,y=l.width/f.x,g=l.height/f.y;if(u){const b=Le(u),w=r&&an(r)?Le(r):r;let A=b,C=Ff(A);for(;C&&r&&w!==A;){const R=qs(C),N=C.getBoundingClientRect(),O=rn(C),V=N.left+(C.clientLeft+parseFloat(O.paddingLeft))*R.x,P=N.top+(C.clientTop+parseFloat(O.paddingTop))*R.y;p*=R.x,m*=R.y,y*=R.x,g*=R.y,p+=V,m+=P,A=Le(C),C=Ff(A)}}return hl({width:y,height:g,x:p,y:m})}function kl(e,i){const a=zl(e).scrollLeft;return i?i.left+a:Zi(wn(e)).left+a}function sx(e,i){const a=e.getBoundingClientRect(),r=a.left+i.scrollLeft-kl(e,a),l=a.top+i.scrollTop;return{x:r,y:l}}function UC(e){let{elements:i,rect:a,offsetParent:r,strategy:l}=e;const u=l==="fixed",f=wn(r),h=i?_l(i.floating):!1;if(r===f||h&&u)return a;let p={scrollLeft:0,scrollTop:0},m=bn(1);const y=bn(0),g=Gn(r);if((g||!g&&!u)&&((Is(r)!=="body"||br(f))&&(p=zl(r)),g)){const w=Zi(r);m=qs(r),y.x=w.x+r.clientLeft,y.y=w.y+r.clientTop}const b=f&&!g&&!u?sx(f,p):bn(0);return{width:a.width*m.x,height:a.height*m.y,x:a.x*m.x-p.scrollLeft*m.x+y.x+b.x,y:a.y*m.y-p.scrollTop*m.y+y.y+b.y}}function HC(e){return Array.from(e.getClientRects())}function qC(e){const i=wn(e),a=zl(e),r=e.ownerDocument.body,l=Ve(i.scrollWidth,i.clientWidth,r.scrollWidth,r.clientWidth),u=Ve(i.scrollHeight,i.clientHeight,r.scrollHeight,r.clientHeight);let f=-a.scrollLeft+kl(e);const h=-a.scrollTop;return rn(r).direction==="rtl"&&(f+=Ve(i.clientWidth,r.clientWidth)-l),{width:l,height:u,x:f,y:h}}const cv=25;function GC(e,i){const a=Le(e),r=wn(e),l=a.visualViewport;let u=r.clientWidth,f=r.clientHeight,h=0,p=0;if(l){u=l.width,f=l.height;const y=Bd();(!y||y&&i==="fixed")&&(h=l.offsetLeft,p=l.offsetTop)}const m=kl(r);if(m<=0){const y=r.ownerDocument,g=y.body,b=getComputedStyle(g),w=y.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,A=Math.abs(r.clientWidth-g.clientWidth-w);A<=cv&&(u-=A)}else m<=cv&&(u+=m);return{width:u,height:f,x:h,y:p}}function YC(e,i){const a=Zi(e,!0,i==="fixed"),r=a.top+e.clientTop,l=a.left+e.clientLeft,u=Gn(e)?qs(e):bn(1),f=e.clientWidth*u.x,h=e.clientHeight*u.y,p=l*u.x,m=r*u.y;return{width:f,height:h,x:p,y:m}}function uv(e,i,a){let r;if(i==="viewport")r=GC(e,a);else if(i==="document")r=qC(wn(e));else if(an(i))r=YC(i,a);else{const l=ix(e);r={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return hl(r)}function ax(e,i){const a=bi(e);return a===i||!an(a)||Gs(a)?!1:rn(a).position==="fixed"||ax(a,i)}function KC(e,i){const a=i.get(e);if(a)return a;let r=hr(e,[],!1).filter(h=>an(h)&&Is(h)!=="body"),l=null;const u=rn(e).position==="fixed";let f=u?bi(e):e;for(;an(f)&&!Gs(f);){const h=rn(f),p=Pd(f);!p&&h.position==="fixed"&&(l=null),(u?!p&&!l:!p&&h.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||br(f)&&!p&&ax(e,f))?r=r.filter(y=>y!==f):l=h,f=bi(f)}return i.set(e,r),r}function XC(e){let{element:i,boundary:a,rootBoundary:r,strategy:l}=e;const f=[...a==="clippingAncestors"?_l(i)?[]:KC(i,this._c):[].concat(a),r],h=uv(i,f[0],l);let p=h.top,m=h.right,y=h.bottom,g=h.left;for(let b=1;b<f.length;b++){const w=uv(i,f[b],l);p=Ve(w.top,p),m=vi(w.right,m),y=vi(w.bottom,y),g=Ve(w.left,g)}return{width:m-g,height:y-p,x:g,y:p}}function FC(e){const{width:i,height:a}=nx(e);return{width:i,height:a}}
vendor: 4,582 bytes, line 9
9function QC(e,i,a){const r=Gn(i),l=wn(i),u=a==="fixed",f=Zi(e,!0,u,i);let h={scrollLeft:0,scrollTop:0};const p=bn(0);function m(){p.x=kl(l)}if(r||!r&&!u)if((Is(i)!=="body"||br(l))&&(h=zl(i)),r){const w=Zi(i,!0,u,i);p.x=w.x+i.clientLeft,p.y=w.y+i.clientTop}else l&&m();u&&!r&&l&&m();const y=l&&!r&&!u?sx(l,h):bn(0),g=f.left+h.scrollLeft-p.x-y.x,b=f.top+h.scrollTop-p.y-y.y;return{x:g,y:b,width:f.width,height:f.height}}function pf(e){return rn(e).position==="static"}function fv(e,i){if(!Gn(e)||rn(e).position==="fixed")return null;if(i)return i(e);let a=e.offsetParent;return wn(e)===a&&(a=a.ownerDocument.body),a}function rx(e,i){const a=Le(e);if(_l(e))return a;if(!Gn(e)){let l=bi(e);for(;l&&!Gs(l);){if(an(l)&&!pf(l))return l;l=bi(l)}return a}let r=fv(e,i);for(;r&&LC(r)&&pf(r);)r=fv(r,i);return r&&Gs(r)&&pf(r)&&!Pd(r)?a:r||kC(e)||a}const ZC=async function(e){const i=this.getOffsetParent||rx,a=this.getDimensions,r=await a(e.floating);return{reference:QC(e.reference,await i(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function WC(e){return rn(e).direction==="rtl"}const IC={convertOffsetParentRelativeRectToViewportRelativeRect:UC,getDocumentElement:wn,getClippingRect:XC,getOffsetParent:rx,getElementRects:ZC,getClientRects:HC,getDimensions:FC,getScale:qs,isElement:an,isRTL:WC};function ox(e,i){return e.x===i.x&&e.y===i.y&&e.width===i.width&&e.height===i.height}function JC(e,i){let a=null,r;const l=wn(e);function u(){var h;clearTimeout(r),(h=a)==null||h.disconnect(),a=null}function f(h,p){h===void 0&&(h=!1),p===void 0&&(p=1),u();const m=e.getBoundingClientRect(),{left:y,top:g,width:b,height:w}=m;if(h||i(),!b||!w)return;const A=Xo(g),C=Xo(l.clientWidth-(y+b)),R=Xo(l.clientHeight-(g+w)),N=Xo(y),V={rootMargin:-A+"px "+-C+"px "+-R+"px "+-N+"px",threshold:Ve(0,vi(1,p))||1};let P=!0;function U(Q){const Z=Q[0].intersectionRatio;if(Z!==p){if(!P)return f();Z?f(!1,Z):r=setTimeout(()=>{f(!1,1e-7)},1e3)}Z===1&&!ox(m,e.getBoundingClientRect())&&f(),P=!1}try{a=new IntersectionObserver(U,{...V,root:l.ownerDocument})}catch{a=new IntersectionObserver(U,V)}a.observe(e)}return f(!0),u}function $C(e,i,a,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,m=Ud(e),y=l||u?[...m?hr(m):[],...i?hr(i):[]]:[];y.forEach(N=>{l&&N.addEventListener("scroll",a,{passive:!0}),u&&N.addEventListener("resize",a)});const g=m&&h?JC(m,a):null;let b=-1,w=null;f&&(w=new ResizeObserver(N=>{let[O]=N;O&&O.target===m&&w&&i&&(w.unobserve(i),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var V;(V=w)==null||V.observe(i)})),a()}),m&&!p&&w.observe(m),i&&w.observe(i));let A,C=p?Zi(e):null;p&&R();function R(){const N=Zi(e);C&&!ox(C,N)&&a(),C=N,A=requestAnimationFrame(R)}return a(),()=>{var N;y.forEach(O=>{l&&O.removeEventListener("scroll",a),u&&O.removeEventListener("resize",a)}),g?.(),(N=w)==null||N.disconnect(),w=null,p&&cancelAnimationFrame(A)}}const tR=OC,eR=NC,nR=RC,iR=VC,sR=MC,dv=CC,aR=jC,rR=(e,i,a)=>{const r=new Map,l={platform:IC,...a},u={...l.platform,_c:r};return EC(e,i,{...l,platform:u})};var oR=typeof document<"u",lR=function(){},tl=oR?E.useLayoutEffect:lR;function ml(e,i){if(e===i)return!0;if(typeof e!=typeof i)return!1;if(typeof e=="function"&&e.toString()===i.toString())return!0;let a,r,l;if(e&&i&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==i.length)return!1;for(r=a;r--!==0;)if(!ml(e[r],i[r]))return!1;return!0}if(l=Object.keys(e),a=l.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!{}.hasOwnProperty.call(i,l[r]))return!1;for(r=a;r--!==0;){const u=l[r];if(!(u==="_owner"&&e.$$typeof)&&!ml(e[u],i[u]))return!1}return!0}return e!==e&&i!==i}function lx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hv(e,i){const a=lx(e);return Math.round(i*a)/a}function yf(e){const i=E.useRef(e);return tl(()=>{i.current=e}),i}function cR(e){e===void 0&&(e={});const{placement:i="bottom",strategy:a="absolute",middleware:r=[],platform:l,elements:{reference:u,floating:f}={},transform:h=!0,whileElementsMounted:p,open:m}=e,[y,g]=E.useState({x:0,y:0,strategy:a,placement:i,middlewareData:{},isPositioned:!1}),[b,w]=E.useState(r);ml(b,r)||w(r);const[A,C]=E.useState(null),[R,N]=E.useState(null),O=E.useCallback(K=>{K!==Q.current&&(Q.current=K,C(K))},[]),V=E.useCallback(K=>{K!==Z.current&&(Z.current=K,N(K))},[]),P=u||A,U=f||R,Q=E.useRef(null),Z=E.useRef(null),H=E.useRef(y),I=p!=null,W=yf(p),lt=yf(l),rt=yf(m),yt=E.useCallback(()=>
vendor: 5,439 bytes, line 9
9{if(!Q.current||!Z.current)return;const K={placement:i,strategy:a,middleware:b};lt.current&&(K.platform=lt.current),rR(Q.current,Z.current,K).then(et=>{const T={...et,isPositioned:rt.current!==!1};tt.current&&!ml(H.current,T)&&(H.current=T,Dl.flushSync(()=>{g(T)}))})},[b,i,a,lt,rt]);tl(()=>{m===!1&&H.current.isPositioned&&(H.current.isPositioned=!1,g(K=>({...K,isPositioned:!1})))},[m]);const tt=E.useRef(!1);tl(()=>(tt.current=!0,()=>{tt.current=!1}),[]),tl(()=>{if(P&&(Q.current=P),U&&(Z.current=U),P&&U){if(W.current)return W.current(P,U,yt);yt()}},[P,U,yt,W,I]);const ut=E.useMemo(()=>({reference:Q,floating:Z,setReference:O,setFloating:V}),[O,V]),L=E.useMemo(()=>({reference:P,floating:U}),[P,U]),F=E.useMemo(()=>{const K={position:a,left:0,top:0};if(!L.floating)return K;const et=hv(L.floating,y.x),T=hv(L.floating,y.y);return h?{...K,transform:"translate("+et+"px, "+T+"px)",...lx(L.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:et,top:T}},[a,h,L.floating,y.x,y.y]);return E.useMemo(()=>({...y,update:yt,refs:ut,elements:L,floatingStyles:F}),[y,yt,ut,L,F])}const uR=e=>{function i(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){const{element:r,padding:l}=typeof e=="function"?e(a):e;return r&&i(r)?r.current!=null?dv({element:r.current,padding:l}).fn(a):{}:r?dv({element:r,padding:l}).fn(a):{}}}},fR=(e,i)=>{const a=tR(e);return{name:a.name,fn:a.fn,options:[e,i]}},dR=(e,i)=>{const a=eR(e);return{name:a.name,fn:a.fn,options:[e,i]}},hR=(e,i)=>({fn:aR(e).fn,options:[e,i]}),mR=(e,i)=>{const a=nR(e);return{name:a.name,fn:a.fn,options:[e,i]}},pR=(e,i)=>{const a=iR(e);return{name:a.name,fn:a.fn,options:[e,i]}},yR=(e,i)=>{const a=sR(e);return{name:a.name,fn:a.fn,options:[e,i]}},gR=(e,i)=>{const a=uR(e);return{name:a.name,fn:a.fn,options:[e,i]}};var vR="Arrow",cx=E.forwardRef((e,i)=>{const{children:a,width:r=10,height:l=5,...u}=e;return S.jsx(Se.svg,{...u,ref:i,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});cx.displayName=vR;var bR=cx;function xR(e){const[i,a]=E.useState(void 0);return Un(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let f,h;if("borderBoxSize"in u){const p=u.borderBoxSize,m=Array.isArray(p)?p[0]:p;f=m.inlineSize,h=m.blockSize}else f=e.offsetWidth,h=e.offsetHeight;a({width:f,height:h})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else a(void 0)},[e]),i}var ux="Popper",[fx,dx]=Ol(ux),[N4,hx]=fx(ux),mx="PopperAnchor",px=E.forwardRef((e,i)=>{const{__scopePopper:a,virtualRef:r,...l}=e,u=hx(mx,a),f=E.useRef(null),h=u.onAnchorChange,p=E.useCallback(A=>{f.current=A,A&&h(A)},[h]),m=sn(i,p),y=E.useRef(null);E.useEffect(()=>{if(!r)return;const A=y.current;y.current=r.current,A!==y.current&&h(y.current)});const g=u.placementState&&qd(u.placementState),b=g?.[0],w=g?.[1];return r?null:S.jsx(Se.div,{"data-radix-popper-side":b,"data-radix-popper-align":w,...l,ref:m})});px.displayName=mx;var Hd="PopperContent",[wR,SR]=fx(Hd),yx=E.forwardRef((e,i)=>{const{__scopePopper:a,side:r="bottom",sideOffset:l=0,align:u="center",alignOffset:f=0,arrowPadding:h=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:b=!1,updatePositionStrategy:w="optimized",onPlaced:A,...C}=e,R=hx(Hd,a),[N,O]=E.useState(null),V=sn(i,At=>O(At)),[P,U]=E.useState(null),Q=xR(P),Z=Q?.width??0,H=Q?.height??0,I=r+(u!=="center"?"-"+u:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},lt=Array.isArray(m)?m:[m],rt=lt.length>0,yt={padding:W,boundary:lt.filter(AR),altBoundary:rt},{refs:tt,floatingStyles:ut,placement:L,isPositioned:F,middlewareData:K}=cR({strategy:"fixed",placement:I,whileElementsMounted:(...At)=>$C(...At,{animationFrame:w==="always"}),elements:{reference:R.anchor},middleware:[fR({mainAxis:l+H,alignmentAxis:f}),p&&dR({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?hR():void 0,...yt}),p&&mR({...yt}),pR({...yt,apply:({elements:At,rects:Mt,availableWidth:Yn,availableHeight:Qe})=>{const{width:ln,height:Sn}=Mt.reference,Te=At.floating.style;Te.setProperty("--radix-popper-available-width",`${Yn}px`),Te.setProperty("--radix-popper-available-height",`${Qe}px`),Te.setProperty("--radix-popper-anchor-width",`${ln}px`),Te.setProperty("--radix-popper-anchor-height",`${Sn}px`)}}),P&&gR({element:P,padding:h}),ER({arrowWidth:Z,arrowHeight:H}),b&&yR({strategy:"referenceHidden",...yt,boundary:rt?yt.boundary:void 0})]}),et=R.setPlacementState;Un(()=>(et(L),()=>{et(void 0)}),[L,et]);const[T,G]=qd(L),$=gi(A);Un(()=>{F&&$?.()},[F,$]);const J=K.arrow?.x,ct=K.arrow?.y,ht=K.arrow?.centerOffset!==0,[ot,Yt]=E.useState();return Un(()=>{N&&Yt(window.getComputedStyle(N).zIndex)},[N]),S.jsx("div",{ref:tt.setFloating,"data-radix-popper-content-wrapper":"",style:{...ut,transform:F?ut.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ot,"--radix-popper-transform-origin":[K.transformOrigin?.x,K.transformOrigin?.y].join(" "),...K.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(wR,{scope:a,placedSide:T,placedAlign:G,onArrowChange:U,arrowX:J,arrowY:ct,shouldHideArrow:ht,children:S.jsx(Se.div,{"data-side":T,"data-align":G,...C,ref:V,style:{...C.style,animation:F?void 0:"none"}})})})});yx.displayName=Hd;var gx="PopperArrow",TR={top:"bottom",right:"left",bottom:"top",left:"r
9ight"},vx=E.forwardRef(function(i,a){const{__scopePopper:r,...l}=i,u=SR(gx,r),f=TR[u.placedSide];return S.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:S.jsx(bR,{...l,ref:a,style:{...l.style,display:"block"}})})});vx.displayName=gx;function AR(e){return e!==null}var ER=e=>({name:"transformOrigin",options:e,fn(i){const{placement:a,rects:r,middlewareData:l}=i,f=l.arrow?.centerOffset!==0,h=f?0:e.arrowWidth,p=f?0:e.arrowHeight,[m,y]=qd(a),g={start:"0%",center:"50%",end:"100%"}[y],b=(l.arrow?.x??0)+h/2,w=(l.arrow?.y??0)+p/2;let A="",C="";return m==="bottom"?(A=f?g:`${b}px`,C=`${-p}px`):m==="top"?(A=f?g:`${b}px`,C=`${r.floating.height+p}px`):m==="right"?(A=`${-p}px`,C=f?g:`${w}px`):m==="left"&&(A=`${r.floating.width+p}px`,C=f?g:`${w}px`),{data:{x:A,y:C}}}});function qd(e){const[i,a="center"]=e.split("-");return[i,a]}var CR=px,RR=yx,MR=vx,[Pl]=Ol("Tooltip",[dx]),Gd=dx(),bx="TooltipProvider",DR=700,mv="tooltip.open",[OR,xx]=Pl(bx),wx=e=>{const{__scopeTooltip:i,delayDuration:a=DR,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:u}=e,f=E.useRef(!0),h=E.useRef(!1),p=E.useRef(0);return E.useEffect(()=>{const m=p.current;return()=>window.clearTimeout(m)},[]),S.jsx(OR,{scope:i,isOpenDelayedRef:f,delayDuration:a,onOpen:E.useCallback(()=>{r<=0||(window.clearTimeout(p.current),f.current=!1)},[r]),onClose:E.useCallback(()=>{r<=0||(window.clearTimeout(p.current),p.current=window.setTimeout(()=>f.current=!0,r))},[r]),isPointerInTransitRef:h,onPointerInTransitChange:E.useCallback(m=>{h.current=m},[]),disableHoverableContent:l,children:u})};wx.displayName=bx;var Sx="Tooltip",[j4,xr]=Pl(Sx),Qf="TooltipTrigger",NR=E.forwardRef((e,i)=>{const{__scopeTooltip:a,...r}=e,l=xr(Qf,a),u=xx(Qf,a),f=Gd(a),h=E.useRef(null),p=sn(i,h,l.onTriggerChange),m=E.useRef(!1),y=E.useRef(!1),g=E.useCallback(()=>m.current=!1,[]);return E.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),S.jsx(CR,{asChild:!0,...f,children:S.jsx(Se.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:p,onPointerMove:Jt(e.onPointerMove,b=>{b.pointerType!=="touch"&&!y.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:Jt(e.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:Jt(e.onPointerDown,()=>{l.open&&l.onClose(),m.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:Jt(e.onFocus,()=>{m.current||l.onOpen()}),onBlur:Jt(e.onBlur,l.onClose),onClick:Jt(e.onClick,l.onClose)})})});NR.displayName=Qf;var Yd="TooltipPortal",[jR,VR]=Pl(Yd,{forceMount:void 0}),Tx=e=>{const{__scopeTooltip:i,forceMount:a,children:r,container:l}=e,u=xr(Yd,i);return S.jsx(jR,{scope:i,forceMount:a,children:S.jsx(Nl,{present:a||u.open,children:S.jsx(Dd,{asChild:!0,container:l,children:r})})})};Tx.displayName=Yd;var Ys="TooltipContent",Ax=E.forwardRef((e,i)=>{const a=VR(Ys,e.__scopeTooltip),{forceMount:r=a.forceMount,side:l="top",...u}=e,f=xr(Ys,e.__scopeTooltip);return S.jsx(Nl,{present:r||f.open,children:f.disableHoverableContent?S.jsx(Ex,{side:l,...u,ref:i}):S.jsx(LR,{side:l,...u,ref:i})})}),LR=E.forwardRef((e,i)=>{const a=xr(Ys,e.__scopeTooltip),r=xx(Ys,e.__scopeTooltip),l=E.useRef(null),u=sn(i,l),[f,h]=E.useState(null),{trigger:p,onClose:m}=a,y=l.current,{onPointerInTransitChange:g}=r,b=E.useCallback(()=>{h(null),g(!1)},[g]),w=E.useCallback((A,C)=>{const R=A.currentTarget,N={x:A.clientX,y:A.clientY},O=BR(N,R.getBoundingClientRect()),V=UR(N,O),P=HR(C.getBoundingClientRect()),U=GR([...V,...P]);h(U),g(!0)},[g]);return E.useEffect(()=>()=>b(),[b]),E.useEffect(()=>{if(p&&y){const A=R=>w(R,y),C=R=>w(R,p);return p.addEventListener("pointerleave",A),y.addEventListener("pointerleave",C),()=>{p.removeEventListener("pointerleave",A),y.removeEventListener("pointerleave",C)}}},[p,y,w,b]),E.useEffect(()=>{if(f){const A=C=>{const R=C.target,N={x:C.clientX,y:C.clientY},O=p?.contains(R)||y?.contains(R),V=!qR(N,f);
vendor: 4,151 bytes, line 9
9O?b():V&&(b(),m())};return document.addEventListener("pointermove",A),()=>document.removeEventListener("pointermove",A)}},[p,y,f,m,b]),S.jsx(Ex,{...e,ref:u})}),[_R,zR]=Pl(Sx,{isInside:!1}),kR=cE("TooltipContent"),Ex=E.forwardRef((e,i)=>{const{__scopeTooltip:a,children:r,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:f,...h}=e,p=xr(Ys,a),m=Gd(a),{onClose:y}=p;return E.useEffect(()=>(document.addEventListener(mv,y),()=>document.removeEventListener(mv,y)),[y]),E.useEffect(()=>{if(p.trigger){const g=b=>{b.target instanceof Node&&b.target.contains(p.trigger)&&y()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[p.trigger,y]),S.jsx(Md,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:g=>g.preventDefault(),onDismiss:y,children:S.jsxs(RR,{"data-state":p.stateAttribute,...m,...h,ref:i,style:{...h.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:[S.jsx(kR,{children:r}),S.jsx(_R,{scope:a,isInside:!0,children:S.jsx(UE,{id:p.contentId,role:"tooltip",children:l||r})})]})})});Ax.displayName=Ys;var Cx="TooltipArrow",PR=E.forwardRef((e,i)=>{const{__scopeTooltip:a,...r}=e,l=Gd(a);return zR(Cx,a).isInside?null:S.jsx(MR,{...l,...r,ref:i})});PR.displayName=Cx;function BR(e,i){const a=Math.abs(i.top-e.y),r=Math.abs(i.bottom-e.y),l=Math.abs(i.right-e.x),u=Math.abs(i.left-e.x);switch(Math.min(a,r,l,u)){case u:return"left";case l:return"right";case a:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function UR(e,i,a=5){const r=[];switch(i){case"top":r.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":r.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":r.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":r.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return r}function HR(e){const{top:i,right:a,bottom:r,left:l}=e;return[{x:l,y:i},{x:a,y:i},{x:a,y:r},{x:l,y:r}]}function qR(e,i){const{x:a,y:r}=e;let l=!1;for(let u=0,f=i.length-1;u<i.length;f=u++){const h=i[u],p=i[f],m=h.x,y=h.y,g=p.x,b=p.y;y>r!=b>r&&a<(g-m)*(r-y)/(b-y)+m&&(l=!l)}return l}function GR(e){const i=e.slice();return i.sort((a,r)=>a.x<r.x?-1:a.x>r.x?1:a.y<r.y?-1:a.y>r.y?1:0),YR(i)}function YR(e){if(e.length<=1)return e.slice();const i=[];for(let r=0;r<e.length;r++){const l=e[r];for(;i.length>=2;){const u=i[i.length-1],f=i[i.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))i.pop();else break}i.push(l)}i.pop();const a=[];for(let r=e.length-1;r>=0;r--){const l=e[r];for(;a.length>=2;){const u=a[a.length-1],f=a[a.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))a.pop();else break}a.push(l)}return a.pop(),i.length===1&&a.length===1&&i[0].x===a[0].x&&i[0].y===a[0].y?i:i.concat(a)}var KR=wx,XR=Tx,Rx=Ax;const FR=KR,QR=E.forwardRef(({className:e,sideOffset:i=4,...a},r)=>S.jsx(XR,{children:S.jsx(Rx,{ref:r,sideOffset:i,className:ze("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]",e),...a})}));QR.displayName=Rx.displayName;const Mx=E.forwardRef(({className:e,...i},a)=>S.jsx("div",{ref:a,className:ze("rounded-xl border bg-card text-card-foreground shadow",e),...i}));Mx.displayName="Card";const ZR=E.forwardRef(({className:e,...i},a)=>S.jsx("div",{ref:a,className:ze("flex flex-col space-y-1.5 p-6",e),...i}));ZR.displayName="CardHeader";const WR=E.forwardRef(({className:e,...i},a)=>S.jsx("div",{ref:a,className:ze("font-semibold leading-none tracking-tight",e),...i}));
9WR.displayName="CardTitle";const IR=E.forwardRef(({className:e,...i},a)=>S.jsx("div",{ref:a,className:ze("text-sm text-muted-foreground",e),...i}));IR.displayName="CardDescription";const Dx=E.forwardRef(({className:e,...i},a)=>S.jsx("div",{ref:a,className:ze("p-6 pt-0",e),...i}));Dx.displayName="CardContent";const JR=E.forwardRef(({className:e,...i},a)=>S.jsx("div",{ref:a,className:ze("flex items-center p-6 pt-0",e),...i}));JR.displayName="CardFooter";function $R(){return S.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:S.jsx(Mx,{className:"w-full max-w-md mx-4",children:S.jsxs(Dx,{className:"pt-6",children:[S.jsxs("div",{className:"flex mb-4 gap-2",children:[S.jsx(p2,{className:"h-8 w-8 text-red-500"}),S.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),S.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const Ox=E.createContext({});function Ks(e){const i=E.useRef(null);return i.current===null&&(i.current=e()),i.current}const tM=typeof window<"u",Kd=tM?E.useLayoutEffect:E.useEffect,Xd=E.createContext(null);function Fd(e,i){e.indexOf(i)===-1&&e.push(i)}function pl(e,i){const a=e.indexOf(i);a>-1&&e.splice(a,1)}const on=(e,i,a)=>a>i?i:a<e?e:a;let Qd=()=>{};const xi={},Nx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),jx=e=>typeof e=="object"&&e!==null,Vx=e=>/^0[^.\s]+$/u.test(e);function Lx(e){let i;return()=>(i===void 0&&(i=e()),i)}const we=e=>e,wr=(...e)=>e.reduce((i,a)=>r=>a(i(r))),Xs=(e,i,a)=>{const r=i-e;return r?(a-e)/r:1};class Zd{constructor(){this.subscriptions=[]}add(i){return Fd(this.subscriptions,i),()=>pl(this.subscriptions,i)}notify(i,a,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](i,a,r);else for(let u=0;u<l;u++){const f=this.subscriptions[u];f&&f(i,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const _e=e=>e*1e3,Xe=e=>e/1e3,Wd=(e,i)=>i?e*(1e3/i):0,_x=(e,i,a)=>(((1-3*a+3*i)*e+(3*a-6*i))*e+3*i)*e,eM=1e-7,nM=12;function iM(e,i,a,r,l){let u,f,h=0;do f=i+(a-i)/2,u=_x(f,r,l)-e,u>0?a=f:i=f;while(Math.abs(u)>eM&&++h<nM);return f}function Sr(e,i,a,r){if(e===i&&a===r)return we;const l=u=>iM(u,0,1,e,a);return u=>u===0||u===1?u:_x(l(u),i,r)}const zx=e=>i=>i<=.5?e(2*i)/2:(2-e(2*(1-i)))/2,kx=e=>i=>1-e(1-i),Px=Sr(.33,1.53,.69,.99),Id=kx(Px),Bx=zx(Id),Ux=e=>e>=1?1:(e*=2)<1?.5*Id(e):.5*(2-Math.pow(2,-10*(e-1))),Jd=e=>1-Math.sin(Math.acos(e)),Hx=kx(Jd),qx=zx(Jd),sM=Sr(.42,0,1,1),aM=Sr(0,0,.58,1),Gx=Sr(.42,0,.58,1),rM=e=>Array.isArray(e)&&typeof e[0]!="number",Yx=e=>Array.isArray(e)&&typeof e[0]=="number",oM={linear:we,easeIn:sM,easeInOut:Gx,easeOut:aM,circIn:Jd,circInOut:qx,circOut:Hx,backIn:Id,backInOut:Bx,backOut:Px,anticipate:Ux},lM=e=>typeof e=="string",pv=e=>{if(Yx(e)){Qd(e.length===4);const[i,a,r,l]=e;return Sr(i,a,r,l)}else if(lM(e))return oM[e];return e},Fo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function cM(e,i){let a=new Set,r=new Set,l=!1,u=!1;const f=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(y){f.has(y)&&(m.schedule(y),e()),y(h)}const m={schedule:(y,g=!1,b=!1)=>{const A=b&&l?a:r;return g&&f.add(y),A.add(y),y},cancel:y=>{r.delete(y),f.delete(y)},process:y=>{if(h=y,l){u=!0;return}l=!0;const g=a;a=r,r=g,a.forEach(p),a.clear(),l=!1,u&&(u=!1,m.process(y))}};return m}const uM=40;function Kx(e,i){let a=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>a=!0,f=Fo.reduce((V,P)=>(V[P]=cM(u),V),{}),{setup:h,read:p,resolveKeyframes:m,preUpdate:y,update:g,preRender:b,render:w,postRender:A}=f,C=()=>{const V=xi.useManualTiming,P=V?l.timestamp:performance.now();a=!1,V||(l.delta=r?1e3/60:Math.max(Math.min(P-l.timestamp,uM),1)),l.timestamp=P,l.isProcessing=!0,h.process(l),p.process(l),m.process(l),y.process(l),g.process(l),b.process(l),w.process(l),A.process(l),l.isProcessing=!1,a&&i&&(r=!1,e(C))},R=()=>{a=!0,r=!0,l.isProcessing||e(C)};return{schedule:Fo.reduce((V,P)=>{const U=f[P];return V[P]=(Q,Z=!1,H=!1)=>(a||R(),U.schedule(Q,Z,H)),V},{}),cancel:V=>{for(let P=0;P<Fo.length;P++)f[Fo[P]].cancel(V)},state:l,steps:f}}const{schedule:Et,cancel:Fe,state:ie,steps:gf}=Kx(typeof requestAnimationFrame<"u"?requestAnimationFrame:we,!0);let el;function fM(){el=void 0}const me={now:()=>(el===void 0&&me.set(ie.isProcessing||xi.useManualTiming?ie.timestamp:performance.now()),el),set:e=>{el=e,queueMicrotask(fM)}},Xx=e=>i=>typeof i=="string"&&i.startsWith(e),Fx=Xx("--"),dM=Xx("var(--"),$d=e=>dM(e)?hM.test(e.split("/*")[0].trim()):!1,hM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function yv(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Js={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},mr={...Js,transform:e=>on(0,1,e)},Qo={...Js,default:1},rr=e=>Math.round(e*1e5)/1e5,th=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mM(e){return e==null}const pM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eh=(e,i)=>a=>
vendor: 94,148 bytes, line 9
9!!(typeof a=="string"&&pM.test(a)&&a.startsWith(e)||i&&!mM(a)&&Object.prototype.hasOwnProperty.call(a,i)),Qx=(e,i,a)=>r=>{if(typeof r!="string")return r;const[l,u,f,h]=r.match(th);return{[e]:parseFloat(l),[i]:parseFloat(u),[a]:parseFloat(f),alpha:h!==void 0?parseFloat(h):1}},yM=e=>on(0,255,e),vf={...Js,transform:e=>Math.round(yM(e))},Ki={test:eh("rgb","red"),parse:Qx("red","green","blue"),transform:({red:e,green:i,blue:a,alpha:r=1})=>"rgba("+vf.transform(e)+", "+vf.transform(i)+", "+vf.transform(a)+", "+rr(mr.transform(r))+")"};function gM(e){let i="",a="",r="",l="";return e.length>5?(i=e.substring(1,3),a=e.substring(3,5),r=e.substring(5,7),l=e.substring(7,9)):(i=e.substring(1,2),a=e.substring(2,3),r=e.substring(3,4),l=e.substring(4,5),i+=i,a+=a,r+=r,l+=l),{red:parseInt(i,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const Zf={test:eh("#"),parse:gM,transform:Ki.transform},Tr=e=>({test:i=>typeof i=="string"&&i.endsWith(e)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${e}`}),Bn=Tr("deg"),xn=Tr("%"),at=Tr("px"),vM=Tr("vh"),bM=Tr("vw"),gv={...xn,parse:e=>xn.parse(e)/100,transform:e=>xn.transform(e*100)},Ps={test:eh("hsl","hue"),parse:Qx("hue","saturation","lightness"),transform:({hue:e,saturation:i,lightness:a,alpha:r=1})=>"hsla("+Math.round(e)+", "+xn.transform(rr(i))+", "+xn.transform(rr(a))+", "+rr(mr.transform(r))+")"},Ft={test:e=>Ki.test(e)||Zf.test(e)||Ps.test(e),parse:e=>Ki.test(e)?Ki.parse(e):Ps.test(e)?Ps.parse(e):Zf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ki.transform(e):Ps.transform(e),getAnimatableNone:e=>{const i=Ft.parse(e);return i.alpha=0,Ft.transform(i)}},xM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function wM(e){return isNaN(e)&&typeof e=="string"&&(e.match(th)?.length||0)+(e.match(xM)?.length||0)>0}const Zx="number",Wx="color",SM="var",TM="var(",vv="${}",AM=/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 Fs(e){const i=e.toString(),a=[],r={color:[],number:[],var:[]},l=[];let u=0;const h=i.replace(AM,p=>(Ft.test(p)?(r.color.push(u),l.push(Wx),a.push(Ft.parse(p))):p.startsWith(TM)?(r.var.push(u),l.push(SM),a.push(p)):(r.number.push(u),l.push(Zx),a.push(parseFloat(p))),++u,vv)).split(vv);return{values:a,split:h,indexes:r,types:l}}function EM(e){return Fs(e).values}function Ix({split:e,types:i}){const a=e.length;return r=>{let l="";for(let u=0;u<a;u++)if(l+=e[u],r[u]!==void 0){const f=i[u];f===Zx?l+=rr(r[u]):f===Wx?l+=Ft.transform(r[u]):l+=r[u]}return l}}function CM(e){return Ix(Fs(e))}const RM=e=>typeof e=="number"?0:Ft.test(e)?Ft.getAnimatableNone(e):e,MM=(e,i)=>typeof e=="number"?i?.trim().endsWith("/")?e:0:RM(e);function DM(e){const i=Fs(e);return Ix(i)(i.values.map((r,l)=>MM(r,i.split[l])))}const nn={test:wM,parse:EM,createTransformer:CM,getAnimatableNone:DM};function bf(e,i,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(i-e)*6*a:a<1/2?i:a<2/3?e+(i-e)*(2/3-a)*6:e}function OM({hue:e,saturation:i,lightness:a,alpha:r}){e/=360,i/=100,a/=100;let l=0,u=0,f=0;if(!i)l=u=f=a;else{const h=a<.5?a*(1+i):a+i-a*i,p=2*a-h;l=bf(p,h,e+1/3),u=bf(p,h,e),f=bf(p,h,e-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:r}}function yl(e,i){return a=>a>0?i:e}const _t=(e,i,a)=>e+(i-e)*a,xf=(e,i,a)=>{const r=e*e,l=a*(i*i-r)+r;return l<0?0:Math.sqrt(l)},NM=[Zf,Ki,Ps],jM=e=>NM.find(i=>i.test(e));function bv(e){const i=jM(e);if(!i)return!1;let a=i.parse(e);return i===Ps&&(a=OM(a)),a}const xv=(e,i)=>{const a=bv(e),r=bv(i);if(!a||!r)return yl(e,i);const l={...a};return u=>(l.red=xf(a.red,r.red,u),l.green=xf(a.green,r.green,u),l.blue=xf(a.blue,r.blue,u),l.alpha=_t(a.alpha,r.alpha,u),Ki.transform(l))},Wf=new Set(["none","hidden"]);function VM(e,i){return Wf.has(e)?a=>a<=0?e:i:a=>a>=1?i:e}function LM(e,i){return a=>_t(e,i,a)}function nh(e){return typeof e=="number"?LM:typeof e=="string"?$d(e)?yl:Ft.test(e)?xv:kM:Array.isArray(e)?Jx:typeof e=="object"?Ft.test(e)?xv:_M:yl}function Jx(e,i){const a=[...e],r=a.length,l=e.map((u,f)=>nh(u)(u,i[f]));return u=>{for(let f=0;f<r;f++)a[f]=l[f](u);return a}}function _M(e,i){const a={...e,...i},r={};for(const l in a)e[l]!==void 0&&i[l]!==void 0&&(r[l]=nh(e[l])(e[l],i[l]));return l=>{for(const u in r)a[u]=r[u](l);return a}}function zM(e,i){const a=[],r={color:0,var:0,number:0};for(let l=0;l<i.values.length;l++){const u=i.types[l],f=e.indexes[u][r[u]],h=e.values[f]??0;a[l]=h,r[u]++}return a}const kM=(e,i)=>{const a=nn.createTransformer(i),r=Fs(e),l=Fs(i);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?Wf.has(e)&&!l.values.length||Wf.has(i)&&!r.values.length?VM(e,i):wr(Jx(zM(r,l),l.values),a):yl(e,i)};function $x(e,i,a){return typeof e=="number"&&typeof i=="number"&&typeof a=="number"?_t(e,i,a):nh(e)(e,i)}const PM=e=>{const i=({timestamp:a})=>e(a);return{start:(a=!0)=>Et.update(i,a),stop:()=>Fe(i),now:()=>ie.isProcessing?ie.timestamp:me.now()}},t1=(e,i,a=10)=>{let r="";const l=Math.max(Math.round(i/a),2);for(let u=0;u<l;u++)r+=Math.round(e(u/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},gl=2e4;function ih(e){let i=0;const a=50;let r=e.next(i);for(;!r.done&&i<gl;)i+=a,r=e.next(i);return i>=gl?1/0:i}function BM(e,i=100,a){const r=a({...e,keyframes:[0,i]}),l=Math.min(ih(r),gl);return{type:"keyframes",ease:u=>r.next(l*u).value/i,duration:Xe(l)}}const Ht={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};function If(e,i){return e*Math.sqrt(1-i*i)}const UM=12;function HM(e,i,a){let r=a;for(let l=1;l<UM;l++)r=r-e(r)/i(r);return r}const wf=.001;function qM({duration:e=Ht.duration,bounce:i=Ht.bounce,velocity:a=Ht.velocity,mass:r=Ht.mass}){let l,u,f=1-i;f=on(Ht.minDamping,Ht.maxDamping,f),e=on(Ht.minDuration,Ht.maxDuration,Xe(e)),f<1?(l=m=>{const y=m*f,g=y*e,b=y-a,w=If(m,f),A=Math.exp(-g);return wf-b/w*A},u=m=>{const g=m*f*e,b=g*a+a,w=Math.pow(f,2)*Math.pow(m,2)*e,A=Math.exp(-g),C=If(Math.pow(m,2),f);return(-l(m)+wf>0?-1:1)*((b-w)*A)/C}):(l=m=>{const y=Math.exp(-m*e),g=(m-a)*e+1;return-wf+y*g},u=m=>{const y=Math.exp(-m*e),g=(a-m)*(e*e);return y*g});const h=5/e,p=HM(l,u,h);if(e=_e(e),isNaN(p))return{stiffness:Ht.stiffness,damping:Ht.damping,duration:e};{const m=Math.pow(p,2)*r;return{stiffness:m,damping:f*2*Math.sqrt(r*m),duration:e}}}const GM=["duration","bounce"],YM=["stiffness","damping","mass"];function wv(e,i){return i.some(a=>e[a]!==void 0)}function KM(e){let i={velocity:Ht.velocity,stiffness:Ht.stiffness,damping:Ht.damping,mass:Ht.mass,isResolvedFromDuration:!1,...e};if(!wv(e,YM)&&wv(e,GM))if(i.velocity=0,e.visualDuration){const a=e.visualDuration,r=2*Math.PI/(a*1.2),l=r*r,u=2*on(.05,1,1-(e.bounce||0))*Math.sqrt(l);i={...i,mass:Ht.mass,stiffness:l,damping:u}}else{const a=qM({...e,velocity:0});i={...i,...a,mass:Ht.mass},i.isResolvedFromDuration=!0}return i}function vl(e=Ht.visualDuration,i=Ht.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:i}:e;let{restSpeed:r,restDelta:l}=a;const u=a.keyframes[0],f=a.keyframes[a.keyframes.length-1],h={done:!1,value:u},{stiffness:p,damping:m,mass:y,duration:g,velocity:b,isResolvedFromDuration:w}=KM({...a,velocity:-Xe(a.velocity||0)}),A=b||0,C=m/(2*Math.sqrt(p*y)),R=f-u,N=Xe(Math.sqrt(p/y)),O=Math.abs(R)<5;r||(r=O?Ht.restSpeed.granular:Ht.restSpeed.default),l||(l=O?Ht.restDelta.granular:Ht.restDelta.default);let V,P,U,Q,Z,H;if(C<1)U=If(N,C),Q=(A+C*N*R)/U,V=W=>{const lt=Math.exp(-C*N*W);return f-lt*(Q*Math.sin(U*W)+R*Math.cos(U*W))},Z=C*N*Q+R*U,H=C*N*R-Q*U,P=W=>Math.exp(-C*N*W)*(Z*Math.sin(U*W)+H*Math.cos(U*W));else if(C===1){V=lt=>f-Math.exp(-N*lt)*(R+(A+N*R)*lt);const W=A+N*R;P=lt=>Math.exp(-N*lt)*(N*W*lt-A)}else{const W=N*Math.sqrt(C*C-1);V=tt=>{const ut=Math.exp(-C*N*tt),L=Math.min(W*tt,300);return f-ut*((A+C*N*R)*Math.sinh(L)+W*R*Math.cosh(L))/W};const lt=(A+C*N*R)/W,rt=C*N*lt-R*W,yt=C*N*R-lt*W;P=tt=>{const ut=Math.exp(-C*N*tt),L=Math.min(W*tt,300);return ut*(rt*Math.sinh(L)+yt*Math.cosh(L))}}const I={calculatedDuration:w&&g||null,velocity:W=>_e(P(W)),next:W=>{if(!w&&C<1){const rt=Math.exp(-C*N*W),yt=Math.sin(U*W),tt=Math.cos(U*W),ut=f-rt*(Q*yt+R*tt),L=_e(rt*(Z*yt+H*tt));return h.done=Math.abs(L)<=r&&Math.abs(f-ut)<=l,h.value=h.done?f:ut,h}const lt=V(W);if(w)h.done=W>=g;else{const rt=_e(P(W));h.done=Math.abs(rt)<=r&&Math.abs(f-lt)<=l}return h.value=h.done?f:lt,h},toString:()=>{const W=Math.min(ih(I),gl),lt=t1(rt=>I.next(W*rt).value,W,30);return W+"ms "+lt},toTransition:()=>{}};return I}vl.applyToOptions=e=>{const i=BM(e,100,vl);return e.ease=i.ease,e.duration=_e(i.duration),e.type="keyframes",e};const XM=5;function e1(e,i,a){const r=Math.max(i-XM,0);return Wd(a-e(r),i-r)}function Jf({keyframes:e,velocity:i=0,power:a=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:f,min:h,max:p,restDelta:m=.5,restSpeed:y}){const g=e[0],b={done:!1,value:g},w=H=>h!==void 0&&H<h||p!==void 0&&H>p,A=H=>h===void 0?p:p===void 0||Math.abs(h-H)<Math.abs(p-H)?h:p;let C=a*i;const R=g+C,N=f===void 0?R:f(R);N!==R&&(C=N-g);const O=H=>-C*Math.exp(-H/r),V=H=>N+O(H),P=H=>{const I=O(H),W=V(H);b.done=Math.abs(I)<=m,b.value=b.done?N:W};let U,Q;const Z=H=>{w(b.value)&&(U=H,Q=vl({keyframes:[b.value,A(b.value)],velocity:e1(V,H,b.value),damping:l,stiffness:u,restDelta:m,restSpeed:y}))};return Z(0),{calculatedDuration:null,next:H=>{let I=!1;return!Q&&U===void 0&&(I=!0,P(H),Z(H)),U!==void 0&&H>=U?Q.next(H-U):(!I&&P(H),b)}}}function FM(e,i,a){const r=[],l=a||xi.mix||$x,u=e.length-1;for(let f=0;f<u;f++){let h=l(e[f],e[f+1]);if(i){const p=Array.isArray(i)?i[f]||we:i;h=wr(p,h)}r.push(h)}return r}function sh(e,i,{clamp:a=!0,ease:r,mixer:l}={}){const u=e.length;if(Qd(u===i.length),u===1)return()=>i[0];if(u===2&&i[0]===i[1])return()=>i[1];const f=e[0]===e[1];e[0]>e[u-1]&&(e=[...e].reverse(),i=[...i].reverse());const h=FM(i,r,l),p=h.length,m=y=>{if(f&&y<e[0])return i[0];let g=0;if(p>1)for(;g<e.length-2&&!(y<e[g+1]);g++);const b=Xs(e[g],e[g+1],y);return h[g](b)};return a?y=>m(on(e[0],e[u-1],y)):m}function QM(e,i){const a=e[e.length-1];for(let r=1;r<=i;r++){const l=Xs(0,i,r);e.push(_t(a,1,l))}}function n1(e){const i=[0];return QM(i,e.length-1),i}function ZM(e,i){return e.map(a=>a*i)}function WM(e,i){return e.map(()=>i||Gx).splice(0,e.length-1)}function or({duration:e=300,keyframes:i,times:a,ease:r="easeInOut"}){const l=rM(r)?r.map(pv):pv(r),u={done:!1,value:i[0]},f=ZM(a&&a.length===i.length?a:n1(i),e),h=sh(f,i,{ease:Array.isArray(l)?l:WM(i,l)});return{calculatedDuration:e,next:p=>(u.value=h(p),u.done=p>=e,u)}}const IM=e=>e!==null;function Bl(e,{repeat:i,repeatType:a="loop"},r,l=1){const u=e.filter(IM),h=l<0||i&&a!=="loop"&&i%2===1?0:u.length-1;return!h||r===void 0?u[h]:r}const JM={decay:Jf,inertia:Jf,tween:or,keyframes:or,spring:vl};function i1(e){typeof e.type=="string"&&(e.type=JM[e.type])}class ah{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,a){return this.finished.then(i,a)}}const $M=e=>e/100;class bl extends ah{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==me.now()&&this.tick(me.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;i1(i);const{type:a=or,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:f=0}=i;let{keyframes:h}=i;const p=a||or;p!==or&&typeof h[0]!="number"&&(this.mixKeyframes=wr($M,$x(h[0],h[1])),h=[0,100]);const m=p({...i,keyframes:h});u==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...h].reverse(),velocity:-f})),m.calculatedDuration===null&&(m.calculatedDuration=ih(m));const{calculatedDuration:y}=m;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=m}updateTime(i){const a=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(i,a=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:f,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:m=0,keyframes:y,repeat:g,repeatType:b,repeatDelay:w,type:A,onUpdate:C,finalKeyframe:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-l/this.speed,this.startTime)),a?this.currentTime=i:this.updateTime(i);const N=this.currentTime-m*(this.playbackSpeed>=0?1:-1),O=this.playbackSpeed>=0?N<0:N>l;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let V=this.currentTime,P=r;if(g){const H=Math.min(this.currentTime,l)/h;let I=Math.floor(H),W=H%1;!W&&H>=1&&(W=1),W===1&&I--,I=Math.min(I,g+1),I%2&&(b==="reverse"?(W=1-W,w&&(W-=w/h)):b==="mirror"&&(P=f)),V=on(0,1,W)*h}let U;O?(this.delayState.value=y[0],U=this.delayState):U=P.next(V),u&&!O&&(U.value=u(U.value));let{done:Q}=U;!O&&p!==null&&(Q=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const Z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Q);return Z&&A!==Jf&&(U.value=Bl(y,this.options,R,this.speed)),C&&C(U.value),Z&&this.finish(),U}then(i,a){return this.finished.then(i,a)}get duration(){return Xe(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Xe(i)}get time(){return Xe(this.currentTime)}set time(i){i=_e(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const a=this.generator.next(i).value;return e1(r=>this.generator.next(r).value,i,a)}get speed(){return this.playbackSpeed}set speed(i){const a=this.playbackSpeed!==i;a&&this.driver&&this.updateTime(me.now()),this.playbackSpeed=i,a&&this.driver&&(this.time=Xe(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=PM,startTime:a}=this.options;this.driver||(this.driver=i(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=a??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(me.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(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function tD(e){for(let i=1;i<e.length;i++)e[i]??(e[i]=e[i-1])}const Xi=e=>e*180/Math.PI,$f=e=>{const i=Xi(Math.atan2(e[1],e[0]));return td(i)},eD={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:$f,rotateZ:$f,skewX:e=>Xi(Math.atan(e[1])),skewY:e=>Xi(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},td=e=>(e=e%360,e<0&&(e+=360),e),Sv=$f,Tv=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Av=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nD={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Tv,scaleY:Av,scale:e=>(Tv(e)+Av(e))/2,rotateX:e=>td(Xi(Math.atan2(e[6],e[5]))),rotateY:e=>td(Xi(Math.atan2(-e[2],e[0]))),rotateZ:Sv,rotate:Sv,skewX:e=>Xi(Math.atan(e[4])),skewY:e=>Xi(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ed(e){return e.includes("scale")?1:0}function nd(e,i){if(!e||e==="none")return ed(i);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(a)r=nD,l=a;else{const h=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eD,l=h}if(!l)return ed(i);const u=r[i],f=l[1].split(",").map(sD);return typeof u=="function"?u(f):f[u]}const iD=(e,i)=>{const{transform:a="none"}=getComputedStyle(e);return nd(a,i)};function sD(e){return parseFloat(e.trim())}const $s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ta=new Set([...$s,"pathRotation"]),Ev=e=>e===Js||e===at,aD=new Set(["x","y","z"]),rD=$s.filter(e=>!aD.has(e));function oD(e){const i=[];return rD.forEach(a=>{const r=e.getValue(a);r!==void 0&&(i.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),i}const yi={width:({x:e},{paddingLeft:i="0",paddingRight:a="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-parseFloat(i)-parseFloat(a)},height:({y:e},{paddingTop:i="0",paddingBottom:a="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-parseFloat(i)-parseFloat(a)},top:(e,{top:i})=>parseFloat(i),left:(e,{left:i})=>parseFloat(i),bottom:({y:e},{top:i})=>parseFloat(i)+(e.max-e.min),right:({x:e},{left:i})=>parseFloat(i)+(e.max-e.min),x:(e,{transform:i})=>nd(i,"x"),y:(e,{transform:i})=>nd(i,"y")};yi.translateX=yi.x;yi.translateY=yi.y;const Fi=new Set;let id=!1,sd=!1,ad=!1;function s1(){if(sd){const e=Array.from(Fi).filter(r=>r.needsMeasurement),i=new Set(e.map(r=>r.element)),a=new Map;i.forEach(r=>{const l=oD(r);l.length&&(a.set(r,l),r.render())}),e.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const l=a.get(r);l&&l.forEach(([u,f])=>{r.getValue(u)?.set(f)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}sd=!1,id=!1,Fi.forEach(e=>e.complete(ad)),Fi.clear()}function a1(){Fi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(sd=!0)})}function lD(){ad=!0,a1(),s1(),ad=!1}class rh{constructor(i,a,r,l,u,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=a,this.name=r,this.motionValue=l,this.element=u,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(Fi.add(this),id||(id=!0,Et.read(a1),Et.resolveKeyframes(s1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:a,element:r,motionValue:l}=this;if(i[0]===null){const u=l?.get(),f=i[i.length-1];if(u!==void 0)i[0]=u;else if(r&&a){const h=r.readValue(a,f);h!=null&&(i[0]=h)}i[0]===void 0&&(i[0]=f),l&&u===void 0&&l.set(i[0])}tD(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),Fi.delete(this)}cancel(){this.state==="scheduled"&&(Fi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const cD=e=>e.startsWith("--");function r1(e,i,a){cD(i)?e.style.setProperty(i,a):e.style[i]=a}const uD={};function oh(e,i){const a=Lx(e);return()=>uD[i]??a()}const lh=oh(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),o1=oh(()=>window.ViewTimeline!==void 0,"viewTimeline"),l1=oh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),nr=([e,i,a,r])=>`cubic-bezier(${e}, ${i}, ${a}, ${r})`,Cv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:nr([0,.65,.55,1]),circOut:nr([.55,0,1,.45]),backIn:nr([.31,.01,.66,-.59]),backOut:nr([.33,1.53,.69,.99])};function c1(e,i){if(e)return typeof e=="function"?l1()?t1(e,i):"ease-out":Yx(e)?nr(e):Array.isArray(e)?e.map(a=>c1(a,i)||Cv.easeOut):Cv[e]}function fD(e,i,a,{delay:r=0,duration:l=300,repeat:u=0,repeatType:f="loop",ease:h="easeOut",times:p}={},m=void 0){const y={[i]:a};p&&(y.offset=p);const g=c1(h,l);Array.isArray(g)&&(y.easing=g);const b={delay:r,duration:l,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return m&&(b.pseudoElement=m),e.animate(y,b)}function u1(e){return typeof e=="function"&&"applyToOptions"in e}function dD({type:e,...i}){return u1(e)&&l1()?e.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class f1 extends ah{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:a,name:r,keyframes:l,pseudoElement:u,allowFlatten:f=!1,finalKeyframe:h,onComplete:p}=i;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=i,Qd(typeof i.type!="string");const m=dD(i);this.animation=fD(a,r,l,m,u),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=Bl(l,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(y),r1(a,r,y),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:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const i=this.options?.element;!this.isPseudoElement&&i?.isConnected&&this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return Xe(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Xe(i)}get time(){return Xe(Number(this.animation.currentTime)||0)}set time(i){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=_e(i),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:a,rangeEnd:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&lh()?(this.animation.timeline=i,a&&(this.animation.rangeStart=a),r&&(this.animation.rangeEnd=r),we):l(this)}}const d1={anticipate:Ux,backInOut:Bx,circInOut:qx};function hD(e){return e in d1}function mD(e){typeof e.ease=="string"&&hD(e.ease)&&(e.ease=d1[e.ease])}const Sf=10;class pD extends f1{constructor(i){mD(i),i1(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:a,onUpdate:r,onComplete:l,element:u,...f}=this.options;if(!a)return;if(i!==void 0){a.set(i);return}const h=new bl({...f,autoplay:!1}),p=Math.max(Sf,me.now()-this.startTime),m=on(0,Sf,p-Sf),y=h.sample(p).value,{name:g}=this.options;u&&g&&r1(u,g,y),a.setWithVelocity(h.sample(Math.max(0,p-m)).value,y,m),h.stop()}}const Rv=(e,i)=>i==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(nn.test(e)||e==="0")&&!e.startsWith("url("));function yD(e){const i=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==i)return!0}function gD(e,i,a,r){const l=e[0];if(l===null)return!1;if(i==="display"||i==="visibility")return!0;const u=e[e.length-1],f=Rv(l,i),h=Rv(u,i);return!f||!h?!1:yD(e)||(a==="spring"||u1(a))&&r}function rd(e){e.duration=0,e.type="keyframes"}const h1=new Set(["opacity","clipPath","filter","transform"]),vD=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function bD(e){for(let i=0;i<e.length;i++)if(typeof e[i]=="string"&&vD.test(e[i]))return!0;return!1}const xD=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),wD=Lx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function SD(e){const{motionValue:i,name:a,repeatDelay:r,repeatType:l,damping:u,type:f,keyframes:h}=e;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:y}=i.owner.getProps();return wD()&&a&&(h1.has(a)||xD.has(a)&&bD(h))&&(a!=="transform"||!y)&&!m&&!r&&l!=="mirror"&&u!==0&&f!=="inertia"}const TD=40;class AD extends ah{constructor({autoplay:i=!0,delay:a=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:f="loop",keyframes:h,name:p,motionValue:m,element:y,...g}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=me.now();const b={autoplay:i,delay:a,type:r,repeat:l,repeatDelay:u,repeatType:f,name:p,motionValue:m,element:y,...g},w=y?.KeyframeResolver||rh;this.keyframeResolver=new w(h,(A,C,R)=>this.onKeyframesResolved(A,C,b,!R),p,m,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,a,r,l){this.keyframeResolver=void 0;const{name:u,type:f,velocity:h,delay:p,isHandoff:m,onUpdate:y}=r;this.resolvedAt=me.now();let g=!0;gD(i,u,f,h)||(g=!1,(xi.instantAnimations||!p)&&y?.(Bl(i,r,a)),i[0]=i[i.length-1],rd(r),r.repeat=0);const w={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>TD?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...r,keyframes:i},A=g&&!m&&SD(w),C=w.motionValue?.owner?.current;let R;if(A)try{R=new pD({...w,element:C})}catch{R=new bl(w)}else R=new bl(w);R.finished.then(()=>{this.notifyFinished()}).catch(we),this.pendingTimeline&&(this.stopTimeline=R.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=R}get finished(){return this._animation?this.animation.finished:this._finished}then(i,a){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),lD()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function m1(e,i,a,r=0,l=1){const u=Array.from(e).sort((m,y)=>m.sortNodePosition(y)).indexOf(i),f=e.size,h=(f-1)*r;return typeof a=="function"?a(u,f):l===1?u*r:h-u*r}const Mv=30,ED=e=>!isNaN(parseFloat(e)),lr={current:void 0};class CD{constructor(i,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=me.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 u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=a.owner}setCurrent(i){this.current=i,this.updatedAt=me.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=ED(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,a){this.events[i]||(this.events[i]=new Zd);const r=this.events[i].add(a);return i==="change"?()=>{r(),Et.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,a){this.passiveEffect=i,this.stopPassiveEffect=a}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,a=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return lr.current&&lr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const i=me.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Mv)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Mv);return Wd(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(i){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=i(a),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 en(e,i){return new CD(e,i)}function p1(e,i){if(e?.inherit&&i){const{inherit:a,...r}=e;return{...i,...r}}return e}function ch(e,i){const a=e?.[i]??e?.default??e;return a!==e?p1(a,e):a}const RD={type:"spring",stiffness:500,damping:25,restSpeed:10},MD=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),DD={type:"keyframes",duration:.8},OD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ND=(e,{keyframes:i})=>i.length>2?DD:ta.has(e)?e.startsWith("scale")?MD(i[1]):RD:OD,jD=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function VD(e){for(const i in e)if(!jD.has(i))return!0;return!1}const uh=(e,i,a,r={},l,u)=>f=>{const h=ch(r,e)||{},p=h.delay||r.delay||0;let{elapsed:m=0}=r;m=m-_e(p);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:i.getVelocity(),...h,delay:-m,onUpdate:b=>{i.set(b),h.onUpdate&&h.onUpdate(b)},onComplete:()=>{f(),h.onComplete&&h.onComplete()},name:e,motionValue:i,element:u?void 0:l};VD(h)||Object.assign(y,ND(e,y)),y.duration&&(y.duration=_e(y.duration)),y.repeatDelay&&(y.repeatDelay=_e(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let g=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(rd(y),y.delay===0&&(g=!0)),(xi.instantAnimations||xi.skipAnimations||l?.shouldSkipAnimations||h.skipAnimations)&&(g=!0,rd(y),y.delay=0),y.allowFlatten=!h.type&&!h.ease,g&&!u&&i.get()!==void 0){const b=Bl(y.keyframes,h);if(b!==void 0){Et.update(()=>{y.onUpdate(b),y.onComplete()});return}}return h.isSync?new bl(y):new AD(y)},LD=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _D(e){const i=LD.exec(e);if(!i)return[,];const[,a,r,l]=i;return[`--${a??r}`,l]}function y1(e,i,a=1){const[r,l]=_D(e);if(!r)return;const u=window.getComputedStyle(i).getPropertyValue(r);if(u){const f=u.trim();return Nx(f)?parseFloat(f):f}return $d(l)?y1(l,i,a+1):l}function Dv(e){const i=[{},{}];return e?.values.forEach((a,r)=>{i[0][r]=a.get(),i[1][r]=a.getVelocity()}),i}function fh(e,i,a,r){if(typeof i=="function"){const[l,u]=Dv(r);i=i(a!==void 0?a:e.custom,l,u)}if(typeof i=="string"&&(i=e.variants&&e.variants[i]),typeof i=="function"){const[l,u]=Dv(r);i=i(a!==void 0?a:e.custom,l,u)}return i}function Qi(e,i,a){const r=e.getProps();return fh(r,i,a!==void 0?a:r.custom,e)}const g1=new Set(["width","height","top","left","right","bottom",...$s]),od=e=>Array.isArray(e);function zD(e,i,a){e.hasValue(i)?e.getValue(i).set(a):e.addValue(i,en(a))}function kD(e){return od(e)?e[e.length-1]||0:e}function PD(e,i){const a=Qi(e,i);let{transitionEnd:r={},transition:l={},...u}=a||{};u={...u,...r};for(const f in u){const h=kD(u[f]);zD(e,f,h)}}const le=e=>!!(e&&e.getVelocity);function BD(e){return!!(le(e)&&e.add)}function ld(e,i){const a=e.getValue("willChange");if(BD(a))return a.add(i);if(!a&&xi.WillChange){const r=new xi.WillChange("auto");e.addValue("willChange",r),r.add(i)}}function dh(e){return e.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const UD="framerAppearId",v1="data-"+dh(UD);function b1(e){return e.props[v1]}function HD({protectedKeys:e,needsAnimating:i},a){const r=e.hasOwnProperty(a)&&i[a]!==!0;return i[a]=!1,r}function x1(e,i,{delay:a=0,transitionOverride:r,type:l}={}){let{transition:u,transitionEnd:f,...h}=i;const p=e.getDefaultTransition();u=u?p1(u,p):p;const m=u?.reduceMotion,y=u?.skipAnimations;r&&(u=r);const g=[],b=l&&e.animationState&&e.animationState.getState()[l],w=u?.path;w&&w.animateVisualElement(e,h,u,a,g);for(const A in h){const C=e.getValue(A,e.latestValues[A]??null),R=h[A];if(R===void 0||b&&HD(b,A))continue;const N={delay:a,...ch(u||{},A)};y&&(N.skipAnimations=!0);const O=C.get();if(O!==void 0&&!C.isAnimating()&&!Array.isArray(R)&&R===O&&!N.velocity){Et.update(()=>C.set(R));continue}let V=!1;if(window.MotionHandoffAnimation){const Q=b1(e);if(Q){const Z=window.MotionHandoffAnimation(Q,A,Et);Z!==null&&(N.startTime=Z,V=!0)}}ld(e,A);const P=m??e.shouldReduceMotion;C.start(uh(A,C,R,P&&g1.has(A)?{type:!1}:N,e,V));const U=C.animation;U&&g.push(U)}if(f){const A=()=>Et.update(()=>{f&&PD(e,f)});g.length?Promise.all(g).then(A):A()}return g}function cd(e,i,a={}){const r=Qi(e,i,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=r||{};a.transitionOverride&&(l=a.transitionOverride);const u=r?()=>Promise.all(x1(e,r,a)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:m=0,staggerChildren:y,staggerDirection:g}=l;return qD(e,i,p,m,y,g,a)}:()=>Promise.resolve(),{when:h}=l;if(h){const[p,m]=h==="beforeChildren"?[u,f]:[f,u];return p().then(()=>m())}else return Promise.all([u(),f(a.delay)])}function qD(e,i,a=0,r=0,l=0,u=1,f){const h=[];for(const p of e.variantChildren)p.notify("AnimationStart",i),h.push(cd(p,i,{...f,delay:a+(typeof r=="function"?0:r)+m1(e.variantChildren,p,r,l,u)}).then(()=>p.notify("AnimationComplete",i)));return Promise.all(h)}function GD(e,i,a={}){e.notify("AnimationStart",i);let r;if(Array.isArray(i)){const l=i.map(u=>cd(e,u,a));r=Promise.all(l)}else if(typeof i=="string")r=cd(e,i,a);else{const l=typeof i=="function"?Qi(e,i,a.custom):i;r=Promise.all(x1(e,l,a))}return r.then(()=>{e.notify("AnimationComplete",i)})}const YD={test:e=>e==="auto",parse:e=>e},w1=e=>i=>i.test(e),S1=[Js,at,xn,Bn,bM,vM,YD],Ov=e=>S1.find(w1(e));function KD(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Vx(e):!0}const XD=new Set(["brightness","contrast","saturate","opacity"]);function FD(e){const[i,a]=e.slice(0,-1).split("(");if(i==="drop-shadow")return e;const[r]=a.match(th)||[];if(!r)return e;const l=a.replace(r,"");let u=XD.has(i)?1:0;return r!==a&&(u*=100),i+"("+u+l+")"}const QD=/\b([a-z-]*)\(.*?\)/gu,ud={...nn,getAnimatableNone:e=>{const i=e.match(QD);return i?i.map(FD).join(" "):e}},fd={...nn,getAnimatableNone:e=>{const i=nn.parse(e);return nn.createTransformer(e)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Nv={...Js,transform:Math.round},ZD={rotate:Bn,pathRotation:Bn,rotateX:Bn,rotateY:Bn,rotateZ:Bn,scale:Qo,scaleX:Qo,scaleY:Qo,scaleZ:Qo,skew:Bn,skewX:Bn,skewY:Bn,distance:at,translateX:at,translateY:at,translateZ:at,x:at,y:at,z:at,perspective:at,transformPerspective:at,opacity:mr,originX:gv,originY:gv,originZ:at},xl={borderWidth:at,borderTopWidth:at,borderRightWidth:at,borderBottomWidth:at,borderLeftWidth:at,borderRadius:at,borderTopLeftRadius:at,borderTopRightRadius:at,borderBottomRightRadius:at,borderBottomLeftRadius:at,width:at,maxWidth:at,height:at,maxHeight:at,top:at,right:at,bottom:at,left:at,inset:at,insetBlock:at,insetBlockStart:at,insetBlockEnd:at,insetInline:at,insetInlineStart:at,insetInlineEnd:at,padding:at,paddingTop:at,paddingRight:at,paddingBottom:at,paddingLeft:at,paddingBlock:at,paddingBlockStart:at,paddingBlockEnd:at,paddingInline:at,paddingInlineStart:at,paddingInlineEnd:at,margin:at,marginTop:at,marginRight:at,marginBottom:at,marginLeft:at,marginBlock:at,marginBlockStart:at,marginBlockEnd:at,marginInline:at,marginInlineStart:at,marginInlineEnd:at,fontSize:at,backgroundPositionX:at,backgroundPositionY:at,...ZD,zIndex:Nv,fillOpacity:mr,strokeOpacity:mr,numOctaves:Nv},WD={...xl,color:Ft,backgroundColor:Ft,outlineColor:Ft,fill:Ft,stroke:Ft,borderColor:Ft,borderTopColor:Ft,borderRightColor:Ft,borderBottomColor:Ft,borderLeftColor:Ft,filter:ud,WebkitFilter:ud,mask:fd,WebkitMask:fd},T1=e=>WD[e],ID=new Set([ud,fd]);function A1(e,i){let a=T1(e);return ID.has(a)||(a=nn),a.getAnimatableNone?a.getAnimatableNone(i):void 0}const JD=new Set(["auto","none","0"]);function $D(e,i,a){let r=0,l;for(;r<e.length&&!l;){const u=e[r];typeof u=="string"&&!JD.has(u)&&Fs(u).values.length&&(l=e[r]),r++}if(l&&a)for(const u of i)e[u]=A1(a,l)}class tO extends rh{constructor(i,a,r,l,u){super(i,a,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<i.length;y++){let g=i[y];if(typeof g=="string"&&(g=g.trim(),$d(g))){const b=y1(g,a.current);b!==void 0&&(i[y]=b),y===i.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!g1.has(r)||i.length!==2)return;const[l,u]=i,f=Ov(l),h=Ov(u),p=yv(l),m=yv(u);if(p!==m&&yi[r]){this.needsMeasurement=!0;return}if(f!==h)if(Ev(f)&&Ev(h))for(let y=0;y<i.length;y++){const g=i[y];typeof g=="string"&&(i[y]=parseFloat(g))}else yi[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:a}=this,r=[];for(let l=0;l<i.length;l++)(i[l]===null||KD(i[l]))&&r.push(l);r.length&&$D(i,r,a)}measureInitialState(){const{element:i,unresolvedKeyframes:a,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=yi[r](i.measureViewportBox(),window.getComputedStyle(i.current)),a[0]=this.measuredOrigin;const l=a[a.length-1];l!==void 0&&i.getValue(r,l).jump(l,!1)}measureEndState(){const{element:i,name:a,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const l=i.getValue(a);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,f=r[u];r[u]=yi[a](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,p])=>{i.getValue(h).set(p)}),this.resolveNoneKeyframes()}}function E1(e,i,a){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const l=document.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e).filter(r=>r!=null)}const dd=(e,i)=>i&&typeof e=="number"?i.transform(e):e;function C1(e){return jx(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Qs,cancel:R1}=Kx(queueMicrotask,!1),$e={x:!1,y:!1};function M1(){return $e.x||$e.y}function eO(e){return e==="x"||e==="y"?$e[e]?null:($e[e]=!0,()=>{$e[e]=!1}):$e.x||$e.y?null:($e.x=$e.y=!0,()=>{$e.x=$e.y=!1})}function D1(e,i){const a=E1(e),r=new AbortController,l={passive:!0,...i,signal:r.signal};return[a,l,()=>r.abort()]}function nO(e){return!(e.pointerType==="touch"||M1())}function iO(e,i,a={}){const[r,l,u]=D1(e,a);return r.forEach(f=>{let h=!1,p=!1,m;const y=()=>{f.removeEventListener("pointerleave",A)},g=R=>{m&&(m(R),m=void 0),y()},b=R=>{h=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),p&&(p=!1,g(R))},w=()=>{h=!0,window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",b,l)},A=R=>{if(R.pointerType!=="touch"){if(h){p=!0;return}g(R)}},C=R=>{if(!nO(R))return;p=!1;const N=i(f,R);typeof N=="function"&&(m=N,f.addEventListener("pointerleave",A,l))};f.addEventListener("pointerenter",C,l),f.addEventListener("pointerdown",w,l)}),u}const O1=(e,i)=>i?e===i?!0:O1(e,i.parentElement):!1,hh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,sO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function aO(e){return sO.has(e.tagName)||e.isContentEditable===!0}const rO=new Set(["INPUT","SELECT","TEXTAREA"]);function oO(e){return rO.has(e.tagName)||e.isContentEditable===!0}const nl=new WeakSet;function jv(e){return i=>{i.key==="Enter"&&e(i)}}function Tf(e,i){e.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const lO=(e,i)=>{const a=e.currentTarget;if(!a)return;const r=jv(()=>{if(nl.has(a))return;Tf(a,"down");const l=jv(()=>{Tf(a,"up")}),u=()=>Tf(a,"cancel");a.addEventListener("keyup",l,i),a.addEventListener("blur",u,i)});a.addEventListener("keydown",r,i),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),i)};function Vv(e){return hh(e)&&!M1()}const Lv=new WeakSet;function cO(e,i,a={}){const[r,l,u]=D1(e,a),f=h=>{const p=h.currentTarget;if(!Vv(h)||Lv.has(h))return;nl.add(p),a.stopPropagation&&Lv.add(h);const m=i(p,h),y=(w,A)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",b),nl.has(p)&&nl.delete(p),Vv(w)&&typeof m=="function"&&m(w,{success:A})},g=w=>{y(w,p===window||p===document||a.useGlobalTarget||O1(p,w.target))},b=w=>{y(w,!1)};window.addEventListener("pointerup",g,l),window.addEventListener("pointercancel",b,l)};return r.forEach(h=>{(a.useGlobalTarget?window:h).addEventListener("pointerdown",f,l),C1(h)&&(h.addEventListener("focus",m=>lO(m,l)),!aO(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function mh(e){return jx(e)&&"ownerSVGElement"in e}const il=new WeakMap;let sl;const N1=(e,i,a)=>(r,l)=>l&&l[0]?l[0][e+"Size"]:mh(r)&&"getBBox"in r?r.getBBox()[i]:r[a],uO=N1("inline","width","offsetWidth"),fO=N1("block","height","offsetHeight");function dO({target:e,borderBoxSize:i}){il.get(e)?.forEach(a=>{a(e,{get width(){return uO(e,i)},get height(){return fO(e,i)}})})}function hO(e){e.forEach(dO)}function mO(){typeof ResizeObserver>"u"||(sl=new ResizeObserver(hO))}function pO(e,i){sl||mO();const a=E1(e);return a.forEach(r=>{let l=il.get(r);l||(l=new Set,il.set(r,l)),l.add(i),sl?.observe(r)}),()=>{a.forEach(r=>{const l=il.get(r);l?.delete(i),l?.size||sl?.unobserve(r)})}}const al=new Set;let Bs;function yO(){Bs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};al.forEach(i=>i(e))},window.addEventListener("resize",Bs)}function gO(e){return al.add(e),Bs||yO(),()=>{al.delete(e),!al.size&&typeof Bs=="function"&&(window.removeEventListener("resize",Bs),Bs=void 0)}}function hd(e,i){return typeof e=="function"?gO(e):pO(e,i)}function j1(e,i){let a;const r=()=>{const{currentTime:l}=i,f=(l===null?0:l.value)/100;a!==f&&e(f),a=f};return Et.preUpdate(r,!0),()=>Fe(r)}function vO(e){return mh(e)&&e.tagName==="svg"}function bO(...e){const i=!Array.isArray(e[0]),a=i?0:-1,r=e[0+a],l=e[1+a],u=e[2+a],f=e[3+a],h=sh(l,u,f);return i?h(r):h}const xO=[...S1,Ft,nn],wO=e=>xO.find(w1(e)),_v=()=>({translate:0,scale:1,origin:0,originPoint:0}),Us=()=>({x:_v(),y:_v()}),zv=()=>({min:0,max:0}),It=()=>({x:zv(),y:zv()}),SO=new WeakMap;function Ul(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function pr(e){return typeof e=="string"||Array.isArray(e)}const ph=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yh=["initial",...ph];function Hl(e){return Ul(e.animate)||yh.some(i=>pr(e[i]))}function V1(e){return!!(Hl(e)||e.variants)}function TO(e,i,a){for(const r in i){const l=i[r],u=a[r];if(le(l))e.addValue(r,l);else if(le(u))e.addValue(r,en(l,{owner:e}));else if(u!==l)if(e.hasValue(r)){const f=e.getValue(r);f.liveStyle===!0?f.jump(l):f.hasAnimated||f.set(l)}else{const f=e.getStaticValue(r);e.addValue(r,en(f!==void 0?f:l,{owner:e}))}}for(const r in a)i[r]===void 0&&e.removeValue(r);return i}const md={current:null},L1={current:!1},AO=typeof window<"u";function EO(){if(L1.current=!0,!!AO)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),i=()=>md.current=e.matches;e.addEventListener("change",i),i()}else md.current=!1}const kv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let wl={};function _1(e){wl=e}function CO(){return wl}class RO{scrapeMotionValuesFromProps(i,a,r){return{}}constructor({parent:i,props:a,presenceContext:r,reducedMotionConfig:l,skipAnimations:u,blockInitialAnimation:f,visualState:h},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=rh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=me.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,Et.render(this.render,!1,!0))};const{latestValues:m,renderState:y}=h;this.latestValues=m,this.baseTarget={...m},this.initialValues=a.initial?{...m}:{},this.renderState=y,this.parent=i,this.props=a,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=u,this.options=p,this.blockInitialAnimation=!!f,this.isControllingVariants=Hl(a),this.isVariantNode=V1(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:g,...b}=this.scrapeMotionValuesFromProps(a,{},this);for(const w in b){const A=b[w];m[w]!==void 0&&le(A)&&A.set(m[w])}}mount(i){if(this.hasBeenMounted)for(const a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=i,SO.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,r)=>this.bindToMotionValue(r,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(L1.current||EO(),this.shouldReduceMotion=md.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Fe(this.notifyUpdate),Fe(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const a=this.features[i];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,a){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),a.accelerate&&h1.has(i)&&this.current instanceof HTMLElement){const{factory:f,keyframes:h,times:p,ease:m,duration:y}=a.accelerate,g=new f1({element:this.current,name:i,keyframes:h,times:p,ease:m,duration:_e(y)}),b=f(g);this.valueSubscriptions.set(i,()=>{b(),g.cancel()});return}const r=ta.has(i);r&&this.onBindTransform&&this.onBindTransform();const l=a.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&Et.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,i,a)),this.valueSubscriptions.set(i,()=>{l(),u&&u()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in wl){const a=wl[i];if(!a)continue;const{isEnabled:r,Feature:l}=a;if(!this.features[i]&&l&&r(this.props)&&(this.features[i]=new l(this)),this.features[i]){const u=this.features[i];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):It()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,a){this.latestValues[i]=a}update(i,a){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<kv.length;r++){const l=kv[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,f=i[u];f&&(this.propEventSubscriptions[l]=this.on(l,f))}this.prevMotionValues=TO(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(i),()=>a.variantChildren.delete(i)}addValue(i,a){const r=this.values.get(i);a!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,a),this.values.set(i,a),this.latestValues[i]=a.get())}removeValue(i){this.values.delete(i);const a=this.valueSubscriptions.get(i);a&&(a(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,a){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&a!==void 0&&(r=en(a===null?void 0:a,{owner:this}),this.addValue(i,r)),r}readValue(i,a){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(Nx(r)||Vx(r))?r=parseFloat(r):!wO(r)&&nn.test(a)&&(r=A1(i,a)),this.setBaseTarget(i,le(r)?r.get():r)),le(r)?r.get():r}setBaseTarget(i,a){this.baseTarget[i]=a}getBaseTarget(i){const{initial:a}=this.props;let r;if(typeof a=="string"||typeof a=="object"){const u=fh(this.props,a,this.presenceContext?.custom);u&&(r=u[i])}if(a&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,i);return l!==void 0&&!le(l)?l:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,a){return this.events[i]||(this.events[i]=new Zd),this.events[i].add(a)}notify(i,...a){this.events[i]&&this.events[i].notify(...a)}scheduleRenderMicrotask(){Qs.render(this.render)}}class z1 extends RO{constructor(){super(...arguments),this.KeyframeResolver=tO}sortInstanceNodePosition(i,a){return i.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(i,a){const r=i.style;return r?r[a]:void 0}removeValueFromRenderState(i,{vars:a,style:r}){delete a[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;le(i)&&(this.childSubscription=i.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class Si{constructor(i){this.isMounted=!1,this.node=i}update(){}}function k1({top:e,left:i,right:a,bottom:r}){return{x:{min:i,max:a},y:{min:e,max:r}}}function MO({x:e,y:i}){return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function DO(e,i){if(!i)return e;const a=i({x:e.left,y:e.top}),r=i({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function Af(e){return e===void 0||e===1}function pd({scale:e,scaleX:i,scaleY:a}){return!Af(e)||!Af(i)||!Af(a)}function Yi(e){return pd(e)||P1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function P1(e){return Pv(e.x)||Pv(e.y)}function Pv(e){return e&&e!=="0%"}function Sl(e,i,a){const r=e-a,l=i*r;return a+l}function Bv(e,i,a,r,l){return l!==void 0&&(e=Sl(e,l,r)),Sl(e,a,r)+i}function yd(e,i=0,a=1,r,l){e.min=Bv(e.min,i,a,r,l),e.max=Bv(e.max,i,a,r,l)}function B1(e,{x:i,y:a}){yd(e.x,i.translate,i.scale,i.originPoint),yd(e.y,a.translate,a.scale,a.originPoint)}const Uv=.999999999999,Hv=1.0000000000001;function OO(e,i,a,r=!1){const l=a.length;if(!l)return;i.x=i.y=1;let u,f;for(let h=0;h<l;h++){u=a[h],f=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(gn(e.x,-u.scroll.offset.x),gn(e.y,-u.scroll.offset.y)),f&&(i.x*=f.x.scale,i.y*=f.y.scale,B1(e,f)),r&&Yi(u.latestValues)&&rl(e,u.latestValues,u.layout?.layoutBox))}i.x<Hv&&i.x>Uv&&(i.x=1),i.y<Hv&&i.y>Uv&&(i.y=1)}function gn(e,i){e.min+=i,e.max+=i}function qv(e,i,a,r,l=.5){const u=_t(e.min,e.max,l);yd(e,i,a,u,r)}function Gv(e,i){return typeof e=="string"?parseFloat(e)/100*(i.max-i.min):e}function rl(e,i,a){const r=a??e;qv(e.x,Gv(i.x,r.x),i.scaleX,i.scale,i.originX),qv(e.y,Gv(i.y,r.y),i.scaleY,i.scale,i.originY)}function U1(e,i){return k1(DO(e.getBoundingClientRect(),i))}function NO(e,i,a){const r=U1(e,a),{scroll:l}=i;return l&&(gn(r.x,l.offset.x),gn(r.y,l.offset.y)),r}const jO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VO=$s.length;function LO(e,i,a){let r="",l=!0;for(let f=0;f<VO;f++){const h=$s[f],p=e[h];if(p===void 0)continue;let m=!0;if(typeof p=="number")m=p===(h.startsWith("scale")?1:0);else{const y=parseFloat(p);m=h.startsWith("scale")?y===1:y===0}if(!m||a){const y=dd(p,xl[h]);if(!m){l=!1;const g=jO[h]||h;r+=`${g}(${y}) `}a&&(i[h]=y)}}const u=e.pathRotation;return u&&(l=!1,r+=`rotate(${dd(u,xl.pathRotation)}) `),r=r.trim(),a?r=a(i,l?"":r):l&&(r="none"),r}function gh(e,i,a){const{style:r,vars:l,transformOrigin:u}=e;let f=!1,h=!1;for(const p in i){const m=i[p];if(ta.has(p)){f=!0;continue}else if(Fx(p)){l[p]=m;continue}else{const y=dd(m,xl[p]);p.startsWith("origin")?(h=!0,u[p]=y):r[p]=y}}if(i.transform||(f||a?r.transform=LO(i,e.transform,a):r.transform&&(r.transform="none")),h){const{originX:p="50%",originY:m="50%",originZ:y=0}=u;r.transformOrigin=`${p} ${m} ${y}`}}function H1(e,{style:i,vars:a},r,l){const u=e.style;let f;for(f in i)u[f]=i[f];l?.applyProjectionStyles(u,r);for(f in a)u.setProperty(f,a[f])}function Yv(e,i){return i.max===i.min?0:e/(i.max-i.min)*100}const er={correct:(e,i)=>{if(!i.target)return e;if(typeof e=="string")if(at.test(e))e=parseFloat(e);else return e;const a=Yv(e,i.target.x),r=Yv(e,i.target.y);return`${a}% ${r}%`}},_O={correct:(e,{treeScale:i,projectionDelta:a})=>{const r=e,l=nn.parse(e);if(l.length>5)return r;const u=nn.createTransformer(e),f=typeof l[0]!="number"?1:0,h=a.x.scale*i.x,p=a.y.scale*i.y;l[0+f]/=h,l[1+f]/=p;const m=_t(h,p,.5);return typeof l[2+f]=="number"&&(l[2+f]/=m),typeof l[3+f]=="number"&&(l[3+f]/=m),u(l)}},gd={borderRadius:{...er,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:er,borderTopRightRadius:er,borderBottomLeftRadius:er,borderBottomRightRadius:er,boxShadow:_O};function q1(e,{layout:i,layoutId:a}){return ta.has(e)||e.startsWith("origin")||(i||a!==void 0)&&(!!gd[e]||e==="opacity")}function vh(e,i,a){const r=e.style,l=i?.style,u={};if(!r)return u;for(const f in r)(le(r[f])||l&&le(l[f])||q1(f,e)||a?.getValue(f)?.liveStyle!==void 0)&&(u[f]=r[f]);return u}function zO(e){return window.getComputedStyle(e)}class kO extends z1{constructor(){super(...arguments),this.type="html",this.renderInstance=H1}readValueFromInstance(i,a){if(ta.has(a))return this.projection?.isProjecting?ed(a):iD(i,a);{const r=zO(i),l=(Fx(a)?r.getPropertyValue(a):r[a])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(i,{transformPagePoint:a}){return U1(i,a)}build(i,a,r){gh(i,a,r.transformTemplate)}scrapeMotionValuesFromProps(i,a,r){return vh(i,a,r)}}const PO={offset:"stroke-dashoffset",array:"stroke-dasharray"},BO={offset:"strokeDashoffset",array:"strokeDasharray"};function UO(e,i,a=1,r=0,l=!0){e.pathLength=1;const u=l?PO:BO;e[u.offset]=`${-r}`,e[u.array]=`${i} ${a}`}const HO=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function G1(e,{attrX:i,attrY:a,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:f=0,...h},p,m,y){if(gh(e,h,m),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:b}=e;g.transform&&(b.transform=g.transform,delete g.transform),(b.transform||g.transformOrigin)&&(b.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),b.transform&&(b.transformBox=y?.transformBox??"fill-box",delete g.transformBox);for(const w of HO)g[w]!==void 0&&(b[w]=g[w],delete g[w]);i!==void 0&&(g.x=i),a!==void 0&&(g.y=a),r!==void 0&&(g.scale=r),l!==void 0&&UO(g,l,u,f,!1)}const Y1=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"]),K1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function qO(e,i,a,r){H1(e,i,void 0,r);for(const l in i.attrs)e.setAttribute(Y1.has(l)?l:dh(l),i.attrs[l])}function X1(e,i,a){const r=vh(e,i,a);for(const l in e)if(le(e[l])||le(i[l])){const u=$s.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=e[l]}return r}class GO extends z1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=It}getBaseTargetFromProps(i,a){return i[a]}readValueFromInstance(i,a){if(ta.has(a)){const r=T1(a);return r&&r.default||0}return a=Y1.has(a)?a:dh(a),i.getAttribute(a)}scrapeMotionValuesFromProps(i,a,r){return X1(i,a,r)}build(i,a,r){G1(i,a,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,a,r,l){qO(i,a,r,l)}mount(i){this.isSVGTag=K1(i.tagName),super.mount(i)}}const YO=yh.length;function F1(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?F1(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const i={};for(let a=0;a<YO;a++){const r=yh[a],l=e.props[r];(pr(l)||l===!1)&&(i[r]=l)}return i}function Q1(e,i){if(!Array.isArray(i))return!1;const a=i.length;if(a!==e.length)return!1;for(let r=0;r<a;r++)if(i[r]!==e[r])return!1;return!0}const KO=[...ph].reverse(),XO=ph.length;function FO(e){return i=>Promise.all(i.map(({animation:a,options:r})=>GD(e,a,r)))}function QO(e){let i=FO(e),a=Kv(),r=!0,l=!1;const u=m=>(y,g)=>{const b=Qi(e,g,m==="exit"?e.presenceContext?.custom:void 0);if(b){const{transition:w,transitionEnd:A,...C}=b;y={...y,...C,...A}}return y};function f(m){i=m(e)}function h(m){const{props:y}=e,g=F1(e.parent)||{},b=[],w=new Set;let A={},C=1/0;for(let N=0;N<XO;N++){const O=KO[N],V=a[O],P=y[O]!==void 0?y[O]:g[O],U=pr(P),Q=O===m?V.isActive:null;Q===!1&&(C=N);let Z=P===g[O]&&P!==y[O]&&U;if(Z&&(r||l)&&e.manuallyAnimateOnMount&&(Z=!1),V.protectedKeys={...A},!V.isActive&&Q===null||!P&&!V.prevProp||Ul(P)||typeof P=="boolean")continue;if(O==="exit"&&V.isActive&&Q!==!0){V.prevResolvedValues&&(A={...A,...V.prevResolvedValues});continue}const H=ZO(V.prevProp,P);let I=H||O===m&&V.isActive&&!Z&&U||N>C&&U,W=!1;const lt=Array.isArray(P)?P:[P];let rt=lt.reduce(u(O),{});Q===!1&&(rt={});const{prevResolvedValues:yt={}}=V,tt={...yt,...rt},ut=K=>{I=!0,w.has(K)&&(W=!0,w.delete(K)),V.needsAnimating[K]=!0;const et=e.getValue(K);et&&(et.liveStyle=!1)};for(const K in tt){const et=rt[K],T=yt[K];if(A.hasOwnProperty(K))continue;let G=!1;od(et)&&od(T)?G=!Q1(et,T)||H:G=et!==T,G?et!=null?ut(K):w.add(K):et!==void 0&&w.has(K)?ut(K):V.protectedKeys[K]=!0}V.prevProp=P,V.prevResolvedValues=rt,V.isActive&&(A={...A,...rt}),(r||l)&&e.blockInitialAnimation&&(I=!1);const L=Z&&H;I&&(!L||W)&&b.push(...lt.map(K=>{const et={type:O};if(typeof K=="string"&&(r||l)&&!L&&e.manuallyAnimateOnMount&&e.parent){const{parent:T}=e,G=Qi(T,K);if(T.enteringChildren&&G){const{delayChildren:$}=G.transition||{};et.delay=m1(T.enteringChildren,e,$)}}return{animation:K,options:et}}))}if(w.size){const N={};if(typeof y.initial!="boolean"){const O=Qi(e,Array.isArray(y.initial)?y.initial[0]:y.initial);O&&O.transition&&(N.transition=O.transition)}w.forEach(O=>{const V=e.getBaseTarget(O),P=e.getValue(O);P&&(P.liveStyle=!0),N[O]=V??null}),b.push({animation:N})}let R=!!b.length;return r&&(y.initial===!1||y.initial===y.animate)&&!e.manuallyAnimateOnMount&&(R=!1),r=!1,l=!1,R?i(b):Promise.resolve()}function p(m,y){if(a[m].isActive===y)return Promise.resolve();e.variantChildren?.forEach(b=>b.animationState?.setActive(m,y)),a[m].isActive=y;const g=h(m);for(const b in a)a[b].protectedKeys={};return g}return{animateChanges:h,setActive:p,setAnimateFunction:f,getState:()=>a,reset:()=>{a=Kv(),l=!0}}}function ZO(e,i){return typeof i=="string"?i!==e:Array.isArray(i)?!Q1(i,e):!1}function Gi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Kv(){return{animate:Gi(!0),whileInView:Gi(),whileHover:Gi(),whileTap:Gi(),whileDrag:Gi(),whileFocus:Gi(),exit:Gi()}}function vd(e,i){e.min=i.min,e.max=i.max}function Je(e,i){vd(e.x,i.x),vd(e.y,i.y)}function Xv(e,i){e.translate=i.translate,e.scale=i.scale,e.originPoint=i.originPoint,e.origin=i.origin}const Z1=1e-4,WO=1-Z1,IO=1+Z1,W1=.01,JO=0-W1,$O=0+W1;function pe(e){return e.max-e.min}function tN(e,i,a){return Math.abs(e-i)<=a}function Fv(e,i,a,r=.5){e.origin=r,e.originPoint=_t(i.min,i.max,e.origin),e.scale=pe(a)/pe(i),e.translate=_t(a.min,a.max,e.origin)-e.originPoint,(e.scale>=WO&&e.scale<=IO||isNaN(e.scale))&&(e.scale=1),(e.translate>=JO&&e.translate<=$O||isNaN(e.translate))&&(e.translate=0)}function cr(e,i,a,r){Fv(e.x,i.x,a.x,r?r.originX:void 0),Fv(e.y,i.y,a.y,r?r.originY:void 0)}function Qv(e,i,a,r=0){const l=r?_t(a.min,a.max,r):a.min;e.min=l+i.min,e.max=e.min+pe(i)}function eN(e,i,a,r){Qv(e.x,i.x,a.x,r?.x),Qv(e.y,i.y,a.y,r?.y)}function Zv(e,i,a,r=0){const l=r?_t(a.min,a.max,r):a.min;e.min=i.min-l,e.max=e.min+pe(i)}function Tl(e,i,a,r){Zv(e.x,i.x,a.x,r?.x),Zv(e.y,i.y,a.y,r?.y)}function Wv(e,i,a,r,l){return e-=i,e=Sl(e,1/a,r),l!==void 0&&(e=Sl(e,1/l,r)),e}function nN(e,i=0,a=1,r=.5,l,u=e,f=e){if(xn.test(i)&&(i=parseFloat(i),i=_t(f.min,f.max,i/100)-f.min),typeof i!="number")return;let h=_t(u.min,u.max,r);e===u&&(h-=i),e.min=Wv(e.min,i,a,h,l),e.max=Wv(e.max,i,a,h,l)}function Iv(e,i,[a,r,l],u,f){nN(e,i[a],i[r],i[l],i.scale,u,f)}const iN=["x","scaleX","originX"],sN=["y","scaleY","originY"];function Jv(e,i,a,r){Iv(e.x,i,iN,a?a.x:void 0,r?r.x:void 0),Iv(e.y,i,sN,a?a.y:void 0,r?r.y:void 0)}function $v(e){return e.translate===0&&e.scale===1}function I1(e){return $v(e.x)&&$v(e.y)}function t0(e,i){return e.min===i.min&&e.max===i.max}function aN(e,i){return t0(e.x,i.x)&&t0(e.y,i.y)}function e0(e,i){return Math.round(e.min)===Math.round(i.min)&&Math.round(e.max)===Math.round(i.max)}function J1(e,i){return e0(e.x,i.x)&&e0(e.y,i.y)}function n0(e){return pe(e.x)/pe(e.y)}function i0(e,i){return e.translate===i.translate&&e.scale===i.scale&&e.originPoint===i.originPoint}function yn(e){return[e("x"),e("y")]}function rN(e,i,a){let r="";const l=e.x.translate/i.x,u=e.y.translate/i.y,f=a?.z||0;if((l||u||f)&&(r=`translate3d(${l}px, ${u}px, ${f}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),a){const{transformPerspective:m,rotate:y,pathRotation:g,rotateX:b,rotateY:w,skewX:A,skewY:C}=a;m&&(r=`perspective(${m}px) ${r}`),y&&(r+=`rotate(${y}deg) `),g&&(r+=`rotate(${g}deg) `),b&&(r+=`rotateX(${b}deg) `),w&&(r+=`rotateY(${w}deg) `),A&&(r+=`skewX(${A}deg) `),C&&(r+=`skewY(${C}deg) `)}const h=e.x.scale*i.x,p=e.y.scale*i.y;return(h!==1||p!==1)&&(r+=`scale(${h}, ${p})`),r||"none"}const $1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],oN=$1.length,s0=e=>typeof e=="string"?parseFloat(e):e,a0=e=>typeof e=="number"||at.test(e);function lN(e,i,a,r,l,u){l?(e.opacity=_t(0,a.opacity??1,cN(r)),e.opacityExit=_t(i.opacity??1,0,uN(r))):u&&(e.opacity=_t(i.opacity??1,a.opacity??1,r));for(let f=0;f<oN;f++){const h=$1[f];let p=r0(i,h),m=r0(a,h);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||a0(p)===a0(m)?(e[h]=Math.max(_t(s0(p),s0(m),r),0),(xn.test(m)||xn.test(p))&&(e[h]+="%")):e[h]=m}(i.rotate||a.rotate)&&(e.rotate=_t(i.rotate||0,a.rotate||0,r))}function r0(e,i){return e[i]!==void 0?e[i]:e.borderRadius}const cN=tw(0,.5,Hx),uN=tw(.5,.95,we);function tw(e,i,a){return r=>r<e?0:r>i?1:a(Xs(e,i,r))}function fN(e,i,a){const r=le(e)?e:en(e);return r.start(uh("",r,i,a)),r.animation}function yr(e,i,a,r={passive:!0}){return e.addEventListener(i,a,r),()=>e.removeEventListener(i,a)}const dN=(e,i)=>e.depth-i.depth;class hN{constructor(){this.children=[],this.isDirty=!1}add(i){Fd(this.children,i),this.isDirty=!0}remove(i){pl(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(dN),this.isDirty=!1,this.children.forEach(i)}}function mN(e,i){const a=me.now(),r=({timestamp:l})=>{const u=l-a;u>=i&&(Fe(r),e(u-i))};return Et.setup(r,!0),()=>Fe(r)}function ol(e){return le(e)?e.get():e}class pN{constructor(){this.members=[]}add(i){Fd(this.members,i);for(let a=this.members.length-1;a>=0;a--){const r=this.members[a];if(r===i||r===this.lead||r===this.prevLead)continue;const l=r.instance;(!l||l.isConnected===!1)&&!r.snapshot&&(pl(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(pl(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(i){for(let a=this.members.indexOf(i)-1;a>=0;a--){const r=this.members[a];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(i,a){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:u}=i.options;(l===void 0||l!==u)&&(i.resumeFrom=r,a&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root?.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{i.options.onExitComplete?.(),i.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const ll={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ef=["","X","Y","Z"],yN=1e3;let gN=0;function Cf(e,i,a,r){const{latestValues:l}=i;l[e]&&(a[e]=l[e],i.setStaticValue(e,0),r&&(r[e]=0))}function ew(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:i}=e.options;if(!i)return;const a=b1(i);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:l,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",Et,!(l||u))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&ew(r)}function nw({attachResizeListener:e,defaultParent:i,measureScroll:a,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(f={},h=i?.()){this.id=gN++,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(xN),this.nodes.forEach(CN),this.nodes.forEach(RN),this.nodes.forEach(wN)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new hN)}addEventListener(f,h){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Zd),this.eventHandlers.get(f).add(h)}notifyListeners(f,...h){const p=this.eventHandlers.get(f);p&&p.notify(...h)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=mh(f)&&!vO(f),this.instance=f;const{layoutId:h,layout:p,visualElement:m}=this.options;if(m&&!m.current&&m.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),e){let y,g=0;const b=()=>this.root.updateBlockedByResize=!1;Et.read(()=>{g=window.innerWidth}),e(f,()=>{const w=window.innerWidth;w!==g&&(g=w,this.root.updateBlockedByResize=!0,y&&y(),y=mN(b,250),ll.hasAnimatedSinceResize&&(ll.hasAnimatedSinceResize=!1,this.nodes.forEach(c0)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&m&&(h||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:g,hasRelativeLayoutChanged:b,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||m.getDefaultTransition()||jN,{onLayoutAnimationStart:C,onLayoutAnimationComplete:R}=m.getProps(),N=!this.targetLayout||!J1(this.targetLayout,w),O=!g&&b;if(this.options.layoutRoot||this.resumeFrom||O||g&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const V={...ch(A,"layout"),onPlay:C,onComplete:R};(m.shouldReduceMotion||this.options.layoutRoot)&&(V.delay=0,V.type=!1),this.startAnimation(V),this.setAnimationOrigin(y,O,V.path)}else g||c0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}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(),Fe(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(MN),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&&ew(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const g=this.path[y];g.shouldResetTransform=!0,(typeof g.latestValues.x=="string"||typeof g.latestValues.y=="string")&&(g.isLayoutDirty=!0),g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(TN),this.nodes.forEach(o0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(l0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(AN),this.nodes.forEach(EN),this.nodes.forEach(vN),this.nodes.forEach(bN)):this.nodes.forEach(l0),this.clearAllSnapshots();const h=me.now();ie.delta=on(0,1e3/60,h-ie.timestamp),ie.timestamp=h,ie.isProcessing=!0,gf.update.process(ie),gf.preRender.process(ie),gf.render.process(ie),ie.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Qs.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(SN),this.sharedNodes.forEach(DN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Et.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Et.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!pe(this.snapshot.measuredBox.x)&&!pe(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||(this.layoutCorrected=It()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(h=!1),h&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!I1(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,y=m!==this.prevTransformTemplateValue;f&&this.instance&&(h||Yi(this.latestValues)||y)&&(l(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return f&&(p=this.removeTransform(p)),VN(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return It();const h=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(LN))){const{scroll:m}=this.root;m&&(gn(h.x,m.offset.x),gn(h.y,m.offset.y))}return h}removeElementScroll(f){const h=It();if(Je(h,f),this.scroll?.wasRoot)return h;for(let p=0;p<this.path.length;p++){const m=this.path[p],{scroll:y,options:g}=m;m!==this.root&&y&&g.layoutScroll&&(y.wasRoot&&Je(h,f),gn(h.x,y.offset.x),gn(h.y,y.offset.y))}return h}applyTransform(f,h=!1,p){const m=p||It();Je(m,f);for(let y=0;y<this.path.length;y++){const g=this.path[y];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&(gn(m.x,-g.scroll.offset.x),gn(m.y,-g.scroll.offset.y)),Yi(g.latestValues)&&rl(m,g.latestValues,g.layout?.layoutBox)}return Yi(this.latestValues)&&rl(m,this.latestValues,this.layout?.layoutBox),m}removeTransform(f){const h=It();Je(h,f);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!Yi(m.latestValues))continue;let y;m.instance&&(pd(m.latestValues)&&m.updateSnapshot(),y=It(),Je(y,m.measurePageBox())),Jv(h,m.latestValues,m.snapshot?.layoutBox,y)}return Yi(this.latestValues)&&Jv(h,this.latestValues),h}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ie.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(f||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:g}=this.options;if(!this.layout||!(y||g))return;this.resolvedRelativeTargetAt=ie.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=It(),this.targetWithTransforms=It()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),eN(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Je(this.target,this.layout.layoutBox),B1(this.target,this.targetDelta)):Je(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||pd(this.parent.latestValues)||P1(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,h,p){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=It(),this.relativeTargetOrigin=It(),Tl(this.relativeTargetOrigin,h,p,this.options.layoutAnchor||void 0),Je(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const f=this.getLead(),h=!!this.resumingFrom||this!==f;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===ie.timestamp&&(p=!1),p)return;const{layout:m,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||y))return;Je(this.layoutCorrected,this.layout.layoutBox);const g=this.treeScale.x,b=this.treeScale.y;OO(this.layoutCorrected,this.treeScale,this.path,h),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=It());const{target:w}=f;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Xv(this.prevProjectionDelta.x,this.projectionDelta.x),Xv(this.prevProjectionDelta.y,this.projectionDelta.y)),cr(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==g||this.treeScale.y!==b||!i0(this.projectionDelta.x,this.prevProjectionDelta.x)||!i0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Us(),this.projectionDelta=Us(),this.projectionDeltaWithTransform=Us()}setAnimationOrigin(f,h=!1,p){const m=this.snapshot,y=m?m.latestValues:{},g={...this.latestValues},b=Us();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const w=It(),A=m?m.source:void 0,C=this.layout?this.layout.source:void 0,R=A!==C,N=this.getStack(),O=!N||N.members.length<=1,V=!!(R&&!O&&this.options.crossfade===!0&&!this.path.some(NN));this.animationProgress=0;let P;const U=p?.interpolateProjection(f);this.mixTargetDelta=Q=>{const Z=Q/1e3,H=U?.(Z);H?(b.x.translate=H.x,b.x.scale=_t(f.x.scale,1,Z),b.x.origin=f.x.origin,b.x.originPoint=f.x.originPoint,b.y.translate=H.y,b.y.scale=_t(f.y.scale,1,Z),b.y.origin=f.y.origin,b.y.originPoint=f.y.originPoint):(u0(b.x,f.x,Z),u0(b.y,f.y,Z)),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Tl(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ON(this.relativeTarget,this.relativeTargetOrigin,w,Z),P&&aN(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=It()),Je(P,this.relativeTarget)),R&&(this.animationValues=g,lN(g,y,this.latestValues,Z,V,O)),H&&H.rotate!==void 0&&(this.animationValues||(this.animationValues=g),this.animationValues.pathRotation=H.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Z},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Fe(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Et.update(()=>{ll.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=en(0)),this.motionValue.jump(0,!1),this.currentAnimation=fN(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),f.onUpdate&&f.onUpdate(h)},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(yN),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:h,target:p,layout:m,latestValues:y}=f;if(!(!h||!p||!m)){if(this!==f&&this.layout&&m&&iw(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||It();const g=pe(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+g;const b=pe(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+b}Je(h,p),rl(h,y),cr(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(f,h){this.sharedNodes.has(f)||this.sharedNodes.set(f,new pN),this.sharedNodes.get(f).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){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:h,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let h=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const m={};p.z&&Cf("z",f,m,this.animationValues);for(let y=0;y<Ef.length;y++)Cf(`rotate${Ef[y]}`,f,m,this.animationValues),Cf(`skew${Ef[y]}`,f,m,this.animationValues);f.render();for(const y in m)f.setStaticValue(y,m[y]),this.animationValues&&(this.animationValues[y]=m[y]);f.scheduleRender()}applyProjectionStyles(f,h){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=ol(h?.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=ol(h?.pointerEvents)||""),this.hasProjected&&!Yi(this.latestValues)&&(f.transform=p?p({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=m.animationValues||m.latestValues;this.applyTransformsToTarget();let g=rN(this.projectionDeltaWithTransform,this.treeScale,y);p&&(g=p(y,g)),f.transform=g;const{x:b,y:w}=this.projectionDelta;f.transformOrigin=`${b.origin*100}% ${w.origin*100}% 0`,m.animationValues?f.opacity=m===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=m===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const A in gd){if(y[A]===void 0)continue;const{correct:C,applyTo:R,isCSSVariable:N}=gd[A],O=g==="none"?y[A]:C(y[A],m);if(R){const V=R.length;for(let P=0;P<V;P++)f[R[P]]=O}else N?this.options.visualElement.renderState.vars[A]=O:f[A]=O}this.options.layoutId&&(f.pointerEvents=m===this?ol(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(o0),this.root.sharedNodes.clear()}}}function vN(e){e.updateLayout()}function bN(e){const i=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:r}=e.layout,{animationType:l}=e.options,u=i.source!==e.layout.source;if(l==="size")yn(y=>{const g=u?i.measuredBox[y]:i.layoutBox[y],b=pe(g);g.min=a[y].min,g.max=g.min+b});else if(l==="x"||l==="y"){const y=l==="x"?"y":"x";vd(u?i.measuredBox[y]:i.layoutBox[y],a[y])}else iw(l,i.layoutBox,a)&&yn(y=>{const g=u?i.measuredBox[y]:i.layoutBox[y],b=pe(a[y]);g.max=g.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+b)});const f=Us();cr(f,a,i.layoutBox);const h=Us();u?cr(h,e.applyTransform(r,!0),i.measuredBox):cr(h,a,i.layoutBox);const p=!I1(f);let m=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:g,layout:b}=y;if(g&&b){const w=e.options.layoutAnchor||void 0,A=It();Tl(A,i.layoutBox,g.layoutBox,w);const C=It();Tl(C,a,b.layoutBox,w),J1(A,C)||(m=!0),y.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=A,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:i,delta:h,layoutDelta:f,hasLayoutChanged:p,hasRelativeLayoutChanged:m})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function xN(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function wN(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function SN(e){e.clearSnapshot()}function o0(e){e.clearMeasurements()}function TN(e){e.isLayoutDirty=!0,e.updateLayout()}function l0(e){e.isLayoutDirty=!1}function AN(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function EN(e){const{visualElement:i}=e.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),e.resetTransform()}function c0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function CN(e){e.resolveTargetDelta()}function RN(e){e.calcProjection()}function MN(e){e.resetSkewAndRotation()}function DN(e){e.removeLeadSnapshot()}function u0(e,i,a){e.translate=_t(i.translate,0,a),e.scale=_t(i.scale,1,a),e.origin=i.origin,e.originPoint=i.originPoint}function f0(e,i,a,r){e.min=_t(i.min,a.min,r),e.max=_t(i.max,a.max,r)}function ON(e,i,a,r){f0(e.x,i.x,a.x,r),f0(e.y,i.y,a.y,r)}function NN(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const jN={duration:.45,ease:[.4,0,.1,1]},d0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),h0=d0("applewebkit/")&&!d0("chrome/")?Math.round:we;function m0(e){e.min=h0(e.min),e.max=h0(e.max)}function VN(e){m0(e.x),m0(e.y)}function iw(e,i,a){return e==="position"||e==="preserve-aspect"&&!tN(n0(i),n0(a),.2)}function LN(e){return e!==e.root&&e.scroll?.wasRoot}const _N=nw({attachResizeListener:(e,i)=>yr(e,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Rf={current:void 0},sw=nw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Rf.current){const e=new _N({});e.mount(window),e.setOptions({layoutScroll:!0}),Rf.current=e}return Rf.current},resetTransform:(e,i)=>{e.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),bh=E.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function zN(e=!0){const i=E.useContext(Xd);if(i===null)return[!0,null];const{isPresent:a,onExitComplete:r,register:l}=i,u=E.useId();E.useEffect(()=>{if(e)return l(u)},[e]);const f=E.useCallback(()=>e&&r&&r(u),[u,r,e]);return!a&&r?[!1,f]:[!0]}const aw=E.createContext({strict:!1}),p0={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 y0=!1;function kN(){if(y0)return;const e={};for(const i in p0)e[i]={isEnabled:a=>p0[i].some(r=>!!a[r])};_1(e),y0=!0}function rw(){return kN(),CO()}function PN(e){const i=rw();for(const a in e)i[a]={...i[a],...e[a]};_1(i)}const BN=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","propagate","ignoreStrict","viewport"]);function Al(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||BN.has(e)}let ow=e=>!Al(e);function UN(e){typeof e=="function"&&(ow=i=>i.startsWith("on")?!Al(i):e(i))}try{UN(require("@emotion/is-prop-valid").default)}catch{}function HN(e,i,a){const r={};for(const l in e)l==="values"&&typeof e.values=="object"||le(e[l])||(ow(l)||a===!0&&Al(l)||!i&&!Al(l)||e.draggable&&l.startsWith("onDrag"))&&(r[l]=e[l]);return r}const ql=E.createContext({});function qN(e,i){if(Hl(e)){const{initial:a,animate:r}=e;return{initial:a===!1||pr(a)?a:void 0,animate:pr(r)?r:void 0}}return e.inherit!==!1?i:{}}function GN(e){const{initial:i,animate:a}=qN(e,E.useContext(ql));return E.useMemo(()=>({initial:i,animate:a}),[g0(i),g0(a)])}function g0(e){return Array.isArray(e)?e.join(" "):e}const xh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function lw(e,i,a){for(const r in i)!le(i[r])&&!q1(r,a)&&(e[r]=i[r])}function YN({transformTemplate:e},i){return E.useMemo(()=>{const a=xh();return gh(a,i,e),Object.assign({},a.vars,a.style)},[i])}function KN(e,i){const a=e.style||{},r={};return lw(r,a,e),Object.assign(r,YN(e,i)),r}function XN(e,i){const a={},r=KN(e,i);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
9`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=r,a}const cw=()=>({...xh(),attrs:{}});function FN(e,i,a,r){const l=E.useMemo(()=>{const u=cw();return G1(u,i,K1(r),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[i]);if(e.style){const u={};lw(u,e.style,e),l.style={...u,...l.style}}return l}const QN=["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 wh(e){return typeof e!="string"||e.includes("-")?!1:!!(QN.indexOf(e)>-1||/[A-Z]/u.test(e))}function ZN(e,i,a,{latestValues:r},l,u=!1,f){const p=(f??wh(e)?FN:XN)(i,r,l,e),m=HN(i,typeof e=="string",u),y=e!==E.Fragment?{...m,...p,ref:a}:{},{children:g}=i,b=E.useMemo(()=>le(g)?g.get():g,[g]);return E.createElement(e,{...y,children:b})}function WN({scrapeMotionValuesFromProps:e,createRenderState:i},a,r,l){return{latestValues:IN(a,r,l,e),renderState:i()}}function IN(e,i,a,r){const l={},u=r(e,{});for(const b in u)l[b]=ol(u[b]);let{initial:f,animate:h}=e;const p=Hl(e),m=V1(e);i&&m&&!p&&e.inherit!==!1&&(f===void 0&&(f=i.initial),h===void 0&&(h=i.animate));let y=a?a.initial===!1:!1;y=y||f===!1;const g=y?h:f;if(g&&typeof g!="boolean"&&!Ul(g)){const b=Array.isArray(g)?g:[g];for(let w=0;w<b.length;w++){const A=fh(e,b[w]);if(A){const{transitionEnd:C,transition:R,...N}=A;for(const O in N){let V=N[O];if(Array.isArray(V)){const P=y?V.length-1:0;V=V[P]}V!==null&&(l[O]=V)}for(const O in C)l[O]=C[O]}}}return l}const uw=e=>(i,a)=>{const r=E.useContext(ql),l=E.useContext(Xd),u=()=>WN(e,i,r,l);return a?u():Ks(u)},JN=uw({scrapeMotionValuesFromProps:vh,createRenderState:xh}),$N=uw({scrapeMotionValuesFromProps:X1,createRenderState:cw}),t3=Symbol.for("motionComponentSymbol");function e3(e,i,a){const r=E.useRef(a);E.useInsertionEffect(()=>{r.current=a});const l=E.useRef(null);return E.useCallback(u=>{u&&e.onMount?.(u),i&&(u?i.mount(u):i.unmount());const f=r.current;if(typeof f=="function")if(u){const h=f(u);typeof h=="function"&&(l.current=h)}else l.current?(l.current(),l.current=null):f(u);else f&&(f.current=u)},[i])}const fw=E.createContext({});function ks(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function n3(e,i,a,r,l,u){const{visualElement:f}=E.useContext(ql),h=E.useContext(aw),p=E.useContext(Xd),m=E.useContext(bh),y=m.reducedMotion,g=m.skipAnimations,b=E.useRef(null),w=E.useRef(!1);r=r||h.renderer,!b.current&&r&&(b.current=r(e,{visualState:i,parent:f,props:a,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:y,skipAnimations:g,isSVG:u}),w.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const A=b.current,C=E.useContext(fw);A&&!A.projection&&l&&(A.type==="html"||A.type==="svg")&&i3(b.current,a,l,C);const R=E.useRef(!1);E.useInsertionEffect(()=>{A&&R.current&&A.update(a,p)});const N=a[v1],O=E.useRef(!!N&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(N)&&window.MotionHasOptimisedAnimation?.(N));return Kd(()=>{w.current=!0,A&&(R.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),O.current&&A.animationState&&A.animationState.animateChanges())}),E.useEffect(()=>{A&&(!O.current&&A.animationState&&A.animationState.animateChanges(),O.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(N)}),O.current=!1),A.enteringChildren=void 0)}),A}function i3(e,i,a,r){const{layoutId:l,layout:u,drag:f,dragConstraints:h,layoutScroll:p,layoutRoot:m,layoutAnchor:y,layoutCrossfade:g}=i;e.projection=new a(e.latestValues,i["data-framer-portal-id"]?void 0:dw(e.parent)),e.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!f||h&&ks(h),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:g,layoutScroll:p,layoutRoot:m,layoutAnchor:y})}function dw(e){if(e)return e.options.allowProjection!==!1?e.projection:dw(e.parent)}function Mf(e,{forwardMotionProps:i=!1,type:a}={},r,l){r&&PN(r);const u=a?a==="svg":wh(e),f=u?$N:JN;function h(m,y){let g;const b={...E.useContext(bh),...m,layoutId:s3(m)},{isStatic:w}=b,A=GN(m),C=f(m,w);if(!w&&typeof window<"u"){a3();const R=r3(b);g=R.MeasureLayout,A.visualElement=n3(e,C,b,l,R.ProjectionNode,u)}return S.jsxs(ql.Provider,{value:A,children:[g&&A.visualElement?S.jsx(g,{visualElement:A.visualElement,...b}):null,ZN(e,m,e3(C,A.visualElement,y),C,w,i,u)]})}h.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const p=E.forwardRef(h);return p[t3]=e,p}function s3({layoutId:e}){const i=E.useContext(Ox).id;return i&&e!==void 0?i+"-"+e:e}function a3(e,i){E.useContext(aw).strict}function r3(e){const i=rw(),{drag:a,layout:r}=i;if(!a&&!r)return{};const l={...a,...r};return{MeasureLayout:a?.isEnabled(e)||r?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}
vendor: 15,610 bytes, line 9
9function o3(e,i){if(typeof Proxy>"u")return Mf;const a=new Map,r=(u,f)=>Mf(u,f,e,i),l=(u,f)=>r(u,f);return new Proxy(l,{get:(u,f)=>f==="create"?r:(a.has(f)||a.set(f,Mf(f,void 0,e,i)),a.get(f))})}const l3=(e,i)=>i.isSVG??wh(e)?new GO(i):new kO(i,{allowProjection:e!==E.Fragment});class c3 extends Si{constructor(i){super(i),i.animationState||(i.animationState=QO(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Ul(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:a}=this.node.prevProps||{};i!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let u3=0;class f3 extends Si{constructor(){super(...arguments),this.id=u3++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:u,custom:f}=this.node.getProps();if(typeof u=="string"||typeof u=="object"&&u!==null&&!Array.isArray(u)){const h=Qi(this.node,u,f);if(h){const{transition:p,transitionEnd:m,...y}=h;for(const g in y)this.node.getValue(g)?.jump(y[g])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const l=this.node.animationState.setActive("exit",!i);a&&!i&&l.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){const{register:i,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const d3={animation:{Feature:c3},exit:{Feature:f3}};function Ar(e){return{point:{x:e.pageX,y:e.pageY}}}const h3=e=>i=>hh(i)&&e(i,Ar(i));function ur(e,i,a,r){return yr(e,i,h3(a),r)}const hw=({current:e})=>e?e.ownerDocument.defaultView:null,v0=(e,i)=>Math.abs(e-i);function m3(e,i){const a=v0(e.x,i.x),r=v0(e.y,i.y);return Math.sqrt(a**2+r**2)}const b0=new Set(["auto","scroll"]);class mw{constructor(i,a,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:f=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Zo(this.lastRawMoveEventInfo,this.transformPagePoint));const w=Df(this.lastMoveEventInfo,this.history),A=this.startEvent!==null,C=m3(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!A&&!C)return;const{point:R}=w,{timestamp:N}=ie;this.history.push({...R,timestamp:N});const{onStart:O,onMove:V}=this.handlers;A||(O&&O(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),V&&V(this.lastMoveEvent,w)},this.handlePointerMove=(w,A)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=A,this.lastMoveEventInfo=Zo(A,this.transformPagePoint),Et.update(this.updatePoint,!0)},this.handlePointerUp=(w,A)=>{this.end();const{onEnd:C,onSessionEnd:R,resumeAnimation:N}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const O=Df(w.type==="pointercancel"?this.lastMoveEventInfo:Zo(A,this.transformPagePoint),this.history);this.startEvent&&C&&C(w,O),R&&R(w,O)},!hh(i))return;this.dragSnapToOrigin=u,this.handlers=a,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=l||window;const p=Ar(i),m=Zo(p,this.transformPagePoint),{point:y}=m,{timestamp:g}=ie;this.history=[{...y,timestamp:g}];const{onSessionStart:b}=a;b&&b(i,Df(m,this.history)),this.removeListeners=wr(ur(this.contextWindow,"pointermove",this.handlePointerMove),ur(this.contextWindow,"pointerup",this.handlePointerUp),ur(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(i){let a=i.parentElement;for(;a;){const r=getComputedStyle(a);(b0.has(r.overflowX)||b0.has(r.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const a=this.scrollPositions.get(i);if(!a)return;const r=i===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},u={x:l.x-a.x,y:l.y-a.y};u.x===0&&u.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(i,l),Et.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Fe(this.updatePoint)}}function Zo(e,i){return i?{point:i(e.point)}:e}function x0(e,i){return{x:e.x-i.x,y:e.y-i.y}}function Df({point:e},i){return{point:e,delta:x0(e,pw(i)),offset:x0(e,p3(i)),velocity:y3(i,.1)}}function p3(e){return e[0]}function pw(e){return e[e.length-1]}function y3(e,i){if(e.length<2)return{x:0,y:0};let a=e.length-1,r=null;const l=pw(e);for(;a>=0&&(r=e[a],!(l.timestamp-r.timestamp>_e(i)));)a--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&l.timestamp-r.timestamp>_e(i)*2&&(r=e[1]);const u=Xe(l.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const f={x:(l.x-r.x)/u,y:(l.y-r.y)/u};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function g3(e,{min:i,max:a},r){return i!==void 0&&e<i?e=r?_t(i,e,r.min):Math.max(e,i):a!==void 0&&e>a&&(e=r?_t(a,e,r.max):Math.min(e,a)),e}function w0(e,i,a){return{min:i!==void 0?e.min+i:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function v3(e,{top:i,left:a,bottom:r,right:l}){return{x:w0(e.x,a,l),y:w0(e.y,i,r)}}function S0(e,i){let a=i.min-e.min,r=i.max-e.max;return i.max-i.min<e.max-e.min&&([a,r]=[r,a]),{min:a,max:r}}function b3(e,i){return{x:S0(e.x,i.x),y:S0(e.y,i.y)}}function x3(e,i){let a=.5;const r=pe(e),l=pe(i);return l>r?a=Xs(i.min,i.max-r,e.min):r>l&&(a=Xs(e.min,e.max-l,i.min)),on(0,1,a)}function w3(e,i){const a={};return i.min!==void 0&&(a.min=i.min-e.min),i.max!==void 0&&(a.max=i.max-e.min),a}const bd=.35;function S3(e=bd){return e===!1?e=0:e===!0&&(e=bd),{x:T0(e,"left","right"),y:T0(e,"top","bottom")}}function T0(e,i,a){return{min:A0(e,i),max:A0(e,a)}}function A0(e,i){return typeof e=="number"?e:e[i]||0}const T3=new WeakMap;class A3{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=It(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:a=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=g=>{a&&this.snapToCursor(Ar(g).point),this.stopAnimation()},f=(g,b)=>{const{drag:w,dragPropagation:A,onDragStart:C}=this.getProps();if(w&&!A&&(this.openDragLock&&this.openDragLock(),this.openDragLock=eO(w),!this.openDragLock))return;this.latestPointerEvent=g,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yn(N=>{let O=this.getAxisMotionValue(N).get()||0;if(xn.test(O)){const{projection:V}=this.visualElement;if(V&&V.layout){const P=V.layout.layoutBox[N];P&&(O=pe(P)*(parseFloat(O)/100))}}this.originPoint[N]=O}),C&&Et.update(()=>C(g,b),!1,!0),ld(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},h=(g,b)=>{this.latestPointerEvent=g,this.latestPanInfo=b;const{dragPropagation:w,dragDirectionLock:A,onDirectionLock:C,onDrag:R}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:N}=b;if(A&&this.currentDirection===null){this.currentDirection=C3(N),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",b.point,N),this.updateAxis("y",b.point,N),this.visualElement.render(),R&&Et.update(()=>R(g,b),!1,!0)},p=(g,b)=>{this.latestPointerEvent=g,this.latestPanInfo=b,this.stop(g,b),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:g}=this.getProps();(g||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new mw(i,{onSessionStart:u,onStart:f,onMove:h,onSessionEnd:p,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:hw(this.visualElement),element:this.visualElement.current})}stop(i,a){const r=i||this.latestPointerEvent,l=a||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:f}=l;this.startAnimation(f);const{onDragEnd:h}=this.getProps();h&&Et.postRender(()=>h(r,l))}cancel(){this.isDragging=!1;const{projection:i,animationState:a}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,a,r){const{drag:l}=this.getProps();if(!r||!Wo(i,l,this.currentDirection))return;const u=this.getAxisMotionValue(i);let f=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(f=g3(f,this.constraints[i],this.elastic[i])),u.set(f)}resolveConstraints(){const{dragConstraints:i,dragElastic:a}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;i&&ks(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=v3(r.layoutBox,i):this.constraints=!1,this.elastic=S3(a),l!==this.constraints&&!ks(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&yn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=w3(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:a}=this.getProps();if(!i||!ks(i))return!1;const r=i.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;l.root&&(l.root.scroll=void 0,l.root.updateScroll());const u=NO(r,l.root,this.visualElement.getTransformPagePoint());let f=b3(l.layout.layoutBox,u);if(a){const h=a(MO(f));this.hasMutatedConstraints=!!h,h&&(f=k1(h))}return f}startAnimation(i){const{drag:a,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},m=yn(y=>{if(!Wo(y,a,this.currentDirection))return;let g=p&&p[y]||{};(f===!0||f===y)&&(g={min:0,max:0});const b=l?200:1e6,w=l?40:1e7,A={type:"inertia",velocity:r?i[y]:0,bounceStiffness:b,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...u,...g};return this.startAxisValueAnimation(y,A)});return Promise.all(m).then(h)}startAxisValueAnimation(i,a){const r=this.getAxisMotionValue(i);return ld(this.visualElement,i),r.start(uh(i,r,0,a,this.visualElement,!1))}stopAnimation(){yn(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const a=`_drag${i.toUpperCase()}`,l=this.visualElement.getProps()[a];return l||this.visualElement.getValue(i,this.visualElement.latestValues[i]??0)}snapToCursor(i){yn(a=>{const{drag:r}=this.getProps();if(!Wo(a,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(a);if(l&&l.layout){const{min:f,max:h}=l.layout.layoutBox[a],p=u.get()||0;u.set(i[a]-_t(f,h,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!ks(a)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};yn(f=>{const h=this.getAxisMotionValue(f);if(h&&this.constraints!==!1){const p=h.get();l[f]=x3({min:p,max:p},this.constraints[f])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),yn(f=>{if(!Wo(f,i,null))return;const h=this.getAxisMotionValue(f),{min:p,max:m}=this.constraints[f];h.set(_t(p,m,l[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;T3.set(this.visualElement,this);const i=this.visualElement.current,a=ur(i,"pointerdown",m=>{const{drag:y,dragListener:g=!0}=this.getProps(),b=m.target,w=b!==i&&oO(b);y&&g&&!w&&this.start(m)});let r;const l=()=>{const{dragConstraints:m}=this.getProps();ks(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),r||(r=E3(i,m.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,f=u.addEventListener("measure",l);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Et.read(l);const h=yr(window,"resize",()=>this.scalePositionWithinConstraints()),p=u.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:y})=>{this.isDragging&&y&&(yn(g=>{const b=this.getAxisMotionValue(g);b&&(this.originPoint[g]+=m[g].translate,b.set(b.get()+m[g].translate))}),this.visualElement.render())}));return()=>{h(),a(),f(),p&&p(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:f=bd,dragMomentum:h=!0}=i;return{...i,drag:a,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:h}}}function E0(e){let i=!0;return()=>{if(i){i=!1;return}e()}}function E3(e,i,a){const r=hd(e,E0(a)),l=hd(i,E0(a));return()=>{r(),l()}}function Wo(e,i,a){return(i===!0||i===e)&&(a===null||a===e)}function C3(e,i=10){let a=null;return Math.abs(e.y)>i?a="y":Math.abs(e.x)>i&&(a="x"),a}class R3 extends Si{constructor(i){super(i),this.removeGroupControls=we,this.removeListeners=we,this.controls=new A3(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||we}update(){const{dragControls:i}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};i!==a&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Of=e=>(i,a)=>{e&&Et.update(()=>e(i,a),!1,!0)};class M3 extends Si{constructor(){super(...arguments),this.removePointerDownListener=we}onPointerDown(i){this.session=new mw(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hw(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:a,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Of(i),onStart:Of(a),onMove:Of(r),onEnd:(u,f)=>{delete this.session,l&&Et.postRender(()=>l(u,f))}}}mount(){this.removePointerDownListener=ur(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Nf=!1;
9class D3 extends E.Component{componentDidMount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=i;u&&(a.group&&a.group.add(u),r&&r.register&&l&&r.register(u),Nf&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ll.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:a,visualElement:r,drag:l,isPresent:u}=this.props,{projection:f}=r;return f&&(f.isPresent=u,i.layoutDependency!==a&&f.setOptions({...f.options,layoutDependency:a}),Nf=!0,l||i.layoutDependency!==a||a===void 0||i.isPresent!==u?f.willUpdate():this.safeToRemove(),i.isPresent!==u&&(u?f.promote():f.relegate()||Et.postRender(()=>{const h=f.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:a}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=a,r.root.didUpdate(),Qs.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:l}=i;Nf=!0,l&&(l.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function yw(e){const[i,a]=zN(),r=E.useContext(Ox);return S.jsx(D3,{...e,layoutGroup:r,switchLayoutGroup:E.useContext(fw),isPresent:i,safeToRemove:a})}const O3={pan:{Feature:M3},drag:{Feature:R3,ProjectionNode:sw,MeasureLayout:yw}};function C0(e,i,a){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",a==="Start");const l="onHover"+a,u=r[l];u&&Et.postRender(()=>u(i,Ar(i)))}class N3 extends Si{mount(){const{current:i}=this.node;i&&(this.unmount=iO(i,(a,r)=>(C0(this.node,r,"Start"),l=>C0(this.node,l,"End"))))}unmount(){}}class j3 extends Si{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=wr(yr(this.node.current,"focus",()=>this.onFocus()),yr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function R0(e,i,a){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",a==="Start");const l="onTap"+(a==="End"?"":a),u=r[l];u&&Et.postRender(()=>u(i,Ar(i)))}class V3 extends Si{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:a,propagate:r}=this.node.props;this.unmount=cO(i,(l,u)=>(R0(this.node,u,"Start"),(f,{success:h})=>R0(this.node,f,h?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:r?.tap===!1})}unmount(){}}const xd=new WeakMap,jf=new WeakMap,L3=e=>{const i=xd.get(e.target);i&&i(e)},_3=e=>{e.forEach(L3)};function z3({root:e,...i}){const a=e||document;jf.has(a)||jf.set(a,{});const r=jf.get(a),l=JSON.stringify(i);return r[l]||(r[l]=new IntersectionObserver(_3,{root:e,...i})),r[l]}function k3(e,i,a){const r=z3(i);return xd.set(e,a),r.observe(e),()=>{xd.delete(e),r.unobserve(e)}}const P3={some:0,all:1};class B3 extends Si{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:i={}}=this.node.getProps(),{root:a,margin:r,amount:l="some",once:u}=i,f={root:a?a.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:P3[l]},h=p=>{const{isIntersecting:m}=p;if(this.isInView===m||(this.isInView=m,u&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:y,onViewportLeave:g}=this.node.getProps(),b=m?y:g;b&&b(p)};this.stopObserver=k3(this.node.current,f,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:a}=this.node;["amount","margin","root"].some(U3(i,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function U3({viewport:e={}},{viewport:i={}}={}){return a=>e[a]!==i[a]}const H3={inView:{Feature:B3},tap:{Feature:V3},focus:{Feature:j3},hover:{Feature:N3}},q3={layout:{ProjectionNode:sw,MeasureLayout:yw}},G3={...d3,...H3,...O3,...q3},oe=o3(G3,l3);function El(e){return typeof window>"u"?!1:e?o1():lh()}const Y3=50,M0=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),K3=()=>({time:0,x:M0(),y:M0()}),X3={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function D0(e,i,a,r){const l=a[i],{length:u,position:f}=X3[i],h=l.current,p=a.time;l.current=Math.abs(e[`scroll${f}`]),l.scrollLength=e[`scroll${u}`]-e[`client${u}`],l.offset.length=0,l.offset[0]=0,l.offset[1]=l.scrollLength,l.progress=Xs(0,l.scrollLength,l.current);const m=r-p;l.velocity=m>Y3?0:Wd(l.current-h,m)}function F3(e,i,a){D0(e,"x",i,a),D0(e,"y",i,a),i.time=a}function Q3(e,i){const a={x:0,y:0};let r=e;for(;r&&r!==i;)if(C1(r))a.x+=r.offsetLeft,a.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const l=r.getBoundingClientRect();r=r.parentElement;const u=r.getBoundingClientRect();a.x+=l.left-u.left,a.y+=l.top-u.top}else if(r instanceof SVGGraphicsElement){const{x:l,y:u}=r.getBBox();a.x+=l,a.y+=u;let f=null,h=r.parentNode;for(;!f;)h.tagName==="svg"&&(f=h),h=r.parentNode;r=f}else break;return a}const wd={start:0,center:.5,end:1};function O0(e,i,a=0){let r=0;if(e in wd&&(e=wd[e]),typeof e=="string"){const l=parseFloat(e);e.endsWith("px")?r=l:e.endsWith("%")?e=l/100:e.endsWith("vw")?r=l/100*document.documentElement.clientWidth:e.endsWith("vh")?r=l/100*document.documentElement.clientHeight:e=l}return typeof e=="number"&&(r=i*e),a+r}const Z3=[0,0];function W3(e,i,a,r){let l=Array.isArray(e)?e:Z3,u=0,f=0;return typeof e=="number"?l=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?l=e.split(" "):l=[e,wd[e]?e:"0"]),u=O0(l[0],a,r),f=O0(l[1],i),u-f}const ir={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},I3={x:0,y:0};function J3(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function $3(e,i,a){const{offset:r=ir.All}=a,{target:l=e,axis:u="y"}=a,f=u==="y"?"height":"width",h=l!==e?Q3(l,e):I3,p=l===e?{width:e.scrollWidth,height:e.scrollHeight}:J3(l),m={width:e.clientWidth,height:e.clientHeight};i[u].offset.length=0;let y=!i[u].interpolate;const g=r.length;for(let b=0;b<g;b++){const w=W3(r[b],m[f],p[f],h[u]);
9!y&&w!==i[u].interpolatorOffsets[b]&&(y=!0),i[u].offset[b]=w}y&&(i[u].interpolate=sh(i[u].offset,n1(r),{clamp:!1}),i[u].interpolatorOffsets=[...i[u].offset]),i[u].progress=on(0,1,i[u].interpolate(i[u].current))}function t4(e,i=e,a){if(a.x.targetOffset=0,a.y.targetOffset=0,i!==e){let r=i;for(;r&&r!==e;)a.x.targetOffset+=r.offsetLeft,a.y.targetOffset+=r.offsetTop,r=r.offsetParent}a.x.targetLength=i===e?i.scrollWidth:i.clientWidth,a.y.targetLength=i===e?i.scrollHeight:i.clientHeight,a.x.containerLength=e.clientWidth,a.y.containerLength=e.clientHeight}function e4(e,i,a,r={}){return{measure:l=>{t4(e,r.target,a),F3(e,a,l),(r.offset||r.target)&&$3(e,a,r)},notify:()=>i(a)}}const zs=new WeakMap,N0=new WeakMap,Vf=new WeakMap,j0=new WeakMap,Io=new WeakMap,V0=e=>e===document.scrollingElement?window:e;function gw(e,{container:i=document.scrollingElement,trackContentSize:a=!1,...r}={}){if(!i)return we;let l=Vf.get(i);l||(l=new Set,Vf.set(i,l));const u=K3(),f=e4(i,e,u,r);if(l.add(f),!zs.has(i)){const p=()=>{for(const b of l)b.measure(ie.timestamp);Et.preUpdate(m)},m=()=>{for(const b of l)b.notify()},y=()=>Et.read(p);zs.set(i,y);const g=V0(i);window.addEventListener("resize",y),i!==document.documentElement&&N0.set(i,hd(i,y)),g.addEventListener("scroll",y),y()}if(a&&!Io.has(i)){const p=zs.get(i),m={width:i.scrollWidth,height:i.scrollHeight};j0.set(i,m);const y=()=>{const b=i.scrollWidth,w=i.scrollHeight;(m.width!==b||m.height!==w)&&(p(),m.width=b,m.height=w)},g=Et.read(y,!0);Io.set(i,g)}const h=zs.get(i);return Et.read(h,!1,!0),()=>{Fe(h);const p=Vf.get(i);if(!p||(p.delete(f),p.size))return;const m=zs.get(i);zs.delete(i),m&&(V0(i).removeEventListener("scroll",m),N0.get(i)?.(),window.removeEventListener("resize",m));const y=Io.get(i);y&&(Fe(y),Io.delete(i)),j0.delete(i)}}const n4=[[ir.Enter,"entry"],[ir.Exit,"exit"],[ir.Any,"cover"],[ir.All,"contain"]],L0={start:0,end:1};function i4(e){const i=e.trim().split(/\s+/);if(i.length!==2)return;const a=L0[i[0]],r=L0[i[1]];if(!(a===void 0||r===void 0))return[a,r]}function s4(e){if(e.length!==2)return;const i=[];for(const a of e)if(Array.isArray(a))i.push(a);else if(typeof a=="string"){const r=i4(a);if(!r)return;i.push(r)}else return;return i}function a4(e,i){const a=s4(e);if(!a)return!1;for(let r=0;r<2;r++){const l=a[r],u=i[r];if(l[0]!==u[0]||l[1]!==u[1])return!1}return!0}function Sh(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[i,a]of n4)if(a4(e,i))return{rangeStart:`${a} 0%`,rangeEnd:`${a} 100%`}}const _0=new Map;function z0(e){const i={value:0},a=gw(r=>
9{i.value=r[e.axis].progress*100},e);return{currentTime:i,cancel:a}}function vw({source:e,container:i,...a}){const{axis:r}=a;e&&(i=e);let l=_0.get(i);l||(l=new Map,_0.set(i,l));const u=a.target??"self";let f=l.get(u);f||(f={},l.set(u,f));const h=r+(a.offset??[]).join(",");return f[h]||(a.target&&El(a.target)?Sh(a.offset)?f[h]=new ViewTimeline({subject:a.target,axis:r}):f[h]=z0({container:i,...a}):El()?f[h]=new ScrollTimeline({source:i,axis:r}):f[h]=z0({container:i,...a})),f[h]}function r4(e,i){const a=vw(i),r=i.target?Sh(i.offset):void 0,l=i.target?El(i.target)&&!!r:El();return e.attachTimeline({timeline:l?a:void 0,...r&&l&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:u=>(u.pause(),j1(f=>{u.time=u.iterationDuration*f},a))})}function o4(e){return e&&(e.target||e.offset)}function l4(e){return e.length===2}function c4(e,i){return l4(e)||o4(i)?gw(a=>{e(a[i.axis].progress,a)},i):j1(e,vw(i))}function bw(e,{axis:i="y",container:a=document.scrollingElement,...r}={}){if(!a)return we;const l={axis:i,container:a,...r};return typeof e=="function"?c4(e,l):r4(e,l)}const u4=()=>({scrollX:en(0),scrollY:en(0),scrollXProgress:en(0),scrollYProgress:en(0)}),Hs=e=>e?!e.current:!1;function k0(e,i,a,r){return{factory:l=>{let u;const f=()=>{if(Hs(a)||Hs(r)){Qs.read(f);return}u=bw(l,{...i,axis:e,container:a?.current||void 0,target:r?.current||void 0})};return Qs.read(f),()=>{R1(f),u?.()}},times:[0,1],keyframes:[0,1],ease:l=>l,duration:1}}function f4(e,i){return typeof window>"u"?!1:e?o1()&&!!Sh(i):lh()}function d4({container:e,target:i,...a}={}){const r=Ks(u4);f4(i,a.offset)&&(r.scrollXProgress.accelerate=k0("x",a,e,i),r.scrollYProgress.accelerate=k0("y",a,e,i));const l=E.useRef(null),u=E.useRef(!1),f=E.useCallback(()=>(l.current=bw((h,{x:p,y:m})=>{r.scrollX.set(p.current),r.scrollXProgress.set(p.progress),r.scrollY.set(m.current),r.scrollYProgress.set(m.progress)},{...a,container:e?.current||void 0,target:i?.current||void 0}),()=>{l.current?.()}),[e,i,JSON.stringify(a.offset)]);return Kd(()=>{if(u.current=!1,Hs(e)||Hs(i)){u.current=!0;return}else return f()},[f]),E.useEffect(()=>{if(!u.current)return;let h;const p=()=>{const m=Hs(e),y=Hs(i);!m&&!y&&(h=f())};return Qs.read(p),()=>{R1(p),h?.()}},[f]),r}function h4(e){const i=Ks(()=>en(e)),{isStatic:a}=E.useContext(bh);if(a){const[,r]=E.useState(e);E.useEffect(()=>i.on("change",r),[])}return i}function xw(e,i){const a=h4(i()),r=()=>a.set(i());return r(),Kd(()=>{const l=()=>Et.preRender(r,!1,!0),u=e.map(f=>f.on("change",l));return()=>{u.forEach(f=>f()),Fe(r)}}),a}function m4(e){lr.current=[],e();const i=xw(lr.current,e);return lr.current=void 0,i}function Sd(e,i,a,r){if(typeof e=="function")return m4(e);if(a!==void 0&&!Array.isArray(a)&&typeof i!="function")return p4(e,i,a,r);const f=typeof i=="function"?i:bO(i,a,r),h=Array.isArray(e)?P0(e,f):P0([e],([m])=>f(m)),p=Array.isArray(e)?void 0:e.accelerate;return p&&!p.isTransformed&&typeof i!="function"&&Array.isArray(a)&&r?.clamp!==!1&&(h.accelerate={...p,times:i,keyframes:a,isTransformed:!0}),h}function P0(e,i){const a=Ks(()=>[]);return xw(e,()=>{a.length=0;const r=e.length;for(let l=0;l<r;l++)a[l]=e[l].get();return i(a)})}function p4(e,i,a,r){const l=Ks(()=>Object.keys(a)),u=Ks(()=>({}));for(const f of l)u[f]=Sd(e,i,a[f],r);return u}function ww(){const[e]=wA(),i=e==="/mission";return S.jsxs("nav",{"aria-label":"Vision and mission",className:"absolute left-1/2 top-5 z-50 flex -translate-x-1/2 items-center overflow-hidden rounded-full border border-white/80 bg-white font-sans shadow-lg shadow-secondary/10",children:[S.jsx(Vg,{href:"/mission","aria-current":i?"page":void 0,className:`whitespace-nowrap rounded-full px-6 py-3 font-sans text-sm font-semibold uppercase tracking-[0.08em] transition-colors sm:px-8 sm:py-4 sm:text-base ${i?"bg-black text-white":"text-primary hover:bg-primary/10"}`,children:"Our Mission"}),S.jsx(Vg,{href:"/","aria-current":i?void 0:"page",className:`whitespace-nowrap rounded-full px-6 py-3 font-sans text-sm font-semibold uppercase tracking-[0.08em] transition-colors sm:px-8 sm:py-4 sm:text-base ${i?"text-primary hover:bg-primary/10":"bg-black text-white"}`,children:"Our Vision"})]})}const y4=new Date("2026-09-27T00:00:00-04:00").getTime(),g4=new URL("/assets/Ripple_1788438962237-B6Vam2jI.png",import.meta.url).href,v4=new
9URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='Layer_1'%20viewBox='0%200%20997%202263.27'%3e%3cdefs%3e%3c/defs%3e%3cpath%20d='M.79,1639.2h146.54M996.94,1823.87h-146.54M850.39,622.49h146.54M498.45,2120.43v141.76M498.45,0v143.52M849.85,2259.9h147.15M996.43,1745.76v514.57M975.6,1745.76v514.57M954.78,1745.76v514.57M933.95,1745.76v514.57M913.12,1745.76v514.57M892.29,1745.76v514.57M871.47,1745.76v514.57M850.64,1745.76v514.57M996.33,1764.82V498.86C996.33,223.89,773.42.98,498.45.98S.57,223.89.57,498.86v1265.96c0,274.97,222.91,497.88,497.88,497.88s497.88-222.91,497.88-497.88ZM975.52,1765.37V498.31c0-263.48-213.59-477.07-477.07-477.07S21.38,234.83,21.38,498.31v1267.06c0,263.48,213.59,477.07,477.07,477.07s477.07-213.59,477.07-477.07ZM954.7,1765.93V497.75c0-251.98-204.27-456.26-456.25-456.26S42.19,245.77,42.19,497.75v1268.18c0,251.98,204.27,456.26,456.25,456.26s456.25-204.27,456.25-456.26ZM933.89,1766.48V497.2c0-240.49-194.96-435.44-435.44-435.44S63.01,256.71,63.01,497.2v1269.29c0,240.49,194.95,435.44,435.44,435.44s435.44-194.95,435.44-435.44ZM913.07,1767.04V496.64c0-228.99-185.63-414.63-414.62-414.63S83.82,267.65,83.82,496.64v1270.4c0,228.99,185.63,414.63,414.62,414.63s414.62-185.63,414.62-414.63ZM892.26,1767.59V496.09c0-217.49-176.31-393.81-393.81-393.81S104.64,278.59,104.64,496.09v1271.51c0,217.5,176.32,393.81,393.81,393.81s393.81-176.32,393.81-393.81ZM871.45,1768.15V495.53c0-206-167-373-373-373S125.45,289.53,125.45,495.53v1272.61c0,206,167,373,373,373s373-167,373-373ZM498.45,2120.89h0c-194.51,0-352.18-157.68-352.18-352.18V494.98c0-194.51,157.68-352.18,352.18-352.18s352.18,157.68,352.18,352.18v1273.72c0,194.51-157.68,352.18-352.18,352.18Z'%20fill='none'%20stroke='rgb(255,%20255,%20255)'%20stroke-miterlimit='10'%20stroke-width='1.13px'/%3e%3c/svg%3e",import.meta.url).href,Lf=[{title:"They Left it All Behind for This â Rod & Dawn",image:"/images/story-rod-dawn-v2.jpg",href:"https://subsplash.com/u/ccftl/media/d/dyqd9v6-rod-and-dawn"},{title:"From Foster to Forever â Donovan & Denisa",image:"/images/story-foster-v2.png",href:"https://subsplash.com/u/ccftl/media/d/g36fmm7-donovan-and-denisas-story"},{title:"From One to Many â El Salvador Missions",image:"/images/story-elsalvador-v2.jpg",href:"https://ccftl.subspla.sh/4ky6hbb"},{title:"Roots of Compassion â Missionaries Return to Romania",image:"/images/story-romania-v2.png",href:"https://ccftl.subspla.sh/m8zrkv8"},{title:"The Power of One Yes â Tannar and Ananda's Foster Care Story",image:"/images/story-fostercare-v2.png",href:"https://ccftl.subspla.sh/pypxcvj"},{title:"Beyond the Screen â A Story of Digital Discipleship",image:"/images/story-beyondscreen-v2.png",href:"https://ccftl.subspla.sh/qj6ck9z"},{title:"Crafted by Discipleship â Christian's Story",image:"/images/story-crafted-v3.png",href:"https://ccftl.subspla.sh/g44xw73"},{title:"A Disciple Multiplied â Alex's Story",image:"/images/story-alex-v3.png",href:"https://subsplash.com/u/ccftl/media/d/44syszn-alex"},{title:"The Call We Couldn't Ignore â Robert's Story",image:"/images/story-robert-v2.png",href:"https://subsplash.com/u/ccftl/media/d/qz4tmx7-roberts-story"},{title:"Her Life Ignited a Generation â Selah's Story",image:"/images/story-selah-v2.png",href:"https://subsplash.com/u/ccftl/media/d/vwg5gjp-selahs-story"},{title:"Until I Met Jesus â Jennifer",image:"/images/story-jennifer-v2.png",href:"https://subsplash.com/u/ccftl/media/d/8ffn6ct-jennifers-story"}];function b4(){const[e,i]=E.useState(!1);E.useEffect(()=>{document.title="Our Vision | Calvary Chapel Fort Lauderdale";const y=document.querySelector('meta[name="description"]');if(y)y.setAttribute("content","A church casting a clear, hope-filled vision â an invitation to be part of something bigger.");else{const g=document.createElement("meta");g.name="description",g.content="A church casting a clear, hope-filled vision â an invitation to be part of something bigger.",document.head.appendChild(g)}},[]),E.useEffect(()=>{const y=y4-Date.now();if(y<=0)return;i(!0);const g=window.setTimeout(()=>{i(!1)},y);return()=>window.clearTimeout(g)},[]);const{scrollYProgress:a}=d4(),r=Sd(a,[0,1],["0%","50%"]),l=Sd(a,[0,.5],[1,0]),u=E.useRef(null),[f,h]=E.useState(0),p=y=>{const g=u.current;if(!g)return;const b=Math.max(0,Math.min(y,Lf.length-1)),w=g.children[b];w&&(g.scrollTo({left:w.offsetLeft-g.offsetLeft,behavior:"smooth"}),h(b))},m=()=>{const y=u.current;if(!y)return;const g=Array.from(y.children),b=g.reduce((w,A,C)=>{const R=Math.abs(A.offsetLeft-y.offsetLeft-y.scrollLeft),N=g[w],O=Math.abs(N.offsetLeft-y.offsetLeft-y.scrollLeft);return R<O?C:w},0);h(b)};return S.jsxs("div",{className:"bg-secondary min-h-screen selection:bg-accent selection:text-secondary overflow-hidden font-sans",children:[S.jsx(ww,{}),e&&S.jsx("div",{className:"fixed inset-0 z-[70] flex items-center justify-center bg-secondary/70 p-6",children:S.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"vision-weekend-title",className:"relative w-full max-w-2xl bg-accent px-8 py-10 text-secondary shadow-2xl md:px-14 md:py-14",children:[S.jsx("button",{type:"button",onClick:()=>i(!1),"aria-label":"Close Vision Weekend announcement",className:"absolute right-5 top-5 flex h-10 w-10 items-center justify-center rounded-full border-2 border-secondary text-secondary transition-colors hover:bg-secondary hover:text-accent",children:S.jsx(jb,{className:"h-5 w-5"})}),S.jsx("p",{className:"mb-4 font-sans text-sm font-bold uppercase tracking-[0.16em]",children:"Calvary Chapel Fort Lauderdale"}),S.jsx("h2",{id:"vision-weekend-title",className:"max-w-lg font-display text-5xl uppercase leading-[0.9] tracking-tight md:text-7xl",children:"Vision Weekend is September 26-27!"}),S.jsx("p",{className:"mt-8 max-w-xl text-lg font-semibold leading-relaxed md:text-2xl",children:"Come worship, catch the vision, and discover how you can run with what God is doing."})]})}),S.jsxs("section",{className:"relative min-h-[100dvh] w-full flex flex-col justify-end pb-24 overflow-hidden bg-secondary",children:[S.jsxs(oe.div,{className:"absolute inset-0 z-0",style:{y:r,opacity:l},children:[S.jsx("div",{className:"absolute inset-0 bg-secondary/70 mix-blend-multiply z-10"}),S.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#003bec]/45 via-[#003bec]/15 to-transparent z-10"}
9),S.jsx("img",{src:"/images/hero-peru.jpg",alt:"Hero background",className:"w-full h-full object-cover object-top scale-105 grayscale contrast-125 opacity-40"})]}),S.jsx("div",{className:"relative z-10 px-6 md:px-12 w-full max-w-[1400px] mx-auto flex flex-col mt-32",children:S.jsx(oe.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:1,delay:.1,ease:[.16,1,.3,1]},children:S.jsxs("h1",{className:"font-display uppercase text-[4rem] sm:text-[6rem] md:text-[8rem] lg:text-[10rem] text-white leading-[0.85] tracking-tighter mb-6 flex flex-col",children:[S.jsx("span",{className:"block",children:"Reaching"}),S.jsx("span",{className:"block",children:"Our Community,"}),S.jsx("span",{className:"block",children:"Changing"}),S.jsx("span",{className:"block",children:"Our World."})]})})})]}),S.jsxs("section",{id:"strategy",className:"bg-[#e1e7ea] py-24 md:py-32 text-secondary relative overflow-visible",children:[S.jsx("img",{src:v4,alt:"","aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-0 h-auto w-[120%] max-w-[1680px] -translate-x-1/2 select-none"}),S.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 md:px-12 relative z-10",children:[S.jsx("div",{className:"mb-12 md:mb-16",children:S.jsxs("h2",{className:"font-display text-6xl md:text-8xl uppercase font-bold text-secondary leading-[0.9] tracking-tight max-w-4xl",children:["How we run with ",S.jsx("span",{className:"text-primary",children:"the vision"})]})}),S.jsx("div",{className:"space-y-6",children:[{title:"Advocate for the Vulnerable",desc:"God calls us to speak and act for the broken, hurt, and abandoned. We are empowering the church to be voices for the voiceless, stepping into the darkest places to bring the light of hope.",color:"bg-primary"},{title:"Raise the Next Generation",desc:"We are running with the vision to make disciples by actively investing in those just a few steps behind us. From kids to young adults, we are laying a foundation of faith that outlasts us.",color:"bg-accent text-secondary"},{title:"Mobilize Missional Leaders",desc:"God has created each of us with a unique purpose. We equip and send leaders into our city and around the globeâbecause a life-long adventure with Jesus means joining His story to reach others.",color:"bg-white text-secondary"}].map((y,g)=>S.jsx(oe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:g*.1},className:`p-10 md:p-16 flex flex-col md:flex-row gap-8 md:gap-16 items-start md:items-center ${y.color}`,children:S.jsxs("div",{children:[S.jsx("h3",{className:"font-display text-4xl md:text-6xl font-bold uppercase tracking-tight mb-4 leading-none",children:y.title}),S.jsx("p",{className:"text-lg md:text-xl font-medium max-w-3xl opacity-80 leading-relaxed",children:y.desc})]})},g))})]})]}),S.jsx("section",{id:"calvary-wrapped",className:"bg-white py-24 md:py-40 relative overflow-hidden",children:S.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 md:px-12 relative z-10",children:[S.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-16 md:mb-24 gap-8",children:[S.jsx(oe.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:S.jsxs("h2",{className:"font-display text-5xl md:text-7xl uppercase font-bold text-secondary leading-none tracking-tight",children:["2025â2026",S.jsx("br",{}),S.jsx("span",{className:"block text-7xl md:text-9xl text-primary",children:"Calvary Wrapped"})]})}),S.jsxs("a",{href:"https://heyzine.com/flip-book/calvary-annual-report-2026",target:"_blank",rel:"noreferrer",className:"group inline-flex shrink-0 items-center gap-5 rounded-full bg-accent px-8 py-5 font-bold uppercase tracking-wide text-secondary transition-transform duration-300 hover:scale-105",children:["Read Annual Report",S.jsx("span",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-secondary text-white",children:S.jsx(ar,{className:"h-5 w-5 transition-transform duration-300 group-hover:translate-x-1"})})]})]}),S.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[S.jsxs(oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"bg-accent p-10 md:p-14 flex flex-col justify-between min-h-[320px] rounded-none lg:col-span-2",children:[S.jsx("div",{className:"font-display text-8xl md:text-[8rem] lg:text-[10rem] leading-none font-bold text-secondary tracking-tighter mb-4",children:"1,075"}),S.jsx("div",{className:"text-secondary font-bold text-2xl md:text-3xl uppercase tracking-tight max-w-sm",children:"People started a relationship with Jesus"})]}),S.jsxs(oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"bg-primary p-10 md:p-14 flex flex-col justify-between min-h-[320px]",children:[S.jsx("div",{className:"font-display text-7xl md:text-8xl leading-none font-bold text-white tracking-tighter mb-4",children:"1,200+"}),S.jsx("div",{className:"text-white font-bold text-2xl md:text-3xl uppercase tracking-tight",children:"Baptisms across all campuses"})]}),S.jsxs(oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"bg-secondary p-10 md:p-14 flex flex-col justify-between min-h-[320px]",children:[S.jsx("div",{className:"font-display text-7xl md:text-8xl leading-none font-bold text-white tracking-tighter mb-4",children:"12,567"}),S.jsx("div",{className:"text-white font-bold text-xl md:text-2xl uppercase tracking-tight text-white/80",children:"Weekly in-
9person attendance across nine campuses"})]}),S.jsxs(oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3},className:"bg-gray-100 p-10 md:p-14 flex flex-col justify-between min-h-[320px]",children:[S.jsx("div",{className:"font-display text-7xl md:text-8xl leading-none font-bold text-secondary tracking-tighter mb-4",children:"11,000"}),S.jsx("div",{className:"text-secondary font-bold text-xl md:text-2xl uppercase tracking-tight text-secondary/80",children:"people found community in groups"})]}),S.jsxs(oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4},className:"bg-white border-4 border-secondary p-10 md:p-14 flex flex-col justify-between min-h-[320px]",children:[S.jsx("div",{className:"font-display text-7xl md:text-8xl leading-none font-bold text-secondary tracking-tighter mb-4",children:"9,117"}),S.jsx("div",{className:"text-secondary font-bold text-xl md:text-2xl uppercase tracking-tight text-secondary/80",children:"people have participated in generosity through giving"})]})]})]})}),S.jsxs("section",{className:"relative z-20 overflow-hidden bg-gradient-to-b from-[#222960] to-[#263b8f] py-24 md:py-32",children:[S.jsx("img",{src:g4,alt:"","aria-hidden":"true",className:"pointer-events-none absolute left-[32%] top-1/2 z-0 w-[850px] max-w-none -translate-x-[65%] -translate-y-1/2 select-none opacity-75 sm:left-[36%] sm:w-[1050px] lg:left-[38%] lg:w-[1450px]"}),S.jsxs(oe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},className:"relative z-10 mx-auto flex max-w-[1400px] flex-col items-start justify-between gap-12 px-6 md:flex-row md:items-end md:px-12",children:[S.jsxs("div",{className:"max-w-4xl",children:[S.jsxs("h2",{className:"font-display text-[3.4rem] font-bold uppercase leading-[0.9] text-white sm:text-[4.25rem] md:text-[5rem]",children:[S.jsx("span",{className:"block",children:"From One"}),S.jsx("span",{className:"block",children:"Generation to"}),S.jsx("span",{className:"block",children:"the Next"})]}),S.jsx("p",{className:"mt-8 max-w-2xl text-xl font-medium leading-relaxed text-white/75 md:text-2xl",children:"Follow the latest Vision Project updates and see how your generosity is helping build what comes next."})]}),S.jsxs("a",{href:"https://generations.calvaryftl.org/vision-projects/updates/",target:"_blank",rel:"noopener noreferrer",className:"group inline-flex shrink-0 items-center gap-5 rounded-full bg-accent px-8 py-5 font-bold uppercase tracking-wide text-secondary transition-transform duration-300 hover:scale-105",children:["View Project Updates",S.jsx("span",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-secondary text-white",children:S.jsx(ar,{className:"h-5 w-5 transition-transform duration-300 group-hover:translate-x-1"})})]})]})]}),S.jsx("section",{className:"relative border-b-4 border-accent bg-secondary",children:S.jsx("div",{className:"grid grid-cols-1 divide-y divide-secondary/10 lg:grid-cols-3 lg:divide-x lg:divide-y-0",children:[{title:"Give",desc:"Generosity fuels the vision to reach the next generation.",href:"https://Generations.CalvaryFTL.org",color:"bg-white text-[#00b6f1] hover:bg-[#e1e7ea] hover:text-secondary"},{title:"Volunteer",desc:"There is a place for you to serve the church and the city.",href:"https://CalvaryFTL.org/Volunteer",color:"bg-white text-[#00b6f1] hover:bg-[#e1e7ea] hover:text-secondary"},{title:"Serve Globally",desc:"Serve with missionaries around the world to bring the hope of the gospel.",href:"https://calvaryftl.org/outreach/#global-outreach",color:"bg-white text-[#00b6f1] hover:bg-[#e1e7ea] hover:text-secondary"}].map((y,g)=>S.jsxs("a",{href:y.href,target:"_blank",rel:"noopener noreferrer",className:`group flex min-h-[400px] flex-col justify-between p-12 transition-colors duration-500 md:p-20 ${y.color}`,children:[S.jsx("div",{className:"order-2 mt-8 flex w-full items-start justify-end",children:S.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full border-2 border-black text-black transition-transform duration-500 group-hover:scale-110",children:S.jsx(ar,{className:"h-6 w-6 transition-transform duration-500 group-hover:translate-x-1"})})}),S.jsxs("div",{className:"order-1",children:[S.jsx("h3",{className:"font-display text-5xl md:text-6xl font-bold uppercase tracking-tight mb-4",children:y.title}),S.jsx("p",{className:"max-w-sm text-lg font-medium text-black",children:y.desc})]})]},g))})}),S.jsxs("section",{className:"bg-[#e1e7ea] py-32 md:py-48 relative overflow-hidden",children:[S.jsxs("div",{className:"max-w-[1400px] mx-auto px-6 md:px-12 mb-8 md:mb-12 flex flex-col md:flex-row md:items-end justify-between gap-8",children:[S.jsx(oe.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:S.jsxs("h2",{className:"font-display text-5xl sm:text-6xl md:text-7xl lg:text-8xl uppercase font-bold text-secondary leading-[1.05] tracking-tight",children:[S.jsx("span",{className:"block",children:"Stories of God's"}),S.jsx("span",{className:"block w-fit mt-3 underline decoration-accent decoration-4 underline-offset-8",children:"Faithfulness"})]})}),S.jsxs("div",{className:"flex w-full items-center justify-end gap-3 md:w-auto md:justify-start md:gap-4",children:[S.jsx("button",{type:"button",onClick:()=>p(f-1),disabled:f===0,"aria-label":"View previous story",className:"flex h-11 w-11 items-center justify-center rounded-full border-2 border-secondary text-secondary transition-colors hover:bg-secondary hover:text-white disabled:pointer-events-none disabled:opacity-30 md:h-14 md:w-14",children:S.jsx(Ob,{className:"h-5 w-5 md:h-6 md:w-6"})}),S.jsx("button",{type:"button",onClick:()=>p(f+1),disabled:f===Lf.length-1,"aria-label":"View next story",className:"flex h-11 w-11 items-center justify-center rounded-full border-2 border-secondary text-secondary transition-colors hover:bg-secondary hover:text-white disabled:pointer-events-none disabled:opacity-30 md:h-14 md:w-14",children:S.jsx(Nb,{className:"h-5 w-5 md:h-6 md:w-6"})})]})]}),S.jsx("div",{ref:u,onScroll:m,className:"flex gap-6 overflow-x-auto px-6 md:px-12 pb-12 snap-x snap-mandatory style-hide-scrollbar",children:Lf.map((y,g)=>S.jsxs(oe.a,{href:y.href,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:g*.05},className:"relative flex-none w-[85vw] md:w-[450px] aspect-[4/5] overflow-hidden group snap-center block bg-secondary",children:[S.jsx("div",{className:"absolute inset-0 bg-secondary/20 group-hover:bg-transparent transition-colors duration-500 z-10 mix-blend-multiply"}),S.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-secondary via-secondary/40 to-transparent z-10"}),S.jsx("img",{src:y.image,alt:y.title,className:"absolute inset-0 w-full h-full object-cover transform transition-transform duration-700 group-hover:scale-105 grayscale group-hover:grayscale-0"}),S.jsxs("div",{className:"absolute inset-0 z-20 flex flex-col justify-between p-8",children:[S.jsx("div",{className:"self-end w-12 h-12 rounded-full bg-accent text-secondary flex items-center justify-center opacity-0 -translate-y-4 group-hover:opacity-100 group-hover:translate-y-0 transition-all duration-500",children:S.jsx(g2,{className:"w-5 h-5 ml-1 fill-current"})}),S.jsxs("div",{children:[S.jsx("div",{className:"w-10 h-1 bg-accent mb-6 transform origin-left group-hover:scale-x-150 transition-transform duration-500"}),S.jsx("h4",{className:"font-display text-3xl md:text-4xl font-bold text-white leading-[1.1] uppercase tracking-tight group-hover:-translate-y-2 transition-transform duration-500",children:y.title})]})]})]},g))})]}),S.jsx("section",{className:"bg-white px-6 py-28 md:px-12 md:py-40",children:S.jsxs(oe.blockquote,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},className:"mx-auto max-w-5xl text-center",children:[S.jsx("p",{className:"text-3xl font-semibold leading-snug tracking-tight text-secondary md:text-5xl md:leading-tight",children:"And the Lord answered me: âWrite the vision; make it plain on tablets, so he may run who reads it.â"}),S.jsxs("footer",{className:"mt-10 font-display text-xl uppercase tracking-[0.18em] text-primary md:text-2xl",children:["Habakkuk 2:2 ",S.jsx("span",{className:"text-secondary/60",children:"(ESV)"})]})]})}),S.jsx("style",{dangerouslySetInnerHTML:{__html:` 10 .style-hide-scrollbar::-webkit-scrollbar {
11 display: none; 12 } 13 .style-hide-scrollbar { 14 scrollbar-width: none; 15 -ms-overflow-style: none; 16 } 17 `}})]})}const x4="#6ad2f3",w4=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKYAAABQCAYAAACTQw5zAAAACXBIWXMAAAsSAAALEgHS3X78AAAIGElEQVR4nO2d23HbSgyG/2TyyJmjDsJTQZQKTFdgnwoiV2C7gjgVKKlAdgVWKjBdgZkKzFRgZQbvOQ/Amiual+X9hm9Go0SiRFj7E8DuYpeAUhsiCohoPbQdc+TD0AaMHSLyAfgA1gBi663DAOYshndDGzAmiCgAC/AgDx9A5HleOJxVy2SxwpQQvAawkpcOYBFGw1mlGBYjTBFigESIEYDQ8zwNySNktsIkohVYiCcA/oDzw9DzvLhnG+zOUZA65BOSC6UqEfjvMsRIcuBo6hfcrIQpQjgHNzgA/OwqP7REZ57/QSLCoItz1uAAFvABwC/r/3GfF2gdJi9MS4wn4B/+rs08UVIAHyw64+GCtr5/YEKwl/0t/x6Np52sMInoHMCZ/PeuqWe0PGAAFqCP4zDcFTGOh6GKCDqzIiEGe9VHDDgiMSlhypjiJVg0PwHs61zhGSI0XrEJoTzHYA8EJGEUANBFI1vjrIZAnttMLUKwUMO+hDoJYYp3/AJu5B9VQ7U0XgAO92aYqCoxEm/yByLEKY1xyjgtwL/FR7Cgg+yjCwnBjiHsanht1MIkog1YkI8Avrt6R6tHfibPfoXTmg7CI0SMUxJfHSyvG6B6BIkB7NFybj86YYqorsCi+uF53q3j53wknaBzx9MdwFf/L4ws+R+aVLpzAjfPGgO4A3DbtNc/GmHWEaTVI7+EW3iOkHjDXsc054CkAgHchLoHt2NY51yjECYRXYFDtqsgAzl+U3JojON8SL1hS1hO4QzFESoE8K2qQAcVpnRqvoKFU5pDSs75FcX5T4ikxx63YadSjKNI9wCuXdtkEGHKoPUW7NGuiwRphfgvyBfkHg2Gj5T2kFx/A06v0tOtB7D3/F72Pb0KU0T2FZyfXJT14sRDbpE9nxwD+AH1jKPEcihZAt2D2394J0JE50T0JPlk2bEBET0T0d+Mx701HqeMHCJaEdE2ox2fiqr/O/eYcuXswFfNRZF3s47NylNuwWEg9/PKeBFnssNxOnYAcNp7Dax4yWdHL3lORC85HtLvwVylY8R73qfa90UcUm8GbMVd+w7H57n6oHtrlb4hol26rfs46VpEdeNw7EqOTV9BpZ9Vpk2GOLddnmwjoTtwOHadEboLE2JlXhDRQ6r922/7iqE7S5S71o1SRo1ETFsHD+a99y19+QO4131a1muWq8Icb7jwPO+iqS3KtJBxzGvrpXY2kCAiX7ykU36Q4SlfZBBdWTCpMetmuaYlso3j8auUAS+aTyoAF/G00kOvKkr5TLoXFtQ2QJkVoqdXbTT5kqqiDFKeMqh1cmW2pJzWqtKmWlbH5dq1slwwecMwU1DK1Fg798rripK45tLkkv+pKBUH3KqOrPGm0jnvnM/eiEAVJZPKOaY1bagD4EonpPsggNsA+xbAQQfAlQ45s/4dAiU7CkvoDgB87swkRTmuv/1ZeKQ1tqSD4EpnSOHP0VBR2QecStcUpQmp2cDifoz0orsv3lQWTWoq8m9hZZoUZmgIVzpFdGYX9BQXb0jxZnfVxIqCN0XCxet+ZDypv8VByiKht2u8iidfRMU3/ZinLJGMXnhpCDfDQ+otlU7IEGVuB9ue+bkE72s4/LYdyuyQMkl7OCgCcOryQa2TVDohy1M6RWaSXTB6sFFZGHVFaebKT8A7cClKa8hMzsZ6KQIXipemiybHDMDbPytKYyhZ0r2xXg7hKEog8ZhruN8ESVFykRnDexzv6nZbuWzSTEG2aJuyUDLmvmvvG/ABze8Ipiwc6czc4/hOFhEcdo3Oo/EWMcqykenEZxyL8hYNV8NWWr6rKAYpUdvhWJAHsJdsPMKjHlOpjNRTPOFYlHsA/7YhSnOSldZfKi5QsnW53cF57mJp9nsZVzqgn3tzKxNEyiEf8HYY6BuAz615yYwT3+u6cSWNEWTKQ/4l3iDN78OAjRYIK4YCQT70Wuhj5Zmb3k6qjI7RCDJl1I6Ingc5uTIoEjHTdw8ZVpCWcWZ15M2ghii9QMlmZ+letskhg6FtfEUWCb30ktgqgyDhOr27s5nX7qdT48DRvSSl8/ME3kRL9yuaCdKuG/DyGT/1dgy+i/G4l9VQsiWcDh9NHBkQT9+70Tymdxdjq3xpM7QtSjWIV7ualCwtxmfJK/2h7ayNlYdshrZFKUY6rnkdGZM7BkPbWYXc6iLP8y6ICAB2ROR7nnfTm1VKKVLbEAD4guzp5D14r8n9qHPHHN6VHUC8U8IV+A+9mOIfORfE652BNzr1Mw6JANxh7B0ZB0qFCbwuVt8iqbcLO7RJESQXDMCrWM9xfP9Nwx68kHBfdh/PKeEkTOA1dOzAYWMPvq1K3JFdi0SGdQKwEANkh+gDeMXhZMO0C87CNMjM0CX46r0F8E0FWo+UEE3OmEUEEeNSolVlYQKvP+gWybrhPYC7zuryZoJEnTUSIebVwMZgIZoQPUuvWEQtYRpEoFfgnqEPDjN78JW9aJFaIvSRhOY8Ink8Agg1AjUUpo2U15seo0nSQ8iPDSCa45UvF6cR4SewEIOCjxyQiDACC3F2v0tTWhOmjYg0K4E3jRIB+A0Wa9iFDW0jQzVGhB/BAlwju6dsSIswUm/oRifCtLESfDu3SjdmCEusAOK+G9CaGTH2fUIixLLK/jcXHGYaIfqic2FmIeNzdvgzuVga0+CQ5z/WezHK91vyM77XCC7v/Txi62HEd5iKx58agwgzD/FavjyqeKymREhuRfyYeq13762MTJhlZBQiuIrWFh4AQD3duPkfR7lVUp0OiFwAAAAASUVORK5CYII=",import.meta.url).href,S4="https://calvaryftl.org/wp-content/uploads/2024/11/Altar-Call-1x1-1.jpg",T4=[{title:"Connecting people to God",accent:"God",copy:"Grow your faith through church services, baptism, devotional resources, Bible studies, and classes.",image:"https://calvaryftl.org/wp-content/uploads/2024/11/SunAndCross-GOD.png"},{title:"Connecting people to people",accent:"people",copy:"Connect and grow in community with others through groups, classes, events, and more!",image:"https://calvaryftl.org/wp-content/uploads/2024/11/SunAndCross-PEOPLE.png"},{title:"Connecting people to outreach",accent:"outreach",copy:"Make an impact by serving at church, local outreaches, on mission trips, and more.",image:"https://calvaryftl.org/wp-content/uploads/2024/11/SunAndCross-OUTREACH.png"}],A4=[{title:"we are passionate about the gospel",copy:"Everything we do is because of what Jesus has done for us."},{title:"we are better together",copy:"In community, the best moments in life are even better and the hardest moments become a little easier."},{title:"we believe generosity brings joy",copy:"In response to Godâs generosity toward us, we give our availability, gifts, and resources."},{title:"we go after the one",copy:"Just as Jesus intentionally and personally pursues us, we actively seek out people who donât know Him."}],E4=[{name:"Doug Sauder",role:"Lead Pastor | Fort Lauderdale",image:"https://calvaryftl.org/wp-content/uploads/2024/11/0.jpg",copy:"Doug Sauder has been the lead pastor of Calvary Chapel Fort Lauderdale since May 2014. Prior to this, he was a founding member of 4KIDS and an associate pastor at Calvary Chapel since 2000. He and his wife Suzanne, married since 1993, have three sons: Jackson, Kaden, and Kennedy."},{name:"Javan Shashaty",role:"Campus Pastor | Boca Raton",image:"https://calvaryftl.org/wp-content/uploads/2024/11/BOCA-JavanShashaty-1x1_825px.jpg",copy:"Javan Shashaty, a South Florida native, graduated from Calvary Christian Academy and Liberty University. Called into ministry at a youth camp, heâs served at Calvary Chapel since 2015, previously as Next Gen pastor, with a passion for discipleship and Godâs Word."},{name:"Duane Roberts",role:"Campus Pastor | Boynton Beach",image:"https://calvaryftl.org/wp-content/uploads/2024/11/BOYNTON-DuaneRoberts-1x1_825px.jpg",copy:"In 2008, Duane Roberts and his wife Adeline found their church home at Calvary Chapel Boynton Beach. Ordained in 2010, Duane is passionate about shepherding, teaching Godâs Word, and supporting those facing struggles, with a heart for growth in Boynton Beach."},{name:"Mike Leger",role:"Campus Pastor | Downtown",image:"https://calvaryftl.org/wp-content/uploads/2024/11/DOWNTOWN-MikeLeger-1x1_825px.jpg",copy:"Pastor Mike Leger has served at Calvary for 23 years, starting as youth pastor at Calvary Chapel Fort Lauderdale. He and his wife Heather, married for 20 years, have four children. Mike loves spending time outdoors with his family and connecting with others."},{name:"Brian Quigley",role:"Campus Pastor | West Boca",image:"https://calvaryftl.org/wp-content/uploads/2024/11/NLAUDERDALE-BrianQuigley-1x1_825px.jpg",copy:"After accepting Jesus, Brian Quigley was led to Calvary Chapel, where he grew in faith and met his wife, Margo, a single mom. They married and had a son, Wyatt. Brian loves the strong sense of family and community in the church, located in a diverse neighborhood."},{name:"Steve Daigle",role:"Campus Pastor | Parkland",image:"https://calvaryftl.org/wp-content/uploads/2024/11/PARKLAND-SteveDaigle-1x1_825px.jpg",copy:"Pastor Steve Daigle has been with Calvary since 2005 and in ministry since 2015. He and his wife Kim, along with their children, Daniel, Abel, Providence, and Joshua, prayed for a church in Parkland. God answered by guiding them to plant one in their city."},{name:"Chris Baselice",role:"Campus Pastor | Plantation",image:"https://calvaryftl.org/wp-content/uploads/2024/11/PLANTATION-ChrisBaselice-1x1_825px.jpg",copy:"Pastor Chris Baselice has served at Calvary since 2002 and was ordained in 2011. He and his wife Shona, high school sweethearts married for 13 years, have three children: Savannah, Elijah, and Jacob. Chris loves family pool time followed by ice cream outings!"},{name:"Michael Scruby",role:"Campus Pastor | Pembroke Pines",image:"https://calvaryftl.org/wp-content/uploads/2024/11/CC26_FTL_Pastors_headshots-2.jpg",copy:"Michael and his wife, Gretchen, have been married for 25 years and have three children. After more than 20 years at Calvary and 16 years in full-time ministry, Michael was ordained in 2016. Heâs passionate about shepherding God's people, teaching His Word clearly, and disciplining others to grow in Christ."},{name:"John Moses",role:"Campus Pastor | West Boca",image:"https://calvaryftl.org/wp-content/uploads/2026/08/CC26_FTL_Pastors_headshots_JohnM.jpg",copy:"Pastor John Moses and his wife, Wendy, have been part of Calvary Chapel since 2005 and are blessed with five children. John joined the church staff in 2014, was ordained in 2026, and is passionate about helping people experience the hope, healing, and transforming love of Jesusâespecially with those who are hurting."},{name:"José Llamas",role:"Campus Pastor | Español",image:"https://calvaryftl.org/wp-content/uploads/2024/11/ESPANOL-JoseLlamas-1x1_825px.jpg",copy:"El Pastor José Llamas y su esposa Mara han sido parte de Calvary Chapel Fort Lauderdale desde 2009. C
17asados desde 2004 y con tres hijos, Juan, Rafael y Michael, dejaron el mundo de la televisión para seguir a Cristo y dedicarse al ministerio a tiempo completo."},{name:"Dan Hickling",role:"Campus Pastor | Online",image:"https://calvaryftl.org/wp-content/uploads/2024/11/ONLINE-DanHickling-1x1_825px.jpg",copy:"Pastor Dan Hickling leads the Calvary Chapel Online Campus. He and his wife Becky, married since 1997 with two children, Lauren and Danny, have been part of CCFL since 1997 and in full-time ministry since 1999."}];function C4({title:e,accent:i}){const a=e.lastIndexOf(i),r=e.slice(0,a),l=e.slice(a+i.length);return S.jsxs(S.Fragment,{children:[r,S.jsx("span",{className:"text-primary",children:i}),l]})}function R4(){const e=E.useRef(null);E.useEffect(()=>{document.title="Our Mission | Calvary Chapel Fort Lauderdale";const a="Calvary Chapel Fort Lauderdale exists to make disciples by connecting people to God, to people, and to outreach.";let r=document.querySelector('meta[name="description"]');r||(r=document.createElement("meta"),r.setAttribute("name","description"),document.head.appendChild(r)),r.setAttribute("content",a)},[]);const i=a=>{const r=e.current;if(r){if(window.matchMedia("(min-width: 1024px)").matches){const l=Array.from(r.querySelectorAll("[data-pastor-card]"));if(!l.length)return;const u=l.reduce((h,p,m)=>{const y=Math.abs(l[h].offsetLeft-r.scrollLeft);return Math.abs(p.offsetLeft-r.scrollLeft)<y?m:h},0),f=Math.max(0,Math.min(l.length-1,u+a*2));r.scrollTo({left:l[f].offsetLeft,behavior:"smooth"});return}r.scrollBy({left:a*Math.min(r.clientWidth*.85,650),behavior:"smooth"})}};return S.jsxs("main",{className:"min-h-[100dvh] overflow-hidden font-sans text-secondary",style:{backgroundColor:x4},children:[S.jsx(ww,{}),S.jsx("section",{className:"relative min-h-[100dvh] px-6 pb-16 pt-28 md:min-h-[88dvh] md:px-20 md:pb-20 md:pt-32 lg:px-28",children:S.jsxs("div",{className:"mx-auto grid min-h-[calc(100dvh-11rem)] max-w-[1200px] items-center gap-14 md:min-h-[calc(88dvh-13rem)] lg:gap-20 lg:grid-cols-[1.05fr_.95fr]",children:[S.jsxs(oe.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10",children:[S.jsxs("h1",{className:"max-w-4xl font-sans text-[3.25rem] font-extrabold leading-[.86] tracking-tight sm:text-[4.5rem] md:text-[5.5rem] lg:text-[6rem]",children:[S.jsxs("span",{className:"block whitespace-nowrap",children:["our"," ",S.jsxs("span",{className:"relative inline-block px-2",children:[S.jsx("span",{className:"relative z-10",children:"mission"}),S.jsx("img",{src:w4,alt:"","aria-hidden":"true",className:"pointer-events-none absolute -inset-x-3 -inset-y-2 h-[calc(100%+1rem)] w-[calc(100%+1.5rem)]"})]})]}),S.jsx("span",{className:"block",children:"is to make"}),S.jsx("span",{className:"block",children:"disciples"})]}),S.jsxs("blockquote",{className:"mt-8 max-w-3xl text-sm font-semibold italic leading-relaxed md:text-base",children:["âTherefore go and make disciples of all nations, baptizing them in the name of the Father and of the Son and of the Holy Spirit.â",S.jsx("footer",{className:"mt-2 not-italic",children:"âMatthew 28:19"})]}),S.jsxs("a",{href:"https://calvaryftl.org/wp-content/uploads/2025/11/CR-2185-Statement-of-Faith-2025_WEB.pdf",target:"_blank",rel:"noreferrer",className:"group mt-8 inline-flex items-center gap-3 rounded-full border-2 border-secondary px-6 py-3 text-xs font-bold uppercase tracking-[.1em] transition-colors hover:bg-secondary hover:text-white",children:["Read our statement of faith",S.jsx(ar,{className:"h-4 w-4 transition-transform group-hover:translate-x-1"})]})]}),S.jsx(oe.div,{initial:{opacity:0,scale:.94},animate:{opacity:1,scale:1},transition:{duration:.9,delay:.1},className:"order-first relative mx-auto aspect-square w-full max-w-[560px] overflow-hidden rounded-full lg:order-none",children:S.jsx("img",{src:S4,alt:"A pastor speaking to the Calvary congregation",className:"h-full w-full object-cover"})})]})}),S.jsx("section",{className:"bg-gradient-to-b from-transparent via-white/15 via-[55%] to-white/35 px-6 pb-14 pt-4 md:px-20 md:pb-20 md:pt-8 lg:px-28",children:S.jsxs("div",{className:"mx-auto max-w-[1200px]",children:[S.jsx("div",{className:"mb-8 text-center",children:S.jsx("h2",{className:"text-center text-sm font-extrabold uppercase tracking-[.08em]",children:"How we do it"})}),S.jsx("div",{className:"grid gap-6 lg:grid-cols-3",children:T4.map((a,r)=>
17S.jsxs(oe.article,{initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:r*.08},className:"group overflow-hidden rounded-[24px] bg-white",children:[S.jsx("div",{className:"flex h-64 items-center justify-center overflow-hidden bg-black p-7",children:S.jsx("img",{src:a.image,alt:"","aria-hidden":"true",className:"h-full w-full object-contain transition-transform duration-500 group-hover:scale-105"})}),S.jsxs("div",{className:"p-8 md:p-10",children:[S.jsx("h2",{className:"font-sans text-4xl font-extrabold uppercase leading-[.95] tracking-tight",children:S.jsx(C4,{title:a.title,accent:a.accent})}),S.jsx("p",{className:"mt-5 text-sm font-medium leading-relaxed text-secondary/70",children:a.copy})]})]},a.title))})]})}),S.jsx("section",{className:"bg-gradient-to-b from-white/35 via-white/60 via-[60%] to-white px-6 py-14 md:px-20 md:py-20 lg:px-28",children:S.jsxs("div",{className:"mx-auto max-w-[1200px]",children:[S.jsx("h2",{className:"text-center text-sm font-extrabold uppercase tracking-[.08em]",children:"What we value"}),S.jsx("div",{className:"mt-8 grid gap-6 md:grid-cols-2 xl:grid-cols-4",children:A4.map((a,r)=>S.jsxs(oe.article,{initial:{opacity:0,y:22},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:r*.07},className:"min-h-[260px] rounded-[18px] bg-[#55c3e8] p-8 text-white",children:[S.jsx("h3",{className:"font-sans text-4xl font-extrabold leading-[.88] tracking-tight",children:a.title}),S.jsx("p",{className:"mt-6 text-sm font-medium leading-relaxed text-white/80",children:a.copy})]},a.title))})]})}),S.jsx("section",{className:"bg-white px-6 py-14 text-center md:px-20 md:py-20 lg:px-28",children:S.jsxs("div",{className:"mx-auto max-w-3xl",children:[S.jsx("h2",{className:"text-sm font-extrabold uppercase tracking-[.08em]",children:"Our story"}),S.jsxs("div",{className:"mt-6 space-y-4 text-left text-base font-medium leading-relaxed md:text-lg",children:[S.jsx("p",{children:"Since 1985, Calvary Chapel Fort Lauderdale has been dedicated to the mission of making disciples by connecting people to God, to people, and to outreach. Calvary is a multi-site, non-denominational church located in South Florida."}),S.jsx("p",{children:"As we head into our 40th year of ministry, we praise God for His faithfulness through Calvaryâs history while looking with prayerful expectation to the future."}),S.jsx("p",{children:"Everything we do and say is anchored in the gospel storyâa story that shows how Jesus came to make a way for us to have a relationship with Him."})]})]})}),S.jsx("section",{className:"bg-[#dff5fb] px-6 py-14 md:px-20 md:py-20 lg:px-28",children:S.jsxs("div",{className:"mx-auto max-w-[1200px]",children:[S.jsxs("div",{className:"flex flex-col items-start justify-between gap-6 sm:flex-row sm:items-end",children:[S.jsxs("h2",{className:"max-w-4xl font-sans text-6xl font-extrabold leading-[.86] tracking-tight md:text-8xl",children:["get to know",S.jsx("span",{className:"block text-primary",children:"our pastors"})]}),S.jsxs("div",{className:"mb-1 flex w-full shrink-0 justify-end gap-3 sm:w-auto sm:justify-start","aria-label":"Pastor carousel controls",children:[S.jsx("button",{type:"button",onClick:()=>i(-1),"aria-label":"View previous pastor",className:"flex h-10 w-10 items-center justify-center rounded-full border-2 border-secondary bg-transparent text-secondary transition-colors hover:border-black hover:bg-black hover:text-white sm:h-12 sm:w-12",children:S.jsx(Ob,{className:"h-5 w-5 sm:h-6 sm:w-6"})}),S.jsx("button",{type:"button",onClick:()=>i(1),"aria-label":"View next pastor",className:"flex h-10 w-10 items-center justify-center rounded-full border-2 border-secondary bg-transparent text-secondary transition-colors hover:border-black hover:bg-black hover:text-white sm:h-12 sm:w-12",children:S.jsx(Nb,{className:"h-5 w-5 sm:h-6 sm:w-6"})})]})]}),S.jsx("div",{ref:e,className:"mt-4 flex snap-x snap-mandatory gap-8 overflow-x-auto pb-6 sm:mt-10 lg:-mx-8 xl:-mx-12",children:E4.map(a=>S.jsxs("article",{"data-pastor-card":!0,className:"grid w-[85vw] max-w-[620px] flex-none snap-center items-start gap-3 md:grid-cols-[220px_1fr] md:items-center md:gap-8 lg:snap-start",children:[S.jsx("img",{src:a.image,alt:a.name,className:"mr-auto aspect-square w-1/2 roun
17ded-full object-cover md:w-full"}),S.jsxs("div",{children:[S.jsxs("div",{children:[S.jsx("h3",{className:"font-sans text-4xl font-extrabold uppercase leading-none",children:a.name}),S.jsx("p",{className:"mt-2 text-xs font-bold uppercase tracking-[.08em]",children:a.role})]}),S.jsx("p",{className:"mt-4 text-sm font-medium leading-relaxed text-secondary/70",children:a.copy})]})]},a.name))}),S.jsxs("a",{href:"https://calvaryftl.org/visit",target:"_top",className:"group mt-10 inline-flex items-center gap-4 rounded-full bg-secondary px-6 py-3 text-sm font-bold uppercase tracking-[.1em] text-white transition-transform hover:-translate-y-1",children:["Find your place at Calvary",S.jsx(ar,{className:"h-4 w-4 transition-transform group-hover:translate-x-1"})]})]})})]})}const M4=new JA;function D4(){return S.jsxs(TA,{children:[S.jsx(cf,{path:"/mission",component:R4}),S.jsx(cf,{path:"/",component:b4}),S.jsx(cf,{component:$R})]})}function O4(){return S.jsx(tE,{client:M4,children:S.jsxs(FR,{children:[S.jsx(Q0,{base:"/".replace(/\/$/,""),children:S.jsx(D4,{})}),S.jsx(hC,{})]})})}tA.createRoot(document.getElementById("root")).render(S.jsx(O4,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.