PageSourceSearch

https://lifemaster-or-nonconformity-company.replit.app/assets/index-BHtpEt6R.js

js lifemaster-or-nonconformity-company.replit.app collected 2026-10-03 03:55:11 UTC 492,570 bytes, 19 lines download raw bytes

vendor: 5,100 bytes, line 1
1function QT(e,i){for(var s=0;s<i.length;s++){const r=i[s];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 s(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=s(l);fetch(l.href,u)}})();function F0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cf={exports:{}},to={};var Ag;function XT(){if(Ag)return to;Ag=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(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 m in l)m!=="key"&&(u[m]=l[m])}else u=l;return l=u.ref,{$$typeof:e,type:r,key:f,ref:l!==void 0?l:null,props:u}}return to.Fragment=i,to.jsx=s,to.jsxs=s,to}var Cg;function KT(){return Cg||(Cg=1,cf.exports=XT()),cf.exports}var b=KT(),uf={exports:{}},eo={},ff={exports:{}},df={};var Mg;function ZT(){return Mg||(Mg=1,(function(e){function i(_,Y){var k=_.length;_.push(Y);t:for(;0<k;){var at=k-1>>>1,dt=_[at];if(0<l(dt,Y))_[at]=Y,_[k]=dt,k=at;else break t}}function s(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var Y=_[0],k=_.pop();if(k!==Y){_[0]=k;t:for(var at=0,dt=_.length,R=dt>>>1;at<R;){var Q=2*(at+1)-1,I=_[Q],$=Q+1,ht=_[$];if(0>l(I,k))$<dt&&0>l(ht,I)?(_[at]=ht,_[$]=k,at=$):(_[at]=I,_[Q]=k,at=Q);else if($<dt&&0>l(ht,k))_[at]=ht,_[$]=k,at=$;else break t}}return Y}function l(_,Y){var k=_.sortIndex-Y.sortIndex;return k!==0?k:_.id-Y.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,m=f.now();e.unstable_now=function(){return f.now()-m}}var p=[],h=[],y=1,v=null,x=3,T=!1,A=!1,E=!1,M=!1,N=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function q(_){for(var Y=s(h);Y!==null;){if(Y.callback===null)r(h);else if(Y.startTime<=_)r(h),Y.sortIndex=Y.expirationTime,i(p,Y);else break;Y=s(h)}}function P(_){if(E=!1,q(_),!A)if(s(p)!==null)A=!0,Z||(Z=!0,ft());else{var Y=s(h);Y!==null&&mt(P,Y.startTime-_)}}var Z=!1,G=-1,U=5,J=-1;function ot(){return M?!0:!(e.unstable_now()-J<U)}function ut(){if(M=!1,Z){var _=e.unstable_now();J=_;var Y=!0;try{t:{A=!1,E&&(E=!1,V(G),G=-1),T=!0;var k=x;try{e:{for(q(_),v=s(p);v!==null&&!(v.expirationTime>_&&ot());){var at=v.callback;if(typeof at=="function"){v.callback=null,x=v.priorityLevel;var dt=at(v.expirationTime<=_);if(_=e.unstable_now(),typeof dt=="function"){v.callback=dt,q(_),Y=!0;break e}v===s(p)&&r(p),q(_)}else r(p);v=s(p)}if(v!==null)Y=!0;else{var R=s(h);R!==null&&mt(P,R.startTime-_),Y=!1}}break t}finally{v=null,x=k,T=!1}Y=void 0}}finally{Y?ft():Z=!1}}}var ft;if(typeof j=="function")ft=function(){j(ut)};else if(typeof MessageChannel<"u"){var bt=new MessageChannel,W=bt.port2;bt.port1.onmessage=ut,ft=function(){W.postMessage(null)}}else ft=function(){N(ut,0)};function mt(_,Y){G=N(function(){_(e.unstable_now())},Y)}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(_){_.callback=null},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(_){switch(x){case 1:case 2:case 3:var Y=3;break;default:Y=x}var k=x;x=Y;try{return _()}finally{x=k}},e.unstable_requestPaint=function(){M=!0},e.unstable_runWithPriority=function(_,Y){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var k=x;x=_;try{return Y()}finally{x=k}},e.unstable_scheduleCallback=function(_,Y,k){var at=e.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?at+k:at):k=at,_){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=k+dt,_={id:y++,callback:Y,priorityLevel:_,startTime:k,expirationTime:dt,sortIndex:-1},k>at?(_.sortIndex=k,i(h,_),s(p)===null&&_===s(h)&&(E?(V(G),G=-1):E=!0,mt(P,k-at))):(_.sortIndex=dt,i(p,_),A||T||(A=!0,Z||(Z=!0,ft()
vendor: 12,931 bytes, line 1
1))),_},e.unstable_shouldYield=ot,e.unstable_wrapCallback=function(_){var Y=x;return function(){var k=x;x=Y;try{return _.apply(this,arguments)}finally{x=k}}}})(df)),df}var Rg;function IT(){return Rg||(Rg=1,ff.exports=ZT()),ff.exports}var hf={exports:{}},pt={};var Og;function $T(){if(Og)return pt;Og=1;var e=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=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"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),x=Symbol.iterator;function T(R){return R===null||typeof R!="object"?null:(R=x&&R[x]||R["@@iterator"],typeof R=="function"?R:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,M={};function N(R,Q,I){this.props=R,this.context=Q,this.refs=M,this.updater=I||A}N.prototype.isReactComponent={},N.prototype.setState=function(R,Q){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,Q,"setState")},N.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function V(){}V.prototype=N.prototype;function j(R,Q,I){this.props=R,this.context=Q,this.refs=M,this.updater=I||A}var q=j.prototype=new V;q.constructor=j,E(q,N.prototype),q.isPureReactComponent=!0;var P=Array.isArray;function Z(){}var G={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function J(R,Q,I){var $=I.ref;return{$$typeof:e,type:R,key:Q,ref:$!==void 0?$:null,props:I}}function ot(R,Q){return J(R.type,Q,R.props)}function ut(R){return typeof R=="object"&&R!==null&&R.$$typeof===e}function ft(R){var Q={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(I){return Q[I]})}var bt=/\/+/g;function W(R,Q){return typeof R=="object"&&R!==null&&R.key!=null?ft(""+R.key):Q.toString(36)}function mt(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(Z,Z):(R.status="pending",R.then(function(Q){R.status==="pending"&&(R.status="fulfilled",R.value=Q)},function(Q){R.status==="pending"&&(R.status="rejected",R.reason=Q)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function _(R,Q,I,$,ht){var yt=typeof R;(yt==="undefined"||yt==="boolean")&&(R=null);var rt=!1;if(R===null)rt=!0;else switch(yt){case"bigint":case"string":case"number":rt=!0;break;case"object":switch(R.$$typeof){case e:case i:rt=!0;break;case y:return rt=R._init,_(rt(R._payload),Q,I,$,ht)}}if(rt)return ht=ht(R),rt=$===""?"."+W(R,0):$,P(ht)?(I="",rt!=null&&(I=rt.replace(bt,"$&/")+"/"),_(ht,Q,I,"",function(He){return He})):ht!=null&&(ut(ht)&&(ht=ot(ht,I+(ht.key==null||R&&R.key===ht.key?"":(""+ht.key).replace(bt,"$&/")+"/")+rt)),Q.push(ht)),1;rt=0;var Ft=$===""?".":$+":";if(P(R))for(var Dt=0;Dt<R.length;Dt++)$=R[Dt],yt=Ft+W($,Dt),rt+=_($,Q,I,yt,ht);else if(Dt=T(R),typeof Dt=="function")for(R=Dt.call(R),Dt=0;!($=R.next()).done;)$=$.value,yt=Ft+W($,Dt++),rt+=_($,Q,I,yt,ht);else if(yt==="object"){if(typeof R.then=="function")return _(mt(R),Q,I,$,ht);throw Q=String(R),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return rt}function Y(R,Q,I){if(R==null)return R;var $=[],ht=0;return _(R,$,"","",function(yt){return Q.call(I,yt,ht++)}),$}function k(R){if(R._status===-1){var Q=R._result;Q=Q(),Q.then(function(I){(R._status===0||R._status===-1)&&(R._status=1,R._result=I)},function(I){(R._status===0||R._status===-1)&&(R._status=2,R._result=I)}),R._status===-1&&(R._status=0,R._result=Q)}if(R._status===1)return R._result.default;throw R._result}var at=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)},dt={map:Y,forEach:function(R,Q,I){Y(R,function(){Q.apply(this,arguments)},I)},count:function(R){var Q=0;return Y(R,function(){Q++}),Q},toArray:function(R){return Y(R,function(Q){return Q})||[]},only:function(R){if(!ut(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};return pt.Activity=v,pt.Children=dt,pt.Component=N,pt.Fragment=s,pt.Profiler=l,pt.PureComponent=j,pt.StrictMode=r,pt.Suspense=p,pt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G,pt.__COMPILER_RUNTIME={__proto__:null,c:function(R){return G.H.useMemoCache(R)}},pt.cache=function(R){return function(){return R.apply(null,arguments)}},pt.cacheSignal=function(){return null},pt.cloneElement=function(R,Q,I){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var $=E({},R.props),ht=R.key;if(Q!=null)for(yt in Q.key!==void 0&&(ht=""+Q.key),Q)!U.call(Q,yt)||yt==="key"||yt==="__self"||yt==="__source"||yt==="ref"&&Q.ref===void 0||($[yt]=Q[yt]);var yt=arguments.length-2;if(yt===1)$.children=I;else if(1<yt){for(var rt=Array(yt),Ft=0;Ft<yt;Ft++)rt[Ft]=arguments[Ft+2];$.children=rt}return J(R.type,ht,$)},pt.createContext=function(R){return R={$$typeof:f,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:u,_context:R},R},pt.createElement=function(R,Q,I){var $,ht={},yt=null;if(Q!=null)for($ in Q.key!==void 0&&(yt=""+Q.key),Q)U.call(Q,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(ht[$]=Q[$]);var rt=arguments.length-2;if(rt===1)ht.children=I;else if(1<rt){for(var Ft=Array(rt),Dt=0;Dt<rt;Dt++)Ft[Dt]=arguments[Dt+2];ht.children=Ft}if(R&&R.defaultProps)for($ in rt=R.defaultProps,rt)ht[$]===void 0&&(ht[$]=rt[$]);return J(R,yt,ht)},pt.createRef=function(){return{current:null}},pt.forwardRef=function(R){return{$$typeof:m,render:R}},pt.isValidElement=ut,pt.lazy=function(R){return{$$typeof:y,_payload:{_status:-1,_result:R},_init:k}},pt.memo=function(R,Q){return{$$typeof:h,type:R,compare:Q===void 0?null:Q}},pt.startTransition=function(R){var Q=G.T,I={};G.T=I;try{var $=R(),ht=G.S;ht!==null&&ht(I,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(Z,at)}catch(yt){at(yt)}finally{Q!==null&&I.types!==null&&(Q.types=I.types),G.T=Q}},pt.unstable_useCacheRefresh=function(){return G.H.useCacheRefresh()},pt.use=function(R){return G.H.use(R)},pt.useActionState=function(R,Q,I){return G.H.useActionState(R,Q,I)},pt.useCallback=function(R,Q){return G.H.useCallback(R,Q)},pt.useContext=function(R){return G.H.useContext(R)},pt.useDebugValue=function(){},pt.useDeferredValue=function(R,Q){return G.H.useDeferredValue(R,Q)},pt.useEffect=function(R,Q){return G.H.useEffect(R,Q)},pt.useEffectEvent=function(R){return G.H.useEffectEvent(R)},pt.useId=function(){return G.H.useId()},pt.useImperativeHandle=function(R,Q,I){return G.H.useImperativeHandle(R,Q,I)},pt.useInsertionEffect=function(R,Q){return G.H.useInsertionEffect(R,Q)},pt.useLayoutEffect=function(R,Q){return G.H.useLayoutEffect(R,Q)},pt.useMemo=function(R,Q){return G.H.useMemo(R,Q)},pt.useOptimistic=function(R,Q){return G.H.useOptimistic(R,Q)},pt.useReducer=function(R,Q,I){return G.H.useReducer(R,Q,I)},pt.useRef=function(R){return G.H.useRef(R)},pt.useState=function(R){return G.H.useState(R)},pt.useSyncExternalStore=function(R,Q,I){return G.H.useSyncExternalStore(R,Q,I)},pt.useTransition=function(){return G.H.useTransition()},pt.version="19.2.3",pt}var Ng;function Ml(){return Ng||(Ng=1,hf.exports=$T()),hf.exports}var mf={exports:{}},he={};var Dg;function JT(){if(Dg)return he;Dg=1;var e=Ml();function i(p){var h="https://react.dev/errors/"+p;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(p,h,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:v==null?null:""+v,children:p,containerInfo:h,implementation:y}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,h){if(p==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return he.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,he.createPortal=function(p,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(i(299));return u(p,h,null,y)},he.flushSync=function(p){var h=f.T,y=r.p;try{if(f.T=null,r.p=2,p)return p()}finally{f.T=h,r.p=y,r.d.f()}},he.preconnect=function(p,h){typeof p=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(p,h))},he.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},he.preinit=function(p,h){if(typeof p=="string"&&h&&typeof h.as=="string"){var y=h.as,v=m(y,h.crossOrigin),x=typeof h.integrity=="string"?h.integrity:void 0,T=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?r.d.S(p,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:v,integrity:x,fetchPriority:T}):y==="script"&&r.d.X(p,{crossOrigin:v,integrity:x,fetchPriority:T,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},he.preinitModule=function(p,h){if(typeof p=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=m(h.as,h.crossOrigin);r.d.M(p,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(p)},he.preload=function(p,h){if(typeof p=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,v=m(y,h.crossOrigin);r.d.L(p,y,{crossOrigin:v,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},he.preloadModule=function(p,h){if(typeof p=="string")if(h){var y=m(h.as,h.crossOrigin);r.d.m(p,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(p)},he.requestFormReset=function(p){r.d.r(p)},he.unstable_batchedUpdates=function(p,h){return p(h)},he.useFormState=function(p,h,y){return f.H.useFormState(p,h,y)},he.useFormStatus=function(){return f.H.useHostTransitionStatus()},he.version="19.2.3",he}var jg;function Q0(){if(jg)return mf.exports;jg=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(),mf.exports=JT(),mf.exports}var _g;function WT(){if(_g)return eo;_g=1;var e=IT(),i=Ml(),s=Q0();function r(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)n+="&args[]="+encodeURIComponent(arguments[a])}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,a=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(a=n.return),t=n.return;while(t)}return n.tag===3?a: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 m(t){if(t.tag===31){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function p(t){if(u(t)!==t)throw Error(r(188))}function h(t){var n=t.alternate;if(!n){if(n=u(t),n===null)throw Error(r(188));return n!==t?null:t}for(var a=t,o=n;;){var c=a.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){a=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===a)return p(c),t;
vendor: 8,300 bytes, lines 1-8
1if(d===o)return p(c),n;d=d.sibling}throw Error(r(188))}if(a.return!==o.return)a=c,o=d;else{for(var g=!1,S=c.child;S;){if(S===a){g=!0,a=c,o=d;break}if(S===o){g=!0,o=c,a=d;break}S=S.sibling}if(!g){for(S=d.child;S;){if(S===a){g=!0,a=d,o=c;break}if(S===o){g=!0,o=d,a=c;break}S=S.sibling}if(!g)throw Error(r(189))}}if(a.alternate!==o)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?t:n}function y(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=y(t),n!==null)return n;t=t.sibling}return null}var v=Object.assign,x=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),j=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),ot=Symbol.for("react.memo_cache_sentinel"),ut=Symbol.iterator;function ft(t){return t===null||typeof t!="object"?null:(t=ut&&t[ut]||t["@@iterator"],typeof t=="function"?t:null)}var bt=Symbol.for("react.client.reference");function W(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===bt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case E:return"Fragment";case N:return"Profiler";case M:return"StrictMode";case P:return"Suspense";case Z:return"SuspenseList";case J:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case A:return"Portal";case j:return t.displayName||"Context";case V:return(t._context.displayName||"Context")+".Consumer";case q:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case G:return n=t.displayName||null,n!==null?n:W(t.type)||"Memo";case U:n=t._payload,t=t._init;try{return W(t(n))}catch{}}return null}var mt=Array.isArray,_=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},at=[],dt=-1;function R(t){return{current:t}}function Q(t){0>dt||(t.current=at[dt],at[dt]=null,dt--)}function I(t,n){dt++,at[dt]=t.current,t.current=n}var $=R(null),ht=R(null),yt=R(null),rt=R(null);function Ft(t,n){switch(I(yt,n),I(ht,t),I($,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?Ky(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=Ky(n),t=Zy(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q($),I($,t)}function Dt(){Q($),Q(ht),Q(yt)}function He(t){t.memoizedState!==null&&I(rt,t);var n=$.current,a=Zy(n,t.type);n!==a&&(I(ht,t),I($,a))}function dn(t){ht.current===t&&(Q($),Q(ht)),rt.current===t&&(Q(rt),Is._currentValue=k)}var hn,ji;function _i(t){if(hn===void 0)try{throw Error()}catch(a){var n=a.stack.trim().match(/\n( *(at )?)/);hn=n&&n[1]||"",ji=-1<a.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+hn+t+ji}var Fl=!1;function Ql(t,n){if(!t||Fl)return"";Fl=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(H){var B=H}Reflect.construct(t,[],K)}else{try{K.call()}catch(H){B=H}t.call(K.prototype)}}else{try{throw Error()}catch(H){B=H}(K=t())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(H){if(H&&B&&typeof H.stack=="string")return[H.stack,B.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),g=d[0],S=d[1];if(g&&S){var C=g.split(`
4`),L=S.split(`
5`);for(c=o=0;o<C.length&&!C[o].includes("DetermineComponentFrameRoot");)o++;for(;c<L.length&&!L[c].includes("DetermineComponentFrameRoot");)c++;if(o===C.length||c===L.length)for(o=C.length-1,c=L.length-1;1<=o&&0<=c&&C[o]!==L[c];)c--;for(;1<=o&&0<=c;o--,c--)if(C[o]!==L[c]){if(o!==1||c!==1)do if(o--,c--,0>c||C[o]!==L[c]){var F=`
6`+C[o].replace(" at new "," at ");return t.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",t.displayName)),F}while(1<=o&&0<=c);break}}}finally{Fl=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?_i(a):""}function TS(t,n){switch(t.tag){case 26:case 27:case 5:return _i(t.type);case 16:return _i("Lazy");case 13:return t.child!==n&&n!==null?_i("Suspense Fallback"):_i("Suspense");case 19:return _i("SuspenseList");case 0:case 15:return Ql(t.type,!1);case 11:return Ql(t.type.render,!1);case 1:return Ql(t.type,!0);case 31:return _i("Activity");default:return""}}function Ah(t){try{var n="",a=null;do n+=TS(t,a),a=t,t=t.return;while(t);return n}catch(o){return`
7Error generating stack: `+o.message+`
8`+o.stack}}var Xl=Object.prototype.hasOwnProperty,Kl=e.unstable_scheduleCallback,Zl=e.unstable_cancelCallback,ES=e.unstable_shouldYield,AS=e.unstable_requestPaint,Me=e.unstable_now,CS=e.unstable_getCurrentPriorityLevel,Ch=e.unstable_ImmediatePriority,Mh=e.unstable_UserBlockingPriority,Do=e.unstable_NormalPriority,MS=e.unstable_LowPriority,Rh=e.unstable_IdlePriority,RS=e.log,OS=e.unstable_setDisableYieldValue,ls=null,Re=null;function Zn(t){if(typeof RS=="function"&&OS(t),Re&&typeof Re.setStrictMode=="function")try{Re.setStrictMode(ls,t)}catch{}}var Oe=Math.clz32?Math.clz32:jS,NS=Math.log,DS=Math.LN2;function jS(t){return t>>>=0,t===0?32:31-(NS(t)/DS|0)|0}var jo=256,_o=262144,zo=4194304;function zi(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:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;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 Lo(t,n,a){var o=t.pendingLanes;if(o===0)return 0;var c=0,d=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var S=o&134217727;return S!==0?(o=S&~d,o!==0?c=zi(o):(g&=S,g!==0?c=zi(g):a||(a=S&~t,a!==0&&(c=zi(a))))):(S=o&~d,S!==0?c=zi(S):g!==0?c=zi(g):a||(a=o&~t,a!==0&&(c=zi(a)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,a=n&-n,d>=a||d===32&&(a&4194048)!==0)?n:c}function cs(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function _S(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 Oh(){var t=zo;return zo<<=1,(zo&62914560)===0&&(zo=4194304),t}function Il(t){for(var n=[],a=0;31>a;a++)n.push(t);return n}function us(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function zS(t,n,a,o,c,d){var g=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var S=t.entanglements,C=t.expirationTimes,L=t.hiddenUpdates;for(a=g&~a;0<a;){var F=31-Oe(a),K=1<<F;S[F]=0,C[F]=-1;var B=L[F];if(B!==null)for(L[F]=null,F=0;F<B.length;F++){var H=B[F];H!==null&&(H.lane&=-536870913)}a&=~K}o!==0&&Nh(t,o,0),d!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=d&~(g&~n))}function Nh(t,n,a){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-Oe(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|a&261930}function Dh(t,n){var a=t.entangledLanes|=n;for(t=t.entanglements;a;
vendor: 8,573 bytes, line 8
8){var o=31-Oe(a),c=1<<o;c&n|t[o]&n&&(t[o]|=n),a&=~c}}function jh(t,n){var a=n&-n;return a=(a&42)!==0?1:$l(a),(a&(t.suspendedLanes|n))!==0?0:a}function $l(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 Jl(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function _h(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:vg(t.type))}function zh(t,n){var a=Y.p;try{return Y.p=t,n()}finally{Y.p=a}}var In=Math.random().toString(36).slice(2),oe="__reactFiber$"+In,ve="__reactProps$"+In,ra="__reactContainer$"+In,Wl="__reactEvents$"+In,LS="__reactListeners$"+In,VS="__reactHandles$"+In,Lh="__reactResources$"+In,fs="__reactMarker$"+In;function tc(t){delete t[oe],delete t[ve],delete t[Wl],delete t[LS],delete t[VS]}function la(t){var n=t[oe];if(n)return n;for(var a=t.parentNode;a;){if(n=a[ra]||a[oe]){if(a=n.alternate,n.child!==null||a!==null&&a.child!==null)for(t=ng(t);t!==null;){if(a=t[oe])return a;t=ng(t)}return n}t=a,a=t.parentNode}return null}function ca(t){if(t=t[oe]||t[ra]){var n=t.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return t}return null}function ds(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(r(33))}function ua(t){var n=t[Lh];return n||(n=t[Lh]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ie(t){t[fs]=!0}var Vh=new Set,Uh={};function Li(t,n){fa(t,n),fa(t+"Capture",n)}function fa(t,n){for(Uh[t]=n,t=0;t<n.length;t++)Vh.add(n[t])}var US=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]*$"),Bh={},kh={};function BS(t){return Xl.call(kh,t)?!0:Xl.call(Bh,t)?!1:US.test(t)?kh[t]=!0:(Bh[t]=!0,!1)}function Vo(t,n,a){if(BS(n))if(a===null)t.removeAttribute(n);else{switch(typeof a){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,""+a)}}function Uo(t,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+a)}}function En(t,n,a,o){if(o===null)t.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(n,a,""+o)}}function Pe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Hh(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function kS(t,n,a){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);if(!t.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,d=o.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return c.call(this)},set:function(g){a=""+g,d.call(this,g)}}),Object.defineProperty(t,n,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(g){a=""+g},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function ec(t){if(!t._valueTracker){var n=Hh(t)?"checked":"value";t._valueTracker=kS(t,n,""+t[n])}}function Ph(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var a=n.getValue(),o="";return t&&(o=Hh(t)?t.checked?"true":"false":t.value),t=o,t!==a?(n.setValue(t),!0):!1}function Bo(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 HS=/[\n"\\]/g;function Ge(t){return t.replace(HS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function nc(t,n,a,o,c,d,g,S){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.type=g:t.removeAttribute("type"),n!=null?g==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+Pe(n)):t.value!==""+Pe(n)&&(t.value=""+Pe(n)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),n!=null?ic(t,g,Pe(n)):a!=null?ic(t,g,Pe(a)):o!=null&&t.removeAttribute("value"),c==null&&d!=null&&(t.defaultChecked=!!d),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+Pe(S):t.removeAttribute("name")}function Gh(t,n,a,o,c,d,g,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.type=d),n!=null||a!=null){if(!(d!=="submit"&&d!=="reset"||n!=null)){ec(t);return}a=a!=null?""+Pe(a):"",n=n!=null?""+Pe(n):a,S||n===t.value||(t.value=n),t.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=S?t.checked:!!o,t.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.name=g),ec(t)}function ic(t,n,a){n==="number"&&Bo(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function da(t,n,a,o){if(t=t.options,n){n={};for(var c=0;c<a.length;c++)n["$"+a[c]]=!0;for(a=0;a<t.length;a++)c=n.hasOwnProperty("$"+t[a].value),t[a].selected!==c&&(t[a].selected=c),c&&o&&(t[a].defaultSelected=!0)}else{for(a=""+Pe(a),n=null,c=0;c<t.length;c++){if(t[c].value===a){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}n!==null||t[c].disabled||(n=t[c])}n!==null&&(n.selected=!0)}}function qh(t,n,a){if(n!=null&&(n=""+Pe(n),n!==t.value&&(t.value=n),a==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=a!=null?""+Pe(a):""}function Yh(t,n,a,o){if(n==null){if(o!=null){if(a!=null)throw Error(r(92));if(mt(o)){if(1<o.length)throw Error(r(93));o=o[0]}a=o}a==null&&(a=""),n=a}a=Pe(n),t.defaultValue=a,o=t.textContent,o===a&&o!==""&&o!==null&&(t.value=o),ec(t)}function ha(t,n){if(n){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=n;return}}t.textContent=n}var PS=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 Fh(t,n,a){var o=n.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?o?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":o?t.setProperty(n,a):typeof a!="number"||a===0||PS.has(n)?n==="float"?t.cssFloat=a:t[n]=(""+a).trim():t[n]=a+"px"}function Qh(t,n,a){if(n!=null&&typeof n!="object")throw Error(r(62));if(t=t.style,a!=null){for(var o in a)!a.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)&&a[c]!==o&&Fh(t,c,o)}else for(var d in n)n.hasOwnProperty(d)&&Fh(t,d,n[d])}function ac(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 GS=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"]]),qS=/^[\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 ko(t){return qS.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function An(){}var sc=null;function oc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ma=null,pa=null;function Xh(t){var n=ca(t);if(n&&(t=n.stateNode)){var a=t[ve]||null;t:switch(t=n.stateNode,n.type){case"input":if(nc(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),n=a.name,a.type==="radio"&&n!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ge(""+n)+'"][type="radio"]'),n=0;n<a.length;n++){var o=a[n];if(o!==t&&o.form===t.form){var c=o[ve]||null;if(!c)throw Error(r(90));nc(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<a.length;n++)o=a[n],o.form===t.form&&Ph(o)}break t;case"textarea":qh(t,a.value,a.defaultValue);break t;case"select":n=a.value,n!=null&&da(t,!!a.multiple,n,!1)}}}var rc=!1;function Kh(t,n,a){if(rc)return t(n,a);rc=!0;try{var o=t(n);return o}finally{if(rc=!1,(ma!==null||pa!==null)&&(Cr(),ma&&(n=ma,t=pa,pa=ma=null,Xh(n),t)))for(n=0;n<t.length;n++)Xh(t[n])}}function hs(t,n){var a=t.stateNode;if(a===null)return null;var o=a[ve]||null;if(o===null)return null;a=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(a&&typeof a!="function")throw Error(r(231,n,typeof a));return a}var Cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lc=!1;if(Cn)try{var ms={};Object.defineProperty(ms,"passive",{get:function(){lc=!0}}),window.addEventListener("test",ms,ms),window.removeEventListener("test",ms,ms)}catch{lc=!1}var $n=null,cc=null,Ho=null;function Zh(){if(Ho)return Ho;var t,n=cc,a=n.length,o,c="value"in $n?$n.value:$n.textContent,d=c.length;for(t=0;t<a&&n[t]===c[t];t++);var g=a-t;for(o=1;o<=g&&n[a-o]===c[d-o];o++);return Ho=c.slice(t,1<o?1-o:void 0)}function Po(t){var n=t.keyCode;
vendor: 11,122 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 Go(){return!0}function Ih(){return!1}function be(t){function n(a,o,c,d,g){this._reactName=a,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(a=t[S],this[S]=a?a(d):d[S]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Go:Ih,this.isPropagationStopped=Ih,this}return v(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Go)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Go)},persist:function(){},isPersistent:Go}),n}var Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qo=be(Vi),ps=v({},Vi,{view:0,detail:0}),YS=be(ps),uc,fc,ys,Yo=v({},ps,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hc,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!==ys&&(ys&&t.type==="mousemove"?(uc=t.screenX-ys.screenX,fc=t.screenY-ys.screenY):fc=uc=0,ys=t),uc)},movementY:function(t){return"movementY"in t?t.movementY:fc}}),$h=be(Yo),FS=v({},Yo,{dataTransfer:0}),QS=be(FS),XS=v({},ps,{relatedTarget:0}),dc=be(XS),KS=v({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),ZS=be(KS),IS=v({},Vi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),$S=be(IS),JS=v({},Vi,{data:0}),Jh=be(JS),WS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tw={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"},ew={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nw(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=ew[t])?!!n[t]:!1}function hc(){return nw}var iw=v({},ps,{key:function(t){if(t.key){var n=WS[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=Po(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?tw[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hc,charCode:function(t){return t.type==="keypress"?Po(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Po(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),aw=be(iw),sw=v({},Yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wh=be(sw),ow=v({},ps,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hc}),rw=be(ow),lw=v({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),cw=be(lw),uw=v({},Yo,{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}),fw=be(uw),dw=v({},Vi,{newState:0,oldState:0}),hw=be(dw),mw=[9,13,27,32],mc=Cn&&"CompositionEvent"in window,gs=null;Cn&&"documentMode"in document&&(gs=document.documentMode);var pw=Cn&&"TextEvent"in window&&!gs,tm=Cn&&(!mc||gs&&8<gs&&11>=gs),em=" ",nm=!1;function im(t,n){switch(t){case"keyup":return mw.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function am(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ya=!1;function yw(t,n){switch(t){case"compositionend":return am(n);case"keypress":return n.which!==32?null:(nm=!0,em);case"textInput":return t=n.data,t===em&&nm?null:t;default:return null}}function gw(t,n){if(ya)return t==="compositionend"||!mc&&im(t,n)?(t=Zh(),Ho=cc=$n=null,ya=!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 tm&&n.locale!=="ko"?null:n.data;default:return null}}var vw={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 sm(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!vw[t.type]:n==="textarea"}function om(t,n,a,o){ma?pa?pa.push(o):pa=[o]:ma=o,n=_r(n,"onChange"),0<n.length&&(a=new qo("onChange","change",null,a,o),t.push({event:a,listeners:n}))}var vs=null,bs=null;function bw(t){Gy(t,0)}function Fo(t){var n=ds(t);if(Ph(n))return t}function rm(t,n){if(t==="change")return n}var lm=!1;if(Cn){var pc;if(Cn){var yc="oninput"in document;if(!yc){var cm=document.createElement("div");cm.setAttribute("oninput","return;"),yc=typeof cm.oninput=="function"}pc=yc}else pc=!1;lm=pc&&(!document.documentMode||9<document.documentMode)}function um(){vs&&(vs.detachEvent("onpropertychange",fm),bs=vs=null)}function fm(t){if(t.propertyName==="value"&&Fo(bs)){var n=[];om(n,bs,t,oc(t)),Kh(bw,n)}}function xw(t,n,a){t==="focusin"?(um(),vs=n,bs=a,vs.attachEvent("onpropertychange",fm)):t==="focusout"&&um()}function Sw(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Fo(bs)}function ww(t,n){if(t==="click")return Fo(n)}function Tw(t,n){if(t==="input"||t==="change")return Fo(n)}function Ew(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Ne=typeof Object.is=="function"?Object.is:Ew;function xs(t,n){if(Ne(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var a=Object.keys(t),o=Object.keys(n);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var c=a[o];if(!Xl.call(n,c)||!Ne(t[c],n[c]))return!1}return!0}function dm(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function hm(t,n){var a=dm(t);t=0;for(var o;a;){if(a.nodeType===3){if(o=t+a.textContent.length,t<=n&&o>=n)return{node:a,offset:n-t};t=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=dm(a)}}function mm(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?mm(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function pm(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=Bo(t.document);n instanceof t.HTMLIFrameElement;){try{var a=typeof n.contentWindow.location.href=="string"}catch{a=!1}if(a)t=n.contentWindow;else break;n=Bo(t.document)}return n}function gc(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 Aw=Cn&&"documentMode"in document&&11>=document.documentMode,ga=null,vc=null,Ss=null,bc=!1;function ym(t,n,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;bc||ga==null||ga!==Bo(o)||(o=ga,"selectionStart"in o&&gc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Ss&&xs(Ss,o)||(Ss=o,o=_r(vc,"onSelect"),0<o.length&&(n=new qo("onSelect","select",null,n,a),t.push({event:n,listeners:o}),n.target=ga)))}function Ui(t,n){var a={};return a[t.toLowerCase()]=n.toLowerCase(),a["Webkit"+t]="webkit"+n,a["Moz"+t]="moz"+n,a}var va={animationend:Ui("Animation","AnimationEnd"),animationiteration:Ui("Animation","AnimationIteration"),animationstart:Ui("Animation","AnimationStart"),transitionrun:Ui("Transition","TransitionRun"),transitionstart:Ui("Transition","TransitionStart"),transitioncancel:Ui("Transition","TransitionCancel"),transitionend:Ui("Transition","TransitionEnd")},xc={},gm={};Cn&&(gm=document.createElement("div").style,"AnimationEvent"in window||(delete va.animationend.animation,delete va.animationiteration.animation,delete va.animationstart.animation),"TransitionEvent"in window||delete va.transitionend.transition);function Bi(t){if(xc[t])return xc[t];if(!va[t])return t;var n=va[t],a;for(a in n)if(n.hasOwnProperty(a)&&a in gm)return xc[t]=n[a];return t}var vm=Bi("animationend"),bm=Bi("animationiteration"),xm=Bi("animationstart"),Cw=Bi("transitionrun"),Mw=Bi("transitionstart"),Rw=Bi("transitioncancel"),Sm=Bi("transitionend"),wm=new Map,Sc="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(" ");Sc.push("scrollEnd");function nn(t,n){wm.set(t,n),Li(n,[t])}var Qo=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)},qe=[],ba=0,wc=0;function Xo(){for(var t=ba,n=wc=ba=0;n<t;){var a=qe[n];qe[n++]=null;var o=qe[n];qe[n++]=null;var c=qe[n];qe[n++]=null;var d=qe[n];if(qe[n++]=null,o!==null&&c!==null){var g=o.pending;g===null?c.next=c:(c.next=g.next,g.next=c),o.pending=c}d!==0&&Tm(a,c,d)}}function Ko(t,n,a,o){qe[ba++]=t,qe[ba++]=n,qe[ba++]=a,qe[ba++]=o,wc|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function Tc(t,n,a,o){return Ko(t,n,a,o),Zo(t)}function ki(t,n){return Ko(t,null,null,n),Zo(t)}function Tm(t,n,a){t.lanes|=a;var o=t.alternate;o!==null&&(o.lanes|=a);for(var c=!1,d=t.return;d!==null;)d.childLanes|=a,o=d.alternate,o!==null&&(o.childLanes|=a),d.tag===22&&(t=d.stateNode,t===null||t._visibility&1||(c=!0)),t=d,d=d.return;
vendor: 13,120 bytes, line 8
8return t.tag===3?(d=t.stateNode,c&&n!==null&&(c=31-Oe(a),t=d.hiddenUpdates,o=t[c],o===null?t[c]=[n]:o.push(n),n.lane=a|536870912),d):null}function Zo(t){if(50<qs)throw qs=0,ju=null,Error(r(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var xa={};function Ow(t,n,a,o){this.tag=t,this.key=a,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 De(t,n,a,o){return new Ow(t,n,a,o)}function Ec(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mn(t,n){var a=t.alternate;return a===null?(a=De(t.tag,n,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=n,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,n=t.dependencies,a.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function Em(t,n){t.flags&=65011714;var a=t.alternate;return a===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=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,n=a.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function Io(t,n,a,o,c,d){var g=0;if(o=t,typeof t=="function")Ec(t)&&(g=1);else if(typeof t=="string")g=zT(t,a,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case J:return t=De(31,a,n,c),t.elementType=J,t.lanes=d,t;case E:return Hi(a.children,c,d,n);case M:g=8,c|=24;break;case N:return t=De(12,a,n,c|2),t.elementType=N,t.lanes=d,t;case P:return t=De(13,a,n,c),t.elementType=P,t.lanes=d,t;case Z:return t=De(19,a,n,c),t.elementType=Z,t.lanes=d,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case j:g=10;break t;case V:g=9;break t;case q:g=11;break t;case G:g=14;break t;case U:g=16,o=null;break t}g=29,a=Error(r(130,t===null?"null":typeof t,"")),o=null}return n=De(g,a,n,c),n.elementType=t,n.type=o,n.lanes=d,n}function Hi(t,n,a,o){return t=De(7,t,o,n),t.lanes=a,t}function Ac(t,n,a){return t=De(6,t,null,n),t.lanes=a,t}function Am(t){var n=De(18,null,null,0);return n.stateNode=t,n}function Cc(t,n,a){return n=De(4,t.children!==null?t.children:[],t.key,n),n.lanes=a,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var Cm=new WeakMap;function Ye(t,n){if(typeof t=="object"&&t!==null){var a=Cm.get(t);return a!==void 0?a:(n={value:t,source:n,stack:Ah(n)},Cm.set(t,n),n)}return{value:t,source:n,stack:Ah(n)}}var Sa=[],wa=0,$o=null,ws=0,Fe=[],Qe=0,Jn=null,mn=1,pn="";function Rn(t,n){Sa[wa++]=ws,Sa[wa++]=$o,$o=t,ws=n}function Mm(t,n,a){Fe[Qe++]=mn,Fe[Qe++]=pn,Fe[Qe++]=Jn,Jn=t;var o=mn;t=pn;var c=32-Oe(o)-1;o&=~(1<<c),a+=1;var d=32-Oe(n)+c;if(30<d){var g=c-c%5;d=(o&(1<<g)-1).toString(32),o>>=g,c-=g,mn=1<<32-Oe(n)+c|a<<c|o,pn=d+t}else mn=1<<d|a<<c|o,pn=t}function Mc(t){t.return!==null&&(Rn(t,1),Mm(t,1,0))}function Rc(t){for(;t===$o;)$o=Sa[--wa],Sa[wa]=null,ws=Sa[--wa],Sa[wa]=null;for(;t===Jn;)Jn=Fe[--Qe],Fe[Qe]=null,pn=Fe[--Qe],Fe[Qe]=null,mn=Fe[--Qe],Fe[Qe]=null}function Rm(t,n){Fe[Qe++]=mn,Fe[Qe++]=pn,Fe[Qe++]=Jn,mn=n.id,pn=n.overflow,Jn=t}var re=null,Ut=null,At=!1,Wn=null,Xe=!1,Oc=Error(r(519));function ti(t){var n=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ts(Ye(n,t)),Oc}function Om(t){var n=t.stateNode,a=t.type,o=t.memoizedProps;switch(n[oe]=t,n[ve]=o,a){case"dialog":wt("cancel",n),wt("close",n);break;case"iframe":case"object":case"embed":wt("load",n);break;case"video":case"audio":for(a=0;a<Fs.length;a++)wt(Fs[a],n);break;case"source":wt("error",n);break;case"img":case"image":case"link":wt("error",n),wt("load",n);break;case"details":wt("toggle",n);break;case"input":wt("invalid",n),Gh(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":wt("invalid",n);break;case"textarea":wt("invalid",n),Yh(n,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||n.textContent===""+a||o.suppressHydrationWarning===!0||Qy(n.textContent,a)?(o.popover!=null&&(wt("beforetoggle",n),wt("toggle",n)),o.onScroll!=null&&wt("scroll",n),o.onScrollEnd!=null&&wt("scrollend",n),o.onClick!=null&&(n.onclick=An),n=!0):n=!1,n||ti(t,!0)}function Nm(t){for(re=t.return;re;)switch(re.tag){case 5:case 31:case 13:Xe=!1;return;case 27:case 3:Xe=!0;return;default:re=re.return}}function Ta(t){if(t!==re)return!1;if(!At)return Nm(t),At=!0,!1;var n=t.tag,a;if((a=n!==3&&n!==27)&&((a=n===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Xu(t.type,t.memoizedProps)),a=!a),a&&Ut&&ti(t),Nm(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));Ut=eg(t)}else if(n===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));Ut=eg(t)}else n===27?(n=Ut,mi(t.type)?(t=Ju,Ju=null,Ut=t):Ut=n):Ut=re?Ze(t.stateNode.nextSibling):null;return!0}function Pi(){Ut=re=null,At=!1}function Nc(){var t=Wn;return t!==null&&(Te===null?Te=t:Te.push.apply(Te,t),Wn=null),t}function Ts(t){Wn===null?Wn=[t]:Wn.push(t)}var Dc=R(null),Gi=null,On=null;function ei(t,n,a){I(Dc,n._currentValue),n._currentValue=a}function Nn(t){t._currentValue=Dc.current,Q(Dc)}function jc(t,n,a){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===a)break;t=t.return}}function _c(t,n,a,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var d=c.dependencies;if(d!==null){var g=c.child;d=d.firstContext;t:for(;d!==null;){var S=d;d=c;for(var C=0;C<n.length;C++)if(S.context===n[C]){d.lanes|=a,S=d.alternate,S!==null&&(S.lanes|=a),jc(d.return,a,t),o||(g=null);break t}d=S.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error(r(341));g.lanes|=a,d=g.alternate,d!==null&&(d.lanes|=a),jc(g,a,t),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===t){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Ea(t,n,a,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 g=c.alternate;if(g===null)throw Error(r(387));if(g=g.memoizedProps,g!==null){var S=c.type;Ne(c.pendingProps.value,g.value)||(t!==null?t.push(S):t=[S])}}else if(c===rt.current){if(g=c.alternate,g===null)throw Error(r(387));g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(Is):t=[Is])}c=c.return}t!==null&&_c(n,t,a,o),n.flags|=262144}function Jo(t){for(t=t.firstContext;t!==null;){if(!Ne(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function qi(t){Gi=t,On=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function le(t){return Dm(Gi,t)}function Wo(t,n){return Gi===null&&qi(t),Dm(t,n)}function Dm(t,n){var a=n._currentValue;if(n={context:n,memoizedValue:a,next:null},On===null){if(t===null)throw Error(r(308));On=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else On=On.next=n;return a}var Nw=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(a,o){t.push(o)}};this.abort=function(){n.aborted=!0,t.forEach(function(a){return a()})}},Dw=e.unstable_scheduleCallback,jw=e.unstable_NormalPriority,Kt={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zc(){return{controller:new Nw,data:new Map,refCount:0}}function Es(t){t.refCount--,t.refCount===0&&Dw(jw,function(){t.controller.abort()})}var As=null,Lc=0,Aa=0,Ca=null;function _w(t,n){if(As===null){var a=As=[];Lc=0,Aa=Bu(),Ca={status:"pending",value:void 0,then:function(o){a.push(o)}}}return Lc++,n.then(jm,jm),n}function jm(){if(--Lc===0&&As!==null){Ca!==null&&(Ca.status="fulfilled");var t=As;As=null,Aa=0,Ca=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function zw(t,n){var a=[],o={status:"pending",value:null,reason:null,then:function(c){a.push(c)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<a.length;c++)(0,a[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<a.length;c++)(0,a[c])(void 0)}),o}var _m=_.S;_.S=function(t,n){yy=Me(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&_w(t,n),_m!==null&&_m(t,n)};var Yi=R(null);function Vc(){var t=Yi.current;return t!==null?t:Lt.pooledCache}function tr(t,n){n===null?I(Yi,Yi.current):I(Yi,n.pool)}function zm(){var t=Vc();return t===null?null:{parent:Kt._currentValue,pool:t}}var Ma=Error(r(460)),Uc=Error(r(474)),er=Error(r(542)),nr={then:function(){}};function Lm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Vm(t,n,a){switch(a=t[a],a===void 0?t.push(n):a!==n&&(n.then(An,An),n=a),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Bm(t),t;default:if(typeof n.status=="string")n.then(An,An);else{if(t=Lt,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,Bm(t),t}throw Qi=n,Ma}}function Fi(t){try{var n=t._init;return n(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Qi=a,Ma):a}}var Qi=null;function Um(){if(Qi===null)throw Error(r(459));var t=Qi;return Qi=null,t}function Bm(t){if(t===Ma||t===er)throw Error(r(483))}var Ra=null,Cs=0;function ir(t){var n=Cs;return Cs+=1,Ra===null&&(Ra=[]),Vm(Ra,t,n)}function Ms(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function ar(t,n){throw n.$$typeof===x?Error(r(525)):(t=Object.prototype.toString.call(n),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function km(t){function n(D,O){if(t){var z=D.deletions;z===null?(D.deletions=[O],D.flags|=16):z.push(O)}}function a(D,O){if(!t)return null;for(;O!==null;)n(D,O),O=O.sibling;return null}function o(D){for(var O=new Map;D!==null;)D.key!==null?O.set(D.key,D):O.set(D.index,D),D=D.sibling;return O}function c(D,O){return D=Mn(D,O),D.index=0,D.sibling=null,D}function d(D,O,z){return D.index=z,t?(z=D.alternate,z!==null?(z=z.index,z<O?(D.flags|=67108866,O):z):(D.flags|=67108866,O)):(D.flags|=1048576,O)}function g(D){return t&&D.alternate===null&&(D.flags|=67108866),D}function S(D,O,z,X){return O===null||O.tag!==6?(O=Ac(z,D.mode,X),O.return=D,O):(O=c(O,z),O.return=D,O)}function C(D,O,z,X){var lt=z.type;return lt===E?F(D,O,z.props.children,X,z.key):O!==null&&(O.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===U&&Fi(lt)===O.type)?(O=c(O,z.props),Ms(O,z),O.return=D,O):(O=Io(z.type,z.key,z.props,null,D.mode,X),Ms(O,z),O.return=D,O)}function L(D,O,z,X){return O===null||O.tag!==4||O.stateNode.containerInfo!==z.containerInfo||O.stateNode.implementation!==z.implementation?(O=Cc(z,D.mode,X),O.return=D,O):(O=c(O,z.children||[]),O.return=D,O)}function F(D,O,z,X,lt){return O===null||O.tag!==7?(O=Hi(z,D.mode,X,lt),O.return=D,O):(O=c(O,z),O.return=D,O)}function K(D,O,z){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Ac(""+O,D.mode,z),O.return=D,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case T:return z=Io(O.type,O.key,O.props,null,D.mode,z),Ms(z,O),z.return=D,z;case A:return O=Cc(O,D.mode,z),O.return=D,O;case U:return O=Fi(O),K(D,O,z)}if(mt(O)||ft(O))return O=Hi(O,D.mode,z,null),O.return=D,O;if(typeof O.then=="function")return K(D,ir(O),z);if(O.$$typeof===j)return K(D,Wo(D,O),z);ar(D,O)}return null}function B(D,O,z,X){var lt=O!==null?O.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return lt!==null?null:S(D,O,""+z,X);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case T:return z.key===lt?C(D,O,z,X):null;case A:return z.key===lt?L(D,O,z,X):null;case U:return z=Fi(z),B(D,O,z,X)}if(mt(z)||ft(z))return lt!==null?null:F(D,O,z,X,null);if(typeof z.then=="function")return B(D,O,ir(z),X);if(z.$$typeof===j)return B(D,O,Wo(D,z),X);ar(D,z)}return null}function H(D,O,z,X,lt){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return D=D.get(z)||null,S(O,D,""+X,lt);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case T:return D=D.get(X.key===null?z:X.key)||null,C(O,D,X,lt);case A:return D=D.get(X.key===null?z:X.key)||null,L(O,D,X,lt);case U:return X=Fi(X),H(D,O,z,X,lt)}if(mt(X)||ft(X))return D=D.get(z)||null,F(O,D,X,lt,null);if(typeof X.then=="function")return H(D,O,z,ir(X),lt);
vendor: 5,937 bytes, line 8
8if(X.$$typeof===j)return H(D,O,z,Wo(O,X),lt);ar(O,X)}return null}function et(D,O,z,X){for(var lt=null,Ct=null,st=O,vt=O=0,Et=null;st!==null&&vt<z.length;vt++){st.index>vt?(Et=st,st=null):Et=st.sibling;var Mt=B(D,st,z[vt],X);if(Mt===null){st===null&&(st=Et);break}t&&st&&Mt.alternate===null&&n(D,st),O=d(Mt,O,vt),Ct===null?lt=Mt:Ct.sibling=Mt,Ct=Mt,st=Et}if(vt===z.length)return a(D,st),At&&Rn(D,vt),lt;if(st===null){for(;vt<z.length;vt++)st=K(D,z[vt],X),st!==null&&(O=d(st,O,vt),Ct===null?lt=st:Ct.sibling=st,Ct=st);return At&&Rn(D,vt),lt}for(st=o(st);vt<z.length;vt++)Et=H(st,D,vt,z[vt],X),Et!==null&&(t&&Et.alternate!==null&&st.delete(Et.key===null?vt:Et.key),O=d(Et,O,vt),Ct===null?lt=Et:Ct.sibling=Et,Ct=Et);return t&&st.forEach(function(bi){return n(D,bi)}),At&&Rn(D,vt),lt}function ct(D,O,z,X){if(z==null)throw Error(r(151));for(var lt=null,Ct=null,st=O,vt=O=0,Et=null,Mt=z.next();st!==null&&!Mt.done;vt++,Mt=z.next()){st.index>vt?(Et=st,st=null):Et=st.sibling;var bi=B(D,st,Mt.value,X);if(bi===null){st===null&&(st=Et);break}t&&st&&bi.alternate===null&&n(D,st),O=d(bi,O,vt),Ct===null?lt=bi:Ct.sibling=bi,Ct=bi,st=Et}if(Mt.done)return a(D,st),At&&Rn(D,vt),lt;if(st===null){for(;!Mt.done;vt++,Mt=z.next())Mt=K(D,Mt.value,X),Mt!==null&&(O=d(Mt,O,vt),Ct===null?lt=Mt:Ct.sibling=Mt,Ct=Mt);return At&&Rn(D,vt),lt}for(st=o(st);!Mt.done;vt++,Mt=z.next())Mt=H(st,D,vt,Mt.value,X),Mt!==null&&(t&&Mt.alternate!==null&&st.delete(Mt.key===null?vt:Mt.key),O=d(Mt,O,vt),Ct===null?lt=Mt:Ct.sibling=Mt,Ct=Mt);return t&&st.forEach(function(FT){return n(D,FT)}),At&&Rn(D,vt),lt}function zt(D,O,z,X){if(typeof z=="object"&&z!==null&&z.type===E&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case T:t:{for(var lt=z.key;O!==null;){if(O.key===lt){if(lt=z.type,lt===E){if(O.tag===7){a(D,O.sibling),X=c(O,z.props.children),X.return=D,D=X;break t}}else if(O.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===U&&Fi(lt)===O.type){a(D,O.sibling),X=c(O,z.props),Ms(X,z),X.return=D,D=X;break t}a(D,O);break}else n(D,O);O=O.sibling}z.type===E?(X=Hi(z.props.children,D.mode,X,z.key),X.return=D,D=X):(X=Io(z.type,z.key,z.props,null,D.mode,X),Ms(X,z),X.return=D,D=X)}return g(D);case A:t:{for(lt=z.key;O!==null;){if(O.key===lt)if(O.tag===4&&O.stateNode.containerInfo===z.containerInfo&&O.stateNode.implementation===z.implementation){a(D,O.sibling),X=c(O,z.children||[]),X.return=D,D=X;break t}else{a(D,O);break}else n(D,O);O=O.sibling}X=Cc(z,D.mode,X),X.return=D,D=X}return g(D);case U:return z=Fi(z),zt(D,O,z,X)}if(mt(z))return et(D,O,z,X);if(ft(z)){if(lt=ft(z),typeof lt!="function")throw Error(r(150));return z=lt.call(z),ct(D,O,z,X)}if(typeof z.then=="function")return zt(D,O,ir(z),X);if(z.$$typeof===j)return zt(D,O,Wo(D,z),X);ar(D,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,O!==null&&O.tag===6?(a(D,O.sibling),X=c(O,z),X.return=D,D=X):(a(D,O),X=Ac(z,D.mode,X),X.return=D,D=X),g(D)):a(D,O)}return function(D,O,z,X){try{Cs=0;var lt=zt(D,O,z,X);return Ra=null,lt}catch(st){if(st===Ma||st===er)throw st;var Ct=De(29,st,null,D.mode);return Ct.lanes=X,Ct.return=D,Ct}}}var Xi=km(!0),Hm=km(!1),ni=!1;function Bc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function kc(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 ii(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ai(t,n,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Rt&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=Zo(t),Tm(t,null,a),n}return Ko(t,o,n,a),Zo(t)}function Rs(t,n,a){if(n=n.updateQueue,n!==null&&(n=n.shared,(a&4194048)!==0)){var o=n.lanes;o&=t.pendingLanes,a|=o,n.lanes=a,Dh(t,a)}}function Hc(t,n){var a=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var c=null,d=null;if(a=a.firstBaseUpdate,a!==null){do{var g={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};d===null?c=d=g:d=d.next=g,a=a.next}while(a!==null);d===null?c=d=n:d=d.next=n}else c=d=n;a={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=n:t.next=n,a.lastBaseUpdate=n}var Pc=!1;function Os(){if(Pc){var t=Ca;if(t!==null)throw t}}function Ns(t,n,a,o){Pc=!1;var c=t.updateQueue;ni=!1;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var C=S,L=C.next;C.next=null,g===null?d=L:g.next=L,g=C;var F=t.alternate;F!==null&&(F=F.updateQueue,S=F.lastBaseUpdate,S!==g&&(S===null?F.firstBaseUpdate=L:S.next=L,F.lastBaseUpdate=C))}if(d!==null){var K=c.baseState;g=0,F=L=C=null,S=d;do{var B=S.lane&-536870913,H=B!==S.lane;if(H?(Tt&B)===B:(o&B)===B){B!==0&&B===Aa&&(Pc=!0),F!==null&&(F=F.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var et=t,ct=S;B=n;var zt=a;switch(ct.tag){case 1:if(et=ct.payload,typeof et=="function"){K=et.call(zt,K,B);break t}K=et;break t;case 3:et.flags=et.flags&-65537|128;case 0:if(et=ct.payload,B=typeof et=="function"?et.call(zt,K,B):et,B==null)break t;K=v({},K,B);break t;case 2:ni=!0}}B=S.callback,B!==null&&(t.flags|=64,H&&(t.flags|=8192),H=c.callbacks,H===null?c.callbacks=[B]:H.push(B))}else H={lane:B,tag:S.tag,payload:S.payload,callback:S.callback,next:null},F===null?(L=F=H,C=K):F=F.next=H,g|=B;if(S=S.next,S===null){if(S=c.shared.pending,S===null)break;H=S,S=H.next,H.next=null,c.lastBaseUpdate=H,c.shared.pending=null}}while(!0);F===null&&(C=K),c.baseState=C,c.firstBaseUpdate=L,c.lastBaseUpdate=F,d===null&&(c.shared.lanes=0),ci|=g,t.lanes=g,t.memoizedState=K}}function Pm(t,n){if(typeof t!="function")throw Error(r(191,t));t.call(n)}function Gm(t,n){var a=t.callbacks;
vendor: 5,196 bytes, line 8
8if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Pm(a[t],n)}var Oa=R(null),sr=R(0);function qm(t,n){t=kn,I(sr,t),I(Oa,n),kn=t|n.baseLanes}function Gc(){I(sr,kn),I(Oa,Oa.current)}function qc(){kn=sr.current,Q(Oa),Q(sr)}var je=R(null),Ke=null;function si(t){var n=t.alternate;I(Qt,Qt.current&1),I(je,t),Ke===null&&(n===null||Oa.current!==null||n.memoizedState!==null)&&(Ke=t)}function Yc(t){I(Qt,Qt.current),I(je,t),Ke===null&&(Ke=t)}function Ym(t){t.tag===22?(I(Qt,Qt.current),I(je,t),Ke===null&&(Ke=t)):oi()}function oi(){I(Qt,Qt.current),I(je,je.current)}function _e(t){Q(je),Ke===t&&(Ke=null),Q(Qt)}var Qt=R(0);function or(t){for(var n=t;n!==null;){if(n.tag===13){var a=n.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Iu(a)||$u(a)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===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}var Dn=0,gt=null,jt=null,Zt=null,rr=!1,Na=!1,Ki=!1,lr=0,Ds=0,Da=null,Lw=0;function Gt(){throw Error(r(321))}function Fc(t,n){if(n===null)return!1;for(var a=0;a<n.length&&a<t.length;a++)if(!Ne(t[a],n[a]))return!1;return!0}function Qc(t,n,a,o,c,d){return Dn=d,gt=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,_.H=t===null||t.memoizedState===null?Mp:ru,Ki=!1,d=a(o,c),Ki=!1,Na&&(d=Qm(n,a,o,c)),Fm(t),d}function Fm(t){_.H=zs;var n=jt!==null&&jt.next!==null;if(Dn=0,Zt=jt=gt=null,rr=!1,Ds=0,Da=null,n)throw Error(r(300));t===null||It||(t=t.dependencies,t!==null&&Jo(t)&&(It=!0))}function Qm(t,n,a,o){gt=t;var c=0;do{if(Na&&(Da=null),Ds=0,Na=!1,25<=c)throw Error(r(301));if(c+=1,Zt=jt=null,t.updateQueue!=null){var d=t.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}_.H=Rp,d=n(a,o)}while(Na);return d}function Vw(){var t=_.H,n=t.useState()[0];return n=typeof n.then=="function"?js(n):n,t=t.useState()[0],(jt!==null?jt.memoizedState:null)!==t&&(gt.flags|=1024),n}function Xc(){var t=lr!==0;return lr=0,t}function Kc(t,n,a){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~a}function Zc(t){if(rr){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}rr=!1}Dn=0,Zt=jt=gt=null,Na=!1,Ds=lr=0,Da=null}function pe(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zt===null?gt.memoizedState=Zt=t:Zt=Zt.next=t,Zt}function Xt(){if(jt===null){var t=gt.alternate;t=t!==null?t.memoizedState:null}else t=jt.next;var n=Zt===null?gt.memoizedState:Zt.next;if(n!==null)Zt=n,jt=t;else{if(t===null)throw gt.alternate===null?Error(r(467)):Error(r(310));jt=t,t={memoizedState:jt.memoizedState,baseState:jt.baseState,baseQueue:jt.baseQueue,queue:jt.queue,next:null},Zt===null?gt.memoizedState=Zt=t:Zt=Zt.next=t}return Zt}function cr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function js(t){var n=Ds;return Ds+=1,Da===null&&(Da=[]),t=Vm(Da,t,n),n=gt,(Zt===null?n.memoizedState:Zt.next)===null&&(n=n.alternate,_.H=n===null||n.memoizedState===null?Mp:ru),t}function ur(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return js(t);if(t.$$typeof===j)return le(t)}throw Error(r(438,String(t)))}function Ic(t){var n=null,a=gt.updateQueue;if(a!==null&&(n=a.memoCache),n==null){var o=gt.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}),a===null&&(a=cr(),gt.updateQueue=a),a.memoCache=n,a=n.data[n.index],a===void 0)for(a=n.data[n.index]=Array(t),o=0;o<t;o++)a[o]=ot;return n.index++,a}function jn(t,n){return typeof n=="function"?n(t):n}function fr(t){var n=Xt();return $c(n,jt,t)}function $c(t,n,a){var o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=a;var c=t.baseQueue,d=o.pending;if(d!==null){if(c!==null){var g=c.next;c.next=d.next,d.next=g}n.baseQueue=c=d,o.pending=null}if(d=t.baseState,c===null)t.memoizedState=d;else{n=c.next;var S=g=null,C=null,L=n,F=!1;do{var K=L.lane&-536870913;if(K!==L.lane?(Tt&K)===K:(Dn&K)===K){var B=L.revertLane;if(B===0)C!==null&&(C=C.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),K===Aa&&(F=!0);else if((Dn&B)===B){L=L.next,B===Aa&&(F=!0);continue}else K={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},C===null?(S=C=K,g=d):C=C.next=K,gt.lanes|=B,ci|=B;K=L.action,Ki&&a(d,K),d=L.hasEagerState?L.eagerState:a(d,K)}else B={lane:K,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},C===null?(S=C=B,g=d):C=C.next=B,gt.lanes|=K,ci|=K;L=L.next}while(L!==null&&L!==n);if(C===null?g=d:C.next=S,!Ne(d,t.memoizedState)&&(It=!0,F&&(a=Ca,a!==null)))throw a;t.memoizedState=d,t.baseState=g,t.baseQueue=C,o.lastRenderedState=d}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}
vendor: 4,107 bytes, line 8
8function Jc(t){var n=Xt(),a=n.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=t;var o=a.dispatch,c=a.pending,d=n.memoizedState;if(c!==null){a.pending=null;var g=c=c.next;do d=t(d,g.action),g=g.next;while(g!==c);Ne(d,n.memoizedState)||(It=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),a.lastRenderedState=d}return[d,o]}function Xm(t,n,a){var o=gt,c=Xt(),d=At;if(d){if(a===void 0)throw Error(r(407));a=a()}else a=n();var g=!Ne((jt||c).memoizedState,a);if(g&&(c.memoizedState=a,It=!0),c=c.queue,eu(Im.bind(null,o,c,t),[t]),c.getSnapshot!==n||g||Zt!==null&&Zt.memoizedState.tag&1){if(o.flags|=2048,ja(9,{destroy:void 0},Zm.bind(null,o,c,a,n),null),Lt===null)throw Error(r(349));d||(Dn&127)!==0||Km(o,n,a)}return a}function Km(t,n,a){t.flags|=16384,t={getSnapshot:n,value:a},n=gt.updateQueue,n===null?(n=cr(),gt.updateQueue=n,n.stores=[t]):(a=n.stores,a===null?n.stores=[t]:a.push(t))}function Zm(t,n,a,o){n.value=a,n.getSnapshot=o,$m(n)&&Jm(t)}function Im(t,n,a){return a(function(){$m(n)&&Jm(t)})}function $m(t){var n=t.getSnapshot;t=t.value;try{var a=n();return!Ne(t,a)}catch{return!0}}function Jm(t){var n=ki(t,2);n!==null&&Ee(n,t,2)}function Wc(t){var n=pe();if(typeof t=="function"){var a=t;if(t=a(),Ki){Zn(!0);try{a()}finally{Zn(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:t},n}function Wm(t,n,a,o){return t.baseState=a,$c(t,jt,typeof o=="function"?o:jn)}function Uw(t,n,a,o,c){if(mr(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(g){d.listeners.push(g)}};_.T!==null?a(!0):d.isTransition=!1,o(d),a=n.pending,a===null?(d.next=n.pending=d,tp(n,d)):(d.next=a.next,n.pending=a.next=d)}}function tp(t,n){var a=n.action,o=n.payload,c=t.state;if(n.isTransition){var d=_.T,g={};_.T=g;try{var S=a(c,o),C=_.S;C!==null&&C(g,S),ep(t,n,S)}catch(L){tu(t,n,L)}finally{d!==null&&g.types!==null&&(d.types=g.types),_.T=d}}else try{d=a(c,o),ep(t,n,d)}catch(L){tu(t,n,L)}}function ep(t,n,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){np(t,n,o)},function(o){return tu(t,n,o)}):np(t,n,a)}function np(t,n,a){n.status="fulfilled",n.value=a,ip(n),t.state=a,n=t.pending,n!==null&&(a=n.next,a===n?t.pending=null:(a=a.next,n.next=a,tp(t,a)))}function tu(t,n,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=a,ip(n),n=n.next;while(n!==o)}t.action=null}function ip(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function ap(t,n){return n}function sp(t,n){if(At){var a=Lt.formState;if(a!==null){t:{var o=gt;if(At){if(Ut){e:{for(var c=Ut,d=Xe;c.nodeType!==8;){if(!d){c=null;break e}if(c=Ze(c.nextSibling),c===null){c=null;break e}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){Ut=Ze(c.nextSibling),o=c.data==="F!";break t}}ti(o)}o=!1}o&&(n=a[0])}}return a=pe(),a.memoizedState=a.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ap,lastRenderedState:n},a.queue=o,a=Ep.bind(null,gt,o),o.dispatch=a,o=Wc(!1),d=ou.bind(null,gt,!1,o.queue),o=pe(),c={state:n,dispatch:null,action:t,pending:null},o.queue=c,a=Uw.bind(null,gt,c,d,a),c.dispatch=a,o.memoizedState=t,[n,a,!1]}function op(t){var n=Xt();return rp(n,jt,t)}function rp(t,n,a){if(n=$c(t,n,ap)[0],t=fr(jn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=js(n)}catch(g){throw g===Ma?er:g}else o=n;n=Xt();var c=n.queue,d=c.dispatch;return a!==n.memoizedState&&(gt.flags|=2048,ja(9,{destroy:void 0},Bw.bind(null,c,a),null)),[o,d,t]}function Bw(t,n){t.action=n}function lp(t){var n=Xt(),a=jt;if(a!==null)return rp(n,a,t);Xt(),n=n.memoizedState,a=Xt();var o=a.queue.dispatch;return a.memoizedState=t,[n,o,!1]}function ja(t,n,a,o){return t={tag:t,create:a,deps:o,inst:n,next:null},n=gt.updateQueue,n===null&&(n=cr(),gt.updateQueue=n),a=n.lastEffect,a===null?n.lastEffect=t.next=t:(o=a.next,a.next=t,t.next=o,n.lastEffect=t),t}function cp(){return Xt().memoizedState}function dr(t,n,a,o){var c=pe();gt.flags|=t,c.memoizedState=ja(1|n,{destroy:void 0}
vendor: 4,984 bytes, line 8
8,a,o===void 0?null:o)}function hr(t,n,a,o){var c=Xt();o=o===void 0?null:o;var d=c.memoizedState.inst;jt!==null&&o!==null&&Fc(o,jt.memoizedState.deps)?c.memoizedState=ja(n,d,a,o):(gt.flags|=t,c.memoizedState=ja(1|n,d,a,o))}function up(t,n){dr(8390656,8,t,n)}function eu(t,n){hr(2048,8,t,n)}function kw(t){gt.flags|=4;var n=gt.updateQueue;if(n===null)n=cr(),gt.updateQueue=n,n.events=[t];else{var a=n.events;a===null?n.events=[t]:a.push(t)}}function fp(t){var n=Xt().memoizedState;return kw({ref:n,nextImpl:t}),function(){if((Rt&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}function dp(t,n){return hr(4,2,t,n)}function hp(t,n){return hr(4,4,t,n)}function mp(t,n){if(typeof n=="function"){t=t();var a=n(t);return function(){typeof a=="function"?a():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function pp(t,n,a){a=a!=null?a.concat([t]):null,hr(4,4,mp.bind(null,n,t),a)}function nu(){}function yp(t,n){var a=Xt();n=n===void 0?null:n;var o=a.memoizedState;return n!==null&&Fc(n,o[1])?o[0]:(a.memoizedState=[t,n],t)}function gp(t,n){var a=Xt();n=n===void 0?null:n;var o=a.memoizedState;if(n!==null&&Fc(n,o[1]))return o[0];if(o=t(),Ki){Zn(!0);try{t()}finally{Zn(!1)}}return a.memoizedState=[o,n],o}function iu(t,n,a){return a===void 0||(Dn&1073741824)!==0&&(Tt&261930)===0?t.memoizedState=n:(t.memoizedState=a,t=vy(),gt.lanes|=t,ci|=t,a)}function vp(t,n,a,o){return Ne(a,n)?a:Oa.current!==null?(t=iu(t,a,o),Ne(t,n)||(It=!0),t):(Dn&42)===0||(Dn&1073741824)!==0&&(Tt&261930)===0?(It=!0,t.memoizedState=a):(t=vy(),gt.lanes|=t,ci|=t,n)}function bp(t,n,a,o,c){var d=Y.p;Y.p=d!==0&&8>d?d:8;var g=_.T,S={};_.T=S,ou(t,!1,n,a);try{var C=c(),L=_.S;if(L!==null&&L(S,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var F=zw(C,o);_s(t,n,F,Ve(t))}else _s(t,n,o,Ve(t))}catch(K){_s(t,n,{then:function(){},status:"rejected",reason:K},Ve())}finally{Y.p=d,g!==null&&S.types!==null&&(g.types=S.types),_.T=g}}function Hw(){}function au(t,n,a,o){if(t.tag!==5)throw Error(r(476));var c=xp(t).queue;bp(t,c,n,k,a===null?Hw:function(){return Sp(t),a(o)})}function xp(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:jn,lastRenderedState:k},next:null};var a={};return n.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:a},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function Sp(t){var n=xp(t);n.next===null&&(n=t.alternate.memoizedState),_s(t,n.next.queue,{},Ve())}function su(){return le(Is)}function wp(){return Xt().memoizedState}function Tp(){return Xt().memoizedState}function Pw(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var a=Ve();t=ii(a);var o=ai(n,t,a);o!==null&&(Ee(o,n,a),Rs(o,n,a)),n={cache:zc()},t.payload=n;return}n=n.return}}function Gw(t,n,a){var o=Ve();a={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},mr(t)?Ap(n,a):(a=Tc(t,n,a,o),a!==null&&(Ee(a,t,o),Cp(a,n,o)))}function Ep(t,n,a){var o=Ve();_s(t,n,a,o)}function _s(t,n,a,o){var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(mr(t))Ap(n,c);else{var d=t.alternate;if(t.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var g=n.lastRenderedState,S=d(g,a);if(c.hasEagerState=!0,c.eagerState=S,Ne(S,g))return Ko(t,n,c,0),Lt===null&&Xo(),!1}catch{}if(a=Tc(t,n,c,o),a!==null)return Ee(a,t,o),Cp(a,n,o),!0}return!1}function ou(t,n,a,o){if(o={lane:2,revertLane:Bu(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},mr(t)){if(n)throw Error(r(479))}else n=Tc(t,a,o,2),n!==null&&Ee(n,t,2)}function mr(t){var n=t.alternate;return t===gt||n!==null&&n===gt}function Ap(t,n){Na=rr=!0;var a=t.pending;a===null?n.next=n:(n.next=a.next,a.next=n),t.pending=n}function Cp(t,n,a){if((a&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,a|=o,n.lanes=a,Dh(t,a)}}var zs={readContext:le,use:ur,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useLayoutEffect:Gt,useInsertionEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useSyncExternalStore:Gt,useId:Gt,useHostTransitionStatus:Gt,useFormState:Gt,useActionState:Gt,useOptimistic:Gt,useMemoCache:Gt,useCacheRefresh:Gt};zs.useEffectEvent=Gt;var Mp={readContext:le,use:ur,useCallback:function(t,n){return pe().memoizedState=[t,n===void 0?null:n],t},useContext:le,useEffect:up,useImperativeHandle:function(t,n,a){a=a!=null?a.concat([t]):null,dr(4194308,4,mp.bind(null,n,t),a)},useLayoutEffect:function(t,n){return dr(4194308,4,t,n)},useInsertionEffect:function(t,n){dr(4,2,t,n)},useMemo:function(t,n){var a=pe();n=n===void 0?null:n;var o=t();if(Ki){Zn(!0);try{t()}finally{Zn(!1)}}return a.memoizedState=[o,n],o},useReducer:function(t,n,a){var o=pe();if(a!==void 0){var c=a(n);if(Ki){Zn(!0);try{a(n)}finally{Zn(!1)}}}else c=n;
vendor: 7,271 bytes, line 8
8return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=Gw.bind(null,gt,t),[o.memoizedState,t]},useRef:function(t){var n=pe();return t={current:t},n.memoizedState=t},useState:function(t){t=Wc(t);var n=t.queue,a=Ep.bind(null,gt,n);return n.dispatch=a,[t.memoizedState,a]},useDebugValue:nu,useDeferredValue:function(t,n){var a=pe();return iu(a,t,n)},useTransition:function(){var t=Wc(!1);return t=bp.bind(null,gt,t.queue,!0,!1),pe().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,a){var o=gt,c=pe();if(At){if(a===void 0)throw Error(r(407));a=a()}else{if(a=n(),Lt===null)throw Error(r(349));(Tt&127)!==0||Km(o,n,a)}c.memoizedState=a;var d={value:a,getSnapshot:n};return c.queue=d,up(Im.bind(null,o,d,t),[t]),o.flags|=2048,ja(9,{destroy:void 0},Zm.bind(null,o,d,a,n),null),a},useId:function(){var t=pe(),n=Lt.identifierPrefix;if(At){var a=pn,o=mn;a=(o&~(1<<32-Oe(o)-1)).toString(32)+a,n="_"+n+"R_"+a,a=lr++,0<a&&(n+="H"+a.toString(32)),n+="_"}else a=Lw++,n="_"+n+"r_"+a.toString(32)+"_";return t.memoizedState=n},useHostTransitionStatus:su,useFormState:sp,useActionState:sp,useOptimistic:function(t){var n=pe();n.memoizedState=n.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=a,n=ou.bind(null,gt,!0,a),a.dispatch=n,[t,n]},useMemoCache:Ic,useCacheRefresh:function(){return pe().memoizedState=Pw.bind(null,gt)},useEffectEvent:function(t){var n=pe(),a={impl:t};return n.memoizedState=a,function(){if((Rt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},ru={readContext:le,use:ur,useCallback:yp,useContext:le,useEffect:eu,useImperativeHandle:pp,useInsertionEffect:dp,useLayoutEffect:hp,useMemo:gp,useReducer:fr,useRef:cp,useState:function(){return fr(jn)},useDebugValue:nu,useDeferredValue:function(t,n){var a=Xt();return vp(a,jt.memoizedState,t,n)},useTransition:function(){var t=fr(jn)[0],n=Xt().memoizedState;return[typeof t=="boolean"?t:js(t),n]},useSyncExternalStore:Xm,useId:wp,useHostTransitionStatus:su,useFormState:op,useActionState:op,useOptimistic:function(t,n){var a=Xt();return Wm(a,jt,t,n)},useMemoCache:Ic,useCacheRefresh:Tp};ru.useEffectEvent=fp;var Rp={readContext:le,use:ur,useCallback:yp,useContext:le,useEffect:eu,useImperativeHandle:pp,useInsertionEffect:dp,useLayoutEffect:hp,useMemo:gp,useReducer:Jc,useRef:cp,useState:function(){return Jc(jn)},useDebugValue:nu,useDeferredValue:function(t,n){var a=Xt();return jt===null?iu(a,t,n):vp(a,jt.memoizedState,t,n)},useTransition:function(){var t=Jc(jn)[0],n=Xt().memoizedState;return[typeof t=="boolean"?t:js(t),n]},useSyncExternalStore:Xm,useId:wp,useHostTransitionStatus:su,useFormState:lp,useActionState:lp,useOptimistic:function(t,n){var a=Xt();return jt!==null?Wm(a,jt,t,n):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Ic,useCacheRefresh:Tp};Rp.useEffectEvent=fp;function lu(t,n,a,o){n=t.memoizedState,a=a(o,n),a=a==null?n:v({},n,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var cu={enqueueSetState:function(t,n,a){t=t._reactInternals;var o=Ve(),c=ii(o);c.payload=n,a!=null&&(c.callback=a),n=ai(t,c,o),n!==null&&(Ee(n,t,o),Rs(n,t,o))},enqueueReplaceState:function(t,n,a){t=t._reactInternals;var o=Ve(),c=ii(o);c.tag=1,c.payload=n,a!=null&&(c.callback=a),n=ai(t,c,o),n!==null&&(Ee(n,t,o),Rs(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var a=Ve(),o=ii(a);o.tag=2,n!=null&&(o.callback=n),n=ai(t,o,a),n!==null&&(Ee(n,t,a),Rs(n,t,a))}};function Op(t,n,a,o,c,d,g){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,d,g):n.prototype&&n.prototype.isPureReactComponent?!xs(a,o)||!xs(c,d):!0}function Np(t,n,a,o){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(a,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(a,o),n.state!==t&&cu.enqueueReplaceState(n,n.state,null)}function Zi(t,n){var a=n;if("ref"in n){a={};for(var o in n)o!=="ref"&&(a[o]=n[o])}if(t=t.defaultProps){a===n&&(a=v({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function Dp(t){Qo(t)}function jp(t){console.error(t)}function _p(t){Qo(t)}function pr(t,n){try{var a=t.onUncaughtError;a(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function zp(t,n,a){try{var o=t.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function uu(t,n,a){return a=ii(a),a.tag=3,a.payload={element:null},a.callback=function(){pr(t,n)},a}function Lp(t){return t=ii(t),t.tag=3,t}function Vp(t,n,a,o){var c=a.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;t.payload=function(){return c(d)},t.callback=function(){zp(n,a,o)}}var g=a.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(t.callback=function(){zp(n,a,o),typeof c!="function"&&(ui===null?ui=new Set([this]):ui.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})})}function qw(t,n,a,o,c){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=a.alternate,n!==null&&Ea(n,a,c,!0),a=je.current,a!==null){switch(a.tag){case 31:case 13:return Ke===null?Mr():a.alternate===null&&qt===0&&(qt=3),a.flags&=-257,a.flags|=65536,a.lanes=c,o===nr?a.flags|=16384:(n=a.updateQueue,n===null?a.updateQueue=new Set([o]):n.add(o),Lu(t,o,c)),!1;case 22:return a.flags|=65536,o===nr?a.flags|=16384:(n=a.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=n):(a=n.retryQueue,a===null?n.retryQueue=new Set([o]):a.add(o)),Lu(t,o,c)),!1}throw Error(r(435,a.tag))}return Lu(t,o,c),Mr(),!1}if(At)return n=je.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==Oc&&(t=Error(r(422),{cause:o}),Ts(Ye(t,a)))):(o!==Oc&&(n=Error(r(423),{cause:o}),Ts(Ye(n,a))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=Ye(o,a),c=uu(t.stateNode,o,c),Hc(t,c),qt!==4&&(qt=2)),!1;var d=Error(r(520),{cause:o});if(d=Ye(d,a),Gs===null?Gs=[d]:Gs.push(d),qt!==4&&(qt=2),n===null)return!0;o=Ye(o,a),a=n;do{switch(a.tag){case 3:return a.flags|=65536,t=c&-c,a.lanes|=t,t=uu(a.stateNode,o,t),Hc(a,t),!1;case 1:if(n=a.type,d=a.stateNode,(a.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ui===null||!ui.has(d))))return a.flags|=65536,c&=-c,a.lanes|=c,c=Lp(c),Vp(c,t,a,o),Hc(a,c),!1}a=a.return}while(a!==null);return!1}var fu=Error(r(461)),It=!1;function ce(t,n,a,o){n.child=t===null?Hm(n,null,a,o):Xi(n,t.child,a,o)}function Up(t,n,a,o,c){a=a.render;var d=n.ref;if("ref"in o){var g={};for(var S in o)S!=="ref"&&(g[S]=o[S])}else g=o;return qi(n),o=Qc(t,n,a,g,d,c),S=Xc(),t!==null&&!It?(Kc(t,n,c),_n(t,n,c)):(At&&S&&Mc(n),n.flags|=1,ce(t,n,o,c),n.child)}function Bp(t,n,a,o,c){if(t===null){var d=a.type;return typeof d=="function"&&!Ec(d)&&d.defaultProps===void 0&&a.compare===null?(n.tag=15,n.type=d,kp(t,n,d,o,c)):(t=Io(a.type,null,o,n,n.mode,c),t.ref=n.ref,t.return=n,n.child=t)}if(d=t.child,!bu(t,c)){var g=d.memoizedProps;if(a=a.compare,a=a!==null?a:xs,a(g,o)&&t.ref===n.ref)return _n(t,n,c)}return n.flags|=1,t=Mn(d,o),t.ref=n.ref,t.return=n,n.child=t}
vendor: 11,046 bytes, line 8
8function kp(t,n,a,o,c){if(t!==null){var d=t.memoizedProps;if(xs(d,o)&&t.ref===n.ref)if(It=!1,n.pendingProps=o=d,bu(t,c))(t.flags&131072)!==0&&(It=!0);else return n.lanes=t.lanes,_n(t,n,c)}return du(t,n,a,o,c)}function Hp(t,n,a,o){var c=o.children,d=t!==null?t.memoizedState:null;if(t===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(d=d!==null?d.baseLanes|a:a,t!==null){for(o=n.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~d}else o=0,n.child=null;return Pp(t,n,d,a,o)}if((a&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&tr(n,d!==null?d.cachePool:null),d!==null?qm(n,d):Gc(),Ym(n);else return o=n.lanes=536870912,Pp(t,n,d!==null?d.baseLanes|a:a,a,o)}else d!==null?(tr(n,d.cachePool),qm(n,d),oi(),n.memoizedState=null):(t!==null&&tr(n,null),Gc(),oi());return ce(t,n,c,a),n.child}function Ls(t,n){return t!==null&&t.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function Pp(t,n,a,o,c){var d=Vc();return d=d===null?null:{parent:Kt._currentValue,pool:d},n.memoizedState={baseLanes:a,cachePool:d},t!==null&&tr(n,null),Gc(),Ym(n),t!==null&&Ea(t,n,o,!0),n.childLanes=c,null}function yr(t,n){return n=vr({mode:n.mode,children:n.children},t.mode),n.ref=t.ref,t.child=n,n.return=t,n}function Gp(t,n,a){return Xi(n,t.child,null,a),t=yr(n,n.pendingProps),t.flags|=2,_e(n),n.memoizedState=null,t}function Yw(t,n,a){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,t===null){if(At){if(o.mode==="hidden")return t=yr(n,o),n.lanes=536870912,Ls(null,t);if(Yc(n),(t=Ut)?(t=tg(t,Xe),t=t!==null&&t.data==="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:Jn!==null?{id:mn,overflow:pn}:null,retryLane:536870912,hydrationErrors:null},a=Am(t),a.return=n,n.child=a,re=n,Ut=null)):t=null,t===null)throw ti(n);return n.lanes=536870912,null}return yr(n,o)}var d=t.memoizedState;if(d!==null){var g=d.dehydrated;if(Yc(n),c)if(n.flags&256)n.flags&=-257,n=Gp(t,n,a);else if(n.memoizedState!==null)n.child=t.child,n.flags|=128,n=null;else throw Error(r(558));else if(It||Ea(t,n,a,!1),c=(a&t.childLanes)!==0,It||c){if(o=Lt,o!==null&&(g=jh(o,a),g!==0&&g!==d.retryLane))throw d.retryLane=g,ki(t,g),Ee(o,t,g),fu;Mr(),n=Gp(t,n,a)}else t=d.treeContext,Ut=Ze(g.nextSibling),re=n,At=!0,Wn=null,Xe=!1,t!==null&&Rm(n,t),n=yr(n,o),n.flags|=4096;return n}return t=Mn(t.child,{mode:o.mode,children:o.children}),t.ref=n.ref,n.child=t,t.return=n,t}function gr(t,n){var a=n.ref;if(a===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(t===null||t.ref!==a)&&(n.flags|=4194816)}}function du(t,n,a,o,c){return qi(n),a=Qc(t,n,a,o,void 0,c),o=Xc(),t!==null&&!It?(Kc(t,n,c),_n(t,n,c)):(At&&o&&Mc(n),n.flags|=1,ce(t,n,a,c),n.child)}function qp(t,n,a,o,c,d){return qi(n),n.updateQueue=null,a=Qm(n,o,a,c),Fm(t),o=Xc(),t!==null&&!It?(Kc(t,n,d),_n(t,n,d)):(At&&o&&Mc(n),n.flags|=1,ce(t,n,a,d),n.child)}function Yp(t,n,a,o,c){if(qi(n),n.stateNode===null){var d=xa,g=a.contextType;typeof g=="object"&&g!==null&&(d=le(g)),d=new a(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=cu,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},Bc(n),g=a.contextType,d.context=typeof g=="object"&&g!==null?le(g):xa,d.state=n.memoizedState,g=a.getDerivedStateFromProps,typeof g=="function"&&(lu(n,a,g,o),d.state=n.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&cu.enqueueReplaceState(d,d.state,null),Ns(n,o,d,c),Os(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){d=n.stateNode;var S=n.memoizedProps,C=Zi(a,S);d.props=C;var L=d.context,F=a.contextType;g=xa,typeof F=="object"&&F!==null&&(g=le(F));var K=a.getDerivedStateFromProps;F=typeof K=="function"||typeof d.getSnapshotBeforeUpdate=="function",S=n.pendingProps!==S,F||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(S||L!==g)&&Np(n,d,o,g),ni=!1;var B=n.memoizedState;d.state=B,Ns(n,o,d,c),Os(),L=n.memoizedState,S||B!==L||ni?(typeof K=="function"&&(lu(n,a,K,o),L=n.memoizedState),(C=ni||Op(n,a,C,o,B,L,g))?(F||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=L),d.props=o,d.state=L,d.context=g,o=C):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,kc(t,n),g=n.memoizedProps,F=Zi(a,g),d.props=F,K=n.pendingProps,B=d.context,L=a.contextType,C=xa,typeof L=="object"&&L!==null&&(C=le(L)),S=a.getDerivedStateFromProps,(L=typeof S=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==K||B!==C)&&Np(n,d,o,C),ni=!1,B=n.memoizedState,d.state=B,Ns(n,o,d,c),Os();var H=n.memoizedState;g!==K||B!==H||ni||t!==null&&t.dependencies!==null&&Jo(t.dependencies)?(typeof S=="function"&&(lu(n,a,S,o),H=n.memoizedState),(F=ni||Op(n,a,F,o,B,H,C)||t!==null&&t.dependencies!==null&&Jo(t.dependencies))?(L||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,H,C),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,H,C)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=H),d.props=o,d.state=H,d.context=C,o=F):(typeof d.componentDidUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(n.flags|=1024),o=!1)}return d=o,gr(t,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,t!==null&&o?(n.child=Xi(n,t.child,null,c),n.child=Xi(n,null,a,c)):ce(t,n,a,c),n.memoizedState=d.state,t=n.child):t=_n(t,n,c),t}function Fp(t,n,a,o){return Pi(),n.flags|=256,ce(t,n,a,o),n.child}var hu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function mu(t){return{baseLanes:t,cachePool:zm()}}function pu(t,n,a){return t=t!==null?t.childLanes&~a:0,n&&(t|=Le),t}function Qp(t,n,a){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,g;if((g=d)||(g=t!==null&&t.memoizedState===null?!1:(Qt.current&2)!==0),g&&(c=!0,n.flags&=-129),g=(n.flags&32)!==0,n.flags&=-33,t===null){if(At){if(c?si(n):oi(),(t=Ut)?(t=tg(t,Xe),t=t!==null&&t.data!=="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:Jn!==null?{id:mn,overflow:pn}:null,retryLane:536870912,hydrationErrors:null},a=Am(t),a.return=n,n.child=a,re=n,Ut=null)):t=null,t===null)throw ti(n);return $u(t)?n.lanes=32:n.lanes=536870912,null}var S=o.children;return o=o.fallback,c?(oi(),c=n.mode,S=vr({mode:"hidden",children:S},c),o=Hi(o,c,a,null),S.return=n,o.return=n,S.sibling=o,n.child=S,o=n.child,o.memoizedState=mu(a),o.childLanes=pu(t,g,a),n.memoizedState=hu,Ls(null,o)):(si(n),yu(n,S))}var C=t.memoizedState;if(C!==null&&(S=C.dehydrated,S!==null)){if(d)n.flags&256?(si(n),n.flags&=-257,n=gu(t,n,a)):n.memoizedState!==null?(oi(),n.child=t.child,n.flags|=128,n=null):(oi(),S=o.fallback,c=n.mode,o=vr({mode:"visible",children:o.children},c),S=Hi(S,c,a,null),S.flags|=2,o.return=n,S.return=n,o.sibling=S,n.child=o,Xi(n,t.child,null,a),o=n.child,o.memoizedState=mu(a),o.childLanes=pu(t,g,a),n.memoizedState=hu,n=Ls(null,o));else if(si(n),$u(S)){if(g=S.nextSibling&&S.nextSibling.dataset,g)var L=g.dgst;g=L,o=Error(r(419)),o.stack="",o.digest=g,Ts({value:o,source:null,stack:null}),n=gu(t,n,a)}else if(It||Ea(t,n,a,!1),g=(a&t.childLanes)!==0,It||g){if(g=Lt,g!==null&&(o=jh(g,a),o!==0&&o!==C.retryLane))throw C.retryLane=o,ki(t,o),Ee(g,t,o),fu;Iu(S)||Mr(),n=gu(t,n,a)}else Iu(S)?(n.flags|=192,n.child=t.child,n=null):(t=C.treeContext,Ut=Ze(S.nextSibling),re=n,At=!0,Wn=null,Xe=!1,t!==null&&Rm(n,t),n=yu(n,o.children),n.flags|=4096);return n}return c?(oi(),S=o.fallback,c=n.mode,C=t.child,L=C.sibling,o=Mn(C,{mode:"hidden",children:o.children}),o.subtreeFlags=C.subtreeFlags&65011712,L!==null?S=Mn(L,S):(S=Hi(S,c,a,null),S.flags|=2),S.return=n,o.return=n,o.sibling=S,n.child=o,Ls(null,o),o=n.child,S=t.child.memoizedState,S===null?S=mu(a):(c=S.cachePool,c!==null?(C=Kt._currentValue,c=c.parent!==C?{parent:C,pool:C}:c):c=zm(),S={baseLanes:S.baseLanes|a,cachePool:c}),o.memoizedState=S,o.childLanes=pu(t,g,a),n.memoizedState=hu,Ls(t.child,o)):(si(n),a=t.child,t=a.sibling,a=Mn(a,{mode:"visible",children:o.children}),a.return=n,a.sibling=null,t!==null&&(g=n.deletions,g===null?(n.deletions=[t],n.flags|=16):g.push(t)),n.child=a,n.memoizedState=null,a)}function yu(t,n){return n=vr({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function vr(t,n){return t=De(22,t,null,n),t.lanes=0,t}function gu(t,n,a){return Xi(n,t.child,null,a),t=yu(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function Xp(t,n,a){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),jc(t.return,n,a)}function vu(t,n,a,o,c,d){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:c,treeForkCount:d}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=o,g.tail=a,g.tailMode=c,g.treeForkCount=d)}function Kp(t,n,a){var o=n.pendingProps,c=o.revealOrder,d=o.tail;o=o.children;var g=Qt.current,S=(g&2)!==0;if(S?(g=g&1|2,n.flags|=128):g&=1,I(Qt,g),ce(t,n,o,a),o=At?ws:0,!S&&t!==null&&(t.flags&128)!==0)t:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Xp(t,a,n);else if(t.tag===19)Xp(t,a,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}switch(c){case"forwards":for(a=n.child,c=null;a!==null;)t=a.alternate,t!==null&&or(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=n.child,n.child=null):(c=a.sibling,a.sibling=null),vu(n,!1,c,a,d,o);break;case"backwards":case"unstable_legacy-backwards":for(a=null,c=n.child,n.child=null;c!==null;){if(t=c.alternate,t!==null&&or(t)===null){n.child=c;break}
vendor: 4,102 bytes, line 8
8t=c.sibling,c.sibling=a,a=c,c=t}vu(n,!0,a,null,d,o);break;case"together":vu(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function _n(t,n,a){if(t!==null&&(n.dependencies=t.dependencies),ci|=n.lanes,(a&n.childLanes)===0)if(t!==null){if(Ea(t,n,a,!1),(a&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,a=Mn(t,t.pendingProps),n.child=a,a.return=n;t.sibling!==null;)t=t.sibling,a=a.sibling=Mn(t,t.pendingProps),a.return=n;a.sibling=null}return n.child}function bu(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&Jo(t)))}function Fw(t,n,a){switch(n.tag){case 3:Ft(n,n.stateNode.containerInfo),ei(n,Kt,t.memoizedState.cache),Pi();break;case 27:case 5:He(n);break;case 4:Ft(n,n.stateNode.containerInfo);break;case 10:ei(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Yc(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(si(n),n.flags|=128,null):(a&n.child.childLanes)!==0?Qp(t,n,a):(si(n),t=_n(t,n,a),t!==null?t.sibling:null);si(n);break;case 19:var c=(t.flags&128)!==0;if(o=(a&n.childLanes)!==0,o||(Ea(t,n,a,!1),o=(a&n.childLanes)!==0),c){if(o)return Kp(t,n,a);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),I(Qt,Qt.current),o)break;return null;case 22:return n.lanes=0,Hp(t,n,a,n.pendingProps);case 24:ei(n,Kt,t.memoizedState.cache)}return _n(t,n,a)}function Zp(t,n,a){if(t!==null)if(t.memoizedProps!==n.pendingProps)It=!0;else{if(!bu(t,a)&&(n.flags&128)===0)return It=!1,Fw(t,n,a);It=(t.flags&131072)!==0}else It=!1,At&&(n.flags&1048576)!==0&&Mm(n,ws,n.index);switch(n.lanes=0,n.tag){case 16:t:{var o=n.pendingProps;if(t=Fi(n.elementType),n.type=t,typeof t=="function")Ec(t)?(o=Zi(t,o),n.tag=1,n=Yp(null,n,t,o,a)):(n.tag=0,n=du(null,n,t,o,a));else{if(t!=null){var c=t.$$typeof;if(c===q){n.tag=11,n=Up(null,n,t,o,a);break t}else if(c===G){n.tag=14,n=Bp(null,n,t,o,a);break t}}throw n=W(t)||t,Error(r(306,n,""))}}return n;case 0:return du(t,n,n.type,n.pendingProps,a);case 1:return o=n.type,c=Zi(o,n.pendingProps),Yp(t,n,o,c,a);case 3:t:{if(Ft(n,n.stateNode.containerInfo),t===null)throw Error(r(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,kc(t,n),Ns(n,o,null,a);var g=n.memoizedState;if(o=g.cache,ei(n,Kt,o),o!==d.cache&&_c(n,[Kt],a,!0),Os(),o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=Fp(t,n,o,a);break t}else if(o!==c){c=Ye(Error(r(424)),n),Ts(c),n=Fp(t,n,o,a);break t}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Ut=Ze(t.firstChild),re=n,At=!0,Wn=null,Xe=!0,a=Hm(n,null,o,a),n.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Pi(),o===c){n=_n(t,n,a);break t}ce(t,n,o,a)}n=n.child}return n;case 26:return gr(t,n),t===null?(a=og(n.type,null,n.pendingProps,null))?n.memoizedState=a:At||(a=n.type,t=n.pendingProps,o=zr(yt.current).createElement(a),o[oe]=n,o[ve]=t,ue(o,a,t),ie(o),n.stateNode=o):n.memoizedState=og(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return He(n),t===null&&At&&(o=n.stateNode=ig(n.type,n.pendingProps,yt.current),re=n,Xe=!0,c=Ut,mi(n.type)?(Ju=c,Ut=Ze(o.firstChild)):Ut=c),ce(t,n,n.pendingProps.children,a),gr(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&At&&((c=o=Ut)&&(o=ST(o,n.type,n.pendingProps,Xe),o!==null?(n.stateNode=o,re=n,Ut=Ze(o.firstChild),Xe=!1,c=!0):c=!1),c||ti(n)),He(n),c=n.type,d=n.pendingProps,g=t!==null?t.memoizedProps:null,o=d.children,Xu(c,d)?o=null:g!==null&&Xu(c,g)&&(n.flags|=32),n.memoizedState!==null&&(c=Qc(t,n,Vw,null,null,a),Is._currentValue=c),gr(t,n),ce(t,n,o,a),n.child;case 6:return t===null&&At&&((t=a=Ut)&&(a=wT(a,n.pendingProps,Xe),a!==null?(n.stateNode=a,re=n,Ut=null,t=!0):t=!1),t||ti(n)),null;case 13:return Qp(t,n,a);case 4:return Ft(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=Xi(n,null,o,a):ce(t,n,o,a),n.child;case 11:return Up(t,n,n.type,n.pendingProps,a);
vendor: 6,116 bytes, line 8
8case 7:return ce(t,n,n.pendingProps,a),n.child;case 8:return ce(t,n,n.pendingProps.children,a),n.child;case 12:return ce(t,n,n.pendingProps.children,a),n.child;case 10:return o=n.pendingProps,ei(n,n.type,o.value),ce(t,n,o.children,a),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,qi(n),c=le(c),o=o(c),n.flags|=1,ce(t,n,o,a),n.child;case 14:return Bp(t,n,n.type,n.pendingProps,a);case 15:return kp(t,n,n.type,n.pendingProps,a);case 19:return Kp(t,n,a);case 31:return Yw(t,n,a);case 22:return Hp(t,n,a,n.pendingProps);case 24:return qi(n),o=le(Kt),t===null?(c=Vc(),c===null&&(c=Lt,d=zc(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=a),c=d),n.memoizedState={parent:o,cache:c},Bc(n),ei(n,Kt,c)):((t.lanes&a)!==0&&(kc(t,n),Ns(n,null,null,a),Os()),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),ei(n,Kt,o)):(o=d.cache,ei(n,Kt,o),o!==c.cache&&_c(n,[Kt],a,!0))),ce(t,n,n.pendingProps.children,a),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function zn(t){t.flags|=4}function xu(t,n,a,o,c){if((n=(t.mode&32)!==0)&&(n=!1),n){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(wy())t.flags|=8192;else throw Qi=nr,Uc}else t.flags&=-16777217}function Ip(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!fg(n))if(wy())t.flags|=8192;else throw Qi=nr,Uc}function br(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Oh():536870912,t.lanes|=n,Va|=n)}function Vs(t,n){if(!At)switch(t.tailMode){case"hidden":n=t.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function Bt(t){var n=t.alternate!==null&&t.alternate.child===t.child,a=0,o=0;if(n)for(var c=t.child;c!==null;)a|=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;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=a,n}function Qw(t,n,a){var o=n.pendingProps;switch(Rc(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bt(n),null;case 1:return Bt(n),null;case 3:return a=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Nn(Kt),Dt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Ta(n)?zn(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Nc())),Bt(n),null;case 26:var c=n.type,d=n.memoizedState;return t===null?(zn(n),d!==null?(Bt(n),Ip(n,d)):(Bt(n),xu(n,c,null,o,a))):d?d!==t.memoizedState?(zn(n),Bt(n),Ip(n,d)):(Bt(n),n.flags&=-16777217):(t=t.memoizedProps,t!==o&&zn(n),Bt(n),xu(n,c,t,o,a)),null;case 27:if(dn(n),a=yt.current,c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&zn(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Bt(n),null}t=$.current,Ta(n)?Om(n):(t=ig(c,o,a),n.stateNode=t,zn(n))}return Bt(n),null;case 5:if(dn(n),c=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&zn(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Bt(n),null}if(d=$.current,Ta(n))Om(n);else{var g=zr(yt.current);switch(d){case 1:d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=g.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof o.is=="string"?g.createElement("select",{is:o.is}):g.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?g.createElement(c,{is:o.is}):g.createElement(c)}}d[oe]=n,d[ve]=o;t:for(g=n.child;g!==null;){if(g.tag===5||g.tag===6)d.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===n)break t;for(;g.sibling===null;){if(g.return===null||g.return===n)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}n.stateNode=d;t:switch(ue(d,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&zn(n)}}return Bt(n),xu(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,a),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&zn(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(r(166));if(t=yt.current,Ta(n)){if(t=n.stateNode,a=n.memoizedProps,o=null,c=re,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}t[oe]=n,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||Qy(t.nodeValue,a)),t||ti(n,!0)}else t=zr(t).createTextNode(o),t[oe]=n,n.stateNode=t}return Bt(n),null;case 31:if(a=n.memoizedState,t===null||t.memoizedState!==null){if(o=Ta(n),a!==null){if(t===null){if(!o)throw Error(r(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[oe]=n}else Pi(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Bt(n),t=!1}else a=Nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return n.flags&256?(_e(n),n):(_e(n),null);if((n.flags&128)!==0)throw Error(r(558))}return Bt(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=Ta(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[oe]=n}else Pi(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Bt(n),c=!1}else c=Nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(_e(n),n):(_e(n),null)}return _e(n),(n.flags&128)!==0?(n.lanes=a,n):(a=o!==null,t=t!==null&&t.memoizedState!==null,a&&(o=n.
vendor: 22,775 bytes, line 8
8child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)),a!==t&&a&&(n.child.flags|=8192),br(n,n.updateQueue),Bt(n),null);case 4:return Dt(),t===null&&Gu(n.stateNode.containerInfo),Bt(n),null;case 10:return Nn(n.type),Bt(n),null;case 19:if(Q(Qt),o=n.memoizedState,o===null)return Bt(n),null;if(c=(n.flags&128)!==0,d=o.rendering,d===null)if(c)Vs(o,!1);else{if(qt!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(d=or(t),d!==null){for(n.flags|=128,Vs(o,!1),t=d.updateQueue,n.updateQueue=t,br(n,t),n.subtreeFlags=0,t=a,a=n.child;a!==null;)Em(a,t),a=a.sibling;return I(Qt,Qt.current&1|2),At&&Rn(n,o.treeForkCount),n.child}t=t.sibling}o.tail!==null&&Me()>Er&&(n.flags|=128,c=!0,Vs(o,!1),n.lanes=4194304)}else{if(!c)if(t=or(d),t!==null){if(n.flags|=128,c=!0,t=t.updateQueue,n.updateQueue=t,br(n,t),Vs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!At)return Bt(n),null}else 2*Me()-o.renderingStartTime>Er&&a!==536870912&&(n.flags|=128,c=!0,Vs(o,!1),n.lanes=4194304);o.isBackwards?(d.sibling=n.child,n.child=d):(t=o.last,t!==null?t.sibling=d:n.child=d,o.last=d)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Me(),t.sibling=null,a=Qt.current,I(Qt,c?a&1|2:a&1),At&&Rn(n,o.treeForkCount),t):(Bt(n),null);case 22:case 23:return _e(n),qc(),o=n.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(a&536870912)!==0&&(n.flags&128)===0&&(Bt(n),n.subtreeFlags&6&&(n.flags|=8192)):Bt(n),a=n.updateQueue,a!==null&&br(n,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==a&&(n.flags|=2048),t!==null&&Q(Yi),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),n.memoizedState.cache!==a&&(n.flags|=2048),Nn(Kt),Bt(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}function Xw(t,n){switch(Rc(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return Nn(Kt),Dt(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return dn(n),null;case 31:if(n.memoizedState!==null){if(_e(n),n.alternate===null)throw Error(r(340));Pi()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if(_e(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(r(340));Pi()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return Q(Qt),null;case 4:return Dt(),null;case 10:return Nn(n.type),null;case 22:case 23:return _e(n),qc(),t!==null&&Q(Yi),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return Nn(Kt),null;case 25:return null;default:return null}}function $p(t,n){switch(Rc(n),n.tag){case 3:Nn(Kt),Dt();break;case 26:case 27:case 5:dn(n);break;case 4:Dt();break;case 31:n.memoizedState!==null&&_e(n);break;case 13:_e(n);break;case 19:Q(Qt);break;case 10:Nn(n.type);break;case 22:case 23:_e(n),qc(),t!==null&&Q(Yi);break;case 24:Nn(Kt)}}function Us(t,n){try{var a=n.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&t)===t){o=void 0;var d=a.create,g=a.inst;o=d(),g.destroy=o}a=a.next}while(a!==c)}}catch(S){Nt(n,n.return,S)}}function ri(t,n,a){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 g=o.inst,S=g.destroy;if(S!==void 0){g.destroy=void 0,c=n;var C=a,L=S;try{L()}catch(F){Nt(c,C,F)}}}o=o.next}while(o!==d)}}catch(F){Nt(n,n.return,F)}}function Jp(t){var n=t.updateQueue;if(n!==null){var a=t.stateNode;try{Gm(n,a)}catch(o){Nt(t,t.return,o)}}}function Wp(t,n,a){a.props=Zi(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(o){Nt(t,n,o)}}function Bs(t,n){try{var a=t.ref;if(a!==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 a=="function"?t.refCleanup=a(o):a.current=o}}catch(c){Nt(t,n,c)}}function yn(t,n){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(c){Nt(t,n,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(c){Nt(t,n,c)}else a.current=null}function ty(t){var n=t.type,a=t.memoizedProps,o=t.stateNode;try{t:switch(n){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break t;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(c){Nt(t,t.return,c)}}function Su(t,n,a){try{var o=t.stateNode;pT(o,t.type,a,n),o[ve]=n}catch(c){Nt(t,t.return,c)}}function ey(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&mi(t.type)||t.tag===4}function wu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||ey(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&&mi(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 Tu(t,n,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,n):(n=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,n.appendChild(t),a=a._reactRootContainer,a!=null||n.onclick!==null||(n.onclick=An));else if(o!==4&&(o===27&&mi(t.type)&&(a=t.stateNode,n=null),t=t.child,t!==null))for(Tu(t,n,a),t=t.sibling;t!==null;)Tu(t,n,a),t=t.sibling}function xr(t,n,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,n?a.insertBefore(t,n):a.appendChild(t);else if(o!==4&&(o===27&&mi(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(xr(t,n,a),t=t.sibling;t!==null;)xr(t,n,a),t=t.sibling}function ny(t){var n=t.stateNode,a=t.memoizedProps;try{for(var o=t.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);ue(n,o,a),n[oe]=t,n[ve]=a}catch(d){Nt(t,t.return,d)}}var Ln=!1,$t=!1,Eu=!1,iy=typeof WeakSet=="function"?WeakSet:Set,ae=null;function Kw(t,n){if(t=t.containerInfo,Fu=Pr,t=pm(t),gc(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{a.nodeType,d.nodeType}catch{a=null;break t}var g=0,S=-1,C=-1,L=0,F=0,K=t,B=null;e:for(;;){for(var H;K!==a||c!==0&&K.nodeType!==3||(S=g+c),K!==d||o!==0&&K.nodeType!==3||(C=g+o),K.nodeType===3&&(g+=K.nodeValue.length),(H=K.firstChild)!==null;)B=K,K=H;for(;;){if(K===t)break e;if(B===a&&++L===c&&(S=g),B===d&&++F===o&&(C=g),(H=K.nextSibling)!==null)break;K=B,B=K.parentNode}K=H}a=S===-1||C===-1?null:{start:S,end:C}}else a=null}a=a||{start:0,end:0}}else a=null;for(Qu={focusedElem:t,selectionRange:a},Pr=!1,ae=n;ae!==null;)if(n=ae,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,ae=t;else for(;ae!==null;){switch(n=ae,d=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)c=t[a],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&d!==null){t=void 0,a=n,c=d.memoizedProps,d=d.memoizedState,o=a.stateNode;try{var et=Zi(a.type,c);t=o.getSnapshotBeforeUpdate(et,d),o.__reactInternalSnapshotBeforeUpdate=t}catch(ct){Nt(a,a.return,ct)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,a=t.nodeType,a===9)Zu(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Zu(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,ae=t;break}ae=n.return}}function ay(t,n,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:Un(t,a),o&4&&Us(5,a);break;case 1:if(Un(t,a),o&4)if(t=a.stateNode,n===null)try{t.componentDidMount()}catch(g){Nt(a,a.return,g)}else{var c=Zi(a.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(c,n,t.__reactInternalSnapshotBeforeUpdate)}catch(g){Nt(a,a.return,g)}}o&64&&Jp(a),o&512&&Bs(a,a.return);break;case 3:if(Un(t,a),o&64&&(t=a.updateQueue,t!==null)){if(n=null,a.child!==null)switch(a.child.tag){case 27:case 5:n=a.child.stateNode;break;case 1:n=a.child.stateNode}try{Gm(t,n)}catch(g){Nt(a,a.return,g)}}break;case 27:n===null&&o&4&&ny(a);case 26:case 5:Un(t,a),n===null&&o&4&&ty(a),o&512&&Bs(a,a.return);break;case 12:Un(t,a);break;case 31:Un(t,a),o&4&&ry(t,a);break;case 13:Un(t,a),o&4&&ly(t,a),o&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=iT.bind(null,a),TT(t,a))));break;case 22:if(o=a.memoizedState!==null||Ln,!o){n=n!==null&&n.memoizedState!==null||$t,c=Ln;var d=$t;Ln=o,($t=n)&&!d?Bn(t,a,(a.subtreeFlags&8772)!==0):Un(t,a),Ln=c,$t=d}break;case 30:break;default:Un(t,a)}}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&&tc(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 Ht=null,xe=!1;function Vn(t,n,a){for(a=a.child;a!==null;)oy(t,n,a),a=a.sibling}function oy(t,n,a){if(Re&&typeof Re.onCommitFiberUnmount=="function")try{Re.onCommitFiberUnmount(ls,a)}catch{}switch(a.tag){case 26:$t||yn(a,n),Vn(t,n,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:$t||yn(a,n);var o=Ht,c=xe;mi(a.type)&&(Ht=a.stateNode,xe=!1),Vn(t,n,a),Xs(a.stateNode),Ht=o,xe=c;break;case 5:$t||yn(a,n);case 6:if(o=Ht,c=xe,Ht=null,Vn(t,n,a),Ht=o,xe=c,Ht!==null)if(xe)try{(Ht.nodeType===9?Ht.body:Ht.nodeName==="HTML"?Ht.ownerDocument.body:Ht).removeChild(a.stateNode)}catch(d){Nt(a,n,d)}else try{Ht.removeChild(a.stateNode)}catch(d){Nt(a,n,d)}break;case 18:Ht!==null&&(xe?(t=Ht,Jy(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Ya(t)):Jy(Ht,a.stateNode));break;case 4:o=Ht,c=xe,Ht=a.stateNode.containerInfo,xe=!0,Vn(t,n,a),Ht=o,xe=c;break;case 0:case 11:case 14:case 15:ri(2,a,n),$t||ri(4,a,n),Vn(t,n,a);break;case 1:$t||(yn(a,n),o=a.stateNode,typeof o.componentWillUnmount=="function"&&Wp(a,n,o)),Vn(t,n,a);break;case 21:Vn(t,n,a);break;case 22:$t=(o=$t)||a.memoizedState!==null,Vn(t,n,a),$t=o;break;default:Vn(t,n,a)}}function ry(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ya(t)}catch(a){Nt(n,n.return,a)}}}function ly(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ya(t)}catch(a){Nt(n,n.return,a)}}function Zw(t){switch(t.tag){case 31:case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new iy),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new iy),n;default:throw Error(r(435,t.tag))}}function Sr(t,n){var a=Zw(t);n.forEach(function(o){if(!a.has(o)){a.add(o);var c=aT.bind(null,t,o);o.then(c,c)}})}function Se(t,n){var a=n.deletions;if(a!==null)for(var o=0;o<a.length;o++){var c=a[o],d=t,g=n,S=g;t:for(;S!==null;){switch(S.tag){case 27:if(mi(S.type)){Ht=S.stateNode,xe=!1;break t}break;case 5:Ht=S.stateNode,xe=!1;break t;case 3:case 4:Ht=S.stateNode.containerInfo,xe=!0;break t}S=S.return}if(Ht===null)throw Error(r(160));oy(d,g,c),Ht=null,xe=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)cy(n,t),n=n.sibling}var an=null;function cy(t,n){var a=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Se(n,t),we(t),o&4&&(ri(3,t,t.return),Us(3,t),ri(5,t,t.return));break;case 1:Se(n,t),we(t),o&512&&($t||a===null||yn(a,a.return)),o&64&&Ln&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?o:a.concat(o))));break;case 26:var c=an;if(Se(n,t),we(t),o&512&&($t||a===null||yn(a,a.return)),o&4){var d=a!==null?a.memoizedState:null;if(o=t.memoizedState,a===null)if(o===null)if(t.stateNode===null){t:{o=t.type,a=t.memoizedProps,c=c.ownerDocument||c;e:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[fs]||d[oe]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),ue(d,o,a),d[oe]=t,ie(d),o=d;break t;case"link":var g=cg("link","href",c).get(o+(a.href||""));if(g){for(var S=0;S<g.length;S++)if(d=g[S],d.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&d.getAttribute("rel")===(a.rel==null?null:a.rel)&&d.getAttribute("title")===(a.title==null?null:a.title)&&d.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){g.splice(S,1);break e}}d=c.createElement(o),ue(d,o,a),c.head.appendChild(d);break;case"meta":if(g=cg("meta","content",c).get(o+(a.content||""))){for(S=0;S<g.length;S++)if(d=g[S],d.getAttribute("content")===(a.content==null?null:""+a.content)&&d.getAttribute("name")===(a.name==null?null:a.name)&&d.getAttribute("property")===(a.property==null?null:a.property)&&d.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&d.getAttribute("charset")===(a.charSet==null?null:a.charSet)){g.splice(S,1);break e}}d=c.createElement(o),ue(d,o,a),c.head.appendChild(d);break;default:throw Error(r(468,o))}d[oe]=t,ie(d),o=d}t.stateNode=o}else ug(c,t.type,t.stateNode);else t.stateNode=lg(c,o,t.memoizedProps);else d!==o?(d===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):d.count--,o===null?ug(c,t.type,t.stateNode):lg(c,o,t.memoizedProps)):o===null&&t.stateNode!==null&&Su(t,t.memoizedProps,a.memoizedProps)}break;case 27:Se(n,t),we(t),o&512&&($t||a===null||yn(a,a.return)),a!==null&&o&4&&Su(t,t.memoizedProps,a.memoizedProps);break;case 5:if(Se(n,t),we(t),o&512&&($t||a===null||yn(a,a.return)),t.flags&32){c=t.stateNode;try{ha(c,"")}catch(et){Nt(t,t.return,et)}}o&4&&t.stateNode!=null&&(c=t.memoizedProps,Su(t,c,a!==null?a.memoizedProps:c)),o&1024&&(Eu=!0);break;case 6:if(Se(n,t),we(t),o&4){if(t.stateNode===null)throw Error(r(162));o=t.memoizedProps,a=t.stateNode;try{a.nodeValue=o}catch(et){Nt(t,t.return,et)}}break;case 3:if(Ur=null,c=an,an=Lr(n.containerInfo),Se(n,t),an=c,we(t),o&4&&a!==null&&a.memoizedState.isDehydrated)try{Ya(n.containerInfo)}catch(et){Nt(t,t.return,et)}Eu&&(Eu=!1,uy(t));break;case 4:o=an,an=Lr(t.stateNode.containerInfo),Se(n,t),we(t),an=o;break;case 12:Se(n,t),we(t);break;case 31:Se(n,t),we(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Sr(t,o)));break;case 13:Se(n,t),we(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Tr=Me()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Sr(t,o)));break;case 22:c=t.memoizedState!==null;var C=a!==null&&a.memoizedState!==null,L=Ln,F=$t;if(Ln=L||c,$t=F||C,Se(n,t),$t=F,Ln=L,we(t),o&8192)t:for(n=t.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(a===null||C||Ln||$t||Ii(t)),a=null,n=t;;){if(n.tag===5||n.tag===26){if(a===null){C=a=n;try{if(d=C.stateNode,c)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{S=C.stateNode;var K=C.memoizedProps.style,B=K!=null&&K.hasOwnProperty("display")?K.display:null;S.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(et){Nt(C,C.return,et)}}}else if(n.tag===6){if(a===null){C=n;try{C.stateNode.nodeValue=c?"":C.memoizedProps}catch(et){Nt(C,C.return,et)}}}else if(n.tag===18){if(a===null){C=n;try{var H=C.stateNode;c?Wy(H,!0):Wy(C.stateNode,!1)}catch(et){Nt(C,C.return,et)}}}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;a===n&&(a=null),n=n.return}a===n&&(a=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=t.updateQueue,o!==null&&(a=o.retryQueue,a!==null&&(o.retryQueue=null,Sr(t,a))));break;case 19:Se(n,t),we(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,Sr(t,o)));break;case 30:break;case 21:break;default:Se(n,t),we(t)}}function we(t){var n=t.flags;if(n&2){try{for(var a,o=t.return;o!==null;){if(ey(o)){a=o;break}o=o.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var c=a.stateNode,d=wu(t);xr(t,d,c);break;case 5:var g=a.stateNode;a.flags&32&&(ha(g,""),a.flags&=-33);var S=wu(t);xr(t,S,g);break;case 3:case 4:var C=a.stateNode.containerInfo,L=wu(t);Tu(t,L,C);break;default:throw Error(r(161))}}catch(F){Nt(t,t.return,F)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function uy(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;uy(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function Un(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)ay(t,n.alternate,n),n=n.sibling}function Ii(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:ri(4,n,n.return),Ii(n);break;case 1:yn(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount=="function"&&Wp(n,n.return,a),Ii(n);break;case 27:Xs(n.stateNode);case 26:case 5:yn(n,n.return),Ii(n);break;case 22:n.memoizedState===null&&Ii(n);break;case 30:Ii(n);break;default:Ii(n)}t=t.sibling}}function Bn(t,n,a){for(a=a&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=t,d=n,g=d.flags;switch(d.tag){case 0:case 11:case 15:Bn(c,d,a),Us(4,d);break;case 1:if(Bn(c,d,a),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(L){Nt(o,o.return,L)}if(o=d,c=o.updateQueue,c!==null){var S=o.stateNode;try{var C=c.shared.hiddenCallbacks;if(C!==null)for(c.shared.hiddenCallbacks=null,c=0;c<C.length;c++)Pm(C[c],S)}catch(L){Nt(o,o.return,L)}}a&&g&64&&Jp(d),Bs(d,d.return);break;case 27:ny(d);case 26:case 5:Bn(c,d,a),a&&o===null&&g&4&&ty(d),Bs(d,d.return);break;case 12:Bn(c,d,a);break;case 31:Bn(c,d,a),a&&g&4&&ry(c,d);break;case 13:Bn(c,d,a),a&&g&4&&ly(c,d);break;case 22:d.memoizedState===null&&Bn(c,d,a),Bs(d,d.return);break;case 30:break;default:Bn(c,d,a)}n=n.sibling}}function Au(t,n){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&Es(a))}function Cu(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&Es(t))}function sn(t,n,a,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)fy(t,n,a,o),n=n.sibling}function fy(t,n,a,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:sn(t,n,a,o),c&2048&&Us(9,n);break;case 1:sn(t,n,a,o);break;case 3:sn(t,n,a,o),c&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&Es(t)));break;case 12:if(c&2048){sn(t,n,a,o),t=n.stateNode;try{var d=n.memoizedProps,g=d.id,S=d.onPostCommit;typeof S=="function"&&S(g,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(C){Nt(n,n.return,C)}}else sn(t,n,a,o);break;case 31:sn(t,n,a,o);break;case 13:sn(t,n,a,o);break;case 23:break;case 22:d=n.stateNode,g=n.alternate,n.memoizedState!==null?d._visibility&2?sn(t,n,a,o):ks(t,n):d._visibility&2?sn(t,n,a,o):(d._visibility|=2,_a(t,n,a,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&Au(g,n);break;case 24:sn(t,n,a,o),c&2048&&Cu(n.alternate,n);break;default:sn(t,n,a,o)}}function _a(t,n,a,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var d=t,g=n,S=a,C=o,L=g.flags;switch(g.tag){case 0:case 11:case 15:_a(d,g,S,C,c),Us(8,g);break;case 23:break;case 22:var F=g.stateNode;g.memoizedState!==null?F._visibility&2?_a(d,g,S,C,c):ks(d,g):(F._visibility|=2,_a(d,g,S,C,c)),c&&L&2048&&Au(g.alternate,g);break;case 24:_a(d,g,S,C,c),c&&L&2048&&Cu(g.alternate,g);break;default:_a(d,g,S,C,c)}n=n.sibling}}function ks(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var a=t,o=n,c=o.flags;switch(o.tag){case 22:ks(a,o),c&2048&&Au(o.alternate,o);break;case 24:ks(a,o),c&2048&&Cu(o.alternate,o);break;default:ks(a,o)}n=n.sibling}}var Hs=8192;function za(t,n,a){if(t.subtreeFlags&Hs)for(t=t.child;t!==null;)dy(t,n,a),t=t.sibling}function dy(t,n,a){switch(t.tag){case 26:za(t,n,a),t.flags&Hs&&t.memoizedState!==null&&LT(a,an,t.memoizedState,t.memoizedProps);break;case 5:za(t,n,a);break;case 3:case 4:var o=an;an=Lr(t.stateNode.containerInfo),za(t,n,a),an=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=Hs,Hs=16777216,za(t,n,a),Hs=o):za(t,n,a));break;default:za(t,n,a)}}function hy(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 Ps(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];ae=o,py(o,t)}hy(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)my(t),t=t.sibling}function my(t){switch(t.tag){case 0:case 11:case 15:Ps(t),t.flags&2048&&ri(9,t,t.return);break;case 3:Ps(t);break;case 12:Ps(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,wr(t)):Ps(t);break;default:Ps(t)}}function wr(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];ae=o,py(o,t)}hy(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:ri(8,n,n.return),wr(n);break;case 22:a=n.stateNode,a._visibility&2&&(a._visibility&=-3,wr(n));break;default:wr(n)}t=t.sibling}}function py(t,n){for(;ae!==null;){var a=ae;switch(a.tag){case 0:case 11:case 15:ri(8,a,n);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var o=a.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Es(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,ae=o;else t:for(a=t;ae!==null;){o=ae;var c=o.sibling,d=o.return;if(sy(o),o===a){ae=null;break t}if(c!==null){c.return=d,ae=c;break t}ae=d}}}var Iw={getCacheForType:function(t){var n=le(Kt),a=n.data.get(t);return a===void 0&&(a=t(),n.data.set(t,a)),a},cacheSignal:function(){return le(Kt).controller.signal}},$w=typeof WeakMap=="function"?WeakMap:Map,Rt=0,Lt=null,St=null,Tt=0,Ot=0,ze=null,li=!1,La=!1,Mu=!1,kn=0,qt=0,ci=0,$i=0,Ru=0,Le=0,Va=0,Gs=null,Te=null,Ou=!1,Tr=0,yy=0,Er=1/0,Ar=null,ui=null,Wt=0,fi=null,Ua=null,Hn=0,Nu=0,Du=null,gy=null,qs=0,ju=null;function Ve(){return(Rt&2)!==0&&Tt!==0?Tt&-Tt:_.T!==null?Bu():_h()}function vy(){if(Le===0)if((Tt&536870912)===0||At){var t=_o;_o<<=1,(_o&3932160)===0&&(_o=262144),Le=t}else Le=536870912;return t=je.current,t!==null&&(t.flags|=32),Le}function Ee(t,n,a){(t===Lt&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)&&(Ba(t,0),di(t,Tt,Le,!1)),us(t,a),((Rt&2)===0||t!==Lt)&&(t===Lt&&((Rt&2)===0&&($i|=
vendor: 3,617 bytes, line 8
8a),qt===4&&di(t,Tt,Le,!1)),gn(t))}function by(t,n,a){if((Rt&6)!==0)throw Error(r(327));var o=!a&&(n&127)===0&&(n&t.expiredLanes)===0||cs(t,n),c=o?tT(t,n):zu(t,n,!0),d=o;do{if(c===0){La&&!o&&di(t,n,0,!1);break}else{if(a=t.current.alternate,d&&!Jw(a)){c=zu(t,n,!1),d=!1;continue}if(c===2){if(d=n,t.errorRecoveryDisabledLanes&d)var g=0;else g=t.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){n=g;t:{var S=t;c=Gs;var C=S.current.memoizedState.isDehydrated;if(C&&(Ba(S,g).flags|=256),g=zu(S,g,!1),g!==2){if(Mu&&!C){S.errorRecoveryDisabledLanes|=d,$i|=d,c=4;break t}d=Te,Te=c,d!==null&&(Te===null?Te=d:Te.push.apply(Te,d))}c=g}if(d=!1,c!==2)continue}}if(c===1){Ba(t,0),di(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:di(o,n,Le,!li);break t;case 2:Te=null;break;case 3:case 5:break;default:throw Error(r(329))}if((n&62914560)===n&&(c=Tr+300-Me(),10<c)){if(di(o,n,Le,!li),Lo(o,0,!0)!==0)break t;Hn=n,o.timeoutHandle=Iy(xy.bind(null,o,a,Te,Ar,Ou,n,Le,$i,Va,li,d,"Throttled",-0,0),c);break t}xy(o,a,Te,Ar,Ou,n,Le,$i,Va,li,d,null,-0,0)}}break}while(!0);gn(t)}function xy(t,n,a,o,c,d,g,S,C,L,F,K,B,H){if(t.timeoutHandle=-1,K=n.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:An},dy(n,d,K);var et=(d&62914560)===d?Tr-Me():(d&4194048)===d?yy-Me():0;if(et=VT(K,et),et!==null){Hn=d,t.cancelPendingCommit=et(Ry.bind(null,t,n,d,a,o,c,g,S,C,F,K,null,B,H)),di(t,d,g,!L);return}}Ry(t,n,d,a,o,c,g,S,C)}function Jw(t){for(var n=t;;){var a=n.tag;if((a===0||a===11||a===15)&&n.flags&16384&&(a=n.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var c=a[o],d=c.getSnapshot;c=c.value;try{if(!Ne(d(),c))return!1}catch{return!1}}if(a=n.child,n.subtreeFlags&16384&&a!==null)a.return=n,n=a;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 di(t,n,a,o){n&=~Ru,n&=~$i,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var c=n;0<c;){var d=31-Oe(c),g=1<<d;o[d]=-1,c&=~g}a!==0&&Nh(t,a,n)}function Cr(){return(Rt&6)===0?(Ys(0),!1):!0}function _u(){if(St!==null){if(Ot===0)var t=St.return;else t=St,On=Gi=null,Zc(t),Ra=null,Cs=0,t=St;for(;t!==null;)$p(t.alternate,t),t=t.return;St=null}}function Ba(t,n){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,vT(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Hn=0,_u(),Lt=t,St=a=Mn(t.current,null),Tt=n,Ot=0,ze=null,li=!1,La=cs(t,n),Mu=!1,Va=Le=Ru=$i=ci=qt=0,Te=Gs=null,Ou=!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-Oe(o),d=1<<c;n|=t[c],o&=~d}return kn=n,Xo(),a}function Sy(t,n){gt=null,_.H=zs,n===Ma||n===er?(n=Um(),Ot=3):n===Uc?(n=Um(),Ot=4):Ot=n===fu?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,ze=n,St===null&&(qt=1,pr(t,Ye(n,t.current)))}function wy(){var t=je.current;return t===null?!0:(Tt&4194048)===Tt?Ke===null:(Tt&62914560)===Tt||(Tt&536870912)!==0?t===Ke:!1}function Ty(){var t=_.H;return _.H=zs,t===null?zs:t}function Ey(){var t=_.A;return _.A=Iw,t}function Mr(){qt=4,li||(Tt&4194048)!==Tt&&je.current!==null||(La=!0),(ci&134217727)===0&&($i&134217727)===0||Lt===null||di(Lt,Tt,Le,!1)}function zu(t,n,a){var o=Rt;Rt|=2;var c=Ty(),d=Ey();(Lt!==t||Tt!==n)&&(Ar=null,Ba(t,n)),n=!1;var g=qt;t:do try{if(Ot!==0&&St!==null){var S=St,C=ze;switch(Ot){case 8:_u(),g=6;break t;case 3:case 2:case 9:case 6:je.current===null&&(n=!0);var L=Ot;
vendor: 4,447 bytes, line 8
8if(Ot=0,ze=null,ka(t,S,C,L),a&&La){g=0;break t}break;default:L=Ot,Ot=0,ze=null,ka(t,S,C,L)}}Ww(),g=qt;break}catch(F){Sy(t,F)}while(!0);return n&&t.shellSuspendCounter++,On=Gi=null,Rt=o,_.H=c,_.A=d,St===null&&(Lt=null,Tt=0,Xo()),g}function Ww(){for(;St!==null;)Ay(St)}function tT(t,n){var a=Rt;Rt|=2;var o=Ty(),c=Ey();Lt!==t||Tt!==n?(Ar=null,Er=Me()+500,Ba(t,n)):La=cs(t,n);t:do try{if(Ot!==0&&St!==null){n=St;var d=ze;e:switch(Ot){case 1:Ot=0,ze=null,ka(t,n,d,1);break;case 2:case 9:if(Lm(d)){Ot=0,ze=null,Cy(n);break}n=function(){Ot!==2&&Ot!==9||Lt!==t||(Ot=7),gn(t)},d.then(n,n);break t;case 3:Ot=7;break t;case 4:Ot=5;break t;case 7:Lm(d)?(Ot=0,ze=null,Cy(n)):(Ot=0,ze=null,ka(t,n,d,7));break;case 5:var g=null;switch(St.tag){case 26:g=St.memoizedState;case 5:case 27:var S=St;if(g?fg(g):S.stateNode.complete){Ot=0,ze=null;var C=S.sibling;if(C!==null)St=C;else{var L=S.return;L!==null?(St=L,Rr(L)):St=null}break e}}Ot=0,ze=null,ka(t,n,d,5);break;case 6:Ot=0,ze=null,ka(t,n,d,6);break;case 8:_u(),qt=6;break t;default:throw Error(r(462))}}eT();break}catch(F){Sy(t,F)}while(!0);return On=Gi=null,_.H=o,_.A=c,Rt=a,St!==null?0:(Lt=null,Tt=0,Xo(),qt)}function eT(){for(;St!==null&&!ES();)Ay(St)}function Ay(t){var n=Zp(t.alternate,t,kn);t.memoizedProps=t.pendingProps,n===null?Rr(t):St=n}function Cy(t){var n=t,a=n.alternate;switch(n.tag){case 15:case 0:n=qp(a,n,n.pendingProps,n.type,void 0,Tt);break;case 11:n=qp(a,n,n.pendingProps,n.type.render,n.ref,Tt);break;case 5:Zc(n);default:$p(a,n),n=St=Em(n,kn),n=Zp(a,n,kn)}t.memoizedProps=t.pendingProps,n===null?Rr(t):St=n}function ka(t,n,a,o){On=Gi=null,Zc(n),Ra=null,Cs=0;var c=n.return;try{if(qw(t,c,n,a,Tt)){qt=1,pr(t,Ye(a,t.current)),St=null;return}}catch(d){if(c!==null)throw St=c,d;qt=1,pr(t,Ye(a,t.current)),St=null;return}n.flags&32768?(At||o===1?t=!0:La||(Tt&536870912)!==0?t=!1:(li=t=!0,(o===2||o===9||o===3||o===6)&&(o=je.current,o!==null&&o.tag===13&&(o.flags|=16384))),My(n,t)):Rr(n)}function Rr(t){var n=t;do{if((n.flags&32768)!==0){My(n,li);return}t=n.return;var a=Qw(n.alternate,n,kn);if(a!==null){St=a;return}if(n=n.sibling,n!==null){St=n;return}St=n=t}while(n!==null);qt===0&&(qt=5)}function My(t,n){do{var a=Xw(t.alternate,t);if(a!==null){a.flags&=32767,St=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!n&&(t=t.sibling,t!==null)){St=t;return}St=t=a}while(t!==null);qt=6,St=null}function Ry(t,n,a,o,c,d,g,S,C){t.cancelPendingCommit=null;do Or();while(Wt!==0);if((Rt&6)!==0)throw Error(r(327));if(n!==null){if(n===t.current)throw Error(r(177));if(d=n.lanes|n.childLanes,d|=wc,zS(t,a,d,g,S,C),t===Lt&&(St=Lt=null,Tt=0),Ua=n,fi=t,Hn=a,Nu=d,Du=c,gy=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,sT(Do,function(){return _y(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=_.T,_.T=null,c=Y.p,Y.p=2,g=Rt,Rt|=4;try{Kw(t,n,a)}finally{Rt=g,Y.p=c,_.T=o}}Wt=1,Oy(),Ny(),Dy()}}function Oy(){if(Wt===1){Wt=0;var t=fi,n=Ua,a=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||a){a=_.T,_.T=null;var o=Y.p;Y.p=2;var c=Rt;Rt|=4;try{cy(n,t);var d=Qu,g=pm(t.containerInfo),S=d.focusedElem,C=d.selectionRange;if(g!==S&&S&&S.ownerDocument&&mm(S.ownerDocument.documentElement,S)){if(C!==null&&gc(S)){var L=C.start,F=C.end;if(F===void 0&&(F=L),"selectionStart"in S)S.selectionStart=L,S.selectionEnd=Math.min(F,S.value.length);else{var K=S.ownerDocument||document,B=K&&K.defaultView||window;if(B.getSelection){var H=B.getSelection(),et=S.textContent.length,ct=Math.min(C.start,et),zt=C.end===void 0?ct:Math.min(C.end,et);!H.extend&&ct>zt&&(g=zt,zt=ct,ct=g);var D=hm(S,ct),O=hm(S,zt);if(D&&O&&(H.rangeCount!==1||H.anchorNode!==D.node||H.anchorOffset!==D.offset||H.focusNode!==O.node||H.focusOffset!==O.offset)){var z=K.createRange();z.setStart(D.node,D.offset),H.removeAllRanges(),ct>zt?(H.addRange(z),H.extend(O.node,O.offset)):(z.setEnd(O.node,O.offset),H.addRange(z))}}}}for(K=[],H=S;H=H.parentNode;)H.nodeType===1&&K.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<K.length;S++){var X=K[S];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Pr=!!Fu,Qu=Fu=null}finally{Rt=c,Y.p=o,_.T=a}}t.current=n,Wt=2}}function Ny(){if(Wt===2){Wt=0;var t=fi,n=Ua,a=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||a){a=_.T,_.T=null;var o=Y.p;Y.p=2;var c=Rt;Rt|=4;try{ay(t,n.alternate,n)}finally{Rt=c,Y.p=o,_.T=a}}Wt=3}}
vendor: 6,130 bytes, line 8
8function Dy(){if(Wt===4||Wt===3){Wt=0,AS();var t=fi,n=Ua,a=Hn,o=gy;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Wt=5:(Wt=0,Ua=fi=null,jy(t,t.pendingLanes));var c=t.pendingLanes;if(c===0&&(ui=null),Jl(a),n=n.stateNode,Re&&typeof Re.onCommitFiberRoot=="function")try{Re.onCommitFiberRoot(ls,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=_.T,c=Y.p,Y.p=2,_.T=null;try{for(var d=t.onRecoverableError,g=0;g<o.length;g++){var S=o[g];d(S.value,{componentStack:S.stack})}}finally{_.T=n,Y.p=c}}(Hn&3)!==0&&Or(),gn(t),c=t.pendingLanes,(a&261930)!==0&&(c&42)!==0?t===ju?qs++:(qs=0,ju=t):qs=0,Ys(0)}}function jy(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,Es(n)))}function Or(){return Oy(),Ny(),Dy(),_y()}function _y(){if(Wt!==5)return!1;var t=fi,n=Nu;Nu=0;var a=Jl(Hn),o=_.T,c=Y.p;try{Y.p=32>a?32:a,_.T=null,a=Du,Du=null;var d=fi,g=Hn;if(Wt=0,Ua=fi=null,Hn=0,(Rt&6)!==0)throw Error(r(331));var S=Rt;if(Rt|=4,my(d.current),fy(d,d.current,g,a),Rt=S,Ys(0,!1),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(ls,d)}catch{}return!0}finally{Y.p=c,_.T=o,jy(t,n)}}function zy(t,n,a){n=Ye(a,n),n=uu(t.stateNode,n,2),t=ai(t,n,2),t!==null&&(us(t,2),gn(t))}function Nt(t,n,a){if(t.tag===3)zy(t,t,a);else for(;n!==null;){if(n.tag===3){zy(n,t,a);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ui===null||!ui.has(o))){t=Ye(a,t),a=Lp(2),o=ai(n,a,2),o!==null&&(Vp(a,o,n,t),us(o,2),gn(o));break}}n=n.return}}function Lu(t,n,a){var o=t.pingCache;if(o===null){o=t.pingCache=new $w;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(a)||(Mu=!0,c.add(a),t=nT.bind(null,t,n,a),n.then(t,t))}function nT(t,n,a){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Lt===t&&(Tt&a)===a&&(qt===4||qt===3&&(Tt&62914560)===Tt&&300>Me()-Tr?(Rt&2)===0&&Ba(t,0):Ru|=a,Va===Tt&&(Va=0)),gn(t)}function Ly(t,n){n===0&&(n=Oh()),t=ki(t,n),t!==null&&(us(t,n),gn(t))}function iT(t){var n=t.memoizedState,a=0;n!==null&&(a=n.retryLane),Ly(t,a)}function aT(t,n){var a=0;switch(t.tag){case 31:case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(a=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),Ly(t,a)}function sT(t,n){return Kl(t,n)}var Nr=null,Ha=null,Vu=!1,Dr=!1,Uu=!1,hi=0;function gn(t){t!==Ha&&t.next===null&&(Ha===null?Nr=Ha=t:Ha=Ha.next=t),Dr=!0,Vu||(Vu=!0,rT())}function Ys(t,n){if(!Uu&&Dr){Uu=!0;do for(var a=!1,o=Nr;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var g=o.suspendedLanes,S=o.pingedLanes;d=(1<<31-Oe(42|t)+1)-1,d&=c&~(g&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(a=!0,ky(o,d))}else d=Tt,d=Lo(o,o===Lt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||cs(o,d)||(a=!0,ky(o,d));o=o.next}while(a);Uu=!1}}function oT(){Vy()}function Vy(){Dr=Vu=!1;var t=0;hi!==0&&gT()&&(t=hi);for(var n=Me(),a=null,o=Nr;o!==null;){var c=o.next,d=Uy(o,n);d===0?(o.next=null,a===null?Nr=c:a.next=c,c===null&&(Ha=a)):(a=o,(t!==0||(d&3)!==0)&&(Dr=!0)),o=c}Wt!==0&&Wt!==5||Ys(t),hi!==0&&(hi=0)}function Uy(t,n){for(var a=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,d=t.pendingLanes&-62914561;0<d;){var g=31-Oe(d),S=1<<g,C=c[g];C===-1?((S&a)===0||(S&o)!==0)&&(c[g]=_S(S,n)):C<=n&&(t.expiredLanes|=S),d&=~S}if(n=Lt,a=Tt,a=Lo(t,t===n?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,a===0||t===n&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&Zl(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||cs(t,a)){if(n=a&-a,n===t.callbackPriority)return n;switch(o!==null&&Zl(o),Jl(a)){case 2:case 8:a=Mh;break;case 32:a=Do;break;case 268435456:a=Rh;break;default:a=Do}return o=By.bind(null,t),a=Kl(a,o),t.callbackPriority=n,t.callbackNode=a,n}return o!==null&&o!==null&&Zl(o),t.callbackPriority=2,t.callbackNode=null,2}function By(t,n){if(Wt!==0&&Wt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Or()&&t.callbackNode!==a)return null;var o=Tt;return o=Lo(t,t===Lt?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(by(t,o,n),Uy(t,Me()),t.callbackNode!=null&&t.callbackNode===a?By.bind(null,t):null)}function ky(t,n){if(Or())return null;by(t,n,!0)}function rT(){bT(function(){(Rt&6)!==0?Kl(Ch,oT):Vy()})}function Bu(){if(hi===0){var t=Aa;t===0&&(t=jo,jo<<=1,(jo&261888)===0&&(jo=256)),hi=t}return hi}function Hy(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:ko(""+t)}function Py(t,n){var a=n.ownerDocument.createElement("input");return a.name=n.name,a.value=n.value,t.id&&a.setAttribute("form",t.id),n.parentNode.insertBefore(a,n),t=new FormData(t),a.parentNode.removeChild(a),t}function lT(t,n,a,o,c){if(n==="submit"&&a&&a.stateNode===c){var d=Hy((c[ve]||null).action),g=o.submitter;g&&(n=(n=g[ve]||null)?Hy(n.formAction):g.getAttribute("formAction"),n!==null&&(d=n,g=null));var S=new qo("action","action",null,o,c);t.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(hi!==0){var C=g?Py(c,g):new FormData(c);au(a,{pending:!0,data:C,method:c.method,action:d},null,C)}}else typeof d=="function"&&(S.preventDefault(),C=g?Py(c,g):new FormData(c),au(a,{pending:!0,data:C,method:c.method,action:d},d,C))},currentTarget:c}]})}}for(var ku=0;ku<Sc.length;ku++){var Hu=Sc[ku],cT=Hu.toLowerCase(),uT=Hu[0].toUpperCase()+Hu.slice(1);nn(cT,"on"+uT)}nn(vm,"onAnimationEnd"),nn(bm,"onAnimationIteration"),nn(xm,"onAnimationStart"),nn("dblclick","onDoubleClick"),nn("focusin","onFocus"),nn("focusout","onBlur"),nn(Cw,"onTransitionRun"),nn(Mw,"onTransitionStart"),nn(Rw,"onTransitionCancel"),nn(Sm,"onTransitionEnd"),fa("onMouseEnter",["mouseout","mouseover"]),fa("onMouseLeave",["mouseout","mouseover"]),fa("onPointerEnter",["pointerout","pointerover"]),fa("onPointerLeave",["pointerout","pointerover"]),Li("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Li("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),Li("onBeforeInput",["compositionend","keypress","textInput","paste"]),Li("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Li("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Li("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fs="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(" "),fT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fs));function Gy(t,n){n=(n&4)!==0;for(var a=0;a<t.length;a++){var o=t[a],c=o.event;o=o.listeners;t:{var d=void 0;if(n)for(var g=o.length-1;0<=g;g--){var S=o[g],C=S.instance,L=S.currentTarget;if(S=S.listener,C!==d&&c.isPropagationStopped())break t;d=S,c.currentTarget=L;try{d(c)}catch(F){Qo(F)}c.currentTarget=null,d=C}else for(g=0;g<o.length;g++){if(S=o[g],C=S.instance,L=S.currentTarget,S=S.listener,C!==d&&c.isPropagationStopped())break t;d=S,c.currentTarget=L;try{d(c)}catch(F){Qo(F)}c.currentTarget=null,d=C}}}}function wt(t,n){var a=n[Wl];a===void 0&&(a=n[Wl]=new Set);var o=t+"__bubble";a.has(o)||(qy(n,t,2,!1),a.add(o))}function Pu(t,n,a){var o=0;n&&(o|=4),qy(a,t,o,n)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Gu(t){if(!t[jr]){t[jr]=!0,Vh.forEach(function(a){a!=="selectionchange"&&(fT.has(a)||Pu(a,!1,t),Pu(a,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[jr]||(n[jr]=!0,Pu("selectionchange",!1,n))}}function qy(t,n,a,o){switch(vg(n)){case 2:var c=kT;break;case 8:c=HT;break;default:c=af}a=c.bind(null,n,a,t),c=void 0,!lc||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(n,a,{capture:!0,passive:c}):t.addEventListener(n,a,!0):c!==void 0?t.addEventListener(n,a,{passive:c}):t.addEventListener(n,a,!1)}function qu(t,n,a,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)t:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var S=o.stateNode.containerInfo;if(S===c)break;if(g===4)for(g=o.return;g!==null;){var C=g.tag;if((C===3||C===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;S!==null;){if(g=la(S),g===null)return;if(C=g.tag,C===5||C===6||C===26||C===27){o=d=g;continue t}S=S.parentNode}}o=o.return}Kh(function(){var L=d,F=oc(a),K=[];t:{var B=wm.get(t);if(B!==void 0){var H=qo,et=t;switch(t){case"keypress":if(Po(a)===0)break t;case"keydown":case"keyup":H=aw;break;case"focusin":et="focus",H=dc;break;case"focusout":et="blur",H=dc;break;case"beforeblur":case"afterblur":H=dc;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=$h;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=QS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=rw;break;case vm:case bm:case xm:H=ZS;break;case Sm:H=cw;break;case"scroll":case"scrollend":H=YS;break;case"wheel":H=fw;break;case"copy":case"cut":case"paste":H=$S;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=Wh;break;case"toggle":case"beforetoggle":H=hw}var ct=(n&4)!==0,zt=!ct&&(t==="scroll"||t==="scrollend"),D=ct?B!==null?B+"Capture":null:B;ct=[];for(var O=L,z;O!==null;){var X=O;if(z=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||z===null||D===null||(X=hs(O,D),X!=null&&ct.push(Qs(O,X,z))),zt)break;O=O.return}0<ct.length&&(B=new H(B,et,null,a,F),K.push({event:B,listeners:ct}))}}if((n&7)===0){t:{if(B=t==="mouseover"||t==="pointerover",H=t==="mouseout"||t==="pointerout",B&&a!==sc&&(et=a.relatedTarget||a.fromElement)&&(la(et)||et[ra]))break t;if((H||B)&&(B=F.window===F?F:(B=F.ownerDocument)?B.defaultView||B.parentWindow:window,H?(et=a.relatedTarget||a.toElement,H=L,et=et?la(et):null,et!==null&&(zt=u(et),ct=et.tag,et!==zt||ct!==5&&ct!==27&&ct!==6)&&(et=null)):(H=null,et=L),H!==et)){if(ct=$h,X="onMouseLeave",D="onMouseEnter",O="mouse",(t==="pointerout"||t==="pointerover")&&(ct=Wh,X="onPointerLeave",D="onPointerEnter",O="pointer"),zt=H==null?B:ds(H),z=et==null?B:ds(et),B=new ct(X,O+"leave",H,a,F),B.target=zt,B.relatedTarget=z,X=null,la(F)===L&&(ct=new ct(D,O+"enter",et,a,F),ct.target=z,ct.relatedTarget=zt,X=ct),zt=X,H&&et)e:{for(ct=dT,D=H,O=et,z=0,X=D;X;X=ct(X))z++;X=0;for(var lt=O;lt;lt=ct(lt))X++;for(;0<z-X;)D=ct(D),z--;for(;0<X-z;)O=ct(O),X--;for(;z--;){if(D===O||O!==null&&D===O.alternate){ct=D;break e}D=ct(D),O=ct(O)}ct=null}else ct=null;H!==null&&Yy(K,B,H,ct,!1),et!==null&&zt!==null&&Yy(K,zt,et,ct,!0)}}t:{if(B=L?ds(L):window,H=B.nodeName&&B.nodeName.toLowerCase(),H==="select"||H==="input"&&B.type==="file")var Ct=rm;else if(sm(B))if(lm)Ct=Tw;else{Ct=Sw;var st=xw}else H=B.nodeName,!H||H.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?L&&ac(L.elementType)&&(Ct=rm):Ct=ww;if(Ct&&(Ct=Ct(t,L))){om(K,Ct,a,F);break t}st&&st(t,B,L),t==="focusout"&&L&&B.type==="number"&&L.memoizedProps.value!=null&&ic(B,"number",B.value)}switch(st=L?ds(L):window,t){case"focusin":(sm(st)||st.contentEditable==="true")&&(ga=st,vc=L,Ss=null);break;case"focusout":Ss=vc=ga=null;break;case"mousedown":bc=!0;break;case"contextmenu":case"mouseup":case"dragend":bc=!1,ym(K,a,F);break;case"selectionchange":if(Aw)break;case"keydown":case"keyup":ym(K,a,F)}var vt;if(mc)t:{switch(t){case"compositionstart":var Et="onCompositionStart";break t;case"compositionend":Et="onCompositionEnd";break t;case"compositionupdate":Et="onCompositionUpdate";break t}Et=void 0}else ya?im(t,a)&&(Et="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(Et="onCompositionStart");Et&&(tm&&a.locale!=="ko"&&(ya||Et!=="onCompositionStart"?Et==="onCompositionEnd"&&ya&&(vt=Zh()):($n=F,cc="value"in $n?$n.value:$n.textContent,ya=!0)),st=_r(L,Et),0<st.length&&(Et=new Jh(Et,t,null,a,F),K.push({event:Et,listeners:st}),vt?Et.data=vt:(vt=am(a),vt!==null&&(Et.data=vt)))),(vt=pw?yw(t,a):gw(t,a))&&(Et=_r(L,"onBeforeInput"),0<Et.length&&(st=new Jh("onBeforeInput","beforeinput",null,a,F),K.push({event:st,listeners:Et}),st.data=vt)),lT(K,t,L,a,F)}Gy(K,n)})}function Qs(t,n,a){return{instance:t,listener:n,currentTarget:a}}function _r(t,n){for(var a=n+"Capture",o=[];t!==null;){var c=t,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=hs(t,a),c!=null&&o.unshift(Qs(t,c,d)),c=hs(t,n),c!=null&&o.push(Qs(t,c,d))),t.tag===3)return o;t=t.return}return[]}function dT(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Yy(t,n,a,o,c){for(var d=n._reactName,g=[];a!==null&&a!==o;){var S=a,C=S.alternate,L=S.stateNode;if(S=S.tag,C!==null&&C===o)break;S!==5&&S!==26&&S!==27||L===null||(C=L,c?(L=hs(a,d),L!=null&&g.unshift(Qs(a,L,C))):c||(L=hs(a,d),L!=null&&g.push(Qs(a,L,C)))),a=a.return}g.length!==0&&t.push({event:n,listeners:g})}var hT=/\r\n?/g,mT=/\u0000|\uFFFD/g;function Fy(t){return(typeof t=="string"?t:""+t).replace(hT,`
9`).replace(mT,"")}function Qy(t,n){return n=Fy(n),Fy(t)===n}function _t(t,n,a,o,c,d){switch(a){case"children":typeof o=="str
9ing"?n==="body"||n==="textarea"&&o===""||ha(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&ha(t,""+o);break;case"className":Uo(t,"class",o);break;case"tabIndex":Uo(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Uo(t,a,o);break;case"style":Qh(t,o,d);break;case"data":if(n!=="object"){Uo(t,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||a!=="href")){t.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}o=ko(""+o),t.setAttribute(a,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(a,"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"&&(a==="formAction"?(n!=="input"&&_t(t,n,"name",c.name,c,null),_t(t,n,"formEncType",c.formEncType,c,null),_t(t,n,"formMethod",c.formMethod,c,null),_t(t,n,"formTarget",c.formTarget,c,null)):(_t(t,n,"encType",c.encType,c,null),_t(t,n,"method",c.method,c,null),_t(t,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}o=ko(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(t.onclick=An);break;case"onScroll":o!=null&&wt("scroll",t);break;case"onScrollEnd":o!=null&&wt("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=a}}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}a=ko(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);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(a,""+o):t.removeAttribute(a);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(a,""):t.removeAttribute(a);break;case"capture":case"download":o===!0?t.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(a,o):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(a,o):t.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(a):t.setAttribute(a,o);break;case"popover":wt("beforetoggle",t),wt("toggle",t),Vo(t,"popover",o);break;case"xlinkActuate":En(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":En(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":En(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":En(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":En(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":En(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":En(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":En(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":En(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Vo(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=GS.get(a)||a,Vo(t,a,o))}}function Yu(t,n,a,o,c,d){switch(a){case"style":Qh(t,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=a}}break;
vendor: 9,051 bytes, line 9
9case"children":typeof o=="string"?ha(t,o):(typeof o=="number"||typeof o=="bigint")&&ha(t,""+o);break;case"onScroll":o!=null&&wt("scroll",t);break;case"onScrollEnd":o!=null&&wt("scrollend",t);break;case"onClick":o!=null&&(t.onclick=An);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Uh.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),n=a.slice(2,c?a.length-7:void 0),d=t[ve]||null,d=d!=null?d[a]:null,typeof d=="function"&&t.removeEventListener(n,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(n,o,c);break t}a in t?t[a]=o:o===!0?t.setAttribute(a,""):Vo(t,a,o)}}}function ue(t,n,a){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":wt("error",t),wt("load",t);var o=!1,c=!1,d;for(d in a)if(a.hasOwnProperty(d)){var g=a[d];if(g!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_t(t,n,d,g,a,null)}}c&&_t(t,n,"srcSet",a.srcSet,a,null),o&&_t(t,n,"src",a.src,a,null);return;case"input":wt("invalid",t);var S=d=g=c=null,C=null,L=null;for(o in a)if(a.hasOwnProperty(o)){var F=a[o];if(F!=null)switch(o){case"name":c=F;break;case"type":g=F;break;case"checked":C=F;break;case"defaultChecked":L=F;break;case"value":d=F;break;case"defaultValue":S=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(137,n));break;default:_t(t,n,o,F,a,null)}}Gh(t,d,S,C,L,g,c,!1);return;case"select":wt("invalid",t),o=g=d=null;for(c in a)if(a.hasOwnProperty(c)&&(S=a[c],S!=null))switch(c){case"value":d=S;break;case"defaultValue":g=S;break;case"multiple":o=S;default:_t(t,n,c,S,a,null)}n=d,a=g,t.multiple=!!o,n!=null?da(t,!!o,n,!1):a!=null&&da(t,!!o,a,!0);return;case"textarea":wt("invalid",t),d=c=o=null;for(g in a)if(a.hasOwnProperty(g)&&(S=a[g],S!=null))switch(g){case"value":o=S;break;case"defaultValue":c=S;break;case"children":d=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(r(91));break;default:_t(t,n,g,S,a,null)}Yh(t,o,c,d);return;case"option":for(C in a)a.hasOwnProperty(C)&&(o=a[C],o!=null)&&(C==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":_t(t,n,C,o,a,null));return;case"dialog":wt("beforetoggle",t),wt("toggle",t),wt("cancel",t),wt("close",t);break;case"iframe":case"object":wt("load",t);break;case"video":case"audio":for(o=0;o<Fs.length;o++)wt(Fs[o],t);break;case"image":wt("error",t),wt("load",t);break;case"details":wt("toggle",t);break;case"embed":case"source":case"link":wt("error",t),wt("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(L in a)if(a.hasOwnProperty(L)&&(o=a[L],o!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_t(t,n,L,o,a,null)}return;default:if(ac(n)){for(F in a)a.hasOwnProperty(F)&&(o=a[F],o!==void 0&&Yu(t,n,F,o,a,void 0));return}}for(S in a)a.hasOwnProperty(S)&&(o=a[S],o!=null&&_t(t,n,S,o,a,null))}function pT(t,n,a,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,g=null,S=null,C=null,L=null,F=null;for(H in a){var K=a[H];if(a.hasOwnProperty(H)&&K!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":C=K;default:o.hasOwnProperty(H)||_t(t,n,H,null,o,K)}}for(var B in o){var H=o[B];if(K=a[B],o.hasOwnProperty(B)&&(H!=null||K!=null))switch(B){case"type":d=H;break;case"name":c=H;break;case"checked":L=H;break;case"defaultChecked":F=H;break;case"value":g=H;break;case"defaultValue":S=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,n));break;default:H!==K&&_t(t,n,B,H,o,K)}}nc(t,g,S,C,L,F,d,c);return;case"select":H=g=S=B=null;for(d in a)if(C=a[d],a.hasOwnProperty(d)&&C!=null)switch(d){case"value":break;case"multiple":H=C;default:o.hasOwnProperty(d)||_t(t,n,d,null,o,C)}for(c in o)if(d=o[c],C=a[c],o.hasOwnProperty(c)&&(d!=null||C!=null))switch(c){case"value":B=d;break;case"defaultValue":S=d;break;case"multiple":g=d;default:d!==C&&_t(t,n,c,d,o,C)}n=S,a=g,o=H,B!=null?da(t,!!a,B,!1):!!o!=!!a&&(n!=null?da(t,!!a,n,!0):da(t,!!a,a?[]:"",!1));return;case"textarea":H=B=null;for(S in a)if(c=a[S],a.hasOwnProperty(S)&&c!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:_t(t,n,S,null,o,c)}for(g in o)if(c=o[g],d=a[g],o.hasOwnProperty(g)&&(c!=null||d!=null))switch(g){case"value":B=c;break;case"defaultValue":H=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==d&&_t(t,n,g,c,o,d)}qh(t,B,H);return;case"option":for(var et in a)B=a[et],a.hasOwnProperty(et)&&B!=null&&!o.hasOwnProperty(et)&&(et==="selected"?t.selected=!1:_t(t,n,et,null,o,B));for(C in o)B=o[C],H=a[C],o.hasOwnProperty(C)&&B!==H&&(B!=null||H!=null)&&(C==="selected"?t.selected=B&&typeof B!="function"&&typeof B!="symbol":_t(t,n,C,B,o,H));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 ct in a)B=a[ct],a.hasOwnProperty(ct)&&B!=null&&!o.hasOwnProperty(ct)&&_t(t,n,ct,null,o,B);for(L in o)if(B=o[L],H=a[L],o.hasOwnProperty(L)&&B!==H&&(B!=null||H!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,n));break;default:_t(t,n,L,B,o,H)}return;default:if(ac(n)){for(var zt in a)B=a[zt],a.hasOwnProperty(zt)&&B!==void 0&&!o.hasOwnProperty(zt)&&Yu(t,n,zt,void 0,o,B);for(F in o)B=o[F],H=a[F],!o.hasOwnProperty(F)||B===H||B===void 0&&H===void 0||Yu(t,n,F,B,o,H);return}}for(var D in a)B=a[D],a.hasOwnProperty(D)&&B!=null&&!o.hasOwnProperty(D)&&_t(t,n,D,null,o,B);for(K in o)B=o[K],H=a[K],!o.hasOwnProperty(K)||B===H||B==null&&H==null||_t(t,n,K,B,o,H)}function Xy(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function yT(){if(typeof performance.getEntriesByType=="function"){for(var t=0,n=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var c=a[o],d=c.transferSize,g=c.initiatorType,S=c.duration;if(d&&S&&Xy(g)){for(g=0,S=c.responseEnd,o+=1;o<a.length;o++){var C=a[o],L=C.startTime;if(L>S)break;var F=C.transferSize,K=C.initiatorType;F&&Xy(K)&&(C=C.responseEnd,g+=F*(C<S?1:(S-L)/(C-L)))}if(--o,n+=8*(d+g)/(c.duration/1e3),t++,10<t)break}}if(0<t)return n/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Fu=null,Qu=null;function zr(t){return t.nodeType===9?t:t.ownerDocument}function Ky(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 Zy(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 Xu(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 Ku=null;function gT(){var t=window.event;return t&&t.type==="popstate"?t===Ku?!1:(Ku=t,!0):(Ku=null,!1)}var Iy=typeof setTimeout=="function"?setTimeout:void 0,vT=typeof clearTimeout=="function"?clearTimeout:void 0,$y=typeof Promise=="function"?Promise:void 0,bT=typeof queueMicrotask=="function"?queueMicrotask:typeof $y<"u"?function(t){return $y.resolve(null).then(t).catch(xT)}:Iy;function xT(t){setTimeout(function(){throw t})}function mi(t){return t==="head"}function Jy(t,n){var a=n,o=0;do{var c=a.nextSibling;if(t.removeChild(a),c&&c.nodeType===8)if(a=c.data,a==="/$"||a==="/&"){if(o===0){t.removeChild(c),Ya(n);return}o--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")o++;else if(a==="html")Xs(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,Xs(a);for(var d=a.firstChild;d;){var g=d.nextSibling,S=d.nodeName;d[fs]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&d.rel.toLowerCase()==="stylesheet"||a.removeChild(d),d=g}}else a==="body"&&Xs(t.ownerDocument.body);a=c}while(a);Ya(n)}function Wy(t,n){var a=t;t=0;do{var o=a.nextSibling;if(a.nodeType===1?n?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(n?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=o}while(a)}function Zu(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var a=n;switch(n=n.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Zu(a),tc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function ST(t,n,a,o){for(;t.nodeType===1;){var c=a;
vendor: 4,936 bytes, line 9
9if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[fs])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=Ze(t.nextSibling),t===null)break}return null}function wT(t,n,a){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Ze(t.nextSibling),t===null))return null;return t}function tg(t,n){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Ze(t.nextSibling),t===null))return null;return t}function Iu(t){return t.data==="$?"||t.data==="$~"}function $u(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function TT(t,n){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=n;else if(t.data!=="$?"||a.readyState!=="loading")n();else{var o=function(){n(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function Ze(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==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return t}var Ju=null;function eg(t){t=t.nextSibling;for(var n=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(n===0)return Ze(t.nextSibling);n--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||n++}t=t.nextSibling}return null}function ng(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(n===0)return t;n--}else a!=="/$"&&a!=="/&"||n++}t=t.previousSibling}return null}function ig(t,n,a){switch(n=zr(a),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 Xs(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);tc(t)}var Ie=new Map,ag=new Set;function Lr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Pn=Y.d;Y.d={f:ET,r:AT,D:CT,C:MT,L:RT,m:OT,X:DT,S:NT,M:jT};function ET(){var t=Pn.f(),n=Cr();return t||n}function AT(t){var n=ca(t);n!==null&&n.tag===5&&n.type==="form"?Sp(n):Pn.r(t)}var Pa=typeof document>"u"?null:document;function sg(t,n,a){var o=Pa;if(o&&typeof n=="string"&&n){var c=Ge(n);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),ag.has(c)||(ag.add(c),t={rel:t,crossOrigin:a,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),ue(n,"link",t),ie(n),o.head.appendChild(n)))}}function CT(t){Pn.D(t),sg("dns-prefetch",t,null)}function MT(t,n){Pn.C(t,n),sg("preconnect",t,n)}function RT(t,n,a){Pn.L(t,n,a);var o=Pa;if(o&&t&&n){var c='link[rel="preload"][as="'+Ge(n)+'"]';n==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+Ge(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+Ge(a.imageSizes)+'"]')):c+='[href="'+Ge(t)+'"]';var d=c;switch(n){case"style":d=Ga(t);break;case"script":d=qa(t)}Ie.has(d)||(t=v({rel:"preload",href:n==="image"&&a&&a.imageSrcSet?void 0:t,as:n},a),Ie.set(d,t),o.querySelector(c)!==null||n==="style"&&o.querySelector(Ks(d))||n==="script"&&o.querySelector(Zs(d))||(n=o.createElement("link"),ue(n,"link",t),ie(n),o.head.appendChild(n)))}}function OT(t,n){Pn.m(t,n);var a=Pa;if(a&&t){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Ge(o)+'"][href="'+Ge(t)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=qa(t)}if(!Ie.has(d)&&(t=v({rel:"modulepreload",href:t},n),Ie.set(d,t),a.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Zs(d)))return}o=a.createElement("link"),ue(o,"link",t),ie(o),a.head.appendChild(o)}}}function NT(t,n,a){Pn.S(t,n,a);var o=Pa;if(o&&t){var c=ua(o).hoistableStyles,d=Ga(t);n=n||"default";var g=c.get(d);if(!g){var S={loading:0,preload:null};if(g=o.querySelector(Ks(d)))S.loading=5;
vendor: 3,636 bytes, line 9
9else{t=v({rel:"stylesheet",href:t,"data-precedence":n},a),(a=Ie.get(d))&&Wu(t,a);var C=g=o.createElement("link");ie(C),ue(C,"link",t),C._p=new Promise(function(L,F){C.onload=L,C.onerror=F}),C.addEventListener("load",function(){S.loading|=1}),C.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Vr(g,n,o)}g={type:"stylesheet",instance:g,count:1,state:S},c.set(d,g)}}}function DT(t,n){Pn.X(t,n);var a=Pa;if(a&&t){var o=ua(a).hoistableScripts,c=qa(t),d=o.get(c);d||(d=a.querySelector(Zs(c)),d||(t=v({src:t,async:!0},n),(n=Ie.get(c))&&tf(t,n),d=a.createElement("script"),ie(d),ue(d,"link",t),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function jT(t,n){Pn.M(t,n);var a=Pa;if(a&&t){var o=ua(a).hoistableScripts,c=qa(t),d=o.get(c);d||(d=a.querySelector(Zs(c)),d||(t=v({src:t,async:!0,type:"module"},n),(n=Ie.get(c))&&tf(t,n),d=a.createElement("script"),ie(d),ue(d,"link",t),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function og(t,n,a,o){var c=(c=yt.current)?Lr(c):null;if(!c)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(n=Ga(a.href),a=ua(c).hoistableStyles,o=a.get(n),o||(o={type:"style",instance:null,count:0,state:null},a.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=Ga(a.href);var d=ua(c).hoistableStyles,g=d.get(t);if(g||(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(t,g),(d=c.querySelector(Ks(t)))&&!d._p&&(g.instance=d,g.state.loading=5),Ie.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ie.set(t,a),d||_T(c,t,a,g.state))),n&&o===null)throw Error(r(528,""));return g}if(n&&o!==null)throw Error(r(529,""));return null;case"script":return n=a.async,a=a.src,typeof a=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=qa(a),a=ua(c).hoistableScripts,o=a.get(n),o||(o={type:"script",instance:null,count:0,state:null},a.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function Ga(t){return'href="'+Ge(t)+'"'}function Ks(t){return'link[rel="stylesheet"]['+t+"]"}function rg(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function _T(t,n,a,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}),ue(n,"link",a),ie(n),t.head.appendChild(n))}function qa(t){return'[src="'+Ge(t)+'"]'}function Zs(t){return"script[async]"+t}function lg(t,n,a){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+Ge(a.href)+'"]');if(o)return n.instance=o,ie(o),o;var c=v({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),ie(o),ue(o,"style",c),Vr(o,a.precedence,t),n.instance=o;case"stylesheet":c=Ga(a.href);var d=t.querySelector(Ks(c));if(d)return n.state.loading|=4,n.instance=d,ie(d),d;o=rg(a),(c=Ie.get(c))&&Wu(o,c),d=(t.ownerDocument||t).createElement("link"),ie(d);var g=d;return g._p=new Promise(function(S,C){g.onload=S,g.onerror=C}),ue(d,"link",o),n.state.loading|=4,Vr(d,a.precedence,t),n.instance=d;case"script":return d=qa(a.src),(c=t.querySelector(Zs(d)))?(n.instance=c,ie(c),c):(o=a,(c=Ie.get(d))&&
vendor: 3,708 bytes, line 9
9(o=v({},a),tf(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),ie(c),ue(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,Vr(o,a.precedence,t));return n.instance}function Vr(t,n,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,g=0;g<o.length;g++){var S=o[g];if(S.dataset.precedence===n)d=S;else if(d!==c)break}d?d.parentNode.insertBefore(t,d.nextSibling):(n=a.nodeType===9?a.head:a,n.insertBefore(t,n.firstChild))}function Wu(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function tf(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var Ur=null;function cg(t,n,a){if(Ur===null){var o=new Map,c=Ur=new Map;c.set(a,o)}else c=Ur,o=c.get(a),o||(o=new Map,c.set(a,o));if(o.has(t))return o;for(o.set(t,null),a=a.getElementsByTagName(t),c=0;c<a.length;c++){var d=a[c];if(!(d[fs]||d[oe]||t==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(n)||"";g=t+g;var S=o.get(g);S?S.push(d):o.set(g,[d])}}return o}function ug(t,n,a){t=t.ownerDocument||t,t.head.insertBefore(a,n==="title"?t.querySelector("head > title"):null)}function zT(t,n,a){if(a===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 fg(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function LT(t,n,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var c=Ga(o.href),d=n.querySelector(Ks(c));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=Br.bind(t),n.then(t,t)),a.state.loading|=4,a.instance=d,ie(d);return}d=n.ownerDocument||n,o=rg(o),(c=Ie.get(c))&&Wu(o,c),d=d.createElement("link"),ie(d);var g=d;g._p=new Promise(function(S,C){g.onload=S,g.onerror=C}),ue(d,"link",o),a.instance=d}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,n),(n=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=Br.bind(t),n.addEventListener("load",a),n.addEventListener("error",a))}}var ef=0;function VT(t,n){return t.stylesheets&&t.count===0&&Hr(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var o=setTimeout(function(){if(t.stylesheets&&Hr(t,t.stylesheets),t.unsuspend){var d=t.unsuspend;t.unsuspend=null,d()}},6e4+n);0<t.imgBytes&&ef===0&&(ef=62500*yT());var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Hr(t,t.stylesheets),t.unsuspend)){var d=t.unsuspend;t.unsuspend=null,d()}},(t.imgBytes>ef?50:800)+n);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function Br(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Hr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var kr=null;function Hr(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,kr=new Map,n.forEac
vendor: 4,875 bytes, line 9
9h(UT,t),kr=null,Br.call(t))}function UT(t,n){if(!(n.state.loading&4)){var a=kr.get(t);if(a)var o=a.get(null);else{a=new Map,kr.set(t,a);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var g=c[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(a.set(g.dataset.precedence,g),o=g)}o&&a.set(null,o)}c=n.instance,g=c.getAttribute("data-precedence"),d=a.get(g)||o,d===o&&a.set(null,c),a.set(g,c),this.count++,o=Br.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 Is={$$typeof:j,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function BT(t,n,a,o,c,d,g,S,C){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=Il(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Il(0),this.hiddenUpdates=Il(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function dg(t,n,a,o,c,d,g,S,C,L,F,K){return t=new BT(t,n,a,g,C,L,F,K,S),n=1,d===!0&&(n|=24),d=De(3,null,null,n),t.current=d,d.stateNode=t,n=zc(),n.refCount++,t.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:a,cache:n},Bc(d),t}function hg(t){return t?(t=xa,t):xa}function mg(t,n,a,o,c,d){c=hg(c),o.context===null?o.context=c:o.pendingContext=c,o=ii(n),o.payload={element:a},d=d===void 0?null:d,d!==null&&(o.callback=d),a=ai(t,o,n),a!==null&&(Ee(a,t,n),Rs(a,t,n))}function pg(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<n?a:n}}function nf(t,n){pg(t,n),(t=t.alternate)&&pg(t,n)}function yg(t){if(t.tag===13||t.tag===31){var n=ki(t,67108864);n!==null&&Ee(n,t,67108864),nf(t,67108864)}}function gg(t){if(t.tag===13||t.tag===31){var n=Ve();n=$l(n);var a=ki(t,n);a!==null&&Ee(a,t,n),nf(t,n)}}var Pr=!0;function kT(t,n,a,o){var c=_.T;_.T=null;var d=Y.p;try{Y.p=2,af(t,n,a,o)}finally{Y.p=d,_.T=c}}function HT(t,n,a,o){var c=_.T;_.T=null;var d=Y.p;try{Y.p=8,af(t,n,a,o)}finally{Y.p=d,_.T=c}}function af(t,n,a,o){if(Pr){var c=sf(o);if(c===null)qu(t,n,o,Gr,a),bg(t,o);else if(GT(c,t,n,a,o))o.stopPropagation();else if(bg(t,o),n&4&&-1<PT.indexOf(t)){for(;c!==null;){var d=ca(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=zi(d.pendingLanes);if(g!==0){var S=d;for(S.pendingLanes|=2,S.entangledLanes|=2;g;){var C=1<<31-Oe(g);S.entanglements[1]|=C,g&=~C}gn(d),(Rt&6)===0&&(Er=Me()+500,Ys(0))}}break;case 31:case 13:S=ki(d,2),S!==null&&Ee(S,d,2),Cr(),nf(d,2)}if(d=sf(o),d===null&&qu(t,n,o,Gr,a),d===c)break;c=d}c!==null&&o.stopPropagation()}else qu(t,n,o,null,a)}}function sf(t){return t=oc(t),of(t)}var Gr=null;function of(t){if(Gr=null,t=la(t),t!==null){var n=u(t);if(n===null)t=null;else{var a=n.tag;if(a===13){if(t=f(n),t!==null)return t;t=null}else if(a===31){if(t=m(n),t!==null)return t;t=null}else if(a===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return Gr=t,null}function vg(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(CS()){case Ch:return 2;case Mh:return 8;case Do:case MS:return 32;case Rh:return 268435456;default:return 32}default:return 32}}var rf=!1,pi=null,yi=null,gi=null,$s=new Map,Js=new Map,vi=[],PT="mou
9sedown 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 bg(t,n){switch(t){case"focusin":case"focusout":pi=null;break;case"dragenter":case"dragleave":yi=null;break;case"mouseover":case"mouseout":gi=null;break;case"pointerover":case"pointerout":$s.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Js.delete(n.pointerId)}}function Ws(t,n,a,o,c,d){return t===null||t.nativeEvent!==d?(t={blockedOn:n,domEventName:a,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=ca(n),n!==null&&yg(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),t)}function GT(t,n,a,o,c){switch(n){case"focusin":return pi=Ws(pi,t,n,a,o,c),!0;case"dragenter":return yi=Ws(yi,t,n,a,o,c),!0;case"mouseover":return gi=Ws(gi,t,n,a,o,c),!0;case"pointerover":var d=c.pointerId;return $s.set(d,Ws($s.get(d)||null,t,n,a,o,c)),!0;case"gotpointercapture":return d=c.pointerId,Js.set(d,Ws(Js.get(d)||null,t,n,a,o,c)),!0}return!1}function xg(t){var n=la(t.target);if(n!==null){var a=u(n);if(a!==null){if(n=a.tag,n===13){if(n=f(a),n!==null){t.blockedOn=n,zh(t.priority,function(){gg(a)});return}}else if(n===31){if(n=m(a),n!==null){t.blockedOn=n,zh(t.priority,function(){gg(a)});return}}else if(n===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function qr(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var a=sf(t.nativeEvent);if(a===null){a=t.nativeEvent;var o=new a.constructor(a.type,a);sc=o,a.target.dispatchEvent(o),sc=null}else return n=ca(a),n!==null&&yg(n),t.blockedOn=a,!1;n.shift()}return!0}function Sg(t,n,a){qr(t)&&a.delete(n)}function qT(){rf=!1,pi!==null&&qr(pi)&&(pi=null),yi!==null&&qr(yi)&&(yi=null),gi!==null&&qr(gi)&&(gi=null),$s.forEach(Sg),Js.forEac
vendor: 4,377 bytes, line 9
9h(Sg)}function Yr(t,n){t.blockedOn===n&&(t.blockedOn=null,rf||(rf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,qT)))}var Fr=null;function wg(t){Fr!==t&&(Fr=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Fr===t&&(Fr=null);for(var n=0;n<t.length;n+=3){var a=t[n],o=t[n+1],c=t[n+2];if(typeof o!="function"){if(of(o||a)===null)continue;break}var d=ca(a);d!==null&&(t.splice(n,3),n-=3,au(d,{pending:!0,data:c,method:a.method,action:o},o,c))}}))}function Ya(t){function n(C){return Yr(C,t)}pi!==null&&Yr(pi,t),yi!==null&&Yr(yi,t),gi!==null&&Yr(gi,t),$s.forEach(n),Js.forEach(n);for(var a=0;a<vi.length;a++){var o=vi[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<vi.length&&(a=vi[0],a.blockedOn===null);)xg(a),a.blockedOn===null&&vi.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var c=a[o],d=a[o+1],g=c[ve]||null;if(typeof d=="function")g||wg(a);else if(g){var S=null;if(d&&d.hasAttribute("formAction")){if(c=d,g=d[ve]||null)S=g.formAction;else if(of(c)!==null)continue}else S=g.action;typeof S=="function"?a[o+1]=S:(a.splice(o,3),o-=3),wg(a)}}}function Tg(){function t(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function lf(t){this._internalRoot=t}Qr.prototype.render=lf.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(r(409));var a=n.current,o=Ve();mg(a,o,t,n,null,null)},Qr.prototype.unmount=lf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;mg(t.current,2,null,t,null,null),Cr(),n[ra]=null}};function Qr(t){this._internalRoot=t}Qr.prototype.unstable_scheduleHydration=function(t){if(t){var n=_h();t={blockedOn:null,target:t,priority:n};for(var a=0;a<vi.length&&n!==0&&n<vi[a].priority;a++);vi.splice(a,0,t),a===0&&xg(t)}};var Eg=i.version;if(Eg!=="19.2.3")throw Error(r(527,Eg,"19.2.3"));Y.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=h(n),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var YT={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xr.isDisabled&&Xr.supportsFiber)try{ls=Xr.inject(YT),Re=Xr}catch{}}return eo.createRoot=function(t,n){if(!l(t))throw Error(r(299));var a=!1,o="",c=Dp,d=jp,g=_p;return n!=null&&(n.unstable_strictMode===!0&&(a=!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&&(g=n.onRecoverableError)),n=dg(t,1,!1,null,null,a,o,null,c,d,g,Tg),t[ra]=n.current,Gu(t),new lf(n)},eo.hydrateRoot=function(t,n,a){if(!l(t))throw Error(r(299));var o=!1,c="",d=Dp,g=jp,S=_p,C=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(S=a.onRecoverableError),a.formState!==void 0&&(C=a.formState)),n=dg(t,1,!0,n,a??null,o,c,C,d,g,S,Tg),n.context=hg(null),a=n.current,o=Ve(),o=$l(o),c=ii(o),c.callback=null,ai(a,c,o),a=o,n.current.lanes=a,us(n,a),gn(n),t[ra]=n.current,Gu(t),new Qr(n)},eo.version="19.2.3",eo}var zg;function tE(){if(zg)return uf.exports;zg=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(),uf.exports=WT(),uf.exports}var eE=tE();function nE(e,i){if(e instanceof RegExp)return{keys:!1,pattern:e};var s,r,l,u,f=[],m="",p=e.split("/");for(p[0]||p.shift();l=p.shift();)s=l[0],s==="*"?(f.push(s),m+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):s===":"?(r=l.indexOf("?",1),u=l.indexOf(".",1),f.push(l.substring(1,~r?r:~u?u:l.length)),m+=~r&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(m+=(~r?"?":"")+"\\"+l.substring(u))):m+="/"+l;return{keys:f,pattern:new RegExp("^"+m+(i?"(?=$|/)":"/?$"),"i")}}var w=Ml();const Si=F0(w),X0=QT({__proto__:null,default:Si},[w]);var pf={exports:{}},yf={};var Lg;function iE(){if(Lg)return yf;Lg=1;var e=Ml();function i(v,x){return v===x&&(v!==0||1/v===1/x)||v!==v&&x!==x}var s=typeof Object.is=="function"?Object.is:i,r=e.useState,l=e.useEffect,u=e.useLayoutEffect,f=e.useDebugValue;function m(v,x){var T=x(),A=r({inst:{value:T,getSnapshot:x}}),E=A[0].inst,M=A[1];return u(function(){E.value=T,E.getSnapshot=x,p(E)&&M({inst:E})},[v,T,x]),l(function(){return p(E)&&M({inst:E}),v(function(){p(E)&&M({inst:E})})},[v]),f(T),T}function p(v){var x=v.getSnapshot;v=v.value;try{var T=x();return!s(v,T)}catch{return!0}}function h(v,x){return x()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:m;return yf.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,yf}var Vg;function aE(){return Vg||(Vg=1,pf.exports=iE()),pf.exports}var sE=aE();const oE=X0.useInsertionEffect,rE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",lE=rE?w.useLayoutEffect:w.useEffect,cE=oE||lE,K0=e=>{const i=w.useRef([e,(...s)=>i[0](...s)]).current;return cE(()=>{i[0]=e}),i[1]},uE="popstate",Ed="pushState",Ad="replaceState",fE="hashchange",Ug=[uE,Ed,Ad,fE],dE=e=>{for(const i of Ug)addEventListener(i,e);return()=>{for(const i of Ug)removeEventListener(i,e)}},Z0=(e,i)=>sE.useSyncExternalStore(dE,e,i),Bg=()=>location.search,hE=({ssrSearch:e}={})=>Z0(Bg,e!=null?()=>e:Bg),kg=()=>location.pathname,mE=({ssrPath:e}={})=>Z0(kg,e!=null?()=>e:kg),pE=(e,{replace:i=!1,state:s=null}={})=>history[i?Ad:Ed](s,"",e),yE=(e={})=>[mE(e),pE],Hg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Hg]>"u"){for(const e of[Ed,Ad]){const i=history[e];history[e]=function(){const s=i.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),s}}Object.defineProperty(window,Hg,{value:!0})}const gE=(e,i)=>i.toLowerCase().indexOf(e.toLowerCase())?"~"+i:i.slice(e.length)||"/",I0=(e="")=>e==="/"?"":e,vE=(e,i)=>e[0]==="~"?e.slice(1):I0(i)+e,bE=(e="",i)=>gE(Pg(I0(e)),Pg(i)),Pg=e=>{try{return decodeURI(e)}catch{return e}},$0={hook:yE,searchHook:hE,parser:nE,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,i,s)=>e(i,s)},J0=w.createContext($0),So=()=>w.useContext(J0),W0={},tb=w.createContext(W0),xE=()=>w.useContext(tb),Rl=e=>{const[i,s]=e.hook(e);return[bE(e.base,i),K0((r,l)=>e.aroundNav(s,vE(r,e.base),l))]},Ol=()=>Rl(So()),eb=(e,i,s,r)=>{const{pattern:l,keys:u}=i instanceof RegExp?{keys:!1,pattern:i}:e(i||"*",r),f=l.exec(s)||[],[m,...p]=f;return m!==void 0?[!0,(()=>{const h=u!==!1?Object.fromEntries(u.map((v,x)=>[v,p[x]])):f.groups;let y={...p};return h&&Object.assign(y,h),y})(),...r?[m]:[]]:[!1,null]},SE=({children:e,...i})=>{const s=So(),r=i.hook?$0:s;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 m=w.useRef({}),p=m.current,h=p;for(let y in r){const v=y==="base"?r[y]+(i[y]??""):i[y]??r[y];p===h&&v!==h[y]&&(m.current=h={...h}),h[y]=v,(v!==r[y]||v!==l[y])&&(l=h)}return w.createElement(J0.Provider,{value:l,children:e})},Gg=({children:e,component:i},s)=>i?w.createElement(i,{params:s}):typeof e=="function"?e(s):e,wE=e=>{let i=w.useRef(W0);const s=i.current;return i.current=Object.keys(e).length!==Object.keys(s).length||Object.entries(e).some(([r,l])=>l!==s[r])?e:s},se=({path:e,nest:i,match:s,...r})=>{const l=So(),[u]=Rl(l),[f,m,p]=s??eb(l.parser,e,u,i),h=wE({...xE(),...m});if(!f)return null;const y=p?w.createElement(SE,{base:p},Gg(r,h)):Gg(r,h);return w.createElement(tb.Provider,{value:h,children:y})},Yn=w.forwardRef((e,i)=>{const s=So(),[r,l]=Rl(s),{to:u="",href:f=u,onClick:m,asChild:p,children:h,className:y,replace:v,state:x,transition:T,...A}=e,E=K0(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(m?.(N),N.defaultPrevented||(N.preventDefault(),l(f,e)))}),M=s.hrefs(f[0]==="~"?f.slice(1):s.base+f,s);return p&&w.isValidElement(h)?w.cloneElement(h,{onClick:E,href:M}):w.createElement("a",{...A,onClick:E,href:M,className:y?.call?y(r===f):y,children:h,ref:i})}),nb=e=>Array.isArray(e)?e.flatMap(i=>nb(i&&i.type===w.Fragment?i.props.children:i)):[e],TE=({children:e,location:i})=>{const s=So(),[r]=Rl(s);for(const l of nb(e)){let u=0;if(w.isValidElement(l)&&(u=eb(s.parser,l.props.path,i||r,l.props.nest))[0])return w.cloneElement(l,{match:u})}return null};var wo=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(){}},EE={setTimeout:(e,i)=>
vendor: 29,845 bytes, line 9
9setTimeout(e,i),clearTimeout:e=>clearTimeout(e),setInterval:(e,i)=>setInterval(e,i),clearInterval:e=>clearInterval(e)},AE=class{#t=EE;#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)}},ea=new AE;function CE(e){setTimeout(e,0)}var sa=typeof window>"u"||"Deno"in globalThis;function Ae(){}function ME(e,i){return typeof e=="function"?e(i):e}function Hf(e){return typeof e=="number"&&e>=0&&e!==1/0}function ib(e,i){return Math.max(e+(i||0)-Date.now(),0)}function Ei(e,i){return typeof e=="function"?e(i):e}function Je(e,i){return typeof e=="function"?e(i):e}function qg(e,i){const{type:s="all",exact:r,fetchStatus:l,predicate:u,queryKey:f,stale:m}=e;if(f){if(r){if(i.queryHash!==Cd(f,i.options))return!1}else if(!ho(i.queryKey,f))return!1}if(s!=="all"){const p=i.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof m=="boolean"&&i.isStale()!==m||l&&l!==i.state.fetchStatus||u&&!u(i))}function Yg(e,i){const{exact:s,status:r,predicate:l,mutationKey:u}=e;if(u){if(!i.options.mutationKey)return!1;if(s){if(fo(i.options.mutationKey)!==fo(u))return!1}else if(!ho(i.options.mutationKey,u))return!1}return!(r&&i.state.status!==r||l&&!l(i))}function Cd(e,i){return(i?.queryKeyHashFn||fo)(e)}function fo(e){return JSON.stringify(e,(i,s)=>Gf(s)?Object.keys(s).sort().reduce((r,l)=>(r[l]=s[l],r),{}):s)}function ho(e,i){return e===i?!0:typeof e!=typeof i?!1:e&&i&&typeof e=="object"&&typeof i=="object"?Object.keys(i).every(s=>ho(e[s],i[s])):!1}var RE=Object.prototype.hasOwnProperty;function ab(e,i,s=0){if(e===i)return e;if(s>500)return i;const r=Fg(e)&&Fg(i);if(!r&&!(Gf(e)&&Gf(i)))return i;const u=(r?e:Object.keys(e)).length,f=r?i:Object.keys(i),m=f.length,p=r?new Array(m):{};let h=0;for(let y=0;y<m;y++){const v=r?y:f[y],x=e[v],T=i[v];if(x===T){p[v]=x,(r?y<u:RE.call(e,v))&&h++;continue}if(x===null||T===null||typeof x!="object"||typeof T!="object"){p[v]=T;continue}const A=ab(x,T,s+1);p[v]=A,A===x&&h++}return u===m&&h===u?e:p}function Pf(e,i){if(!i||Object.keys(e).length!==Object.keys(i).length)return!1;for(const s in e)if(e[s]!==i[s])return!1;return!0}function Fg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Gf(e){if(!Qg(e))return!1;const i=e.constructor;if(i===void 0)return!0;const s=i.prototype;return!(!Qg(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Qg(e){return Object.prototype.toString.call(e)==="[object Object]"}function OE(e){return new Promise(i=>{ea.setTimeout(i,e)})}function qf(e,i,s){return typeof s.structuralSharing=="function"?s.structuralSharing(e,i):s.structuralSharing!==!1?ab(e,i):i}function NE(e,i,s=0){const r=[...e,i];return s&&r.length>s?r.slice(1):r}function DE(e,i,s=0){const r=[i,...e];return s&&r.length>s?r.slice(0,-1):r}var Md=Symbol();function sb(e,i){return!e.queryFn&&i?.initialPromise?()=>i.initialPromise:!e.queryFn||e.queryFn===Md?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function ob(e,i){return typeof e=="function"?e(...i):!!e}function jE(e,i,s){let r=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??=i(),r||(r=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),e}var _E=class extends wo{#t;#e;#n;constructor(){super(),this.#n=e=>{if(!sa&&window.addEventListener){const i=()=>e();return window.addEventListener("visibilitychange",i,!1),()=>{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"}},Rd=new _E;function Yf(){let e,i;const s=new Promise((l,u)=>{e=l,i=u});s.status="pending",s.catch(()=>{});function r(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},s.reject=l=>{r({status:"rejected",reason:l}),i(l)},s}var zE=CE;function LE(){let e=[],i=0,s=m=>{m()},r=m=>{m()},l=zE;const u=m=>{i?e.push(m):l(()=>{s(m)})},f=()=>{const m=e;e=[],m.length&&l(()=>{r(()=>{m.forEach(p=>{s(p)})})})};return{batch:m=>{let p;i++;try{p=m()}finally{i--,i||f()}return p},batchCalls:m=>(...p)=>{u(()=>{m(...p)})},schedule:u,setNotifyFunction:m=>{s=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{l=m}}}var de=LE(),VE=class extends wo{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!sa&&window.addEventListener){const i=()=>e(!0),s=()=>e(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}}}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(s=>{s(e)}))}isOnline(){return this.#t}},hl=new VE;function UE(e){return Math.min(1e3*2**e,3e4)}function rb(e){return(e??"online")==="online"?hl.isOnline():!0}var Ff=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function lb(e){let i=!1,s=0,r;const l=Yf(),u=()=>l.status!=="pending",f=E=>{if(!u()){const M=new Ff(E);x(M),e.onCancel?.(M)}},m=()=>{i=!0},p=()=>{i=!1},h=()=>Rd.isFocused()&&(e.networkMode==="always"||hl.isOnline())&&e.canRun(),y=()=>rb(e.networkMode)&&e.canRun(),v=E=>{u()||(r?.(),l.resolve(E))},x=E=>{u()||(r?.(),l.reject(E))},T=()=>new Promise(E=>{r=M=>{(u()||h())&&E(M)},e.onPause?.()}).then(()=>{r=void 0,u()||e.onContinue?.()}),A=()=>{if(u())return;let E;const M=s===0?e.initialPromise:void 0;try{E=M??e.fn()}catch(N){E=Promise.reject(N)}Promise.resolve(E).then(v).catch(N=>{if(u())return;const V=e.retry??(sa?0:3),j=e.retryDelay??UE,q=typeof j=="function"?j(s,N):j,P=V===!0||typeof V=="number"&&s<V||typeof V=="function"&&V(s,N);if(i||!P){x(N);return}s++,e.onFail?.(s,N),OE(q).then(()=>h()?void 0:T()).then(()=>{i?x(N):A()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(r?.(),l),cancelRetry:m,continueRetry:p,canStart:y,start:()=>(y()?A():T().then(A),l)}}var cb=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Hf(this.gcTime)&&(this.#t=ea.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(sa?1/0:300*1e3))}clearGcTimeout(){this.#t&&(ea.clearTimeout(this.#t),this.#t=void 0)}},BE=class extends cb{#t;#e;#n;#a;#i;#r;#o;constructor(e){super(),this.#o=!1,this.#r=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#n=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Kg(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#r,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Kg(this.options);i.data!==void 0&&(this.setState(Xg(i.data,i.dataUpdatedAt)),this.#t=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,i){const s=qf(this.state.data,e,this.options);return this.#s({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(e,i){this.#s({type:"setState",state:e,setStateOptions:i})}cancel(e){const i=this.#i?.promise;return this.#i?.cancel(e),i?i.then(Ae).catch(Ae):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>Je(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Md||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ei(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:!ib(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.#n.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.#o?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({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 m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const s=new AbortController,r=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#o=!0,s.signal)})},l=()=>{const m=sb(this.options,i),h=(()=>{const y={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(y),y})();return this.#o=!1,this.options.persister?this.options.persister(m,h,this):m(h)},f=(()=>{const m={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:l};return r(m),m})();this.options.behavior?.onFetch(f,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#s({type:"fetch",meta:f.fetchOptions?.meta}),this.#i=lb({initialPromise:i?.initialPromise,fn:f.fetchFn,onCancel:m=>{m instanceof Ff&&m.revert&&this.setState({...this.#e,fetchStatus:"idle"}),s.abort()},onFail:(m,p)=>{this.#s({type:"failed",failureCount:m,error:p})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const m=await this.#i.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#n.config.onSuccess?.(m,this),this.#n.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof Ff){if(m.silent)return this.#i.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#s({type:"error",error:m}),this.#n.config.onError?.(m,this),this.#n.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#s(e){const i=s=>{switch(e.type){case"failed":return{...s,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...ub(s.data,this.options),fetchMeta:e.meta??null};case"success":const r={...s,...Xg(e.data,e.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?r:void 0,r;case"error":const l=e.error;return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...e.state}}};this.state=i(this.state),de.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function ub(e,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:rb(i.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Xg(e,i){return{data:e,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Kg(e){const i=typeof e.initialData=="function"?e.initialData():e.initialData,s=i!==void 0,r=s?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var kE=class extends wo{constructor(e,i){super(),this.options=i,this.#t=e,this.#s=null,this.#o=Yf(),this.bindMethods(),this.setOptions(i)}#t;#e=void 0;#n=void 0;#a=void 0;#i;#r;#o;#s;#p;#d;#h;#c;#u;#l;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),Zg(this.#e,this.options)?this.#f():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Qf(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Qf(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#S(),this.#e.removeObserver(this)}setOptions(e){const i=this.options,s=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Je(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#e.setOptions(this.options),i._defaulted&&!Pf(this.options,i)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&Ig(this.#e,s,this.options,i)&&this.#f(),this.updateResult(),r&&(this.#e!==s||Je(this.options.enabled,this.#e)!==Je(i.enabled,this.#e)||Ei(this.options.staleTime,this.#e)!==Ei(i.staleTime,this.#e))&&this.#y();const l=this.#g();r&&(this.#e!==s||Je(this.options.enabled,this.#e)!==Je(i.enabled,this.#e)||l!==this.#l)&&this.#v(l)}getOptimisticResult(e){const i=this.#t.getQueryCache().build(this.#t,e),s=this.createResult(i,e);return PE(this,s)&&(this.#a=s,this.#r=this.options,this.#i=this.#e.state),s}getCurrentResult(){return this.#a}trackResult(e,i){return new Proxy(e,{get:(s,r)=>(this.trackProp(r),i?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,r))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const i=this.#t.defaultQueryOptions(e),s=this.#t.getQueryCache().build(this.#t,i);return s.fetch().then(()=>this.createResult(s,i))}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#f(e){this.#w();let i=this.#e.fetch(this.options,e);return e?.throwOnError||(i=i.catch(Ae)),i}#y(){this.#x();const e=Ei(this.options.staleTime,this.#e);if(sa||this.#a.isStale||!Hf(e))return;const s=ib(this.#a.dataUpdatedAt,e)+1;this.#c=ea.setTimeout(()=>{this.#a.isStale||this.updateResult()},s)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(e){this.#S(),this.#l=e,!(sa||Je(this.options.enabled,this.#e)===!1||!Hf(this.#l)||this.#l===0)&&(this.#u=ea.setInterval(()=>{(this.options.refetchIntervalInBackground||Rd.isFocused())&&this.#f()},this.#l))}#b(){this.#y(),this.#v(this.#g())}#x(){this.#c&&(ea.clearTimeout(this.#c),this.#c=void 0)}#S(){this.#u&&(ea.clearInterval(this.#u),this.#u=void 0)}createResult(e,i){const s=this.#e,r=this.options,l=this.#a,u=this.#i,f=this.#r,p=e!==s?e.state:this.#n,{state:h}=e;let y={...h},v=!1,x;if(i._optimisticResults){const U=this.hasListeners(),J=!U&&Zg(e,i),ot=U&&Ig(e,s,i,r);(J||ot)&&(y={...y,...ub(h.data,e.options)}),i._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:T,errorUpdatedAt:A,status:E}=y;x=y.data;let M=!1;if(i.placeholderData!==void 0&&x===void 0&&E==="pending"){let U;l?.isPlaceholderData&&i.placeholderData===f?.placeholderData?(U=l.data,M=!0):U=typeof i.placeholderData=="function"?i.placeholderData(this.#h?.state.data,this.#h):i.placeholderData,U!==void 0&&(E="success",x=qf(l?.data,U,i),v=!0)}if(i.select&&x!==void 0&&!M)if(l&&x===u?.data&&i.select===this.#p)x=this.#d;else try{this.#p=i.select,x=i.select(x),x=qf(l?.data,x,i),this.#d=x,this.#s=null}catch(U){this.#s=U}this.#s&&(T=this.#s,x=this.#d,A=Date.now(),E="error");const N=y.fetchStatus==="fetching",V=E==="pending",j=E==="error",q=V&&N,P=x!==void 0,G={status:E,fetchStatus:y.fetchStatus,isPending:V,isSuccess:E==="success",isError:j,isInitialLoading:q,isLoading:q,data:x,dataUpdatedAt:y.dataUpdatedAt,error:T,errorUpdatedAt:A,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>p.dataUpdateCount||y.errorUpdateCount>p.errorUpdateCount,isFetching:N,isRefetching:N&&!V,isLoadingError:j&&!P,isPaused:y.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:j&&P,isStale:Od(e,i),refetch:this.refetch,promise:this.#o,isEnabled:Je(i.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const U=G.data!==void 0,J=G.status==="error"&&!U,ot=bt=>{J?bt.reject(G.error):U&&bt.resolve(G.data)},ut=()=>{const bt=this.#o=G.promise=Yf();ot(bt)},ft=this.#o;switch(ft.status){case"pending":e.queryHash===s.queryHash&&ot(ft);break;case"fulfilled":(J||G.data!==ft.value)&&ut();break;case"rejected":(!J||G.error!==ft.reason)&&ut();break}}return G}updateResult(){const e=this.#a,i=this.createResult(this.#e,this.options);if(this.#i=this.#e.state,this.#r=this.options,this.#i.data!==void 0&&(this.#h=this.#e),Pf(i,e))return;this.#a=i;const s=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,l=typeof r=="function"?r():r;if(l==="all"||!l&&!this.#m.size)return!0;const u=new Set(l??this.#m);return this.options.throwOnError&&u.add("error"),Object.keys(this.#a).some(f=>{const m=f;return this.#a[m]!==e[m]&&u.has(m)})};this.#T({listeners:s()})}#w(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const i=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(i?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#T(e){de.batch(()=>{e.listeners&&this.listeners.forEach(i=>{i(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function HE(e,i){return Je(i.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&i.retryOnMount===!1)}function Zg(e,i){return HE(e,i)||e.state.data!==void 0&&Qf(e,i,i.refetchOnMount)}function Qf(e,i,s){if(Je(i.enabled,e)!==!1&&Ei(i.staleTime,e)!=="static"){const r=typeof s=="function"?s(e):s;return r==="always"||r!==!1&&Od(e,i)}return!1}function Ig(e,i,s,r){return(e!==i||Je(r.enabled,e)===!1)&&(!s.suspense||e.state.status!=="error")&&Od(e,s)}function Od(e,i){return Je(i.enabled,e)!==!1&&e.isStaleByTime(Ei(i.staleTime,e))}function PE(e,i){return!Pf(e.getCurrentResult(),i)}function $g(e){return{onFetch:(i,s)=>{const r=i.options,l=i.fetchOptions?.meta?.fetchMore?.direction,u=i.state.data?.pages||[],f=i.state.data?.pageParams||[];let m={pages:[],pageParams:[]},p=0;const h=async()=>{let y=!1;const v=A=>{jE(A,()=>i.signal,()=>y=!0)},x=sb(i.options,i.fetchOptions),T=async(A,E,M)=>{if(y)return Promise.reject();if(E==null&&A.pages.length)return Promise.resolve(A);const V=(()=>{const Z={client:i.client,queryKey:i.queryKey,pageParam:E,direction:M?"backward":"forward",meta:i.options.meta};return v(Z),Z})(),j=await x(V),{maxPages:q}=i.options,P=M?DE:NE;return{pages:P(A.pages,j,q),pageParams:P(A.pageParams,E,q)}};if(l&&u.length){const A=l==="backward",E=A?GE:Jg,M={pages:u,pageParams:f},N=E(r,M);m=await T(M,N,A)}else{const A=e??u.length;do{const E=p===0?f[0]??r.initialPageParam:Jg(r,m);if(p>0&&E==null)break;m=await T(m,E),p++}while(p<A)}return m};i.options.persister?i.fetchFn=()=>i.options.persister?.(h,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=h}}}function Jg(e,{pages:i,pageParams:s}){const r=i.length-1;return i.length>0?e.getNextPageParam(i[r],i,s[r],s):void 0}function GE(e,{pages:i,pageParams:s}){return i.length>0?e.getPreviousPageParam?.(i[0],i,s[0],s):void 0}var qE=class extends cb{#t;#e;#n;#a;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||YE(),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.#a?.continue()??this.execute(this.state.variables)}async execute(e){const i=()=>{this.#i({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=lb({fn:()=>this.options.mutationFn?this.options.mutationFn(e,s):Promise.reject(new Error("No mutationFn found")),onFail:(u,f)=>{this.#i({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#i({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.#a.canStart();try{if(r)i();else{this.#i({type:"pending",variables:e,isPaused:l}),await this.#n.config.onMutate?.(e,this,s);const f=await this.options.onMutate?.(e,s);f!==this.state.context&&this.#i({type:"pending",context:f,variables:e,isPaused:l})}const u=await this.#a.start();return await this.#n.config.onSuccess?.(u,e,this.state.context,this,s),await this.options.onSuccess?.(u,e,this.state.context,s),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(u,null,e,this.state.context,s),this.#i({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,e,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onError?.(u,e,this.state.context,s)}catch(f){Promise.reject(f)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onSettled?.(void 0,u,e,this.state.context,s)}catch(f){Promise.reject(f)}throw this.#i({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#i(e){const i=s=>{switch(e.type){case"failed":return{...s,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,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{...s,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:e.error,failureCount:s.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=i(this.state),de.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function YE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var FE=class extends wo{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,i,s){const r=new qE({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(i),state:s});return this.add(r),r}add(e){this.#t.add(e);const i=Kr(e);if(typeof i=="string"){const s=this.#e.get(i);s?s.push(e):this.#e.set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const i=Kr(e);if(typeof i=="string"){const s=this.#e.get(i);if(s)if(s.length>1){const r=s.indexOf(e);r!==-1&&s.splice(r,1)}else s[0]===e&&this.#e.delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=Kr(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=Kr(e);return typeof i=="string"?this.#e.get(i)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){de.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(s=>Yg(i,s))}findAll(e={}){return this.getAll().filter(i=>Yg(e,i))}notify(e){de.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return de.batch(()=>Promise.all(e.map(i=>i.continue().catch(Ae))))}};function Kr(e){return e.options.scope?.id}var QE=class extends wo{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,i,s){const r=i.queryKey,l=i.queryHash??Cd(r,i);let u=this.get(l);return u||(u=new BE({client:e,queryKey:r,queryHash:l,options:e.defaultQueryOptions(i),state:s,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(){de.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(s=>qg(i,s))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(s=>qg(e,s)):i}notify(e){de.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){de.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){de.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},XE=class{#t;#e;#n;#a;#i;#r;#o;#s;constructor(e={}){this.#t=e.queryCache||new QE,this.#e=e.mutationCache||new FE,this.#n=e.defaultOptions||{},this.#a=new Map,this.#i=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#o=Rd.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=hl.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=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),s=this.#t.build(this,i),r=s.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&s.isStaleByTime(Ei(i.staleTime,s))&&this.prefetchQuery(i),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:i,state:s})=>{const r=s.data;return[i,r]})}setQueryData(e,i,s){const r=this.defaultQueryOptions({queryKey:e}),u=this.#t.get(r.queryHash)?.state.data,f=ME(i,u);if(f!==void 0)return this.#t.build(this,r).setData(f,{...s,manual:!0})}setQueriesData(e,i,s){return de.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,i,s)]))}getQueryState(e){const i=this.defaultQueryOptions({queryKey:e});return this.#t.get(i.queryHash)?.state}removeQueries(e){const i=this.#t;de.batch(()=>{i.findAll(e).forEach(s=>{i.remove(s)})})}resetQueries(e,i){const s=this.#t;return de.batch(()=>(s.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},i)))}cancelQueries(e,i={}){const s={revert:!0,...i},r=de.batch(()=>this.#t.findAll(e).map(l=>l.cancel(s)));return Promise.all(r).then(Ae).catch(Ae)}invalidateQueries(e,i={}){return de.batch(()=>(this.#t.findAll(e).forEach(s=>{s.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},i)))}refetchQueries(e,i={}){const s={...i,cancelRefetch:i.cancelRefetch??!0},r=de.batch(()=>this.#t.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(Ae)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(Ae)}fetchQuery(e){const i=this.defaultQueryOptions(e);i.retry===void 0&&(i.retry=!1);const s=this.#t.build(this,i);return s.isStaleByTime(Ei(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ae).catch(Ae)}fetchInfiniteQuery(e){return e.behavior=$g(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ae).catch(Ae)}ensureInfiniteQueryData(e){return e.behavior=$g(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return hl.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.#a.set(fo(e),{queryKey:e,defaultOptions:i})}getQueryDefaults(e){const i=[...this.#a.values()],s={};
9return i.forEach(r=>{ho(e,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(e,i){this.#i.set(fo(e),{mutationKey:e,defaultOptions:i})}getMutationDefaults(e){const i=[...this.#i.values()],s={};return i.forEach(r=>{ho(e,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}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===Md&&(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()}},fb=w.createContext(void 0),KE=e=>{const i=w.useContext(fb);if(!i)throw new Error("No QueryClient set, use QueryClientProvider to set one");return i},ZE=({client:e,children:i})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),b.jsx(fb.Provider,{value:e,children:i})),db=w.createContext(!1),IE=()=>w.useContext(db);db.Provider;function $E(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var JE=w.createContext($E()),WE=()=>w.useContext(JE),tA=(e,i,s)=>{const r=s?.state.error&&typeof e.throwOnError=="function"?ob(e.throwOnError,[s.state.error,s]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(i.isReset()||(e.retryOnMount=!1))},eA=e=>{w.useEffect(()=>{e.clearReset()},[e])},nA=({result:e,errorResetBoundary:i,throwOnError:s,query:r,suspense:l})=>e.isError&&!i.isReset()&&!e.isFetching&&r&&(l&&e.data===void 0||ob(s,[e.error,r])),iA=e=>{if(e.suspense){const s=l=>l==="static"?l:Math.max(l??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...l)=>s(r(...l)):s(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},aA=(e,i)=>e.isLoading&&e.isFetching&&!i,sA=(e,i)=>e?.suspense&&i.isPending,Wg=(e,i,s)=>i.fetchOptimistic(e).catch(()=>{s.clearReset()});function oA(e,i,s){const r=IE(),l=WE(),u=KE(),f=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(f);const m=u.getQueryCache().get(f.queryHash);f._optimisticResults=r?"isRestoring":"optimistic",iA(f),tA(f,l,m),eA(l);const p=!u.getQueryCache().get(f.queryHash),[h]=w.useState(()=>new i(u,f)),y=h.getOptimisticResult(f),v=!r&&e.subscribed!==!1;if(w.useSyncExternalStore(w.useCallback(x=>{const T=v?h.subscribe(de.batchCalls(x)):Ae;return h.updateResult(),T},[h,v]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),w.useEffect(()=>{h.setOptions(f)},[f,h]),sA(f,y))throw Wg(f,h,l);if(nA({result:y,errorResetBoundary:l,throwOnError:f.throwOnError,query:m,suspense:f.suspense}))throw y.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(f,y),f.experimental_prefetchInRender&&!sa&&aA(y,r)&&(p?Wg(f,h,l):m?.promise)?.catch(Ae).finally(()=>{h.updateResult()}),f.notifyOnChangeProps?y:h.trackResult(y)}function hb(e,i){return oA(e,kE)}async function rA(e){if(!e.ok){const i=await e.text()||e.statusText;throw new Error(`${e.status}: ${i}`)}}const lA=({on401:e})=>async({queryKey:i})=>{const s=await fetch(i.join("/"),{credentials:"include"});return await rA(s),await s.json()},cA=new XE({defaultOptions:{queries:{queryFn:lA({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),uA=1,fA=1e6;let gf=0;function dA(){return gf=(gf+1)%Number.MAX_SAFE_INTEGER,gf.toString()}const vf=new Map,tv=e=>{if(vf.has(e))return;const i=setTimeout(()=>{vf.delete(e),oo({type:"REMOVE_TOAST",toastId:e})},fA);vf.set(e,i)},hA=(e,i)=>{switch(i.type){case"ADD_TOAST":return{...e,toasts:[i.toast,...e.toasts].slice(0,uA)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(s=>s.id===i.toast.id?{...s,...i.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=i;return s?tv(s):e.toasts.forEach(r=>{tv(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===s||s===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return i.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==i.toastId)}}},al=[];let sl={toasts:[]};function oo(e){sl=hA(sl,e),al.forEach(i=>
9{i(sl)})}function mA({...e}){const i=dA(),s=l=>oo({type:"UPDATE_TOAST",toast:{...l,id:i}}),r=()=>oo({type:"DISMISS_TOAST",toastId:i});return oo({type:"ADD_TOAST",toast:{...e,id:i,open:!0,onOpenChange:l=>{l||r()}}}),{id:i,dismiss:r,update:s}}function pA(){const[e,i]=w.useState(sl);return w.useEffect(()=>(al.push(i),()=>{const s=al.indexOf(i);s>-1&&al.splice(s,1)}),[e]),{...e,toast:mA,dismiss:s=>oo({type:"DISMISS_TOAST",toastId:s})}}var Nl=Q0();const yA=F0(Nl);function ne(e,i,{checkForDefaultPrevented:s=!0}={}){return function(l){if(e?.(l),s===!1||!l.defaultPrevented)return i?.(l)}}function ev(e,i){if(typeof e=="function")return e(i);e!=null&&(e.current=i)}function Nd(...e){return i=>{let s=!1;const r=e.map(l=>{const u=ev(l,i);return!s&&typeof u=="function"&&(s=!0),u});if(s)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():ev(e[l],null)}}}}function ln(...e){return w.useCallback(Nd(...e),e)}function Dl(e,i=[]){let s=[];function r(u,f){const m=w.createContext(f),p=s.length;s=[...s,f];const h=v=>{const{scope:x,children:T,...A}=v,E=x?.[e]?.[p]||m,M=w.useMemo(()=>A,Object.values(A));return b.jsx(E.Provider,{value:M,children:T})};h.displayName=u+"Provider";function y(v,x){const T=x?.[e]?.[p]||m,A=w.useContext(T);if(A)return A;if(f!==void 0)return f;throw new Error(`\`${v}\` must be used within \`${u}\``)}return[h,y]}const l=()=>{const u=s.map(f=>w.createContext(f));return function(m){const p=m?.[e]||u;return w.useMemo(()=>({[`__scope${e}`]:{...m,[e]:p}}),[m,p])}};return l.scopeName=e,[r,gA(l,...i)]}function gA(...e){const i=e[0];if(e.length===1)return i;const s=()=>{const r=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const f=r.reduce((m,{useScope:p,scopeName:h})=>{const v=p(u)[`__scope${h}`];return{...m,...v}},{});return w.useMemo(()=>({[`__scope${i.scopeName}`]:f}),[f])}};return s.scopeName=i.scopeName,s}function nv(e){const i=vA(e),s=w.forwardRef((r,l)=>{const{children:u,...f}=r,m=w.Children.toArray(u),p=m.find(xA);if(p){const h=p.props.children,y=m.map(v=>v===p?w.Children.count(h)>1?w.Children.only(null):w.isValidElement(h)?h.props.children:null:v);return b.jsx(i,{...f,ref:l,children:w.isValidElement(h)?w.cloneElement(h,void 0,y):null})}return b.jsx(i,{...f,ref:l,children:u})});return s.displayName=`${e}.Slot`,s}function vA(e){const i=w.forwardRef((s,r)=>{const{children:l,...u}=s;if(w.isValidElement(l)){const f=wA(l),m=SA(u,l.props);return l.type!==w.Fragment&&(m.ref=r?Nd(r,f):f),w.cloneElement(l,m)}return w.Children.count(l)>1?w.Children.only(null):null});return i.displayName=`${e}.SlotClone`,i}var bA=Symbol("radix.slottable");function xA(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bA}function SA(e,i){const s={...i};for(const r in i){const l=e[r],u=i[r];/^on[A-Z]/.test(r)?l&&u?s[r]=(...m)=>{const p=u(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...u}:r==="className"&&(s[r]=[l,u].filter(Boolean).join(" "))}return{...e,...s}}function wA(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?e.props.ref:e.props.ref||e.ref)}function TA(e){const i=e+"CollectionProvider",[s,r]=Dl(i),[l,u]=s(i,{collectionRef:{current:null},itemMap:new Map}),f=E=>{const{scope:M,children:N}=E,V=Si.useRef(null),j=Si.useRef(new Map).current;return b.jsx(l,{scope:M,itemMap:j,collectionRef:V,children:N})};f.displayName=i;const m=e+"CollectionSlot",p=nv(m),h=Si.forwardRef((E,M)=>{const{scope:N,children:V}=E,j=u(m,N),q=ln(M,j.collectionRef);return b.jsx(p,{ref:q,children:V})});h.displayName=m;const y=e+"CollectionItemSlot",v="data-radix-collection-item",x=nv(y),T=Si.forwardRef((E,M)=>{const{scope:N,children:V,...j}=E,q=Si.useRef(null),P=ln(M,q),Z=u(y,N);return Si.useEffect(()=>(Z.itemMap.set(q,{ref:q,...j}),()=>{Z.itemMap.delete(q)})),b.jsx(x,{[v]:"",ref:P,children:V})});T.displayName=y;function A(E){const M=u(e+"CollectionConsumer",E);return Si.useCallback(()=>{const V=M.collectionRef.current;if(!V)return[];const j=Array.from(V.querySelectorAll(`[${v}
9]`));return Array.from(M.itemMap.values()).sort((Z,G)=>j.indexOf(Z.ref.current)-j.indexOf(G.ref.current))},[M.collectionRef,M.itemMap])}return[{Provider:f,Slot:h,ItemSlot:T},A,r]}function EA(e){const i=AA(e),s=w.forwardRef((r,l)=>{const{children:u,...f}=r,m=w.Children.toArray(u),p=m.find(MA);if(p){const h=p.props.children,y=m.map(v=>v===p?w.Children.count(h)>1?w.Children.only(null):w.isValidElement(h)?h.props.children:null:v);return b.jsx(i,{...f,ref:l,children:w.isValidElement(h)?w.cloneElement(h,void 0,y):null})}return b.jsx(i,{...f,ref:l,children:u})});return s.displayName=`${e}.Slot`,s}function AA(e){const i=w.forwardRef((s,r)=>{const{children:l,...u}=s;if(w.isValidElement(l)){const f=OA(l),m=RA(u,l.props);return l.type!==w.Fragment&&(m.ref=r?Nd(r,f):f),w.cloneElement(l,m)}return w.Children.count(l)>1?w.Children.only(null):null});return i.displayName=`${e}.SlotClone`,i}var CA=Symbol("radix.slottable");function MA(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===CA}function RA(e,i){const s={...i};for(const r in i){const l=e[r],u=i[r];/^on[A-Z]/.test(r)?l&&u?s[r]=(...m)=>{const p=u(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...u}:r==="className"&&(s[r]=[l,u].filter(Boolean).join(" "))}return{...e,...s}}function OA(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?e.props.ref:e.props.ref||e.ref)}var NA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ce=NA.reduce((e,i)=>{const s=EA(`Primitive.${i}`),r=w.forwardRef((l,u)=>{const{asChild:f,...m}=l,p=f?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(p,{...m,ref:u})});return r.displayName=`Primitive.${i}`,{...e,[i]:r}},{});function mb(e,i){e&&Nl.flushSync(()=>e.dispatchEvent(i))}function Ai(e){const i=w.useRef(e);return w.useEffect(()=>{i.current=e}),w.useMemo(()=>(...s)=>i.current?.(...s),[])}function DA(e,i=globalThis?.document){const s=Ai(e);w.useEffect(()=>{const r=l=>{l.key==="Escape"&&s(l)};return i.addEventListener("keydown",r,{capture:!0}),()=>i.removeEventListener("keydown",r,{capture:!0})},[s,i])}var jA="DismissableLayer",Xf="dismissableLayer.update",_A="dismissableLayer.pointerDownOutside",zA="dismissableLayer.focusOutside",iv,pb=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dd=w.forwardRef((e,i)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,onDismiss:m,...p}=e,h=w.useContext(pb),[y,v]=w.useState(null),x=y?.ownerDocument??globalThis?.document,[,T]=w.useState({}),A=ln(i,G=>v(G)),E=Array.from(h.layers),[M]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),N=E.indexOf(M),V=y?E.indexOf(y):-1,j=h.layersWithOutsidePointerEventsDisabled.size>0,q=V>=N,P=VA(G=>{const U=G.target,J=[...h.branches].some(ot=>ot.contains(U));!q||J||(l?.(G),f?.(G),G.defaultPrevented||m?.())},x),Z=UA(G=>{const U=G.target;[...h.branches].some(ot=>ot.contains(U))||(u?.(G),f?.(G),G.defaultPrevented||m?.())},x);return DA(G=>{V===h.layers.size-1&&(r?.(G),!G.defaultPrevented&&m&&(G.preventDefault(),m()))},x),w.useEffect(()=>{if(y)return s&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(iv=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(y)),h.layers.add(y),av(),()=>{s&&h.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=iv)}},[y,x,s,h]),w.useEffect(()=>()=>{y&&(h.layers.delete(y),h.layersWithOutsidePointerEventsDisabled.delete(y),av())},[y,h]),w.useEffect(()=>{const G=()=>T({});return document.addEventListener(Xf,G),()=>document.removeEventListener(Xf,G)},[]),b.jsx(Ce.div,{...p,ref:A,style:{pointerEvents:j?q?"auto":"none":void 0,...e.style},onFocusCapture:ne(e.onFocusCapture,Z.onFocusCapture),onBlurCapture:ne(e.onBlurCapture,Z.onBlurCapture),onPointerDownCapture:ne(e.onPointerDownCapture,P.onPointerDownCapture)})});Dd.displayName=jA;var LA="DismissableLayerBranch",yb=w.forwardRef((e,i)=>{const s=w.useContext(pb),r=w.useRef(null),l=ln(i,r);return w.useEffect(()=>{const u=r.current;if(u)return s.branches.add(u),()=>{s.branches.delete(u)}},[s.branches]),b.jsx(Ce.div,{...e,ref:l})});yb.displayName=LA;function VA(e,i=globalThis?.document){const s=Ai(e),r=w.useRef(!1),l=w.useRef(()=>{});return w.useEffect(()=>{const u=m=>{if(m.target&&!r.current){let p=function(){gb(_A,s,h,{discrete:!0})};const h={originalEvent:m};m.pointerType==="touch"?(i.removeEventListener("click",l.current),l.current=p,i.addEventListener("click",l.current,{once:!0})):p()}else i.removeEventListener("click",l.current);r.current=!1},f=window.setTimeout(()=>{i.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(f),i.removeEventListener("pointerdown",u),i.removeEventListener("click",l.current)}},[i,s]),{onPointerDownCapture:()=>r.current=!0}}function UA(e,i=globalThis?.document){const s=Ai(e),r=w.useRef(!1);return w.useEffect(()=>{const l=u=>{u.target&&!r.current&&gb(zA,s,{originalEvent:u},{discrete:!1})};return i.addEventListener("focusin",l),()=>i.removeEventListener("focusin",l)},[i,s]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function av(){const e=new CustomEvent(Xf);document.dispatchEvent(e)}function gb(e,i,s,{discrete:r}){const l=s.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:s});i&&l.addEventListener(e,i,{once:!0}),r?mb(l,u):l.dispatchEvent(u)}var BA=Dd,kA=yb,Ci=globalThis?.document?w.useLayoutEffect:()=>{},HA="Portal",jd=w.forwardRef((e,i)=>{const{container:s,...r}=e,[l,u]=w.useState(!1);Ci(()=>u(!0),[]);const f=s||l&&globalThis?.document?.body;return f?yA.createPortal(b.jsx(Ce.div,{...r,ref:i}),f):null});jd.displayName=HA;function PA(e,i){return w.useReducer((s,r)=>i[s][r]??s,e)}var jl=e=>{const{present:i,children:s}=e,r=GA(i),l=typeof s=="function"?s({present:r.isPresent}):w.Children.only(s),u=ln(r.ref,qA(l));return typeof s=="function"||r.isPresent?w.cloneElement(l,{ref:u}):null};jl.displayName="Presence";function GA(e){const[i,s]=w.useState(),r=w.useRef(null),l=w.useRef(e),u=w.useRef("none"),f=e?"mounted":"unmounted",[m,p]=PA(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const h=Zr(r.current);u.current=m==="mounted"?h:"none"},[m]),Ci(()=>{const h=r.current,y=l.current;if(y!==e){const x=u.current,T=Zr(h);e?p("MOUNT"):T==="none"||h?.display==="none"?p("UNMOUNT"):p(y&&x!==T?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,p]),Ci(()=>
9{if(i){let h;const y=i.ownerDocument.defaultView??window,v=T=>{const E=Zr(r.current).includes(CSS.escape(T.animationName));if(T.target===i&&E&&(p("ANIMATION_END"),!l.current)){const M=i.style.animationFillMode;i.style.animationFillMode="forwards",h=y.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=M)})}},x=T=>{T.target===i&&(u.current=Zr(r.current))};return i.addEventListener("animationstart",x),i.addEventListener("animationcancel",v),i.addEventListener("animationend",v),()=>{y.clearTimeout(h),i.removeEventListener("animationstart",x),i.removeEventListener("animationcancel",v),i.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:w.useCallback(h=>{r.current=h?getComputedStyle(h):null,s(h)},[])}}function Zr(e){return e?.animationName||"none"}function qA(e){let i=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?e.ref:(i=Object.getOwnPropertyDescriptor(e,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?e.props.ref:e.props.ref||e.ref)}var YA=X0[" useInsertionEffect ".trim().toString()]||Ci;function FA({prop:e,defaultProp:i,onChange:s=()=>{},caller:r}){const[l,u,f]=QA({defaultProp:i,onChange:s}),m=e!==void 0,p=m?e:l;{const y=w.useRef(e!==void 0);w.useEffect(()=>{const v=y.current;v!==m&&console.warn(`${r} is changing from ${v?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=m},[m,r])}const h=w.useCallback(y=>{if(m){const v=XA(y)?y(e):y;v!==e&&f.current?.(v)}else u(y)},[m,e,u,f]);return[p,h]}function QA({defaultProp:e,onChange:i}){const[s,r]=w.useState(e),l=w.useRef(s),u=w.useRef(i);return YA(()=>{u.current=i},[i]),w.useEffect(()=>{l.current!==s&&(u.current?.(s),l.current=s)},[s,l]),[s,r,u]}function XA(e){return typeof e=="function"}var KA=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"}),ZA="VisuallyHidden",_l=w.forwardRef((e,i)=>b.jsx(Ce.span,{...e,ref:i,style:{...KA,...e.style}}));_l.displayName=ZA;var IA=_l,_d="ToastProvider",[zd,$A,JA]=TA("Toast"),[vb]=Dl("Toast",[JA]),[WA,zl]=vb(_d),bb=e=>{const{__scopeToast:i,label:s="Notification",duration:r=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:f}=e,[m,p]=w.useState(null),[h,y]=w.useState(0),v=w.useRef(!1),x=w.useRef(!1);return s.trim()||console.error(`Invalid prop \`label\` supplied to \`${_d}\`. Expected non-empty \`string\`.`),b.jsx(zd.Provider,{scope:i,children:b.jsx(WA,{scope:i,label:s,duration:r,swipeDirection:l,swipeThreshold:u,toastCount:h,viewport:m,onViewportChange:p,onToastAdd:w.useCallback(()=>y(T=>T+1),[]),onToastRemove:w.useCallback(()=>y(T=>T-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:x,children:f})})};bb.displayName=_d;var xb="ToastViewport",tC=["F8"],Kf="toast.viewportPause",Zf="toast.viewportResume",Sb=w.forwardRef((e,i)=>{const{__scopeToast:s,hotkey:r=tC,label:l="Notifications ({hotkey})",...u}=e,f=zl(xb,s),m=$A(s),p=w.useRef(null),h=w.useRef(null),y=w.useRef(null),v=w.useRef(null),x=ln(i,v,f.onViewportChange),T=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=f.toastCount>0;w.useEffect(()=>{const M=N=>{r.length!==0&&r.every(j=>N[j]||N.code===j)&&v.current?.focus()};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[r]),w.useEffect(()=>{const M=p.current,N=v.current;if(A&&M&&N){const V=()=>{if(!f.isClosePausedRef.current){const Z=new CustomEvent(Kf);N.dispatchEvent(Z),f.isClosePausedRef.current=!0}},j=()=>
9{if(f.isClosePausedRef.current){const Z=new CustomEvent(Zf);N.dispatchEvent(Z),f.isClosePausedRef.current=!1}},q=Z=>{!M.contains(Z.relatedTarget)&&j()},P=()=>{M.contains(document.activeElement)||j()};return M.addEventListener("focusin",V),M.addEventListener("focusout",q),M.addEventListener("pointermove",V),M.addEventListener("pointerleave",P),window.addEventListener("blur",V),window.addEventListener("focus",j),()=>{M.removeEventListener("focusin",V),M.removeEventListener("focusout",q),M.removeEventListener("pointermove",V),M.removeEventListener("pointerleave",P),window.removeEventListener("blur",V),window.removeEventListener("focus",j)}}},[A,f.isClosePausedRef]);const E=w.useCallback(({tabbingDirection:M})=>{const V=m().map(j=>{const q=j.ref.current,P=[q,...hC(q)];return M==="forwards"?P:P.reverse()});return(M==="forwards"?V.reverse():V).flat()},[m]);return w.useEffect(()=>{const M=v.current;if(M){const N=V=>{const j=V.altKey||V.ctrlKey||V.metaKey;if(V.key==="Tab"&&!j){const P=document.activeElement,Z=V.shiftKey;if(V.target===M&&Z){h.current?.focus();return}const J=E({tabbingDirection:Z?"backwards":"forwards"}),ot=J.findIndex(ut=>ut===P);bf(J.slice(ot+1))?V.preventDefault():Z?h.current?.focus():y.current?.focus()}};return M.addEventListener("keydown",N),()=>M.removeEventListener("keydown",N)}},[m,E]),b.jsxs(kA,{ref:p,role:"region","aria-label":l.replace("{hotkey}",T),tabIndex:-1,style:{pointerEvents:A?void 0:"none"},children:[A&&b.jsx(If,{ref:h,onFocusFromOutsideViewport:()=>{const M=E({tabbingDirection:"forwards"});bf(M)}}),b.jsx(zd.Slot,{scope:s,children:b.jsx(Ce.ol,{tabIndex:-1,...u,ref:x})}),A&&b.jsx(If,{ref:y,onFocusFromOutsideViewport:()=>{const M=E({tabbingDirection:"backwards"});bf(M)}})]})});Sb.displayName=xb;var wb="ToastFocusProxy",If=w.forwardRef((e,i)=>{const{__scopeToast:s,onFocusFromOutsideViewport:r,...l}=e,u=zl(wb,s);return b.jsx(_l,{tabIndex:0,...l,ref:i,style:{position:"fixed"},onFocus:f=>{const m=f.relatedTarget;!u.viewport?.contains(m)&&r()}})});If.displayName=wb;var To="Toast",eC="toast.swipeStart",nC="toast.swipeMove",iC="toast.swipeCancel",aC="toast.swipeEnd",Tb=w.forwardRef((e,i)=>{const{forceMount:s,open:r,defaultOpen:l,onOpenChange:u,...f}=e,[m,p]=FA({prop:r,defaultProp:l??!0,onChange:u,caller:To});return b.jsx(jl,{present:s||m,children:b.jsx(rC,{open:m,...f,ref:i,onClose:()=>p(!1),onPause:Ai(e.onPause),onResume:Ai(e.onResume),onSwipeStart:ne(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ne(e.onSwipeMove,h=>{const{x:y,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:ne(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ne(e.onSwipeEnd,h=>{const{x:y,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),p(!1)})})})});Tb.displayName=To;var[sC,oC]=vb(To,{onClose(){}}),rC=w.forwardRef((e,i)=>{const{__scopeToast:s,type:r="foreground",duration:l,open:u,onClose:f,onEscapeKeyDown:m,onPause:p,onResume:h,onSwipeStart:y,onSwipeMove:v,onSwipeCancel:x,onSwipeEnd:T,...A}=e,E=zl(To,s),[M,N]=w.useState(null),V=ln(i,W=>N(W)),j=w.useRef(null),q=w.useRef(null),P=l||E.duration,Z=w.useRef(0),G=w.useRef(P),U=w.useRef(0),{onToastAdd:J,onToastRemove:ot}=E,ut=Ai(()=>{M?.contains(document.activeElement)&&E.viewport?.focus(),f()}),ft=w.useCallback(W=>{!W||W===1/0||(window.clearTimeout(U.current),Z.current=new Date().getTime(),U.current=window.setTimeout(ut,W))},[ut]);w.useEffect(()=>{const W=E.viewport;if(W){const mt=()=>{ft(G.current),h?.()},_=()=>{const Y=new Date().getTime()-Z.current;G.current=G.current-Y,window.clearTimeout(U.current),p?.()};
9return W.addEventListener(Kf,_),W.addEventListener(Zf,mt),()=>{W.removeEventListener(Kf,_),W.removeEventListener(Zf,mt)}}},[E.viewport,P,p,h,ft]),w.useEffect(()=>{u&&!E.isClosePausedRef.current&&ft(P)},[u,P,E.isClosePausedRef,ft]),w.useEffect(()=>(J(),()=>ot()),[J,ot]);const bt=w.useMemo(()=>M?Nb(M):null,[M]);return E.viewport?b.jsxs(b.Fragment,{children:[bt&&b.jsx(lC,{__scopeToast:s,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:bt}),b.jsx(sC,{scope:s,onClose:ut,children:Nl.createPortal(b.jsx(zd.ItemSlot,{scope:s,children:b.jsx(BA,{asChild:!0,onEscapeKeyDown:ne(m,()=>{E.isFocusedToastEscapeKeyDownRef.current||ut(),E.isFocusedToastEscapeKeyDownRef.current=!1}),children:b.jsx(Ce.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":E.swipeDirection,...A,ref:V,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ne(e.onKeyDown,W=>{W.key==="Escape"&&(m?.(W.nativeEvent),W.nativeEvent.defaultPrevented||(E.isFocusedToastEscapeKeyDownRef.current=!0,ut()))}),onPointerDown:ne(e.onPointerDown,W=>{W.button===0&&(j.current={x:W.clientX,y:W.clientY})}),onPointerMove:ne(e.onPointerMove,W=>{if(!j.current)return;const mt=W.clientX-j.current.x,_=W.clientY-j.current.y,Y=!!q.current,k=["left","right"].includes(E.swipeDirection),at=["left","up"].includes(E.swipeDirection)?Math.min:Math.max,dt=k?at(0,mt):0,R=k?0:at(0,_),Q=W.pointerType==="touch"?10:2,I={x:dt,y:R},$={originalEvent:W,delta:I};Y?(q.current=I,Ir(nC,v,$,{discrete:!1})):sv(I,E.swipeDirection,Q)?(q.current=I,Ir(eC,y,$,{discrete:!1}),W.target.setPointerCapture(W.pointerId)):(Math.abs(mt)>Q||Math.abs(_)>Q)&&(j.current=null)}),onPointerUp:ne(e.onPointerUp,W=>{const mt=q.current,_=W.target;if(_.hasPointerCapture(W.pointerId)&&_.releasePointerCapture(W.pointerId),q.current=null,j.current=null,mt){const Y=W.currentTarget,k={originalEvent:W,delta:mt};sv(mt,E.swipeDirection,E.swipeThreshold)?Ir(aC,T,k,{discrete:!0}):Ir(iC,x,k,{discrete:!0}),Y.addEventListener("click",at=>at.preventDefault(),{once:!0})}})})})}),E.viewport)})]}):null}),lC=e=>{const{__scopeToast:i,children:s,...r}=e,l=zl(To,i),[u,f]=w.useState(!1),[m,p]=w.useState(!1);return fC(()=>f(!0)),w.useEffect(()=>{const h=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(h)},[]),m?null:b.jsx(jd,{asChild:!0,children:b.jsx(_l,{...r,children:u&&b.jsxs(b.Fragment,{children:[l.label," ",s]})})})},cC="ToastTitle",Eb=w.forwardRef((e,i)=>{const{__scopeToast:s,...r}=e;return b.jsx(Ce.div,{...r,ref:i})});Eb.displayName=cC;var uC="ToastDescription",Ab=w.forwardRef((e,i)=>{const{__scopeToast:s,...r}=e;return b.jsx(Ce.div,{...r,ref:i})});Ab.displayName=uC;var Cb="ToastAction",Mb=w.forwardRef((e,i)=>{const{altText:s,...r}=e;return s.trim()?b.jsx(Ob,{altText:s,asChild:!0,children:b.jsx(Ld,{...r,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${Cb}\`. Expected non-empty \`string\`.`),null)});Mb.displayName=Cb;var Rb="ToastClose",Ld=w.forwardRef((e,i)=>{const{__scopeToast:s,...r}=e,l=oC(Rb,s);return b.jsx(Ob,{asChild:!0,children:b.jsx(Ce.button,{type:"button",...r,ref:i,onClick:ne(e.onClick,l.onClose)})})});Ld.displayName=Rb;var Ob=w.forwardRef((e,i)=>{const{__scopeToast:s,altText:r,...l}=e;return b.jsx(Ce.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...l,ref:i})});function Nb(e){const i=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&i.push(r.textContent),dC(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(...Nb(r))}}),i}function Ir(e,i,s,{discrete:r}){const l=s.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:s});i&&l.addEventListener(e,i,{once:!0}),r?mb(l,u):l.dispatchEvent(u)}var sv=(e,i,s=0)=>{const r=Math.abs(e.x),l=Math.abs(e.y),u=r>l;return i==="left"||i==="right"?u&&r>s:!u&&l>s};function fC(e=()=>{}){const i=Ai(e);Ci(()=>{let s=0,r=0;return s=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(s),window.cancelAnimationFrame(r)}},[i])}
vendor: 4,722 bytes, line 9
9function dC(e){return e.nodeType===e.ELEMENT_NODE}function hC(e){const i=[],s=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(;s.nextNode();)i.push(s.currentNode);return i}function bf(e){const i=document.activeElement;return e.some(s=>s===i?!0:(s.focus(),document.activeElement!==i))}var mC=bb,Db=Sb,jb=Tb,_b=Eb,zb=Ab,Lb=Mb,Vb=Ld;function Ub(e){var i,s,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]&&(s=Ub(e[i]))&&(r&&(r+=" "),r+=s)}else for(s in e)e[s]&&(r&&(r+=" "),r+=s);return r}function Bb(){for(var e,i,s=0,r="",l=arguments.length;s<l;s++)(e=arguments[s])&&(i=Ub(e))&&(r&&(r+=" "),r+=i);return r}const ov=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,rv=Bb,pC=(e,i)=>s=>{var r;if(i?.variants==null)return rv(e,s?.class,s?.className);const{variants:l,defaultVariants:u}=i,f=Object.keys(l).map(h=>{const y=s?.[h],v=u?.[h];if(y===null)return null;const x=ov(y)||ov(v);return l[h][x]}),m=s&&Object.entries(s).reduce((h,y)=>{let[v,x]=y;return x===void 0||(h[v]=x),h},{}),p=i==null||(r=i.compoundVariants)===null||r===void 0?void 0:r.reduce((h,y)=>{let{class:v,className:x,...T}=y;return Object.entries(T).every(A=>{let[E,M]=A;return Array.isArray(M)?M.includes({...u,...m}[E]):{...u,...m}[E]===M})?[...h,v,x]:h},[]);return rv(e,f,p,s?.class,s?.className)};const yC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),gC=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,r)=>r?r.toUpperCase():s.toLowerCase()),lv=e=>{const i=gC(e);return i.charAt(0).toUpperCase()+i.slice(1)},kb=(...e)=>e.filter((i,s,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===s).join(" ").trim(),vC=e=>{for(const i in e)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};var bC={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 xC=w.forwardRef(({color:e="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:f,...m},p)=>w.createElement("svg",{ref:p,...bC,width:i,height:i,stroke:e,strokeWidth:r?Number(s)*24/Number(i):s,className:kb("lucide",l),...!u&&!vC(m)&&{"aria-hidden":"true"},...m},[...f.map(([h,y])=>w.createElement(h,y)),...Array.isArray(u)?u:[u]]));const en=(e,i)=>{const s=w.forwardRef(({className:r,...l},u)=>w.createElement(xC,{ref:u,iconNode:i,className:kb(`lucide-${yC(lv(e))}`,`lucide-${e}`,r),...l}));return s.displayName=lv(e),s};const SC=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],wC=en("building-2",SC);const TC=[["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"}]],EC=en("circle-alert",TC);const AC=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],CC=en("circle-check-big",AC);const MC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],RC=en("compass",MC);const OC=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],NC=en("dollar-sign",OC);const DC=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],jC=en("ellipsis",DC);const _C=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],cv=en("instagram",_C);const zC=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Hb=en("search",zC);const LC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],VC=en("target",LC);const UC=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],BC=en("wrench",UC);const kC=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 8,427 bytes, line 9
9],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],HC=en("x",kC);const PC=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],uv=en("youtube",PC),GC=(e,i)=>{const s=new Array(e.length+i.length);for(let r=0;r<e.length;r++)s[r]=e[r];for(let r=0;r<i.length;r++)s[e.length+r]=i[r];return s},qC=(e,i)=>({classGroupId:e,validator:i}),Pb=(e=new Map,i=null,s)=>({nextPart:e,validators:i,classGroupId:s}),ml="-",fv=[],YC="arbitrary..",FC=e=>{const i=XC(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return QC(f);const m=f.split(ml),p=m[0]===""&&m.length>1?1:0;return Gb(m,p,i)},getConflictingClassGroupIds:(f,m)=>{if(m){const p=r[f],h=s[f];return p?h?GC(h,p):p:h||fv}return s[f]||fv}}},Gb=(e,i,s)=>{if(e.length-i===0)return s.classGroupId;const l=e[i],u=s.nextPart.get(l);if(u){const h=Gb(e,i+1,u);if(h)return h}const f=s.validators;if(f===null)return;const m=i===0?e.join(ml):e.slice(i).join(ml),p=f.length;for(let h=0;h<p;h++){const y=f[h];if(y.validator(m))return y.classGroupId}},QC=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=e.slice(1,-1),s=i.indexOf(":"),r=i.slice(0,s);return r?YC+r:void 0})(),XC=e=>{const{theme:i,classGroups:s}=e;return KC(s,i)},KC=(e,i)=>{const s=Pb();for(const r in e){const l=e[r];Vd(l,s,r,i)}return s},Vd=(e,i,s,r)=>{const l=e.length;for(let u=0;u<l;u++){const f=e[u];ZC(f,i,s,r)}},ZC=(e,i,s,r)=>{if(typeof e=="string"){IC(e,i,s);return}if(typeof e=="function"){$C(e,i,s,r);return}JC(e,i,s,r)},IC=(e,i,s)=>{const r=e===""?i:qb(i,e);r.classGroupId=s},$C=(e,i,s,r)=>{if(WC(e)){Vd(e(r),i,s,r);return}i.validators===null&&(i.validators=[]),i.validators.push(qC(s,e))},JC=(e,i,s,r)=>{const l=Object.entries(e),u=l.length;for(let f=0;f<u;f++){const[m,p]=l[f];Vd(p,qb(i,m),s,r)}},qb=(e,i)=>{let s=e;const r=i.split(ml),l=r.length;for(let u=0;u<l;u++){const f=r[u];let m=s.nextPart.get(f);m||(m=Pb(),s.nextPart.set(f,m)),s=m}return s},WC=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,t2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let i=0,s=Object.create(null),r=Object.create(null);const l=(u,f)=>{s[u]=f,i++,i>e&&(i=0,r=s,s=Object.create(null))};return{get(u){let f=s[u];if(f!==void 0)return f;if((f=r[u])!==void 0)return l(u,f),f},set(u,f){u in s?s[u]=f:l(u,f)}}},$f="!",dv=":",e2=[],hv=(e,i,s,r,l)=>({modifiers:e,hasImportantModifier:i,baseClassName:s,maybePostfixModifierPosition:r,isExternal:l}),n2=e=>{const{prefix:i,experimentalParseClassName:s}=e;let r=l=>{const u=[];let f=0,m=0,p=0,h;const y=l.length;for(let E=0;E<y;E++){const M=l[E];if(f===0&&m===0){if(M===dv){u.push(l.slice(p,E)),p=E+1;continue}if(M==="/"){h=E;continue}}M==="["?f++:M==="]"?f--:M==="("?m++:M===")"&&m--}const v=u.length===0?l:l.slice(p);let x=v,T=!1;v.endsWith($f)?(x=v.slice(0,-1),T=!0):v.startsWith($f)&&(x=v.slice(1),T=!0);const A=h&&h>p?h-p:void 0;return hv(u,T,x,A)};if(i){const l=i+dv,u=r;r=f=>f.startsWith(l)?u(f.slice(l.length)):hv(e2,!1,f,void 0,!0)}if(s){const l=r;r=u=>s({className:u,parseClassName:l})}return r},i2=e=>{const i=new Map;return e.orderSensitiveModifiers.forEach((s,r)=>{i.set(s,1e6+r)}),s=>{const r=[];let l=[];for(let u=0;u<s.length;u++){const f=s[u],m=f[0]==="[",p=i.has(f);m||p?(l.length>0&&(l.sort(),r.push(...l),l=[]),r.push(f)):l.push(f)}return l.length>0&&(l.sort(),r.push(...l)),r}},a2=e=>({cache:t2(e.cacheSize),parseClassName:n2(e),sortModifiers:i2(e),...FC(e)}),s2=/\s+/,o2=(e,i)=>{const{parseClassName:s,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:u}=i,f=[],m=e.trim().split(s2);let p="";for(let h=m.length-1;h>=0;h-=1){const y=m[h],{isExternal:v,modifiers:x,hasImportantModifier:T,baseClassName:A,maybePostfixModifierPosition:E}=s(y);if(v){p=y+(p.length>0?" "+p:p);continue}let M=!!E,N=r(M?A.substring(0,E):A);if(!N){if(!M){p=y+(p.length>0?" "+p:p);continue}if(N=r(A),!N){p=y+(p.length>0?" "+p:p);continue}M=!1}const V=x.length===0?"":x.length===1?x[0]:u(x).join(":"),j=T?V+$f:V,q=j+N;if(f.indexOf(q)>-1)continue;f.push(q);const P=l(N,M);for(let Z=0;Z<P.length;++Z){const G=P[Z];f.push(j+G)}p=y+(p.length>0?" "+p:p)}return p},r2=(...e)=>{let i=0,s,r,l="";for(;i<e.length;)(s=e[i++])&&(r=Yb(s))&&(l&&(l+=" "),l+=r);return l},Yb=e=>{if(typeof e=="string")return e;let i,s="";for(let r=0;r<e.length;r++)e[r]&&(i=Yb(e[r]))&&(s&&(s+=" "),s+=i);return s},l2=(e,...i)=>{let s,r,l,u;const f=p=>{const h=i.reduce((y,v)=>v(y),e());return s=a2(h),r=s.cache.get,l=s.cache.set,u=m,m(p)},m=p=>{const h=r(p);if(h)return h;const y=o2(p,s);return l(p,y),y};return u=f,(...p)=>u(r2(...p))},c2=[],te=e=>{const i=s=>s[e]||c2;return i.isThemeGetter=!0,i},Fb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Qb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,u2=/^\d+\/\d+$/,f2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,d2=/\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$/,h2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,m2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,p2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fa=e=>u2.test(e),xt=e=>!!e&&!Number.isNaN(Number(e)),xi=e=>!!e&&Number.isInteger(Number(e)),xf=e=>e.endsWith("%")&&xt(e.slice(0,-1)),Gn=e=>f2.test(e),y2=()=>!0,g2=e=>d2.test(e)&&!h2.test(e),Xb=()=>!1,v2=e=>m2.test(e),b2=e=>p2.test(e),x2=e=>!nt(e)&&!it(e),S2=e=>es(e,Ib,Xb),nt=e=>Fb.test(e),Ji=e=>es(e,$b,g2),Sf=e=>es(e,C2,xt),mv=e=>es(e,Kb,Xb),w2=e=>es(e,Zb,b2),$r=e=>es(e,Jb,v2),it=e=>Qb.test(e),no=e=>ns(e,$b),T2=e=>ns(e,M2),pv=e=>ns(e,Kb),E2=e=>ns(e,Ib),A2=e=>ns(e,Zb),Jr=e=>ns(e,Jb,!0),es=(e,i,s)=>{const r=Fb.exec(e);return r?r[1]?i(r[1]):s(r[2]):!1},ns=(e,i,s=!1)=>{const r=Qb.exec(e);return r?r[1]?i(r[1]):s:!1},Kb=e=>e==="position"||e==="percentage",Zb=e=>e==="image"||e==="url",Ib=e=>e==="length"||e==="size"||e==="bg-size",$b=e=>e==="length",C2=e=>e==="number",M2=e=>e==="family-name",Jb=e=>e==="shadow",R2=()=>{const e=te("color"),i=te("font"),s=te("text"),r=te("font-weight"),l=te("tracking"),u=te("leading"),f=te("breakpoint"),m=te("container"),p=te("spacing"),h=te("radius"),y=te("shadow"),v=te("inset-shadow"),x=te("text-shadow"),T=te("drop-shadow"),A=te("blur"),E=te("perspective"),M=te("aspect"),N=te("ease"),V=te("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...q(),it,nt],Z=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],U=()=>[it,nt,p],J=()=>[Fa,"full","auto",...U()],ot=()=>[xi,"none","subgrid",it,nt],ut=()=>["auto",{span:["full",xi,it,nt]},xi,it,nt],ft=()=>[xi,"auto",it,nt],bt=()=>["auto","min","max","fr",it,nt],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],mt=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...U()],Y=()=>[Fa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],k=()=>[e,it,nt],at=()=>[...q(),pv,mv,{position:[it,nt]}],dt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],R=()=>["auto","cover","contain",E2,S2,{size:[it,nt]}],Q=()=>[xf,no,Ji],I=()=>["","none","full",h,it,nt],$=()=>["",xt,no,Ji],ht=()=>["solid","dashed","dotted","double"],yt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],rt=()=>[xt,xf,pv,mv],Ft=()=>["","none",A,it,nt],Dt=()=>["none",xt,it,nt],He=()=>["none",xt,it,nt],dn=()=>[xt,it,nt],hn=()=>[Fa,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Gn],breakpoint:[Gn],color:[y2],container:[Gn],"drop-shadow":[Gn],ease:["in","out","in-out"],font:[x2],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Gn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Gn],shadow:[Gn],spacing:["px",xt],text:[Gn],"text-shadow":[Gn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Fa,nt,it,M]}
vendor: 12,864 bytes, line 9
9],container:["container"],columns:[{columns:[xt,nt,it,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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:P()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:J()}],"inset-x":[{"inset-x":J()}],"inset-y":[{"inset-y":J()}],start:[{start:J()}],end:[{end:J()}],top:[{top:J()}],right:[{right:J()}],bottom:[{bottom:J()}],left:[{left:J()}],visibility:["visible","invisible","collapse"],z:[{z:[xi,"auto",it,nt]}],basis:[{basis:[Fa,"full","auto",m,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xt,Fa,"auto","initial","none",nt]}],grow:[{grow:["",xt,it,nt]}],shrink:[{shrink:["",xt,it,nt]}],order:[{order:[xi,"first","last","none",it,nt]}],"grid-cols":[{"grid-cols":ot()}],"col-start-end":[{col:ut()}],"col-start":[{"col-start":ft()}],"col-end":[{"col-end":ft()}],"grid-rows":[{"grid-rows":ot()}],"row-start-end":[{row:ut()}],"row-start":[{"row-start":ft()}],"row-end":[{"row-end":ft()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":bt()}],"auto-rows":[{"auto-rows":bt()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...mt(),"normal"]}],"justify-self":[{"justify-self":["auto",...mt()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...mt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...mt(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...mt(),"baseline"]}],"place-self":[{"place-self":["auto",...mt()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],w:[{w:[m,"screen",...Y()]}],"min-w":[{"min-w":[m,"screen","none",...Y()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[f]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",s,no,Ji]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,it,Sf]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xf,nt]}],"font-family":[{font:[T2,nt,i]}],"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":[xt,"none",it,Sf]}],leading:[{leading:[u,...U()]}],"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:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ht(),"wavy"]}],"text-decoration-thickness":[{decoration:[xt,"from-font","auto",it,Ji]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[xt,"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:U()}],"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:at()}],"bg-repeat":[{bg:dt()}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},xi,it,nt],radial:["",it,nt],conic:[xi,it,nt]},A2,w2]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:Q()}],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ht(),"hidden","none"]}],"divide-style":[{divide:[...ht(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...ht(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xt,it,nt]}],"outline-w":[{outline:["",xt,no,Ji]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",y,Jr,$r]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",v,Jr,$r]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[xt,Ji]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",x,Jr,$r]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[xt,it,nt]}],"mix-blend":[{"mix-blend":[...yt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":yt()}],"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":[xt]}],"mask-image-linear-from-pos":[{"mask-linear-from":rt()}],"mask-image-linear-to-pos":[{"mask-linear-to":rt()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":rt()}],"mask-image-t-to-pos":[{"mask-t-to":rt()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":rt()}],"mask-image-r-to-pos":[{"mask-r-to":rt()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":rt()}],"mask-image-b-to-pos":[{"mask-b-to":rt()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":rt()}],"mask-image-l-to-pos":[{"mask-l-to":rt()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":rt()}],"mask-image-x-to-pos":[{"mask-x-to":rt()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":rt()}],"mask-image-y-to-pos":[{"mask-y-to":rt()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[it,nt]}],"mask-image-radial-from-pos":[{"mask-radial-from":rt()}],"mask-image-radial-to-pos":[{"mask-radial-to":rt()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"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":q()}],"mask-image-conic-pos":[{"mask-conic":[xt]}],"mask-image-conic-from-pos":[{"mask-conic-from":rt()}],"mask-image-conic-to-pos":[{"mask-conic-to":rt()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:at()}],"mask-repeat":[{mask:dt()}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",it,nt]}],filter:[{filter:["","none",it,nt]}],blur:[{blur:Ft()}],brightness:[{brightness:[xt,it,nt]}],contrast:[{contrast:[xt,it,nt]}],"drop-shadow":[{"drop-shadow":["","none",T,Jr,$r]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",xt,it,nt]}],"hue-rotate":[{"hue-rotate":[xt,it,nt]}],invert:[{invert:["",xt,it,nt]}],saturate:[{saturate:[xt,it,nt]}],sepia:[{sepia:["",xt,it,nt]}],"backdrop-filter":[{"backdrop-filter":["","none",it,nt]}],"backdrop-blur":[{"backdrop-blur":Ft()}],"backdrop-brightness":[{"backdrop-brightness":[xt,it,nt]}],"backdrop-contrast":[{"backdrop-contrast":[xt,it,nt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xt,it,nt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xt,it,nt]}],"backdrop-invert":[{"backdrop-invert":["",xt,it,nt]}],"backdrop-opacity":[{"backdrop-opacity":[xt,it,nt]}],"backdrop-saturate":[{"backdrop-saturate":[xt,it,nt]}],"backdrop-sepia":[{"backdrop-sepia":["",xt,it,nt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"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:[xt,"initial",it,nt]}],ease:[{ease:["linear","initial",N,it,nt]}],delay:[{delay:[xt,it,nt]}],animate:[{animate:["none",V,it,nt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,it,nt]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Dt()}],"rotate-x":[{"rotate-x":Dt()}],"rotate-y":[{"rotate-y":Dt()}],"rotate-z":[{"rotate-z":Dt()}],scale:[{scale:He()}],"scale-x":[{"scale-x":He()}],"scale-y":[{"scale-y":He()}],"scale-z":[{"scale-z":He()}],"scale-3d":["scale-3d"],skew:[{skew:dn()}],"skew-x":[{"skew-x":dn()}],"skew-y":[{"skew-y":dn()}],transform:[{transform:[it,nt,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:hn()}],"translate-x":[{"translate-x":hn()}],"translate-y":[{"translate-y":hn()}],"translate-z":[{"translate-z":hn()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}
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"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"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",...k()]}],"stroke-w":[{stroke:[xt,no,Ji,Sf]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},O2=l2(R2);function ke(...e){return O2(Bb(e))}const N2=mC,Wb=w.forwardRef(({className:e,...i},s)=>b.jsx(Db,{ref:s,className:ke("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}));Wb.displayName=Db.displayName;const D2=pC("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"}}),tx=w.forwardRef(({className:e,variant:i,...s},r)=>
9b.jsx(jb,{ref:r,className:ke(D2({variant:i}),e),...s}));tx.displayName=jb.displayName;const j2=w.forwardRef(({className:e,...i},s)=>b.jsx(Lb,{ref:s,className:ke("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}));j2.displayName=Lb.displayName;const ex=w.forwardRef(({className:e,...i},s)=>b.jsx(Vb,{ref:s,className:ke("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...i,children:b.jsx(HC,{className:"h-4 w-4"})}));ex.displayName=Vb.displayName;const nx=w.forwardRef(({className:e,...i},s)=>b.jsx(_b,{ref:s,className:ke("text-sm font-semibold",e),...i}));nx.displayName=_b.displayName;const ix=w.forwardRef(({className:e,...i},s)=>b.jsx(zb,{ref:s,className:ke("text-sm opacity-90",e),...i}));ix.displayName=zb.displayName;function _2(){const{toasts:e}=pA();return b.jsxs(N2,{children:[e.map(function({id:i,title:s,description:r,action:l,...u}){return b.jsxs(tx,{...u,children:[b.jsxs("div",{className:"grid gap-1",children:[s&&b.jsx(nx,{children:s}),r&&b.jsx(ix,{children:r})]}),l,b.jsx(ex,{})]},i)}),b.jsx(Wb,{})]})}const z2=["top","right","bottom","left"],Mi=Math.min,Ue=Math.max,pl=Math.round,Wr=Math.floor,bn=e=>({x:e,y:e}),L2={left:"right",right:"left",bottom:"top",top:"bottom"},V2={start:"end",end:"start"};function Jf(e,i,s){return Ue(e,Mi(i,s))}function Fn(e,i){return typeof e=="function"?e(i):e}function Qn(e){return e.split("-")[0]}function is(e){return e.split("-")[1]}function Ud(e){return e==="x"?"y":"x"}function Bd(e){return e==="y"?"height":"width"}const U2=new Set(["top","bottom"]);function vn(e){return U2.has(Qn(e))?"y":"x"}function kd(e){return Ud(vn(e))}function B2(e,i,s){s===void 0&&(s=!1);const r=is(e),l=kd(e),u=Bd(l);let f=l==="x"?r===(s?"end":"start")?"right":"left":r==="start"?"bottom":"top";return i.reference[u]>i.floating[u]&&(f=yl(f)),[f,yl(f)]}function k2(e){const i=yl(e);return[Wf(e),i,Wf(i)]}function Wf(e){return e.replace(/start|end/g,i=>V2[i])}const yv=["left","right"],gv=["right","left"],H2=["top","bottom"],P2=["bottom","top"];function G2(e,i,s){switch(e){case"top":case"bottom":return s?i?gv:yv:i?yv:gv;case"left":case"right":return i?H2:P2;default:return[]}}function q2(e,i,s,r){const l=is(e);let u=G2(Qn(e),s==="start",r);return l&&(u=u.map(f=>f+"-"+l),i&&(u=u.concat(u.map(Wf)))),u}function yl(e){return e.replace(/left|right|bottom|top/g,i=>L2[i])}function Y2(e){return{top:0,right:0,bottom:0,left:0,...e}}function ax(e){return typeof e!="number"?Y2(e):{top:e,right:e,bottom:e,left:e}}function gl(e){const{x:i,y:s,width:r,height:l}=e;return{width:r,height:l,top:s,left:i,right:i+r,bottom:s+l,x:i,y:s}}function vv(e,i,s){let{reference:r,floating:l}=e;const u=vn(i),f=kd(i),m=Bd(f),p=Qn(i),h=u==="y",y=r.x+r.width/2-l.width/2,v=r.y+r.height/2-l.height/2,x=r[m]/2-l[m]/2;let T;switch(p){case"top":T={x:y,y:r.y-l.height};break;case"bottom":T={x:y,y:r.y+r.height};break;case"right":T={x:r.x+r.width,y:v};break;case"left":T={x:r.x-l.width,y:v};break;default:T={x:r.x,y:r.y}}switch(is(i)){case"start":T[f]-=x*(s&&h?-1:1);break;case"end":T[f]+=x*(s&&h?-1:1);break}return T}const F2=async(e,i,s)=>{const{placement:r="bottom",strategy:l="absolute",middleware:u=[],platform:f}=s,m=u.filter(Boolean),p=await(f.isRTL==null?void 0:f.isRTL(i));let h=await f.getElementRects({reference:e,floating:i,strategy:l}),{x:y,y:v}=vv(h,r,p),x=r,T={},A=0;for(let E=0;E<m.length;E++){const{name:M,fn:N}=m[E],{x:V,y:j,data:q,reset:P}=await N({x:y,y:v,initialPlacement:r,placement:x,strategy:l,middlewareData:T,rects:h,platform:f,elements:{reference:e,floating:i}});y=V??y,v=j??v,T={...T,[M]:{...T[M],...q}},P&&A<=50&&(A++,typeof P=="object"&&(P.placement&&(x=P.placement),P.rects&&(h=P.rects===!0?await f.getElementRects({reference:e,floating:i,strategy:l}):P.rects),{x:y,y:v}
vendor: 13,758 bytes, line 9
9=vv(h,x,p)),E=-1)}return{x:y,y:v,placement:x,strategy:l,middlewareData:T}};async function mo(e,i){var s;i===void 0&&(i={});const{x:r,y:l,platform:u,rects:f,elements:m,strategy:p}=e,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:x=!1,padding:T=0}=Fn(i,e),A=ax(T),M=m[x?v==="floating"?"reference":"floating":v],N=gl(await u.getClippingRect({element:(s=await(u.isElement==null?void 0:u.isElement(M)))==null||s?M:M.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(m.floating)),boundary:h,rootBoundary:y,strategy:p})),V=v==="floating"?{x:r,y:l,width:f.floating.width,height:f.floating.height}:f.reference,j=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m.floating)),q=await(u.isElement==null?void 0:u.isElement(j))?await(u.getScale==null?void 0:u.getScale(j))||{x:1,y:1}:{x:1,y:1},P=gl(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:V,offsetParent:j,strategy:p}):V);return{top:(N.top-P.top+A.top)/q.y,bottom:(P.bottom-N.bottom+A.bottom)/q.y,left:(N.left-P.left+A.left)/q.x,right:(P.right-N.right+A.right)/q.x}}const Q2=e=>({name:"arrow",options:e,async fn(i){const{x:s,y:r,placement:l,rects:u,platform:f,elements:m,middlewareData:p}=i,{element:h,padding:y=0}=Fn(e,i)||{};if(h==null)return{};const v=ax(y),x={x:s,y:r},T=kd(l),A=Bd(T),E=await f.getDimensions(h),M=T==="y",N=M?"top":"left",V=M?"bottom":"right",j=M?"clientHeight":"clientWidth",q=u.reference[A]+u.reference[T]-x[T]-u.floating[A],P=x[T]-u.reference[T],Z=await(f.getOffsetParent==null?void 0:f.getOffsetParent(h));let G=Z?Z[j]:0;(!G||!await(f.isElement==null?void 0:f.isElement(Z)))&&(G=m.floating[j]||u.floating[A]);const U=q/2-P/2,J=G/2-E[A]/2-1,ot=Mi(v[N],J),ut=Mi(v[V],J),ft=ot,bt=G-E[A]-ut,W=G/2-E[A]/2+U,mt=Jf(ft,W,bt),_=!p.arrow&&is(l)!=null&&W!==mt&&u.reference[A]/2-(W<ft?ot:ut)-E[A]/2<0,Y=_?W<ft?W-ft:W-bt:0;return{[T]:x[T]+Y,data:{[T]:mt,centerOffset:W-mt-Y,..._&&{alignmentOffset:Y}},reset:_}}}),X2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(i){var s,r;const{placement:l,middlewareData:u,rects:f,initialPlacement:m,platform:p,elements:h}=i,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:x,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:E=!0,...M}=Fn(e,i);if((s=u.arrow)!=null&&s.alignmentOffset)return{};const N=Qn(l),V=vn(m),j=Qn(m)===m,q=await(p.isRTL==null?void 0:p.isRTL(h.floating)),P=x||(j||!E?[yl(m)]:k2(m)),Z=A!=="none";!x&&Z&&P.push(...q2(m,E,A,q));const G=[m,...P],U=await mo(i,M),J=[];let ot=((r=u.flip)==null?void 0:r.overflows)||[];if(y&&J.push(U[N]),v){const W=B2(l,f,q);J.push(U[W[0]],U[W[1]])}if(ot=[...ot,{placement:l,overflows:J}],!J.every(W=>W<=0)){var ut,ft;const W=(((ut=u.flip)==null?void 0:ut.index)||0)+1,mt=G[W];if(mt&&(!(v==="alignment"?V!==vn(mt):!1)||ot.every(k=>vn(k.placement)===V?k.overflows[0]>0:!0)))return{data:{index:W,overflows:ot},reset:{placement:mt}};let _=(ft=ot.filter(Y=>Y.overflows[0]<=0).sort((Y,k)=>Y.overflows[1]-k.overflows[1])[0])==null?void 0:ft.placement;if(!_)switch(T){case"bestFit":{var bt;const Y=(bt=ot.filter(k=>{if(Z){const at=vn(k.placement);return at===V||at==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(at=>at>0).reduce((at,dt)=>at+dt,0)]).sort((k,at)=>k[1]-at[1])[0])==null?void 0:bt[0];Y&&(_=Y);break}case"initialPlacement":_=m;break}if(l!==_)return{reset:{placement:_}}}return{}}}};function bv(e,i){return{top:e.top-i.height,right:e.right-i.width,bottom:e.bottom-i.height,left:e.left-i.width}}function xv(e){return z2.some(i=>e[i]>=0)}const K2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(i){const{rects:s}=i,{strategy:r="referenceHidden",...l}=Fn(e,i);switch(r){case"referenceHidden":{const u=await mo(i,{...l,elementContext:"reference"}),f=bv(u,s.reference);return{data:{referenceHiddenOffsets:f,referenceHidden:xv(f)}}}case"escaped":{const u=await mo(i,{...l,altBoundary:!0}),f=bv(u,s.floating);return{data:{escapedOffsets:f,escaped:xv(f)}}}default:return{}}}}},sx=new Set(["left","top"]);async function Z2(e,i){const{placement:s,platform:r,elements:l}=e,u=await(r.isRTL==null?void 0:r.isRTL(l.floating)),f=Qn(s),m=is(s),p=vn(s)==="y",h=sx.has(f)?-1:1,y=u&&p?-1:1,v=Fn(i,e);let{mainAxis:x,crossAxis:T,alignmentAxis:A}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return m&&typeof A=="number"&&(T=m==="end"?A*-1:A),p?{x:T*y,y:x*h}:{x:x*h,y:T*y}}const I2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(i){var s,r;const{x:l,y:u,placement:f,middlewareData:m}=i,p=await Z2(i,e);return f===((s=m.offset)==null?void 0:s.placement)&&(r=m.arrow)!=null&&r.alignmentOffset?{}:{x:l+p.x,y:u+p.y,data:{...p,placement:f}}}}},$2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(i){const{x:s,y:r,placement:l}=i,{mainAxis:u=!0,crossAxis:f=!1,limiter:m={fn:M=>{let{x:N,y:V}=M;return{x:N,y:V}}},...p}=Fn(e,i),h={x:s,y:r},y=await mo(i,p),v=vn(Qn(l)),x=Ud(v);let T=h[x],A=h[v];if(u){const M=x==="y"?"top":"left",N=x==="y"?"bottom":"right",V=T+y[M],j=T-y[N];T=Jf(V,T,j)}if(f){const M=v==="y"?"top":"left",N=v==="y"?"bottom":"right",V=A+y[M],j=A-y[N];A=Jf(V,A,j)}const E=m.fn({...i,[x]:T,[v]:A});return{...E,data:{x:E.x-s,y:E.y-r,enabled:{[x]:u,[v]:f}}}}}},J2=function(e){return e===void 0&&(e={}),{options:e,fn(i){const{x:s,y:r,placement:l,rects:u,middlewareData:f}=i,{offset:m=0,mainAxis:p=!0,crossAxis:h=!0}=Fn(e,i),y={x:s,y:r},v=vn(l),x=Ud(v);let T=y[x],A=y[v];const E=Fn(m,i),M=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(p){const j=x==="y"?"height":"width",q=u.reference[x]-u.floating[j]+M.mainAxis,P=u.reference[x]+u.reference[j]-M.mainAxis;T<q?T=q:T>P&&(T=P)}if(h){var N,V;const j=x==="y"?"width":"height",q=sx.has(Qn(l)),P=u.reference[v]-u.floating[j]+(q&&((N=f.offset)==null?void 0:N[v])||0)+(q?0:M.crossAxis),Z=u.reference[v]+u.reference[j]+(q?0:((V=f.offset)==null?void 0:V[v])||0)-(q?M.crossAxis:0);A<P?A=P:A>Z&&(A=Z)}return{[x]:T,[v]:A}}}},W2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(i){var s,r;const{placement:l,rects:u,platform:f,elements:m}=i,{apply:p=()=>{},...h}=Fn(e,i),y=await mo(i,h),v=Qn(l),x=is(l),T=vn(l)==="y",{width:A,height:E}=u.floating;let M,N;v==="top"||v==="bottom"?(M=v,N=x===(await(f.isRTL==null?void 0:f.isRTL(m.floating))?"start":"end")?"left":"right"):(N=v,M=x==="end"?"top":"bottom");const V=E-y.top-y.bottom,j=A-y.left-y.right,q=Mi(E-y[M],V),P=Mi(A-y[N],j),Z=!i.middlewareData.shift;let G=q,U=P;if((s=i.middlewareData.shift)!=null&&s.enabled.x&&(U=j),(r=i.middlewareData.shift)!=null&&r.enabled.y&&(G=V),Z&&!x){const ot=Ue(y.left,0),ut=Ue(y.right,0),ft=Ue(y.top,0),bt=Ue(y.bottom,0);T?U=A-2*(ot!==0||ut!==0?ot+ut:Ue(y.left,y.right)):G=E-2*(ft!==0||bt!==0?ft+bt:Ue(y.top,y.bottom))}await p({...i,availableWidth:U,availableHeight:G});const J=await f.getDimensions(m.floating);return A!==J.width||E!==J.height?{reset:{rects:!0}}:{}}}};function Ll(){return typeof window<"u"}function as(e){return ox(e)?(e.nodeName||"").toLowerCase():"#document"}function Be(e){var i;return(e==null||(i=e.ownerDocument)==null?void 0:i.defaultView)||window}function Tn(e){var i;return(i=(ox(e)?e.ownerDocument:e.document)||window.document)==null?void 0:i.documentElement}function ox(e){return Ll()?e instanceof Node||e instanceof Be(e).Node:!1}function cn(e){return Ll()?e instanceof Element||e instanceof Be(e).Element:!1}function Sn(e){return Ll()?e instanceof HTMLElement||e instanceof Be(e).HTMLElement:!1}function Sv(e){return!Ll()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Be(e).ShadowRoot}const tM=new Set(["inline","contents"]);function Eo(e){const{overflow:i,overflowX:s,overflowY:r,display:l}=un(e);return/auto|scroll|overlay|hidden|clip/.test(i+r+s)&&!tM.has(l)}const eM=new Set(["table","td","th"]);function nM(e){return eM.has(as(e))}const iM=[":popover-open",":modal"];function Vl(e){return iM.some(i=>{try{return e.matches(i)}catch{return!1}})}const aM=["transform","translate","scale","rotate","perspective"],sM=["transform","translate","scale","rotate","perspective","filter"],oM=["paint","layout","strict","content"];function Hd(e){const i=Pd(),s=cn(e)?un(e):e;return aM.some(r=>s[r]?s[r]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!i&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!i&&(s.filter?s.filter!=="none":!1)||sM.some(r=>(s.willChange||"").includes(r))||oM.some(r=>(s.contain||"").includes(r))}function rM(e){let i=Ri(e);for(;Sn(i)&&!Ja(i);){if(Hd(i))return i;if(Vl(i))return null;i=Ri(i)}return null}function Pd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const lM=new Set(["html","body","#document"]);function Ja(e){return lM.has(as(e))}function un(e){return Be(e).getComputedStyle(e)}function Ul(e){return cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ri(e){if(as(e)==="html")return e;const i=e.assignedSlot||e.parentNode||Sv(e)&&e.host||Tn(e);return Sv(i)?i.host:i}function rx(e){const i=Ri(e);return Ja(i)?e.ownerDocument?e.ownerDocument.body:e.body:Sn(i)&&Eo(i)?i:rx(i)}function po(e,i,s){var r;i===void 0&&(i=[]),s===void 0&&(s=!0);const l=rx(e),u=l===((r=e.ownerDocument)==null?void 0:r.body),f=Be(l);if(u){const m=td(f);return i.concat(f,f.visualViewport||[],Eo(l)?l:[],m&&s?po(m):[])}return i.concat(l,po(l,[],s))}function td(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lx(e){const i=un(e);let s=parseFloat(i.width)||0,r=parseFloat(i.height)||0;const l=Sn(e),u=l?e.offsetWidth:s,f=l?e.offsetHeight:r,m=pl(s)!==u||pl(r)!==f;return m&&(s=u,r=f),{width:s,height:r,$:m}}function Gd(e){return cn(e)?e:e.contextElement}function Ia(e){const i=Gd(e);if(!Sn(i))return bn(1);const s=i.getBoundingClientRect(),{width:r,height:l,$:u}=lx(i);let f=(u?pl(s.width):s.width)/r,m=(u?pl(s.height):s.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!m||!Number.isFinite(m))&&(m=1),{x:f,y:m}}const cM=bn(0);function cx(e){const i=Be(e);return!Pd()||!i.visualViewport?cM:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function uM(e,i,s){return i===void 0&&(i=!1),!s||i&&s!==Be(e)?!1:i}function oa(e,i,s,r){i===void 0&&(i=!1),s===void 0&&(s=!1);const l=e.getBoundingClientRect(),u=Gd(e);let f=bn(1);i&&(r?cn(r)&&(f=Ia(r)):f=Ia(e));const m=uM(u,s,r)?cx(u):bn(0);let p=(l.left+m.x)/f.x,h=(l.top+m.y)/f.y,y=l.width/f.x,v=l.height/f.y;if(u){const x=Be(u),T=r&&cn(r)?Be(r):r;let A=x,E=td(A);for(;E&&r&&T!==A;){const M=Ia(E),N=E.getBoundingClientRect(),V=un(E),j=N.left+(E.clientLeft+parseFloat(V.paddingLeft))*M.x,q=N.top+(E.clientTop+parseFloat(V.paddingTop))*M.y;p*=M.x,h*=M.y,y*=M.x,v*=M.y,p+=j,h+=q,A=Be(E),E=td(A)}}return gl({width:y,height:v,x:p,y:h})}function Bl(e,i){const s=Ul(e).scrollLeft;return i?i.left+s:oa(Tn(e)).left+s}function ux(e,i){const s=e.getBoundingClientRect(),r=s.left+i.scrollLeft-Bl(e,s),l=s.top+i.scrollTop;return{x:r,y:l}}function fM(e){let{elements:i,rect:s,offsetParent:r,strategy:l}=e;const u=l==="fixed",f=Tn(r),m=i?Vl(i.floating):!1;if(r===f||m&&u)return s;let p={scrollLeft:0,scrollTop:0},h=bn(1);const y=bn(0),v=Sn(r);if((v||!v&&!u)&&((as(r)!=="body"||Eo(f))&&(p=Ul(r)),Sn(r))){const T=oa(r);h=Ia(r),y.x=T.x+r.clientLeft,y.y=T.y+r.clientTop}const x=f&&!v&&!u?ux(f,p):bn(0);return{width:s.width*h.x,height:s.height*h.y,x:s.x*h.x-p.scrollLeft*h.x+y.x+x.x,y:s.y*h.y-p.scrollTop*h.y+y.y+x.y}}function dM(e){return Array.from(e.getClientRects())}function hM(e){const i=Tn(e),s=Ul(e),r=e.ownerDocument.body,l=Ue(i.scrollWidth,i.clientWidth,r.scrollWidth,r.clientWidth),u=Ue(i.scrollHeight,i.clientHeight,r.scrollHeight,r.clientHeight);let f=-s.scrollLeft+Bl(e);const m=-s.scrollTop;return un(r).direction==="rtl"&&(f+=Ue(i.clientWidth,r.clientWidth)-l),{width:l,height:u,x:f,y:m}}const wv=25;function mM(e,i){const s=Be(e),r=Tn(e),l=s.visualViewport;let u=r.clientWidth,f=r.clientHeight,m=0,p=0;if(l){u=l.width,f=l.height;const y=Pd();(!y||y&&i==="fixed")&&(m=l.offsetLeft,p=l.offsetTop)}const h=Bl(r);if(h<=0){const y=r.ownerDocument,v=y.body,x=getComputedStyle(v),T=y.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,A=Math.abs(r.clientWidth-v.clientWidth-T);A<=wv&&(u-=A)}else h<=wv&&(u+=h);return{width:u,height:f,x:m,y:p}}const pM=new Set(["absolute","fixed"]);function yM(e,i){const s=oa(e,!0,i==="fixed"),r=s.top+e.clientTop,l=s.left+e.clientLeft,u=Sn(e)?Ia(e):bn(1),f=e.clientWidth*u.x,m=e.clientHeight*u.y,p=l*u.x,h=r*u.y;return{width:f,height:m,x:p,y:h}}function Tv(e,i,s){let r;if(i==="viewport")r=mM(e,s);else if(i==="document")r=hM(Tn(e));else if(cn(i))r=yM(i,s);else{const l=cx(e);r={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return gl(r)}function fx(e,i){const s=Ri(e);return s===i||!cn(s)||Ja(s)?!1:un(s).position==="fixed"||fx(s,i)}function gM(e,i){const s=i.get(e);if(s)return s;let r=po(e,[],!1).filter(m=>cn(m)&&as(m)!=="body"),l=null;const u=un(e).position==="fixed";let f=u?Ri(e):e;for(;cn(f)&&!Ja(f);){const m=un(f),p=Hd(f);!p&&m.position==="fixed"&&(l=null),(u?!p&&!l:!p&&m.position==="static"&&!!l&&pM.has(l.position)||Eo(f)&&!p&&fx(e,f))?r=r.filter(y=>y!==f):l=m,f=Ri(f)}return i.set(e,r),r}function vM(e){let{element:i,boundary:s,rootBoundary:r,strategy:l}=e;const f=[...s==="clippingAncestors"?Vl(i)?[]:gM(i,this._c):[].concat(s),r],m=f[0],p=f.reduce((h,y)=>{const v=Tv(i,y,l);return h.top=Ue(v.top,h.top),h.right=Mi(v.right,h.right),h.bottom=Mi(v.bottom,h.bottom),h.left=Ue(v.left,h.left),h},Tv(i,m,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function bM(e){const{width:i,height:s}=lx(e);return{width:i,height:s}}
vendor: 4,572 bytes, line 9
9function xM(e,i,s){const r=Sn(i),l=Tn(i),u=s==="fixed",f=oa(e,!0,u,i);let m={scrollLeft:0,scrollTop:0};const p=bn(0);function h(){p.x=Bl(l)}if(r||!r&&!u)if((as(i)!=="body"||Eo(l))&&(m=Ul(i)),r){const T=oa(i,!0,u,i);p.x=T.x+i.clientLeft,p.y=T.y+i.clientTop}else l&&h();u&&!r&&l&&h();const y=l&&!r&&!u?ux(l,m):bn(0),v=f.left+m.scrollLeft-p.x-y.x,x=f.top+m.scrollTop-p.y-y.y;return{x:v,y:x,width:f.width,height:f.height}}function wf(e){return un(e).position==="static"}function Ev(e,i){if(!Sn(e)||un(e).position==="fixed")return null;if(i)return i(e);let s=e.offsetParent;return Tn(e)===s&&(s=s.ownerDocument.body),s}function dx(e,i){const s=Be(e);if(Vl(e))return s;if(!Sn(e)){let l=Ri(e);for(;l&&!Ja(l);){if(cn(l)&&!wf(l))return l;l=Ri(l)}return s}let r=Ev(e,i);for(;r&&nM(r)&&wf(r);)r=Ev(r,i);return r&&Ja(r)&&wf(r)&&!Hd(r)?s:r||rM(e)||s}const SM=async function(e){const i=this.getOffsetParent||dx,s=this.getDimensions,r=await s(e.floating);return{reference:xM(e.reference,await i(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function wM(e){return un(e).direction==="rtl"}const TM={convertOffsetParentRelativeRectToViewportRelativeRect:fM,getDocumentElement:Tn,getClippingRect:vM,getOffsetParent:dx,getElementRects:SM,getClientRects:dM,getDimensions:bM,getScale:Ia,isElement:cn,isRTL:wM};function hx(e,i){return e.x===i.x&&e.y===i.y&&e.width===i.width&&e.height===i.height}function EM(e,i){let s=null,r;const l=Tn(e);function u(){var m;clearTimeout(r),(m=s)==null||m.disconnect(),s=null}function f(m,p){m===void 0&&(m=!1),p===void 0&&(p=1),u();const h=e.getBoundingClientRect(),{left:y,top:v,width:x,height:T}=h;if(m||i(),!x||!T)return;const A=Wr(v),E=Wr(l.clientWidth-(y+x)),M=Wr(l.clientHeight-(v+T)),N=Wr(y),j={rootMargin:-A+"px "+-E+"px "+-M+"px "+-N+"px",threshold:Ue(0,Mi(1,p))||1};let q=!0;function P(Z){const G=Z[0].intersectionRatio;if(G!==p){if(!q)return f();G?f(!1,G):r=setTimeout(()=>{f(!1,1e-7)},1e3)}G===1&&!hx(h,e.getBoundingClientRect())&&f(),q=!1}try{s=new IntersectionObserver(P,{...j,root:l.ownerDocument})}catch{s=new IntersectionObserver(P,j)}s.observe(e)}return f(!0),u}function AM(e,i,s,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,h=Gd(e),y=l||u?[...h?po(h):[],...po(i)]:[];y.forEach(N=>{l&&N.addEventListener("scroll",s,{passive:!0}),u&&N.addEventListener("resize",s)});const v=h&&m?EM(h,s):null;let x=-1,T=null;f&&(T=new ResizeObserver(N=>{let[V]=N;V&&V.target===h&&T&&(T.unobserve(i),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var j;(j=T)==null||j.observe(i)})),s()}),h&&!p&&T.observe(h),T.observe(i));let A,E=p?oa(e):null;p&&M();function M(){const N=oa(e);E&&!hx(E,N)&&s(),E=N,A=requestAnimationFrame(M)}return s(),()=>{var N;y.forEach(V=>{l&&V.removeEventListener("scroll",s),u&&V.removeEventListener("resize",s)}),v?.(),(N=T)==null||N.disconnect(),T=null,p&&cancelAnimationFrame(A)}}const CM=I2,MM=$2,RM=X2,OM=W2,NM=K2,Av=Q2,DM=J2,jM=(e,i,s)=>{const r=new Map,l={platform:TM,...s},u={...l.platform,_c:r};return F2(e,i,{...l,platform:u})};var _M=typeof document<"u",zM=function(){},ol=_M?w.useLayoutEffect:zM;function vl(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 s,r,l;if(e&&i&&typeof e=="object"){if(Array.isArray(e)){if(s=e.length,s!==i.length)return!1;for(r=s;r--!==0;)if(!vl(e[r],i[r]))return!1;return!0}if(l=Object.keys(e),s=l.length,s!==Object.keys(i).length)return!1;for(r=s;r--!==0;)if(!{}.hasOwnProperty.call(i,l[r]))return!1;for(r=s;r--!==0;){const u=l[r];if(!(u==="_owner"&&e.$$typeof)&&!vl(e[u],i[u]))return!1}return!0}return e!==e&&i!==i}function mx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Cv(e,i){const s=mx(e);return Math.round(i*s)/s}function Tf(e){const i=w.useRef(e);return ol(()=>{i.current=e}),i}function LM(e){e===void 0&&(e={});const{placement:i="bottom",strategy:s="absolute",middleware:r=[],platform:l,elements:{reference:u,floating:f}={},transform:m=!0,whileElementsMounted:p,open:h}=e,[y,v]=w.useState({x:0,y:0,strategy:s,placement:i,middlewareData:{},isPositioned:!1}),[x,T]=w.useState(r);vl(x,r)||T(r);const[A,E]=w.useState(null),[M,N]=w.useState(null),V=w.useCallback(k=>{k!==Z.current&&(Z.current=k,E(k))},[]),j=w.useCallback(k=>{k!==G.current&&(G.current=k,N(k))},[]),q=u||A,P=f||M,Z=w.useRef(null),G=w.useRef(null),U=w.useRef(y),J=p!=null,ot=Tf(p),ut=Tf(l),ft=Tf(h),bt=w.useCallback(()=>
vendor: 9,883 bytes, line 9
9{if(!Z.current||!G.current)return;const k={placement:i,strategy:s,middleware:x};ut.current&&(k.platform=ut.current),jM(Z.current,G.current,k).then(at=>{const dt={...at,isPositioned:ft.current!==!1};W.current&&!vl(U.current,dt)&&(U.current=dt,Nl.flushSync(()=>{v(dt)}))})},[x,i,s,ut,ft]);ol(()=>{h===!1&&U.current.isPositioned&&(U.current.isPositioned=!1,v(k=>({...k,isPositioned:!1})))},[h]);const W=w.useRef(!1);ol(()=>(W.current=!0,()=>{W.current=!1}),[]),ol(()=>{if(q&&(Z.current=q),P&&(G.current=P),q&&P){if(ot.current)return ot.current(q,P,bt);bt()}},[q,P,bt,ot,J]);const mt=w.useMemo(()=>({reference:Z,floating:G,setReference:V,setFloating:j}),[V,j]),_=w.useMemo(()=>({reference:q,floating:P}),[q,P]),Y=w.useMemo(()=>{const k={position:s,left:0,top:0};if(!_.floating)return k;const at=Cv(_.floating,y.x),dt=Cv(_.floating,y.y);return m?{...k,transform:"translate("+at+"px, "+dt+"px)",...mx(_.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:at,top:dt}},[s,m,_.floating,y.x,y.y]);return w.useMemo(()=>({...y,update:bt,refs:mt,elements:_,floatingStyles:Y}),[y,bt,mt,_,Y])}const VM=e=>{function i(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:e,fn(s){const{element:r,padding:l}=typeof e=="function"?e(s):e;return r&&i(r)?r.current!=null?Av({element:r.current,padding:l}).fn(s):{}:r?Av({element:r,padding:l}).fn(s):{}}}},UM=(e,i)=>({...CM(e),options:[e,i]}),BM=(e,i)=>({...MM(e),options:[e,i]}),kM=(e,i)=>({...DM(e),options:[e,i]}),HM=(e,i)=>({...RM(e),options:[e,i]}),PM=(e,i)=>({...OM(e),options:[e,i]}),GM=(e,i)=>({...NM(e),options:[e,i]}),qM=(e,i)=>({...VM(e),options:[e,i]});var YM="Arrow",px=w.forwardRef((e,i)=>{const{children:s,width:r=10,height:l=5,...u}=e;return b.jsx(Ce.svg,{...u,ref:i,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?s:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});px.displayName=YM;var FM=px;function QM(e){const[i,s]=w.useState(void 0);return Ci(()=>{if(e){s({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let f,m;if("borderBoxSize"in u){const p=u.borderBoxSize,h=Array.isArray(p)?p[0]:p;f=h.inlineSize,m=h.blockSize}else f=e.offsetWidth,m=e.offsetHeight;s({width:f,height:m})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else s(void 0)},[e]),i}var yx="Popper",[gx,vx]=Dl(yx),[Jj,bx]=gx(yx),xx="PopperAnchor",Sx=w.forwardRef((e,i)=>{const{__scopePopper:s,virtualRef:r,...l}=e,u=bx(xx,s),f=w.useRef(null),m=ln(i,f),p=w.useRef(null);return w.useEffect(()=>{const h=p.current;p.current=r?.current||f.current,h!==p.current&&u.onAnchorChange(p.current)}),r?null:b.jsx(Ce.div,{...l,ref:m})});Sx.displayName=xx;var qd="PopperContent",[XM,KM]=gx(qd),wx=w.forwardRef((e,i)=>{const{__scopePopper:s,side:r="bottom",sideOffset:l=0,align:u="center",alignOffset:f=0,arrowPadding:m=0,avoidCollisions:p=!0,collisionBoundary:h=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:x=!1,updatePositionStrategy:T="optimized",onPlaced:A,...E}=e,M=bx(qd,s),[N,V]=w.useState(null),j=ln(i,rt=>V(rt)),[q,P]=w.useState(null),Z=QM(q),G=Z?.width??0,U=Z?.height??0,J=r+(u!=="center"?"-"+u:""),ot=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ut=Array.isArray(h)?h:[h],ft=ut.length>0,bt={padding:ot,boundary:ut.filter(IM),altBoundary:ft},{refs:W,floatingStyles:mt,placement:_,isPositioned:Y,middlewareData:k}=LM({strategy:"fixed",placement:J,whileElementsMounted:(...rt)=>AM(...rt,{animationFrame:T==="always"}),elements:{reference:M.anchor},middleware:[UM({mainAxis:l+U,alignmentAxis:f}),p&&BM({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?kM():void 0,...bt}),p&&HM({...bt}),PM({...bt,apply:({elements:rt,rects:Ft,availableWidth:Dt,availableHeight:He})=>{const{width:dn,height:hn}=Ft.reference,ji=rt.floating.style;ji.setProperty("--radix-popper-available-width",`${Dt}px`),ji.setProperty("--radix-popper-available-height",`${He}px`),ji.setProperty("--radix-popper-anchor-width",`${dn}px`),ji.setProperty("--radix-popper-anchor-height",`${hn}px`)}}),q&&qM({element:q,padding:m}),$M({arrowWidth:G,arrowHeight:U}),x&&GM({strategy:"referenceHidden",...bt})]}),[at,dt]=Ax(_),R=Ai(A);Ci(()=>{Y&&R?.()},[Y,R]);const Q=k.arrow?.x,I=k.arrow?.y,$=k.arrow?.centerOffset!==0,[ht,yt]=w.useState();return Ci(()=>{N&&yt(window.getComputedStyle(N).zIndex)},[N]),b.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...mt,transform:Y?mt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ht,"--radix-popper-transform-origin":[k.transformOrigin?.x,k.transformOrigin?.y].join(" "),...k.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:b.jsx(XM,{scope:s,placedSide:at,onArrowChange:P,arrowX:Q,arrowY:I,shouldHideArrow:$,children:b.jsx(Ce.div,{"data-side":at,"data-align":dt,...E,ref:j,style:{...E.style,animation:Y?void 0:"none"}})})})});wx.displayName=qd;var Tx="PopperArrow",ZM={top:"bottom",right:"left",bottom:"top",left:"right"},Ex=w.forwardRef(function(i,s){const{__scopePopper:r,...l}=i,u=KM(Tx,r),f=ZM[u.placedSide];return b.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:b.jsx(FM,{...l,ref:s,style:{...l.style,display:"block"}})})});Ex.displayName=Tx;function IM(e){return e!==null}var $M=e=>({name:"transformOrigin",options:e,fn(i){const{placement:s,rects:r,middlewareData:l}=i,f=l.arrow?.centerOffset!==0,m=f?0:e.arrowWidth,p=f?0:e.arrowHeight,[h,y]=Ax(s),v={start:"0%",center:"50%",end:"100%"}[y],x=(l.arrow?.x??0)+m/2,T=(l.arrow?.y??0)+p/2;let A="",E="";return h==="bottom"?(A=f?v:`${x}px`,E=`${-p}px`):h==="top"?(A=f?v:`${x}px`,E=`${r.floating.height+p}px`):h==="right"?(A=`${-p}px`,E=f?v:`${T}px`):h==="left"&&(A=`${r.floating.width+p}px`,E=f?v:`${T}px`),{data:{x:A,y:E}}}});function Ax(e){const[i,s="center"]=e.split("-");return[i,s]}var JM=Sx,WM=wx,tR=Ex,eR=Symbol("radix.slottable");function nR(e){const i=({children:s})=>b.jsx(b.Fragment,{children:s});return i.displayName=`${e}.Slottable`,i.__radixId=eR,i}var[kl]=Dl("Tooltip",[vx]),Yd=vx(),Cx="TooltipProvider",iR=700,Mv="tooltip.open",[aR,Mx]=kl(Cx),Rx=e=>{const{__scopeTooltip:i,delayDuration:s=iR,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:u}=e,f=w.useRef(!0),m=w.useRef(!1),p=w.useRef(0);return w.useEffect(()=>{const h=p.current;return()=>window.clearTimeout(h)},[]),b.jsx(aR,{scope:i,isOpenDelayedRef:f,delayDuration:s,onOpen:w.useCallback(()=>{window.clearTimeout(p.current),f.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>f.current=!0,r)},[r]),isPointerInTransitRef:m,onPointerInTransitChange:w.useCallback(h=>{m.current=h},[]),disableHoverableContent:l,children:u})};Rx.displayName=Cx;var Ox="Tooltip",[Wj,Ao]=kl(Ox),ed="TooltipTrigger",sR=w.forwardRef((e,i)=>{const{__scopeTooltip:s,...r}=e,l=Ao(ed,s),u=Mx(ed,s),f=Yd(s),m=w.useRef(null),p=ln(i,m,l.onTriggerChange),h=w.useRef(!1),y=w.useRef(!1),v=w.useCallback(()=>h.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),b.jsx(JM,{asChild:!0,...f,children:b.jsx(Ce.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:p,onPointerMove:ne(e.onPointerMove,x=>{x.pointerType!=="touch"&&!y.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:ne(e.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:ne(e.onPointerDown,()=>{l.open&&l.onClose(),h.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:ne(e.onFocus,()=>{h.current||l.onOpen()}),onBlur:ne(e.onBlur,l.onClose),onClick:ne(e.onClick,l.onClose)})})});sR.displayName=ed;var Fd="TooltipPortal",[oR,rR]=kl(Fd,{forceMount:void 0}),Nx=e=>{const{__scopeTooltip:i,forceMount:s,children:r,container:l}=e,u=Ao(Fd,i);return b.jsx(oR,{scope:i,forceMount:s,children:b.jsx(jl,{present:s||u.open,children:b.jsx(jd,{asChild:!0,container:l,children:r})})})};Nx.displayName=Fd;var Wa="TooltipContent",Dx=w.forwardRef((e,i)=>{const s=rR(Wa,e.__scopeTooltip),{forceMount:r=s.forceMount,side:l="top",...u}=e,f=Ao(Wa,e.__scopeTooltip);return b.jsx(jl,{present:r||f.open,children:f.disableHoverableContent?b.jsx(jx,{side:l,...u,ref:i}):b.jsx(lR,{side:l,...u,ref:i})})}),lR=w.forwardRef((e,i)=>{const s=Ao(Wa,e.__scopeTooltip),r=Mx(Wa,e.__scopeTooltip),l=w.useRef(null),u=ln(i,l),[f,m]=w.useState(null),{trigger:p,onClose:h}=s,y=l.current,{onPointerInTransitChange:v}=r,x=w.useCallback(()=>{m(null),v(!1)},[v]),T=w.useCallback((A,E)=>{const M=A.currentTarget,N={x:A.clientX,y:A.clientY},V=hR(N,M.getBoundingClientRect()),j=mR(N,V),q=pR(E.getBoundingClientRect()),P=gR([...j,...q]);m(P),v(!0)},[v]);return w.useEffect(()=>()=>x(),[x]),w.useEffect(()=>{if(p&&y){const A=M=>T(M,y),E=M=>T(M,p);return p.addEventListener("pointerleave",A),y.addEventListener("pointerleave",E),()=>{p.removeEventListener("pointerleave",A),y.removeEventListener("pointerleave",E)}}},[p,y,T,x]),w.useEffect(()=>{if(f){const A=E=>{const M=E.target,N={x:E.clientX,y:E.clientY},V=p?.contains(M)||y?.contains(M),j=!yR(N,f);V?x():j&&(x(),h())};return document.addEventListener("pointermove",A),()=>document.removeEventListener("pointermove",A)}},[p,y,f,h,x]),b.jsx(jx,{...e,ref:u})}),[cR,uR]=kl(Ox,{isInside:!1}),fR=nR("TooltipContent"),jx=w.forwardRef((e,i)=>{const{__scopeTooltip:s,children:r,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:f,...m}=e,p=Ao(Wa,s),h=Yd(s),{onClose:y}=p;return w.useEffect(()=>(document.addEventListener(Mv,y),()=>document.removeEventListener(Mv,y)),[y]),w.useEffect(()=>
vendor: 4,611 bytes, line 9
9{if(p.trigger){const v=x=>{x.target?.contains(p.trigger)&&y()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[p.trigger,y]),b.jsx(Dd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:v=>v.preventDefault(),onDismiss:y,children:b.jsxs(WM,{"data-state":p.stateAttribute,...h,...m,ref:i,style:{...m.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[b.jsx(fR,{children:r}),b.jsx(cR,{scope:s,isInside:!0,children:b.jsx(IA,{id:p.contentId,role:"tooltip",children:l||r})})]})})});Dx.displayName=Wa;var _x="TooltipArrow",dR=w.forwardRef((e,i)=>{const{__scopeTooltip:s,...r}=e,l=Yd(s);return uR(_x,s).isInside?null:b.jsx(tR,{...l,...r,ref:i})});dR.displayName=_x;function hR(e,i){const s=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(s,r,l,u)){case u:return"left";case l:return"right";case s:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function mR(e,i,s=5){const r=[];switch(i){case"top":r.push({x:e.x-s,y:e.y+s},{x:e.x+s,y:e.y+s});break;case"bottom":r.push({x:e.x-s,y:e.y-s},{x:e.x+s,y:e.y-s});break;case"left":r.push({x:e.x+s,y:e.y-s},{x:e.x+s,y:e.y+s});break;case"right":r.push({x:e.x-s,y:e.y-s},{x:e.x-s,y:e.y+s});break}return r}function pR(e){const{top:i,right:s,bottom:r,left:l}=e;return[{x:l,y:i},{x:s,y:i},{x:s,y:r},{x:l,y:r}]}function yR(e,i){const{x:s,y:r}=e;let l=!1;for(let u=0,f=i.length-1;u<i.length;f=u++){const m=i[u],p=i[f],h=m.x,y=m.y,v=p.x,x=p.y;y>r!=x>r&&s<(v-h)*(r-y)/(x-y)+h&&(l=!l)}return l}function gR(e){const i=e.slice();return i.sort((s,r)=>s.x<r.x?-1:s.x>r.x?1:s.y<r.y?-1:s.y>r.y?1:0),vR(i)}function vR(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 s=[];for(let r=e.length-1;r>=0;r--){const l=e[r];for(;s.length>=2;){const u=s[s.length-1],f=s[s.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))s.pop();else break}s.push(l)}return s.pop(),i.length===1&&s.length===1&&i[0].x===s[0].x&&i[0].y===s[0].y?i:i.concat(s)}var bR=Rx,xR=Nx,zx=Dx;const SR=bR,wR=w.forwardRef(({className:e,sideOffset:i=4,...s},r)=>b.jsx(xR,{children:b.jsx(zx,{ref:r,sideOffset:i,className:ke("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),...s})}));wR.displayName=zx.displayName;const Lx=w.forwardRef(({className:e,...i},s)=>b.jsx("div",{ref:s,className:ke("rounded-xl border bg-card text-card-foreground shadow",e),...i}));Lx.displayName="Card";const TR=w.forwardRef(({className:e,...i},s)=>b.jsx("div",{ref:s,className:ke("flex flex-col space-y-1.5 p-6",e),...i}));TR.displayName="CardHeader";const ER=w.forwardRef(({className:e,...i},s)=>b.jsx("div",{ref:s,className:ke("font-semibold leading-none tracking-tight",e),...i}));ER.displayName="CardTitle";const AR=w.forwardRef(({className:e,...i},s)=>b.jsx("div",{ref:s,className:ke("text-sm text-muted-foreground",e),...i}));AR.displayName="CardDescription";const Vx=w.forwardRef(({className:e,...i},s)=>b.jsx("div",{ref:s,className:ke("p-6 pt-0",e),...i}));Vx.displayName="CardContent";const CR=w.forwardRef(({className:e,...i},s)=>b.jsx("div",{ref:s,className:ke("flex items-center p-6 pt-0",e),...i}));CR.displayName="CardFooter";function MR(){return b.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:b.jsx(Lx,{className:"w-full max-w-md mx-4",children:b.jsxs(Vx,{className:"pt-6",children:[b.jsxs("div",{className:"flex mb-4 gap-2",children:[b.jsx(EC,{className:"h-8 w-8 text-red-500"}),b.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),b.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}
vendor: 105,953 bytes, lines 9-17
9const Qd=w.createContext({});function Xd(e){const i=w.useRef(null);return i.current===null&&(i.current=e()),i.current}const Ux=typeof window<"u",Bx=Ux?w.useLayoutEffect:w.useEffect,Hl=w.createContext(null);function Kd(e,i){e.indexOf(i)===-1&&e.push(i)}function Zd(e,i){const s=e.indexOf(i);s>-1&&e.splice(s,1)}const wn=(e,i,s)=>s>i?i:s<e?e:s;let Id=()=>{};const Xn={},kx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Hx(e){return typeof e=="object"&&e!==null}const Px=e=>/^0[^.\s]+$/u.test(e);function $d(e){let i;return()=>(i===void 0&&(i=e()),i)}const tn=e=>e,RR=(e,i)=>s=>i(e(s)),Co=(...e)=>e.reduce(RR),yo=(e,i,s)=>{const r=i-e;return r===0?1:(s-e)/r};class Jd{constructor(){this.subscriptions=[]}add(i){return Kd(this.subscriptions,i),()=>Zd(this.subscriptions,i)}notify(i,s,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](i,s,r);else for(let u=0;u<l;u++){const f=this.subscriptions[u];f&&f(i,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const qn=e=>e*1e3,We=e=>e/1e3;function Gx(e,i){return i?e*(1e3/i):0}const qx=(e,i,s)=>(((1-3*s+3*i)*e+(3*s-6*i))*e+3*i)*e,OR=1e-7,NR=12;function DR(e,i,s,r,l){let u,f,m=0;do f=i+(s-i)/2,u=qx(f,r,l)-e,u>0?s=f:i=f;while(Math.abs(u)>OR&&++m<NR);return f}function Mo(e,i,s,r){if(e===i&&s===r)return tn;const l=u=>DR(u,0,1,e,s);return u=>u===0||u===1?u:qx(l(u),i,r)}const Yx=e=>i=>i<=.5?e(2*i)/2:(2-e(2*(1-i)))/2,Fx=e=>i=>1-e(1-i),Qx=Mo(.33,1.53,.69,.99),Wd=Fx(Qx),Xx=Yx(Wd),Kx=e=>(e*=2)<1?.5*Wd(e):.5*(2-Math.pow(2,-10*(e-1))),th=e=>1-Math.sin(Math.acos(e)),Zx=Fx(th),Ix=Yx(th),jR=Mo(.42,0,1,1),_R=Mo(0,0,.58,1),$x=Mo(.42,0,.58,1),zR=e=>Array.isArray(e)&&typeof e[0]!="number",Jx=e=>Array.isArray(e)&&typeof e[0]=="number",LR={linear:tn,easeIn:jR,easeInOut:$x,easeOut:_R,circIn:th,circInOut:Ix,circOut:Zx,backIn:Wd,backInOut:Xx,backOut:Qx,anticipate:Kx},VR=e=>typeof e=="string",Rv=e=>{if(Jx(e)){Id(e.length===4);const[i,s,r,l]=e;return Mo(i,s,r,l)}else if(VR(e))return LR[e];return e},tl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function UR(e,i){let s=new Set,r=new Set,l=!1,u=!1;const f=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function p(y){f.has(y)&&(h.schedule(y),e()),y(m)}const h={schedule:(y,v=!1,x=!1)=>{const A=x&&l?s:r;return v&&f.add(y),A.has(y)||A.add(y),y},cancel:y=>{r.delete(y),f.delete(y)},process:y=>{if(m=y,l){u=!0;return}l=!0,[s,r]=[r,s],s.forEach(p),s.clear(),l=!1,u&&(u=!1,h.process(y))}};return h}const BR=40;function Wx(e,i){let s=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>s=!0,f=tl.reduce((j,q)=>(j[q]=UR(u),j),{}),{setup:m,read:p,resolveKeyframes:h,preUpdate:y,update:v,preRender:x,render:T,postRender:A}=f,E=()=>{const j=Xn.useManualTiming?l.timestamp:performance.now();s=!1,Xn.useManualTiming||(l.delta=r?1e3/60:Math.max(Math.min(j-l.timestamp,BR),1)),l.timestamp=j,l.isProcessing=!0,m.process(l),p.process(l),h.process(l),y.process(l),v.process(l),x.process(l),T.process(l),A.process(l),l.isProcessing=!1,s&&i&&(r=!1,e(E))},M=()=>{s=!0,r=!0,l.isProcessing||e(E)};return{schedule:tl.reduce((j,q)=>{const P=f[q];return j[q]=(Z,G=!1,U=!1)=>(s||M(),P.schedule(Z,G,U)),j},{}),cancel:j=>{for(let q=0;q<tl.length;q++)f[tl[q]].cancel(j)},state:l,steps:f}}const{schedule:kt,cancel:Oi,state:fe,steps:Ef}=Wx(typeof requestAnimationFrame<"u"?requestAnimationFrame:tn,!0);let rl;function kR(){rl=void 0}const ye={now:()=>(rl===void 0&&ye.set(fe.isProcessing||Xn.useManualTiming?fe.timestamp:performance.now()),rl),set:e=>{rl=e,queueMicrotask(kR)}},t1=e=>i=>typeof i=="string"&&i.startsWith(e),e1=t1("--"),HR=t1("var(--"),eh=e=>HR(e)?PR.test(e.split("/*")[0].trim()):!1,PR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ov(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ss={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},go={...ss,transform:e=>wn(0,1,e)},el={...ss,default:1},ro=e=>Math.round(e*1e5)/1e5,nh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function GR(e){return e==null}const qR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ih=(e,i)=>s=>!!(typeof s=="string"&&qR.test(s)&&s.startsWith(e)||i&&!GR(s)&&Object.prototype.hasOwnProperty.call(s,i)),n1=(e,i,s)=>r=>{if(typeof r!="string")return r;const[l,u,f,m]=r.match(nh);return{[e]:parseFloat(l),[i]:parseFloat(u),[s]:parseFloat(f),alpha:m!==void 0?parseFloat(m):1}},YR=e=>wn(0,255,e),Af={...ss,transform:e=>Math.round(YR(e))},na={test:ih("rgb","red"),parse:n1("red","green","blue"),transform:({red:e,green:i,blue:s,alpha:r=1})=>"rgba("+Af.transform(e)+", "+Af.transform(i)+", "+Af.transform(s)+", "+ro(go.transform(r))+")"};function FR(e){let i="",s="",r="",l="";return e.length>5?(i=e.substring(1,3),s=e.substring(3,5),r=e.substring(5,7),l=e.substring(7,9)):(i=e.substring(1,2),s=e.substring(2,3),r=e.substring(3,4),l=e.substring(4,5),i+=i,s+=s,r+=r,l+=l),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const nd={test:ih("#"),parse:FR,transform:na.transform},Ro=e=>({test:i=>typeof i=="string"&&i.endsWith(e)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${e}`}),wi=Ro("deg"),xn=Ro("%"),tt=Ro("px"),QR=Ro("vh"),XR=Ro("vw"),Nv={...xn,parse:e=>xn.parse(e)/100,transform:e=>xn.transform(e*100)},Qa={test:ih("hsl","hue"),parse:n1("hue","saturation","lightness"),transform:({hue:e,saturation:i,lightness:s,alpha:r=1})=>"hsla("+Math.round(e)+", "+xn.transform(ro(i))+", "+xn.transform(ro(s))+", "+ro(go.transform(r))+")"},Jt={test:e=>na.test(e)||nd.test(e)||Qa.test(e),parse:e=>na.test(e)?na.parse(e):Qa.test(e)?Qa.parse(e):nd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?na.transform(e):Qa.transform(e),getAnimatableNone:e=>{const i=Jt.parse(e);return i.alpha=0,Jt.transform(i)}},KR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ZR(e){return isNaN(e)&&typeof e=="string"&&(e.match(nh)?.length||0)+(e.match(KR)?.length||0)>0}const i1="number",a1="color",IR="var",$R="var(",Dv="${}",JR=/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 vo(e){const i=e.toString(),s=[],r={color:[],number:[],var:[]},l=[];let u=0;const m=i.replace(JR,p=>(Jt.test(p)?(r.color.push(u),l.push(a1),s.push(Jt.parse(p))):p.startsWith($R)?(r.var.push(u),l.push(IR),s.push(p)):(r.number.push(u),l.push(i1),s.push(parseFloat(p))),++u,Dv)).split(Dv);return{values:s,split:m,indexes:r,types:l}}function s1(e){return vo(e).values}function o1(e){const{split:i,types:s}=vo(e),r=i.length;return l=>{let u="";for(let f=0;f<r;f++)if(u+=i[f],l[f]!==void 0){const m=s[f];m===i1?u+=ro(l[f]):m===a1?u+=Jt.transform(l[f]):u+=l[f]}return u}}const WR=e=>typeof e=="number"?0:Jt.test(e)?Jt.getAnimatableNone(e):e;function tO(e){const i=s1(e);return o1(e)(i.map(WR))}const Ni={test:ZR,parse:s1,createTransformer:o1,getAnimatableNone:tO};function Cf(e,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?e+(i-e)*6*s:s<1/2?i:s<2/3?e+(i-e)*(2/3-s)*6:e}function eO({hue:e,saturation:i,lightness:s,alpha:r}){e/=360,i/=100,s/=100;let l=0,u=0,f=0;if(!i)l=u=f=s;else{const m=s<.5?s*(1+i):s+i-s*i,p=2*s-m;l=Cf(p,m,e+1/3),u=Cf(p,m,e),f=Cf(p,m,e-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:r}}function bl(e,i){return s=>s>0?i:e}const Pt=(e,i,s)=>e+(i-e)*s,Mf=(e,i,s)=>{const r=e*e,l=s*(i*i-r)+r;return l<0?0:Math.sqrt(l)},nO=[nd,na,Qa],iO=e=>nO.find(i=>i.test(e));function jv(e){const i=iO(e);if(!i)return!1;let s=i.parse(e);return i===Qa&&(s=eO(s)),s}const _v=(e,i)=>{const s=jv(e),r=jv(i);if(!s||!r)return bl(e,i);const l={...s};return u=>(l.red=Mf(s.red,r.red,u),l.green=Mf(s.green,r.green,u),l.blue=Mf(s.blue,r.blue,u),l.alpha=Pt(s.alpha,r.alpha,u),na.transform(l))},id=new Set(["none","hidden"]);function aO(e,i){return id.has(e)?s=>s<=0?e:i:s=>s>=1?i:e}function sO(e,i){return s=>Pt(e,i,s)}function ah(e){return typeof e=="number"?sO:typeof e=="string"?eh(e)?bl:Jt.test(e)?_v:lO:Array.isArray(e)?r1:typeof e=="object"?Jt.test(e)?_v:oO:bl}function r1(e,i){const s=[...e],r=s.length,l=e.map((u,f)=>ah(u)(u,i[f]));return u=>{for(let f=0;f<r;f++)s[f]=l[f](u);return s}}function oO(e,i){const s={...e,...i},r={};for(const l in s)e[l]!==void 0&&i[l]!==void 0&&(r[l]=ah(e[l])(e[l],i[l]));return l=>{for(const u in r)s[u]=r[u](l);return s}}function rO(e,i){const s=[],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]],m=e.values[f]??0;s[l]=m,r[u]++}return s}const lO=(e,i)=>{const s=Ni.createTransformer(i),r=vo(e),l=vo(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?id.has(e)&&!l.values.length||id.has(i)&&!r.values.length?aO(e,i):Co(r1(rO(r,l),l.values),s):bl(e,i)};function l1(e,i,s){return typeof e=="number"&&typeof i=="number"&&typeof s=="number"?Pt(e,i,s):ah(e)(e,i)}const cO=e=>{const i=({timestamp:s})=>e(s);return{start:(s=!0)=>kt.update(i,s),stop:()=>Oi(i),now:()=>fe.isProcessing?fe.timestamp:ye.now()}},c1=(e,i,s=10)=>{let r="";const l=Math.max(Math.round(i/s),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)})`},xl=2e4;function sh(e){let i=0;const s=50;let r=e.next(i);for(;!r.done&&i<xl;)i+=s,r=e.next(i);return i>=xl?1/0:i}function uO(e,i=100,s){const r=s({...e,keyframes:[0,i]}),l=Math.min(sh(r),xl);return{type:"keyframes",ease:u=>r.next(l*u).value/i,duration:We(l)}}const fO=5;function u1(e,i,s){const r=Math.max(i-fO,0);return Gx(s-e(r),i-r)}const Yt={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},Rf=.001;function dO({duration:e=Yt.duration,bounce:i=Yt.bounce,velocity:s=Yt.velocity,mass:r=Yt.mass}){let l,u,f=1-i;f=wn(Yt.minDamping,Yt.maxDamping,f),e=wn(Yt.minDuration,Yt.maxDuration,We(e)),f<1?(l=h=>{const y=h*f,v=y*e,x=y-s,T=ad(h,f),A=Math.exp(-v);return Rf-x/T*A},u=h=>{const v=h*f*e,x=v*s+s,T=Math.pow(f,2)*Math.pow(h,2)*e,A=Math.exp(-v),E=ad(Math.pow(h,2),f);return(-l(h)+Rf>0?-1:1)*((x-T)*A)/E}):(l=h=>{const y=Math.exp(-h*e),v=(h-s)*e+1;return-Rf+y*v},u=h=>{const y=Math.exp(-h*e),v=(s-h)*(e*e);return y*v});const m=5/e,p=mO(l,u,m);if(e=qn(e),isNaN(p))return{stiffness:Yt.stiffness,damping:Yt.damping,duration:e};{const h=Math.pow(p,2)*r;return{stiffness:h,damping:f*2*Math.sqrt(r*h),duration:e}}}const hO=12;function mO(e,i,s){let r=s;for(let l=1;l<hO;l++)r=r-e(r)/i(r);return r}function ad(e,i){return e*Math.sqrt(1-i*i)}const pO=["duration","bounce"],yO=["stiffness","damping","mass"];function zv(e,i){return i.some(s=>e[s]!==void 0)}function gO(e){let i={velocity:Yt.velocity,stiffness:Yt.stiffness,damping:Yt.damping,mass:Yt.mass,isResolvedFromDuration:!1,...e};if(!zv(e,yO)&&zv(e,pO))if(e.visualDuration){const s=e.visualDuration,r=2*Math.PI/(s*1.2),l=r*r,u=2*wn(.05,1,1-(e.bounce||0))*Math.sqrt(l);i={...i,mass:Yt.mass,stiffness:l,damping:u}}else{const s=dO(e);i={...i,...s,mass:Yt.mass},i.isResolvedFromDuration=!0}return i}function Sl(e=Yt.visualDuration,i=Yt.bounce){const s=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:i}:e;let{restSpeed:r,restDelta:l}=s;const u=s.keyframes[0],f=s.keyframes[s.keyframes.length-1],m={done:!1,value:u},{stiffness:p,damping:h,mass:y,duration:v,velocity:x,isResolvedFromDuration:T}=gO({...s,velocity:-We(s.velocity||0)}),A=x||0,E=h/(2*Math.sqrt(p*y)),M=f-u,N=We(Math.sqrt(p/y)),V=Math.abs(M)<5;r||(r=V?Yt.restSpeed.granular:Yt.restSpeed.default),l||(l=V?Yt.restDelta.granular:Yt.restDelta.default);let j;if(E<1){const P=ad(N,E);j=Z=>{const G=Math.exp(-E*N*Z);return f-G*((A+E*N*M)/P*Math.sin(P*Z)+M*Math.cos(P*Z))}}else if(E===1)j=P=>f-Math.exp(-N*P)*(M+(A+N*M)*P);else{const P=N*Math.sqrt(E*E-1);j=Z=>{const G=Math.exp(-E*N*Z),U=Math.min(P*Z,300);return f-G*((A+E*N*M)*Math.sinh(U)+P*M*Math.cosh(U))/P}}const q={calculatedDuration:T&&v||null,next:P=>{const Z=j(P);if(T)m.done=P>=v;else{let G=P===0?A:0;E<1&&(G=P===0?qn(A):u1(j,P,Z));const U=Math.abs(G)<=r,J=Math.abs(f-Z)<=l;m.done=U&&J}return m.value=m.done?f:Z,m},toString:()=>{const P=Math.min(sh(q),xl),Z=c1(G=>q.next(P*G).value,P,30);return P+"ms "+Z},toTransition:()=>{}};return q}Sl.applyToOptions=e=>{const i=uO(e,100,Sl);return e.ease=i.ease,e.duration=qn(i.duration),e.type="keyframes",e};function sd({keyframes:e,velocity:i=0,power:s=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:f,min:m,max:p,restDelta:h=.5,restSpeed:y}){const v=e[0],x={done:!1,value:v},T=U=>m!==void 0&&U<m||p!==void 0&&U>p,A=U=>m===void 0?p:p===void 0||Math.abs(m-U)<Math.abs(p-U)?m:p;let E=s*i;const M=v+E,N=f===void 0?M:f(M);N!==M&&(E=N-v);const V=U=>-E*Math.exp(-U/r),j=U=>N+V(U),q=U=>{const J=V(U),ot=j(U);x.done=Math.abs(J)<=h,x.value=x.done?N:ot};let P,Z;const G=U=>{T(x.value)&&(P=U,Z=Sl({keyframes:[x.value,A(x.value)],velocity:u1(j,U,x.value),damping:l,stiffness:u,restDelta:h,restSpeed:y}))};return G(0),{calculatedDuration:null,next:U=>{let J=!1;return!Z&&P===void 0&&(J=!0,q(U),G(U)),P!==void 0&&U>=P?Z.next(U-P):(!J&&q(U),x)}}}function vO(e,i,s){const r=[],l=s||Xn.mix||l1,u=e.length-1;for(let f=0;f<u;f++){let m=l(e[f],e[f+1]);if(i){const p=Array.isArray(i)?i[f]||tn:i;m=Co(p,m)}r.push(m)}return r}function bO(e,i,{clamp:s=!0,ease:r,mixer:l}={}){const u=e.length;if(Id(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 m=vO(i,r,l),p=m.length,h=y=>{if(f&&y<e[0])return i[0];let v=0;if(p>1)for(;v<e.length-2&&!(y<e[v+1]);v++);const x=yo(e[v],e[v+1],y);return m[v](x)};return s?y=>h(wn(e[0],e[u-1],y)):h}function xO(e,i){const s=e[e.length-1];for(let r=1;r<=i;r++){const l=yo(0,i,r);e.push(Pt(s,1,l))}}function SO(e){const i=[0];return xO(i,e.length-1),i}function wO(e,i){return e.map(s=>s*i)}function TO(e,i){return e.map(()=>i||$x).splice(0,e.length-1)}function lo({duration:e=300,keyframes:i,times:s,ease:r="easeInOut"}){const l=zR(r)?r.map(Rv):Rv(r),u={done:!1,value:i[0]},f=wO(s&&s.length===i.length?s:SO(i),e),m=bO(f,i,{ease:Array.isArray(l)?l:TO(i,l)});return{calculatedDuration:e,next:p=>(u.value=m(p),u.done=p>=e,u)}}const EO=e=>e!==null;function oh(e,{repeat:i,repeatType:s="loop"},r,l=1){const u=e.filter(EO),m=l<0||i&&s!=="loop"&&i%2===1?0:u.length-1;return!m||r===void 0?u[m]:r}const AO={decay:sd,inertia:sd,tween:lo,keyframes:lo,spring:Sl};function f1(e){typeof e.type=="string"&&(e.type=AO[e.type])}class rh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const CO=e=>e/100;class lh extends rh{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==ye.now()&&this.tick(ye.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;f1(i);const{type:s=lo,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:f=0}=i;let{keyframes:m}=i;const p=s||lo;p!==lo&&typeof m[0]!="number"&&(this.mixKeyframes=Co(CO,l1(m[0],m[1])),m=[0,100]);const h=p({...i,keyframes:m});u==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...m].reverse(),velocity:-f})),h.calculatedDuration===null&&(h.calculatedDuration=sh(h));const{calculatedDuration:y}=h;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=h}updateTime(i){const s=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(i,s=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:f,resolvedDuration:m,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:h=0,keyframes:y,repeat:v,repeatType:x,repeatDelay:T,type:A,onUpdate:E,finalKeyframe:M}=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)),s?this.currentTime=i:this.updateTime(i);const N=this.currentTime-h*(this.playbackSpeed>=0?1:-1),V=this.playbackSpeed>=0?N<0:N>l;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let j=this.currentTime,q=r;if(v){const U=Math.min(this.currentTime,l)/m;let J=Math.floor(U),ot=U%1;!ot&&U>=1&&(ot=1),ot===1&&J--,J=Math.min(J,v+1),J%2&&(x==="reverse"?(ot=1-ot,T&&(ot-=T/m)):x==="mirror"&&(q=f)),j=wn(0,1,ot)*m}const P=V?{done:!1,value:y[0]}:q.next(j);u&&(P.value=u(P.value));let{done:Z}=P;!V&&p!==null&&(Z=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const G=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Z);return G&&A!==sd&&(P.value=oh(y,this.options,M,this.speed)),E&&E(P.value),G&&this.finish(),P}then(i,s){return this.finished.then(i,s)}get duration(){return We(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+We(i)}get time(){return We(this.currentTime)}set time(i){i=qn(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(i){this.updateTime(ye.now());const s=this.playbackSpeed!==i;this.playbackSpeed=i,s&&(this.time=We(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=cO,startTime:s}=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=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ye.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 MO(e){for(let i=1;i<e.length;i++)e[i]??(e[i]=e[i-1])}const ia=e=>e*180/Math.PI,od=e=>{const i=ia(Math.atan2(e[1],e[0]));return rd(i)},RO={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:od,rotateZ:od,skewX:e=>ia(Math.atan(e[1])),skewY:e=>ia(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},rd=e=>(e=e%360,e<0&&(e+=360),e),Lv=od,Vv=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Uv=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),OO={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Vv,scaleY:Uv,scale:e=>(Vv(e)+Uv(e))/2,rotateX:e=>rd(ia(Math.atan2(e[6],e[5]))),rotateY:e=>rd(ia(Math.atan2(-e[2],e[0]))),rotateZ:Lv,rotate:Lv,skewX:e=>ia(Math.atan(e[4])),skewY:e=>ia(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ld(e){return e.includes("scale")?1:0}function cd(e,i){if(!e||e==="none")return ld(i);const s=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(s)r=OO,l=s;else{const m=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=RO,l=m}if(!l)return ld(i);const u=r[i],f=l[1].split(",").map(DO);return typeof u=="function"?u(f):f[u]}const NO=(e,i)=>{const{transform:s="none"}=getComputedStyle(e);return cd(s,i)};function DO(e){return parseFloat(e.trim())}const os=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],rs=new Set(os),Bv=e=>e===ss||e===tt,jO=new Set(["x","y","z"]),_O=os.filter(e=>!jO.has(e));function zO(e){const i=[];return _O.forEach(s=>{const r=e.getValue(s);r!==void 0&&(i.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),i}const Ti={width:({x:e},{paddingLeft:i="0",paddingRight:s="0"})=>e.max-e.min-parseFloat(i)-parseFloat(s),height:({y:e},{paddingTop:i="0",paddingBottom:s="0"})=>e.max-e.min-parseFloat(i)-parseFloat(s),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})=>cd(i,"x"),y:(e,{transform:i})=>cd(i,"y")};Ti.translateX=Ti.x;Ti.translateY=Ti.y;const aa=new Set;let ud=!1,fd=!1,dd=!1;function d1(){if(fd){const e=Array.from(aa).filter(r=>r.needsMeasurement),i=new Set(e.map(r=>r.element)),s=new Map;i.forEach(r=>{const l=zO(r);l.length&&(s.set(r,l),r.render())}),e.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const l=s.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)})}fd=!1,ud=!1,aa.forEach(e=>e.complete(dd)),aa.clear()}function h1(){aa.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(fd=!0)})}function LO(){dd=!0,h1(),d1(),dd=!1}class ch{constructor(i,s,r,l,u,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=r,this.motionValue=l,this.element=u,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(aa.add(this),ud||(ud=!0,kt.read(h1),kt.resolveKeyframes(d1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,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&&s){const m=r.readValue(s,f);m!=null&&(i[0]=m)}i[0]===void 0&&(i[0]=f),l&&u===void 0&&l.set(i[0])}MO(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),aa.delete(this)}cancel(){this.state==="scheduled"&&(aa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const VO=e=>e.startsWith("--");function UO(e,i,s){VO(i)?e.style.setProperty(i,s):e.style[i]=s}const BO=$d(()=>window.ScrollTimeline!==void 0),kO={};function HO(e,i){const s=$d(e);return()=>kO[i]??s()}const m1=HO(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ao=([e,i,s,r])=>`cubic-bezier(${e}, ${i}, ${s}, ${r})`,kv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ao([0,.65,.55,1]),circOut:ao([.55,0,1,.45]),backIn:ao([.31,.01,.66,-.59]),backOut:ao([.33,1.53,.69,.99])};function p1(e,i){if(e)return typeof e=="function"?m1()?c1(e,i):"ease-out":Jx(e)?ao(e):Array.isArray(e)?e.map(s=>p1(s,i)||kv.easeOut):kv[e]}function PO(e,i,s,{delay:r=0,duration:l=300,repeat:u=0,repeatType:f="loop",ease:m="easeOut",times:p}={},h=void 0){const y={[i]:s};p&&(y.offset=p);const v=p1(m,l);Array.isArray(v)&&(y.easing=v);const x={delay:r,duration:l,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return h&&(x.pseudoElement=h),e.animate(y,x)}function y1(e){return typeof e=="function"&&"applyToOptions"in e}function GO({type:e,...i}){return y1(e)&&m1()?e.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class qO extends rh{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:s,name:r,keyframes:l,pseudoElement:u,allowFlatten:f=!1,finalKeyframe:m,onComplete:p}=i;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=i,Id(typeof i.type!="string");const h=GO(i);this.animation=PO(s,r,l,h,u),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=oh(l,this.options,m,this.speed);this.updateMotionValue?this.updateMotionValue(y):UO(s,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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return We(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+We(i)}get time(){return We(Number(this.animation.currentTime)||0)}set time(i){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=qn(i)}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,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&BO()?(this.animation.timeline=i,tn):s(this)}}const g1={anticipate:Kx,backInOut:Xx,circInOut:Ix};function YO(e){return e in g1}function FO(e){typeof e.ease=="string"&&YO(e.ease)&&(e.ease=g1[e.ease])}const Of=10;class QO extends qO{constructor(i){FO(i),f1(i),super(i),i.startTime!==void 0&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:r,onComplete:l,element:u,...f}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const m=new lh({...f,autoplay:!1}),p=Math.max(Of,ye.now()-this.startTime),h=wn(0,Of,p-Of);s.setWithVelocity(m.sample(Math.max(0,p-h)).value,m.sample(p).value,h),m.stop()}}const Hv=(e,i)=>i==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ni.test(e)||e==="0")&&!e.startsWith("url("));function XO(e){const i=e[0];if(e.length===1)return!0;for(let s=0;s<e.length;s++)if(e[s]!==i)return!0}function KO(e,i,s,r){const l=e[0];if(l===null)return!1;if(i==="display"||i==="visibility")return!0;const u=e[e.length-1],f=Hv(l,i),m=Hv(u,i);return!f||!m?!1:XO(e)||(s==="spring"||y1(s))&&r}function hd(e){e.duration=0,e.type="keyframes"}const ZO=new Set(["opacity","clipPath","filter","transform"]),IO=$d(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function $O(e){const{motionValue:i,name:s,repeatDelay:r,repeatType:l,damping:u,type:f}=e;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:h}=i.owner.getProps();return IO()&&s&&ZO.has(s)&&(s!=="transform"||!h)&&!p&&!r&&l!=="mirror"&&u!==0&&f!=="inertia"}const JO=40;class WO extends rh{constructor({autoplay:i=!0,delay:s=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:f="loop",keyframes:m,name:p,motionValue:h,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ye.now();const x={autoplay:i,delay:s,type:r,repeat:l,repeatDelay:u,repeatType:f,name:p,motionValue:h,element:y,...v},T=y?.KeyframeResolver||ch;this.keyframeResolver=new T(m,(A,E,M)=>this.onKeyframesResolved(A,E,x,!M),p,h,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,s,r,l){this.keyframeResolver=void 0;const{name:u,type:f,velocity:m,delay:p,isHandoff:h,onUpdate:y}=r;this.resolvedAt=ye.now(),KO(i,u,f,m)||((Xn.instantAnimations||!p)&&y?.(oh(i,r,s)),i[0]=i[i.length-1],hd(r),r.repeat=0);const x={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>JO?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:i},T=!h&&$O(x)?new QO({...x,element:x.motionValue.owner.current}):new lh(x);T.finished.then(()=>this.notifyFinished()).catch(tn),this.pendingTimeline&&(this.stopTimeline=T.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=T}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),LO()),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()}}const tN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function eN(e){const i=tN.exec(e);if(!i)return[,];const[,s,r,l]=i;return[`--${s??r}`,l]}function v1(e,i,s=1){const[r,l]=eN(e);if(!r)return;const u=window.getComputedStyle(i).getPropertyValue(r);if(u){const f=u.trim();return kx(f)?parseFloat(f):f}return eh(l)?v1(l,i,s+1):l}function uh(e,i){return e?.[i]??e?.default??e}const nN={type:"spring",stiffness:500,damping:25,restSpeed:10},iN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),aN={type:"keyframes",duration:.8},sN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oN=(e,{keyframes:i})=>i.length>2?aN:rs.has(e)?e.startsWith("scale")?iN(i[1]):nN:sN;function rN({when:e,delay:i,delayChildren:s,staggerChildren:r,staggerDirection:l,repeat:u,repeatType:f,repeatDelay:m,from:p,elapsed:h,...y}){return!!Object.keys(y).length}const lN=e=>e!==null;function cN(e,{repeat:i,repeatType:s="loop"},r){const l=e.filter(lN),u=i&&s!=="loop"&&i%2===1?0:l.length-1;return l[u]}function b1(e,i,s,r=0,l=1){const u=Array.from(e).sort((h,y)=>h.sortNodePosition(y)).indexOf(i),f=e.size,m=(f-1)*r;return typeof s=="function"?s(u,f):l===1?u*r:m-u*r}const fh=(e,i,s,r={},l,u)=>f=>{const m=uh(r,e)||{},p=m.delay||r.delay||0;let{elapsed:h=0}=r;h=h-qn(p);const y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...m,delay:-h,onUpdate:x=>{i.set(x),m.onUpdate&&m.onUpdate(x)},onComplete:()=>{f(),m.onComplete&&m.onComplete()},name:e,motionValue:i,element:u?void 0:l};rN(m)||Object.assign(y,oN(e,y)),y.duration&&(y.duration=qn(y.duration)),y.repeatDelay&&(y.repeatDelay=qn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(hd(y),y.delay===0&&(v=!0)),(Xn.instantAnimations||Xn.skipAnimations)&&(v=!0,hd(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,v&&!u&&i.get()!==void 0){const x=cN(y.keyframes,m);if(x!==void 0){kt.update(()=>{y.onUpdate(x),y.onComplete()});return}}return m.isSync?new lh(y):new WO(y)},x1=new Set(["width","height","top","left","right","bottom",...os]),Pv=30,uN=e=>!isNaN(parseFloat(e));class fN{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=ye.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=s.owner}setCurrent(i){this.current=i,this.updatedAt=ye.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=uN(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,s){this.events[i]||(this.events[i]=new Jd);const r=this.events[i].add(s);return i==="change"?()=>{r(),kt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&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 this.current}getPrevious(){return this.prev}getVelocity(){const i=ye.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Pv)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Pv);return Gx(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ts(e,i){return new fN(e,i)}function Gv(e){const i=[{},{}];return e?.values.forEach((s,r)=>{i[0][r]=s.get(),i[1][r]=s.getVelocity()}),i}function dh(e,i,s,r){if(typeof i=="function"){const[l,u]=Gv(r);i=i(s!==void 0?s:e.custom,l,u)}if(typeof i=="string"&&(i=e.variants&&e.variants[i]),typeof i=="function"){const[l,u]=Gv(r);i=i(s!==void 0?s:e.custom,l,u)}return i}function $a(e,i,s){const r=e.getProps();return dh(r,i,s!==void 0?s:r.custom,e)}const md=e=>Array.isArray(e);function dN(e,i,s){e.hasValue(i)?e.getValue(i).set(s):e.addValue(i,ts(s))}function hN(e){return md(e)?e[e.length-1]||0:e}function mN(e,i){const s=$a(e,i);let{transitionEnd:r={},transition:l={},...u}=s||{};u={...u,...r};for(const f in u){const m=hN(u[f]);dN(e,f,m)}}const me=e=>!!(e&&e.getVelocity);function pN(e){return!!(me(e)&&e.add)}function pd(e,i){const s=e.getValue("willChange");if(pN(s))return s.add(i);if(!s&&Xn.WillChange){const r=new Xn.WillChange("auto");e.addValue("willChange",r),r.add(i)}}function hh(e){return e.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const yN="framerAppearId",S1="data-"+hh(yN);function w1(e){return e.props[S1]}function gN({protectedKeys:e,needsAnimating:i},s){const r=e.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,r}function T1(e,i,{delay:s=0,transitionOverride:r,type:l}={}){let{transition:u=e.getDefaultTransition(),transitionEnd:f,...m}=i;r&&(u=r);const p=[],h=l&&e.animationState&&e.animationState.getState()[l];for(const y in m){const v=e.getValue(y,e.latestValues[y]??null),x=m[y];if(x===void 0||h&&gN(h,y))continue;const T={delay:s,...uh(u||{},y)},A=v.get();if(A!==void 0&&!v.isAnimating&&!Array.isArray(x)&&x===A&&!T.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const N=w1(e);if(N){const V=window.MotionHandoffAnimation(N,y,kt);V!==null&&(T.startTime=V,E=!0)}}pd(e,y),v.start(fh(y,v,x,e.shouldReduceMotion&&x1.has(y)?{type:!1}:T,e,E));const M=v.animation;M&&p.push(M)}return f&&Promise.all(p).then(()=>{kt.update(()=>{f&&mN(e,f)})}),p}function yd(e,i,s={}){const r=$a(e,i,s.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(l=s.transitionOverride);const u=r?()=>Promise.all(T1(e,r,s)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:h=0,staggerChildren:y,staggerDirection:v}=l;return vN(e,i,p,h,y,v,s)}:()=>Promise.resolve(),{when:m}=l;if(m){const[p,h]=m==="beforeChildren"?[u,f]:[f,u];return p().then(()=>h())}else return Promise.all([u(),f(s.delay)])}function vN(e,i,s=0,r=0,l=0,u=1,f){const m=[];for(const p of e.variantChildren)p.notify("AnimationStart",i),m.push(yd(p,i,{...f,delay:s+(typeof r=="function"?0:r)+b1(e.variantChildren,p,r,l,u)}).then(()=>p.notify("AnimationComplete",i)));return Promise.all(m)}function bN(e,i,s={}){e.notify("AnimationStart",i);let r;if(Array.isArray(i)){const l=i.map(u=>yd(e,u,s));r=Promise.all(l)}else if(typeof i=="string")r=yd(e,i,s);else{const l=typeof i=="function"?$a(e,i,s.custom):i;r=Promise.all(T1(e,l,s))}return r.then(()=>{e.notify("AnimationComplete",i)})}const xN={test:e=>e==="auto",parse:e=>e},E1=e=>i=>i.test(e),A1=[ss,tt,xn,wi,XR,QR,xN],qv=e=>A1.find(E1(e));function SN(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Px(e):!0}const wN=new Set(["brightness","contrast","saturate","opacity"]);function TN(e){const[i,s]=e.slice(0,-1).split("(");if(i==="drop-shadow")return e;const[r]=s.match(nh)||[];if(!r)return e;const l=s.replace(r,"");let u=wN.has(i)?1:0;return r!==s&&(u*=100),i+"("+u+l+")"}const EN=/\b([a-z-]*)\(.*?\)/gu,gd={...Ni,getAnimatableNone:e=>{const i=e.match(EN);return i?i.map(TN).join(" "):e}},Yv={...ss,transform:Math.round},AN={rotate:wi,rotateX:wi,rotateY:wi,rotateZ:wi,scale:el,scaleX:el,scaleY:el,scaleZ:el,skew:wi,skewX:wi,skewY:wi,distance:tt,translateX:tt,translateY:tt,translateZ:tt,x:tt,y:tt,z:tt,perspective:tt,transformPerspective:tt,opacity:go,originX:Nv,originY:Nv,originZ:tt},mh={borderWidth:tt,borderTopWidth:tt,borderRightWidth:tt,borderBottomWidth:tt,borderLeftWidth:tt,borderRadius:tt,radius:tt,borderTopLeftRadius:tt,borderTopRightRadius:tt,borderBottomRightRadius:tt,borderBottomLeftRadius:tt,width:tt,maxWidth:tt,height:tt,maxHeight:tt,top:tt,right:tt,bottom:tt,left:tt,inset:tt,insetBlock:tt,insetBlockStart:tt,insetBlockEnd:tt,insetInline:tt,insetInlineStart:tt,insetInlineEnd:tt,padding:tt,paddingTop:tt,paddingRight:tt,paddingBottom:tt,paddingLeft:tt,paddingBlock:tt,paddingBlockStart:tt,paddingBlockEnd:tt,paddingInline:tt,paddingInlineStart:tt,paddingInlineEnd:tt,margin:tt,marginTop:tt,marginRight:tt,marginBottom:tt,marginLeft:tt,marginBlock:tt,marginBlockStart:tt,marginBlockEnd:tt,marginInline:tt,marginInlineStart:tt,marginInlineEnd:tt,backgroundPositionX:tt,backgroundPositionY:tt,...AN,zIndex:Yv,fillOpacity:go,strokeOpacity:go,numOctaves:Yv},CN={...mh,color:Jt,backgroundColor:Jt,outlineColor:Jt,fill:Jt,stroke:Jt,borderColor:Jt,borderTopColor:Jt,borderRightColor:Jt,borderBottomColor:Jt,borderLeftColor:Jt,filter:gd,WebkitFilter:gd},C1=e=>CN[e];function M1(e,i){let s=C1(e);return s!==gd&&(s=Ni),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const MN=new Set(["auto","none","0"]);function RN(e,i,s){let r=0,l;for(;r<e.length&&!l;){const u=e[r];typeof u=="string"&&!MN.has(u)&&vo(u).values.length&&(l=e[r]),r++}if(l&&s)for(const u of i)e[u]=M1(s,l)}class ON extends ch{constructor(i,s,r,l,u){super(i,s,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let y=0;y<i.length;y++){let v=i[y];if(typeof v=="string"&&(v=v.trim(),eh(v))){const x=v1(v,s.current);x!==void 0&&(i[y]=x),y===i.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!x1.has(r)||i.length!==2)return;const[l,u]=i,f=qv(l),m=qv(u),p=Ov(l),h=Ov(u);if(p!==h&&Ti[r]){this.needsMeasurement=!0;return}if(f!==m)if(Bv(f)&&Bv(m))for(let y=0;y<i.length;y++){const v=i[y];typeof v=="string"&&(i[y]=parseFloat(v))}else Ti[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,r=[];for(let l=0;l<i.length;l++)(i[l]===null||SN(i[l]))&&r.push(l);r.length&&RN(i,r,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ti[r](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&i.getValue(r,l).jump(l,!1)}measureEndState(){const{element:i,name:s,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const l=i.getValue(s);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,f=r[u];r[u]=Ti[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,p])=>{i.getValue(m).set(p)}),this.resolveNoneKeyframes()}}function NN(e,i,s){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const l=s?.[e]??r.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}const R1=(e,i)=>i&&typeof e=="number"?i.transform(e):e;function O1(e){return Hx(e)&&"offsetHeight"in e}const{schedule:ph}=Wx(queueMicrotask,!1),rn={x:!1,y:!1};function N1(){return rn.x||rn.y}function DN(e){return e==="x"||e==="y"?rn[e]?null:(rn[e]=!0,()=>{rn[e]=!1}):rn.x||rn.y?null:(rn.x=rn.y=!0,()=>{rn.x=rn.y=!1})}function D1(e,i){const s=NN(e),r=new AbortController,l={passive:!0,...i,signal:r.signal};return[s,l,()=>r.abort()]}function Fv(e){return!(e.pointerType==="touch"||N1())}function jN(e,i,s={}){const[r,l,u]=D1(e,s),f=m=>{if(!Fv(m))return;const{target:p}=m,h=i(p,m);if(typeof h!="function"||!p)return;const y=v=>{Fv(v)&&(h(v),p.removeEventListener("pointerleave",y))};p.addEventListener("pointerleave",y,l)};return r.forEach(m=>{m.addEventListener("pointerenter",f,l)}),u}const j1=(e,i)=>i?e===i?!0:j1(e,i.parentElement):!1,yh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,_N=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _1(e){return _N.has(e.tagName)||e.isContentEditable===!0}const ll=new WeakSet;function Qv(e){return i=>{i.key==="Enter"&&e(i)}}function Nf(e,i){e.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const zN=(e,i)=>{const s=e.currentTarget;if(!s)return;const r=Qv(()=>{if(ll.has(s))return;Nf(s,"down");const l=Qv(()=>{Nf(s,"up")}),u=()=>Nf(s,"cancel");s.addEventListener("keyup",l,i),s.addEventListener("blur",u,i)});s.addEventListener("keydown",r,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),i)};function Xv(e){return yh(e)&&!N1()}function LN(e,i,s={}){const[r,l,u]=D1(e,s),f=m=>{const p=m.currentTarget;if(!Xv(m))return;ll.add(p);const h=i(p,m),y=(T,A)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),ll.has(p)&&ll.delete(p),Xv(T)&&typeof h=="function"&&h(T,{success:A})},v=T=>{y(T,p===window||p===document||s.useGlobalTarget||j1(p,T.target))},x=T=>{y(T,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",x,l)};return r.forEach(m=>{(s.useGlobalTarget?window:m).addEventListener("pointerdown",f,l),O1(m)&&(m.addEventListener("focus",h=>zN(h,l)),!_1(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),u}function z1(e){return Hx(e)&&"ownerSVGElement"in e}function VN(e){return z1(e)&&e.tagName==="svg"}const UN=[...A1,Jt,Ni],BN=e=>UN.find(E1(e)),Kv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xa=()=>({x:Kv(),y:Kv()}),Zv=()=>({min:0,max:0}),ee=()=>({x:Zv(),y:Zv()}),vd={current:null},L1={current:!1},kN=typeof window<"u";function HN(){if(L1.current=!0,!!kN)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),i=()=>vd.current=e.matches;e.addEventListener("change",i),i()}else vd.current=!1}const PN=new WeakMap;function Pl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function bo(e){return typeof e=="string"||Array.isArray(e)}const gh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],vh=["initial",...gh];function Gl(e){return Pl(e.animate)||vh.some(i=>bo(e[i]))}function V1(e){return!!(Gl(e)||e.variants)}function GN(e,i,s){for(const r in i){const l=i[r],u=s[r];if(me(l))e.addValue(r,l);else if(me(u))e.addValue(r,ts(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,ts(f!==void 0?f:l,{owner:e}))}}for(const r in s)i[r]===void 0&&e.removeValue(r);return i}const Iv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let wl={};function U1(e){wl=e}function qN(){return wl}class YN{scrapeMotionValuesFromProps(i,s,r){return{}}constructor({parent:i,props:s,presenceContext:r,reducedMotionConfig:l,blockInitialAnimation:u,visualState:f},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ch,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const x=ye.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,kt.render(this.render,!1,!0))};const{latestValues:p,renderState:h}=f;this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=h,this.parent=i,this.props=s,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=l,this.options=m,this.blockInitialAnimation=!!u,this.isControllingVariants=Gl(s),this.isVariantNode=V1(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(s,{},this);for(const x in v){const T=v[x];p[x]!==void 0&&me(T)&&T.set(p[x])}}mount(i){this.current=i,PN.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((s,r)=>this.bindToMotionValue(r,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(L1.current||HN(),this.shouldReduceMotion=vd.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Oi(this.notifyUpdate),Oi(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 s=this.features[i];s&&(s.unmount(),s.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,s){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const r=rs.has(i);r&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&kt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{l(),u&&u(),s.owner&&s.stop()})}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 s=wl[i];if(!s)continue;const{isEnabled:r,Feature:l}=s;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):ee()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<Iv.length;r++){const l=Iv[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=GN(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 s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const r=this.values.get(i);s!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&s!==void 0&&(r=ts(s===null?void 0:s,{owner:this}),this.addValue(i,r)),r}readValue(i,s){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"&&(kx(r)||Px(r))?r=parseFloat(r):!BN(r)&&Ni.test(s)&&(r=M1(i,s)),this.setBaseTarget(i,me(r)?r.get():r)),me(r)?r.get():r}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const u=dh(this.props,s,this.presenceContext?.custom);u&&(r=u[i])}if(s&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,i);return l!==void 0&&!me(l)?l:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new Jd),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){ph.render(this.render)}}class Di{constructor(i){this.isMounted=!1,this.node=i}update(){}}class B1 extends YN{constructor(){super(...arguments),this.KeyframeResolver=ON}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){const r=i.style;return r?r[s]:void 0}removeValueFromRenderState(i,{vars:s,style:r}){delete s[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;me(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function k1({top:e,left:i,right:s,bottom:r}){return{x:{min:i,max:s},y:{min:e,max:r}}}function FN({x:e,y:i}){return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function QN(e,i){if(!i)return e;const s=i({x:e.left,y:e.top}),r=i({x:e.right,y:e.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function Df(e){return e===void 0||e===1}function bd({scale:e,scaleX:i,scaleY:s}){return!Df(e)||!Df(i)||!Df(s)}function ta(e){return bd(e)||H1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function H1(e){return $v(e.x)||$v(e.y)}function $v(e){return e&&e!=="0%"}function Tl(e,i,s){const r=e-s,l=i*r;return s+l}function Jv(e,i,s,r,l){return l!==void 0&&(e=Tl(e,l,r)),Tl(e,s,r)+i}function xd(e,i=0,s=1,r,l){e.min=Jv(e.min,i,s,r,l),e.max=Jv(e.max,i,s,r,l)}function P1(e,{x:i,y:s}){xd(e.x,i.translate,i.scale,i.originPoint),xd(e.y,s.translate,s.scale,s.originPoint)}const Wv=.999999999999,t0=1.0000000000001;function XN(e,i,s,r=!1){const l=s.length;if(!l)return;i.x=i.y=1;let u,f;for(let m=0;m<l;m++){u=s[m],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&&Za(e,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),f&&(i.x*=f.x.scale,i.y*=f.y.scale,P1(e,f)),r&&ta(u.latestValues)&&Za(e,u.latestValues))}i.x<t0&&i.x>Wv&&(i.x=1),i.y<t0&&i.y>Wv&&(i.y=1)}function Ka(e,i){e.min=e.min+i,e.max=e.max+i}function e0(e,i,s,r,l=.5){const u=Pt(e.min,e.max,l);xd(e,i,s,u,r)}function Za(e,i){e0(e.x,i.x,i.scaleX,i.scale,i.originX),e0(e.y,i.y,i.scaleY,i.scale,i.originY)}function G1(e,i){return k1(QN(e.getBoundingClientRect(),i))}function KN(e,i,s){const r=G1(e,s),{scroll:l}=i;return l&&(Ka(r.x,l.offset.x),Ka(r.y,l.offset.y)),r}const ZN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},IN=os.length;function $N(e,i,s){let r="",l=!0;for(let u=0;u<IN;u++){const f=os[u],m=e[f];if(m===void 0)continue;let p=!0;if(typeof m=="number"?p=m===(f.startsWith("scale")?1:0):p=parseFloat(m)===0,!p||s){const h=R1(m,mh[f]);if(!p){l=!1;const y=ZN[f]||f;r+=`${y}(${h}) `}s&&(i[f]=h)}}return r=r.trim(),s?r=s(i,l?"":r):l&&(r="none"),r}function bh(e,i,s){const{style:r,vars:l,transformOrigin:u}=e;let f=!1,m=!1;for(const p in i){const h=i[p];if(rs.has(p)){f=!0;continue}else if(e1(p)){l[p]=h;continue}else{const y=R1(h,mh[p]);p.startsWith("origin")?(m=!0,u[p]=y):r[p]=y}}if(i.transform||(f||s?r.transform=$N(i,e.transform,s):r.transform&&(r.transform="none")),m){const{originX:p="50%",originY:h="50%",originZ:y=0}=u;r.transformOrigin=`${p} ${h} ${y}`}}function q1(e,{style:i,vars:s},r,l){const u=e.style;let f;for(f in i)u[f]=i[f];l?.applyProjectionStyles(u,r);for(f in s)u.setProperty(f,s[f])}function n0(e,i){return i.max===i.min?0:e/(i.max-i.min)*100}const io={correct:(e,i)=>{if(!i.target)return e;if(typeof e=="string")if(tt.test(e))e=parseFloat(e);else return e;const s=n0(e,i.target.x),r=n0(e,i.target.y);return`${s}% ${r}%`}},JN={correct:(e,{treeScale:i,projectionDelta:s})=>{const r=e,l=Ni.parse(e);if(l.length>5)return r;const u=Ni.createTransformer(e),f=typeof l[0]!="number"?1:0,m=s.x.scale*i.x,p=s.y.scale*i.y;l[0+f]/=m,l[1+f]/=p;const h=Pt(m,p,.5);return typeof l[2+f]=="number"&&(l[2+f]/=h),typeof l[3+f]=="number"&&(l[3+f]/=h),u(l)}},Sd={borderRadius:{...io,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:io,borderTopRightRadius:io,borderBottomLeftRadius:io,borderBottomRightRadius:io,boxShadow:JN};function Y1(e,{layout:i,layoutId:s}){return rs.has(e)||e.startsWith("origin")||(i||s!==void 0)&&(!!Sd[e]||e==="opacity")}function xh(e,i,s){const r=e.style,l=i?.style,u={};if(!r)return u;for(const f in r)(me(r[f])||l&&me(l[f])||Y1(f,e)||s?.getValue(f)?.liveStyle!==void 0)&&(u[f]=r[f]);return u}function WN(e){return window.getComputedStyle(e)}class t3 extends B1{constructor(){super(...arguments),this.type="html",this.renderInstance=q1}readValueFromInstance(i,s){if(rs.has(s))return this.projection?.isProjecting?ld(s):NO(i,s);{const r=WN(i),l=(e1(s)?r.getPropertyValue(s):r[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(i,{transformPagePoint:s}){return G1(i,s)}build(i,s,r){bh(i,s,r.transformTemplate)}scrapeMotionValuesFromProps(i,s,r){return xh(i,s,r)}}const e3={offset:"stroke-dashoffset",array:"stroke-dasharray"},n3={offset:"strokeDashoffset",array:"strokeDasharray"};function i3(e,i,s=1,r=0,l=!0){e.pathLength=1;const u=l?e3:n3;e[u.offset]=tt.transform(-r);const f=tt.transform(i),m=tt.transform(s);e[u.array]=`${f} ${m}`}const a3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function F1(e,{attrX:i,attrY:s,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:f=0,...m},p,h,y){if(bh(e,m,h),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:x}=e;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=y?.transformBox??"fill-box",delete v.transformBox);for(const T of a3)v[T]!==void 0&&(x[T]=v[T],delete v[T]);i!==void 0&&(v.x=i),s!==void 0&&(v.y=s),r!==void 0&&(v.scale=r),l!==void 0&&i3(v,l,u,f,!1)}const Q1=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"]),X1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function s3(e,i,s,r){q1(e,i,void 0,r);for(const l in i.attrs)e.setAttribute(Q1.has(l)?l:hh(l),i.attrs[l])}function K1(e,i,s){const r=xh(e,i,s);for(const l in e)if(me(e[l])||me(i[l])){const u=os.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=e[l]}return r}class o3 extends B1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ee}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(rs.has(s)){const r=C1(s);return r&&r.default||0}return s=Q1.has(s)?s:hh(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,r){return K1(i,s,r)}build(i,s,r){F1(i,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,s,r,l){s3(i,s,r,l)}mount(i){this.isSVGTag=X1(i.tagName),super.mount(i)}}const r3=vh.length;function Z1(e){if(!e)return;if(!e.isControllingVariants){const s=e.parent?Z1(e.parent)||{}:{};return e.props.initial!==void 0&&(s.initial=e.props.initial),s}const i={};for(let s=0;s<r3;s++){const r=vh[s],l=e.props[r];(bo(l)||l===!1)&&(i[r]=l)}return i}function I1(e,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==e.length)return!1;for(let r=0;r<s;r++)if(i[r]!==e[r])return!1;return!0}const l3=[...gh].reverse(),c3=gh.length;function u3(e){return i=>Promise.all(i.map(({animation:s,options:r})=>bN(e,s,r)))}function f3(e){let i=u3(e),s=i0(),r=!0;const l=p=>(h,y)=>{const v=$a(e,y,p==="exit"?e.presenceContext?.custom:void 0);if(v){const{transition:x,transitionEnd:T,...A}=v;h={...h,...A,...T}}return h};function u(p){i=p(e)}function f(p){const{props:h}=e,y=Z1(e.parent)||{},v=[],x=new Set;let T={},A=1/0;for(let M=0;M<c3;M++){const N=l3[M],V=s[N],j=h[N]!==void 0?h[N]:y[N],q=bo(j),P=N===p?V.isActive:null;P===!1&&(A=M);let Z=j===y[N]&&j!==h[N]&&q;if(Z&&r&&e.manuallyAnimateOnMount&&(Z=!1),V.protectedKeys={...T},!V.isActive&&P===null||!j&&!V.prevProp||Pl(j)||typeof j=="boolean")continue;const G=d3(V.prevProp,j);let U=G||N===p&&V.isActive&&!Z&&q||M>A&&q,J=!1;const ot=Array.isArray(j)?j:[j];let ut=ot.reduce(l(N),{});P===!1&&(ut={});const{prevResolvedValues:ft={}}=V,bt={...ft,...ut},W=Y=>{U=!0,x.has(Y)&&(J=!0,x.delete(Y)),V.needsAnimating[Y]=!0;const k=e.getValue(Y);k&&(k.liveStyle=!1)};for(const Y in bt){const k=ut[Y],at=ft[Y];if(T.hasOwnProperty(Y))continue;let dt=!1;md(k)&&md(at)?dt=!I1(k,at):dt=k!==at,dt?k!=null?W(Y):x.add(Y):k!==void 0&&x.has(Y)?W(Y):V.protectedKeys[Y]=!0}V.prevProp=j,V.prevResolvedValues=ut,V.isActive&&(T={...T,...ut}),r&&e.blockInitialAnimation&&(U=!1);const mt=Z&&G;U&&(!mt||J)&&v.push(...ot.map(Y=>{const k={type:N};if(typeof Y=="string"&&r&&!mt&&e.manuallyAnimateOnMount&&e.parent){const{parent:at}=e,dt=$a(at,Y);if(at.enteringChildren&&dt){const{delayChildren:R}=dt.transition||{};k.delay=b1(at.enteringChildren,e,R)}}return{animation:Y,options:k}}))}if(x.size){const M={};if(typeof h.initial!="boolean"){const N=$a(e,Array.isArray(h.initial)?h.initial[0]:h.initial);N&&N.transition&&(M.transition=N.transition)}x.forEach(N=>{const V=e.getBaseTarget(N),j=e.getValue(N);j&&(j.liveStyle=!0),M[N]=V??null}),v.push({animation:M})}let E=!!v.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?i(v):Promise.resolve()}function m(p,h){if(s[p].isActive===h)return Promise.resolve();e.variantChildren?.forEach(v=>v.animationState?.setActive(p,h)),s[p].isActive=h;const y=f(p);for(const v in s)s[v].protectedKeys={};return y}return{animateChanges:f,setActive:m,setAnimateFunction:u,getState:()=>s,reset:()=>{s=i0()}}}function d3(e,i){return typeof i=="string"?i!==e:Array.isArray(i)?!I1(i,e):!1}function Wi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function i0(){return{animate:Wi(!0),whileInView:Wi(),whileHover:Wi(),whileTap:Wi(),whileDrag:Wi(),whileFocus:Wi(),exit:Wi()}}const $1=1e-4,h3=1-$1,m3=1+$1,J1=.01,p3=0-J1,y3=0+J1;function ge(e){return e.max-e.min}function g3(e,i,s){return Math.abs(e-i)<=s}function a0(e,i,s,r=.5){e.origin=r,e.originPoint=Pt(i.min,i.max,e.origin),e.scale=ge(s)/ge(i),e.translate=Pt(s.min,s.max,e.origin)-e.originPoint,(e.scale>=h3&&e.scale<=m3||isNaN(e.scale))&&(e.scale=1),(e.translate>=p3&&e.translate<=y3||isNaN(e.translate))&&(e.translate=0)}function co(e,i,s,r){a0(e.x,i.x,s.x,r?r.originX:void 0),a0(e.y,i.y,s.y,r?r.originY:void 0)}function s0(e,i,s){e.min=s.min+i.min,e.max=e.min+ge(i)}function v3(e,i,s){s0(e.x,i.x,s.x),s0(e.y,i.y,s.y)}function o0(e,i,s){e.min=i.min-s.min,e.max=e.min+ge(i)}function El(e,i,s){o0(e.x,i.x,s.x),o0(e.y,i.y,s.y)}function r0(e,i,s,r,l){return e-=i,e=Tl(e,1/s,r),l!==void 0&&(e=Tl(e,1/l,r)),e}function b3(e,i=0,s=1,r=.5,l,u=e,f=e){if(xn.test(i)&&(i=parseFloat(i),i=Pt(f.min,f.max,i/100)-f.min),typeof i!="number")return;let m=Pt(u.min,u.max,r);e===u&&(m-=i),e.min=r0(e.min,i,s,m,l),e.max=r0(e.max,i,s,m,l)}function l0(e,i,[s,r,l],u,f){b3(e,i[s],i[r],i[l],i.scale,u,f)}const x3=["x","scaleX","originX"],S3=["y","scaleY","originY"];function c0(e,i,s,r){l0(e.x,i,x3,s?s.x:void 0,r?r.x:void 0),l0(e.y,i,S3,s?s.y:void 0,r?r.y:void 0)}function u0(e,i){e.min=i.min,e.max=i.max}function on(e,i){u0(e.x,i.x),u0(e.y,i.y)}function f0(e,i){e.translate=i.translate,e.scale=i.scale,e.originPoint=i.originPoint,e.origin=i.origin}function d0(e){return e.translate===0&&e.scale===1}function W1(e){return d0(e.x)&&d0(e.y)}function h0(e,i){return e.min===i.min&&e.max===i.max}function w3(e,i){return h0(e.x,i.x)&&h0(e.y,i.y)}function m0(e,i){return Math.round(e.min)===Math.round(i.min)&&Math.round(e.max)===Math.round(i.max)}function tS(e,i){return m0(e.x,i.x)&&m0(e.y,i.y)}function p0(e){return ge(e.x)/ge(e.y)}function y0(e,i){return e.translate===i.translate&&e.scale===i.scale&&e.originPoint===i.originPoint}function $e(e){return[e("x"),e("y")]}function T3(e,i,s){let r="";const l=e.x.translate/i.x,u=e.y.translate/i.y,f=s?.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}) `),s){const{transformPerspective:h,rotate:y,rotateX:v,rotateY:x,skewX:T,skewY:A}=s;h&&(r=`perspective(${h}px) ${r}`),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotateX(${v}deg) `),x&&(r+=`rotateY(${x}deg) `),T&&(r+=`skewX(${T}deg) `),A&&(r+=`skewY(${A}deg) `)}const m=e.x.scale*i.x,p=e.y.scale*i.y;return(m!==1||p!==1)&&(r+=`scale(${m}, ${p})`),r||"none"}const eS=["TopLeft","TopRight","BottomLeft","BottomRight"],E3=eS.length,g0=e=>typeof e=="string"?parseFloat(e):e,v0=e=>typeof e=="number"||tt.test(e);function A3(e,i,s,r,l,u){l?(e.opacity=Pt(0,s.opacity??1,C3(r)),e.opacityExit=Pt(i.opacity??1,0,M3(r))):u&&(e.opacity=Pt(i.opacity??1,s.opacity??1,r));for(let f=0;f<E3;f++){const m=`border${eS[f]}Radius`;let p=b0(i,m),h=b0(s,m);if(p===void 0&&h===void 0)continue;p||(p=0),h||(h=0),p===0||h===0||v0(p)===v0(h)?(e[m]=Math.max(Pt(g0(p),g0(h),r),0),(xn.test(h)||xn.test(p))&&(e[m]+="%")):e[m]=h}(i.rotate||s.rotate)&&(e.rotate=Pt(i.rotate||0,s.rotate||0,r))}function b0(e,i){return e[i]!==void 0?e[i]:e.borderRadius}const C3=nS(0,.5,Zx),M3=nS(.5,.95,tn);function nS(e,i,s){return r=>r<e?0:r>i?1:s(yo(e,i,r))}function R3(e,i){const s=ye.now(),r=({timestamp:l})=>{const u=l-s;u>=i&&(Oi(r),e(u-i))};return kt.setup(r,!0),()=>Oi(r)}function xo(e,i,s,r={passive:!0}){return e.addEventListener(i,s,r),()=>e.removeEventListener(i,s)}function cl(e){return me(e)?e.get():e}function O3(e,i,s){const r=me(e)?e:ts(e);return r.start(fh("",r,i,s)),r.animation}const N3=(e,i)=>e.depth-i.depth;class D3{constructor(){this.children=[],this.isDirty=!1}add(i){Kd(this.children,i),this.isDirty=!0}remove(i){Zd(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(N3),this.isDirty=!1,this.children.forEach(i)}}class j3{constructor(){this.members=[]}add(i){Kd(this.members,i),i.scheduleRender()}remove(i){if(Zd(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){const s=this.members.findIndex(l=>i===l);if(s===0)return!1;let r;for(let l=s;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){r=u;break}}return r?(this.promote(r),!0):!1}promote(i,s){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.instance&&r.scheduleRender(),i.scheduleRender(),i.resumeFrom=r,s&&(i.resumeFrom.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:l}=i.options;l===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:s,resumingFrom:r}=i;s.onExitComplete&&s.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const ul={hasAnimatedSinceResize:!0,hasEverUpdated:!1},jf=["","X","Y","Z"],_3=1e3;let z3=0;function _f(e,i,s,r){const{latestValues:l}=i;l[e]&&(s[e]=l[e],i.setStaticValue(e,0),r&&(r[e]=0))}function iS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:i}=e.options;if(!i)return;const s=w1(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",kt,!(l||u))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&iS(r)}function aS({attachResizeListener:e,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(f={},m=i?.()){this.id=z3++,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(U3),this.nodes.forEach(P3),this.nodes.forEach(G3),this.nodes.forEach(B3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new D3)}addEventListener(f,m){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Jd),this.eventHandlers.get(f).add(m)}notifyListeners(f,...m){const p=this.eventHandlers.get(f);p&&p.notify(...m)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=z1(f)&&!VN(f),this.instance=f;const{layoutId:m,layout:p,visualElement:h}=this.options;if(h&&!h.current&&h.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||m)&&(this.isLayoutDirty=!0),e){let y,v=0;const x=()=>this.root.updateBlockedByResize=!1;kt.read(()=>{v=window.innerWidth}),e(f,()=>{const T=window.innerWidth;T!==v&&(v=T,this.root.updateBlockedByResize=!0,y&&y(),y=R3(x,250),ul.hasAnimatedSinceResize&&(ul.hasAnimatedSinceResize=!1,this.nodes.forEach(w0)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&h&&(m||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:T})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||h.getDefaultTransition()||X3,{onLayoutAnimationStart:E,onLayoutAnimationComplete:M}=h.getProps(),N=!this.targetLayout||!tS(this.targetLayout,T),V=!v&&x;if(this.options.layoutRoot||this.resumeFrom||V||v&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const j={...uh(A,"layout"),onPlay:E,onComplete:M};(h.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j),this.setAnimationOrigin(y,V)}else v||w0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=T})}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(),Oi(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(q3),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&&iS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:m,layout:p}=this.options;if(m===void 0&&!p)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(x0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(S0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(H3),this.nodes.forEach(L3),this.nodes.forEach(V3)):this.nodes.forEach(S0),this.clearAllSnapshots();const m=ye.now();fe.delta=wn(0,1e3/60,m-fe.timestamp),fe.timestamp=m,fe.isProcessing=!0,Ef.update.process(fe),Ef.preRender.process(fe),Ef.render.process(fe),fe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ph.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(k3),this.sharedNodes.forEach(Y3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,kt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){kt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ge(this.snapshot.measuredBox.x)&&!ge(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=ee(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(m=!1),m&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!W1(this.projectionDelta),p=this.getTransformTemplate(),h=p?p(this.latestValues,""):void 0,y=h!==this.prevTransformTemplateValue;f&&this.instance&&(m||ta(this.latestValues)||y)&&(l(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const m=this.measurePageBox();let p=this.removeElementScroll(m);return f&&(p=this.removeTransform(p)),K3(p),{animationId:this.root.animationId,measuredBox:m,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return ee();const m=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Z3))){const{scroll:h}=this.root;h&&(Ka(m.x,h.offset.x),Ka(m.y,h.offset.y))}return m}removeElementScroll(f){const m=ee();if(on(m,f),this.scroll?.wasRoot)return m;for(let p=0;p<this.path.length;p++){const h=this.path[p],{scroll:y,options:v}=h;h!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&on(m,f),Ka(m.x,y.offset.x),Ka(m.y,y.offset.y))}return m}applyTransform(f,m=!1){const p=ee();on(p,f);for(let h=0;h<this.path.length;h++){const y=this.path[h];!m&&y.options.layoutScroll&&y.scroll&&y!==y.root&&Za(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),ta(y.latestValues)&&Za(p,y.latestValues)}return ta(this.latestValues)&&Za(p,this.latestValues),p}removeTransform(f){const m=ee();on(m,f);for(let p=0;p<this.path.length;p++){const h=this.path[p];if(!h.instance||!ta(h.latestValues))continue;bd(h.latestValues)&&h.updateSnapshot();const y=ee(),v=h.measurePageBox();on(y,v),c0(m,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,y)}return ta(this.latestValues)&&c0(m,this.latestValues),m}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==fe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(f||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=fe.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ee(),this.targetWithTransforms=ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),v3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):on(this.target,this.layout.layoutBox),P1(this.target,this.targetDelta)):on(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||bd(this.parent.latestValues)||H1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,m,p){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ee(),this.relativeTargetOrigin=ee(),El(this.relativeTargetOrigin,m,p),on(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const f=this.getLead(),m=!!this.resumingFrom||this!==f;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===fe.timestamp&&(p=!1),p)return;const{layout:h,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||!(h||y))return;on(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;XN(this.layoutCorrected,this.treeScale,this.path,m),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=ee());const{target:T}=f;if(!T){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(f0(this.prevProjectionDelta.x,this.projectionDelta.x),f0(this.prevProjectionDelta.y,this.projectionDelta.y)),co(this.projectionDelta,this.layoutCorrected,T,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!y0(this.projectionDelta.x,this.prevProjectionDelta.x)||!y0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",T))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xa(),this.projectionDelta=Xa(),this.projectionDeltaWithTransform=Xa()}setAnimationOrigin(f,m=!1){const p=this.snapshot,h=p?p.latestValues:{},y={...this.latestValues},v=Xa();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const x=ee(),T=p?p.source:void 0,A=this.layout?this.layout.source:void 0,E=T!==A,M=this.getStack(),N=!M||M.members.length<=1,V=!!(E&&!N&&this.options.crossfade===!0&&!this.path.some(Q3));this.animationProgress=0;let j;this.mixTargetDelta=q=>{const P=q/1e3;T0(v.x,f.x,P),T0(v.y,f.y,P),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(El(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),F3(this.relativeTarget,this.relativeTargetOrigin,x,P),j&&w3(this.relativeTarget,j)&&(this.isProjectionDirty=!1),j||(j=ee()),on(j,this.relativeTarget)),E&&(this.animationValues=y,A3(y,h,this.latestValues,P,V,N)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Oi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=kt.update(()=>{ul.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ts(0)),this.currentAnimation=O3(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),f.onUpdate&&f.onUpdate(m)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(_3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:m,target:p,layout:h,latestValues:y}=f;if(!(!m||!p||!h)){if(this!==f&&this.layout&&h&&sS(this.options.animationType,this.layout.layoutBox,h.layoutBox)){p=this.target||ee();const v=ge(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+v;const x=ge(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+x}on(m,p),Za(m,y),co(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(f,m){this.sharedNodes.has(f)||this.sharedNodes.set(f,new j3),this.sharedNodes.get(f).add(m);const h=m.options.initialPromotionConfig;m.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(m):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){const{layoutId:f}=this.options;return f?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:f}=this.options;return f?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:m,preserveFollowOpacity:p}={}){const h=this.getStack();h&&h.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let m=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(m=!0),!m)return;const h={};p.z&&_f("z",f,h,this.animationValues);for(let y=0;y<jf.length;y++)_f(`rotate${jf[y]}`,f,h,this.animationValues),_f(`skew${jf[y]}`,f,h,this.animationValues);f.render();for(const y in h)f.setStaticValue(y,h[y]),this.animationValues&&(this.animationValues[y]=h[y]);f.scheduleRender()}applyProjectionStyles(f,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=cl(m?.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=cl(m?.pointerEvents)||""),this.hasProjected&&!ta(this.latestValues)&&(f.transform=p?p({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=h.animationValues||h.latestValues;this.applyTransformsToTarget();let v=T3(this.projectionDeltaWithTransform,this.treeScale,y);p&&(v=p(y,v)),f.transform=v;const{x,y:T}=this.projectionDelta;f.transformOrigin=`${x.origin*100}% ${T.origin*100}% 0`,h.animationValues?f.opacity=h===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=h===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const A in Sd){if(y[A]===void 0)continue;const{correct:E,applyTo:M,isCSSVariable:N}=Sd[A],V=v==="none"?y[A]:E(y[A],h);if(M){const j=M.length;for(let q=0;q<j;q++)f[M[q]]=V}else N?this.options.visualElement.renderState.vars[A]=V:f[A]=V}this.options.layoutId&&(f.pointerEvents=h===this?cl(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(x0),this.root.sharedNodes.clear()}}}function L3(e){e.updateLayout()}function V3(e){const i=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=e.layout,{animationType:l}=e.options,u=i.source!==e.layout.source;l==="size"?$e(y=>{const v=u?i.measuredBox[y]:i.layoutBox[y],x=ge(v);v.min=s[y].min,v.max=v.min+x}):sS(l,i.layoutBox,s)&&$e(y=>{const v=u?i.measuredBox[y]:i.layoutBox[y],x=ge(s[y]);v.max=v.min+x,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+x)});const f=Xa();co(f,s,i.layoutBox);const m=Xa();u?co(m,e.applyTransform(r,!0),i.measuredBox):co(m,s,i.layoutBox);const p=!W1(f);let h=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:x}=y;if(v&&x){const T=ee();El(T,i.layoutBox,v.layoutBox);const A=ee();El(A,s,x.layoutBox),tS(T,A)||(h=!0),y.options.layoutRoot&&(e.relativeTarget=A,e.relativeTargetOrigin=T,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:m,layoutDelta:f,hasLayoutChanged:p,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function U3(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 B3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function k3(e){e.clearSnapshot()}function x0(e){e.clearMeasurements()}function S0(e){e.isLayoutDirty=!1}function H3(e){const{visualElement:i}=e.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),e.resetTransform()}function w0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function P3(e){e.resolveTargetDelta()}function G3(e){e.calcProjection()}function q3(e){e.resetSkewAndRotation()}function Y3(e){e.removeLeadSnapshot()}function T0(e,i,s){e.translate=Pt(i.translate,0,s),e.scale=Pt(i.scale,1,s),e.origin=i.origin,e.originPoint=i.originPoint}function E0(e,i,s,r){e.min=Pt(i.min,s.min,r),e.max=Pt(i.max,s.max,r)}function F3(e,i,s,r){E0(e.x,i.x,s.x,r),E0(e.y,i.y,s.y,r)}function Q3(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const X3={duration:.45,ease:[.4,0,.1,1]},A0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),C0=A0("applewebkit/")&&!A0("chrome/")?Math.round:tn;function M0(e){e.min=C0(e.min),e.max=C0(e.max)}function K3(e){M0(e.x),M0(e.y)}function sS(e,i,s){return e==="position"||e==="preserve-aspect"&&!g3(p0(i),p0(s),.2)}function Z3(e){return e!==e.root&&e.scroll?.wasRoot}const I3=aS({attachResizeListener:(e,i)=>xo(e,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),zf={current:void 0},oS=aS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!zf.current){const e=new I3({});e.mount(window),e.setOptions({layoutScroll:!0}),zf.current=e}return zf.current},resetTransform:(e,i)=>{e.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Sh=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function R0(e,i){if(typeof e=="function")return e(i);e!=null&&(e.current=i)}function $3(...e){return i=>{let s=!1;const r=e.map(l=>{const u=R0(l,i);return!s&&typeof u=="function"&&(s=!0),u});if(s)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():R0(e[l],null)}}}}function J3(...e){return w.useCallback($3(...e),e)}class W3 extends w.Component{getSnapshotBeforeUpdate(i){const s=this.props.childRef.current;if(s&&i.isPresent&&!this.props.isPresent){const r=s.offsetParent,l=O1(r)&&r.offsetWidth||0,u=this.props.sizeRef.current;u.height=s.offsetHeight||0,u.width=s.offsetWidth||0,u.top=s.offsetTop,u.left=s.offsetLeft,u.right=l-u.width-u.left}return null}componentDidUpdate(){}render(){return this.props.children}}function tD({children:e,isPresent:i,anchorX:s,root:r}){const l=w.useId(),u=w.useRef(null),f=w.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:m}=w.useContext(Sh),p=e.props?.ref??e?.ref,h=J3(u,p);return w.useInsertionEffect(()=>{const{width:y,height:v,top:x,left:T,right:A}=f.current;if(i||!u.current||!y||!v)return;const E=s==="left"?`left: ${T}`:`right: ${A}`;u.current.dataset.motionPopId=l;const M=document.createElement("style");m&&(M.nonce=m);const N=r??document.head;return N.appendChild(M),M.sheet&&M.sheet.insertRule(`
10          [data-motion-pop-id="${l}"] {
11            position: absolute !important;
12            width: ${y}px !important;
13            height: ${v}px !important;
14            ${E}px !important;
15            top: ${x}px !important;
16          }
17        `),()=>{N.contains(M)&&N.removeChild(M)}},[i]),b.jsx(W3,{isPresent:i,childRef:u,sizeRef:f,children:w.cloneElement(e,{ref:h})})}const eD=({children:e,initial:i,isPresent:s,onExitComplete:r,custom:l,presenceAffectsLayout:u,mode:f,anchorX:m,root:p})=>{const h=Xd(nD),y=w.useId();let v=!0,x=w.useMemo(()=>(v=!1,{id:y,initial:i,isPresent:s,custom:l,onExitComplete:T=>{h.set(T,!0);for(const A of h.values())if(!A)return;r&&r()},register:T=>(h.set(T,!1),()=>h.delete(T))}),[s,h,r]);return u&&v&&(x={...x}),w.useMemo(()=>{h.forEach((T,A)=>h.set(A,!1))},[s]),w.useEffect(()=>{!s&&!h.size&&r&&r()},[s]),f==="popLayout"&&(e=b.jsx(tD,{isPresent:s,anchorX:m,root:p,children:e})),b.jsx(Hl.Provider,{value:x,children:e})};function nD(){return new Map}function rS(e=!0){const i=w.useContext(Hl);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:l}=i,u=w.useId();w.useEffect(()=>{if(e)return l(u)},[e]);const f=w.useCallback(()=>e&&r&&r(u),[u,r,e]);return!s&&r?[!1,f]:[!0]}const nl=e=>e.key||"";function O0(e){const i=[];return w.Children.forEach(e,s=>{w.isValidElement(s)&&i.push(s)}),i}const ql=({children:e,custom:i,initial:s=!0,onExitComplete:r,presenceAffectsLayout:l=!0,mode:u="sync",propagate:f=!1,anchorX:m="left",root:p})=>{const[h,y]=rS(f),v=w.useMemo(()=>O0(e),[e]),x=f&&!h?[]:v.map(nl),T=w.useRef(!0),A=w.useRef(v),E=Xd(()=>new Map),M=w.useRef(new Set),[N,V]=w.useState(v),[j,q]=w.useState(v);Bx(()=>{T.current=!1,A.current=v;for(let G=0;G<j.length;G++){const U=nl(j[G]);x.includes(U)?(E.delete(U),M.current.delete(U)):E.get(U)!==!0&&E.set(U,!1)}},[j,x.length,x.join("-")]);const P=[];if(v!==N){let G=[...v];for(let U=0;U<j.length;U++){const J=j[U],ot=nl(J);x.includes(ot)||(G.splice(U,0,J),P.push(J))}return u==="wait"&&P.length&&(G=P),q(O0(G)),V(v),null}const{forceRender:Z}=w.useContext(Qd);return b.jsx(b.Fragment,{children:j.map(G=>{const U=nl(G),J=f&&!h?!1:v===j||x.includes(U),ot=()=>{if(M.current.has(U))return;if(M.current.add(U),E.has(U))E.set(U,!0);else return;let ut=!0;E.forEach(ft=>{ft||(ut=!1)}),ut&&(Z?.(),q(A.current),f&&y?.(),r&&r())};return b.jsx(eD,{isPresent:J,initial:!T.current||s?void 0:!1,custom:i,presenceAffectsLayout:l,mode:u,root:p,onExitComplete:J?void 0:ot,anchorX:m,children:G},U)})})},lS=w.createContext({strict:!1}),N0={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 D0=!1;function iD(){if(D0)return;const e={};for(const i in N0)e[i]={isEnabled:s=>N0[i].some(r=>!!s[r])};U1(e),D0=!0}function cS(){return iD(),qN()}function aD(e){const i=cS();for(const s in e)i[s]={...i[s],...e[s]};U1(i)}const sD=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Al(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sD.has(e)}let uS=e=>!Al(e);function oD(e){typeof e=="function"&&(uS=i=>i.startsWith("on")?!Al(i):e(i))}try{oD(require("@emotion/is-prop-valid").default)}catch{}function rD(e,i,s){const r={};for(const l in e)l==="values"&&typeof e.values=="object"||(uS(l)||s===!0&&Al(l)||!i&&!Al(l)||e.draggable&&l.startsWith("onDrag"))&&(r[l]=e[l]);return r}const Yl=w.createContext({});function lD(e,i){if(Gl(e)){const{initial:s,animate:r}=e;return{initial:s===!1||bo(s)?s:void 0,animate:bo(r)?r:void 0}}return e.inherit!==!1?i:{}}function cD(e){const{initial:i,animate:s}=lD(e,w.useContext(Yl));return w.useMemo(()=>({initial:i,animate:s}),[j0(i),j0(s)])}function j0(e){return Array.isArray(e)?e.join(" "):e}const wh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function fS(e,i,s){for(const r in i)!me(i[r])&&!Y1(r,s)&&(e[r]=i[r])}function uD({transformTemplate:e},i){return w.useMemo(()=>{const s=wh();return bh(s,i,e),Object.assign({},s.vars,s.style)},[i])}function fD(e,i){const s=e.style||{},r={};return fS(r,s,e),Object.assign(r,uD(e,i)),r}function dD(e,i){const s={},r=fD(e,i);return e.drag&&e.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=r,s}const dS=()=>({...wh(),attrs:{}});function hD(e,i,s,r){const l=w.useMemo(()=>{const u=dS();return F1(u,i,X1(r),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[i]);if(e.style){const u={};fS(u,e.style,e),l.style={...u,...l.style}}return l}const mD=["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 Th(e){return typeof e!="string"||e.includes("-")?!1:!!(mD.indexOf(e)>-1||/[A-Z]/u.test(e))}function pD(e,i,s,{latestValues:r},l,u=!1,f){const p=(f??Th(e)?hD:dD)(i,r,l,e),h=rD(i,typeof e=="string",u),y=e!==w.Fragment?{...h,...p,ref:s}:{},{children:v}=i,x=w.useMemo(()=>me(v)?v.get():v,[v]);return w.createElement(e,{...y,children:x})}function yD({scrapeMotionValuesFromProps:e,createRenderState:i},s,r,l){return{latestValues:gD(s,r,l,e),renderState:i()}}function gD(e,i,s,r){const l={},u=r(e,{});for(const x in u)l[x]=cl(u[x]);let{initial:f,animate:m}=e;const p=Gl(e),h=V1(e);i&&h&&!p&&e.inherit!==!1&&(f===void 0&&(f=i.initial),m===void 0&&(m=i.animate));let y=s?s.initial===!1:!1;y=y||f===!1;const v=y?m:f;if(v&&typeof v!="boolean"&&!Pl(v)){const x=Array.isArray(v)?v:[v];for(let T=0;T<x.length;T++){const A=dh(e,x[T]);if(A){const{transitionEnd:E,transition:M,...N}=A;for(const V in N){let j=N[V];if(Array.isArray(j)){const q=y?j.length-1:0;j=j[q]}j!==null&&(l[V]=j)}for(const V in E)l[V]=E[V]}}}return l}const hS=e=>(i,s)=>{const r=w.useContext(Yl),l=w.useContext(Hl),u=()=>yD(e,i,r,l);return s?u():Xd(u)},vD=hS({scrapeMotionValuesFromProps:xh,createRenderState:wh}),bD=hS({scrapeMotionValuesFromProps:K1,createRenderState:dS}),xD=Symbol.for("motionComponentSymbol");function SD(e,i,s){const r=w.useRef(s);w.useInsertionEffect(()=>{r.current=s});const l=w.useRef(null);return w.useCallback(u=>{u&&e.onMount?.(u),i&&(u?i.mount(u):i.unmount());const f=r.current;if(typeof f=="function")if(u){const m=f(u);typeof m=="function"&&(l.current=m)}else l.current?(l.current(),l.current=null):f(u);else f&&(f.current=u)},[i])}const mS=w.createContext({});function so(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function wD(e,i,s,r,l,u){const{visualElement:f}=w.useContext(Yl),m=w.useContext(lS),p=w.useContext(Hl),h=w.useContext(Sh).reducedMotion,y=w.useRef(null);r=r||m.renderer,!y.current&&r&&(y.current=r(e,{visualState:i,parent:f,props:s,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:h,isSVG:u}));const v=y.current,x=w.useContext(mS);v&&!v.projection&&l&&(v.type==="html"||v.type==="svg")&&TD(y.current,s,l,x);const T=w.useRef(!1);w.useInsertionEffect(()=>{v&&T.current&&v.update(s,p)});const A=s[S1],E=w.useRef(!!A&&!window.MotionHandoffIsComplete?.(A)&&window.MotionHasOptimisedAnimation?.(A));return Bx(()=>{v&&(T.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),E.current&&v.animationState&&v.animationState.animateChanges())}),w.useEffect(()=>{v&&(!E.current&&v.animationState&&v.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(A)}),E.current=!1),v.enteringChildren=void 0)}),v}function TD(e,i,s,r){const{layoutId:l,layout:u,drag:f,dragConstraints:m,layoutScroll:p,layoutRoot:h,layoutCrossfade:y}=i;e.projection=new s(e.latestValues,i["data-framer-portal-id"]?void 0:pS(e.parent)),e.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!f||m&&so(m),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:p,layoutRoot:h})}function pS(e){if(e)return e.options.allowProjection!==!1?e.projection:pS(e.parent)}function Lf(e,{forwardMotionProps:i=!1,type:s}={},r,l){r&&aD(r);const u=s?s==="svg":Th(e),f=u?bD:vD;function m(h,y){let v;const x={...w.useContext(Sh),...h,layoutId:ED(h)},{isStatic:T}=x,A=cD(h),E=f(h,T);if(!T&&Ux){AD();const M=CD(x);v=M.MeasureLayout,A.visualElement=wD(e,E,x,l,M.ProjectionNode,u)}return b.jsxs(Yl.Provider,{value:A,children:[v&&A.visualElement?b.jsx(v,{visualElement:A.visualElement,...x}):null,pD(e,h,SD(E,A.visualElement,y),E,T,i,u)]})}m.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const p=w.forwardRef(m);return p[xD]=e,p}function ED({layoutId:e}){const i=w.useContext(Qd).id;return i&&e!==void 0?i+"-"+e:e}function AD(e,i){w.useContext(lS).strict}function CD(e){const i=cS(),{drag:s,layout:r}=i;if(!s&&!r)return{};const l={...s,...r};return{MeasureLayout:s?.isEnabled(e)||r?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function MD(e,i){if(typeof Proxy>"u")return Lf;const s=new Map,r=(u,f)=>Lf(u,f,e,i),l=(u,f)=>r(u,f);return new Proxy(l,{get:(u,f)=>f==="create"?r:(s.has(f)||s.set(f,Lf(f,void 0,e,i)),s.get(f))})}const RD=(e,i)=>i.isSVG??Th(e)?new o3(i):new t3(i,{allowProjection:e!==w.Fragment});class OD extends Di{constructor(i){super(i),i.animationState||(i.animationState=f3(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Pl(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ND=0;class DD extends Di{constructor(){super(...arguments),this.id=ND++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;const l=this.node.animationState.setActive("exit",!i);s&&!i&&l.then(()=>{s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const jD={animation:{Feature:OD},exit:{Feature:DD}};function Oo(e){return{point:{x:e.pageX,y:e.pageY}}}const _D=e=>i=>yh(i)&&e(i,Oo(i));function uo(e,i,s,r){return xo(e,i,_D(s),r)}const yS=({current:e})=>e?e.ownerDocument.defaultView:null,_0=(e,i)=>Math.abs(e-i);function zD(e,i){const s=_0(e.x,i.x),r=_0(e.y,i.y);return Math.sqrt(s**2+r**2)}const z0=new Set(["auto","scroll"]);class gS{constructor(i,s,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:f=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=T=>{this.handleScroll(T.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=Uf(this.lastMoveEventInfo,this.history),A=this.startEvent!==null,E=zD(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!A&&!E)return;const{point:M}=T,{timestamp:N}=fe;this.history.push({...M,timestamp:N});const{onStart:V,onMove:j}=this.handlers;A||(V&&V(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),j&&j(this.lastMoveEvent,T)},this.handlePointerMove=(T,A)=>{this.lastMoveEvent=T,this.lastMoveEventInfo=Vf(A,this.transformPagePoint),kt.update(this.updatePoint,!0)},this.handlePointerUp=(T,A)=>{this.end();const{onEnd:E,onSessionEnd:M,resumeAnimation:N}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const V=Uf(T.type==="pointercancel"?this.lastMoveEventInfo:Vf(A,this.transformPagePoint),this.history);this.startEvent&&E&&E(T,V),M&&M(T,V)},!yh(i))return;this.dragSnapToOrigin=u,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=l||window;const p=Oo(i),h=Vf(p,this.transformPagePoint),{point:y}=h,{timestamp:v}=fe;this.history=[{...y,timestamp:v}];const{onSessionStart:x}=s;x&&x(i,Uf(h,this.history)),this.removeListeners=Co(uo(this.contextWindow,"pointermove",this.handlePointerMove),uo(this.contextWindow,"pointerup",this.handlePointerUp),uo(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(i){let s=i.parentElement;for(;s;){const r=getComputedStyle(s);(z0.has(r.overflowX)||z0.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const s=this.scrollPositions.get(i);if(!s)return;const r=i===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},u={x:l.x-s.x,y:l.y-s.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),kt.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Oi(this.updatePoint)}}function Vf(e,i){return i?{point:i(e.point)}:e}function L0(e,i){return{x:e.x-i.x,y:e.y-i.y}}function Uf({point:e},i){return{point:e,delta:L0(e,vS(i)),offset:L0(e,LD(i)),velocity:VD(i,.1)}}function LD(e){return e[0]}function vS(e){return e[e.length-1]}function VD(e,i){if(e.length<2)return{x:0,y:0};let s=e.length-1,r=null;const l=vS(e);for(;s>=0&&(r=e[s],!(l.timestamp-r.timestamp>qn(i)));)s--;if(!r)return{x:0,y:0};const u=We(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 UD(e,{min:i,max:s},r){return i!==void 0&&e<i?e=r?Pt(i,e,r.min):Math.max(e,i):s!==void 0&&e>s&&(e=r?Pt(s,e,r.max):Math.min(e,s)),e}function V0(e,i,s){return{min:i!==void 0?e.min+i:void 0,max:s!==void 0?e.max+s-(e.max-e.min):void 0}}function BD(e,{top:i,left:s,bottom:r,right:l}){return{x:V0(e.x,s,l),y:V0(e.y,i,r)}}function U0(e,i){let s=i.min-e.min,r=i.max-e.max;return i.max-i.min<e.max-e.min&&([s,r]=[r,s]),{min:s,max:r}}function kD(e,i){return{x:U0(e.x,i.x),y:U0(e.y,i.y)}}function HD(e,i){let s=.5;const r=ge(e),l=ge(i);return l>r?s=yo(i.min,i.max-r,e.min):r>l&&(s=yo(e.min,e.max-l,i.min)),wn(0,1,s)}function PD(e,i){const s={};return i.min!==void 0&&(s.min=i.min-e.min),i.max!==void 0&&(s.max=i.max-e.min),s}const wd=.35;function GD(e=wd){return e===!1?e=0:e===!0&&(e=wd),{x:B0(e,"left","right"),y:B0(e,"to
17p","bottom")}}function B0(e,i,s){return{min:k0(e,i),max:k0(e,s)}}function k0(e,i){return typeof e=="number"?e:e[i]||0}const qD=new WeakMap;class YD{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=ee(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=v=>{s?(this.stopAnimation(),this.snapToCursor(Oo(v).point)):this.pauseAnimation()},f=(v,x)=>{this.stopAnimation();const{drag:T,dragPropagation:A,onDragStart:E}=this.getProps();if(T&&!A&&(this.openDragLock&&this.openDragLock(),this.openDragLock=DN(T),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$e(N=>{let V=this.getAxisMotionValue(N).get()||0;if(xn.test(V)){const{projection:j}=this.visualElement;if(j&&j.layout){const q=j.layout.layoutBox[N];q&&(V=ge(q)*(parseFloat(V)/100))}}this.originPoint[N]=V}),E&&kt.postRender(()=>E(v,x)),pd(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},m=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:T,dragDirectionLock:A,onDirectionLock:E,onDrag:M}=this.getProps();if(!T&&!this.openDragLock)return;const{offset:N}=x;if(A&&this.currentDirection===null){this.currentDirection=FD(N),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",x.point,N),this.updateAxis("y",x.point,N),this.visualElement.render(),M&&M(v,x)},p=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>$e(v=>this.getAnimationState(v)==="paused"&&this.getAxisMotionValue(v).animation?.play()),{dragSnapToOrigin:y}=this.getProps();this.panSession=new gS(i,{onSessionStart:u,onStart:f,onMove:m,onSessionEnd:p,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:yS(this.visualElement),element:this.visualElement.current})}stop(i,s){const r=i||this.latestPointerEvent,l=s||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:f}=l;this.startAnimation(f);const{onDragEnd:m}=this.getProps();m&&kt.postRender(()=>m(r,l))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(i,s,r){const{drag:l}=this.getProps();if(!r||!il(i,l,this.currentDirection))return;const u=this.getAxisMotionValue(i);let f=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(f=UD(f,this.constraints[i],this.elastic[i])),u.set(f)}resolveConstraints(){const{dragConstraints:i,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;i&&so(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=BD(r.layoutBox,i):this.constraints=!1,this.elastic=GD(s),l!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&$e(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=PD(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!so(i))return!1;const r=i.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=KN(r,l.root,this.visualElement.getTransformPagePoint());let f=kD(l.layout.layoutBox,u);if(s){const m=s(FN(f));this.hasMutatedConstraints=!!m,m&&(f=k1(m))}return f}startAnimation(i){const{drag:s,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:m}=this.getProps(),p=this.constraints||{},h=$e(y=>{if(!il(y,s,this.currentDirection))return;let v=p&&p[y]||{};f&&(v={min:0,max:0});const x=l?200:1e6,T=l?40:1e7,A={type:"inertia",velocity:r?i[y]:0,bounceStiffness:x,bounceDamping:T,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,A)});return Promise.all(h).then(m)}startAxisValueAnimation(i,s){const r=this.getAxisMotionValue(i);return pd(this.visualElement,i),r.start(fh(i,r,0,s,this.visualElement,!1))}stopAnimation(){$e(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){$e(i=>this.getAxisMotionValue(i).animation?.pause())}getAnimationState(i){return this.getAxisMotionValue(i).animation?.state}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),l=r[s];return l||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){$e(s=>{const{drag:r}=this.getProps();if(!il(s,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(s);if(l&&l.layout){const{min:f,max:m}=l.layout.layoutBox[s],p=u.get()||0;
vendor: 7,500 bytes, lines 17-19
17u.set(i[s]-Pt(f,m,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!so(s)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};$e(f=>{const m=this.getAxisMotionValue(f);if(m&&this.constraints!==!1){const p=m.get();l[f]=HD({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.resolveConstraints(),$e(f=>{if(!il(f,i,null))return;const m=this.getAxisMotionValue(f),{min:p,max:h}=this.constraints[f];m.set(Pt(p,h,l[f]))})}addListeners(){if(!this.visualElement.current)return;qD.set(this.visualElement,this);const i=this.visualElement.current,s=uo(i,"pointerdown",p=>{const{drag:h,dragListener:y=!0}=this.getProps();h&&y&&!_1(p.target)&&this.start(p)}),r=()=>{const{dragConstraints:p}=this.getProps();so(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",r);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),kt.read(r);const f=xo(window,"resize",()=>this.scalePositionWithinConstraints()),m=l.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:h})=>{this.isDragging&&h&&($e(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[y].translate))}),this.visualElement.render())}));return()=>{f(),s(),u(),m&&m()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:f=wd,dragMomentum:m=!0}=i;return{...i,drag:s,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:m}}}function il(e,i,s){return(i===!0||i===e)&&(s===null||s===e)}function FD(e,i=10){let s=null;return Math.abs(e.y)>i?s="y":Math.abs(e.x)>i&&(s="x"),s}class QD extends Di{constructor(i){super(i),this.removeGroupControls=tn,this.removeListeners=tn,this.controls=new YD(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tn}update(){const{dragControls:i}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};i!==s&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const H0=e=>(i,s)=>{e&&kt.postRender(()=>e(i,s))};class XD extends Di{constructor(){super(...arguments),this.removePointerDownListener=tn}onPointerDown(i){this.session=new gS(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yS(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:H0(i),onStart:H0(s),onMove:r,onEnd:(u,f)=>{delete this.session,l&&kt.postRender(()=>l(u,f))}}}mount(){this.removePointerDownListener=uo(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 Bf=!1;class KD extends w.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=i;u&&(s.group&&s.group.add(u),r&&r.register&&l&&r.register(u),Bf&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),ul.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:r,drag:l,isPresent:u}=this.props,{projection:f}=r;return f&&(f.isPresent=u,Bf=!0,l||i.layoutDependency!==s||s===void 0||i.isPresent!==u?f.willUpdate():this.safeToRemove(),i.isPresent!==u&&(u?f.promote():f.relegate()||kt.postRender(()=>{const m=f.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),ph.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:l}=i;Bf=!0,l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function bS(e){const[i,s]=rS(),r=w.useContext(Qd);return b.jsx(KD,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(mS),isPresent:i,safeToRemove:s})}const ZD={pan:{Feature:XD},drag:{Feature:QD,ProjectionNode:oS,MeasureLayout:bS}};function P0(e,i,s){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,u=r[l];u&&kt.postRender(()=>u(i,Oo(i)))}class ID extends Di{mount(){const{current:i}=this.node;i&&(this.unmount=jN(i,(s,r)=>(P0(this.node,r,"Start"),l=>P0(this.node,l,"End"))))}unmount(){}}class $D extends Di{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=Co(xo(this.node.current,"focus",()=>this.onFocus()),xo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function G0(e,i,s){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),u=r[l];u&&kt.postRender(()=>u(i,Oo(i)))}class JD extends Di{mount(){const{current:i}=this.node;i&&(this.unmount=LN(i,(s,r)=>(G0(this.node,r,"Start"),(l,{success:u})=>G0(this.node,l,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Td=new WeakMap,kf=new WeakMap,WD=e=>{const i=Td.get(e.target);i&&i(e)},tj=e=>{e.forEach(WD)};function ej({root:e,...i}){const s=e||document;kf.has(s)||kf.set(s,{});const r=kf.get(s),l=JSON.stringify(i);return r[l]||(r[l]=new IntersectionObserver(tj,{root:e,...i})),r[l]}function nj(e,i,s){const r=ej(i);return Td.set(e,s),r.observe(e),()=>{Td.delete(e),r.unobserve(e)}}const ij={some:0,all:1};class aj extends Di{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:l="some",once:u}=i,f={root:s?s.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:ij[l]},m=p=>{const{isIntersecting:h}=p;if(this.isInView===h||(this.isInView=h,u&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),x=h?y:v;x&&x(p)};return nj(this.node.current,f,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(sj(i,s))&&this.startObserver()}unmount(){}}function sj({viewport:e={}},{viewport:i={}}={}){return s=>e[s]!==i[s]}const oj={inView:{Feature:aj},tap:{Feature:JD},focus:{Feature:$D},hover:{Feature:ID}},rj={layout:{ProjectionNode:oS,MeasureLayout:bS}},lj={...jD,...oj,...ZD,...rj},Vt=MD(lj,RD),xS={home:{headline:`REWRITE
18YOUR
19FUTURE`}
19,blueprint:{title:"BLUEPRINT",sections:{motive:{title:"Motive",bullets:["Learn new useful tools","Provide useful information to others"]},model:{title:"Model",bullets:["Directory business model"]},money:{title:"Money",bullets:["Free directory with affiliate money where available"]},method:{title:"Method",bullets:["1. List topics you are interested in or know about","2. Come up with the best topic that would fit the directory business model","3. Use a spreadsheet to list all the items and information and also see who has affiliate or reward offerings you can register for","4. Use Replit to build a directory website"]},tools:{title:"Tools",bullets:["Replit - Websites","Google Sheets - Spreadsheets","Datafast - Analytics","Todoist - Organisation","Zapier - Automations"]},more:{title:"More",bullets:["Build on consulting services based on customer information","Create education and tools to help groups of people identified from consulting"]}}}};function cj(){const{headline:e}=xS.home;return b.jsx("div",{children:b.jsx("header",{className:"relative overflow-hidden pt-6 md:pt-[calc(1rem+2.25rem+0.5rem)]",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4 md:pt-[2.25rem]",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-[4.5rem] md:text-[6.5rem] font-black leading-[1.0] tracking-tight mb-6 md:mb-6 uppercase whitespace-pre-line text-[#373636]",children:e}),b.jsxs(Vt.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.05},className:"text-2xl md:text-2xl leading-relaxed mb-10 md:mb-8 text-[#373636] max-w-2xl",children:["How we spend our lives is, of course, how we spend our days. What we do with this hour, and that one, is what we are doing. — Annie Dillard, ",b.jsx("em",{children:"The Writing Life"})]}),b.jsx(Vt.div,{initial:{opacity:0}
19,animate:{opacity:1},transition:{delay:.1},className:"flex flex-col gap-4 md:gap-8 pb-16 md:pb-16",children:b.jsxs("div",{className:"flex gap-1 md:gap-4 w-full",children:[b.jsx(Yn,{href:"/life-areas",className:"w-1/2",children:b.jsx("button",{"data-testid":"button-life-areas",className:"w-full py-6 md:py-8 bg-[#373636] text-white font-black tracking-wider text-lg md:text-2xl hover:bg-[#222222] transition-colors",children:"LIFE AREAS"})}),b.jsx(Yn,{href:"/start",className:"w-1/2",children:b.jsx("button",{"data-testid":"button-start",className:"w-full py-6 md:py-8 bg-[#373636] text-white font-black tracking-wider text-lg md:text-2xl hover:bg-[#222222] transition-colors",children:"START"})})]})})]})})})}const uj={motive:VC,model:wC,money:NC,method:RC,tools:BC,more:jC};function fj(){const{title:e,sections:i}=xS.blueprint;return b.jsx("div",{className:"min-h-full",style:{backgroundColor:"#35518e"},children:b.jsx("div",{className:"py-8",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-[2.5rem] md:text-[5.8rem] font-black leading-[1.0] tracking-tight mb-6 uppercase",children:e}),b.jsxs(Vt.p,{initial:{opacity:0}
19,animate:{opacity:1},transition:{delay:.1},className:"text-xl md:text-2xl text-white/90 mb-10 w-full leading-relaxed",children:["This is the business blueprint for"," ",b.jsx("a",{href:"/",className:"underline hover:text-white","data-testid":"link-nonconformity-tools",children:"nonconformity tools"})," ","part of free business blueprints at"," ",b.jsx("a",{href:"https://www.nonconformityblueprints.com",className:"underline hover:text-white","data-testid":"link-nonconformity-blueprints",children:"nonconformity blueprints"}),". Starting"," ",b.jsx("a",{href:"https://www.100startupsin1000days.com/",className:"underline hover:text-white","data-testid":"link-100startups",children:"100 startups in 1000 days"})," ","at"," ",b.jsx("a",{href:"https://www.nonconformitycompany.com",className:"underline hover:text-white","data-testid":"link-nonconformity-company",children:"nonconformity company"})]}),b.jsx("div",{className:"grid gap-4",children:Object.entries(i).map(([s,r],l)=>{const u=uj[s];return b.jsx(Vt.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:l*.1},className:"group bg-white/10 hover:bg-white/15 border-2 border-white/20 hover:border-white/40 p-6 cursor-pointer transition-all","data-testid":`section-${s}`,children:b.jsxs("div",{className:"flex items-start gap-4",children:[b.jsxs("div",{className:"flex-1",children:[b.jsx("h3",{className:"text-2xl md:text-3xl font-black uppercase tracking-tight mb-6 group-hover:text-white transition-colors",children:r.title}),b.jsx("ul",{className:"text-white/70 text-xl md:text-2xl space-y-1",style:{listStyle:"none",padding:0},children:r.bullets.map((f,m)=>{if(f.startsWith("TIP:"))return null;if(/^\d+\./.test(f)){const h=f.match(/^(\d+\.)\s*/)?.[1]||"",y=f.replace(/^\d+\.\s*/,"");if(y.includes("TypeForm")){const v=y.split("TypeForm");return b.jsxs("li",{className:"flex",children:[b.jsx("span",{className:"flex-shrink-0",style:{minWidth:"1.5em"},children:h}),b.jsxs("span",{className:"flex-1",children:[v[0],b.jsx("a",{href:"https://typeform.cello.so/qjvArrujewh",className:"underline hover:text-white",children:"TypeForm"}),v[1]]})]},m)}if(y.includes("Replit")){const v=y.split("Replit");return b.jsxs("li",{className:"flex",children:[b.jsx("span",{className:"flex-shrink-0",style:{minWidth:"1.5em"},children:h}),b.jsxs("span",{className:"flex-1",children:[v[0],b.jsx("a",{href:"https://replit.com/refer/noncoops",className:"underline hover:text-white",children:"Replit"}),v[1]]})]},m)}return b.jsxs("li",{className:"flex",children:[b.jsx("span",{className:"flex-shrink-0",style:{minWidth:"1.5em"},children:h}),b.jsx("span",{className:"flex-1",children:y})]},m)}if(f.includes("TypeForm")){const h=f.split("TypeForm");return b.jsxs("li",{className:"flex",children:[b.jsx("span",{className:"flex-shrink-0 mr-2",children:"•"}),b.jsxs("span",{children:[h[0],b.jsx("a",{href:"https://typeform.cello.so/qjvArrujewh",className:"underline hover:text-white",children:"TypeForm"}),h[1]]})]},m)}if(s==="tools"){const h={Replit:"https://replit.com/refer/noncoops","Google Sheets":"https://docs.google.com/spreadsheets/create",Datafast:"https://datafa.st/?via=michael-todd",Todoist:"https://www.todoist.com/",Zapier:"https://www.zapier.com"},y=f.split(" - ")[0],v=f.split(" - ")[1];return b.jsxs("li",{className:"flex",children:[b.jsx("span",{className:"flex-shrink-0 mr-2",children:"•"}),b.jsxs("span",{children:[b.jsx("a",{href:h[y],className:"underline hover:text-white",children:y})," - ",v]})]},m)}return b.jsxs("li",{className:"flex",children:[b.jsx("span",{className:"flex-shrink-0 mr-2",children:"•"}),b.jsx("span",{children:f})]},m)})}),s==="money"&&r.bullets.find(f=>f.startsWith("TIP:"))&&b.jsx("p",{className:"text-white/70 text-xl md:text-2xl mt-4",children:r.bullets.find(f=>f.startsWith("TIP:"))})]}),b.jsx("div",{className:"hidden md:flex w-12 h-12 bg-white rounded-full items-center justify-center flex-shrink-0",children:b.jsx(u,{className:"w-6 h-6 text-[#35518e]"})})]})},s)})})]})})})}function dj(){const[e,i]=w.useState(""),[s,r]=w.useState(!1),l=w.useRef(null),{data:u=[]}=hb({queryKey:["/api/tools"],queryFn:async()=>{const p=await fetch("/api/tools");if(!p.ok)throw new Error("Failed to fetch tools");return p.json()},staleTime:1e3*60*5,placeholderData:p=>p??[]}),f=w.useMemo(()=>
19{if(!e.trim())return u;const p=e.toLowerCase();return u.filter(h=>h.job.toLowerCase().includes(p)||h.name.toLowerCase().includes(p))},[e,u]),m=w.useMemo(()=>{const p={};for(const h of f){const y=h.job||"Other";p[y]||(p[y]=[]),p[y].push(h)}return Object.entries(p).sort(([h],[y])=>h.localeCompare(y))},[f]);return w.useEffect(()=>{function p(h){l.current&&!l.current.contains(h.target)&&r(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),b.jsx("div",{className:"py-8 min-h-full bg-white",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-[2.5rem] md:text-[5.8rem] font-black leading-[1.0] tracking-tight mb-6 uppercase text-[#373636]",children:"TOOLS"}),b.jsx(Vt.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.1},className:"mb-8",children:b.jsxs("div",{className:"relative",ref:l,children:[b.jsx(Hb,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400 z-10"}),b.jsx("input",{"data-testid":"input-search-tools",type:"text",placeholder:"Search tools or jobs...",value:e,onChange:p=>i(p.target.value),onFocus:()=>r(!0),className:"w-full pl-12 pr-4 py-4 text-lg border-2 border-gray-200 focus:border-[#373636] focus:outline-none transition-colors text-gray-800 placeholder-gray-400"})]})}),m.length===0?b.jsx("div",{className:"text-center py-12 text-gray-400 text-xl","data-testid":"text-no-results",children:e?"No tools found matching your search.":"No tools listed yet."}):b.jsx("div",{className:"grid gap-6",children:m.map(([p,h],y)=>b.jsxs(Vt.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:y*.05},"data-testid":`group-job-${y}`,children:[b.jsx("h2",{className:"text-lg md:text-xl font-black uppercase tracking-tight text-[#373636] mb-3",children:p}),b.jsx("div",{className:"grid gap-2",children:h.map((v,x)=>b.jsx("a",{href:v.link||"#",rel:v.link?"noopener noreferrer":void 0,className:"group block bg-[#373636]/5 hover:bg-[#373636]/10 border-2 border-[#373636]/15 hover:border-[#373636]/30 p-4 transition-all cursor-pointer","data-testid":`card-tool-${y}-${x}`,children:b.jsx("span",{className:"text-base md:text-lg font-bold text-gray-800 group-hover:text-[#373636] transition-colors",children:v.name})},`${v.name}-${x}`))})]},p))})]})})}function hj(){return b.jsx("div",{className:"py-8 min-h-full bg-white",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-4xl md:text-6xl font-black leading-[1.1] tracking-normal mb-6 uppercase text-[#f3941e]",children:"WELCOME"}),b.jsx("div",{className:"grid gap-4",children:b.jsx(Vt.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1},className:"group bg-[#f3941e]/10 hover:bg-[#f3941e]/15 border-2 border-[#f3941e]/20 hover:border-[#f3941e]/40 p-6 transition-all","data-testid":"section-welcome",children:b.jsxs("div",{className:"flex items-start gap-4",children:[b.jsx("div",{className:"flex-1",children:b.jsxs("ol",{className:"text-gray-700 text-lg md:text-xl list-decimal list-inside space-y-2 font-medium",children:[b.jsxs("li",{children:["Enter the bookclub ",b.jsx("a",{href:"https://www.nonco.community/c/book-club/",className:"text-[#f3941e] underline hover:text-[#d97f15]",children:"private community"})," and bookmark the link"]}),b.jsx("li",{children:"Pick your first book"}),b.jsx("li",{children:"Tell the community what book you are going to read and by when!"})]})}),b.jsx("div",{className:"w-12 h-12 bg-[#f3941e] rounded-full flex items-center justify-center flex-shrink-0",children:b.jsx(CC,{className:"w-6 h-6 text-white"})})]})})})]})})}function mj(){const[e,i]=w.useState(""),[s,r]=w.useState(!1),l=w.useRef(null),{data:u=[]}=hb({queryKey:["/api/foods"],queryFn:async()=>{const h=await fetch("/api/foods");if(!h.ok)throw new Error("Failed to fetch foods");return h.json()},staleTime:1e3*60*60,placeholderData:h=>h??[]}),f=w.useMemo(()=>{if(!e.trim())return[];const h=e.toLowerCase(),y=[],v=new Set;for(const x of u){x.name.toLowerCase().includes(h)&&y.push({type:"food",label:x.name});for(const T of x.tags){const A=T.toLowerCase();A.includes(h)&&!v.has(A)&&(v.add(A),y.push({type:"tag",label:T}))}}return y.slice(0,8)},[e,u]),m=w.useMemo(()=>
19{if(!e.trim())return u;const h=e.toLowerCase();return u.filter(y=>y.name.toLowerCase().includes(h)||y.tags.some(v=>v.toLowerCase().includes(h)))},[e,u]);w.useEffect(()=>{function h(y){l.current&&!l.current.contains(y.target)&&r(!1)}return document.addEventListener("mousedown",h),()=>document.removeEventListener("mousedown",h)},[]);const p=s&&e.trim().length>0&&f.length>0;return b.jsx("div",{className:"py-8 min-h-full bg-white",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-[2.5rem] md:text-[5.8rem] font-black leading-[1.0] tracking-tight mb-6 uppercase text-[#373636]",children:"FOODS"}),b.jsx(Vt.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.1},className:"mb-8",children:b.jsxs("div",{className:"relative",ref:l,children:[b.jsx(Hb,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400 z-10"}),b.jsx("input",{"data-testid":"input-search-foods",type:"text",placeholder:"Search foods or tags...",value:e,onChange:h=>i(h.target.value),onFocus:()=>r(!0),className:"w-full pl-12 pr-4 py-4 text-lg border-2 border-gray-200 focus:border-[#373636] focus:outline-none transition-colors text-gray-800 placeholder-gray-400"}),b.jsx(ql,{children:p&&b.jsx(Vt.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.15},className:"absolute left-0 right-0 top-full z-20 bg-white border-2 border-t-0 border-gray-200 shadow-lg max-h-72 overflow-y-auto","data-testid":"dropdown-search-suggestions",children:f.map((h,y)=>b.jsxs("button",{"data-testid":`suggestion-${h.type}-${y}`,className:"w-full text-left px-4 py-3 hover:bg-[#373636]/5 transition-colors flex items-center gap-3 border-b border-gray-100 last:border-b-0",onMouseDown:v=>{v.preventDefault(),i(h.label),r(!1)},children:[b.jsx("span",{className:`text-xs font-bold uppercase tracking-wider px-2 py-0.5 rounded ${h.type==="food"?"bg-[#373636]/10 text-[#373636]":"bg-gray-100 text-gray-500"}`,children:h.type==="food"?"Food":"Tag"}),b.jsx("span",{className:"text-gray-800 font-semibold",children:h.label})]},`${h.type}-${h.label}-${y}`))})})]})}),m.length===0?b.jsx("div",{className:"text-center py-12 text-gray-400 text-xl","data-testid":"text-no-results",children:e?"No foods found matching your search.":"No foods listed yet."}):b.jsx("div",{className:"grid gap-4",children:m.map((h,y)=>b.jsx(Vt.a,{href:h.website||"#",rel:h.website?"noopener noreferrer":void 0,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:y*.05},className:"group block bg-[#373636]/5 hover:bg-[#373636]/10 border-2 border-[#373636]/15 hover:border-[#373636]/30 p-6 transition-all cursor-pointer","data-testid":`card-food-${h.id}`,children:b.jsxs("div",{className:"flex flex-col gap-3",children:[b.jsx("h3",{className:"text-xl md:text-2xl font-black uppercase tracking-tight text-[#373636] group-hover:text-[#222222] transition-colors",children:h.name}),h.tags.length>0&&b.jsx("div",{className:"flex flex-wrap gap-2",children:h.tags.map((v,x)=>b.jsx("span",{className:"bg-[#373636]/10 text-[#373636] px-3 py-1 text-sm font-bold uppercase tracking-wide","data-testid":`tag-food-${h.id}-${x}`,children:v},x))})]})},h.id))})]})})}function fl(e){const i=e.map(l=>l.type==="bold"&&/\(box\)\s*$/i.test(l.content.trim())?{...l,type:"box_title"}:l),s=[];let r=null;for(const l of i)if(l.type==="box_title"){r&&s.push(r);const u=l.content,f=/\(box\)\s*$/i.test(u),m=f?u.replace(/\s*\(box\)\s*$/i,"").trim():u;r={title:u,displayTitle:m,bordered:f,rows:[]}}else r&&r.rows.push(l);return r&&s.push(r),s}function No(e){return e&&e.startsWith("/")}function Cl({text:e}){const i=e.split(/(\[[^\]]+\]\([^)]+\))/g);return i.length===1?b.jsx(b.Fragment,{children:e}):b.jsx(b.Fragment,{children:i.map((s,r)=>{const l=s.match(/^\[([^\]]+)\]\(([^)]+)\)$/);if(l){const[,u,f]=l;return No(f)?b.jsx(Yn,{href:f,className:"underline hover:text-[#222222]",children:u},r):b.jsx("a",{href:f,className:"underline hover:text-[#222222]",children:u},r)}return b.jsx("span",{children:s},r)})})}function pj({row:e}){const i=b.jsx("span",{className:"block mt-6 w-full py-4 px-6 bg-[#373636] text-white font-bold uppercase tracking-wider text-base text-center hover:bg-[#222222] transition-colors cursor-pointer",children:e.content});return e.url?No(e.url)?b.jsx(Yn,{href:e.url,children:i}):b.jsx("a",{href:e.url,children:i}):i}function yj(e,i){const s=e.url?No(e.url)?b.jsx(Yn,{href:e.url,className:"underline hover:text-[#222222]",children:e.content}):b.jsx("a",{href:e.url,className:"underline hover:text-[#222222]",children:e.content}):b.jsx(Cl,{text:e.content});return b.jsx("li",{children:s},i)}function SS(e,i){const s=[];let r=0;for(;r<e.length;){const l=e[r],u=l.level??0;if(u<i)break;if(u>i){r++;continue}const f=[];let m=r+1;for(;m<e.length&&(e[m].level??0)>u;)f.push(e[m]),m++;const p=l.url?No(l.url)?b.jsx(Yn,{href:l.url,className:"underline hover:text-[#222222]",children:l.content}):b.jsx("a",{href:l.url,className:"underline hover:text-[#222222]",children:l.content}):b.jsx(Cl,{text:l.content});s.push(b.jsxs("li",{children:[p,f.length>0&&b.jsx("ul",{className:"mt-1 space-y-1 list-disc pl-5",children:SS(f,u+1)})]},r)),r=m}return s}function gj({rows:e}){const i=[];let s=[],r=[];const l=()=>{if(s.length>0){const f=Math.min(...s.map(m=>m.level??0));i.push(b.jsx("ul",{className:"mt-4 space-y-1 list-disc pl-6",children:SS(s,f)},`b-${i.length}`)),s=[]}},u=()=>{r.length>0&&(i.push(b.jsx("ol",{className:"mt-4 space-y-1 list-decimal pl-6",children:r.map((f,m)=>yj(f,m))},`n-${i.length}`)),r=[])};for(const f of e)f.type!=="big_button"&&(f.type==="button"?(l(),u(),i.push(b.jsx("div",{children:b.jsx(pj,{row:f})},i.length))):f.type==="bullet"?(u(),s.push(f)):f.type==="numbered"?(l(),r.push(f)):(l(),u(
19),f.type==="paragraph"?i.push(b.jsx("p",{className:"mt-4 first:mt-0",children:b.jsx(Cl,{text:f.content})},i.length)):f.type==="bold"&&i.push(b.jsx("p",{className:"mt-4 font-bold",children:b.jsx(Cl,{text:f.content})},i.length))));return l(),u(),b.jsx(b.Fragment,{children:i})}function dl({box:e,index:i}){return b.jsxs(Vt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1+i*.1},className:e.bordered?"border-2 border-[#373636] p-6":"p-0",children:[b.jsx("h2",{className:"text-2xl md:text-3xl font-black uppercase tracking-tight mb-6 text-[#373636]",children:e.displayTitle}),b.jsx("div",{className:"text-xl md:text-2xl text-[#373636] leading-relaxed",children:b.jsx(gj,{rows:e.rows})})]})}function fn(e,i){const[s,r]=w.useState(null);return w.useEffect(()=>{fetch(`/api/content/${e}`).then(l=>l.json()).then(l=>{Array.isArray(l)&&l.length>0?r(l):r(i)}).catch(()=>r(i))},[e]),s}function wS({rows:e}){const i=fl(e);return b.jsx("div",{className:"grid gap-8",children:i.map((s,r)=>b.jsx(dl,{box:s,index:r},s.displayTitle))})}function vj({row:e,delay:i}){const s=b.jsx(Vt.button,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:i},"data-testid":"stage-big-button",className:"w-full py-6 md:py-8 bg-[#373636] text-white font-black tracking-wider text-2xl md:text-3xl hover:bg-[#222222] transition-colors uppercase",children:e.content});return e.url?No(e.url)?b.jsx(Yn,{href:e.url,children:s}):b.jsx("a",{href:e.url,children:s}):s}function Kn({rows:e}){const i=e.map(p=>p.type==="bold"&&/^exercise(\s*\(box\))?\s*$/i.test(p.content.trim())?{...p,type:"box_title"}:p),s=i.findIndex(p=>p.type==="big_button");if(s<0){const p=fl(i);return b.jsx("div",{className:"grid gap-8",children:p.map((h,y)=>b.jsx(dl,{box:h,index:y},h.displayTitle))})}const r=i.slice(0,s),l=i[s],u=i.slice(s+1),f=fl(r),m=fl(u);return b.jsxs("div",{className:"grid gap-8",children:[f.map((p,h)=>b.jsx(dl,{box:p,index:h},p.displayTitle)),b.jsx(vj,{row:l,delay:.15+f.length*.1}),m.map((p,h)=>b.jsx(dl,{box:p,index:f.length+h+1},p.displayTitle))]})}const bj=[{type:"box_title",content:"FIVE LIFE DEPARTMENTS"},{type:"paragraph",content:"This is the start of your LIFEMASTER programme."},{type:"paragraph",content:"My name is Michael Todd. I have forever been fascinated with building a system for life - a flexible framework that allows you to achieve more while increasing freedom."},{type:"paragraph",content:"I decided to launch 100 startups in 1000 days and built LIFEMASTER to experiment with the free education business model."},{type:"big_button",content:"BEGIN STAGE 2",url:"/2"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function xj(){const e=fn("stage1",bj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const Sj=[{type:"box_title",content:"BRINGING EVERYTHING TO THE SURFACE"},{type:"paragraph",content:"Coming soon."},{type:"big_button",content:"BEGIN STAGE 3",url:"/3"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function wj(){const e=fn("stage2",Sj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const Tj=[{type:"box_title",content:"IDEAL DAY"},{type:"paragraph",content:"Coming soon."},{type:"big_button",content:"BEGIN STAGE 4",url:"/4"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function Ej(){const e=fn("stage3",Tj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const Aj=[{type:"box_title",content:"STAGE 4"},{type:"paragraph",content:"Coming soon."},{type:"big_button",content:"BEGIN STAGE 5",url:"/5"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function Cj(){const e=fn("stage4",Aj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const Mj=[{type:"box_title",content:"STAGE 5"},{type:"paragraph",content:"Coming soon."},{type:"big_button",content:"BEGIN STAGE 6",url:"/6"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function Rj(){const e=fn("stage5",Mj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}
19const Oj=[{type:"box_title",content:"STAGE 6"},{type:"paragraph",content:"Coming soon."},{type:"big_button",content:"BEGIN STAGE 7",url:"/7"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function Nj(){const e=fn("stage6",Oj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const Dj=[{type:"box_title",content:"STAGE 7"},{type:"paragraph",content:"Coming soon."},{type:"big_button",content:"BEGIN STAGE 8",url:"/8"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function jj(){const e=fn("stage7",Dj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const _j=[{type:"box_title",content:"STAGE 8"},{type:"paragraph",content:"Coming soon."},{type:"big_button",content:"BEGIN STAGE 9",url:"/9"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function zj(){const e=fn("stage8",_j);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const Lj=[{type:"box_title",content:"STAGE 9"},{type:"paragraph",content:"Coming soon."},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"},{type:"box_title",content:"COACHING"},{type:"paragraph",content:"£100 for a 60 minute 1-1 coaching session with Michael Todd."},{type:"button",content:"BOOK SESSION",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"}];function Vj(){const e=fn("stage9",Lj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsx("div",{className:"container mx-auto max-w-3xl px-4",children:e&&b.jsx(Kn,{rows:e})})})})}const Uj=[{type:"box_title",content:"INTRODUCTION"},{type:"paragraph",content:"This is the start of your LIFEMASTER programme."},{type:"paragraph",content:"My name is Michael Todd. I have forever been fascinated with building a system for life - a flexible framework that allows you to achieve more while increasing freedom."},{type:"paragraph",content:"I decided to launch 100 startups in 1000 days and built LIFEMASTER to experiment with the free education business model."},{type:"box_title",content:"OVERVIEW"},{type:"paragraph",content:"It is not easy to continually balance and push life forward successfully."},{type:"paragraph",content:"People focus on fitness but ignore finances."},{type:"paragraph",content:"People build income but neglect relationships."},{type:"paragraph",content:"People can lack time or focus to do the things they really love."},{type:"paragraph",content:"LIFEMASTER introduces a flexible framework that splits life into five departments, much like any successful business runs separate departments."},{type:"bullet",content:"Bring everything to the surface"},{type:"bullet",content:"Design a life you actually want"},{type:"bullet",content:"Clear all unfinished parts of your past"},{type:"bullet",content:"Clearly define your future direction by department"},{type:"bullet",content:"Install systems to manage the present"},{type:"bullet",content:"Bring everything together"},{type:"paragraph",content:"Move through the stages at your own pace. We recommend completing one stage at a time and returning when you are ready."},{type:"box_title",content:"COST"},{type:"paragraph",content:"All LIFEMASTER education is 100% free, no ads, no nonsense."},{type:"paragraph",content:"We offer several paid options, but are completely optional."},{type:"bullet",content:"Coaching",url:"/coaching"},{type:"bullet",content:"Community",url:"/community"},{type:"box_title",content:"STAGES"},{type:"numbered",content:"Five Life Departments"},{type:"numbered",content:"Bringing everything to the surface"},{type:"numbered",content:"Ideal Day"},{type:"numbered",content:"Five States"},{type:"numbered",content:"Past"},{type:"numbered",content:"Future"},{type:"numbered",content:"Present"},{type:"numbered",content:"Weeks"},{type:"numbered",content:"Evolve"},{type:"box_title",content:"COMMUNITY"},{type:"bullet",content:"$10 per month - cancel anytime here",url:"https://www.nonconformitycommunity.com/account/billing?tab=subscriptions"},{type:"bullet",content:"Connect with others doing the same thing"},{type:"bullet",content:"Accountability and group support"},{type:"bullet",content:"Early morning club"},{type:"bullet",content:"No ads, no nonsense"},{type:"button",content:"JOIN COMMUNITY",url:"https://www.nonconformitycommunity.com/checkout/lifemaster"}];
19function Bj(){const e=fn("start",Uj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-[2.5rem] md:text-[5.8rem] font-black leading-[1.0] tracking-tight mb-6 uppercase text-[#373636]",children:"START"}),e&&b.jsx(wS,{rows:e}),b.jsx(Vt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},className:"mt-4",children:b.jsx(Yn,{href:"/1",children:b.jsx("button",{"data-testid":"button-stage-1",className:"w-full py-6 md:py-8 bg-[#373636] text-white font-black tracking-wider text-2xl md:text-3xl hover:bg-[#222222] transition-colors uppercase",children:"BEGIN STAGE 1"})})})]})})})}const kj=[{type:"box_title",content:"WHO IS COACHING FOR?"},{type:"paragraph",content:"For anyone who is ready to take full responsibility for the direction of their life."},{type:"paragraph",content:"This is for you if:"},{type:"bullet",content:"You feel capable of more"},{type:"bullet",content:"You want structure, not motivation"},{type:"bullet",content:"You're willing to act now"},{type:"bullet",content:"You're ready to redesign your life and future"},{type:"box_title",content:"WHAT TO EXPECT?"},{type:"paragraph",content:"We will break down your life into five core departments:"},{type:"bold",content:"Health. Work. Finance. People. Evolution."},{type:"paragraph",content:"We will merge these departments with your past, present and future. Sorting, organising and rebuilding intentionally."},{type:"paragraph",content:"You will leave with complete clarity and confidence for your new direction."},{type:"box_title",content:"COST AND PROCESS"},{type:"bold",content:"£100 - 60 Minutes"},{type:"numbered",content:"Click book coaching",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"},{type:"numbered",content:"Complete the questions"},{type:"numbered",content:"Pay"},{type:"numbered",content:"Book appointment time"},{type:"numbered",content:"Turn up for your appointment"},{type:"button",content:"BOOK COACHING",url:"https://npmw9milrnt.typeform.com/to/LMaIn9nS"},{type:"box_title",content:"BECOME A COACH"},{type:"paragraph",content:"We will be expanding our coaching service in the future to help more people. If this is of interest, please join the waiting list."}];function Hj(){const e=fn("coaching",kj);return b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-8",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-[2.5rem] md:text-[5.8rem] font-black leading-[1.0] tracking-tight mb-6 uppercase text-[#373636]",children:"COACHING"}),e&&b.jsx(wS,{rows:e})]})})})}function Eh({open:e}){return b.jsx("span",{className:"flex-shrink-0 w-6 h-6 flex items-center justify-center rounded-full border-2 border-[#373636] text-[#373636] text-sm font-black leading-none select-none transition-all duration-200",children:e?"−":"+"})}function Pj({subitems:e}){return b.jsx("div",{className:"ml-5 border-l border-[#373636]/40 mt-1",children:e.map((i,s)=>b.jsxs("div",{className:"relative pl-5 py-1.5",children:[b.jsx("div",{className:"absolute left-0 top-[14px] w-5 h-px bg-[#373636]/40"}),b.jsx("span",{className:"text-base md:text-lg text-[#373636]/70",children:i})]},s))})}function Gj({item:e,isLast:i}){const[s,r]=w.useState(!1),l=e.subitems.length>0;return b.jsxs("div",{className:"relative pl-6",children:[b.jsx("div",{className:"absolute left-0 top-[18px] w-6 h-px bg-[#373636]/50"}),b.jsxs("button",{onClick:()=>l&&r(u=>!u),className:`w-full flex items-center justify-between gap-4 py-2 text-left group ${l?"cursor-pointer":"cursor-default"}`,"data-testid":`subitem-${e.name}`,children:[b.jsx("span",{className:`text-lg md:text-xl font-bold text-[#373636] transition-opacity ${l?"group-hover:opacity-70":""}`,children:e.name}),l&&b.jsx(Eh,{open:s})]}),b.jsx(ql,{children:s&&l&&b.jsx(Vt.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},className:"overflow-hidden",children:b.jsx(Pj,{subitems:e.subitems})},"sub-children")})]})}function qj({section:e,isLast:i}){const[s,r]=w.useState(!1),l=e.items.length>0;return b.jsxs("div",{className:"relative pl-8",children:[b.jsx("div",{className:"absolute left-0 top-[22px] w-8 h-0.5 bg-[#373636]/60"}),b.jsxs("button",{onClick:()=>l&&r(u=>!u),className:`w-full flex items-center justify-between gap-4 py-3 text-left group ${l?"curs
19or-pointer":"cursor-default"}`,"data-testid":`section-${e.name}`,children:[b.jsx("span",{className:`text-xl md:text-2xl font-black uppercase tracking-wide text-[#373636] transition-opacity ${l?"group-hover:opacity-70":""}`,children:e.name}),l&&b.jsx(Eh,{open:s})]}),b.jsx(ql,{children:s&&l&&b.jsx(Vt.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.25},className:"overflow-hidden",children:b.jsx("div",{className:"ml-2 border-l border-[#373636]/50 pb-2",children:e.items.map((u,f)=>b.jsx(Gj,{item:u,isLast:f===e.items.length-1},f))})},"section-children")})]})}function Yj({branch:e,index:i}){const[s,r]=w.useState(!1);return b.jsxs(Vt.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{delay:.04+i*.06,duration:.4},children:[b.jsxs("button",{onClick:()=>r(l=>!l),className:"w-full flex items-center justify-between gap-6 py-4 text-left group","data-testid":`branch-${e.name}`,children:[b.jsxs("div",{className:"flex items-center gap-4",children:[b.jsx("div",{className:`w-3 h-3 rounded-full flex-shrink-0 transition-all duration-300 ${s?"bg-[#373636] scale-125":"border-2 border-[#373636]"}`}),b.jsx("span",{className:"text-[2rem] md:text-[3.2rem] font-black uppercase tracking-tight text-[#373636] leading-none group-hover:opacity-70 transition-opacity",children:e.name})]}),b.jsx(Eh,{open:s})]}),b.jsx(ql,{children:s&&e.sections.length>0&&b.jsx(Vt.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},className:"overflow-hidden",children:b.jsx("div",{className:"ml-[1.375rem] border-l-2 border-[#373636] pb-4",children:e.sections.map((l,u)=>b.jsx(qj,{section:l,isLast:u===e.sections.length-1},u))})},"branch-children")}),i<4&&b.jsx("div",{className:"w-full h-px bg-[#373636]/15 mt-2"})]})}function Fj(){const[e,i]=w.useState(null);return w.useEffect(()=>{fetch("/api/branches").then(s=>s.json()).then(s=>{i(s&&Array.isArray(s.branches)?s:{intro:"",branches:[]})}).catch(()=>i({intro:"",branches:[]}))},[]),b.jsx("div",{className:"min-h-full bg-white",children:b.jsx("div",{className:"py-10",children:b.jsxs("div",{className:"container mx-auto max-w-3xl px-4",children:[b.jsx(Vt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-[2.5rem] md:text-[5.8rem] font-black leading-[1.0] tracking-tight mb-4 uppercase text-[#373636]",children:"LIFE AREAS"}),e===null?null:b.jsxs(b.Fragment,{children:[e.intro&&b.jsx(Vt.p,{initial:{opacity:0}
19,animate:{opacity:1},transition:{delay:.1},className:"text-xl md:text-2xl text-[#373636]/70 mb-12 max-w-xl leading-relaxed","data-testid":"branches-intro",children:e.intro}),e.branches.length===0?b.jsx("p",{className:"text-xl text-[#373636]",children:"No branches yet."}):b.jsx("div",{className:"space-y-2",children:e.branches.map((s,r)=>b.jsx(Yj,{branch:s,index:r},s.name))})]})]})})})}function Qj(){const[e]=Ol(),i=e==="/blueprint",s=i?"#35518e":"#ffffff";return b.jsx("nav",{className:"w-full",style:{backgroundColor:s},children:b.jsx("div",{className:"container mx-auto px-4 max-w-3xl pt-4 pb-4 md:pt-10 md:pb-12",children:b.jsx("div",{className:"flex items-center justify-end",children:b.jsx(Yn,{href:"/",children:b.jsx("div",{className:"text-right cursor-pointer hover:scale-105 transition-transform",style:{fontFamily:"'Paytone One', sans-serif"},children:b.jsx("div",{className:"text-3xl md:text-4xl leading-none",style:{color:i?"#ffffff":"#373636",letterSpacing:"0.1em"},children:"LIFEMASTER"})})})})})})}function q0({className:e,color:i}){return b.jsx("svg",{className:e,viewBox:"0 0 24 24",fill:i||"currentColor",children:b.jsx("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z"})})}function Y0({className:e,color:i}){return b.jsx("svg",{className:e,viewBox:"0 0 24 24",fill:i||"currentColor",children:b.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function Xj(){const[e]=Ol(),i=e==="/blueprint",s=i?"#35518e":"#ffffff",r=i?"#35518e":"#ffffff",l=i?"#ffffff":"#373636",u=i?"#ffffff":"#373636",f=i?"text-white/80":"text-[#373636]";return b.jsx("footer",{className:"w-full mt-auto",style:{backgroundColor:s},children:b.jsx("div",{children:b.jsxs("div",{className:"container mx-auto px-4 max-w-3xl py-8",children:[b.jsxs("div",{className:"md:hidden flex flex-col gap-6 pt-4",children:[b.jsx("div",{className:"flex justify-end",children:b.jsx("a",{href:"https://www.nonconformitycompany.com/",className:"hover:opacity-80 transition-opacity","data-testid":"link-nonconformity-company",children:b.jsxs("div",{className:"text-right",style:{fontFamily:"'Paytone One', sans-serif",letterSpacing:"-0.1em",color:u},children:[b.jsx("div",{className:"text-2xl leading-none",children:"nonconformity"}),b.jsx("div",{className:"text-2xl leading-none",children:"company"})]})})}),b.jsxs("div",{className:"flex items-center justify-end gap-4",children:[b.jsx("a",{href:"https://www.youtube.com/@nonconformity_company","data-testid":"link-youtube",className:"w-14 h-14 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(uv,{className:"w-7 h-7",style:{color:r}})}),b.jsx("a",{href:"https://www.instagram.com/nonconformity_company/","data-testid":"link-instagram",className:"w-14 h-14 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(cv,{className:"w-7 h-7",style:{color:r}})}),b.jsx("a",{href:"https://www.tiktok.com/@nonconformity_company","data-testid":"link-tiktok",className:"w-14 h-14 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(q0,{className:"w-7 h-7",color:r})}),b.jsx("a",{href:"https://x.com/nonco_company","data-testid":"link-x",className:"w-14 h-14 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(Y0,{className:"w-7 h-7",color:r})})]}),b.jsxs("nav",{className:`flex items-center justify-between w-full ${f} text-lg font-medium`,children:[b.jsx("a",{href:"https://www.nonconformitycompany.com/about",className:"hover:opacity-100 transition-opacity","data-testid":"link-about",children:"about"}),b.jsx("a",{href:"https://www.nonconformitycompany.com/contact",className:"hover:opacity-100 transition-opacity","data-testid":"link-contact",children:"contact"}),b.jsx("a",{href:"https://www.nonconformitycompany.com/legal",className:"hover:opacity-100 transition-opacity","data-testid":"link-legal",children:"legal"}),b.jsx("a",{href:"https://www.nonconformitycompany.com/cookies",className:"hover:opacity-100 transition-opacity","data-testid":"link-cookies",children:"cookies"}),b.jsx("a",{href:"https://www.nonconformitywebsites.com/",className:"hover:opacity-100 transition-opacity","data-testid":"link-website",children:"website"})]})]}),b.jsxs("div",{className:"hidden md:flex items-center justify-between gap-6",children:[b.jsx("a",{href:"https://www.nonconformitycompany.com/",className:"hover:opacity-80 transition-opacity","data-testid":"link-nonconformity-company-desktop",children:b.jsxs("div",{className:"text-right",style:{fontFamily:"'Paytone One', sans-serif",letterSpacing:"-0.1em",color:u},children:[b.jsx("div",{className:"text-xl leading-none",children:"nonconformity"}),b.jsx("div",{className:"text-xl leading-none",children:"company"})]})}),b.jsxs("nav",{className:`flex items-center gap-5 ${f} text-base font-medium`,children:[b.jsx("a",{href:"https://www.nonconformitycompany.com/about",className:"hover:opacity-100 transition-opacity","data-testid":"link-about-desktop",children:"about"}),b.jsx("a",{href:"https://www.nonconformitycompany.com/contact",className:"hover:opacity-100 transition-opacity","data-testid":"link-contact-desktop",children:"contact"}),b.jsx("a",{href:"https://www.nonconformitycompany.com/legal",className:"hover:opacity-100 transition-opacity","data-testid":"link-legal-desktop",children:"legal"}),b.jsx("a",{href:"https://www.nonconformitycompany.com/cookies",className:"hover:opacity-100 transition-opacity","data-testid":"link-cookies-desktop",children:"cookies"}),b.jsx("a",{href:"https://www.nonconformitywebsites.com/",className:"hover:opacity-100 transition-opacity","data-testid":"link-website-desktop",children:"website"})]}),b.jsxs("div",{className:"flex items-center gap-3",children:[b.jsx("a",{href:"https://www.youtube.com/@nonconformity_company","data-testid":"link-youtube-desktop",className:"w-10 h-10 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(uv,{className:"w-5 h-5",style:{color:r}})}),b.jsx("a",{href:"https://www.instagram.com/nonconformity_company/","data-testid":"link-instagram-desktop",className:"w-10 h-10 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(cv,{className:"w-5 h-5",style:{color:r}})}),b.jsx("a",{href:"https://www.tiktok.com/@nonconformity_company","data-testid":"link-tiktok-desktop",className:"w-10 h-10 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(q0,{className:"w-5 h-5",color:r})}),b.jsx("a",{href:"https://x.com/nonco_company","data-testid":"link-x-desktop",className:"w-10 h-10 rounded-full flex items-center justify-center hover:scale-110 transition-transform",style:{backgroundColor:l},children:b.jsx(Y0,{className:"w-5 h-5",color:r})})]})]})]})})})}function Kj(){return b.jsxs(TE,{children:[b.jsx(se,{path:"/",component:cj}),b.jsx(se,{path:"/suppliers",component:dj}),b.jsx(se,{path:"/blueprint",component:fj}),b.jsx(se,{path:"/foods",component:mj}),b.jsx(se,{path:"/joined",component:hj}),b.jsx(se,{path:"/start",component:Bj}),b.jsx(se,{path:"/1",component:xj}),b.jsx(se,{path:"/2",component:wj}),b.jsx(se,{path:"/3",component:Ej}),b.jsx(se,{path:"/4",component:Cj}),b.jsx(se,{path:"/5",component:Rj}),b.jsx(se,{path:"/6",component:Nj}),b.jsx(se,{path:"/7",component:jj}),b.jsx(se,{path:"/8",component:zj}),b.jsx(se,{path:"/9",component:Vj}),b.jsx(se,{path:"/coaching",component:Hj}),b.jsx(se,{path:"/life-areas",component:Fj}),b.jsx(se,{component:MR})]})}function Zj(){const[e]=Ol();return w.useEffect(()=>{window.scrollTo(0,0)},[e]),null}function Ij(){return Ol(),b.jsxs("div",{className:"min-h-screen text-foreground font-sans selection:bg-[#373636] selection:text-white flex flex-col",style:{backgroundColor:"#ffffff"},children:[b.jsx(Zj,{}),b.jsx(Qj,{}),b.jsxs("div",{className:"flex-1 flex flex-col justify-between",children:[b.jsx(Kj,{}),b.jsx(Xj,{})]}),b.jsx(_2,{})]})}function $j(){return b.jsx(ZE,{client:cA,children:b.jsx(SR,{children:b.jsx(Ij,{})})})}eE.createRoot(document.getElementById("root")).render(b.jsx($j,{}));

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.