vendor: 4,240 bytes, line 1
1function MA(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 ib(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gd={exports:{}},yr={};var Tv;function kA(){if(Tv)return yr;Tv=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 yr.Fragment=i,yr.jsx=s,yr.jsxs=s,yr}var Av;function OA(){return Av||(Av=1,Gd.exports=kA()),Gd.exports}var c=OA(),Id={exports:{}},vr={},Yd={exports:{}},Xd={};var jv;function _A(){return jv||(jv=1,(function(e){function i(L,Q){var G=L.length;L.push(Q);e:for(;0<G;){var ie=G-1>>>1,C=L[ie];if(0<l(C,Q))L[ie]=Q,L[G]=C,G=ie;else break e}}function s(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var Q=L[0],G=L.pop();if(G!==Q){L[0]=G;e:for(var ie=0,C=L.length,I=C>>>1;ie<I;){var ee=2*(ie+1)-1,$=L[ee],de=ee+1,me=L[de];if(0>l($,G))de<C&&0>l(me,$)?(L[ie]=me,L[de]=G,ie=de):(L[ie]=$,L[ee]=G,ie=ee);else if(de<C&&0>l(me,G))L[ie]=me,L[de]=G,ie=de;else break e}}return Q}function l(L,Q){var G=L.sortIndex-Q.sortIndex;return G!==0?G:L.id-Q.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 g=[],p=[],y=1,v=null,b=3,E=!1,A=!1,T=!1,j=!1,R=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function O(L){for(var Q=s(p);Q!==null;){if(Q.callback===null)r(p);else if(Q.startTime<=L)r(p),Q.sortIndex=Q.expirationTime,i(g,Q);else break;Q=s(p)}}function _(L){if(T=!1,O(L),!A)if(s(g)!==null)A=!0,q||(q=!0,ne());else{var Q=s(p);Q!==null&&ue(_,Q.startTime-L)}}var q=!1,X=-1,B=5,W=-1;function Z(){return j?!0:!(e.unstable_now()-W<B)}function ae(){if(j=!1,q){var L=e.unstable_now();W=L;var Q=!0;try{e:{A=!1,T&&(T=!1,N(X),X=-1),E=!0;var G=b;try{t:{for(O(L),v=s(g);v!==null&&!(v.expirationTime>L&&Z());){var ie=v.callback;if(typeof ie=="function"){v.callback=null,b=v.priorityLevel;var C=ie(v.expirationTime<=L);if(L=e.unstable_now(),typeof C=="function"){v.callback=C,O(L),Q=!0;break t}v===s(g)&&r(g),O(L)}else r(g);v=s(g)}if(v!==null)Q=!0;else{var I=s(p);I!==null&&ue(_,I.startTime-L),Q=!1}}break e}finally{v=null,b=G,E=!1}Q=void 0}}finally{Q?ne():q=!1}}}var ne;if(typeof D=="function")ne=function(){D(ae)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,J=ye.port2;ye.port1.onmessage=ae,ne=function(){J.postMessage(null)}}else ne=function(){R(ae,0)};function ue(L,Q){X=R(function(){L(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<L?Math.floor(1e3/L):
vendor: 21,520 bytes, line 1
15},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(L){switch(b){case 1:case 2:case 3:var Q=3;break;default:Q=b}var G=b;b=Q;try{return L()}finally{b=G}},e.unstable_requestPaint=function(){j=!0},e.unstable_runWithPriority=function(L,Q){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var G=b;b=L;try{return Q()}finally{b=G}},e.unstable_scheduleCallback=function(L,Q,G){var ie=e.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?ie+G:ie):G=ie,L){case 1:var C=-1;break;case 2:C=250;break;case 5:C=1073741823;break;case 4:C=1e4;break;default:C=5e3}return C=G+C,L={id:y++,callback:Q,priorityLevel:L,startTime:G,expirationTime:C,sortIndex:-1},G>ie?(L.sortIndex=G,i(p,L),s(g)===null&&L===s(p)&&(T?(N(X),X=-1):T=!0,ue(_,G-ie))):(L.sortIndex=C,i(g,L),A||E||(A=!0,q||(q=!0,ne()))),L},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(L){var Q=b;return function(){var G=b;b=Q;try{return L.apply(this,arguments)}finally{b=G}}}})(Xd)),Xd}var Cv;function PA(){return Cv||(Cv=1,Yd.exports=_A()),Yd.exports}var Kd={exports:{}},ve={};var Nv;function LA(){if(Nv)return ve;Nv=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"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function b(C){return C===null||typeof C!="object"?null:(C=v&&C[v]||C["@@iterator"],typeof C=="function"?C:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,T={};function j(C,I,ee){this.props=C,this.context=I,this.refs=T,this.updater=ee||E}j.prototype.isReactComponent={},j.prototype.setState=function(C,I){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,I,"setState")},j.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function R(){}R.prototype=j.prototype;function N(C,I,ee){this.props=C,this.context=I,this.refs=T,this.updater=ee||E}var D=N.prototype=new R;D.constructor=N,A(D,j.prototype),D.isPureReactComponent=!0;var O=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},q=Object.prototype.hasOwnProperty;function X(C,I,ee,$,de,me){return ee=me.ref,{$$typeof:e,type:C,key:I,ref:ee!==void 0?ee:null,props:me}}function B(C,I){return X(C.type,I,void 0,void 0,void 0,C.props)}function W(C){return typeof C=="object"&&C!==null&&C.$$typeof===e}function Z(C){var I={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(ee){return I[ee]})}var ae=/\/+/g;function ne(C,I){return typeof C=="object"&&C!==null&&C.key!=null?Z(""+C.key):I.toString(36)}function ye(){}function J(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(ye,ye):(C.status="pending",C.then(function(I){C.status==="pending"&&(C.status="fulfilled",C.value=I)},function(I){C.status==="pending"&&(C.status="rejected",C.reason=I)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function ue(C,I,ee,$,de){var me=typeof C;(me==="undefined"||me==="boolean")&&(C=null);var ce=!1;if(C===null)ce=!0;else switch(me){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(C.$$typeof){case e:case i:ce=!0;break;case y:return ce=C._init,ue(ce(C._payload),I,ee,$,de)}}if(ce)return de=de(C),ce=$===""?"."+ne(C,0):$,O(de)?(ee="",ce!=null&&(ee=ce.replace(ae,"$&/")+"/"),ue(de,I,ee,"",function(De){return De})):de!=null&&(W(de)&&(de=B(de,ee+(de.key==null||C&&C.key===de.key?"":(""+de.key).replace(ae,"$&/")+"/")+ce)),I.push(de)),1;ce=0;var He=$===""?".":$+":";if(O(C))for(var Re=0;Re<C.length;Re++)$=C[Re],me=He+ne($,Re),ce+=ue($,I,ee,me,de);else if(Re=b(C),typeof Re=="function")for(C=Re.call(C),Re=0;!($=C.next()).done;)$=$.value,me=He+ne($,Re++),ce+=ue($,I,ee,me,de);else if(me==="object"){if(typeof C.then=="function")return ue(J(C),I,ee,$,de);throw I=String(C),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return ce}function L(C,I,ee){if(C==null)return C;var $=[],de=0;return ue(C,$,"","",function(me){return I.call(ee,me,de++)}),$}function Q(C){if(C._status===-1){var I=C._result;I=I(),I.then(function(ee){(C._status===0||C._status===-1)&&(C._status=1,C._result=ee)},function(ee){(C._status===0||C._status===-1)&&(C._status=2,C._result=ee)}),C._status===-1&&(C._status=0,C._result=I)}if(C._status===1)return C._result.default;throw C._result}var G=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)};function ie(){}return ve.Children={map:L,forEach:function(C,I,ee){L(C,function(){I.apply(this,arguments)},ee)},count:function(C){var I=0;return L(C,function(){I++}),I},toArray:function(C){return L(C,function(I){return I})||[]},only:function(C){if(!W(C))throw Error("React.Children.only expected to receive a single React element child.");return C}},ve.Component=j,ve.Fragment=s,ve.Profiler=l,ve.PureComponent=N,ve.StrictMode=r,ve.Suspense=g,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,ve.__COMPILER_RUNTIME={__proto__:null,c:function(C){return _.H.useMemoCache(C)}},ve.cache=function(C){return function(){return C.apply(null,arguments)}},ve.cloneElement=function(C,I,ee){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var $=A({},C.props),de=C.key,me=void 0;if(I!=null)for(ce in I.ref!==void 0&&(me=void 0),I.key!==void 0&&(de=""+I.key),I)!q.call(I,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&I.ref===void 0||($[ce]=I[ce]);var ce=arguments.length-2;if(ce===1)$.children=ee;else if(1<ce){for(var He=Array(ce),Re=0;Re<ce;Re++)He[Re]=arguments[Re+2];$.children=He}return X(C.type,de,void 0,void 0,me,$)},ve.createContext=function(C){return C={$$typeof:f,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:u,_context:C},C},ve.createElement=function(C,I,ee){var $,de={},me=null;if(I!=null)for($ in I.key!==void 0&&(me=""+I.key),I)q.call(I,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(de[$]=I[$]);var ce=arguments.length-2;if(ce===1)de.children=ee;else if(1<ce){for(var He=Array(ce),Re=0;Re<ce;Re++)He[Re]=arguments[Re+2];de.children=He}if(C&&C.defaultProps)for($ in ce=C.defaultProps,ce)de[$]===void 0&&(de[$]=ce[$]);return X(C,me,void 0,void 0,null,de)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(C){return{$$typeof:m,render:C}},ve.isValidElement=W,ve.lazy=function(C){return{$$typeof:y,_payload:{_status:-1,_result:C},_init:Q}},ve.memo=function(C,I){return{$$typeof:p,type:C,compare:I===void 0?null:I}},ve.startTransition=function(C){var I=_.T,ee={};_.T=ee;try{var $=C(),de=_.S;de!==null&&de(ee,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(ie,G)}catch(me){G(me)}finally{_.T=I}},ve.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},ve.use=function(C){return _.H.use(C)},ve.useActionState=function(C,I,ee){return _.H.useActionState(C,I,ee)},ve.useCallback=function(C,I){return _.H.useCallback(C,I)},ve.useContext=function(C){return _.H.useContext(C)},ve.useDebugValue=function(){},ve.useDeferredValue=function(C,I){return _.H.useDeferredValue(C,I)},ve.useEffect=function(C,I,ee){var $=_.H;if(typeof ee=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return $.useEffect(C,I)},ve.useId=function(){return _.H.useId()},ve.useImperativeHandle=function(C,I,ee){return _.H.useImperativeHandle(C,I,ee)},ve.useInsertionEffect=function(C,I){return _.H.useInsertionEffect(C,I)},ve.useLayoutEffect=function(C,I){return _.H.useLayoutEffect(C,I)},ve.useMemo=function(C,I){return _.H.useMemo(C,I)},ve.useOptimistic=function(C,I){return _.H.useOptimistic(C,I)},ve.useReducer=function(C,I,ee){return _.H.useReducer(C,I,ee)},ve.useRef=function(C){return _.H.useRef(C)},ve.useState=function(C){return _.H.useState(C)},ve.useSyncExternalStore=function(C,I,ee){return _.H.useSyncExternalStore(C,I,ee)},ve.useTransition=function(){return _.H.useTransition()},ve.version="19.1.0",ve}var Rv;function oc(){return Rv||(Rv=1,Kd.exports=LA()),Kd.exports}var Qd={exports:{}},vt={};var Dv;function VA(){if(Dv)return vt;Dv=1;var e=oc();function i(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+p+" 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(g,p,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:v==null?null:""+v,children:g,containerInfo:p,implementation:y}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,vt.createPortal=function(g,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(i(299));return u(g,p,null,y)},vt.flushSync=function(g){var p=f.T,y=r.p;try{if(f.T=null,r.p=2,g)return g()}finally{f.T=p,r.p=y,r.d.f()}},vt.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(g,p))},vt.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},vt.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var y=p.as,v=m(y,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,E=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?r.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:b,fetchPriority:E}):y==="script"&&r.d.X(g,{crossOrigin:v,integrity:b,fetchPriority:E,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},vt.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=m(p.as,p.crossOrigin);r.d.M(g,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(g)},vt.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,v=m(y,p.crossOrigin);r.d.L(g,y,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},vt.preloadModule=function(g,p){if(typeof g=="string")if(p){var y=m(p.as,p.crossOrigin);r.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(g)},vt.requestFormReset=function(g){r.d.r(g)},vt.unstable_batchedUpdates=function(g,p){return g(p)},vt.useFormState=function(g,p,y){return f.H.useFormState(g,p,y)},vt.useFormStatus=function(){return f.H.useHostTransitionStatus()},vt.version="19.1.0",vt}var Mv;function ab(){if(Mv)return Qd.exports;Mv=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(),Qd.exports=VA(),Qd.exports}var kv;function zA(){if(kv)return vr;kv=1;var e=PA(),i=oc(),s=ab();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(u(t)!==t)throw Error(r(188))}function g(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 d=a.return;if(d===null)break;var h=d.alternate;if(h===null){if(o=d.return,o!==null){a=o;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===a)return m(d),t;if(h===o)return m(d),n;h=h.sibling}throw Error(r(188))}if(a.return!==o.return)a=d,o=h;else{for(var x=!1,S=d.child;S;){if(S===a){x=!0,a=d,o=h;break}if(S===o){x=!0,o=d,a=h;break}S=S.sibling}if(!x){for(S=h.child;S;){if(S===a){x=!0,a=h,o=d;break}if(S===o){x=!0,o=h,a=d;break}S=S.sibling}if(!x)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 p(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=p(t),n!==null)return n;t=t.sibling}return null}var y=Object.assign,v=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),N=Symbol.for("react.consumer"),D=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function ne(t){return t===null||typeof t!="object"?null:(t=ae&&t[ae]||t["@@iterator"],typeof t=="function"?t:null)}var ye=Symbol.for("react.client.reference");function J(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ye?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case A:return"Fragment";case j:return"Profiler";case T:return"StrictMode";case _:return"Suspense";case q:return"SuspenseList";case W:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case E:return"Portal";case D:return(t.displayName||"Context")+".Provider";case N:return(t._context.displayName||"Context")+".Consumer";case O:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case X:return n=t.displayName||null,n!==null?n:J(t.type)||"Memo";case B:n=t._payload,t=t._init;try{return J(t(n))}catch{}}return null}var ue=Array.isArray,L=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},ie=[],C=-1;function I(t){return{current:t}}function ee(t){0>C||(t.current=ie[C],ie[C]=null,C--)}function $(t,n){C++,ie[C]=t.current,t.current=n}var de=I(null),me=I(null),ce=I(null),He=I(null);function Re(t,n){switch($(ce,n),$(me,t),$(de,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?$y(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=$y(n),t=Jy(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}ee(de),$(de,t)}function De(){ee(de),ee(me),ee(ce)}function Wn(t){t.memoizedState!==null&&$(He,t);var n=de.current,a=Jy(n,t.type);n!==a&&($(me,t),$(de,a))}function en(t){me.current===t&&(ee(de),ee(me)),He.current===t&&(ee(He),fr._currentValue=G)}var hn=Object.prototype.hasOwnProperty,Ht=e.unstable_scheduleCallback,$n=e.unstable_cancelCallback,cE=e.unstable_shouldYield,uE=e.unstable_requestPaint,mn=e.unstable_now,dE=e.unstable_getCurrentPriorityLevel,km=e.unstable_ImmediatePriority,Om=e.unstable_UserBlockingPriority,Yr=e.unstable_NormalPriority,fE=e.unstable_LowPriority,_m=e.unstable_IdlePriority,hE=e.log,mE=e.unstable_setDisableYieldValue,bs=null,Rt=null;function Jn(t){if(typeof hE=="function"&&mE(t),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(bs,t)}catch{}}var Dt=Math.clz32?Math.clz32:yE,pE=Math.log,gE=Math.LN2;function yE(t){return t>>>=0,t===0?32:31-(pE(t)/gE|0)|0}var Xr=256,Kr=4194304;function Vi(t){var n=t&42;if(n!==0)return n;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Qr(t,n,a){var o=t.pendingLanes;if(o===0)return 0;var d=0,h=t.suspendedLanes,x=t.pingedLanes;t=t.warmLanes;var S=o&134217727;return S!==0?(o=S&~h,o!==0?d=Vi(o):(x&=S,x!==0?d=Vi(x):a||(a=S&~t,a!==0&&(d=Vi(a))))):(S=o&~h,S!==0?d=Vi(S):x!==0?d=Vi(x):a||(a=o&~t,a!==0&&(d=Vi(a)))),d===0?0:n!==0&&n!==d&&(n&h)===0&&(h=d&-d,a=n&-n,h>=a||h===32&&(a&4194048)!==0)?n:d}function ws(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function vE(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 Pm(){var t=Xr;return Xr<<=1,(Xr&4194048)===0&&(Xr=256),t}function Lm(){var t=Kr;return Kr<<=1,(Kr&62914560)===0&&(Kr=4194304),t}function Oc(t){for(var n=[],a=0;31>a;a++)n.push(t);return n}function Ss(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function xE(t,n,a,o,d,h){var x=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,M=t.expirationTimes,z=t.hiddenUpdates;for(a=x&~a;0<a;){var F=31-Dt(a),K=1<<F;S[F]=0,M[F]=-1;var U=z[F];if(U!==null)for(z[F]=null,F=0;F<U.length;F++){var H=U[F];H!==null&&(H.lane&=-536870913)}a&=~K}o!==0&&Vm(t,o,0),h!==0&&d===0&&t.tag!==0&&(t.suspendedLanes|=h&~(x&~n))}function Vm(t,n,a){t.pendingLanes|=n,t.suspendedLanes&=~n;var o=31-Dt(n);t.entangledLanes|=n,t.entanglements[o]=t.entanglements[o]|1073741824|a&4194090}function zm(t,n){var a=t.entangledLanes|=n;for(t=t.entanglements;a;){var o=31-Dt(a),d=1<<o;d&n|t[o]&n&&(t[o]|=n),a&=~d}}function _c(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 Pc(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Bm(){var t=Q.p;return t!==0?t:(t=window.event,t===void 0?32:vv(t.type))}function bE(t,n){var a=Q.p;try{return Q.p=t,n()}finally{Q.p=a}}var ei=Math.random().toString(36).slice(2),gt="__reactFiber$"+ei,Tt="__reactProps$"+ei,ma="__reactContainer$"+ei,Lc="__reactEvents$"+ei,wE="__reactListeners$"+ei,SE="__reactHandles$"+ei,Um="__reactResources$"+ei,Es="__reactMarker$"+ei;function Vc(t){delete t[gt],delete t[Tt],delete t[Lc],delete t[wE],delete t[SE]}function pa(t){var n=t[gt];if(n)return n;for(var a=t.parentNode;a;){if(n=a[ma]||a[gt]){if(a=n.alternate,n.child!==null||a!==null&&a.child!==null)for(t=iv(t);t!==null;){if(a=t[gt])return a;t=iv(t)}return n}t=a,a=t.parentNode}return null}function ga(t){if(t=t[gt]||t[ma]){var n=t.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return t}return null}function Ts(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(r(33))}function ya(t){var n=t[Um];return n||(n=t[Um]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function rt(t){t[Es]=!0}var Hm=new Set,qm={};function zi(t,n){va(t,n),va(t+"Capture",n)}function va(t,n){for(qm[t]=n,t=0;t<n.length;t++)Hm.add(n[t])}var EE=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
1037D\\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]*$"),Fm={},Gm={};function TE(t){return hn.call(Gm,t)?!0:hn.call(Fm,t)?!1:EE.test(t)?Gm[t]=!0:(Fm[t]=!0,!1)}function Zr(t,n,a){if(TE(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 Wr(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 Mn(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)}}var zc,Im;function xa(t){if(zc===void 0)try{throw Error()}catch(a){var n=a.stack.trim().match(/\n( *(at )?)/);zc=n&&n[1]||"",Im=-1<a.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+zc+t+Im}var Bc=!1;function Uc(t,n){if(!t||Bc)return"";Bc=!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 U=H}Reflect.construct(t,[],K)}else{try{K.call()}catch(H){U=H}t.call(K.prototype)}}else{try{throw Error()}catch(H){U=H}(K=t())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(H){if(H&&U&&typeof H.stack=="string")return[H.stack,U.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=o.DetermineComponentFrameRoot(),x=h[0],S=h[1];if(x&&S){var M=x.split(` 4`),z=S.split(` 5`);for(d=o=0;o<M.length&&!M[o].includes("DetermineComponentFrameRoot");)o++;for(;d<z.length&&!z[d].includes("DetermineComponentFrameRoot");)d++;if(o===M.length||d===z.length)for(o=M.length-1,d=z.length-1;1<=o&&0<=d&&M[o]!==z[d];)d--;for(;1<=o&&0<=d;o--,d--)if(M[o]!==z[d]){if(o!==1||d!==1)do if(o--,d--,0>d||M[o]!==z[d]){var F=` 6`+M[o].replace(" at new "," at ");return t.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",t.displayName)),F}while(1<=o&&0<=d);break}}}finally{Bc=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?xa(a):""}function AE(t){switch(t.tag){case 26:case 27:case 5:return xa(t.type);case 16:return xa("Lazy");case 13:return xa("Suspense");case 19:return xa("SuspenseList");case 0:case 15:return Uc(t.type,!1);case 11:return Uc(t.type.render,!1);case 1:return Uc(t.type,!0);case 31:return xa("Activity");default:return""}}function Ym(t){try{var n="";do n+=AE(t),t=t.return;while(t);return n}catch(a){return` 7Error generating stack: `+a.message+` 8`+a.stack}}function qt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Xm(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function jE(t){var n=Xm(t)?"checked":"value",a=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),o=""+t[n];if(!t.hasOwnProperty(n)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var d=a.get,h=a.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return d.call(this)},set:function(x){o=""+x,h.call(this,x)}}),Object.defineProperty(t,n,{enumerable:a.enumerable}),{getValue:function(){return o},setValue:function(x){o=""+x},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function $r(t){t._valueTracker||(t._valueTracker=jE(t))}function Km(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var a=n.getValue(),o="";return t&&(o=Xm(t)?t.checked?"true":"false":t.value),t=o,t!==a?(n.setValue(t),!0):!1}function Jr(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var CE=/[\n"\\]/g;function Ft(t){return t.replace(CE,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Hc(t,n,a,o,d,h,x,S){t.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.type=x:t.removeAttribute("type"),n!=null?x==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+qt(n)):t.value!==""+qt(n)&&(t.value=""+qt(n)):x!=="submit"&&x!=="reset"||t.removeAttribute("value"),n!=null?qc(t,x,qt(n)):a!=null?qc(t,x,qt(a)):o!=null&&t.removeAttribute("value"),d==null&&h!=null&&(t.defaultChecked=!!h),d!=null&&(t.checked=d&&typeof d!="function"&&typeof d!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+qt(S):t.removeAttribute("name")}function Qm(t,n,a,o,d,h,x,S){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),n!=null||a!=null){if(!(h!=="submit"&&h!=="reset"||n!=null))return;a=a!=null?""+qt(a):"",n=n!=null?""+qt(n):a,S||n===t.value||(t.value=n),t.defaultValue=n}o=o??d,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=S?t.checked:!!o,t.defaultChecked=!!o,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(t.name=x)}function qc(t,n,a){n==="number"&&Jr(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function ba(t,n,a,o){if(t=t.options,n){n={};for(var d=0;d<a.length;d++)n["$"+a[d]]=!0;for(a=0;a<t.length;a++)d=n.hasOwnProperty("$"+t[a].value),t[a].selected!==d&&(t[a].selected=d),d&&o&&(t[a].defaultSelected=!0)}else{for(a=""+qt(a),n=null,d=0;d<t.length;d++){if(t[d].value===a){t[d].selected=!0,o&&(t[d].defaultSelected=!0);return}n!==null||t[d].disabled||(n=t[d])}n!==null&&(n.selected=!0)}}function Zm(t,n,a){if(n!=null&&(n=""+qt(n),n!==t.value&&(t.value=n),a==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=a!=null?""+qt(a):""}function Wm(t,n,a,o){if(n==null){if(o!=null){if(a!=null)throw Error(r(92));if(ue(o)){if(1<o.length)throw Error(r(93));o=o[0]}a=o}a==null&&(a=""),n=a}a=qt(n),t.defaultValue=a,o=t.textContent,o===a&&o!==""&&o!==null&&(t.value=o)}function wa(t,n){if(n){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=n;return}}t.textContent=n}var NE=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 $m(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||NE.has(n)?n==="float"?t.cssFloat=a:t[n]=(""+a).trim():t[n]=a+"px"}function Jm(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 d in n)o=n[d],n.hasOwnProperty(d)&&a[d]!==o&&$m(t,d,o)}else for(var h in n)n.hasOwnProperty(h)&&$m(t,h,n[h])}function Fc(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 RE=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"]]),DE=/^[\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 eo(t){return DE.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Gc=null;function Ic(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Sa=null,Ea=null;function ep(t){var n=ga(t);if(n&&(t=n.stateNode)){var a=t[Tt]||null;e:switch(t=n.stateNode,n.type){case"input":if(Hc(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="'+Ft(""+n)+'"][type="radio"]'),n=0;n<a.length;n++){var o=a[n];if(o!==t&&o.form===t.form){var d=o[Tt]||null;if(!d)throw Error(r(90));Hc(o,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(n=0;n<a.length;n++)o=a[n],o.form===t.form&&Km(o)}break e;case"textarea":Zm(t,a.value,a.defaultValue);break e;case"select":n=a.value,n!=null&&ba(t,!!a.multiple,n,!1)}}}var Yc=!1;function tp(t,n,a){if(Yc)return t(n,a);Yc=!0;try{var o=t(n);return o}finally{if(Yc=!1,(Sa!==null||Ea!==null)&&(Uo(),Sa&&(n=Sa,t=Ea,Ea=Sa=null,ep(n),t)))for(n=0;n<t.length;n++)ep(t[n])}}function As(t,n){var a=t.stateNode;if(a===null)return null;var o=a[Tt]||null;if(o===null)return null;a=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break e;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(r(231,n,typeof a));return a}var kn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xc=!1;if(kn)try{var js={};Object.defineProperty(js,"passive",{get:function(){Xc=!0}}),window.addEventListener("test",js,js),window.removeEventListener("test",js,js)}catch{Xc=!1}var ti=null,Kc=null,to=null;function np(){if(to)return to;var t,n=Kc,a=n.length,o,d="value"in ti?ti.value:ti.textContent,h=d.length;for(t=0;t<a&&n[t]===d[t];t++);var x=a-t;
vendor: 6,466 bytes, line 8
8for(o=1;o<=x&&n[a-o]===d[h-o];o++);return to=d.slice(t,1<o?1-o:void 0)}function no(t){var n=t.keyCode;return"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 io(){return!0}function ip(){return!1}function At(t){function n(a,o,d,h,x){this._reactName=a,this._targetInst=d,this.type=o,this.nativeEvent=h,this.target=x,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(a=t[S],this[S]=a?a(h):h[S]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?io:ip,this.isPropagationStopped=ip,this}return y(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=io)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=io)},persist:function(){},isPersistent:io}),n}var Bi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ao=At(Bi),Cs=y({},Bi,{view:0,detail:0}),ME=At(Cs),Qc,Zc,Ns,so=y({},Cs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$c,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!==Ns&&(Ns&&t.type==="mousemove"?(Qc=t.screenX-Ns.screenX,Zc=t.screenY-Ns.screenY):Zc=Qc=0,Ns=t),Qc)},movementY:function(t){return"movementY"in t?t.movementY:Zc}}),ap=At(so),kE=y({},so,{dataTransfer:0}),OE=At(kE),_E=y({},Cs,{relatedTarget:0}),Wc=At(_E),PE=y({},Bi,{animationName:0,elapsedTime:0,pseudoElement:0}),LE=At(PE),VE=y({},Bi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),zE=At(VE),BE=y({},Bi,{data:0}),sp=At(BE),UE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HE={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"},qE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function FE(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=qE[t])?!!n[t]:!1}function $c(){return FE}var GE=y({},Cs,{key:function(t){if(t.key){var n=UE[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=no(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?HE[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$c,charCode:function(t){return t.type==="keypress"?no(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?no(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),IE=At(GE),YE=y({},so,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rp=At(YE),XE=y({},Cs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$c}),KE=At(XE),QE=y({},Bi,{propertyName:0,elapsedTime:0,pseudoElement:0}),ZE=At(QE),WE=y({},so,{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}),$E=At(WE),JE=y({},Bi,{newState:0,oldState:0}),eT=At(JE),tT=[9,13,27,32],Jc=kn&&"CompositionEvent"in window,Rs=null;kn&&"documentMode"in document&&(Rs=document.documentMode);var nT=kn&&"TextEvent"in window&&!Rs,op=kn&&(!Jc||Rs&&8<Rs&&11>=Rs),lp=" ",cp=!1;function up(t,n){switch(t){case"keyup":return tT.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ta=!1;function iT(t,n){switch(t){case"compositionend":return dp(n);case"keypress":return n.which!==32?null:(cp=!0,lp);case"textInput":return t=n.data,t===lp&&cp?null:t;default:return null}}function aT(t,n){if(Ta)return t==="compositionend"||!Jc&&up(t,n)?(t=np(),to=Kc=ti=null,Ta=!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 op&&n.locale!=="ko"?null:n.data;default:return null}}var sT={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 fp(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!sT[t.type]:n==="textarea"}function hp(t,n,a,o){Sa?Ea?Ea.push(o):Ea=[o]:Sa=o,n=Yo(n,"onChange"),0<n.length&&(a=new ao("onChange","change",null,a,o),t.push({event:a,listeners:n}))}var Ds=null,Ms=null;function rT(t){Xy(t,0)}function ro(t){var n=Ts(t);if(Km(n))return t}function mp(t,n){if(t==="change")return n}var pp=!1;if(kn){var eu;if(kn){var tu="oninput"in document;if(!tu){var gp=document.createElement("div");gp.setAttribute("oninput","return;"),tu=typeof gp.oninput=="function"}eu=tu}else eu=!1;pp=eu&&(!document.documentMode||9<document.documentMode)}function yp(){Ds&&(Ds.detachEvent("onpropertychange",vp),Ms=Ds=null)}function vp(t){if(t.propertyName==="value"&&ro(Ms)){var n=[];hp(n,Ms,t,Ic(t)),tp(rT,n)}}function oT(t,n,a){t==="focusin"?(yp(),Ds=n,Ms=a,Ds.attachEvent("onpropertychange",vp)):t==="focusout"&&yp()}function lT(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ro(Ms)}function cT(t,n){if(t==="click")return ro(n)}function uT(t,n){if(t==="input"||t==="change")return ro(n)}function dT(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Mt=typeof Object.is=="function"?Object.is:dT;function ks(t,n){if(Mt(t,n))return!0;
vendor: 55,095 bytes, line 8
8if(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 d=a[o];if(!hn.call(n,d)||!Mt(t[d],n[d]))return!1}return!0}function xp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function bp(t,n){var a=xp(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}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=xp(a)}}function wp(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?wp(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function Sp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=Jr(t.document);n instanceof t.HTMLIFrameElement;){try{var a=typeof n.contentWindow.location.href=="string"}catch{a=!1}if(a)t=n.contentWindow;else break;n=Jr(t.document)}return n}function nu(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 fT=kn&&"documentMode"in document&&11>=document.documentMode,Aa=null,iu=null,Os=null,au=!1;function Ep(t,n,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;au||Aa==null||Aa!==Jr(o)||(o=Aa,"selectionStart"in o&&nu(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}),Os&&ks(Os,o)||(Os=o,o=Yo(iu,"onSelect"),0<o.length&&(n=new ao("onSelect","select",null,n,a),t.push({event:n,listeners:o}),n.target=Aa)))}function Ui(t,n){var a={};return a[t.toLowerCase()]=n.toLowerCase(),a["Webkit"+t]="webkit"+n,a["Moz"+t]="moz"+n,a}var ja={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")},su={},Tp={};kn&&(Tp=document.createElement("div").style,"AnimationEvent"in window||(delete ja.animationend.animation,delete ja.animationiteration.animation,delete ja.animationstart.animation),"TransitionEvent"in window||delete ja.transitionend.transition);function Hi(t){if(su[t])return su[t];if(!ja[t])return t;var n=ja[t],a;for(a in n)if(n.hasOwnProperty(a)&&a in Tp)return su[t]=n[a];return t}var Ap=Hi("animationend"),jp=Hi("animationiteration"),Cp=Hi("animationstart"),hT=Hi("transitionrun"),mT=Hi("transitionstart"),pT=Hi("transitioncancel"),Np=Hi("transitionend"),Rp=new Map,ru="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(" ");ru.push("scrollEnd");function tn(t,n){Rp.set(t,n),zi(n,[t])}var Dp=new WeakMap;function Gt(t,n){if(typeof t=="object"&&t!==null){var a=Dp.get(t);return a!==void 0?a:(n={value:t,source:n,stack:Ym(n)},Dp.set(t,n),n)}return{value:t,source:n,stack:Ym(n)}}var It=[],Ca=0,ou=0;function oo(){for(var t=Ca,n=ou=Ca=0;n<t;){var a=It[n];It[n++]=null;var o=It[n];It[n++]=null;var d=It[n];It[n++]=null;var h=It[n];if(It[n++]=null,o!==null&&d!==null){var x=o.pending;x===null?d.next=d:(d.next=x.next,x.next=d),o.pending=d}h!==0&&Mp(a,d,h)}}function lo(t,n,a,o){It[Ca++]=t,It[Ca++]=n,It[Ca++]=a,It[Ca++]=o,ou|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function lu(t,n,a,o){return lo(t,n,a,o),co(t)}function Na(t,n){return lo(t,null,null,n),co(t)}function Mp(t,n,a){t.lanes|=a;var o=t.alternate;o!==null&&(o.lanes|=a);for(var d=!1,h=t.return;h!==null;)h.childLanes|=a,o=h.alternate,o!==null&&(o.childLanes|=a),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(d=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,d&&n!==null&&(d=31-Dt(a),t=h.hiddenUpdates,o=t[d],o===null?t[d]=[n]:o.push(n),n.lane=a|536870912),h):null}function co(t){if(50<ar)throw ar=0,md=null,Error(r(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var Ra={};function gT(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 kt(t,n,a,o){return new gT(t,n,a,o)}function cu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function On(t,n){var a=t.alternate;return a===null?(a=kt(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 kp(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 uo(t,n,a,o,d,h){var x=0;if(o=t,typeof t=="function")cu(t)&&(x=1);else if(typeof t=="string")x=vA(t,a,de.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case W:return t=kt(31,a,n,d),t.elementType=W,t.lanes=h,t;case A:return qi(a.children,d,h,n);case T:x=8,d|=24;break;case j:return t=kt(12,a,n,d|2),t.elementType=j,t.lanes=h,t;case _:return t=kt(13,a,n,d),t.elementType=_,t.lanes=h,t;case q:return t=kt(19,a,n,d),t.elementType=q,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case R:case D:x=10;break e;case N:x=9;break e;case O:x=11;break e;case X:x=14;break e;case B:x=16,o=null;break e}x=29,a=Error(r(130,t===null?"null":typeof t,"")),o=null}return n=kt(x,a,n,d),n.elementType=t,n.type=o,n.lanes=h,n}function qi(t,n,a,o){return t=kt(7,t,o,n),t.lanes=a,t}function uu(t,n,a){return t=kt(6,t,null,n),t.lanes=a,t}function du(t,n,a){return n=kt(4,t.children!==null?t.children:[],t.key,n),n.lanes=a,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var Da=[],Ma=0,fo=null,ho=0,Yt=[],Xt=0,Fi=null,_n=1,Pn="";function Gi(t,n){Da[Ma++]=ho,Da[Ma++]=fo,fo=t,ho=n}function Op(t,n,a){Yt[Xt++]=_n,Yt[Xt++]=Pn,Yt[Xt++]=Fi,Fi=t;var o=_n;t=Pn;var d=32-Dt(o)-1;o&=~(1<<d),a+=1;var h=32-Dt(n)+d;if(30<h){var x=d-d%5;h=(o&(1<<x)-1).toString(32),o>>=x,d-=x,_n=1<<32-Dt(n)+d|a<<d|o,Pn=h+t}else _n=1<<h|a<<d|o,Pn=t}function fu(t){t.return!==null&&(Gi(t,1),Op(t,1,0))}function hu(t){for(;t===fo;)fo=Da[--Ma],Da[Ma]=null,ho=Da[--Ma],Da[Ma]=null;for(;t===Fi;)Fi=Yt[--Xt],Yt[Xt]=null,Pn=Yt[--Xt],Yt[Xt]=null,_n=Yt[--Xt],Yt[Xt]=null}var bt=null,Ye=null,Ne=!1,Ii=null,pn=!1,mu=Error(r(519));function Yi(t){var n=Error(r(418,""));throw Ls(Gt(n,t)),mu}function _p(t){var n=t.stateNode,a=t.type,o=t.memoizedProps;switch(n[gt]=t,n[Tt]=o,a){case"dialog":Ee("cancel",n),Ee("close",n);break;case"iframe":case"object":case"embed":Ee("load",n);break;case"video":case"audio":for(a=0;a<rr.length;a++)Ee(rr[a],n);break;case"source":Ee("error",n);break;case"img":case"image":case"link":Ee("error",n),Ee("load",n);break;case"details":Ee("toggle",n);break;case"input":Ee("invalid",n),Qm(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),$r(n);break;case"select":Ee("invalid",n);break;case"textarea":Ee("invalid",n),Wm(n,o.value,o.defaultValue,o.children),$r(n)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||n.textContent===""+a||o.suppressHydrationWarning===!0||Wy(n.textContent,a)?(o.popover!=null&&(Ee("beforetoggle",n),Ee("toggle",n)),o.onScroll!=null&&Ee("scroll",n),o.onScrollEnd!=null&&Ee("scrollend",n),o.onClick!=null&&(n.onclick=Xo),n=!0):n=!1,n||Yi(t)}function Pp(t){for(bt=t.return;bt;)switch(bt.tag){case 5:case 13:pn=!1;return;case 27:case 3:pn=!0;return;default:bt=bt.return}}function _s(t){if(t!==bt)return!1;if(!Ne)return Pp(t),Ne=!0,!1;var n=t.tag,a;if((a=n!==3&&n!==27)&&((a=n===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Dd(t.type,t.memoizedProps)),a=!a),a&&Ye&&Yi(t),Pp(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,n=0;t;){if(t.nodeType===8)if(a=t.data,a==="/$"){if(n===0){Ye=an(t.nextSibling);break e}n--}else a!=="$"&&a!=="$!"&&a!=="$?"||n++;t=t.nextSibling}Ye=null}}else n===27?(n=Ye,yi(t.type)?(t=_d,_d=null,Ye=t):Ye=n):Ye=bt?an(t.stateNode.nextSibling):null;return!0}function Ps(){Ye=bt=null,Ne=!1}function Lp(){var t=Ii;return t!==null&&(Nt===null?Nt=t:Nt.push.apply(Nt,t),Ii=null),t}function Ls(t){Ii===null?Ii=[t]:Ii.push(t)}var pu=I(null),Xi=null,Ln=null;function ni(t,n,a){$(pu,n._currentValue),n._currentValue=a}function Vn(t){t._currentValue=pu.current,ee(pu)}function gu(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 yu(t,n,a,o){var d=t.child;for(d!==null&&(d.return=t);d!==null;){var h=d.dependencies;if(h!==null){var x=d.child;h=h.firstContext;e:for(;h!==null;){var S=h;h=d;for(var M=0;M<n.length;M++)if(S.context===n[M]){h.lanes|=a,S=h.alternate,S!==null&&(S.lanes|=a),gu(h.return,a,t),o||(x=null);break e}h=S.next}}else if(d.tag===18){if(x=d.return,x===null)throw Error(r(341));x.lanes|=a,h=x.alternate,h!==null&&(h.lanes|=a),gu(x,a,t),x=null}else x=d.child;if(x!==null)x.return=d;else for(x=d;x!==null;){if(x===t){x=null;break}if(d=x.sibling,d!==null){d.return=x.return,x=d;break}x=x.return}d=x}}function Vs(t,n,a,o){t=null;for(var d=n,h=!1;d!==null;){if(!h){if((d.flags&524288)!==0)h=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var x=d.alternate;if(x===null)throw Error(r(387));if(x=x.memoizedProps,x!==null){var S=d.type;Mt(d.pendingProps.value,x.value)||(t!==null?t.push(S):t=[S])}}else if(d===He.current){if(x=d.alternate,x===null)throw Error(r(387));x.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(t!==null?t.push(fr):t=[fr])}d=d.return}t!==null&&yu(n,t,a,o),n.flags|=262144}function mo(t){for(t=t.firstContext;t!==null;){if(!Mt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ki(t){Xi=t,Ln=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function yt(t){return Vp(Xi,t)}function po(t,n){return Xi===null&&Ki(t),Vp(t,n)}function Vp(t,n){var a=n._currentValue;if(n={context:n,memoizedValue:a,next:null},Ln===null){if(t===null)throw Error(r(308));Ln=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else Ln=Ln.next=n;return a}var yT=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()})}},vT=e.unstable_scheduleCallback,xT=e.unstable_NormalPriority,tt={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vu(){return{controller:new yT,data:new Map,refCount:0}}function zs(t){t.refCount--,t.refCount===0&&vT(xT,function(){t.controller.abort()})}var Bs=null,xu=0,ka=0,Oa=null;function bT(t,n){if(Bs===null){var a=Bs=[];xu=0,ka=wd(),Oa={status:"pending",value:void 0,then:function(o){a.push(o)}}}return xu++,n.then(zp,zp),n}function zp(){if(--xu===0&&Bs!==null){Oa!==null&&(Oa.status="fulfilled");var t=Bs;Bs=null,ka=0,Oa=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function wT(t,n){var a=[],o={status:"pending",value:null,reason:null,then:function(d){a.push(d)}};return t.then(function(){o.status="fulfilled",o.value=n;for(var d=0;d<a.length;d++)(0,a[d])(n)},function(d){for(o.status="rejected",o.reason=d,d=0;d<a.length;d++)(0,a[d])(void 0)}),o}var Bp=L.S;L.S=function(t,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&bT(t,n),Bp!==null&&Bp(t,n)};var Qi=I(null);function bu(){var t=Qi.current;return t!==null?t:ze.pooledCache}function go(t,n){n===null?$(Qi,Qi.current):$(Qi,n.pool)}function Up(){var t=bu();return t===null?null:{parent:tt._currentValue,pool:t}}var Us=Error(r(460)),Hp=Error(r(474)),yo=Error(r(542)),wu={then:function(){}};function qp(t){return t=t.status,t==="fulfilled"||t==="rejected"}function vo(){}function Fp(t,n,a){switch(a=t[a],a===void 0?t.push(n):a!==n&&(n.then(vo,vo),n=a),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Ip(t),t;default:if(typeof n.status=="string")n.then(vo,vo);else{if(t=ze,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=n,t.status="pending",t.then(function(o){if(n.status==="pending"){var d=n;d.status="fulfilled",d.value=o}},function(o){if(n.status==="pending"){var d=n;d.status="rejected",d.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Ip(t),t}throw Hs=n,Us}}var Hs=null;function Gp(){if(Hs===null)throw Error(r(459));var t=Hs;return Hs=null,t}function Ip(t){if(t===Us||t===yo)throw Error(r(483))}var ii=!1;function Su(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Eu(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 ai(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function si(t,n,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(Me&2)!==0){var d=o.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),o.pending=n,n=co(t),Mp(t,null,a),n}return lo(t,o,n,a),co(t)}function qs(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,zm(t,a)}}function Tu(t,n){var a=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var d=null,h=null;if(a=a.firstBaseUpdate,a!==null){do{var x={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};h===null?d=h=x:h=h.next=x,a=a.next}while(a!==null);h===null?d=h=n:h=h.next=n}else d=h=n;a={baseState:o.baseState,firstBaseUpdate:d,lastBaseUpdate:h,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 Au=!1;function Fs(){if(Au){var t=Oa;if(t!==null)throw t}}function Gs(t,n,a,o){Au=!1;var d=t.updateQueue;ii=!1;var h=d.firstBaseUpdate,x=d.lastBaseUpdate,S=d.shared.pending;if(S!==null){d.shared.pending=null;var M=S,z=M.next;M.next=null,x===null?h=z:x.next=z,x=M;var F=t.alternate;F!==null&&(F=F.updateQueue,S=F.lastBaseUpdate,S!==x&&(S===null?F.firstBaseUpdate=z:S.next=z,F.lastBaseUpdate=M))}if(h!==null){var K=d.baseState;x=0,F=z=M=null,S=h;do{var U=S.lane&-536870913,H=U!==S.lane;if(H?(je&U)===U:(o&U)===U){U!==0&&U===ka&&(Au=!0),F!==null&&(F=F.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var ge=t,he=S;U=n;var Pe=a;switch(he.tag){case 1:if(ge=he.payload,typeof ge=="function"){K=ge.call(Pe,K,U);break e}K=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=he.payload,U=typeof ge=="function"?ge.call(Pe,K,U):ge,U==null)break e;K=y({},K,U);break e;case 2:ii=!0}}U=S.callback,U!==null&&(t.flags|=64,H&&(t.flags|=8192),H=d.callbacks,H===null?d.callbacks=[U]:H.push(U))}else H={lane:U,tag:S.tag,payload:S.payload,callback:S.callback,next:null},F===null?(z=F=H,M=K):F=F.next=H,x|=U;if(S=S.next,S===null){if(S=d.shared.pending,S===null)break;H=S,S=H.next,H.next=null,d.lastBaseUpdate=H,d.shared.pending=null}}while(!0);F===null&&(M=K),d.baseState=M,d.firstBaseUpdate=z,d.lastBaseUpdate=F,h===null&&(d.shared.lanes=0),hi|=x,t.lanes=x,t.memoizedState=K}}function Yp(t,n){if(typeof t!="function")throw Error(r(191,t));t.call(n)}function Xp(t,n){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Yp(a[t],n)}var _a=I(null),xo=I(0);function Kp(t,n){t=Gn,$(xo,t),$(_a,n),Gn=t|n.baseLanes}function ju(){$(xo,Gn),$(_a,_a.current)}function Cu(){Gn=xo.current,ee(_a),ee(xo)}var ri=0,xe=null,Oe=null,$e=null,bo=!1,Pa=!1,Zi=!1,wo=0,Is=0,La=null,ST=0;function Qe(){throw Error(r(321))}function Nu(t,n){if(n===null)return!1;for(var a=0;a<n.length&&a<t.length;a++)if(!Mt(t[a],n[a]))return!1;return!0}function Ru(t,n,a,o,d,h){return ri=h,xe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,L.H=t===null||t.memoizedState===null?Mg:kg,Zi=!1,h=a(o,d),Zi=!1,Pa&&(h=Zp(n,a,o,d)),Qp(t),h}function Qp(t){L.H=Co;var n=Oe!==null&&Oe.next!==null;if(ri=0,$e=Oe=xe=null,bo=!1,Is=0,La=null,n)throw Error(r(300));t===null||ot||(t=t.dependencies,t!==null&&mo(t)&&(ot=!0))}function Zp(t,n,a,o){xe=t;var d=0;do{if(Pa&&(La=null),Is=0,Pa=!1,25<=d)throw Error(r(301));if(d+=1,$e=Oe=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}L.H=RT,h=n(a,o)}while(Pa);return h}function ET(){var t=L.H,n=t.useState()[0];return n=typeof n.then=="function"?Ys(n):n,t=t.useState()[0],(Oe!==null?Oe.memoizedState:null)!==t&&(xe.flags|=1024),n}function Du(){var t=wo!==0;return wo=0,t}function Mu(t,n,a){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~a}function ku(t){if(bo){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}bo=!1}ri=0,$e=Oe=xe=null,Pa=!1,Is=wo=0,La=null}function jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $e===null?xe.memoizedState=$e=t:$e=$e.next=t,$e}function Je(){if(Oe===null){var t=xe.alternate;t=t!==null?t.memoizedState:null}else t=Oe.next;var n=$e===null?xe.memoizedState:$e.next;if(n!==null)$e=n,Oe=t;else{if(t===null)throw xe.alternate===null?Error(r(467)):Error(r(310));Oe=t,t={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},$e===null?xe.memoizedState=$e=t:$e=$e.next=t}return $e}function Ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ys(t){var n=Is;return Is+=1,La===null&&(La=[]),t=Fp(La,t,n),n=xe,($e===null?n.memoizedState:$e.next)===null&&(n=n.alternate,L.H=n===null||n.memoizedState===null?Mg:kg),t}function So(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ys(t);if(t.$$typeof===D)return yt(t)}throw Error(r(438,String(t)))}function _u(t){var n=null,a=xe.updateQueue;if(a!==null&&(n=a.memoCache),n==null){var o=xe.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(d){return d.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),a===null&&(a=Ou(),xe.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]=Z;return n.index++,a}function zn(t,n){return typeof n=="function"?n(t):n}function Eo(t){var n=Je();return Pu(n,Oe,t)}function Pu(t,n,a){var o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=a;var d=t.baseQueue,h=o.pending;if(h!==null){if(d!==null){var x=d.next;d.next=h.next,h.next=x}n.baseQueue=d=h,o.pending=null}if(h=t.baseState,d===null)t.memoizedState=h;else{n=d.next;var S=x=null,M=null,z=n,F=!1;do{var K=z.lane&-536870913;if(K!==z.lane?(je&K)===K:(ri&K)===K){var U=z.revertLane;if(U===0)M!==null&&(M=M.next={lane:0,revertLane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),K===ka&&(F=!0);else if((ri&U)===U){z=z.next,U===ka&&(F=!0);continue}else K={lane:0,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(S=M=K,x=h):M=M.next=K,xe.lanes|=U,hi|=U;K=z.action,Zi&&a(h,K),h=z.hasEagerState?z.eagerState:a(h,K)}else U={lane:K,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(S=M=U,x=h):M=M.next=U,xe.lanes|=K,hi|=K;z=z.next}while(z!==null&&z!==n);if(M===null?x=h:M.next=S,!Mt(h,t.memoizedState)&&(ot=!0,F&&(a=Oa,a!==null)))throw a;t.memoizedState=h,t.baseState=x,t.baseQueue=M,o.lastRenderedState=h}return d===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Lu(t){var n=Je(),a=n.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=t;var o=a.dispatch,d=a.pending,h=n.memoizedState;if(d!==null){a.pending=null;var x=d=d.next;do h=t(h,x.action),x=x.next;while(x!==d);Mt(h,n.memoizedState)||(ot=!0),n.memoizedState=h,n.baseQueue===null&&(n.baseState=h),a.lastRenderedState=h}return[h,o]}function Wp(t,n,a){var o=xe,d=Je(),h=Ne;if(h){if(a===void 0)throw Error(r(407));a=a()}else a=n();var x=!Mt((Oe||d).memoizedState,a);x&&(d.memoizedState=a,ot=!0),d=d.queue;var S=eg.bind(null,o,d,t);if(Xs(2048,8,S,[t]),d.getSnapshot!==n||x||$e!==null&&$e.memoizedState.tag&1){if(o.flags|=2048,Va(9,To(),Jp.bind(null,o,d,a,n),null),ze===null)throw Error(r(349));h||(ri&124)!==0||$p(o,n,a)}return a}function $p(t,n,a){t.flags|=16384,t={getSnapshot:n,value:a},n=xe.updateQueue,n===null?(n=Ou(),xe.updateQueue=n,n.stores=[t]):(a=n.stores,a===null?n.stores=[t]:a.push(t))}function Jp(t,n,a,o){n.value=a,n.getSnapshot=o,tg(n)&&ng(t)}function eg(t,n,a){return a(function(){tg(n)&&ng(t)})}function tg(t){var n=t.getSnapshot;t=t.value;try{var a=n();return!Mt(t,a)}catch{return!0}}function ng(t){var n=Na(t,2);n!==null&&Vt(n,t,2)}function Vu(t){var n=jt();if(typeof t=="function"){var a=t;if(t=a(),Zi){Jn(!0);try{a()}finally{Jn(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:t},n}function ig(t,n,a,o){return t.baseState=a,Pu(t,Oe,typeof o=="function"?o:zn)}function TT(t,n,a,o,d){if(jo(t))throw Error(r(485));if(t=n.action,t!==null){var h={payload:d,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){h.listeners.push(x)}};L.T!==null?a(!0):h.isTransition=!1,o(h),a=n.pending,a===null?(h.next=n.pending=h,ag(n,h)):(h.next=a.next,n.pending=a.next=h)}}function ag(t,n){var a=n.action,o=n.payload,d=t.state;if(n.isTransition){var h=L.T,x={};L.T=x;try{var S=a(d,o),M=L.S;M!==null&&M(x,S),sg(t,n,S)}catch(z){zu(t,n,z)}finally{L.T=h}}else try{h=a(d,o),sg(t,n,h)}catch(z){zu(t,n,z)}}function sg(t,n,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){rg(t,n,o)},function(o){return zu(t,n,o)}):rg(t,n,a)}function rg(t,n,a){n.status="fulfilled",n.value=a,og(n),t.state=a,n=t.pending,n!==null&&(a=n.next,a===n?t.pending=null:(a=a.next,n.next=a,ag(t,a)))}function zu(t,n,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=a,og(n),n=n.next;while(n!==o)}t.action=null}function og(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function lg(t,n){return n}function cg(t,n){if(Ne){var a=ze.formState;if(a!==null){e:{var o=xe;if(Ne){if(Ye){t:{for(var d=Ye,h=pn;d.nodeType!==8;){if(!h){d=null;break t}if(d=an(d.nextSibling),d===null){d=null;break t}}h=d.data,d=h==="F!"||h==="F"?d:null}if(d){Ye=an(d.nextSibling),o=d.data==="F!";break e}}Yi(o)}o=!1}o&&(n=a[0])}}return a=jt(),a.memoizedState=a.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lg,lastRenderedState:n},a.queue=o,a=Ng.bind(null,xe,o),o.dispatch=a,o=Vu(!1),h=Fu.bind(null,xe,!1,o.queue),o=jt(),d={state:n,dispatch:null,action:t,pending:null},o.queue=d,a=TT.bind(null,xe,d,h,a),d.dispatch=a,o.memoizedState=t,[n,a,!1]}function ug(t){var n=Je();return dg(n,Oe,t)}function dg(t,n,a){if(n=Pu(t,n,lg)[0],t=Eo(zn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=Ys(n)}catch(x){throw x===Us?yo:x}else o=n;n=Je();var d=n.queue,h=d.dispatch;return a!==n.memoizedState&&(xe.flags|=2048,Va(9,To(),AT.bind(null,d,a),null)),[o,h,t]}function AT(t,n){t.action=n}function fg(t){var n=Je(),a=Oe;if(a!==null)return dg(n,a,t);Je(),n=n.memoizedState,a=Je();var o=a.queue.dispatch;return a.memoizedState=t,[n,o,!1]}function Va(t,n,a,o){return t={tag:t,create:a,deps:o,inst:n,next:null},n=xe.updateQueue,n===null&&(n=Ou(),xe.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 To(){return{destroy:void 0,resource:void 0}}function hg(){return Je().memoizedState}function Ao(t,n,a,o){var d=jt();o=o===void 0?null:o,xe.flags|=t,d.memoizedState=Va(1|n,To(),a,o)}function Xs(t,n,a,o){var d=Je();o=o===void 0?null:o;var h=d.memoizedState.inst;Oe!==null&&o!==null&&Nu(o,Oe.memoizedState.deps)?d.memoizedState=Va(n,h,a,o):(xe.flags|=t,d.memoizedState=Va(1|n,h,a,o))}function mg(t,n){Ao(8390656,8,t,n)}function pg(t,n){Xs(2048,8,t,n)}function gg(t,n){return Xs(4,2,t,n)}function yg(t,n){return Xs(4,4,t,n)}function vg(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 xg(t,n,a){a=a!=null?a.concat([t]):null,Xs(4,4,vg.bind(null,n,t),a)}function Bu(){}function bg(t,n){var a=Je();n=n===void 0?null:n;var o=a.memoizedState;return n!==null&&Nu(n,o[1])?o[0]:(a.memoizedState=[t,n],t)}function wg(t,n){var a=Je();n=n===void 0?null:n;var o=a.memoizedState;if(n!==null&&Nu(n,o[1]))return o[0];if(o=t(),Zi){Jn(!0);try{t()}finally{Jn(!1)}}return a.memoizedState=[o,n],o}function Uu(t,n,a){return a===void 0||(ri&1073741824)!==0?t.memoizedState=n:(t.memoizedState=a,t=Ty(),xe.lanes|=t,hi|=t,a)}function Sg(t,n,a,o){return Mt(a,n)?a:_a.current!==null?(t=Uu(t,a,o),Mt(t,n)||(ot=!0),t):(ri&42)===0?(ot=!0,t.memoizedState=a):(t=Ty(),xe.lanes|=t,hi|=t,n)}function Eg(t,n,a,o,d){var h=Q.p;Q.p=h!==0&&8>h?h:8;var x=L.T,S={};L.T=S,Fu(t,!1,n,a);try{var M=d(),z=L.S;if(z!==null&&z(S,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var F=wT(M,o);Ks(t,n,F,Lt(t))}else Ks(t,n,o,Lt(t))}catch(K){Ks(t,n,{then:function(){},status:"rejected",reason:K},Lt())}finally{Q.p=h,L.T=x}}function jT(){}function Hu(t,n,a,o){if(t.tag!==5)throw Error(r(476));var d=Tg(t).queue;Eg(t,d,n,G,a===null?jT:function(){return Ag(t),a(o)})}function Tg(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:G},next:null};var a={};return n.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:a},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function Ag(t){var n=Tg(t).next.queue;Ks(t,n,{},Lt())}function qu(){return yt(fr)}function jg(){return Je().memoizedState}function Cg(){return Je().memoizedState}function CT(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var a=Lt();t=ai(a);var o=si(n,t,a);o!==null&&(Vt(o,n,a),qs(o,n,a)),n={cache:vu()},t.payload=n;return}n=n.return}}function NT(t,n,a){var o=Lt();a={lane:o,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},jo(t)?Rg(n,a):(a=lu(t,n,a,o),a!==null&&(Vt(a,t,o),Dg(a,n,o)))}function Ng(t,n,a){var o=Lt();Ks(t,n,a,o)}function Ks(t,n,a,o){var d={lane:o,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(jo(t))Rg(n,d);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=n.lastRenderedReducer,h!==null))try{var x=n.lastRenderedState,S=h(x,a);if(d.hasEagerState=!0,d.eagerState=S,Mt(S,x))return lo(t,n,d,0),ze===null&&oo(),!1}catch{}if(a=lu(t,n,d,o),a!==null)return Vt(a,t,o),Dg(a,n,o),!0}return!1}function Fu(t,n,a,o){if(o={lane:2,revertLane:wd(),action:o,hasEagerState:!1,eagerState:null,next:null},jo(t)){if(n)throw Error(r(479))}else n=lu(t,a,o,2),n!==null&&Vt(n,t,2)}function jo(t){var n=t.alternate;return t===xe||n!==null&&n===xe}function Rg(t,n){Pa=bo=!0;var a=t.pending;a===null?n.next=n:(n.next=a.next,a.next=n),t.pending=n}function Dg(t,n,a){if((a&4194048)!==0){var o=n.lanes;o&=t.pendingLanes,a|=o,n.lanes=a,zm(t,a)}}var Co={readContext:yt,use:So,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe},Mg={readContext:yt,use:So,useCallback:function(t,n){return jt().memoizedState=[t,n===void 0?null:n],t},useContext:yt,useEffect:mg,useImperativeHandle:function(t,n,a){a=a!=null?a.concat([t]):null,Ao(4194308,4,vg.bind(null,n,t),a)},useLayoutEffect:function(t,n){return Ao(4194308,4,t,n)},useInsertionEffect:function(t,n){Ao(4,2,t,n)},useMemo:function(t,n){var a=jt();n=n===void 0?null:n;var o=t();if(Zi){Jn(!0);try{t()}finally{Jn(!1)}}return a.memoizedState=[o,n],o},useReducer:function(t,n,a){var o=jt();if(a!==void 0){var d=a(n);if(Zi){Jn(!0);try{a(n)}finally{Jn(!1)}}}else d=n;return o.memoizedState=o.baseState=d,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:d},o.queue=t,t=t.dispatch=NT.bind(null,xe,t),[o.memoizedState,t]},useRef:function(t){var n=jt();return t={current:t},n.memoizedState=t},useState:function(t){t=Vu(t);var n=t.queue,a=Ng.bind(null,xe,n);return n.dispatch=a,[t.memoizedState,a]},useDebugValue:Bu,useDeferredValue:function(t,n){var a=jt();return Uu(a,t,n)},useTransition:function(){var t=Vu(!1);return t=Eg.bind(null,xe,t.queue,!0,!1),jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,a){var o=xe,d=jt();if(Ne){if(a===void 0)throw Error(r(407));a=a()}else{if(a=n(),ze===null)throw Error(r(349));(je&124)!==0||$p(o,n,a)}d.memoizedState=a;var h={value:a,getSnapshot:n};return d.queue=h,mg(eg.bind(null,o,h,t),[t]),o.flags|=2048,Va(9,To(),Jp.bind(null,o,h,a,n),null),a},useId:function(){var t=jt(),n=ze.identifierPrefix;if(Ne){var a=Pn,o=_n;a=(o&~(1<<32-Dt(o)-1)).toString(32)+a,n="«"+n+"R"+a,a=wo++,0<a&&(n+="H"+a.toString(32)),n+="»"}else a=ST++,n="«"+n+"r"+a.toString(32)+"»";return t.memoizedState=n},useHostTransitionStatus:qu,useFormState:cg,useActionState:cg,useOptimistic:function(t){var n=jt();n.memoizedState=n.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=a,n=Fu.bind(null,xe,!0,a),a.dispatch=n,[t,n]},useMemoCache:_u,useCacheRefresh:function(){return jt().memoizedState=CT.bind(null,xe)}},kg={readContext:yt,use:So,useCallback:bg,useContext:yt,useEffect:pg,useImperativeHandle:xg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:wg,useReducer:Eo,useRef:hg,useState:function(){return Eo(zn)},useDebugValue:Bu,useDeferredValue:function(t,n){var a=Je();return Sg(a,Oe.memoizedState,t,n)},useTransition:function(){var t=Eo(zn)[0],n=Je().memoizedState;return[typeof t=="boolean"?t:Ys(t),n]},useSyncExternalStore:Wp,useId:jg,useHostTransitionStatus:qu,useFormState:ug,useActionState:ug,useOptimistic:function(t,n){var a=Je();return ig(a,Oe,t,n)},useMemoCache:_u,useCacheRefresh:Cg},RT={readContext:yt,use:So,useCallback:bg,useContext:yt,useEffect:pg,useImperativeHandle:xg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:wg,useReducer:Lu,useRef:hg,useState:function(){return Lu(zn)},useDebugValue:Bu,useDeferredValue:function(t,n){var a=Je();return Oe===null?Uu(a,t,n):Sg(a,Oe.memoizedState,t,n)},useTransition:function(){var t=Lu(zn)[0],n=Je().memoizedState;return[typeof t=="boolean"?t:Ys(t),n]},useSyncExternalStore:Wp,useId:jg,useHostTransitionStatus:qu,useFormState:fg,useActionState:fg,useOptimistic:function(t,n){var a=Je();return Oe!==null?ig(a,Oe,t,n):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:_u,useCacheRefresh:Cg},za=null,Qs=0;function No(t){var n=Qs;return Qs+=1,za===null&&(za=[]),Fp(za,t,n)}function Zs(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function Ro(t,n){throw n.$$typeof===v?Error(r(525)):(t=Object.prototype.toString.call(n),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function Og(t){var n=t._init;return n(t._payload)}function _g(t){function n(P,k){if(t){var V=P.deletions;V===null?(P.deletions=[k],P.flags|=16):V.push(k)}}function a(P,k){if(!t)return null;for(;k!==null;)n(P,k),k=k.sibling;return null}function o(P){for(var k=new Map;P!==null;)P.key!==null?k.set(P.key,P):k.set(P.index,P),P=P.sibling;return k}function d(P,k){return P=On(P,k),P.index=0,P.sibling=null,P}function h(P,k,V){return P.index=V,t?(V=P.alternate,V!==null?(V=V.index,V<k?(P.flags|=67108866,k):V):(P.flags|=67108866,k)):(P.flags|=1048576,k)}function x(P){return t&&P.alternate===null&&(P.flags|=67108866),P}function S(P,k,V,Y){return k===null||k.tag!==6?(k=uu(V,P.mode,Y),k.return=P,k):(k=d(k,V),k.return=P,k)}function M(P,k,V,Y){var se=V.type;return se===A?F(P,k,V.props.children,Y,V.key):k!==null&&(k.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===B&&Og(se)===k.type)?(k=d(k,V.props),Zs(k,V),k.return=P,k):(k=uo(V.type,V.key,V.props,null,P.mode,Y),Zs(k,V),k.return=P,k)}function z(P,k,V,Y){return k===null||k.tag!==4||k.stateNode.containerInfo!==V.containerInfo||k.stateNode.implementation!==V.implementation?(k=du(V,P.mode,Y),k.return=P,k):(k=d(k,V.children||[]),k.return=P,k)}function F(P,k,V,Y,se){return k===null||k.tag!==7?(k=qi(V,P.mode,Y,se),k.return=P,k):(k=d(k,V),k.return=P,k)}function K(P,k,V){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=uu(""+k,P.mode,V),k.return=P,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case b:return V=uo(k.type,k.key,k.props,null,P.mode,V),Zs(V,k),V.return=P,V;case E:return k=du(k,P.mode,V),k.return=P,k;case B:var Y=k._init;return k=Y(k._payload),K(P,k,V)}if(ue(k)||ne(k))return k=qi(k,P.mode,V,null),k.return=P,k;if(typeof k.then=="function")return K(P,No(k),V);if(k.$$typeof===D)return K(P,po(P,k),V);Ro(P,k)}return null}function U(P,k,V,Y){var se=k!==null?k.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return se!==null?null:S(P,k,""+V,Y);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case b:return V.key===se?M(P,k,V,Y):null;case E:return V.key===se?z(P,k,V,Y):null;case B:return se=V._init,V=se(V._payload),U(P,k,V,Y)}if(ue(V)||ne(V))return se!==null?null:F(P,k,V,Y,null);if(typeof V.then=="function")return U(P,k,No(V),Y);if(V.$$typeof===D)return U(P,k,po(P,V),Y);Ro(P,V)}return null}function H(P,k,V,Y,se){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return P=P.get(V)||null,S(k,P,""+Y,se);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case b:return P=P.get(Y.key===null?V:Y.key)||null,M(k,P,Y,se);case E:return P=P.get(Y.key===null?V:Y.key)||null,z(k,P,Y,se);case B:var we=Y._init;return Y=we(Y._payload),H(P,k,V,Y,se)}if(ue(Y)||ne(Y))return P=P.get(V)||null,F(k,P,Y,se,null);if(typeof Y.then=="function")return H(P,k,V,No(Y),se);if(Y.$$typeof===D)return H(P,k,V,po(k,Y),se);Ro(k,Y)}return null}function ge(P,k,V,Y){for(var se=null,we=null,fe=k,pe=k=0,ct=null;fe!==null&&pe<V.length;pe++){fe.index>pe?(ct=fe,fe=null):ct=fe.sibling;var Ce=U(P,fe,V[pe],Y);if(Ce===null){fe===null&&(fe=ct);break}t&&fe&&Ce.alternate===null&&n(P,fe),k=h(Ce,k,pe),we===null?se=Ce:we.sibling=Ce,we=Ce,fe=ct}if(pe===V.length)return a(P,fe),Ne&&Gi(P,pe),se;if(fe===null){for(;pe<V.length;pe++)fe=K(P,V[pe],Y),fe!==null&&(k=h(fe,k,pe),we===null?se=fe:we.sibling=fe,we=fe);return Ne&&Gi(P,pe),se}for(fe=o(fe);pe<V.length;pe++)ct=H(fe,P,pe,V[pe],Y),ct!==null&&(t&&ct.alternate!==null&&fe.delete(ct.key===null?pe:ct.key),k=h(ct,k,pe),we===null?se=ct:we.sibling=ct,we=ct);return t&&fe.forEach(function(Si){return n(P,Si)}),Ne&&Gi(P,pe),se}function he(P,k,V,Y){if(V==null)throw Error(r(151));for(var se=null,we=null,fe=k,pe=k=0,ct=null,Ce=V.next();fe!==null&&!Ce.done;pe++,Ce=V.next()){fe.index>pe?(ct=fe,fe=null):ct=fe.sibling;var Si=U(P,fe,Ce.value,Y);if(Si===null){fe===null&&(fe=ct);break}t&&fe&&Si.alternate===null&&n(P,fe),k=h(Si,k,pe),we===null?se=Si:we.sibling=Si,we=Si,fe=ct}if(Ce.done)return a(P,fe),Ne&&Gi(P,pe),se;if(fe===null){for(;!Ce.done;pe++,Ce=V.next())Ce=K(P,Ce.value,Y),Ce!==null&&(k=h(Ce,k,pe),we===null?se=Ce:we.sibling=Ce,we=Ce);return Ne&&Gi(P,pe),se}for(fe=o(fe);!Ce.done;pe++,Ce=V.next())Ce=H(fe,P,pe,Ce.value,Y),Ce!==null&&(t&&Ce.alternate!==null&&fe.delete(Ce.key===null?pe:Ce.key),k=h(Ce,k,pe),we===null?se=Ce:we.sibling=Ce,we=Ce);return t&&fe.forEach(function(DA){return n(P,DA)}),Ne&&Gi(P,pe),se}function Pe(P,k,V,Y){if(typeof V=="object"&&V!==null&&V.type===A&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case b:e:{for(var se=V.key;k!==null;){if(k.key===se){if(se=V.type,se===A){if(k.tag===7){a(P,k.sibling),Y=d(k,V.props.children),Y.return=P,P=Y;break e}}else if(k.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===B&&Og(se)===k.type){a(P,k.sibling),Y=d(k,V.props),Zs(Y,V),Y.return=P,P=Y;break e}a(P,k);break}else n(P,k);k=k.sibling}V.type===A?(Y=qi(V.props.children,P.mode,Y,V.key),Y.return=P,P=Y):(Y=uo(V.type,V.key,V.props,null,P.mode,Y),Zs(Y,V),Y.return=P,P=Y)}return x(P);case E:e:{for(se=V.key;k!==null;){if(k.key===se)if(k.tag===4&&k.stateNode.containerInfo===V.containerInfo&&k.stateNode.implementation===V.implementation){a(P,k.sibling),Y=d(k,V.children||[]),Y.return=P,P=Y;break e}else{a(P,k);break}else n(P,k);k=k.sibling}Y=du(V,P.mode,Y),Y.return=P,P=Y}return x(P);case B:return se=V._init,V=se(V._payload),Pe(P,k,V,Y)}if(ue(V))return ge(P,k,V,Y);if(ne(V)){if(se=ne(V),typeof se!="function")throw Error(r(150));return V=se.call(V),he(P,k,V,Y)}if(typeof V.then=="function")return Pe(P,k,No(V),Y);if(V.$$typeof===D)return Pe(P,k,po(P,V),Y);Ro(P,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,k!==null&&k.tag===6?(a(P,k.sibling),Y=d(k,V),Y.return=P,P=Y):(a(P,k),Y=uu(V,P.mode,Y),Y.return=P,P=Y),x(P)):a(P,k)}return function(P,k,V,Y){try{Qs=0;var se=Pe(P,k,V,Y);return za=null,se}catch(fe){if(fe===Us||fe===yo)throw fe;var we=kt(29,fe,null,P.mode);return we.lanes=Y,we.return=P,we}}}var Ba=_g(!0),Pg=_g(!1),Kt=I(null),gn=null;function oi(t){var n=t.alternate;$(nt,nt.current&1),$(Kt,t),gn===null&&(n===null||_a.current!==null||n.memoizedState!==null)&&(gn=t)}function Lg(t){if(t.tag===22){if($(nt,nt.current),$(Kt,t),gn===null){var n=t.alternate;n!==null&&n.memoizedState!==null&&(gn=t)}}else li()}function li(){$(nt,nt.current),$(Kt,Kt.current)}function Bn(t){ee(Kt),gn===t&&(gn=null),ee(nt)}var nt=I(0);function Do(t){for(var n=t;n!==null;){if(n.tag===13){var a=n.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Od(a)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function Gu(t,n,a,o){n=t.memoizedState,a=a(o,n),a=a==null?n:y({},n,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Iu={enqueueSetState:function(t,n,a){t=t._reactInternals;var o=Lt(),d=ai(o);d.payload=n,a!=null&&(d.callback=a),n=si(t,d,o),n!==null&&(Vt(n,t,o),qs(n,t,o))},enqueueReplaceState:function(t,n,a){t=t._reactInternals;var o=Lt(),d=ai(o);d.tag=1,d.payload=n,a!=null&&(d.callback=a),n=si(t,d,o),n!==null&&(Vt(n,t,o),qs(n,t,o))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var a=Lt(),o=ai(a);o.tag=2,n!=null&&(o.callback=n),n=si(t,o,a),n!==null&&(Vt(n,t,a),qs(n,t,a))}};function Vg(t,n,a,o,d,h,x){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,h,x):n.prototype&&n.prototype.isPureReactComponent?!ks(a,o)||!ks(d,h):!0}function zg(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&&Iu.enqueueReplaceState(n,n.state,null)}function Wi(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=y({},a));for(var d in t)a[d]===void 0&&(a[d]=t[d])}return a}var Mo=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Bg(t){Mo(t)}function Ug(t){console.error(t)}function Hg(t){Mo(t)}function ko(t,n){try{var a=t.onUncaughtError;a(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function qg(t,n,a){try{var o=t.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function Yu(t,n,a){return a=ai(a),a.tag=3,a.payload={element:null},a.callback=function(){ko(t,n)},a}function Fg(t){return t=ai(t),t.tag=3,t}function Gg(t,n,a,o){var d=a.type.getDerivedStateFromError;if(typeof d=="function"){var h=o.value;t.payload=function(){return d(h)},t.callback=function(){qg(n,a,o)}}var x=a.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(t.callback=function(){qg(n,a,o),typeof d!="function"&&(mi===null?mi=new Set([this]):mi.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})})}function DT(t,n,a,o,d){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=a.alternate,n!==null&&Vs(n,a,d,!0),a=Kt.current,a!==null){switch(a.tag){case 13:return gn===null?gd():a.alternate===null&&Xe===0&&(Xe=3),a.flags&=-257,a.flags|=65536,a.lanes=d,o===wu?a.flags|=16384:(n=a.updateQueue,n===null?a.updateQueue=new Set([o]):n.add(o),vd(t,o,d)),!1;case 22:return a.flags|=65536,o===wu?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)),vd(t,o,d)),!1}throw Error(r(435,a.tag))}return vd(t,o,d),gd(),!1}if(Ne)return n=Kt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=d,o!==mu&&(t=Error(r(422),{cause:o}),Ls(Gt(t,a)))):(o!==mu&&(n=Error(r(423),{cause:o}),Ls(Gt(n,a))),t=t.current.alternate,t.flags|=65536,d&=-d,t.lanes|=d,o=Gt(o,a),d=Yu(t.stateNode,o,d),Tu(t,d),Xe!==4&&(Xe=2)),!1;var h=Error(r(520),{cause:o});if(h=Gt(h,a),ir===null?ir=[h]:ir.push(h),Xe!==4&&(Xe=2),n===null)return!0;o=Gt(o,a),a=n;do{switch(a.tag){case 3:return a.flags|=65536,t=d&-d,a.lanes|=t,t=Yu(a.stateNode,o,t),Tu(a,t),!1;case 1:if(n=a.type,h=a.stateNode,(a.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(mi===null||!mi.has(h))))return a.flags|=65536,d&=-d,a.lanes|=d,d=Fg(d),Gg(d,t,a,o),Tu(a,d),!1}a=a.return}while(a!==null);return!1}var Ig=Error(r(461)),ot=!1;function dt(t,n,a,o){n.child=t===null?Pg(n,null,a,o):Ba(n,t.child,a,o)}function Yg(t,n,a,o,d){a=a.render;var h=n.ref;if("ref"in o){var x={};for(var S in o)S!=="ref"&&(x[S]=o[S])}else x=o;return Ki(n),o=Ru(t,n,a,x,h,d),S=Du(),t!==null&&!ot?(Mu(t,n,d),Un(t,n,d)):(Ne&&S&&fu(n),n.flags|=1,dt(t,n,o,d),n.child)}function Xg(t,n,a,o,d){if(t===null){var h=a.type;return typeof h=="function"&&!cu(h)&&h.defaultProps===void 0&&a.compare===null?(n.tag=15,n.type=h,Kg(t,n,h,o,d)):(t=uo(a.type,null,o,n,n.mode,d),t.ref=n.ref,t.return=n,n.child=t)}if(h=t.child,!ed(t,d)){var x=h.memoizedProps;if(a=a.compare,a=a!==null?a:ks,a(x,o)&&t.ref===n.ref)return Un(t,n,d)}return n.flags|=1,t=On(h,o),t.ref=n.ref,t.return=n,n.child=t}function Kg(t,n,a,o,d){if(t!==null){var h=t.memoizedProps;if(ks(h,o)&&t.ref===n.ref)if(ot=!1,n.pendingProps=o=h,ed(t,d))(t.flags&131072)!==0&&(ot=!0);else return n.lanes=t.lanes,Un(t,n,d)}return Xu(t,n,a,o,d)}function Qg(t,n,a){var o=n.pendingProps,d=o.children,h=t!==null?t.memoizedState:null;if(o.mode==="hidden"){if((n.flags&128)!==0){if(o=h!==null?h.baseLanes|a:a,t!==null){for(d=n.child=t.child,h=0;d!==null;)h=h|d.lanes|d.childLanes,d=d.sibling;n.childLanes=h&~o}else n.childLanes=0,n.child=null;return Zg(t,n,o,a)}if((a&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&go(n,h!==null?h.cachePool:null),h!==null?Kp(n,h):ju(),Lg(n);else return n.lanes=n.childLanes=536870912,Zg(t,n,h!==null?h.baseLanes|a:a,a)}else h!==null?(go(n,h.cachePool),Kp(n,h),li(),n.memoizedState=null):(t!==null&&go(n,null),ju(),li());return dt(t,n,d,a),n.child}function Zg(t,n,a,o){var d=bu();return d=d===null?null:{parent:tt._currentValue,pool:d},n.memoizedState={baseLanes:a,cachePool:d},t!==null&&go(n,null),ju(),Lg(n),t!==null&&Vs(t,n,o,!0),null}function Oo(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 Xu(t,n,a,o,d){return Ki(n),a=Ru(t,n,a,o,void 0,d),o=Du(),t!==null&&!ot?(Mu(t,n,d),Un(t,n,d)):(Ne&&o&&fu(n),n.flags|=1,dt(t,n,a,d),n.child)}function Wg(t,n,a,o,d,h){return Ki(n),n.updateQueue=null,a=Zp(n,o,a,d),Qp(t),o=Du(),t!==null&&!ot?(Mu(t,n,h),Un(t,n,h)):(Ne&&o&&fu(n),n.flags|=1,dt(t,n,a,h),n.child)}function $g(t,n,a,o,d){if(Ki(n),n.stateNode===null){var h=Ra,x=a.contextType;typeof x=="object"&&x!==null&&(h=yt(x)),h=new a(o,h),n.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Iu,n.stateNode=h,h._reactInternals=n,h=n.stateNode,h.props=o,h.state=n.memoizedState,h.refs={},Su(n),x=a.contextType,h.context=typeof x=="object"&&x!==null?yt(x):Ra,h.state=n.memoizedState,x=a.getDerivedStateFromProps,typeof x=="function"&&(Gu(n,a,x,o),h.state=n.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(x=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),x!==h.state&&Iu.enqueueReplaceState(h,h.state,null),Gs(n,o,h,d),Fs(),h.state=n.memoizedState),typeof h.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(t===null){h=n.stateNode;var S=n.memoizedProps,M=Wi(a,S);h.props=M;var z=h.context,F=a.contextType;x=Ra,typeof F=="object"&&F!==null&&(x=yt(F));var K=a.getDerivedStateFromProps;F=typeof K=="function"||typeof h.getSnapshotBeforeUpdate=="function",S=n.pendingProps!==S,F||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S||z!==x)&&zg(n,h,o,x),ii=!1;var U=n.memoizedState;h.state=U,Gs(n,o,h,d),Fs(),z=n.memoizedState,S||U!==z||ii?(typeof K=="function"&&(Gu(n,a,K,o),z=n.memoizedState),(M=ii||Vg(n,a,M,o,U,z,x))?(F||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(n.flags|=4194308)):(typeof h.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=z),h.props=o,h.state=z,h.context=x,o=M):(typeof h.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{h=n.stateNode,Eu(t,n),x=n.memoizedProps,F=Wi(a,x),h.props=F,K=n.pendingProps,U=h.context,z=a.contextType,M=Ra,typeof z=="object"&&z!==null&&(M=yt(z)),S=a.getDerivedStateFromProps,(z=typeof S=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(x!==K||U!==M)&&zg(n,h,o,M),ii=!1,U=n.memoizedState,h.state=U,Gs(n,o,h,d),Fs();var H=n.memoizedState;x!==K||U!==H||ii||t!==null&&t.dependencies!==null&&mo(t.dependencies)?(typeof S=="function"&&(Gu(n,a,S,o),H=n.memoizedState),(F=ii||Vg(n,a,F,o,U,H,M)||t!==null&&t.dependencies!==null&&mo(t.dependencies))?(z||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(o,H,M),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(o,H,M)),typeof h.componentDidUpdate=="function"&&(n.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof h.componentDidUpdate!="function"||x===t.memoizedProps&&U===t.memoizedState||(n.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&U===t.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=H),h.props=o,h.state=H,h.context=M,o=F):(typeof h.componentDidUpdate!="function"||x===t.memoizedProps&&U===t.memoizedState||(n.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&U===t.memoizedState||(n.flags|=1024),o=!1)}return h=o,Oo(t,n),o=(n.flags&128)!==0,h||o?(h=n.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:h.render(),n.flags|=1,t!==null&&o?(n.child=Ba(n,t.child,null,d),n.child=Ba(n,null,a,d)):dt(t,n,a,d),n.memoizedState=h.state,t=n.child):t=Un(t,n,d),t}function Jg(t,n,a,o){return Ps(),n.flags|=256,dt(t,n,a,o),n.child}var Ku={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qu(t){return{baseLanes:t,cachePool:Up()}}function Zu(t,n,a){return t=t!==null?t.childLanes&~a:0,n&&(t|=Qt),t}function ey(t,n,a){var o=n.pendingProps,d=!1,h=(n.flags&128)!==0,x;if((x=h)||(x=t!==null&&t.memoizedState===null?!1:(nt.current&2)!==0),x&&(d=!0,n.flags&=-129),x=(n.flags&32)!==0,n.flags&=-33,t===null){if(Ne){if(d?oi(n):li(),Ne){var S=Ye,M;if(M=S){e:{for(M=S,S=pn;M.nodeType!==8;){if(!S){S=null;break e}if(M=an(M.nextSibling),M===null){S=null;break e}}S=M}S!==null?(n.memoizedState={dehydrated:S,treeContext:Fi!==null?{id:_n,overflow:Pn}:null,retryLane:536870912,hydrationErrors:null},M=kt(18,null,null,0),M.stateNode=S,M.return=n,n.child=M,bt=n,Ye=null,M=!0):M=!1}M||Yi(n)}if(S=n.memoizedState,S!==null&&(S=S.dehydrated,S!==null))return Od(S)?n.lanes=32:n.lanes=536870912,null;Bn(n)}return S=o.children,o=o.fallback,d?(li(),d=n.mode,S=_o({mode:"hidden",children:S},d),o=qi(o,d,a,null),S.return=n,o.return=n,S.sibling=o,n.child=S,d=n.child,d.memoizedState=Qu(a),d.childLanes=Zu(t,x,a),n.memoizedState=Ku,o):(oi(n),Wu(n,S))}if(M=t.memoizedState,M!==null&&(S=M.dehydrated,S!==null)){if(h)n.flags&256?(oi(n),n.flags&=-257,n=$u(t,n,a)):n.memoizedState!==null?(li(),n.child=t.child,n.flags|=128,n=null):(li(),d=o.fallback,S=n.mode,o=_o({mode:"visible",children:o.children},S),d=qi(d,S,a,null),d.flags|=2,o.return=n,d.return=n,o.sibling=d,n.child=o,Ba(n,t.child,null,a),o=n.child,o.memoizedState=Qu(a),o.childLanes=Zu(t,x,a),n.memoizedState=Ku,n=d);else if(oi(n),Od(S)){if(x=S.nextSibling&&S.nextSibling.dataset,x)var z=x.dgst;x=z,o=Error(r(419)),o.stack="",o.digest=x,Ls({value:o,source:null,stack:null}),n=$u(t,n,a)}else if(ot||Vs(t,n,a,!1),x=(a&t.childLanes)!==0,ot||x){if(x=ze,x!==null&&(o=a&-a,o=(o&42)!==0?1:_c(o),o=(o&(x.suspendedLanes|a))!==0?0:o,o!==0&&o!==M.retryLane))throw M.retryLane=o,Na(t,o),Vt(x,t,o),Ig;S.data==="$?"||gd(),n=$u(t,n,a)}else S.data==="$?"?(n.flags|=192,n.child=t.child,n=null):(t=M.treeContext,Ye=an(S.nextSibling),bt=n,Ne=!0,Ii=null,pn=!1,t!==null&&(Yt[Xt++]=_n,Yt[Xt++]=Pn,Yt[Xt++]=Fi,_n=t.id,Pn=t.overflow,Fi=n),n=Wu(n,o.children),n.flags|=4096);return n}return d?(li(),d=o.fallback,S=n.mode,M=t.child,z=M.sibling,o=On(M,{mode:"hidden",children:o.children}),o.subtreeFlags=M.subtreeFlags&65011712,z!==null?d=On(z,d):(d=qi(d,S,a,null),d.flags|=2),d.return=n,o.return=n,o.sibling=d,n.child=o,o=d,d=n.child,S=t.child.memoizedState,S===null?S=Qu(a):(M=S.cachePool,M!==null?(z=tt._currentValue,M=M.parent!==z?{parent:z,pool:z}:M):M=Up(),S={baseLanes:S.baseLanes|a,cachePool:M}),d.memoizedState=S,d.childLanes=Zu(t,x,a),n.memoizedState=Ku,o):(oi(n),a=t.child,t=a.sibling,a=On(a,{mode:"visible",children:o.children}),a.return=n,a.sibling=null,t!==null&&(x=n.deletions,x===null?(n.deletions=[t],n.flags|=16):x.push(t)),n.child=a,n.memoizedState=null,a)}function Wu(t,n){return n=_o({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function _o(t,n){return t=kt(22,t,null,n),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function $u(t,n,a){return Ba(n,t.child,null,a),t=Wu(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function ty(t,n,a){t.lanes|=n;var o=t.alternate;o!==null&&(o.lanes|=n),gu(t.return,n,a)}function Ju(t,n,a,o,d){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:d}:(h.isBackwards=n,h.rendering=null,h.renderingStartTime=0,h.last=o,h.tail=a,h.tailMode=d)}function ny(t,n,a){var o=n.pendingProps,d=o.revealOrder,h=o.tail;if(dt(t,n,o.children,a),o=nt.current,(o&2)!==0)o=o&1|2,n.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&ty(t,a,n);else if(t.tag===19)ty(t,a,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}o&=1}switch($(nt,o),d){case"forwards":for(a=n.child,d=null;a!==null;)t=a.alternate,t!==null&&Do(t)===null&&(d=a),a=a.sibling;a=d,a===null?(d=n.child,n.child=null):(d=a.sibling,a.sibling=null),Ju(n,!1,d,a,h);break;case"backwards":for(a=null,d=n.child,n.child=null;d!==null;){if(t=d.alternate,t!==null&&Do(t)===null){n.child=d;break}t=d.sibling,d.sibling=a,a=d,d=t}Ju(n,!0,a,null,h);break;case"together":Ju(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Un(t,n,a){if(t!==null&&(n.dependencies=t.dependencies),hi|=n.lanes,(a&n.childLanes)===0)if(t!==null){if(Vs(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=On(t,t.pendingProps),n.child=a,a.return=n;t.sibling!==null;)t=t.sibling,a=a.sibling=On(t,t.pendingProps),a.return=n;a.sibling=null}return n.child}function ed(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&mo(t)))}function MT(t,n,a){switch(n.tag){case 3:Re(n,n.stateNode.containerInfo),ni(n,tt,t.memoizedState.cache),Ps();break;case 27:case 5:Wn(n);break;case 4:Re(n,n.stateNode.containerInfo);break;case 10:ni(n,n.type,n.memoizedProps.value);break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(oi(n),n.flags|=128,null):(a&n.child.childLanes)!==0?ey(t,
vendor: 4,192 bytes, line 8
8n,a):(oi(n),t=Un(t,n,a),t!==null?t.sibling:null);oi(n);break;case 19:var d=(t.flags&128)!==0;if(o=(a&n.childLanes)!==0,o||(Vs(t,n,a,!1),o=(a&n.childLanes)!==0),d){if(o)return ny(t,n,a);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),$(nt,nt.current),o)break;return null;case 22:case 23:return n.lanes=0,Qg(t,n,a);case 24:ni(n,tt,t.memoizedState.cache)}return Un(t,n,a)}function iy(t,n,a){if(t!==null)if(t.memoizedProps!==n.pendingProps)ot=!0;else{if(!ed(t,a)&&(n.flags&128)===0)return ot=!1,MT(t,n,a);ot=(t.flags&131072)!==0}else ot=!1,Ne&&(n.flags&1048576)!==0&&Op(n,ho,n.index);switch(n.lanes=0,n.tag){case 16:e:{t=n.pendingProps;var o=n.elementType,d=o._init;if(o=d(o._payload),n.type=o,typeof o=="function")cu(o)?(t=Wi(o,t),n.tag=1,n=$g(null,n,o,t,a)):(n.tag=0,n=Xu(null,n,o,t,a));else{if(o!=null){if(d=o.$$typeof,d===O){n.tag=11,n=Yg(null,n,o,t,a);break e}else if(d===X){n.tag=14,n=Xg(null,n,o,t,a);break e}}throw n=J(o)||o,Error(r(306,n,""))}}return n;case 0:return Xu(t,n,n.type,n.pendingProps,a);case 1:return o=n.type,d=Wi(o,n.pendingProps),$g(t,n,o,d,a);case 3:e:{if(Re(n,n.stateNode.containerInfo),t===null)throw Error(r(387));o=n.pendingProps;var h=n.memoizedState;d=h.element,Eu(t,n),Gs(n,o,null,a);var x=n.memoizedState;if(o=x.cache,ni(n,tt,o),o!==h.cache&&yu(n,[tt],a,!0),Fs(),o=x.element,h.isDehydrated)if(h={element:o,isDehydrated:!1,cache:x.cache},n.updateQueue.baseState=h,n.memoizedState=h,n.flags&256){n=Jg(t,n,o,a);break e}else if(o!==d){d=Gt(Error(r(424)),n),Ls(d),n=Jg(t,n,o,a);break e}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Ye=an(t.firstChild),bt=n,Ne=!0,Ii=null,pn=!0,a=Pg(n,null,o,a),n.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ps(),o===d){n=Un(t,n,a);break e}dt(t,n,o,a)}n=n.child}return n;case 26:return Oo(t,n),t===null?(a=ov(n.type,null,n.pendingProps,null))?n.memoizedState=a:Ne||(a=n.type,t=n.pendingProps,o=Ko(ce.current).createElement(a),o[gt]=n,o[Tt]=t,ht(o,a,t),rt(o),n.stateNode=o):n.memoizedState=ov(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Wn(n),t===null&&Ne&&(o=n.stateNode=av(n.type,n.pendingProps,ce.current),bt=n,pn=!0,d=Ye,yi(n.type)?(_d=d,Ye=an(o.firstChild)):Ye=d),dt(t,n,n.pendingProps.children,a),Oo(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Ne&&((d=o=Ye)&&(o=sA(o,n.type,n.pendingProps,pn),o!==null?(n.stateNode=o,bt=n,Ye=an(o.firstChild),pn=!1,d=!0):d=!1),d||Yi(n)),Wn(n),d=n.type,h=n.pendingProps,x=t!==null?t.memoizedProps:null,o=h.children,Dd(d,h)?o=null:x!==null&&Dd(d,x)&&(n.flags|=32),n.memoizedState!==null&&(d=Ru(t,n,ET,null,null,a),fr._currentValue=d),Oo(t,n),dt(t,n,o,a),n.child;case 6:return t===null&&Ne&&((t=a=Ye)&&(a=rA(a,n.pendingProps,pn),a!==null?(n.stateNode=a,bt=n,Ye=null,t=!0):t=!1),t||Yi(n)),null;case 13:return ey(t,n,a);case 4:return Re(n,n.stateNode.containerInfo),o=n.pendingProps,t===null?n.child=Ba(n,null,o,a):dt(t,n,o,a),n.child;case 11:return Yg(t,n,n.type,n.pendingProps,a);case 7:return dt(t,n,n.pendingProps,a),n.child;case 8:return dt(t,n,n.pendingProps.children,a),n.child;case 12:return dt(t,n,n.pendingProps.children,a),n.child;case 10:return o=n.pendingProps,ni(n,n.type,o.value),dt(t,n,o.children,a),n.child;case 9:return d=n.type._context,o=n.pendingProps.children,Ki(n),d=yt(d),o=o(d),n.flags|=1,dt(t,n,o,a),n.child;case 14:return Xg(t,n,n.type,n.pendingProps,a);case 15:return Kg(t,n,n.type,n.pendingProps,a);case 19:return ny(t,n,a);case 31:return o=n.pendingProps,a=n.mode,o={mode:o.mode,children:o.children},t===null?(a=_o(o,a),a.ref=n.ref,n.child=a,a.return=n,n=a):(a=On(t.child,o),a.ref=n.ref,n.child=a,a.return=n,n=a),n;case 22:return Qg(t,n,a);case 24:return Ki(n),o=yt(tt),t===null?(d=bu(),d===null&&(d=ze,h=vu(),d.pooledCache=h,h.refCount++,h!==null&&(d.pooledCacheLanes|=a),d=h),n.memoizedState={parent:o,cache:d},Su(n),ni(n,tt,d)):((t.lanes&a)!==0&&(Eu(t,n),Gs(n,null,null,a),Fs()),d=t.memoizedState,h=n.memoizedState,d.parent!==o?(d={parent:o,cache:o},n.memoizedState=d,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=d),ni(n,tt,o)):(o=h.cache,ni(n,tt,o),o!==d.cache&&yu(n,[tt],a,!0))),dt(t,n,n.pe
vendor: 50,160 bytes, lines 8-9
8ndingProps.children,a),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function Hn(t){t.flags|=4}function ay(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!fv(n)){if(n=Kt.current,n!==null&&((je&4194048)===je?gn!==null:(je&62914560)!==je&&(je&536870912)===0||n!==gn))throw Hs=wu,Hp;t.flags|=8192}}function Po(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Lm():536870912,t.lanes|=n,Fa|=n)}function Ws(t,n){if(!Ne)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 Fe(t){var n=t.alternate!==null&&t.alternate.child===t.child,a=0,o=0;if(n)for(var d=t.child;d!==null;)a|=d.lanes|d.childLanes,o|=d.subtreeFlags&65011712,o|=d.flags&65011712,d.return=t,d=d.sibling;else for(d=t.child;d!==null;)a|=d.lanes|d.childLanes,o|=d.subtreeFlags,o|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=o,t.childLanes=a,n}function kT(t,n,a){var o=n.pendingProps;switch(hu(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(n),null;case 1:return Fe(n),null;case 3:return a=n.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Vn(tt),De(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(_s(n)?Hn(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Lp())),Fe(n),null;case 26:return a=n.memoizedState,t===null?(Hn(n),a!==null?(Fe(n),ay(n,a)):(Fe(n),n.flags&=-16777217)):a?a!==t.memoizedState?(Hn(n),Fe(n),ay(n,a)):(Fe(n),n.flags&=-16777217):(t.memoizedProps!==o&&Hn(n),Fe(n),n.flags&=-16777217),null;case 27:en(n),a=ce.current;var d=n.type;if(t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Hn(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Fe(n),null}t=de.current,_s(n)?_p(n):(t=av(d,o,a),n.stateNode=t,Hn(n))}return Fe(n),null;case 5:if(en(n),a=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==o&&Hn(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Fe(n),null}if(t=de.current,_s(n))_p(n);else{switch(d=Ko(ce.current),t){case 1:t=d.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:t=d.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":t=d.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":t=d.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":t=d.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof o.is=="string"?d.createElement("select",{is:o.is}):d.createElement("select"),o.multiple?t.multiple=!0:o.size&&(t.size=o.size);break;default:t=typeof o.is=="string"?d.createElement(a,{is:o.is}):d.createElement(a)}}t[gt]=n,t[Tt]=o;e:for(d=n.child;d!==null;){if(d.tag===5||d.tag===6)t.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===n)break e;for(;d.sibling===null;){if(d.return===null||d.return===n)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}n.stateNode=t;e:switch(ht(t,a,o),a){case"button":case"input":case"select":case"textarea":t=!!o.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&Hn(n)}}return Fe(n),n.flags&=-16777217,null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==o&&Hn(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(r(166));if(t=ce.current,_s(n)){if(t=n.stateNode,a=n.memoizedProps,o=null,d=bt,d!==null)switch(d.tag){case 27:case 5:o=d.memoizedProps}t[gt]=n,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||Wy(t.nodeValue,a)),t||Yi(n)}else t=Ko(t).createTextNode(o),t[gt]=n,n.stateNode=t}return Fe(n),null;case 13:if(o=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(d=_s(n),o!==null&&o.dehydrated!==null){if(t===null){if(!d)throw Error(r(318));if(d=n.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(r(317));d[gt]=n}else Ps(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Fe(n),d=!1}else d=Lp(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=d),d=!0;if(!d)return n.flags&256?(Bn(n),n):(Bn(n),null)}if(Bn(n),(n.flags&128)!==0)return n.lanes=a,n;if(a=o!==null,t=t!==null&&t.memoizedState!==null,a){o=n.child,d=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(d=o.alternate.memoizedState.cachePool.pool);var h=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==d&&(o.flags|=2048)}return a!==t&&a&&(n.child.flags|=8192),Po(n,n.updateQueue),Fe(n),null;case 4:return De(),t===null&&Ad(n.stateNode.containerInfo),Fe(n),null;case 10:return Vn(n.type),Fe(n),null;case 19:if(ee(nt),d=n.memoizedState,d===null)return Fe(n),null;if(o=(n.flags&128)!==0,h=d.rendering,h===null)if(o)Ws(d,!1);else{if(Xe!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(h=Do(t),h!==null){for(n.flags|=128,Ws(d,!1),t=h.updateQueue,n.updateQueue=t,Po(n,t),n.subtreeFlags=0,t=a,a=n.child;a!==null;)kp(a,t),a=a.sibling;return $(nt,nt.current&1|2),n.child}t=t.sibling}d.tail!==null&&mn()>zo&&(n.flags|=128,o=!0,Ws(d,!1),n.lanes=4194304)}else{if(!o)if(t=Do(h),t!==null){if(n.flags|=128,o=!0,t=t.updateQueue,n.updateQueue=t,Po(n,t),Ws(d,!0),d.tail===null&&d.tailMode==="hidden"&&!h.alternate&&!Ne)return Fe(n),null}else 2*mn()-d.renderingStartTime>zo&&a!==536870912&&(n.flags|=128,o=!0,Ws(d,!1),n.lanes=4194304);d.isBackwards?(h.sibling=n.child,n.child=h):(t=d.last,t!==null?t.sibling=h:n.child=h,d.last=h)}return d.tail!==null?(n=d.tail,d.rendering=n,d.tail=n.sibling,d.renderingStartTime=mn(),n.sibling=null,t=nt.current,$(nt,o?t&1|2:t&1),n):(Fe(n),null);case 22:case 23:return Bn(n),Cu(),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&&(Fe(n),n.subtreeFlags&6&&(n.flags|=8192)):Fe(n),a=n.updateQueue,a!==null&&Po(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&&ee(Qi),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),n.memoizedState.cache!==a&&(n.flags|=2048),Vn(tt),Fe(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}function OT(t,n){switch(hu(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return Vn(tt),De(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return en(n),null;case 13:if(Bn(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(r(340));Ps()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return ee(nt),null;case 4:return De(),null;case 10:return Vn(n.type),null;case 22:case 23:return Bn(n),Cu(),t!==null&&ee(Qi),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return Vn(tt),null;case 25:return null;default:return null}}function sy(t,n){switch(hu(n),n.tag){case 3:Vn(tt),De();break;case 26:case 27:case 5:en(n);break;case 4:De();break;case 13:Bn(n);break;case 19:ee(nt);break;case 10:Vn(n.type);break;case 22:case 23:Bn(n),Cu(),t!==null&&ee(Qi);break;case 24:Vn(tt)}}function $s(t,n){try{var a=n.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var d=o.next;a=d;do{if((a.tag&t)===t){o=void 0;var h=a.create,x=a.inst;o=h(),x.destroy=o}a=a.next}while(a!==d)}}catch(S){Le(n,n.return,S)}}function ci(t,n,a){try{var o=n.updateQueue,d=o!==null?o.lastEffect:null;if(d!==null){var h=d.next;o=h;do{if((o.tag&t)===t){var x=o.inst,S=x.destroy;if(S!==void 0){x.destroy=void 0,d=n;var M=a,z=S;try{z()}catch(F){Le(d,M,F)}}}o=o.next}while(o!==h)}}catch(F){Le(n,n.return,F)}}function ry(t){var n=t.updateQueue;if(n!==null){var a=t.stateNode;try{Xp(n,a)}catch(o){Le(t,t.return,o)}}}function oy(t,n,a){a.props=Wi(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(o){Le(t,n,o)}}function Js(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(d){Le(t,n,d)}}function yn(t,n){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(d){Le(t,n,d)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(d){Le(t,n,d)}else a.current=null}function ly(t){var n=t.type,a=t.memoizedProps,o=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break e;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(d){Le(t,t.return,d)}}function td(t,n,a){try{var o=t.stateNode;eA(o,t.type,a,n),o[Tt]=n}catch(d){Le(t,t.return,d)}}function cy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&yi(t.type)||t.tag===4}function nd(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||cy(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&&yi(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function id(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=Xo));else if(o!==4&&(o===27&&yi(t.type)&&(a=t.stateNode,n=null),t=t.child,t!==null))for(id(t,n,a),t=t.sibling;t!==null;)id(t,n,a),t=t.sibling}function Lo(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&&yi(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Lo(t,n,a),t=t.sibling;t!==null;)Lo(t,n,a),t=t.sibling}function uy(t){var n=t.stateNode,a=t.memoizedProps;try{for(var o=t.type,d=n.attributes;d.length;)n.removeAttributeNode(d[0]);ht(n,o,a),n[gt]=t,n[Tt]=a}catch(h){Le(t,t.return,h)}}var qn=!1,Ze=!1,ad=!1,dy=typeof WeakSet=="function"?WeakSet:Set,lt=null;function _T(t,n){if(t=t.containerInfo,Nd=el,t=Sp(t),nu(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else e:{a=(a=t.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var d=o.anchorOffset,h=o.focusNode;o=o.focusOffset;try{a.nodeType,h.nodeType}catch{a=null;break e}var x=0,S=-1,M=-1,z=0,F=0,K=t,U=null;t:for(;;){for(var H;K!==a||d!==0&&K.nodeType!==3||(S=x+d),K!==h||o!==0&&K.nodeType!==3||(M=x+o),K.nodeType===3&&(x+=K.nodeValue.length),(H=K.firstChild)!==null;)U=K,K=H;for(;;){if(K===t)break t;if(U===a&&++z===d&&(S=x),U===h&&++F===o&&(M=x),(H=K.nextSibling)!==null)break;K=U,U=K.parentNode}K=H}a=S===-1||M===-1?null:{start:S,end:M}}else a=null}a=a||{start:0,end:0}}else a=null;for(Rd={focusedElem:t,selectionRange:a},el=!1,lt=n;lt!==null;)if(n=lt,t=n.child,(n.subtreeFlags&1024)!==0&&t!==null)t.return=n,lt=t;else for(;lt!==null;){switch(n=lt,h=n.alternate,t=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,a=n,d=h.memoizedProps,h=h.memoizedState,o=a.stateNode;try{var ge=Wi(a.type,d,a.elementType===a.type);t=o.getSnapshotBeforeUpdate(ge,h),o.__reactInternalSnapshotBeforeUpdate=t}catch(he){Le(a,a.return,he)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,a=t.nodeType,a===9)kd(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":kd(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,lt=t;break}lt=n.return}}function fy(t,n,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:ui(t,a),o&4&&$s(5,a);break;case 1:if(ui(t,a),o&4)if(t=a.stateNode,n===null)try{t.componentDidMount()}catch(x){Le(a,a.return,x)}else{var d=Wi(a.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(d,n,t.__reactInternalSnapshotBeforeUpdate)}catch(x){Le(a,a.return,x)}}o&64&&ry(a),o&512&&Js(a,a.return);break;case 3:if(ui(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{Xp(t,n)}catch(x){Le(a,a.return,x)}}break;case 27:n===null&&o&4&&uy(a);case 26:case 5:ui(t,a),n===null&&o&4&&ly(a),o&512&&Js(a,a.return);break;case 12:ui(t,a);break;case 13:ui(t,a),o&4&&py(t,a),o&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=FT.bind(null,a),oA(t,a))));break;case 22:if(o=a.memoizedState!==null||qn,!o){n=n!==null&&n.memoizedState!==null||Ze,d=qn;var h=Ze;qn=o,(Ze=n)&&!h?di(t,a,(a.subtreeFlags&8772)!==0):ui(t,a),qn=d,Ze=h}break;case 30:break;default:ui(t,a)}}function hy(t){var n=t.alternate;n!==null&&(t.alternate=null,hy(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&Vc(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 qe=null,Ct=!1;function Fn(t,n,a){for(a=a.child;a!==null;)my(t,n,a),a=a.sibling}function my(t,n,a){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(bs,a)}catch{}switch(a.tag){case 26:Ze||yn(a,n),Fn(t,n,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ze||yn(a,n);var o=qe,d=Ct;yi(a.type)&&(qe=a.stateNode,Ct=!1),Fn(t,n,a),lr(a.stateNode),qe=o,Ct=d;break;case 5:Ze||yn(a,n);case 6:if(o=qe,d=Ct,qe=null,Fn(t,n,a),qe=o,Ct=d,qe!==null)if(Ct)try{(qe.nodeType===9?qe.body:qe.nodeName==="HTML"?qe.ownerDocument.body:qe).removeChild(a.stateNode)}catch(h){Le(a,n,h)}else try{qe.removeChild(a.stateNode)}catch(h){Le(a,n,h)}break;case 18:qe!==null&&(Ct?(t=qe,nv(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),gr(t)):nv(qe,a.stateNode));break;case 4:o=qe,d=Ct,qe=a.stateNode.containerInfo,Ct=!0,Fn(t,n,a),qe=o,Ct=d;break;case 0:case 11:case 14:case 15:Ze||ci(2,a,n),Ze||ci(4,a,n),Fn(t,n,a);break;case 1:Ze||(yn(a,n),o=a.stateNode,typeof o.componentWillUnmount=="function"&&oy(a,n,o)),Fn(t,n,a);break;case 21:Fn(t,n,a);break;case 22:Ze=(o=Ze)||a.memoizedState!==null,Fn(t,n,a),Ze=o;break;default:Fn(t,n,a)}}function py(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{gr(t)}catch(a){Le(n,n.return,a)}}function PT(t){switch(t.tag){case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new dy),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new dy),n;default:throw Error(r(435,t.tag))}}function sd(t,n){var a=PT(t);n.forEach(function(o){var d=GT.bind(null,t,o);a.has(o)||(a.add(o),o.then(d,d))})}function Ot(t,n){var a=n.deletions;if(a!==null)for(var o=0;o<a.length;o++){var d=a[o],h=t,x=n,S=x;e:for(;S!==null;){switch(S.tag){case 27:if(yi(S.type)){qe=S.stateNode,Ct=!1;break e}break;case 5:qe=S.stateNode,Ct=!1;break e;case 3:case 4:qe=S.stateNode.containerInfo,Ct=!0;break e}S=S.return}if(qe===null)throw Error(r(160));my(h,x,d),qe=null,Ct=!1,h=d.alternate,h!==null&&(h.return=null),d.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)gy(n,t),n=n.sibling}var nn=null;function gy(t,n){var a=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ot(n,t),_t(t),o&4&&(ci(3,t,t.return),$s(3,t),ci(5,t,t.return));break;case 1:Ot(n,t),_t(t),o&512&&(Ze||a===null||yn(a,a.return)),o&64&&qn&&(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 d=nn;if(Ot(n,t),_t(t),o&512&&(Ze||a===null||yn(a,a.return)),o&4){var h=a!==null?a.memoizedState:null;if(o=t.memoizedState,a===null)if(o===null)if(t.stateNode===null){e:{o=t.type,a=t.memoizedProps,d=d.ownerDocument||d;t:switch(o){case"title":h=d.getElementsByTagName("title")[0],(!h||h[Es]||h[gt]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=d.createElement(o),d.head.insertBefore(h,d.querySelector("head > title"))),ht(h,o,a),h[gt]=t,rt(h),o=h;break e;case"link":var x=uv("link","href",d).get(o+(a.href||""));if(x){for(var S=0;S<x.length;S++)if(h=x[S],h.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&h.getAttribute("rel")===(a.rel==null?null:a.rel)&&h.getAttribute("title")===(a.title==null?null:a.title)&&h.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){x.splice(S,1);break t}}h=d.createElement(o),ht(h,o,a),d.head.appendChild(h);break;case"meta":if(x=uv("meta","content",d).get(o+(a.content||""))){for(S=0;S<x.length;S++)if(h=x[S],h.getAttribute("content")===(a.content==null?null:""+a.content)&&h.getAttribute("name")===(a.name==null?null:a.name)&&h.getAttribute("property")===(a.property==null?null:a.property)&&h.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&h.getAttribute("charset")===(a.charSet==null?null:a.charSet)){x.splice(S,1);break t}}h=d.createElement(o),ht(h,o,a),d.head.appendChild(h);break;default:throw Error(r(468,o))}h[gt]=t,rt(h),o=h}t.stateNode=o}else dv(d,t.type,t.stateNode);else t.stateNode=cv(d,o,t.memoizedProps);else h!==o?(h===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):h.count--,o===null?dv(d,t.type,t.stateNode):cv(d,o,t.memoizedProps)):o===null&&t.stateNode!==null&&td(t,t.memoizedProps,a.memoizedProps)}break;case 27:Ot(n,t),_t(t),o&512&&(Ze||a===null||yn(a,a.return)),a!==null&&o&4&&td(t,t.memoizedProps,a.memoizedProps);break;case 5:if(Ot(n,t),_t(t),o&512&&(Ze||a===null||yn(a,a.return)),t.flags&32){d=t.stateNode;try{wa(d,"")}catch(H){Le(t,t.return,H)}}o&4&&t.stateNode!=null&&(d=t.memoizedProps,td(t,d,a!==null?a.memoizedProps:d)),o&1024&&(ad=!0);break;case 6:if(Ot(n,t),_t(t),o&4){if(t.stateNode===null)throw Error(r(162));o=t.memoizedProps,a=t.stateNode;try{a.nodeValue=o}catch(H){Le(t,t.return,H)}}break;case 3:if(Wo=null,d=nn,nn=Qo(n.containerInfo),Ot(n,t),nn=d,_t(t),o&4&&a!==null&&a.memoizedState.isDehydrated)try{gr(n.containerInfo)}catch(H){Le(t,t.return,H)}ad&&(ad=!1,yy(t));break;case 4:o=nn,nn=Qo(t.stateNode.containerInfo),Ot(n,t),_t(t),nn=o;break;case 12:Ot(n,t),_t(t);break;case 13:Ot(n,t),_t(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(dd=mn()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,sd(t,o)));break;case 22:d=t.memoizedState!==null;var M=a!==null&&a.memoizedState!==null,z=qn,F=Ze;if(qn=z||d,Ze=F||M,Ot(n,t),Ze=F,qn=z,_t(t),o&8192)e:for(n=t.stateNode,n._visibility=d?n._visibility&-2:n._visibility|1,d&&(a===null||M||qn||Ze||$i(t)),a=null,n=t;;){if(n.tag===5||n.tag===26){if(a===null){M=a=n;try{if(h=M.stateNode,d)x=h.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{S=M.stateNode;var K=M.memoizedProps.style,U=K!=null&&K.hasOwnProperty("display")?K.display:null;S.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(H){Le(M,M.return,H)}}}else if(n.tag===6){if(a===null){M=n;try{M.stateNode.nodeValue=d?"":M.memoizedProps}catch(H){Le(M,M.return,H)}}}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 e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;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,sd(t,a))));break;case 19:Ot(n,t),_t(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,sd(t,o)));break;case 30:break;case 21:break;default:Ot(n,t),_t(t)}}function _t(t){var n=t.flags;if(n&2){try{for(var a,o=t.return;o!==null;){if(cy(o)){a=o;break}o=o.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var d=a.stateNode,h=nd(t);Lo(t,h,d);break;case 5:var x=a.stateNode;a.flags&32&&(wa(x,""),a.flags&=-33);var S=nd(t);Lo(t,S,x);break;case 3:case 4:var M=a.stateNode.containerInfo,z=nd(t);id(t,z,M);break;default:throw Error(r(161))}}catch(F){Le(t,t.return,F)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function yy(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;yy(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function ui(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)fy(t,n.alternate,n),n=n.sibling}function $i(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:ci(4,n,n.return),$i(n);break;case 1:yn(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount=="function"&&oy(n,n.return,a),$i(n);break;case 27:lr(n.stateNode);case 26:case 5:yn(n,n.return),$i(n);break;case 22:n.memoizedState===null&&$i(n);break;case 30:$i(n);break;default:$i(n)}t=t.sibling}}function di(t,n,a){for(a=a&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,d=t,h=n,x=h.flags;switch(h.tag){case 0:case 11:case 15:di(d,h,a),$s(4,h);break;case 1:if(di(d,h,a),o=h,d=o.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(z){Le(o,o.return,z)}if(o=h,d=o.updateQueue,d!==null){var S=o.stateNode;try{var M=d.shared.hiddenCallbacks;if(M!==null)for(d.shared.hiddenCallbacks=null,d=0;d<M.length;d++)Yp(M[d],S)}catch(z){Le(o,o.return,z)}}a&&x&64&&ry(h),Js(h,h.return);break;case 27:uy(h);case 26:case 5:di(d,h,a),a&&o===null&&x&4&&ly(h),Js(h,h.return);break;case 12:di(d,h,a);break;case 13:di(d,h,a),a&&x&4&&py(d,h);break;case 22:h.memoizedState===null&&di(d,h,a),Js(h,h.return);break;case 30:break;default:di(d,h,a)}n=n.sibling}}function rd(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&&zs(a))}function od(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&zs(t))}function vn(t,n,a,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)vy(t,n,a,o),n=n.sibling}function vy(t,n,a,o){var d=n.flags;switch(n.tag){case 0:case 11:case 15:vn(t,n,a,o),d&2048&&$s(9,n);break;case 1:vn(t,n,a,o);break;case 3:vn(t,n,a,o),d&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&zs(t)));break;case 12:if(d&2048){vn(t,n,a,o),t=n.stateNode;try{var h=n.memoizedProps,x=h.id,S=h.onPostCommit;typeof S=="function"&&S(x,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(M){Le(n,n.return,M)}}else vn(t,n,a,o);break;case 13:vn(t,n,a,o);break;case 23:break;case 22:h=n.stateNode,x=n.alternate,n.memoizedState!==null?h._visibility&2?vn(t,n,a,o):er(t,n):h._visibility&2?vn(t,n,a,o):(h._visibility|=2,Ua(t,n,a,o,(n.subtreeFlags&10256)!==0)),d&2048&&rd(x,n);break;case 24:vn(t,n,a,o),d&2048&&od(n.alternate,n);break;default:vn(t,n,a,o)}}function Ua(t,n,a,o,d){for(d=d&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var h=t,x=n,S=a,M=o,z=x.flags;switch(x.tag){case 0:case 11:case 15:Ua(h,x,S,M,d),$s(8,x);break;case 23:break;case 22:var F=x.stateNode;x.memoizedState!==null?F._visibility&2?Ua(h,x,S,M,d):er(h,x):(F._visibility|=2,Ua(h,x,S,M,d)),d&&z&2048&&rd(x.alternate,x);break;case 24:Ua(h,x,S,M,d),d&&z&2048&&od(x.alternate,x);break;default:Ua(h,x,S,M,d)}n=n.sibling}}function er(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var a=t,o=n,d=o.flags;switch(o.tag){case 22:er(a,o),d&2048&&rd(o.alternate,o);break;case 24:er(a,o),d&2048&&od(o.alternate,o);break;default:er(a,o)}n=n.sibling}}var tr=8192;function Ha(t){if(t.subtreeFlags&tr)for(t=t.child;t!==null;)xy(t),t=t.sibling}function xy(t){switch(t.tag){case 26:Ha(t),t.flags&tr&&t.memoizedState!==null&&bA(nn,t.memoizedState,t.memoizedProps);break;case 5:Ha(t);break;case 3:case 4:var n=nn;nn=Qo(t.stateNode.containerInfo),Ha(t),nn=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=tr,tr=16777216,Ha(t),tr=n):Ha(t));break;default:Ha(t)}}function by(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 nr(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];lt=o,Sy(o,t)}by(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)wy(t),t=t.sibling}function wy(t){switch(t.tag){case 0:case 11:case 15:nr(t),t.flags&2048&&ci(9,t,t.return);break;case 3:nr(t);break;case 12:nr(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,Vo(t)):nr(t);break;default:nr(t)}}function Vo(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];lt=o,Sy(o,t)}by(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:ci(8,n,n.return),Vo(n);break;case 22:a=n.stateNode,a._visibility&2&&(a._visibility&=-3,Vo(n));break;default:Vo(n)}t=t.sibling}}function Sy(t,n){for(;lt!==null;){var a=lt;switch(a.tag){case 0:case 11:case 15:ci(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:zs(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,lt=o;else e:for(a=t;lt!==null;){o=lt;var d=o.sibling,h=o.return;if(hy(o),o===a){lt=null;break e}if(d!==null){d.return=h,lt=d;break e}lt=h}}}var LT={getCacheForType:function(t){var n=yt(tt),a=n.data.get(t);return a===void 0&&(a=t(),n.data.set(t,a)),a}},VT=typeof WeakMap=="function"?WeakMap:Map,Me=0,ze=null,Se=null,je=0,ke=0,Pt=null,fi=!1,qa=!1,ld=!1,Gn=0,Xe=0,hi=0,Ji=0,cd=0,Qt=0,Fa=0,ir=null,Nt=null,ud=!1,dd=0,zo=1/0,Bo=null,mi=null,ft=0,pi=null,Ga=null,Ia=0,fd=0,hd=null,Ey=null,ar=0,md=null;function Lt(){if((Me&2)!==0&&je!==0)return je&-je;if(L.T!==null){var t=ka;return t!==0?t:wd()}return Bm()}function Ty(){Qt===0&&(Qt=(je&536870912)===0||Ne?Pm():536870912);var t=Kt.current;return t!==null&&(t.flags|=32),Qt}function Vt(t,n,a){(t===ze&&(ke===2||ke===9)||t.cancelPendingCommit!==null)&&(Ya(t,0),gi(t,je,Qt,!1)),Ss(t,a),((Me&2)===0||t!==ze)&&(t===ze&&((Me&2)===0&&(Ji|=a),Xe===4&&gi(t,je,Qt,!1)),xn(t))}function Ay(t,n,a){if((Me&6)!==0)throw Error(r(327));var o=!a&&(n&124)===0&&(n&t.expiredLanes)===0||ws(t,n),d=o?UT(t,n):yd(t,n,!0),h=o;do{if(d===0){qa&&!o&&gi(t,n,0,!1);break}else{if(a=t.current.alternate,h&&!zT(a)){d=yd(t,n,!1),h=!1;continue}if(d===2){if(h=n,t.errorRecoveryDisabledLanes&h)var x=0;else x=t.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){n=x;e:{var S=t;d=ir;var M=S.current.memoizedState.isDehydrated;if(M&&(Ya(S,x).flags|=256),x=yd(S,x,!1),x!==2){if(ld&&!M){S.errorRecoveryDisabledLanes|=h,Ji|=h,d=4;break e}h=Nt,Nt=d,h!==null&&(Nt===null?Nt=h:Nt.push.apply(Nt,h))}d=x}if(h=!1,d!==2)continue}}if(d===1){Ya(t,0),gi(t,n,0,!0);break}e:{switch(o=t,h=d,h){case 0:case 1:throw Error(r(345));case 4:if((n&4194048)!==n)break;case 6:gi(o,n,Qt,!fi);break e;case 2:Nt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((n&62914560)===n&&(d=dd+300-mn(),10<d)){if(gi(o,n,Qt,!fi),Qr(o,0,!0)!==0)break e;o.timeoutHandle=ev(jy.bind(null,o,a,Nt,Bo,ud,n,Qt,Ji,Fa,fi,h,2,-0,0),d);break e}jy(o,a,Nt,Bo,ud,n,Qt,Ji,Fa,fi,h,0,-0,0)}}break}while(!0);xn(t)}function jy(t,n,a,o,d,h,x,S,M,z,F,K,U,H){if(t.timeoutHandle=-1,K=n.subtreeFlags,(K&8192||(K&16785408)===16785408)&&(dr={stylesheets:null,count:0,unsuspend:xA},xy(n),K=wA(),K!==null)){t.cancelPendingCommit=K(Oy.bind(null,t,n,h,a,o,d,x,S,M,F,1,U,H)),gi(t,h,x,!z);return}Oy(t,n,h,a,o,d,x,S,M)}function zT(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 d=a[o],h=d.getSnapshot;d=d.value;try{if(!Mt(h(),d))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 gi(t,n,a,o){n&=~cd,n&=~Ji,t.suspendedLanes|=n,t.pingedLanes&=~n,o&&(t.warmLanes|=n),o=t.expirationTimes;for(var d=n;0<d;){var h=31-Dt(d),x=1<<h;o[h]=-1,d&=~x}a!==0&&Vm(t,a,n)}function Uo(){return(Me&6)===0?(sr(0),!1):!0}function pd(){if(Se!==null){if(ke===0)var t=Se.return;else t=Se,Ln=Xi=null,ku(t),za=null,Qs=0,t=Se;for(;t!==null;)sy(t.alternate,t),t=t.return;Se=null}}function Ya(t,n){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,nA(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),pd(),ze=t,Se=a=On(t.current,null),je=n,ke=0,Pt=null,fi=!1,qa=ws(t,n),ld=!1,Fa=Qt=cd=Ji=hi=Xe=0,Nt=ir=null,ud=!1,(n&8)!==0&&(n|=n&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=n;0<o;){var d=31-Dt(o),h=1<<d;n|=t[d],o&=~h}return Gn=n,oo(),a}function Cy(t,n){xe=null,L.H=Co,n===Us||n===yo?(n=Gp(),ke=3):n===Hp?(n=Gp(),ke=4):ke=n===Ig?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Pt=n,Se===null&&(Xe=1,ko(t,Gt(n,t.current)))}function Ny(){var t=L.H;return L.H=Co,t===null?Co:t}function Ry(){var t=L.A;return L.A=LT,t}function gd(){Xe=4,fi||(je&4194048)!==je&&Kt.current!==null||(qa=!0),(hi&134217727)===0&&(Ji&134217727)===0||ze===null||gi(ze,je,Qt,!1)}function yd(t,n,a){var o=Me;Me|=2;var d=Ny(),h=Ry();(ze!==t||je!==n)&&(Bo=null,Ya(t,n)),n=!1;var x=Xe;e:do try{if(ke!==0&&Se!==null){var S=Se,M=Pt;switch(ke){case 8:pd(),x=6;break e;case 3:case 2:case 9:case 6:Kt.current===null&&(n=!0);var z=ke;if(ke=0,Pt=null,Xa(t,S,M,z),a&&qa){x=0;break e}break;default:z=ke,ke=0,Pt=null,Xa(t,S,M,z)}}BT(),x=Xe;break}catch(F){Cy(t,F)}while(!0);return n&&t.shellSuspendCounter++,Ln=Xi=null,Me=o,L.H=d,L.A=h,Se===null&&(ze=null,je=0,oo()),x}function BT(){for(;Se!==null;)Dy(Se)}function UT(t,n){var a=Me;Me|=2;var o=Ny(),d=Ry();ze!==t||je!==n?(Bo=null,zo=mn()+500,Ya(t,n)):qa=ws(t,n);e:do try{if(ke!==0&&Se!==null){n=Se;var h=Pt;t:switch(ke){case 1:ke=0,Pt=null,Xa(t,n,h,1);break;case 2:case 9:if(qp(h)){ke=0,Pt=null,My(n);break}n=function(){ke!==2&&ke!==9||ze!==t||(ke=7),xn(t)},h.then(n,n);break e;case 3:ke=7;break e;case 4:ke=5;break e;case 7:qp(h)?(ke=0,Pt=null,My(n)):(ke=0,Pt=null,Xa(t,n,h,7));break;case 5:var x=null;switch(Se.tag){case 26:x=Se.memoizedState;case 5:case 27:var S=Se;if(!x||fv(x)){ke=0,Pt=null;var M=S.sibling;if(M!==null)Se=M;else{var z=S.return;z!==null?(Se=z,Ho(z)):Se=null}break t}}ke=0,Pt=null,Xa(t,n,h,5);break;case 6:ke=0,Pt=null,Xa(t,n,h,6);break;case 8:pd(),Xe=6;break e;default:throw Error(r(462))}}HT();break}catch(F){Cy(t,F)}while(!0);return Ln=Xi=null,L.H=o,L.A=d,Me=a,Se!==null?0:(ze=null,je=0,oo(),Xe)}function HT(){for(;Se!==null&&!cE();)Dy(Se)}function Dy(t){var n=iy(t.alternate,t,Gn);t.memoizedProps=t.pendingProps,n===null?Ho(t):Se=n}function My(t){var n=t,a=n.alternate;switch(n.tag){case 15:case 0:n=Wg(a,n,n.pendingProps,n.type,void 0,je);break;case 11:n=Wg(a,n,n.pendingProps,n.type.render,n.ref,je);break;case 5:ku(n);default:sy(a,n),n=Se=kp(n,Gn),n=iy(a,n,Gn)}t.memoizedProps=t.pendingProps,n===null?Ho(t):Se=n}function Xa(t,n,a,o){Ln=Xi=null,ku(n),za=null,Qs=0;var d=n.return;try{if(DT(t,d,n,a,je)){Xe=1,ko(t,Gt(a,t.current)),Se=null;return}}catch(h){if(d!==null)throw Se=d,h;Xe=1,ko(t,Gt(a,t.current)),Se=null;return}n.flags&32768?(Ne||o===1?t=!0:qa||(je&536870912)!==0?t=!1:(fi=t=!0,(o===2||o===9||o===3||o===6)&&(o=Kt.current,o!==null&&o.tag===13&&(o.flags|=16384))),ky(n,t)):Ho(n)}function Ho(t){var n=t;do{if((n.flags&32768)!==0){ky(n,fi);return}t=n.return;var a=kT(n.alternate,n,Gn);if(a!==null){Se=a;return}if(n=n.sibling,n!==null){Se=n;return}Se=n=t}while(n!==null);Xe===0&&(Xe=5)}function ky(t,n){do{var a=OT(t.alternate,t);if(a!==null){a.flags&=32767,Se=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!n&&(t=t.sibling,t!==null)){Se=t;return}Se=t=a}while(t!==null);Xe=6,Se=null}function Oy(t,n,a,o,d,h,x,S,M){t.cancelPendingCommit=null;do qo();while(ft!==0);if((Me&6)!==0)throw Error(r(327));if(n!==null){if(n===t.current)throw Error(r(177));if(h=n.lanes|n.childLanes,h|=ou,xE(t,a,h,x,S,M),t===ze&&(Se=ze=null,je=0),Ga=n,pi=t,Ia=a,fd=h,hd=d,Ey=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,IT(Yr,function(){return zy(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=L.T,L.T=null,d=Q.p,Q.p=2,x=Me,Me|=4;try{_T(t,n,a)}finally{Me=x,Q.p=d,L.T=o}}ft=1,_y(),Py(),Ly()}}function _y(){if(ft===1){ft=0;var t=pi,n=Ga,a=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||a){a=L.T,L.T=null;var o=Q.p;Q.p=2;var d=Me;Me|=4;try{gy(n,t);var h=Rd,x=Sp(t.containerInfo),S=h.focusedElem,M=h.selectionRange;if(x!==S&&S&&S.ownerDocument&&wp(S.ownerDocument.documentElement,S)){if(M!==null&&nu(S)){var z=M.start,F=M.end;if(F===void 0&&(F=z),"selectionStart"in S)S.selectionStart=z,S.selectionEnd=Math.min(F,S.value.length);else{var K=S.ownerDocument||document,U=K&&K.defaultView||window;if(U.getSelection){var H=U.getSelection(),ge=S.textContent.length,he=Math.min(M.start,ge),Pe=M.end===void 0?he:Math.min(M.end,ge);!H.extend&&he>Pe&&(x=Pe,Pe=he,he=x);var P=bp(S,he),k=bp(S,Pe);if(P&&k&&(H.rangeCount!==1||H.anchorNode!==P.node||H.anchorOffset!==P.offset||H.focusNode!==k.node||H.focusOffset!==k.offset)){var V=K.createRange();V.setStart(P.node,P.offset),H.removeAllRanges(),he>Pe?(H.addRange(V),H.extend(k.node,k.offset)):(V.setEnd(k.node,k.offset),H.addRange(V))}}}}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 Y=K[S];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}el=!!Nd,Rd=Nd=null}finally{Me=d,Q.p=o,L.T=a}}t.current=n,ft=2}}function Py(){if(ft===2){ft=0;var t=pi,n=Ga,a=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||a){a=L.T,L.T=null;var o=Q.p;Q.p=2;var d=Me;Me|=4;try{fy(t,n.alternate,n)}finally{Me=d,Q.p=o,L.T=a}}ft=3}}function Ly(){if(ft===4||ft===3){ft=0,uE();var t=pi,n=Ga,a=Ia,o=Ey;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?ft=5:(ft=0,Ga=pi=null,Vy(t,t.pendingLanes));var d=t.pendingLanes;if(d===0&&(mi=null),Pc(a),n=n.stateNode,Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(bs,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=L.T,d=Q.p,Q.p=2,L.T=null;try{for(var h=t.onRecoverableError,x=0;x<o.length;x++){var S=o[x];h(S.value,{componentStack:S.stack})}}finally{L.T=n,Q.p=d}}(Ia&3)!==0&&qo(),xn(t),d=t.pendingLanes,(a&4194090)!==0&&(d&42)!==0?t===md?ar++:(ar=0,md=t):ar=0,sr(0)}}function Vy(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,zs(n)))}function qo(t){return _y(),Py(),Ly(),zy()}function zy(){if(ft!==5)return!1;var t=pi,n=fd;fd=0;var a=Pc(Ia),o=L.T,d=Q.p;try{Q.p=32>a?32:a,L.T=null,a=hd,hd=null;var h=pi,x=Ia;if(ft=0,Ga=pi=null,Ia=0,(Me&6)!==0)throw Error(r(331));var S=Me;if(Me|=4,wy(h.current),vy(h,h.current,x,a),Me=S,sr(0,!1),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(bs,h)}catch{}return!0}finally{Q.p=d,L.T=o,Vy(t,n)}}function By(t,n,a){n=Gt(a,n),n=Yu(t.stateNode,n,2),t=si(t,n,2),t!==null&&(Ss(t,2),xn(t))}function Le(t,n,a){if(t.tag===3)By(t,t,a);else for(;n!==null;){if(n.tag===3){By(n,t,a);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(mi===null||!mi.has(o))){t=Gt(a,t),a=Fg(2),o=si(n,a,2),o!==null&&(Gg(a,o,n,t),Ss(o,2),xn(o));break}}n=n.return}}function vd(t,n,a){var o=t.pingCache;if(o===null){o=t.pingCache=new VT;var d=new Set;o.set(n,d)}else d=o.get(n),d===void 0&&(d=new Set,o.set(n,d));d.has(a)||(ld=!0,d.add(a),t=qT.bind(null,t,n,a),n.then(t,t))}function qT(t,n,a){var o=t.pingCache;o!==null&&o.delete(n),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,ze===t&&(je&a)===a&&(Xe===4||Xe===3&&(je&62914560)===je&&300>mn()-dd?(Me&2)===0&&Ya(t,0):cd|=a,Fa===je&&(Fa=0)),xn(t)}function Uy(t,n){n===0&&(n=Lm()),t=Na(t,n),t!==null&&(Ss(t,n),xn(t))}function FT(t){var n=t.memoizedState,a=0;n!==null&&(a=n.retryLane),Uy(t,a)}function GT(t,n){var a=0;switch(t.tag){case 13:var o=t.stateNode,d=t.memoizedState;d!==null&&(a=d.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),Uy(t,a)}function IT(t,n){return Ht(t,n)}var Fo=null,Ka=null,xd=!1,Go=!1,bd=!1,ea=0;function xn(t){t!==Ka&&t.next===null&&(Ka===null?Fo=Ka=t:Ka=Ka.next=t),Go=!0,xd||(xd=!0,XT())}function sr(t,n){if(!bd&&Go){bd=!0;do for(var a=!1,o=Fo;o!==null;){if(t!==0){var d=o.pendingLanes;if(d===0)var h=0;else{var x=o.suspendedLanes,S=o.pingedLanes;h=(1<<31-Dt(42|t)+1)-1,h&=d&~(x&~S),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(a=!0,Gy(o,h))}else h=je,h=Qr(o,o===ze?h:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(h&3)===0||ws(o,h)||(a=!0,Gy(o,h));o=o.next}while(a);bd=!1}}function YT(){Hy()}function Hy(){Go=xd=!1;var t=0;ea!==0&&(tA()&&(t=ea),ea=0);for(var n=mn(),a=null,o=Fo;o!==null;){var d=o.next,h=qy(o,n);h===0?(o.next=null,a===null?Fo=d:a.next=d,d===null&&(Ka=a)):(a=o,(t!==0||(h&3)!==0)&&(Go=!0)),o=d}sr(t)}function qy(t,n){for(var a=t.suspendedLanes,o=t.pingedLanes,d=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var x=31-Dt(h),S=1<<x,M=d[x];M===-1?((S&a)===0||(S&o)!==0)&&(d[x]=vE(S,n)):M<=n&&(t.expiredLanes|=S),h&=~S}if(n=ze,a=je,a=Qr(t,t===n?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,a===0||t===n&&(ke===2||ke===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&$n(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||ws(t,a)){if(n=a&-a,n===t.callbackPriority)return n;switch(o!==null&&$n(o),Pc(a)){case 2:case 8:a=Om;break;case 32:a=Yr;break;case 268435456:a=_m;break;default:a=Yr}return o=Fy.bind(null,t),a=Ht(a,o),t.callbackPriority=n,t.callbackNode=a,n}return o!==null&&o!==null&&$n(o),t.callbackPriority=2,t.callbackNode=null,2}function Fy(t,n){if(ft!==0&&ft!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(qo()&&t.callbackNode!==a)return null;var o=je;return o=Qr(t,t===ze?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(Ay(t,o,n),qy(t,mn()),t.callbackNode!=null&&t.callbackNode===a?Fy.bind(null,t):null)}function Gy(t,n){if(qo())return null;Ay(t,n,!0)}function XT(){iA(function(){(Me&6)!==0?Ht(km,YT):Hy()})}function wd(){return ea===0&&(ea=Pm()),ea}function Iy(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:eo(""+t)}function Yy(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 KT(t,n,a,o,d){if(n==="submit"&&a&&a.stateNode===d){var h=Iy((d[Tt]||null).action),x=o.submitter;x&&(n=(n=x[Tt]||null)?Iy(n.formAction):x.getAttribute("formAction"),n!==null&&(h=n,x=null));var S=new ao("action","action",null,o,d);t.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(ea!==0){var M=x?Yy(d,x):new FormData(d);Hu(a,{pending:!0,data:M,method:d.method,action:h},null,M)}}else typeof h=="function"&&(S.preventDefault(),M=x?Yy(d,x):new FormData(d),Hu(a,{pending:!0,data:M,method:d.method,action:h},h,M))},currentTarget:d}]})}}for(var Sd=0;Sd<ru.length;Sd++){var Ed=ru[Sd],QT=Ed.toLowerCase(),ZT=Ed[0].toUpperCase()+Ed.slice(1);tn(QT,"on"+ZT)}tn(Ap,"onAnimationEnd"),tn(jp,"onAnimationIteration"),tn(Cp,"onAnimationStart"),tn("dblclick","onDoubleClick"),tn("focusin","onFocus"),tn("focusout","onBlur"),tn(hT,"onTransitionRun"),tn(mT,"onTransitionStart"),tn(pT,"onTransitionCancel"),tn(Np,"onTransitionEnd"),va("onMouseEnter",["mouseout","mouseover"]),va("onMouseLeave",["mouseout","mouseover"]),va("onPointerEnter",["pointerout","pointerover"]),va("onPointerLeave",["pointerout","pointerover"]),zi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),zi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),zi("onBeforeInput",["compositionend","keypress","textInput","paste"]),zi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),zi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),zi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rr="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(" "),WT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(rr));function Xy(t,n){n=(n&4)!==0;for(var a=0;a<t.length;a++){var o=t[a],d=o.event;o=o.listeners;e:{var h=void 0;if(n)for(var x=o.length-1;0<=x;x--){var S=o[x],M=S.instance,z=S.currentTarget;if(S=S.listener,M!==h&&d.isPropagationStopped())break e;h=S,d.currentTarget=z;try{h(d)}catch(F){Mo(F)}d.currentTarget=null,h=M}else for(x=0;x<o.length;x++){if(S=o[x],M=S.instance,z=S.currentTarget,S=S.listener,M!==h&&d.isPropagationStopped())break e;h=S,d.currentTarget=z;try{h(d)}catch(F){Mo(F)}d.currentTarget=null,h=M}}}}function Ee(t,n){var a=n[Lc];a===void 0&&(a=n[Lc]=new Set);var o=t+"__bubble";a.has(o)||(Ky(n,t,2,!1),a.add(o))}function Td(t,n,a){var o=0;n&&(o|=4),Ky(a,t,o,n)}var Io="_reactListening"+Math.random().toString(36).slice(2);function Ad(t){if(!t[Io]){t[Io]=!0,Hm.forEach(function(a){a!=="selectionchange"&&(WT.has(a)||Td(a,!1,t),Td(a,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[Io]||(n[Io]=!0,Td("selectionchange",!1,n))}}function Ky(t,n,a,o){switch(vv(n)){case 2:var d=TA;break;case 8:d=AA;break;default:d=Bd}a=d.bind(null,n,a,t),d=void 0,!Xc||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),o?d!==void 0?t.addEventListener(n,a,{capture:!0,passive:d}):t.addEventListener(n,a,!0):d!==void 0?t.addEventListener(n,a,{passive:d}):t.addEventListener(n,a,!1)}function jd(t,n,a,o,d){var h=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var x=o.tag;if(x===3||x===4){var S=o.stateNode.containerInfo;if(S===d)break;if(x===4)for(x=o.return;x!==null;){var M=x.tag;if((M===3||M===4)&&x.stateNode.containerInfo===d)return;x=x.return}for(;S!==null;){if(x=pa(S),x===null)return;if(M=x.tag,M===5||M===6||M===26||M===27){o=h=x;continue e}S=S.parentNode}}o=o.return}tp(function(){var z=h,F=Ic(a),K=[];e:{var U=Rp.get(t);if(U!==void 0){var H=ao,ge=t;switch(t){case"keypress":if(no(a)===0)break e;case"keydown":case"keyup":H=IE;break;case"focusin":ge="focus",H=Wc;break;case"focusout":ge="blur",H=Wc;break;case"beforeblur":case"afterblur":H=Wc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=ap;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=OE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=KE;break;case Ap:case jp:case Cp:H=LE;break;case Np:H=ZE;break;case"scroll":case"scrollend":H=ME;break;case"wheel":H=$E;break;case"copy":case"cut":case"paste":H=zE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=rp;break;case"toggle":case"beforetoggle":H=eT}var he=(n&4)!==0,Pe=!he&&(t==="scroll"||t==="scrollend"),P=he?U!==null?U+"Capture":null:U;he=[];for(var k=z,V;k!==null;){var Y=k;if(V=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||V===null||P===null||(Y=As(k,P),Y!=null&&he.push(or(k,Y,V))),Pe)break;k=k.return}0<he.length&&(U=new H(U,ge,null,a,F),K.push({event:U,listeners:he}))}}if((n&7)===0){e:{if(U=t==="mouseover"||t==="pointerover",H=t==="mouseout"||t==="pointerout",U&&a!==Gc&&(ge=a.relatedTarget||a.fromElement)&&(pa(ge)||ge[ma]))break e;if((H||U)&&(U=F.window===F?F:(U=F.ownerDocument)?U.defaultView||U.parentWindow:window,H?(ge=a.relatedTarget||a.toElement,H=z,ge=ge?pa(ge):null,ge!==null&&(Pe=u(ge),he=ge.tag,ge!==Pe||he!==5&&he!==27&&he!==6)&&(ge=null)):(H=null,ge=z),H!==ge)){if(he=ap,Y="onMouseLeave",P="onMouseEnter",k="mouse",(t==="pointerout"||t==="pointerover")&&(he=rp,Y="onPointerLeave",P="onPointerEnter",k="pointer"),Pe=H==null?U:Ts(H),V=ge==null?U:Ts(ge),U=new he(Y,k+"leave",H,a,F),U.target=Pe,U.relatedTarget=V,Y=null,pa(F)===z&&(he=new he(P,k+"enter",ge,a,F),he.target=V,he.relatedTarget=Pe,Y=he),Pe=Y,H&&ge)t:{for(he=H,P=ge,k=0,V=he;V;V=Qa(V))k++;for(V=0,Y=P;Y;Y=Qa(Y))V++;for(;0<k-V;)he=Qa(he),k--;for(;0<V-k;)P=Qa(P),V--;for(;k--;){if(he===P||P!==null&&he===P.alternate)break t;he=Qa(he),P=Qa(P)}he=null}else he=null;H!==null&&Qy(K,U,H,he,!1),ge!==null&&Pe!==null&&Qy(K,Pe,ge,he,!0)}}e:{if(U=z?Ts(z):window,H=U.nodeName&&U.nodeName.toLowerCase(),H==="select"||H==="input"&&U.type==="file")var se=mp;else if(fp(U))if(pp)se=uT;else{se=lT;var we=oT}else H=U.nodeName,!H||H.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?z&&Fc(z.elementType)&&(se=mp):se=cT;if(se&&(se=se(t,z))){hp(K,se,a,F);break e}we&&we(t,U,z),t==="focusout"&&z&&U.type==="number"&&z.memoizedProps.value!=null&&qc(U,"number",U.value)}switch(we=z?Ts(z):window,t){case"focusin":(fp(we)||we.contentEditable==="true")&&(Aa=we,iu=z,Os=null);break;case"focusout":Os=iu=Aa=null;break;case"mousedown":au=!0;break;case"contextmenu":case"mouseup":case"dragend":au=!1,Ep(K,a,F);break;case"selectionchange":if(fT)break;case"keydown":case"keyup":Ep(K,a,F)}var fe;if(Jc)e:{switch(t){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Ta?up(t,a)&&(pe="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(pe="onCompositionStart");pe&&(op&&a.locale!=="ko"&&(Ta||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Ta&&(fe=np()):(ti=F,Kc="value"in ti?ti.value:ti.textContent,Ta=!0)),we=Yo(z,pe),0<we.length&&(pe=new sp(pe,t,null,a,F),K.push({event:pe,listeners:we}),fe?pe.data=fe:(fe=dp(a),fe!==null&&(pe.data=fe)))),(fe=nT?iT(t,a):aT(t,a))&&(pe=Yo(z,"onBeforeInput"),0<pe.length&&(we=new sp("onBeforeInput","beforeinput",null,a,F),K.push({event:we,listeners:pe}),we.data=fe)),KT(K,t,z,a,F)}Xy(K,n)})}function or(t,n,a){return{instance:t,listener:n,currentTarget:a}}function Yo(t,n){for(var a=n+"Capture",o=[];t!==null;){var d=t,h=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||h===null||(d=As(t,a),d!=null&&o.unshift(or(t,d,h)),d=As(t,n),d!=null&&o.push(or(t,d,h))),t.tag===3)return o;t=t.return}return[]}function Qa(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Qy(t,n,a,o,d){for(var h=n._reactName,x=[];a!==null&&a!==o;){var S=a,M=S.alternate,z=S.stateNode;if(S=S.tag,M!==null&&M===o)break;S!==5&&S!==26&&S!==27||z===null||(M=z,d?(z=As(a,h),z!=null&&x.unshift(or(a,z,M))):d||(z=As(a,h),z!=null&&x.push(or(a,z,M)))),a=a.return}x.length!==0&&t.push({event:n,listeners:x})}var $T=/\r\n?/g,JT=/\u0000|\uFFFD/g;function Zy(t){return(typeof t=="string"?t:""+t).replace($T,` 9`).replace(JT,"")}function Wy(t,n){return n=Zy(n),Zy(t)===n}function Xo(){}function _e(t,n,a,o,d,h){switch(a){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||wa(t,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&wa(t,""+o);break;case"className":Wr(t,"class",o);break;case"tabIndex":Wr(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Wr(t,a,o);break;case"style":Jm(t,o,h);break;case"data":if(n!=="object"){Wr(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=eo(""+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 h=="function"&&(a==="formAction"?(n!=="input"&&_e(t,n,"name",d.name,d,null),_e(t,n,"formEncType",d.formEncType,d,null),_e(t,n,"formMethod",d.formMethod,d,null),_e(t,n,"formTarget",d.formTarget,d,null)):(_e(t,n,"encType",d.encType,d,null),_e(t,n,"method",d.method,d,null),_e(t,n,"target",d.target,d,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}o=eo(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(t.onclick=Xo);break;case"onScroll":o!=null&&Ee("scroll",t);break;case"onScrollEnd":o!=null&&Ee("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(d.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=eo(""+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"playsInl
9ine":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":Ee("beforetoggle",t),Ee("toggle",t),Zr(t,"popover",o);break;case"xlinkActuate":Mn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Mn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Mn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Mn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Mn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Mn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Mn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Mn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Mn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Zr(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=RE.get(a)||a,Zr(t,a,o))}}function Cd(t,n,a,o,d,h){switch(a){case"style":Jm(t,o,h);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(d.children!=null)throw Error(r(60));t.innerHTML=a}}break;case"children":typeof o=="string"?wa(t,o):(typeof o=="number"||typeof o=="bigint")&&wa(t,""+o);break;case"onScroll":o!=null&&Ee("scroll",t);break;case"onScrollEnd":o!=null&&Ee("scrollend",t);break;case"onClick":o!=null&&(t.onclick=Xo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qm.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(d=a.endsWith("Capture"),n=a.slice(2,d?a.length-7:void 0),h=t[Tt]||null,h=h!=null?h[a]:null,typeof h=="function"&&t.removeEventListener(n,h,d),typeof o=="function")){typeof h!="function"&&h!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(n,o,d);break e}a in t?t[a]=o:o===!0?t.setAttribute(a,""):Zr(t,a,o)}}}function ht(t,n,a){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",t),Ee("load",t);var o=!1,d=!1,h;for(h in a)if(a.hasOwnProperty(h)){var x=a[h];if(x!=null)switch(h){case"src":o=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_e(t,n,h,x,a,null)}}d&&_e(t,n,"srcSet",a.srcSet,a,null),o&&_e(t,n,"src",a.src,a,null);return;case"input":Ee("invalid",t);var S=h=x=d=null,M=null,z=null;for(o in a)if(a.hasOwnProperty(o)){var F=a[o];if(F!=null)switch(o){case"name":d=F;break;case"type":x=F;break;case"checked":M=F;break;case"defaultChecked":z=F;break;case"value":h=F;break;case"defaultValue":S=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(137,n));break;default:_e(t,n,o,F,a,null)}}Qm(t,h,S,M,z,x,d,!1),$r(t);return;case"select":Ee("invalid",t),o=x=h=null;for(d in a)if(a.hasOwnProperty(d)&&(S=a[d],S!=null))switch(d){case"value":h=S;break;case"defaultValue":x=S;break;case"multiple":o=S;default:_e(t,n,d,S,a,null)}n=h,a=x,t.multiple=!!o,n!=null?ba(t,!!o,n,!1):a!=null&&ba(t,!!o,a,!0);return;case"textarea":Ee("invalid",t),h=d=o=null;for(x in a)if(a.hasOwnProperty(x)&&(S=a[x],S!=null))switch(x){case"value":o=S;break;case"defaultValue":d=S;break;case"children":h=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(r(91));break;default:_e(t,n,x,S,a,null)}Wm(t,o,d,h),$r(t);return;case"option":for(M in a)a.hasOwnProperty(M)&&(o=a[M],o!=null)&&(M==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":_e(t,n,M,o,a,null));return;case"dialog":Ee("beforetoggle",t),Ee("toggle",t),Ee("cancel",t),Ee("close",t);break;case"iframe":case"object":Ee("load",t);break;case"video":case"audio":for(o=0;o<rr.length;o++)Ee(rr[o],t);break;case"image":Ee("error",t),Ee("load",t);break;case"details":Ee("toggle",t);break;case"embed":case"source":case"link":Ee("error",t),Ee("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in a)if(a.hasOwnProperty(z)&&(o=a[z],o!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_e(t,n,z,o,a,null)}return;default:if(Fc(n)){for(F in a)a.hasOwnProperty(F)&&(o=a[F],o!==void 0&&Cd(t,n,F,o,a,void 0));return}}for(S in a)a.hasOwnProperty(S)&&(o=a[S],o!=null&&_e(t,n,S,o,a,null))}function eA(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 d=null,h=null,x=null,S=null,M=null,z=null,F=null;
vendor: 4,110 bytes, line 9
9for(H in a){var K=a[H];if(a.hasOwnProperty(H)&&K!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":M=K;default:o.hasOwnProperty(H)||_e(t,n,H,null,o,K)}}for(var U in o){var H=o[U];if(K=a[U],o.hasOwnProperty(U)&&(H!=null||K!=null))switch(U){case"type":h=H;break;case"name":d=H;break;case"checked":z=H;break;case"defaultChecked":F=H;break;case"value":x=H;break;case"defaultValue":S=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,n));break;default:H!==K&&_e(t,n,U,H,o,K)}}Hc(t,x,S,M,z,F,h,d);return;case"select":H=x=S=U=null;for(h in a)if(M=a[h],a.hasOwnProperty(h)&&M!=null)switch(h){case"value":break;case"multiple":H=M;default:o.hasOwnProperty(h)||_e(t,n,h,null,o,M)}for(d in o)if(h=o[d],M=a[d],o.hasOwnProperty(d)&&(h!=null||M!=null))switch(d){case"value":U=h;break;case"defaultValue":S=h;break;case"multiple":x=h;default:h!==M&&_e(t,n,d,h,o,M)}n=S,a=x,o=H,U!=null?ba(t,!!a,U,!1):!!o!=!!a&&(n!=null?ba(t,!!a,n,!0):ba(t,!!a,a?[]:"",!1));return;case"textarea":H=U=null;for(S in a)if(d=a[S],a.hasOwnProperty(S)&&d!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:_e(t,n,S,null,o,d)}for(x in o)if(d=o[x],h=a[x],o.hasOwnProperty(x)&&(d!=null||h!=null))switch(x){case"value":U=d;break;case"defaultValue":H=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(r(91));break;default:d!==h&&_e(t,n,x,d,o,h)}Zm(t,U,H);return;case"option":for(var ge in a)U=a[ge],a.hasOwnProperty(ge)&&U!=null&&!o.hasOwnProperty(ge)&&(ge==="selected"?t.selected=!1:_e(t,n,ge,null,o,U));for(M in o)U=o[M],H=a[M],o.hasOwnProperty(M)&&U!==H&&(U!=null||H!=null)&&(M==="selected"?t.selected=U&&typeof U!="function"&&typeof U!="symbol":_e(t,n,M,U,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 he in a)U=a[he],a.hasOwnProperty(he)&&U!=null&&!o.hasOwnProperty(he)&&_e(t,n,he,null,o,U);for(z in o)if(U=o[z],H=a[z],o.hasOwnProperty(z)&&U!==H&&(U!=null||H!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,n));break;default:_e(t,n,z,U,o,H)}return;default:if(Fc(n)){for(var Pe in a)U=a[Pe],a.hasOwnProperty(Pe)&&U!==void 0&&!o.hasOwnProperty(Pe)&&Cd(t,n,Pe,void 0,o,U);for(F in o)U=o[F],H=a[F],!o.hasOwnProperty(F)||U===H||U===void 0&&H===void 0||Cd(t,n,F,U,o,H);return}}for(var P in a)U=a[P],a.hasOwnProperty(P)&&U!=null&&!o.hasOwnProperty(P)&&_e(t,n,P,null,o,U);for(K in o)U=o[K],H=a[K],!o.hasOwnProperty(K)||U===H||U==null&&H==null||_e(t,n,K,U,o,H)}var Nd=null,Rd=null;function Ko(t){return t.nodeType===9?t:t.ownerDocument}function $y(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 Jy(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 Dd(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 Md=null;function tA(){var t=window.event;return t&&t.type==="popstate"?t===Md?!1:(Md=t,!0):(Md=null,!1)}var ev=typeof setTimeout=="function"?setTimeout:void 0,nA=typeof clearTimeout=="function"?clearTimeout:void 0,tv=typeof Promise=="function"?Promise:void 0,iA=typeof queueMicrotask=="function"?queueMicrotask:typeof tv<"u"?function(t){return tv.resolve(null).then(t).catch(aA)}:ev;function aA(t){setTimeout(function(){throw t})}function yi(t){return t==="head"}function nv(t,n){var a=n,o=0,d=0;do{var h=a.nextSibling;if(t.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(0<o&&8>o){a=o;var x=t.ownerDocument;if(a&1&&lr(x.documentElement),a&2&&lr(x.body),a&4)for(a=x.head,lr(a),x=a.firstChild;x;){var S=x.nextSibling,M=x.nodeName;x[Es]||M==="SCRIPT"||M==="STYLE"||M==="LINK"&&x.rel.toLowerCase()==="stylesheet"||a.removeChild(x),x=S}}if(d===0){t.removeChild(h),gr(n);return}d--}
vendor: 4,834 bytes, line 9
9else a==="$"||a==="$?"||a==="$!"?d++:o=a.charCodeAt(0)-48;else o=0;a=h}while(a);gr(n)}function kd(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":kd(a),Vc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function sA(t,n,a,o){for(;t.nodeType===1;){var d=a;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[Es])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==d.rel||t.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||t.getAttribute("title")!==(d.title==null?null:d.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(d.src==null?null:d.src)||t.getAttribute("type")!==(d.type==null?null:d.type)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var h=d.name==null?null:""+d.name;if(d.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=an(t.nextSibling),t===null)break}return null}function rA(t,n,a){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=an(t.nextSibling),t===null))return null;return t}function Od(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function oA(t,n){var a=t.ownerDocument;if(t.data!=="$?"||a.readyState==="complete")n();else{var o=function(){n(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function an(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return t}var _d=null;function iv(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"){if(n===0)return t;n--}else a==="/$"&&n++}t=t.previousSibling}return null}function av(t,n,a){switch(n=Ko(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 lr(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Vc(t)}var Zt=new Map,sv=new Set;function Qo(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var In=Q.d;Q.d={f:lA,r:cA,D:uA,C:dA,L:fA,m:hA,X:pA,S:mA,M:gA};function lA(){var t=In.f(),n=Uo();return t||n}function cA(t){var n=ga(t);n!==null&&n.tag===5&&n.type==="form"?Ag(n):In.r(t)}var Za=typeof document>"u"?null:document;function rv(t,n,a){var o=Za;if(o&&typeof n=="string"&&n){var d=Ft(n);d='link[rel="'+t+'"][href="'+d+'"]',typeof a=="string"&&(d+='[crossorigin="'+a+'"]'),sv.has(d)||(sv.add(d),t={rel:t,crossOrigin:a,href:n},o.querySelector(d)===null&&(n=o.createElement("link"),ht(n,"link",t),rt(n),o.head.appendChild(n)))}}function uA(t){In.D(t),rv("dns-prefetch",t,null)}function dA(t,n){In.C(t,n),rv("preconnect",t,n)}function fA(t,n,a){In.L(t,n,a);var o=Za;if(o&&t&&n){var d='link[rel="preload"][as="'+Ft(n)+'"]';n==="image"&&a&&a.imageSrcSet?(d+='[imagesrcset="'+Ft(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(d+='[imagesizes="'+Ft(a.imageSizes)+'"]')):d+='[href="'+Ft(t)+'"]';var h=d;switch(n){case"style":h=Wa(t);break;case"script":h=$a(t)}Zt.has(h)||(t=y({rel:"preload",href:n==="image"&&a&&a.imageSrcSet?void 0:t,as:n},a),Zt.set(h,t),o.querySelector(d)!==null||n==="style"&&o.querySelector(cr(h))||n==="script"&&o.querySelector(ur(h))||(n=o.createElement("link"),ht(n,"link",t),rt(n),o.head.appendChild(n)))}}function hA(t,n){In.m(t,n);var a=Za;if(a&&t){var o=n&&typeof n.as=="string"?n.as:"script",d='link[rel="modulepreload"][as="'+Ft(o)+'"][href="'+Ft(t)+'"]',h=d;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=$a(t)}if(!Zt.has(h)&&(t=y({rel:"modulepreload",href:t},n),Zt.set(h,t),a.querySelector(d)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ur(h)))return}o=a.createElement("link"),ht(o,"link",t),rt(o),a.head.appendChild(o)}}}function mA(t,n,a){In.S(t,n,a);var o=Za;if(o&&t){var d=ya(o).hoistableStyles,h=Wa(t);n=n||"default";var x=d.get(h);if(!x){var S={loading:0,preload:null};if(x=o.querySelector(cr(h)))S.loading=5;
vendor: 5,847 bytes, line 9
9else{t=y({rel:"stylesheet",href:t,"data-precedence":n},a),(a=Zt.get(h))&&Pd(t,a);var M=x=o.createElement("link");rt(M),ht(M,"link",t),M._p=new Promise(function(z,F){M.onload=z,M.onerror=F}),M.addEventListener("load",function(){S.loading|=1}),M.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Zo(x,n,o)}x={type:"stylesheet",instance:x,count:1,state:S},d.set(h,x)}}}function pA(t,n){In.X(t,n);var a=Za;if(a&&t){var o=ya(a).hoistableScripts,d=$a(t),h=o.get(d);h||(h=a.querySelector(ur(d)),h||(t=y({src:t,async:!0},n),(n=Zt.get(d))&&Ld(t,n),h=a.createElement("script"),rt(h),ht(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(d,h))}}function gA(t,n){In.M(t,n);var a=Za;if(a&&t){var o=ya(a).hoistableScripts,d=$a(t),h=o.get(d);h||(h=a.querySelector(ur(d)),h||(t=y({src:t,async:!0,type:"module"},n),(n=Zt.get(d))&&Ld(t,n),h=a.createElement("script"),rt(h),ht(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(d,h))}}function ov(t,n,a,o){var d=(d=ce.current)?Qo(d):null;if(!d)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(n=Wa(a.href),a=ya(d).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=Wa(a.href);var h=ya(d).hoistableStyles,x=h.get(t);if(x||(d=d.ownerDocument||d,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,x),(h=d.querySelector(cr(t)))&&!h._p&&(x.instance=h,x.state.loading=5),Zt.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},Zt.set(t,a),h||yA(d,t,a,x.state))),n&&o===null)throw Error(r(528,""));return x}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=$a(a),a=ya(d).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 Wa(t){return'href="'+Ft(t)+'"'}function cr(t){return'link[rel="stylesheet"]['+t+"]"}function lv(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function yA(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}),ht(n,"link",a),rt(n),t.head.appendChild(n))}function $a(t){return'[src="'+Ft(t)+'"]'}function ur(t){return"script[async]"+t}function cv(t,n,a){if(n.count++,n.instance===null)switch(n.type){case"style":var o=t.querySelector('style[data-href~="'+Ft(a.href)+'"]');if(o)return n.instance=o,rt(o),o;var d=y({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),rt(o),ht(o,"style",d),Zo(o,a.precedence,t),n.instance=o;case"stylesheet":d=Wa(a.href);var h=t.querySelector(cr(d));if(h)return n.state.loading|=4,n.instance=h,rt(h),h;o=lv(a),(d=Zt.get(d))&&Pd(o,d),h=(t.ownerDocument||t).createElement("link"),rt(h);var x=h;return x._p=new Promise(function(S,M){x.onload=S,x.onerror=M}),ht(h,"link",o),n.state.loading|=4,Zo(h,a.precedence,t),n.instance=h;case"script":return h=$a(a.src),(d=t.querySelector(ur(h)))?(n.instance=d,rt(d),d):(o=a,(d=Zt.get(h))&&(o=y({},a),Ld(o,d)),t=t.ownerDocument||t,d=t.createElement("script"),rt(d),ht(d,"link",o),t.head.appendChild(d),n.instance=d);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,Zo(o,a.precedence,t));return n.instance}function Zo(t,n,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=o.length?o[o.length-1]:null,h=d,x=0;x<o.length;x++){var S=o[x];if(S.dataset.precedence===n)h=S;else if(h!==d)break}h?h.parentNode.insertBefore(t,h.nextSibling):(n=a.nodeType===9?a.head:a,n.insertBefore(t,n.firstChild))}function Pd(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function Ld(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var Wo=null;function uv(t,n,a){if(Wo===null){var o=new Map,d=Wo=new Map;d.set(a,o)}else d=Wo,o=d.get(a),o||(o=new Map,d.set(a,o));if(o.has(t))return o;for(o.set(t,null),a=a.getElementsByTagName(t),d=0;d<a.length;d++){var h=a[d];if(!(h[Es]||h[gt]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var x=h.getAttribute(n)||"";x=t+x;var S=o.get(x);S?S.push(h):o.set(x,[h])}}return o}function dv(t,n,a){t=t.ownerDocument||t,t.head.insertBefore(a,n==="title"?t.querySelector("head > title"):null)}function vA(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 fv(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var dr=null;function xA(){}function bA(t,n,a){if(dr===null)throw Error(r(475));var o=dr;
vendor: 8,140 bytes, line 9
9if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var d=Wa(a.href),h=t.querySelector(cr(d));if(h){t=h._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(o.count++,o=$o.bind(o),t.then(o,o)),n.state.loading|=4,n.instance=h,rt(h);return}h=t.ownerDocument||t,a=lv(a),(d=Zt.get(d))&&Pd(a,d),h=h.createElement("link"),rt(h);var x=h;x._p=new Promise(function(S,M){x.onload=S,x.onerror=M}),ht(h,"link",a),n.instance=h}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(o.count++,n=$o.bind(o),t.addEventListener("load",n),t.addEventListener("error",n))}}function wA(){if(dr===null)throw Error(r(475));var t=dr;return t.stylesheets&&t.count===0&&Vd(t,t.stylesheets),0<t.count?function(n){var a=setTimeout(function(){if(t.stylesheets&&Vd(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(a)}}:null}function $o(){if(this.count--,this.count===0){if(this.stylesheets)Vd(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Jo=null;function Vd(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Jo=new Map,n.forEach(SA,t),Jo=null,$o.call(t))}function SA(t,n){if(!(n.state.loading&4)){var a=Jo.get(t);if(a)var o=a.get(null);else{a=new Map,Jo.set(t,a);for(var d=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<d.length;h++){var x=d[h];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(a.set(x.dataset.precedence,x),o=x)}o&&a.set(null,o)}d=n.instance,x=d.getAttribute("data-precedence"),h=a.get(x)||o,h===o&&a.set(null,d),a.set(x,d),this.count++,o=$o.bind(this),d.addEventListener("load",o),d.addEventListener("error",o),h?h.parentNode.insertBefore(d,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(d,t.firstChild)),n.state.loading|=4}}var fr={$$typeof:D,Provider:null,Consumer:null,_currentValue:G,_currentValue2:G,_threadCount:0};function EA(t,n,a,o,d,h,x,S){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=Oc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oc(0),this.hiddenUpdates=Oc(null),this.identifierPrefix=o,this.onUncaughtError=d,this.onCaughtError=h,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function hv(t,n,a,o,d,h,x,S,M,z,F,K){return t=new EA(t,n,a,x,S,M,z,K),n=1,h===!0&&(n|=24),h=kt(3,null,null,n),t.current=h,h.stateNode=t,n=vu(),n.refCount++,t.pooledCache=n,n.refCount++,h.memoizedState={element:o,isDehydrated:a,cache:n},Su(h),t}function mv(t){return t?(t=Ra,t):Ra}function pv(t,n,a,o,d,h){d=mv(d),o.context===null?o.context=d:o.pendingContext=d,o=ai(n),o.payload={element:a},h=h===void 0?null:h,h!==null&&(o.callback=h),a=si(t,o,n),a!==null&&(Vt(a,t,n),qs(a,t,n))}function gv(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<n?a:n}}function zd(t,n){gv(t,n),(t=t.alternate)&&gv(t,n)}function yv(t){if(t.tag===13){var n=Na(t,67108864);n!==null&&Vt(n,t,67108864),zd(t,67108864)}}var el=!0;function TA(t,n,a,o){var d=L.T;L.T=null;var h=Q.p;try{Q.p=2,Bd(t,n,a,o)}finally{Q.p=h,L.T=d}}function AA(t,n,a,o){var d=L.T;L.T=null;var h=Q.p;try{Q.p=8,Bd(t,n,a,o)}finally{Q.p=h,L.T=d}}function Bd(t,n,a,o){if(el){var d=Ud(o);if(d===null)jd(t,n,o,tl,a),xv(t,o);else if(CA(d,t,n,a,o))o.stopPropagation();else if(xv(t,o),n&4&&-1<jA.indexOf(t)){for(;d!==null;){var h=ga(d);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var x=Vi(h.pendingLanes);if(x!==0){var S=h;for(S.pendingLanes|=2,S.entangledLanes|=2;x;){var M=1<<31-Dt(x);S.entanglements[1]|=M,x&=~M}xn(h),(Me&6)===0&&(zo=mn()+500,sr(0))}}break;case 13:S=Na(h,2),S!==null&&Vt(S,h,2),Uo(),zd(h,2)}if(h=Ud(o),h===null&&jd(t,n,o,tl,a),h===d)break;d=h}d!==null&&o.stopPropagation()}else jd(t,n,o,null,a)}}function Ud(t){return t=Ic(t),Hd(t)}var tl=null;function Hd(t){if(tl=null,t=pa(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===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return tl=t,null}function vv(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(dE()){case km:return 2;case Om:return 8;case Yr:case fE:return 32;case _m:return 268435456;default:return 32}default:return 32}}var qd=!1,vi=null,xi=null,bi=null,hr=new Map,mr=new Map,wi=[],jA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function xv(t,n){switch(t){case"focusin":case"focusout":vi=null;break;case"dragenter":case"dragleave":xi=null;break;case"mouseover":case"mouseout":bi=null;break;case"pointerover":case"pointerout":hr.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":mr.delete(n.pointerId)}}function pr(t,n,a,o,d,h){return t===null||t.nativeEvent!==h?(t={blockedOn:n,domEventName:a,eventSystemFlags:o,nativeEvent:h,targetContainers:[d]},n!==null&&(n=ga(n),n!==null&&yv(n)),t):(t.eventSystemFlags|=o,n=t.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),t)}function CA(t,n,a,o,d){switch(n){case"focusin":return vi=pr(vi,t,n,a,o,d),!0;case"dragenter":return xi=pr(xi,t,n,a,o,d),!0;case"mouseover":return bi=pr(bi,t,n,a,o,d),!0;case"pointerover":var h=d.pointerId;return hr.set(h,pr(hr.get(h)||null,t,n,a,o,d)),!0;case"gotpointercapture":return h=d.pointerId,mr.set(h,pr(mr.get(h)||null,t,n,a,o,d)),!0}return!1}function bv(t){var n=pa(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,bE(t.priority,function(){if(a.tag===13){var o=Lt();o=_c(o);var d=Na(a,o);d!==null&&Vt(d,a,o),zd(a,o)}});return}}else if(n===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function nl(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var a=Ud(t.nativeEvent);if(a===null){a=t.nativeEvent;var o=new a.constructor(a.type,a);Gc=o,a.target.dispatchEvent(o),Gc=null}else return n=ga(a),n!==null&&yv(n),t.blockedOn=a,!1;n.shift()}return!0}function wv(t,n,a){nl(t)&&a.delete(n)}function NA(){qd=!1,vi!==null&&nl(vi)&&(vi=null),xi!==null&&nl(xi)&&(xi=null),bi!==null&&nl(bi)&&(bi=null),hr.forEach(wv),mr.forEach(wv)}function il(t,n){t.blockedOn===n&&(t.blockedOn=null,qd||(qd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,NA)))}var al=null;
9function Sv(t){al!==t&&(al=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){al===t&&(al=null);for(var n=0;n<t.length;n+=3){var a=t[n],o=t[n+1],d=t[n+2];if(typeof o!="function"){if(Hd(o||a)===null)continue;break}var h=ga(a);h!==null&&(t.splice(n,3),n-=3,Hu(h,{pending:!0,data:d,method:a.method,action:o},o,d))}}))}function gr(t){function n(M){return il(M,t)}vi!==null&&il(vi,t),xi!==null&&il(xi,t),bi!==null&&il(bi,t),hr.forEach(n),mr.forEach(n);for(var a=0;a<wi.length;a++){var o=wi[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<wi.length&&(a=wi[0],a.blockedOn===null);)bv(a),a.blockedOn===null&&wi.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var d=a[o],h=a[o+1],x=d[Tt]||null;if(typeof h=="function")x||Sv(a);else if(x){var S=null;if(h&&h.hasAttribute("formAction")){if(d=h,x=h[Tt]||null)S=x.formAction;else if(Hd(d)!==null)continue}else S=x.action;typeof S=="function"?a[o+1]=S:(a.splice(o,3),o-=3),Sv(a)}}}function Fd(t){this._internalRoot=t}sl.prototype.render=Fd.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(r(409));var a=n.current,o=Lt();pv(a,o,t,n,null,null)},sl.prototype.unmount=Fd.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;pv(t.current,2,null,t,null,null),Uo(),n[ma]=null}};function sl(t){this._internalRoot=t}sl.prototype.unstable_scheduleHydration=function(t){if(t){var n=Bm();t={blockedOn:null,target:t,priority:n};for(var a=0;a<wi.length&&n!==0&&n<wi[a].priority;a++);wi.splice(a,0,t),a===0&&bv(t)}};var Ev=i.version;if(Ev!=="19.1.0")throw Error(r(527,Ev,"19.1.0"));Q.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=g(n),t=t!==null?p(t):null,t=t===null?null:t.stateNode,t};var RA={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rl.isDisabled&&rl.supportsFiber)try{bs=rl.inject(RA),Rt=rl}catch{}}return vr.createRoot=function(t,n){if(!l(t))throw Error(r(299));var a=!1,o="",d=Bg,h=Ug,x=Hg,S=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(d=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(S=n.unstable_transitionCallbacks)),n=hv(t,1,!1,null,null,a,o,d,h,x,S,null),t[ma]=n.current,Ad(t),new Fd(n)},vr.hydrateRoot=function(t,n,a){if(!l(t))throw Error(r(299));var o=!1,d="",h=Bg,x=Ug,S=Hg,M=null,z=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(x=a.onCaughtError),a.onRecoverableError!==void 0&&(S=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(M=a.unstable_transitionCallbacks),a.formState!==void 0&&(z=a.formState)),n=hv(t,1,!0,n,a??null,o,d,h,x,S,M,z),n.context=mv(null),a=n.current,o=Lt(),o=_c(o),d=ai(o),d.callback=null,si(a,d,o),a=o,n.current.lanes=a,Ss(n,a),xn(n),t[ma]=n.current,Ad(t),new sl(n)},vr.version="19.1.0",vr}var Ov;function BA(){if(Ov)return Id.exports;Ov=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(),Id.exports=zA(),Id.exports}var UA=BA();function HA(e,i){if(e instanceof RegExp)return{keys:!1,pattern:e};var s,r,l,u,f=[],m="",g=e.split("/");for(g[0]||g.shift();l=g.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=oc();const We=ib(w),bh=MA({__proto__:null,default:We},[w]);
9var Zd={exports:{}},Wd={};var _v;function qA(){if(_v)return Wd;_v=1;var e=oc();function i(v,b){return v===b&&(v!==0||1/v===1/b)||v!==v&&b!==b}var s=typeof Object.is=="function"?Object.is:i,r=e.useState,l=e.useEffect,u=e.useLayoutEffect,f=e.useDebugValue;function m(v,b){var E=b(),A=r({inst:{value:E,getSnapshot:b}}),T=A[0].inst,j=A[1];return u(function(){T.value=E,T.getSnapshot=b,g(T)&&j({inst:T})},[v,E,b]),l(function(){return g(T)&&j({inst:T}),v(function(){g(T)&&j({inst:T})})},[v]),f(E),E}function g(v){var b=v.getSnapshot;v=v.value;try{var E=b();return!s(v,E)}catch{return!0}}function p(v,b){return b()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:m;return Wd.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,Wd}var Pv;function FA(){return Pv||(Pv=1,Zd.exports=qA()),Zd.exports}var GA=FA();const IA=bh.useInsertionEffect,YA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",XA=YA?w.useLayoutEffect:w.useEffect,KA=IA||XA,sb=e=>{const i=w.useRef([e,(...s)=>i[0](...s)]).current;return KA(()=>{i[0]=e}),i[1]},QA="popstate",wh="pushState",Sh="replaceState",ZA="hashchange",Lv=[QA,wh,Sh,ZA],WA=e=>{for(const i of Lv)addEventListener(i,e);return()=>{for(const i of Lv)removeEventListener(i,e)}},rb=(e,i)=>GA.useSyncExternalStore(WA,e,i),Vv=()=>location.search,$A=({ssrSearch:e}={})=>rb(Vv,e!=null?()=>e:Vv),zv=()=>location.pathname,JA=({ssrPath:e}={})=>rb(zv,e!=null?()=>e:zv),ej=(e,{replace:i=!1,state:s=null}={})=>history[i?Sh:wh](s,"",e),tj=(e={})=>[JA(e),ej],Bv=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Bv]>"u"){for(const e of[wh,Sh]){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,Bv,{value:!0})}const nj=(e,i)=>i.toLowerCase().indexOf(e.toLowerCase())?"~"+i:i.slice(e.length)||"/",ob=(e="")=>e==="/"?"":e,ij=(e,i)=>e[0]==="~"?e.slice(1):ob(i)+e,aj=(e="",i)=>nj(Uv(ob(e)),Uv(i)),Uv=e=>{try{return decodeURI(e)}catch{return e}},lb={hook:tj,searchHook:$A,parser:HA,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,i,s)=>e(i,s)},cb=w.createContext(lb),lc=()=>w.useContext(cb),ub={},db=w.createContext(ub),sj=()=>w.useContext(db),Eh=e=>{const[i,s]=e.hook(e);return[aj(e.base,i),sb((r,l)=>e.aroundNav(s,ij(r,e.base),l))]},fb=(e,i,s,r)=>{const{pattern:l,keys:u}=i instanceof RegExp?{keys:!1,pattern:i}:e(i||"*",r),f=l.exec(s)||[],[m,...g]=f;return m!==void 0?[!0,(()=>{const p=u!==!1?Object.fromEntries(u.map((v,b)=>[v,g[b]])):f.groups;let y={...g};return p&&Object.assign(y,p),y})(),...r?[m]:[]]:[!1,null]},hb=({children:e,...i})=>{const s=lc(),r=i.hook?lb: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({}),g=m.current,p=g;
9for(let y in r){const v=y==="base"?r[y]+(i[y]??""):i[y]??r[y];g===p&&v!==p[y]&&(m.current=p={...p}),p[y]=v,(v!==r[y]||v!==l[y])&&(l=p)}return w.createElement(cb.Provider,{value:l,children:e})},Hv=({children:e,component:i},s)=>i?w.createElement(i,{params:s}):typeof e=="function"?e(s):e,rj=e=>{let i=w.useRef(ub);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},ol=({path:e,nest:i,match:s,...r})=>{const l=lc(),[u]=Eh(l),[f,m,g]=s??fb(l.parser,e,u,i),p=rj({...sj(),...m});if(!f)return null;const y=g?w.createElement(hb,{base:g},Hv(r,p)):Hv(r,p);return w.createElement(db.Provider,{value:p,children:y})},$d=w.forwardRef((e,i)=>{const s=lc(),[r,l]=Eh(s),{to:u="",href:f=u,onClick:m,asChild:g,children:p,className:y,replace:v,state:b,transition:E,...A}=e,T=sb(R=>{R.ctrlKey||R.metaKey||R.altKey||R.shiftKey||R.button!==0||(m?.(R),R.defaultPrevented||(R.preventDefault(),l(f,e)))}),j=s.hrefs(f[0]==="~"?f.slice(1):s.base+f,s);return g&&w.isValidElement(p)?w.cloneElement(p,{onClick:T,href:j}):w.createElement("a",{...A,onClick:T,href:j,className:y?.call?y(r===f):y,children:p,ref:i})}),mb=e=>Array.isArray(e)?e.flatMap(i=>mb(i&&i.type===w.Fragment?i.props.children:i)):[e],oj=({children:e,location:i})=>{const s=lc(),[r]=Eh(s);for(const l of mb(e)){let u=0;if(w.isValidElement(l)&&(u=fb(s.parser,l.props.path,i||r,l.props.nest))[0])return w.cloneElement(l,{match:u})}return null};var cc=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(){}},lj=class extends cc{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const i=()=>e();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(i=>{i(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},pb=new lj,cj={setTimeout:(e,i)=>setTimeout(e,i),clearTimeout:e=>clearTimeout(e),setInterval:(e,i)=>setInterval(e,i),clearInterval:e=>clearInterval(e)},uj=class{#e=cj;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,i){return this.#e.setTimeout(e,i)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,i){return this.#e.setInterval(e,i)}clearInterval(e){this.#e.clearInterval(e)}},_f=new uj;function dj(e){setTimeout(e,0)}var fj=typeof window>"u"||"Deno"in globalThis;function on(){}function hj(e,i){return typeof e=="function"?e(i):e}function mj(e){return typeof e=="number"&&e>=0&&e!==1/0}function pj(e,i){return Math.max(e+(i||0)-Date.now(),0)}function Pf(e,i){return typeof e=="function"?e(i):e}function gj(e,i){return typeof e=="function"?e(i):e}function qv(e,i){const{type:s="all",exact:r,fetchStatus:l,predicate:u,queryKey:f,stale:m}=e;if(f){if(r){if(i.queryHash!==Th(f,i.options))return!1}else if(!kr(i.queryKey,f))return!1}if(s!=="all"){const g=i.isActive();if(s==="active"&&!g||s==="inactive"&&g)return!1}return!(typeof m=="boolean"&&i.isStale()!==m||l&&l!==i.state.fetchStatus||u&&!u(i))}function Fv(e,i){const{exact:s,status:r,predicate:l,mutationKey:u}=e;if(u){if(!i.options.mutationKey)return!1;if(s){if(Mr(i.options.mutationKey)!==Mr(u))return!1}else if(!kr(i.options.mutationKey,u))return!1}return!(r&&i.state.status!==r||l&&!l(i))}function Th(e,i){return(i?.queryKeyHashFn||Mr)(e)}function Mr(e){return JSON.stringify(e,(i,s)=>Lf(s)?Object.keys(s).sort().reduce((r,l)=>(r[l]=s[l],r),{}):s)}function kr(e,i){return e===i?!0:typeof e!=typeof i?!1:e&&i&&typeof e=="object"&&typeof i=="object"?Object.keys(i).every(s=>kr(e[s],i[s])):!1}var yj=Object.prototype.hasOwnProperty;function gb(e,i,s=0){if(e===i)return e;if(s>500)return i;const r=Gv(e)&&Gv(i);if(!r&&!(Lf(e)&&Lf(i)))return i;const u=(r?e:Object.keys(e)).length,f=r?i:Object.keys(i),m=f.length,g=r?new Array(m):{};let p=0;for(let y=0;y<m;y++){const v=r?y:f[y],b=e[v],E=i[v];if(b===E){g[v]=b,(r?y<u:yj.call(e,v))&&p++;continue}if(b===null||E===null||typeof b!="object"||typeof E!="object"){g[v]=E;continue}const A=gb(b,E,s+1);g[v]=A,A===b&&p++}return u===m&&p===u?e:g}function Gv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Lf(e){if(!Iv(e))return!1;const i=e.constructor;if(i===void 0)return!0;const s=i.prototype;return!(!Iv(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Iv(e){return Object.prototype.toString.call(e)==="[object Object]"}function vj(e){return new Promise(i=>{_f.setTimeout(i,e)})}function xj(e,i,s){return typeof s.structuralSharing=="function"?s.structuralSharing(e,i):s.structuralSharing!==!1?gb(e,i):i}function bj(e,i,s=0){const r=[...e,i];return s&&r.length>s?r.slice(1):r}function wj(e,i,s=0){const r=[i,...e];return s&&r.length>s?r.slice(0,-1):r}var Ah=Symbol();function yb(e,i){return!e.queryFn&&i?.initialPromise?()=>i.initialPromise:!e.queryFn||e.queryFn===Ah?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Sj(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 vb=(()=>{let e=()=>fj;return{isServer(){return e()},setIsServer(i){e=i}}})();function Ej(){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 Tj=dj;function Aj(){let e=[],i=0,s=m=>{m()},r=m=>{m()},l=Tj;const u=m=>{i?e.push(m):l(()=>{s(m)})},f=()=>{const m=e;e=[],m.length&&l(()=>{r(()=>{m.forEach(g=>{s(g)})})})};return{batch:m=>{let g;i++;try{g=m()}finally{i--,i||f()}return g},batchCalls:m=>(...g)=>{u(()=>{m(...g)})},schedule:u,setNotifyFunction:m=>{s=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{l=m}}}var wt=Aj(),jj=class extends cc{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&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.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}
vendor: 18,191 bytes, line 9
9setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(s=>{s(e)}))}isOnline(){return this.#e}},Ll=new jj;function Cj(e){return Math.min(1e3*2**e,3e4)}function xb(e){return(e??"online")==="online"?Ll.isOnline():!0}var Vf=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function bb(e){let i=!1,s=0,r;const l=Ej(),u=()=>l.status!=="pending",f=T=>{if(!u()){const j=new Vf(T);b(j),e.onCancel?.(j)}},m=()=>{i=!0},g=()=>{i=!1},p=()=>pb.isFocused()&&(e.networkMode==="always"||Ll.isOnline())&&e.canRun(),y=()=>xb(e.networkMode)&&e.canRun(),v=T=>{u()||(r?.(),l.resolve(T))},b=T=>{u()||(r?.(),l.reject(T))},E=()=>new Promise(T=>{r=j=>{(u()||p())&&T(j)},e.onPause?.()}).then(()=>{r=void 0,u()||e.onContinue?.()}),A=()=>{if(u())return;let T;const j=s===0?e.initialPromise:void 0;try{T=j??e.fn()}catch(R){T=Promise.reject(R)}Promise.resolve(T).then(v).catch(R=>{if(u())return;const N=e.retry??(vb.isServer()?0:3),D=e.retryDelay??Cj,O=typeof D=="function"?D(s,R):D,_=N===!0||typeof N=="number"&&s<N||typeof N=="function"&&N(s,R);if(i||!_){b(R);return}s++,e.onFail?.(s,R),vj(O).then(()=>p()?void 0:E()).then(()=>{i?b(R):A()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(r?.(),l),cancelRetry:m,continueRetry:g,canStart:y,start:()=>(y()?A():E().then(A),l)}}var wb=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mj(this.gcTime)&&(this.#e=_f.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vb.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(_f.clearTimeout(this.#e),this.#e=void 0)}};function Nj(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:[]},g=0;const p=async()=>{let y=!1;const v=A=>{Sj(A,()=>i.signal,()=>y=!0)},b=yb(i.options,i.fetchOptions),E=async(A,T,j)=>{if(y)return Promise.reject(i.signal.reason);if(T==null&&A.pages.length)return Promise.resolve(A);const N=(()=>{const q={client:i.client,queryKey:i.queryKey,pageParam:T,direction:j?"backward":"forward",meta:i.options.meta};return v(q),q})(),D=await b(N),{maxPages:O}=i.options,_=j?wj:bj;return{pages:_(A.pages,D,O),pageParams:_(A.pageParams,T,O)}};if(l&&u.length){const A=l==="backward",T=A?Rj:Yv,j={pages:u,pageParams:f},R=T(r,j);m=await E(j,R,A)}else{const A=e??u.length;do{const T=g===0?f[0]??r.initialPageParam:Yv(r,m);if(g>0&&T==null)break;m=await E(m,T),g++}while(g<A)}return m};i.options.persister?i.fetchFn=()=>i.options.persister?.(p,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=p}}}function Yv(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 Rj(e,{pages:i,pageParams:s}){return i.length>0?e.getPreviousPageParam?.(i[0],i,s[0],s):void 0}var Dj=class extends wb{#e;#t;#n;#a;#s;#i;#l;#r;constructor(e){super(),this.#r=!1,this.#l=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#s=e.client,this.#a=this.#s.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Kv(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#l,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Kv(this.options);i.data!==void 0&&(this.setState(Xv(i.data,i.dataUpdatedAt)),this.#t=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#a.remove(this)}setData(e,i){const s=xj(this.state.data,e,this.options);return this.#o({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(e){this.#o({type:"setState",state:e})}cancel(e){const i=this.#i?.promise;return this.#i?.cancel(e),i?i.then(on).catch(on):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>gj(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ah||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Pf(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:!pj(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.#a.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(i=>i!==e),this.observers.length||(this.#i&&(this.#r||this.#c()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,i){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const g=this.observers.find(p=>p.options.queryFn);g&&this.setOptions(g.options)}const s=new AbortController,r=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(this.#r=!0,s.signal)})},l=()=>{const g=yb(this.options,i),y=(()=>{const v={client:this.#s,queryKey:this.queryKey,meta:this.meta};return r(v),v})();return this.#r=!1,this.options.persister?this.options.persister(g,y,this):g(y)},f=(()=>{const g={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:l};return r(g),g})();(this.#e==="infinite"?Nj(this.options.pages):this.options.behavior)?.onFetch(f,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#o({type:"fetch",meta:f.fetchOptions?.meta}),this.#i=bb({initialPromise:i?.initialPromise,fn:f.fetchFn,onCancel:g=>{g instanceof Vf&&g.revert&&this.setState({...this.#n,fetchStatus:"idle"}),s.abort()},onFail:(g,p)=>{this.#o({type:"failed",failureCount:g,error:p})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const g=await this.#i.start();if(g===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(g),this.#a.config.onSuccess?.(g,this),this.#a.config.onSettled?.(g,this.state.error,this),g}catch(g){if(g instanceof Vf){if(g.silent)return this.#i.promise;if(g.revert){if(this.state.data===void 0)throw g;return this.state.data}}throw this.#o({type:"error",error:g}),this.#a.config.onError?.(g,this),this.#a.config.onSettled?.(this.state.data,g,this),g}finally{this.scheduleGc()}}#o(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,...Mj(s.data,this.options),fetchMeta:e.meta??null};case"success":const r={...s,...Xv(e.data,e.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const l=e.error;return{...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),wt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#a.notify({query:this,type:"updated",action:e})})}};function Mj(e,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xb(i.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Xv(e,i){return{data:e,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Kv(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 kj=class extends wb{#e;#t;#n;#a;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Oj(),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.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(i=>i!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.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.#s({type:"continue"})},s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=bb({fn:()=>this.options.mutationFn?this.options.mutationFn(e,s):Promise.reject(new Error("No mutationFn found")),onFail:(u,f)=>{this.#s({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#s({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.#s({type:"pending",variables:e,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,s);const f=await this.options.onMutate?.(e,s);f!==this.state.context&&this.#s({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.#s({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.#s({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#s(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),wt.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Oj(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var _j=class extends cc{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,i,s){const r=new kj({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(i),state:s});return this.add(r),r}add(e){this.#e.add(e);const i=ll(e);if(typeof i=="string"){const s=this.#t.get(i);s?s.push(e):this.#t.set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const i=ll(e);if(typeof i=="string"){const s=this.#t.get(i);if(s)if(s.length>1){const r=s.indexOf(e);r!==-1&&s.splice(r,1)}else s[0]===e&&this.#t.delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=ll(e);if(typeof i=="string"){const r=this.#t.get(i)?.find(l=>l.state.status==="pending");return!r||r===e}else return!0}runNext(e){const i=ll(e);return typeof i=="string"?this.#t.get(i)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){wt.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const i={exact:!0,...e};return this.getAll().find(s=>Fv(i,s))}findAll(e={}){return this.getAll().filter(i=>Fv(e,i))}notify(e){wt.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return wt.batch(()=>Promise.all(e.map(i=>i.continue().catch(on))))}};function ll(e){return e.options.scope?.id}var Pj=class extends cc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,i,s){const r=i.queryKey,l=i.queryHash??Th(r,i);let u=this.get(l);return u||(u=new Dj({client:e,queryKey:r,queryHash:l,options:e.defaultQueryOptions(i),state:s,defaultOptions:e.getQueryDefaults(r)}),this.add(u)),u}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=this.#e.get(e.queryHash);i&&(e.destroy(),i===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){wt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const i={exact:!0,...e};return this.getAll().find(s=>qv(i,s))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(s=>qv(e,s)):i}notify(e){wt.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Lj=class{#e;#t;#n;#a;#s;#i;#l;#r;constructor(e={}){this.#e=e.queryCache||new Pj,this.#t=e.mutationCache||new _j,this.#n=e.defaultOptions||{},this.#a=new Map,this.#s=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#l=pb.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#r=Ll.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#l?.(),this.#l=void 0,this.#r?.(),this.#r=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const i=this.defaultQueryOptions({queryKey:e});return this.#e.get(i.queryHash)?.state.data}ensureQueryData(e){const i=this.defaultQueryOptions(e),s=this.#e.build(this,i),r=s.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&s.isStaleByTime(Pf(i.staleTime,s))&&this.prefetchQuery(i),Promise.resolve(r))}getQueriesData(e){return this.#e.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.#e.get(r.queryHash)?.state.data,f=hj(i,u);if(f!==void 0)return this.#e.build(this,r).setData(f,{...s,manual:!0})}setQueriesData(e,i,s){return wt.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,i,s)]))}getQueryState(e){const i=this.defaultQueryOptions({queryKey:e});return this.#e.get(i.queryHash)?.state}removeQueries(e){const i=this.#e;wt.batch(()=>{i.findAll(e).forEach(s=>{i.remove(s)})})}resetQueries(e,i){const s=this.#e;return wt.batch(()=>(s.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},i)))}cancelQueries(e,i={}){const s={revert:!0,...i},r=wt.batch(()=>this.#e.findAll(e).map(l=>l.cancel(s)));return Promise.all(r).then(on).catch(on)}invalidateQueries(e,i={}){return wt.batch(()=>(this.#e.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=wt.batch(()=>this.#e.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(on)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(on)}fetchQuery(e){const i=this.defaultQueryOptions(e);i.retry===void 0&&(i.retry=!1);const s=this.#e.build(this,i);return s.isStaleByTime(Pf(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(on).catch(on)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(on).catch(on)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Ll.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,i){this.#a.set(Mr(e),{queryKey:e,defaultOptions:i})}getQueryDefaults(e){const i=[...this.#a.values()],s={};
9return i.forEach(r=>{kr(e,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(e,i){this.#s.set(Mr(e),{mutationKey:e,defaultOptions:i})}getMutationDefaults(e){const i=[...this.#s.values()],s={};return i.forEach(r=>{kr(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=Th(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===Ah&&(i.enabled=!1),i}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Vj=w.createContext(void 0),zj=({client:e,children:i})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(Vj.Provider,{value:e,children:i}));async function Bj(e){if(!e.ok){const i=await e.text()||e.statusText;throw new Error(`${e.status}: ${i}`)}}const Uj=({on401:e})=>async({queryKey:i})=>{const s=await fetch(i.join("/"),{credentials:"include"});return await Bj(s),await s.json()},Hj=new Lj({defaultOptions:{queries:{queryFn:Uj({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),qj=1,Fj=1e6;let Jd=0;function Gj(){return Jd=(Jd+1)%Number.MAX_SAFE_INTEGER,Jd.toString()}const ef=new Map,Qv=e=>{if(ef.has(e))return;const i=setTimeout(()=>{ef.delete(e),Ar({type:"REMOVE_TOAST",toastId:e})},Fj);ef.set(e,i)},Ij=(e,i)=>{switch(i.type){case"ADD_TOAST":return{...e,toasts:[i.toast,...e.toasts].slice(0,qj)};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?Qv(s):e.toasts.forEach(r=>{Qv(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)}}},El=[];let Tl={toasts:[]};function Ar(e){Tl=Ij(Tl,e),El.forEach(i=>{i(Tl)})}function Yj({...e}){const i=Gj(),s=l=>Ar({type:"UPDATE_TOAST",toast:{...l,id:i}}),r=()=>Ar({type:"DISMISS_TOAST",toastId:i});return Ar({type:"ADD_TOAST",toast:{...e,id:i,open:!0,onOpenChange:l=>{l||r()}}}),{id:i,dismiss:r,update:s}}function Xj(){const[e,i]=w.useState(Tl);return w.useEffect(()=>(El.push(i),()=>{const s=El.indexOf(i);s>-1&&El.splice(s,1)}),[e]),{...e,toast:Yj,dismiss:s=>Ar({type:"DISMISS_TOAST",toastId:s})}}var uc=ab();const Kj=ib(uc);function Ae(e,i,{checkForDefaultPrevented:s=!0}={}){return function(l){if(e?.(l),s===!1||!l.defaultPrevented)return i?.(l)}}function Zv(e,i){if(typeof e=="function")return e(i);e!=null&&(e.current=i)}function Sb(...e){return i=>{let s=!1;const r=e.map(l=>{const u=Zv(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():Zv(e[l],null)}}}}function ut(...e){return w.useCallback(Sb(...e),e)}function Qj(e,i){const s=w.createContext(i),r=u=>{const{children:f,...m}=u,g=w.useMemo(()=>m,Object.values(m));return c.jsx(s.Provider,{value:g,children:f})};r.displayName=e+"Provider";function l(u){const f=w.useContext(s);if(f)return f;if(i!==void 0)return i;throw new Error(`\`${u}\` must be used within \`${e}\``)}return[r,l]}function _i(e,i=[]){let s=[];function r(u,f){const m=w.createContext(f),g=s.length;s=[...s,f];const p=v=>{const{scope:b,children:E,...A}=v,T=b?.[e]?.[g]||m,j=w.useMemo(()=>A,Object.values(A));return c.jsx(T.Provider,{value:j,children:E})};p.displayName=u+"Provider";function y(v,b){const E=b?.[e]?.[g]||m,A=w.useContext(E);if(A)return A;if(f!==void 0)return f;throw new Error(`\`${v}\` must be used within \`${u}\``)}return[p,y]}const l=()=>{const u=s.map(f=>w.createContext(f));return function(m){const g=m?.[e]||u;return w.useMemo(()=>({[`__scope${e}`]:{...m,[e]:g}}),[m,g])}};return l.scopeName=e,[r,Zj(l,...i)]}function Zj(...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:g,scopeName:p})=>{const v=g(u)[`__scope${p}`];return{...m,...v}},{});return w.useMemo(()=>({[`__scope${i.scopeName}`]:f}),[f])}};return s.scopeName=i.scopeName,s}function Vl(e){const i=Wj(e),s=w.forwardRef((r,l)=>{const{children:u,...f}=r,m=w.Children.toArray(u),g=m.find(Jj);if(g){const p=g.props.children,y=m.map(v=>v===g?w.Children.count(p)>1?w.Children.only(null):w.isValidElement(p)?p.props.children:null:v);return c.jsx(i,{...f,ref:l,children:w.isValidElement(p)?w.cloneElement(p,void 0,y):null})}return c.jsx(i,{...f,ref:l,children:u})});return s.displayName=`${e}.Slot`,s}function Wj(e){const i=w.forwardRef((s,r)=>{const{children:l,...u}=s;if(w.isValidElement(l)){const f=tC(l),m=eC(u,l.props);return l.type!==w.Fragment&&(m.ref=r?Sb(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 Eb=Symbol("radix.slottable");function $j(e){const i=({children:s})=>c.jsx(c.Fragment,{children:s});return i.displayName=`${e}.Slottable`,i.__radixId=Eb,i}function Jj(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Eb}function eC(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 g=u(...m);return l(...m),g}:l&&(s[r]=l):r==="style"?s[r]={...l,...u}
vendor: 6,649 bytes, line 9
9:r==="className"&&(s[r]=[l,u].filter(Boolean).join(" "))}return{...e,...s}}function tC(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 Tb(e){const i=e+"CollectionProvider",[s,r]=_i(i),[l,u]=s(i,{collectionRef:{current:null},itemMap:new Map}),f=T=>{const{scope:j,children:R}=T,N=We.useRef(null),D=We.useRef(new Map).current;return c.jsx(l,{scope:j,itemMap:D,collectionRef:N,children:R})};f.displayName=i;const m=e+"CollectionSlot",g=Vl(m),p=We.forwardRef((T,j)=>{const{scope:R,children:N}=T,D=u(m,R),O=ut(j,D.collectionRef);return c.jsx(g,{ref:O,children:N})});p.displayName=m;const y=e+"CollectionItemSlot",v="data-radix-collection-item",b=Vl(y),E=We.forwardRef((T,j)=>{const{scope:R,children:N,...D}=T,O=We.useRef(null),_=ut(j,O),q=u(y,R);return We.useEffect(()=>(q.itemMap.set(O,{ref:O,...D}),()=>{q.itemMap.delete(O)})),c.jsx(b,{[v]:"",ref:_,children:N})});E.displayName=y;function A(T){const j=u(e+"CollectionConsumer",T);return We.useCallback(()=>{const N=j.collectionRef.current;if(!N)return[];const D=Array.from(N.querySelectorAll(`[${v}]`));return Array.from(j.itemMap.values()).sort((q,X)=>D.indexOf(q.ref.current)-D.indexOf(X.ref.current))},[j.collectionRef,j.itemMap])}return[{Provider:f,Slot:p,ItemSlot:E},A,r]}var nC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Be=nC.reduce((e,i)=>{const s=Vl(`Primitive.${i}`),r=w.forwardRef((l,u)=>{const{asChild:f,...m}=l,g=f?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(g,{...m,ref:u})});return r.displayName=`Primitive.${i}`,{...e,[i]:r}},{});function Ab(e,i){e&&uc.flushSync(()=>e.dispatchEvent(i))}function jn(e){const i=w.useRef(e);return w.useEffect(()=>{i.current=e}),w.useMemo(()=>(...s)=>i.current?.(...s),[])}function iC(e,i=globalThis?.document){const s=jn(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 aC="DismissableLayer",zf="dismissableLayer.update",sC="dismissableLayer.pointerDownOutside",rC="dismissableLayer.focusOutside",Wv,jb=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Br=w.forwardRef((e,i)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,onDismiss:m,...g}=e,p=w.useContext(jb),[y,v]=w.useState(null),b=y?.ownerDocument??globalThis?.document,[,E]=w.useState({}),A=ut(i,X=>v(X)),T=Array.from(p.layers),[j]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),R=T.indexOf(j),N=y?T.indexOf(y):-1,D=p.layersWithOutsidePointerEventsDisabled.size>0,O=N>=R,_=lC(X=>{const B=X.target,W=[...p.branches].some(Z=>Z.contains(B));!O||W||(l?.(X),f?.(X),X.defaultPrevented||m?.())},b),q=cC(X=>{const B=X.target;[...p.branches].some(Z=>Z.contains(B))||(u?.(X),f?.(X),X.defaultPrevented||m?.())},b);return iC(X=>{N===p.layers.size-1&&(r?.(X),!X.defaultPrevented&&m&&(X.preventDefault(),m()))},b),w.useEffect(()=>{if(y)return s&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Wv=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),$v(),()=>{s&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=Wv)}},[y,b,s,p]),w.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),$v())},[y,p]),w.useEffect(()=>{const X=()=>E({});return document.addEventListener(zf,X),()=>document.removeEventListener(zf,X)},[]),c.jsx(Be.div,{...g,ref:A,style:{pointerEvents:D?O?"auto":"none":void 0,...e.style},onFocusCapture:Ae(e.onFocusCapture,q.onFocusCapture),onBlurCapture:Ae(e.onBlurCapture,q.onBlurCapture),onPointerDownCapture:Ae(e.onPointerDownCapture,_.onPointerDownCapture)})});Br.displayName=aC;var oC="DismissableLayerBranch",Cb=w.forwardRef((e,i)=>{const s=w.useContext(jb),r=w.useRef(null),l=ut(i,r);return w.useEffect(()=>{const u=r.current;if(u)return s.branches.add(u),()=>{s.branches.delete(u)}},[s.branches]),c.jsx(Be.div,{...e,ref:l})});Cb.displayName=oC;function lC(e,i=globalThis?.document){const s=jn(e),r=w.useRef(!1),l=w.useRef(()=>{});return w.useEffect(()=>{const u=m=>{if(m.target&&!r.current){let g=function(){Nb(sC,s,p,{discrete:!0})};const p={originalEvent:m};m.pointerType==="touch"?(i.removeEventListener("click",l.current),l.current=g,i.addEventListener("click",l.current,{once:!0})):g()}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 cC(e,i=globalThis?.document){const s=jn(e),r=w.useRef(!1);return w.useEffect(()=>{const l=u=>{u.target&&!r.current&&Nb(rC,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 $v(){const e=new CustomEvent(zf);document.dispatchEvent(e)}function Nb(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?Ab(l,u):l.dispatchEvent(u)}var uC=Br,dC=Cb,Cn=globalThis?.document?w.useLayoutEffect:()=>{},fC="Portal",dc=w.forwardRef((e,i)=>{const{container:s,...r}=e,[l,u]=w.useState(!1);Cn(()=>u(!0),[]);const f=s||l&&globalThis?.document?.body;return f?Kj.createPortal(c.jsx(Be.div,{...r,ref:i}),f):null});dc.displayName=fC;function hC(e,i){return w.useReducer((s,r)=>i[s][r]??s,e)}var Qn=e=>{const{present:i,children:s}=e,r=mC(i),l=typeof s=="function"?s({present:r.isPresent}):w.Children.only(s),u=ut(r.ref,pC(l));return typeof s=="function"||r.isPresent?w.cloneElement(l,{ref:u}):null};Qn.displayName="Presence";function mC(e){const[i,s]=w.useState(),r=w.useRef(null),l=w.useRef(e),u=w.useRef("none"),f=e?"mounted":"unmounted",[m,g]=hC(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const p=cl(r.current);u.current=m==="mounted"?p:"none"},[m]),Cn(()=>{const p=r.current,y=l.current;if(y!==e){const b=u.current,E=cl(p);e?g("MOUNT"):E==="none"||p?.display==="none"?g("UNMOUNT"):g(y&&b!==E?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,g]),Cn(()=>
9{if(i){let p;const y=i.ownerDocument.defaultView??window,v=E=>{const T=cl(r.current).includes(CSS.escape(E.animationName));if(E.target===i&&T&&(g("ANIMATION_END"),!l.current)){const j=i.style.animationFillMode;i.style.animationFillMode="forwards",p=y.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=j)})}},b=E=>{E.target===i&&(u.current=cl(r.current))};return i.addEventListener("animationstart",b),i.addEventListener("animationcancel",v),i.addEventListener("animationend",v),()=>{y.clearTimeout(p),i.removeEventListener("animationstart",b),i.removeEventListener("animationcancel",v),i.removeEventListener("animationend",v)}}else g("ANIMATION_END")},[i,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:w.useCallback(p=>{r.current=p?getComputedStyle(p):null,s(p)},[])}}function cl(e){return e?.animationName||"none"}function pC(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 gC=bh[" useInsertionEffect ".trim().toString()]||Cn;function ms({prop:e,defaultProp:i,onChange:s=()=>{},caller:r}){const[l,u,f]=yC({defaultProp:i,onChange:s}),m=e!==void 0,g=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 p=w.useCallback(y=>{if(m){const v=vC(y)?y(e):y;v!==e&&f.current?.(v)}else u(y)},[m,e,u,f]);return[g,p]}function yC({defaultProp:e,onChange:i}){const[s,r]=w.useState(e),l=w.useRef(s),u=w.useRef(i);return gC(()=>{u.current=i},[i]),w.useEffect(()=>{l.current!==s&&(u.current?.(s),l.current=s)},[s,l]),[s,r,u]}function vC(e){return typeof e=="function"}var xC=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"}),bC="VisuallyHidden",fc=w.forwardRef((e,i)=>c.jsx(Be.span,{...e,ref:i,style:{...xC,...e.style}}));fc.displayName=bC;var wC=fc,jh="ToastProvider",[Ch,SC,EC]=Tb("Toast"),[Rb]=_i("Toast",[EC]),[TC,hc]=Rb(jh),Db=e=>{const{__scopeToast:i,label:s="Notification",duration:r=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:f}=e,[m,g]=w.useState(null),[p,y]=w.useState(0),v=w.useRef(!1),b=w.useRef(!1);return s.trim()||console.error(`Invalid prop \`label\` supplied to \`${jh}\`. Expected non-empty \`string\`.`),c.jsx(Ch.Provider,{scope:i,children:c.jsx(TC,{scope:i,label:s,duration:r,swipeDirection:l,swipeThreshold:u,toastCount:p,viewport:m,onViewportChange:g,onToastAdd:w.useCallback(()=>y(E=>E+1),[]),onToastRemove:w.useCallback(()=>y(E=>E-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:b,children:f})})};Db.displayName=jh;var Mb="ToastViewport",AC=["F8"],Bf="toast.viewportPause",Uf="toast.viewportResume",kb=w.forwardRef((e,i)=>{const{__scopeToast:s,hotkey:r=AC,label:l="Notifications ({hotkey})",...u}=e,f=hc(Mb,s),m=SC(s),g=w.useRef(null),p=w.useRef(null),y=w.useRef(null),v=w.useRef(null),b=ut(i,v,f.onViewportChange),E=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=f.toastCount>0;w.useEffect(()=>{const j=R=>{r.length!==0&&r.every(D=>R[D]||R.code===D)&&v.current?.focus()};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[r]),w.useEffect(()=>{const j=g.current,R=v.current;if(A&&j&&R){const N=()=>{if(!f.isClosePausedRef.current){const q=new CustomEvent(Bf);R.dispatchEvent(q),f.isClosePausedRef.current=!0}},D=()=>{if(f.isClosePausedRef.current){const q=new CustomEvent(Uf);R.dispatchEvent(q),f.isClosePausedRef.current=!1}},O=q=>{!j.contains(q.relatedTarget)&&D()},_=()=>{j.contains(document.activeElement)||D()};return j.addEventListener("focusin",N),j.addEventListener("focusout",O),j.addEventListener("pointermove",N),j.addEventListener("pointerleave",_),window.addEventListener("blur",N),window.addEventListener("focus",D),()=>{j.removeEventListener("focusin",N),j.removeEventListener("focusout",O),j.removeEventListener("pointermove",N),j.removeEventListener("pointerleave",_),window.removeEventListener("blur",N),window.removeEventListener("focus",D)}}},[A,f.isClosePausedRef]);const T=w.useCallback(({tabbingDirection:j})=>{const N=m().map(D=>{const O=D.ref.current,_=[O,...zC(O)];return j==="forwards"?_:_.reverse()});return(j==="forwards"?N.reverse():N).flat()},[m]);return w.useEffect(()=>{const j=v.current;if(j){const R=N=>{const D=N.altKey||N.ctrlKey||N.metaKey;if(N.key==="Tab"&&!D){const _=document.activeElement,q=N.shiftKey;if(N.target===j&&q){p.current?.focus();return}const W=T({tabbingDirection:q?"backwards":"forwards"}),Z=W.findIndex(ae=>ae===_);tf(W.slice(Z+1))?N.preventDefault():q?p.current?.focus():y.current?.focus()}};return j.addEventListener("keydown",R),()=>j.removeEventListener("keydown",R)}},[m,T]),c.jsxs(dC,{ref:g,role:"region","aria-label":l.replace("{hotkey}",E),tabIndex:-1,style:{pointerEvents:A?void 0:"none"},children:[A&&c.jsx(Hf,{ref:p,onFocusFromOutsideViewport:()=>{const j=T({tabbingDirection:"forwards"});tf(j)}}),c.jsx(Ch.Slot,{scope:s,children:c.jsx(Be.ol,{tabIndex:-1,...u,ref:b})}),A&&c.jsx(Hf,{ref:y,onFocusFromOutsideViewport:()=>{const j=T({tabbingDirection:"backwards"});tf(j)}})]})});kb.displayName=Mb;var Ob="ToastFocusProxy",Hf=w.forwardRef((e,i)=>{const{__scopeToast:s,onFocusFromOutsideViewport:r,...l}=e,u=hc(Ob,s);return c.jsx(fc,{tabIndex:0,...l,ref:i,style:{position:"fixed"},onFocus:f=>{const m=f.relatedTarget;!u.viewport?.contains(m)&&r()}})});Hf.displayName=Ob;var Ur="Toast",jC="toast.swipeStart",CC="toast.swipeMove",NC="toast.swipeCancel",RC="toast.swipeEnd",_b=w.forwardRef((e,i)=>{const{forceMount:s,open:r,defaultOpen:l,onOpenChange:u,...f}=e,[m,g]=ms({prop:r,defaultProp:l??!0,onChange:u,caller:Ur});return c.jsx(Qn,{present:s||m,children:c.jsx(kC,{open:m,...f,ref:i,onClose:()=>g(!1),onPause:jn(e.onPause),onResume:jn(e.onResume),onSwipeStart:Ae(e.onSwipeStart,p=>{p.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ae(e.onSwipeMove,p=>{const{x:y,y:v}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","move"),p.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Ae(e.onSwipeCancel,p=>{p.currentTarget.setAttribute("data-swipe","cancel"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ae(e.onSwipeEnd,p=>{const{x:y,y:v}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","end"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),g(!1)})})})});
9_b.displayName=Ur;var[DC,MC]=Rb(Ur,{onClose(){}}),kC=w.forwardRef((e,i)=>{const{__scopeToast:s,type:r="foreground",duration:l,open:u,onClose:f,onEscapeKeyDown:m,onPause:g,onResume:p,onSwipeStart:y,onSwipeMove:v,onSwipeCancel:b,onSwipeEnd:E,...A}=e,T=hc(Ur,s),[j,R]=w.useState(null),N=ut(i,J=>R(J)),D=w.useRef(null),O=w.useRef(null),_=l||T.duration,q=w.useRef(0),X=w.useRef(_),B=w.useRef(0),{onToastAdd:W,onToastRemove:Z}=T,ae=jn(()=>{j?.contains(document.activeElement)&&T.viewport?.focus(),f()}),ne=w.useCallback(J=>{!J||J===1/0||(window.clearTimeout(B.current),q.current=new Date().getTime(),B.current=window.setTimeout(ae,J))},[ae]);w.useEffect(()=>{const J=T.viewport;if(J){const ue=()=>{ne(X.current),p?.()},L=()=>{const Q=new Date().getTime()-q.current;X.current=X.current-Q,window.clearTimeout(B.current),g?.()};return J.addEventListener(Bf,L),J.addEventListener(Uf,ue),()=>{J.removeEventListener(Bf,L),J.removeEventListener(Uf,ue)}}},[T.viewport,_,g,p,ne]),w.useEffect(()=>{u&&!T.isClosePausedRef.current&&ne(_)},[u,_,T.isClosePausedRef,ne]),w.useEffect(()=>(W(),()=>Z()),[W,Z]);const ye=w.useMemo(()=>j?Hb(j):null,[j]);return T.viewport?c.jsxs(c.Fragment,{children:[ye&&c.jsx(OC,{__scopeToast:s,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:ye}),c.jsx(DC,{scope:s,onClose:ae,children:uc.createPortal(c.jsx(Ch.ItemSlot,{scope:s,children:c.jsx(uC,{asChild:!0,onEscapeKeyDown:Ae(m,()=>{T.isFocusedToastEscapeKeyDownRef.current||ae(),T.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(Be.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":T.swipeDirection,...A,ref:N,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ae(e.onKeyDown,J=>{J.key==="Escape"&&(m?.(J.nativeEvent),J.nativeEvent.defaultPrevented||(T.isFocusedToastEscapeKeyDownRef.current=!0,ae()))}),onPointerDown:Ae(e.onPointerDown,J=>{J.button===0&&(D.current={x:J.clientX,y:J.clientY})}),onPointerMove:Ae(e.onPointerMove,J=>{if(!D.current)return;const ue=J.clientX-D.current.x,L=J.clientY-D.current.y,Q=!!O.current,G=["left","right"].includes(T.swipeDirection),ie=["left","up"].includes(T.swipeDirection)?Math.min:Math.max,C=G?ie(0,ue):0,I=G?0:ie(0,L),ee=J.pointerType==="touch"?10:2,$={x:C,y:I},de={originalEvent:J,delta:$};Q?(O.current=$,ul(CC,v,de,{discrete:!1})):Jv($,T.swipeDirection,ee)?(O.current=$,ul(jC,y,de,{discrete:!1}),J.target.setPointerCapture(J.pointerId)):(Math.abs(ue)>ee||Math.abs(L)>ee)&&(D.current=null)}),onPointerUp:Ae(e.onPointerUp,J=>{const ue=O.current,L=J.target;if(L.hasPointerCapture(J.pointerId)&&L.releasePointerCapture(J.pointerId),O.current=null,D.current=null,ue){const Q=J.currentTarget,G={originalEvent:J,delta:ue};Jv(ue,T.swipeDirection,T.swipeThreshold)?ul(RC,E,G,{discrete:!0}):ul(NC,b,G,{discrete:!0}),Q.addEventListener("click",ie=>ie.preventDefault(),{once:!0})}})})})}),T.viewport)})]}):null}),OC=e=>{const{__scopeToast:i,children:s,...r}=e,l=hc(Ur,i),[u,f]=w.useState(!1),[m,g]=w.useState(!1);return LC(()=>f(!0)),w.useEffect(()=>{const p=window.setTimeout(()=>g(!0),1e3);return()=>window.clearTimeout(p)},[]),m?null:c.jsx(dc,{asChild:!0,children:c.jsx(fc,{...r,children:u&&c.jsxs(c.Fragment,{children:[l.label," ",s]})})})}
9,_C="ToastTitle",Pb=w.forwardRef((e,i)=>{const{__scopeToast:s,...r}=e;return c.jsx(Be.div,{...r,ref:i})});Pb.displayName=_C;var PC="ToastDescription",Lb=w.forwardRef((e,i)=>{const{__scopeToast:s,...r}=e;return c.jsx(Be.div,{...r,ref:i})});Lb.displayName=PC;var Vb="ToastAction",zb=w.forwardRef((e,i)=>{const{altText:s,...r}=e;return s.trim()?c.jsx(Ub,{altText:s,asChild:!0,children:c.jsx(Nh,{...r,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${Vb}\`. Expected non-empty \`string\`.`),null)});zb.displayName=Vb;var Bb="ToastClose",Nh=w.forwardRef((e,i)=>{const{__scopeToast:s,...r}=e,l=MC(Bb,s);return c.jsx(Ub,{asChild:!0,children:c.jsx(Be.button,{type:"button",...r,ref:i,onClick:Ae(e.onClick,l.onClose)})})});Nh.displayName=Bb;var Ub=w.forwardRef((e,i)=>{const{__scopeToast:s,altText:r,...l}=e;return c.jsx(Be.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...l,ref:i})});function Hb(e){const i=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&i.push(r.textContent),VC(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(...Hb(r))}}),i}function ul(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?Ab(l,u):l.dispatchEvent(u)}var Jv=(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 LC(e=()=>{}){const i=jn(e);Cn(()=>{let s=0,r=0;return s=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(s),window.cancelAnimationFrame(r)}},[i])}function VC(e){return e.nodeType===e.ELEMENT_NODE}function zC(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 tf(e){const i=document.activeElement;return e.some(s=>s===i?!0:(s.focus(),document.activeElement!==i))}var BC=Db,qb=kb,Fb=_b,Gb=Pb,Ib=Lb,Yb=zb,Xb=Nh;function Kb(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=Kb(e[i]))&&(r&&(r+=" "),r+=s)}else for(s in e)e[s]&&(r&&(r+=" "),r+=s);return r}function Qb(){for(var e,i,s=0,r="",l=arguments.length;s<l;s++)(e=arguments[s])&&(i=Kb(e))&&(r&&(r+=" "),r+=i);return r}const ex=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,tx=Qb,UC=(e,i)=>s=>{var r;if(i?.variants==null)return tx(e,s?.class,s?.className);const{variants:l,defaultVariants:u}=i,f=Object.keys(l).map(p=>{const y=s?.[p],v=u?.[p];if(y===null)return null;const b=ex(y)||ex(v);return l[p][b]}),m=s&&Object.entries(s).reduce((p,y)=>{let[v,b]=y;return b===void 0||(p[v]=b),p},{}),g=i==null||(r=i.compoundVariants)===null||r===void 0?void 0:r.reduce((p,y)=>{let{class:v,className:b,...E}=y;return Object.entries(E).every(A=>{let[T,j]=A;return Array.isArray(j)?j.includes({...u,...m}[T]):{...u,...m}[T]===j})?[...p,v,b]:p},[]);return tx(e,f,g,s?.class,s?.className)};const HC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),qC=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,r)=>r?r.toUpperCase():s.toLowerCase()),nx=e=>{const i=qC(e);return i.charAt(0).toUpperCase()+i.slice(1)},Zb=(...e)=>e.filter((i,s,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===s).join(" ").trim(),FC=e=>{for(const i in e)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};var GC={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 IC=w.forwardRef(({color:e="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:f,...m},g)=>w.createElement("svg",{ref:g,...GC,width:i,height:i,stroke:e,strokeWidth:r?Number(s)*24/Number(i):s,className:Zb("lucide",l),...!u&&!FC(m)&&{"aria-hidden":"true"},...m},[...f.map(([p,y])=>w.createElement(p,y)),...Array.isArray(u)?u:[u]]));const Te=(e,i)=>{const s=w.forwardRef(({className:r,...l},u)=>w.createElement(IC,{ref:u,iconNode:i,className:Zb(`lucide-${HC(nx(e))}`,`lucide-${e}`,r),...l}));return s.displayName=nx(e),s};const YC=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ri=Te("arrow-right",YC);const XC=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Sr=Te("arrow-up-right",XC);const KC=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Rh=Te("book-open",KC);const QC=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],ZC=Te("calendar",QC);const WC=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],sa=Te("check",WC);const $C=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Dh=Te("chevron-down",$C);const JC=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],eN=Te("chevron-left",JC);const tN=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Wb=Te("chevron-right",tN);const nN=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],iN=Te("chevron-up",nN);const aN=[["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"}]],sN=Te("circle-alert",aN);const rN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}
9]],oN=Te("circle-check",rN);const lN=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],ix=Te("database",lN);const cN=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],uN=Te("external-link",cN);const dN=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],$b=Te("eye",dN);const fN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],qf=Te("file-check",fN);const hN=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Ni=Te("file-text",hN);const mN=[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]],Jb=Te("folder-tree",mN);const pN=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],ax=Te("layers",pN);const gN=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],yN=Te("linkedin",gN);const vN=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],Mh=Te("list-checks",vN);const xN=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],bN=Te("loader-circle",xN);const wN=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Or=Te("lock",wN);const SN=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],kh=Te("mail",SN);const EN=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],e1=Te("map-pin",EN);const TN=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],t1=Te("menu",TN);const AN=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],jN=Te("message-square",AN);const CN=[["path",{d:"M5 12h14",key:"1ays0h"}]],NN=Te("minus",CN);const RN=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],DN=Te("network",RN);const MN=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],kN=Te("plus",MN);const ON=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],n1=Te("server",ON);const _N=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 4,239 bytes, line 9
9y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],PN=Te("shield-alert",_N);const LN=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],VN=Te("shield",LN);const zN=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],i1=Te("sparkles",zN);const BN=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],UN=Te("triangle-alert",BN);const HN=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],qN=Te("users",HN);const FN=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Oh=Te("x",FN),GN=(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},IN=(e,i)=>({classGroupId:e,validator:i}),a1=(e=new Map,i=null,s)=>({nextPart:e,validators:i,classGroupId:s}),zl="-",sx=[],YN="arbitrary..",XN=e=>{const i=QN(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return KN(f);const m=f.split(zl),g=m[0]===""&&m.length>1?1:0;return s1(m,g,i)},getConflictingClassGroupIds:(f,m)=>{if(m){const g=r[f],p=s[f];return g?p?GN(p,g):g:p||sx}return s[f]||sx}}},s1=(e,i,s)=>{if(e.length-i===0)return s.classGroupId;const l=e[i],u=s.nextPart.get(l);if(u){const p=s1(e,i+1,u);if(p)return p}const f=s.validators;if(f===null)return;const m=i===0?e.join(zl):e.slice(i).join(zl),g=f.length;for(let p=0;p<g;p++){const y=f[p];if(y.validator(m))return y.classGroupId}},KN=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?YN+r:void 0})(),QN=e=>{const{theme:i,classGroups:s}=e;return ZN(s,i)},ZN=(e,i)=>{const s=a1();for(const r in e){const l=e[r];_h(l,s,r,i)}return s},_h=(e,i,s,r)=>{const l=e.length;for(let u=0;u<l;u++){const f=e[u];WN(f,i,s,r)}},WN=(e,i,s,r)=>{if(typeof e=="string"){$N(e,i,s);return}if(typeof e=="function"){JN(e,i,s,r);return}eR(e,i,s,r)},$N=(e,i,s)=>{const r=e===""?i:r1(i,e);r.classGroupId=s},JN=(e,i,s,r)=>{if(tR(e)){_h(e(r),i,s,r);return}i.validators===null&&(i.validators=[]),i.validators.push(IN(s,e))},eR=(e,i,s,r)=>{const l=Object.entries(e),u=l.length;for(let f=0;f<u;f++){const[m,g]=l[f];_h(g,r1(i,m),s,r)}},r1=(e,i)=>{let s=e;const r=i.split(zl),l=r.length;for(let u=0;u<l;u++){const f=r[u];let m=s.nextPart.get(f);m||(m=a1(),s.nextPart.set(f,m)),s=m}return s},tR=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,nR=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)}}},Ff="!",rx=":",iR=[],ox=(e,i,s,r,l)=>({modifiers:e,hasImportantModifier:i,baseClassName:s,maybePostfixModifierPosition:r,isExternal:l}),aR=e=>{const{prefix:i,experimentalParseClassName:s}=e;let r=l=>{const u=[];let f=0,m=0,g=0,p;const y=l.length;for(let T=0;T<y;T++){const j=l[T];if(f===0&&m===0){if(j===rx){u.push(l.slice(g,T)),g=T+1;continue}if(j==="/"){p=T;continue}}j==="["?f++:j==="]"?f--:j==="("?m++:j===")"&&m--}const v=u.length===0?l:l.slice(g);let b=v,E=!1;v.endsWith(Ff)?(b=v.slice(0,-1),E=!0):v.startsWith(Ff)&&(b=v.slice(1),E=!0);const A=p&&p>g?p-g:void 0;return ox(u,E,b,A)};if(i){const l=i+rx,u=r;r=f=>f.startsWith(l)?u(f.slice(l.length)):ox(iR,!1,f,void 0,!0)}if(s){const l=r;r=u=>s({className:u,parseClassName:l})}return r},sR=e=>{const i=new Map;
vendor: 5,459 bytes, line 9
9return 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]==="[",g=i.has(f);m||g?(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}},rR=e=>({cache:nR(e.cacheSize),parseClassName:aR(e),sortModifiers:sR(e),...XN(e)}),oR=/\s+/,lR=(e,i)=>{const{parseClassName:s,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:u}=i,f=[],m=e.trim().split(oR);let g="";for(let p=m.length-1;p>=0;p-=1){const y=m[p],{isExternal:v,modifiers:b,hasImportantModifier:E,baseClassName:A,maybePostfixModifierPosition:T}=s(y);if(v){g=y+(g.length>0?" "+g:g);continue}let j=!!T,R=r(j?A.substring(0,T):A);if(!R){if(!j){g=y+(g.length>0?" "+g:g);continue}if(R=r(A),!R){g=y+(g.length>0?" "+g:g);continue}j=!1}const N=b.length===0?"":b.length===1?b[0]:u(b).join(":"),D=E?N+Ff:N,O=D+R;if(f.indexOf(O)>-1)continue;f.push(O);const _=l(R,j);for(let q=0;q<_.length;++q){const X=_[q];f.push(D+X)}g=y+(g.length>0?" "+g:g)}return g},cR=(...e)=>{let i=0,s,r,l="";for(;i<e.length;)(s=e[i++])&&(r=o1(s))&&(l&&(l+=" "),l+=r);return l},o1=e=>{if(typeof e=="string")return e;let i,s="";for(let r=0;r<e.length;r++)e[r]&&(i=o1(e[r]))&&(s&&(s+=" "),s+=i);return s},uR=(e,...i)=>{let s,r,l,u;const f=g=>{const p=i.reduce((y,v)=>v(y),e());return s=rR(p),r=s.cache.get,l=s.cache.set,u=m,m(g)},m=g=>{const p=r(g);if(p)return p;const y=lR(g,s);return l(g,y),y};return u=f,(...g)=>u(cR(...g))},dR=[],it=e=>{const i=s=>s[e]||dR;return i.isThemeGetter=!0,i},l1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,c1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fR=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,hR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mR=/\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$/,pR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,gR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ei=e=>fR.test(e),be=e=>!!e&&!Number.isNaN(Number(e)),Ti=e=>!!e&&Number.isInteger(Number(e)),nf=e=>e.endsWith("%")&&be(e.slice(0,-1)),Yn=e=>hR.test(e),u1=()=>!0,vR=e=>mR.test(e)&&!pR.test(e),Ph=()=>!1,xR=e=>gR.test(e),bR=e=>yR.test(e),wR=e=>!re(e)&&!le(e),SR=e=>Pi(e,h1,Ph),re=e=>l1.test(e),ta=e=>Pi(e,m1,vR),lx=e=>Pi(e,DR,be),ER=e=>Pi(e,g1,u1),TR=e=>Pi(e,p1,Ph),cx=e=>Pi(e,d1,Ph),AR=e=>Pi(e,f1,bR),dl=e=>Pi(e,y1,xR),le=e=>c1.test(e),xr=e=>ha(e,m1),jR=e=>ha(e,p1),ux=e=>ha(e,d1),CR=e=>ha(e,h1),NR=e=>ha(e,f1),fl=e=>ha(e,y1,!0),RR=e=>ha(e,g1,!0),Pi=(e,i,s)=>{const r=l1.exec(e);return r?r[1]?i(r[1]):s(r[2]):!1},ha=(e,i,s=!1)=>{const r=c1.exec(e);return r?r[1]?i(r[1]):s:!1},d1=e=>e==="position"||e==="percentage",f1=e=>e==="image"||e==="url",h1=e=>e==="length"||e==="size"||e==="bg-size",m1=e=>e==="length",DR=e=>e==="number",p1=e=>e==="family-name",g1=e=>e==="number"||e==="weight",y1=e=>e==="shadow",MR=()=>{const e=it("color"),i=it("font"),s=it("text"),r=it("font-weight"),l=it("tracking"),u=it("leading"),f=it("breakpoint"),m=it("container"),g=it("spacing"),p=it("radius"),y=it("shadow"),v=it("inset-shadow"),b=it("text-shadow"),E=it("drop-shadow"),A=it("blur"),T=it("perspective"),j=it("aspect"),R=it("ease"),N=it("animate"),D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],_=()=>[...O(),le,re],q=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto","contain","none"],B=()=>[le,re,g],W=()=>[Ei,"full","auto",...B()],Z=()=>[Ti,"none","subgrid",le,re],ae=()=>["auto",{span:["full",Ti,le,re]},Ti,le,re],ne=()=>[Ti,"auto",le,re],ye=()=>["auto","min","max","fr",le,re],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ue=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...B()],Q=()=>[Ei,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],G=()=>[Ei,"screen","full","dvw","lvw","svw","min","max","fit",...B()],ie=()=>[Ei,"screen","full","lh","dvh","lvh","svh","min","max","fit",...B()],C=()=>[e,le,re],I=()=>[...O(),ux,cx,{position:[le,re]}],ee=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",CR,SR,{size:[le,re]}],de=()=>[nf,xr,ta],me=()=>["","none","full",p,le,re],ce=()=>["",be,xr,ta],He=()=>["solid","dashed","dotted","double"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],De=()=>[be,nf,ux,cx],Wn=()=>["","none",A,le,re],en=()=>["none",be,le,re],hn=()=>["none",be,le,re],Ht=()=>[be,le,re],$n=()=>[Ei,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Yn],breakpoint:[Yn],color:[u1],container:[Yn],"drop-shadow":[Yn],ease:["in","out","in-out"],font:[wR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Yn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Yn],shadow:[Yn],spacing:["px",be],text:[Yn],"text-shadow":[Yn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ei,re,le,j]}
vendor: 6,076 bytes, line 9
9],container:["container"],columns:[{columns:[be,re,le,m]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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:_()}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{"inset-s":W(),start:W()}],end:[{"inset-e":W(),end:W()}],"inset-bs":[{"inset-bs":W()}],"inset-be":[{"inset-be":W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[Ti,"auto",le,re]}],basis:[{basis:[Ei,"full","auto",m,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,Ei,"auto","initial","none",re]}],grow:[{grow:["",be,le,re]}],shrink:[{shrink:["",be,le,re]}],order:[{order:[Ti,"first","last","none",le,re]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ye()}],"auto-rows":[{"auto-rows":ye()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...ue(),"normal"]}],"justify-self":[{"justify-self":["auto",...ue()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...ue(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ue(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...ue(),"baseline"]}],"place-self":[{"place-self":["auto",...ue()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pbs:[{pbs:B()}],pbe:[{pbe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],"inline-size":[{inline:["auto",...G()]}],"min-inline-size":[{"min-inline":["auto",...G()]}],"max-inline-size":[{"max-inline":["none",...G()]}],"block-size":[{block:["auto",...ie()]}],"min-block-size":[{"min-block":["auto",...ie()]}],"max-block-size":[{"max-block":["none",...ie()]}],w:[{w:[m,"screen",...Q()]}],"min-w":[{"min-w":[m,"screen","none",...Q()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[f]},...Q()]}],h:[{h:["screen","lh",...Q()]}],"min-h":[{"min-h":["screen","lh","none",...Q()]}],"max-h":[{"max-h":["screen","lh",...Q()]}],"font-size":[{text:["base",s,xr,ta]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,RR,ER]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",nf,re]}],"font-family":[{font:[jR,TR,i]}],"font-features":[{"font-features":[re]}],"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,le,re]}],"line-clamp":[{"line-clamp":[be,"none",le,lx]}],leading:[{leading:[u,...B()]}],"list-image":[{"list-image":["none",le,re]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,re]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:C()}],"text-color":[{text:C()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...He(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",le,ta]}],"text-decoration-color":[{decoration:C()}],"underline-offset":[{"underline-offset":[be,"auto",le,re]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,re]}],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",le,re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:I()}],"bg-repeat":[{bg:ee()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ti,le,re],radial:["",le,re],conic:[Ti,le,re]},NR,AR]}],"bg-color":[{bg:C()}
vendor: 12,159 bytes, line 9
9],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-bs":[{"border-bs":ce()}],"border-w-be":[{"border-be":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...He(),"hidden","none"]}],"divide-style":[{divide:[...He(),"hidden","none"]}],"border-color":[{border:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-bs":[{"border-bs":C()}],"border-color-be":[{"border-be":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"outline-style":[{outline:[...He(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,le,re]}],"outline-w":[{outline:["",be,xr,ta]}],"outline-color":[{outline:C()}],shadow:[{shadow:["","none",y,fl,dl]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",v,fl,dl]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[be,ta]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",b,fl,dl]}],"text-shadow-color":[{"text-shadow":C()}],opacity:[{opacity:[be,le,re]}],"mix-blend":[{"mix-blend":[...Re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":De()}],"mask-image-linear-to-pos":[{"mask-linear-to":De()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":De()}],"mask-image-t-to-pos":[{"mask-t-to":De()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":De()}],"mask-image-r-to-pos":[{"mask-r-to":De()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":De()}],"mask-image-b-to-pos":[{"mask-b-to":De()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":De()}],"mask-image-l-to-pos":[{"mask-l-to":De()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":De()}],"mask-image-x-to-pos":[{"mask-x-to":De()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":De()}],"mask-image-y-to-pos":[{"mask-y-to":De()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[le,re]}],"mask-image-radial-from-pos":[{"mask-radial-from":De()}],"mask-image-radial-to-pos":[{"mask-radial-to":De()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"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":O()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":De()}],"mask-image-conic-to-pos":[{"mask-conic-to":De()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:I()}],"mask-repeat":[{mask:ee()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,re]}],filter:[{filter:["","none",le,re]}],blur:[{blur:Wn()}],brightness:[{brightness:[be,le,re]}],contrast:[{contrast:[be,le,re]}],"drop-shadow":[{"drop-shadow":["","none",E,fl,dl]}],"drop-shadow-color":[{"drop-shadow":C()}],grayscale:[{grayscale:["",be,le,re]}],"hue-rotate":[{"hue-rotate":[be,le,re]}],invert:[{invert:["",be,le,re]}],saturate:[{saturate:[be,le,re]}],sepia:[{sepia:["",be,le,re]}],"backdrop-filter":[{"backdrop-filter":["","none",le,re]}],"backdrop-blur":[{"backdrop-blur":Wn()}],"backdrop-brightness":[{"backdrop-brightness":[be,le,re]}],"backdrop-contrast":[{"backdrop-contrast":[be,le,re]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,le,re]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,le,re]}],"backdrop-invert":[{"backdrop-invert":["",be,le,re]}],"backdrop-opacity":[{"backdrop-opacity":[be,le,re]}],"backdrop-saturate":[{"backdrop-saturate":[be,le,re]}],"backdrop-sepia":[{"backdrop-sepia":["",be,le,re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,re]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",le,re]}],ease:[{ease:["linear","initial",R,le,re]}],delay:[{delay:[be,le,re]}],animate:[{animate:["none",N,le,re]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,le,re]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:en()}],"rotate-x":[{"rotate-x":en()}],"rotate-y":[{"rotate-y":en()}],"rotate-z":[{"rotate-z":en()}],scale:[{scale:hn()}],"scale-x":[{"scale-x":hn()}],"scale-y":[{"scale-y":hn()}],"scale-z":[{"scale-z":hn()}],"scale-3d":["scale-3d"],skew:[{skew:Ht()}],"skew-x":[{"skew-x":Ht()}],"skew-y":[{"skew-y":Ht()}],transform:[{transform:[le,re,"","none","gpu","cpu"]}],"transform-origin":[{origin:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$n()}],"translate-x":[{"translate-x":$n()}],"translate-y":[{"translate-y":$n()}],"translate-z":[{"translate-z":$n()}],"translate-none":["translate-none"],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}],"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",le,re]}],"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":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mbs":[{"scroll-mbs":B()}],"scroll-mbe":[{"scroll-mbe":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pbs":[{"scroll-pbs":B()}],"scroll-pbe":[{"scroll-pbe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",le,re]}],fill:[{fill:["none",...C()]}],"stroke-w":[{stroke:[be,xr,ta,lx]}],stroke:[{stroke:["none",...C()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}
9,kR=uR(MR);function Ie(...e){return kR(Qb(e))}const OR=BC,v1=w.forwardRef(({className:e,...i},s)=>c.jsx(qb,{ref:s,className:Ie("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}));v1.displayName=qb.displayName;const _R=UC("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"}}),x1=w.forwardRef(({className:e,variant:i,...s},r)=>c.jsx(Fb,{ref:r,className:Ie(_R({variant:i}),e),...s}));x1.displayName=Fb.displayName;const PR=w.forwardRef(({className:e,...i},s)=>c.jsx(Yb,{ref:s,className:Ie("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}));PR.displayName=Yb.displayName;const b1=w.forwardRef(({className:e,...i},s)=>c.jsx(Xb,{ref:s,className:Ie("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:c.jsx(Oh,{className:"h-4 w-4"})}));b1.displayName=Xb.displayName;const w1=w.forwardRef(({className:e,...i},s)=>c.jsx(Gb,{ref:s,className:Ie("text-sm font-semibold",e),...i}));w1.displayName=Gb.displayName;const S1=w.forwardRef(({className:e,...i},s)=>c.jsx(Ib,{ref:s,className:Ie("text-sm opacity-90",e),...i}));S1.displayName=Ib.displayName;function LR(){const{toasts:e}=Xj();return c.jsxs(OR,{children:[e.map(function({id:i,title:s,description:r,action:l,...u}){return c.jsxs(x1,{...u,children:[c.jsxs("div",{className:"grid gap-1",children:[s&&c.jsx(w1,{children:s}),r&&c.jsx(S1,{children:r})]}),l,c.jsx(b1,{})]},i)}),c.jsx(v1,{})]})}var VR=bh[" useId ".trim().toString()]||(()=>{}),zR=0;function jr(e){const[i,s]=w.useState(VR());return Cn(()=>{s(r=>r??String(zR++))},[e]),i?`radix-${i}`:""}const BR=["top","right","bottom","left"],Di=Math.min,zt=Math.max,Bl=Math.round,hl=Math.floor,Tn=e=>({x:e,y:e}),UR={left:"right",right:"left",bottom:"top",top:"bottom"};function Gf(e,i,s){return zt(e,Di(i,s))}function Xn(e,i){return typeof e=="function"?e(i):e}function Kn(e){return e.split("-")[0]}function ps(e){return e.split("-")[1]}function Lh(e){return e==="x"?"y":"x"}function Vh(e){return e==="y"?"height":"width"}function En(e){const i=e[0];return i==="t"||i==="b"?"y":"x"}function zh(e){return Lh(En(e))}function HR(e,i,s){s===void 0&&(s=!1);const r=ps(e),l=zh(e),u=Vh(l);let f=l==="x"?r===(s?"end":"start")?"right":"left":r==="start"?"bottom":"top";return i.reference[u]>i.floating[u]&&(f=Ul(f)),[f,Ul(f)]}function qR(e){const i=Ul(e);return[If(e),i,If(i)]}function If(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const dx=["left","right"],fx=["right","left"],FR=["top","bottom"],GR=["bottom","top"];function IR(e,i,s){switch(e){case"top":case"bottom":return s?i?fx:dx:i?dx:fx;case"left":case"right":return i?FR:GR;default:return[]}}function YR(e,i,s,r){const l=ps(e);let u=IR(Kn(e),s==="start",r);return l&&(u=u.map(f=>f+"-"+l),i&&(u=u.concat(u.map(If)))),u}function Ul(e){const i=Kn(e);return UR[i]+e.slice(i.length)}function XR(e){return{top:0,right:0,bottom:0,left:0,...e}}function E1(e){return typeof e!="number"?XR(e):{top:e,right:e,bottom:e,left:e}}function Hl(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 hx(e,i,s){let{reference:r,floating:l}=e;const u=En(i),f=zh(i),m=Vh(f),g=Kn(i),p=u==="y",y=r.x+r.width/2-l.width/2,v=r.y+r.height/2-l.height/2,b=r[m]/2-l[m]/2;let E;switch(g){case"top":E={x:y,y:r.y-l.height};break;case"bottom":E={x:y,y:r.y+r.height};break;case"right":E={x:r.x+r.width,y:v};break;case"left":E={x:r.x-l.width,y:v};break;default:E={x:r.x,y:r.y}}switch(ps(i)){case"start":E[f]-=b*(s&&p?-1:1);break;case"end":E[f]+=b*(s&&p?-1:1);break}return E}async function KR(e,i){var s;i===void 0&&(i={});const{x:r,y:l,platform:u,rects:f,elements:m,strategy:g}=e,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:b=!1,padding:E=0}=Xn(i,e),A=E1(E),j=m[b?v==="floating"?"reference":"floating":v],R=
vendor: 4,871 bytes, line 9
9Hl(await u.getClippingRect({element:(s=await(u.isElement==null?void 0:u.isElement(j)))==null||s?j:j.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(m.floating)),boundary:p,rootBoundary:y,strategy:g})),N=v==="floating"?{x:r,y:l,width:f.floating.width,height:f.floating.height}:f.reference,D=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m.floating)),O=await(u.isElement==null?void 0:u.isElement(D))?await(u.getScale==null?void 0:u.getScale(D))||{x:1,y:1}:{x:1,y:1},_=Hl(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:N,offsetParent:D,strategy:g}):N);return{top:(R.top-_.top+A.top)/O.y,bottom:(_.bottom-R.bottom+A.bottom)/O.y,left:(R.left-_.left+A.left)/O.x,right:(_.right-R.right+A.right)/O.x}}const QR=50,ZR=async(e,i,s)=>{const{placement:r="bottom",strategy:l="absolute",middleware:u=[],platform:f}=s,m=f.detectOverflow?f:{...f,detectOverflow:KR},g=await(f.isRTL==null?void 0:f.isRTL(i));let p=await f.getElementRects({reference:e,floating:i,strategy:l}),{x:y,y:v}=hx(p,r,g),b=r,E=0;const A={};for(let T=0;T<u.length;T++){const j=u[T];if(!j)continue;const{name:R,fn:N}=j,{x:D,y:O,data:_,reset:q}=await N({x:y,y:v,initialPlacement:r,placement:b,strategy:l,middlewareData:A,rects:p,platform:m,elements:{reference:e,floating:i}});y=D??y,v=O??v,A[R]={...A[R],..._},q&&E<QR&&(E++,typeof q=="object"&&(q.placement&&(b=q.placement),q.rects&&(p=q.rects===!0?await f.getElementRects({reference:e,floating:i,strategy:l}):q.rects),{x:y,y:v}=hx(p,b,g)),T=-1)}return{x:y,y:v,placement:b,strategy:l,middlewareData:A}},WR=e=>({name:"arrow",options:e,async fn(i){const{x:s,y:r,placement:l,rects:u,platform:f,elements:m,middlewareData:g}=i,{element:p,padding:y=0}=Xn(e,i)||{};if(p==null)return{};const v=E1(y),b={x:s,y:r},E=zh(l),A=Vh(E),T=await f.getDimensions(p),j=E==="y",R=j?"top":"left",N=j?"bottom":"right",D=j?"clientHeight":"clientWidth",O=u.reference[A]+u.reference[E]-b[E]-u.floating[A],_=b[E]-u.reference[E],q=await(f.getOffsetParent==null?void 0:f.getOffsetParent(p));let X=q?q[D]:0;(!X||!await(f.isElement==null?void 0:f.isElement(q)))&&(X=m.floating[D]||u.floating[A]);const B=O/2-_/2,W=X/2-T[A]/2-1,Z=Di(v[R],W),ae=Di(v[N],W),ne=Z,ye=X-T[A]-ae,J=X/2-T[A]/2+B,ue=Gf(ne,J,ye),L=!g.arrow&&ps(l)!=null&&J!==ue&&u.reference[A]/2-(J<ne?Z:ae)-T[A]/2<0,Q=L?J<ne?J-ne:J-ye:0;return{[E]:b[E]+Q,data:{[E]:ue,centerOffset:J-ue-Q,...L&&{alignmentOffset:Q}},reset:L}}}),$R=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:g,elements:p}=i,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:b,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:T=!0,...j}=Xn(e,i);if((s=u.arrow)!=null&&s.alignmentOffset)return{};const R=Kn(l),N=En(m),D=Kn(m)===m,O=await(g.isRTL==null?void 0:g.isRTL(p.floating)),_=b||(D||!T?[Ul(m)]:qR(m)),q=A!=="none";!b&&q&&_.push(...YR(m,T,A,O));const X=[m,..._],B=await g.detectOverflow(i,j),W=[];let Z=((r=u.flip)==null?void 0:r.overflows)||[];if(y&&W.push(B[R]),v){const J=HR(l,f,O);W.push(B[J[0]],B[J[1]])}if(Z=[...Z,{placement:l,overflows:W}],!W.every(J=>J<=0)){var ae,ne;const J=(((ae=u.flip)==null?void 0:ae.index)||0)+1,ue=X[J];if(ue&&(!(v==="alignment"?N!==En(ue):!1)||Z.every(G=>En(G.placement)===N?G.overflows[0]>0:!0)))return{data:{index:J,overflows:Z},reset:{placement:ue}};let L=(ne=Z.filter(Q=>Q.overflows[0]<=0).sort((Q,G)=>Q.overflows[1]-G.overflows[1])[0])==null?void 0:ne.placement;if(!L)switch(E){case"bestFit":{var ye;const Q=(ye=Z.filter(G=>{if(q){const ie=En(G.placement);return ie===N||ie==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(ie=>ie>0).reduce((ie,C)=>ie+C,0)]).sort((G,ie)=>G[1]-ie[1])[0])==null?void 0:ye[0];Q&&(L=Q);break}case"initialPlacement":L=m;break}if(l!==L)return{reset:{placement:L}}}return{}}}};function mx(e,i){return{top:e.top-i.height,right:e.right-i.width,bottom:e.bottom-i.height,left:e.left-i.width}}function px(e){return BR.some(i=>e[i]>=0)}const JR=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(i){const{rects:s,platform:r}=i,{strategy:l="referenceHidden",...u}=Xn(e,i);switch(l){case"referenceHidden":{const f=await r.detectOverflow(i,{...u,elementContext:"reference"}),m=mx(f,s.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:px(m)}}}case"escaped":{const f=await r.detectOverflow(i,{...u,altBoundary:!0}),m=mx(f,s.floating);return{data:{escapedOffsets:m,escaped:px(m)}}}default:return{}}}}},T1=new Set(["left","top"]);async function eD(e,i){const{placement:s,platform:r,elements:l}=e,u=await(r.isRTL==null?void 0:r.isRTL(l.floating)),f=Kn(s),m=ps(s),g=En(s)==="y",p=T1.has(f)?-1:1,y=u&&g?-1:1,v=Xn(i,e);let{mainAxis:b,crossAxis:E,alignmentAxis:A}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}
9:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return m&&typeof A=="number"&&(E=m==="end"?A*-1:A),g?{x:E*y,y:b*p}:{x:b*p,y:E*y}}const tD=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,g=await eD(i,e);return f===((s=m.offset)==null?void 0:s.placement)&&(r=m.arrow)!=null&&r.alignmentOffset?{}:{x:l+g.x,y:u+g.y,data:{...g,placement:f}}}}},nD=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(i){const{x:s,y:r,placement:l,platform:u}=i,{mainAxis:f=!0,crossAxis:m=!1,limiter:g={fn:R=>{let{x:N,y:D}=R;return{x:N,y:D}}},...p}=Xn(e,i),y={x:s,y:r},v=await u.detectOverflow(i,p),b=En(Kn(l)),E=Lh(b);let A=y[E],T=y[b];if(f){const R=E==="y"?"top":"left",N=E==="y"?"bottom":"right",D=A+v[R],O=A-v[N];A=Gf(D,A,O)}if(m){const R=b==="y"?"top":"left",N=b==="y"?"bottom":"right",D=T+v[R],O=T-v[N];T=Gf(D,T,O)}const j=g.fn({...i,[E]:A,[b]:T});return{...j,data:{x:j.x-s,y:j.y-r,enabled:{[E]:f,[b]:m}}}}}},iD=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:g=!0,crossAxis:p=!0}=Xn(e,i),y={x:s,y:r},v=En(l),b=Lh(v);let E=y[b],A=y[v];const T=Xn(m,i),j=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(g){const D=b==="y"?"height":"width",O=u.reference[b]-u.floating[D]+j.mainAxis,_=u.reference[b]+u.reference[D]-j.mainAxis;E<O?E=O:E>_&&(E=_)}if(p){var R,N;const D=b==="y"?"width":"height",O=T1.has(Kn(l)),_=u.reference[v]-u.floating[D]+(O&&((R=f.offset)==null?void 0:R[v])||0)+(O?0:j.crossAxis),q=u.reference[v]+u.reference[D]+(O?0:((N=f.offset)==null?void 0:N[v])||0)-(O?j.crossAxis:0);A<_?A=_:A>q&&(A=q)}return{[b]:E,[v]:A}}}},aD=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:g=()=>{},...p}=Xn(e,i),y=await f.detectOverflow(i,p),v=Kn(l),b=ps(l),E=En(l)==="y",{width:A,height:T}=u.floating;let j,R;v==="top"||v==="bottom"?(j=v,R=b===(await(f.isRTL==null?void 0:f.isRTL(m.floating))?"start":"end")?"left":"right"):(R=v,j=b==="end"?"top":"bottom");const N=T-y.top-y.bottom,D=A-y.left-y.right,O=Di(T-y[j],N),_=Di(A-y[R],D),q=!i.middlewareData.shift;let X=O,B=_;if((s=i.middlewareData.shift)!=null&&s.enabled.x&&(B=D),(r=i.middlewareData.shift)!=null&&r.enabled.y&&(X=N),q&&!b){const Z=zt(y.left,0),ae=zt(y.right,0),ne=zt(y.top,0),ye=zt(y.bottom,0);E?B=A-2*(Z!==0||ae!==0?Z+ae:zt(y.left,y.right)):X=T-2*(ne!==0||ye!==0?ne+ye:zt(y.top,y.bottom))}await g({...i,availableWidth:B,availableHeight:X});const W=await f.getDimensions(m.floating);return A!==W.width||T!==W.height?{reset:{rects:!0}}:{}}}};function mc(){return typeof window<"u"}function gs(e){return A1(e)?(e.nodeName||"").toLowerCase():"#document"}function Bt(e){var i;return(e==null||(i=e.ownerDocument)==null?void 0:i.defaultView)||window}function Dn(e){var i;return(i=(A1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:i.documentElement}function A1(e){return mc()?e instanceof Node||e instanceof Bt(e).Node:!1}function cn(e){return mc()?e instanceof Element||e instanceof Bt(e).Element:!1}function Zn(e){return mc()?e instanceof HTMLElement||e instanceof Bt(e).HTMLElement:!1}function gx(e){return!mc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Bt(e).ShadowRoot}function Hr(e){const{overflow:i,overflowX:s,overflowY:r,display:l}=un(e);return/auto|scroll|overlay|hidden|clip/.test(i+r+s)&&l!=="inline"&&l!=="contents"}function sD(e){return/^(table|td|th)$/.test(gs(e))}function pc(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const rD=/transform|translate|scale|rotate|perspective|filter/,oD=/paint|layout|strict|content/,na=e=>!!e&&e!=="none";let af;function Bh(e){const i=cn(e)?un(e):e;return na(i.transform)||na(i.translate)||na(i.scale)||na(i.rotate)||na(i.perspective)||!Uh()&&(na(i.backdropFilter)||na(i.filter))||rD.test(i.willChange||"")||oD.test(i.contain||"")}function lD(e){let i=Mi(e);for(;Zn(i)&&!us(i);){if(Bh(i))return i;if(pc(i))return null;i=Mi(i)}return null}function Uh(){return af==null&&(af=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),af}function us(e){return/^(html|body|#document)$/.test(gs(e))}function un(e){return Bt(e).getComputedStyle(e)}function gc(e){return cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mi(e){if(gs(e)==="html")return e;const i=e.assignedSlot||e.parentNode||gx(e)&&e.host||Dn(e);return gx(i)?i.host:i}function j1(e){const i=Mi(e);return us(i)?e.ownerDocument?e.ownerDocument.body:e.body:Zn(i)&&Hr(i)?i:j1(i)}function _r(e,i,s){var r;i===void 0&&(i=[]),s===void 0&&(s=!0);const l=j1(e),u=l===((r=e.ownerDocument)==null?void 0:r.body),f=Bt(l);
vendor: 4,324 bytes, line 9
9if(u){const m=Yf(f);return i.concat(f,f.visualViewport||[],Hr(l)?l:[],m&&s?_r(m):[])}else return i.concat(l,_r(l,[],s))}function Yf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function C1(e){const i=un(e);let s=parseFloat(i.width)||0,r=parseFloat(i.height)||0;const l=Zn(e),u=l?e.offsetWidth:s,f=l?e.offsetHeight:r,m=Bl(s)!==u||Bl(r)!==f;return m&&(s=u,r=f),{width:s,height:r,$:m}}function Hh(e){return cn(e)?e:e.contextElement}function ls(e){const i=Hh(e);if(!Zn(i))return Tn(1);const s=i.getBoundingClientRect(),{width:r,height:l,$:u}=C1(i);let f=(u?Bl(s.width):s.width)/r,m=(u?Bl(s.height):s.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!m||!Number.isFinite(m))&&(m=1),{x:f,y:m}}const cD=Tn(0);function N1(e){const i=Bt(e);return!Uh()||!i.visualViewport?cD:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function uD(e,i,s){return i===void 0&&(i=!1),!s||i&&s!==Bt(e)?!1:i}function da(e,i,s,r){i===void 0&&(i=!1),s===void 0&&(s=!1);const l=e.getBoundingClientRect(),u=Hh(e);let f=Tn(1);i&&(r?cn(r)&&(f=ls(r)):f=ls(e));const m=uD(u,s,r)?N1(u):Tn(0);let g=(l.left+m.x)/f.x,p=(l.top+m.y)/f.y,y=l.width/f.x,v=l.height/f.y;if(u){const b=Bt(u),E=r&&cn(r)?Bt(r):r;let A=b,T=Yf(A);for(;T&&r&&E!==A;){const j=ls(T),R=T.getBoundingClientRect(),N=un(T),D=R.left+(T.clientLeft+parseFloat(N.paddingLeft))*j.x,O=R.top+(T.clientTop+parseFloat(N.paddingTop))*j.y;g*=j.x,p*=j.y,y*=j.x,v*=j.y,g+=D,p+=O,A=Bt(T),T=Yf(A)}}return Hl({width:y,height:v,x:g,y:p})}function yc(e,i){const s=gc(e).scrollLeft;return i?i.left+s:da(Dn(e)).left+s}function R1(e,i){const s=e.getBoundingClientRect(),r=s.left+i.scrollLeft-yc(e,s),l=s.top+i.scrollTop;return{x:r,y:l}}function dD(e){let{elements:i,rect:s,offsetParent:r,strategy:l}=e;const u=l==="fixed",f=Dn(r),m=i?pc(i.floating):!1;if(r===f||m&&u)return s;let g={scrollLeft:0,scrollTop:0},p=Tn(1);const y=Tn(0),v=Zn(r);if((v||!v&&!u)&&((gs(r)!=="body"||Hr(f))&&(g=gc(r)),v)){const E=da(r);p=ls(r),y.x=E.x+r.clientLeft,y.y=E.y+r.clientTop}const b=f&&!v&&!u?R1(f,g):Tn(0);return{width:s.width*p.x,height:s.height*p.y,x:s.x*p.x-g.scrollLeft*p.x+y.x+b.x,y:s.y*p.y-g.scrollTop*p.y+y.y+b.y}}function fD(e){return Array.from(e.getClientRects())}function hD(e){const i=Dn(e),s=gc(e),r=e.ownerDocument.body,l=zt(i.scrollWidth,i.clientWidth,r.scrollWidth,r.clientWidth),u=zt(i.scrollHeight,i.clientHeight,r.scrollHeight,r.clientHeight);let f=-s.scrollLeft+yc(e);const m=-s.scrollTop;return un(r).direction==="rtl"&&(f+=zt(i.clientWidth,r.clientWidth)-l),{width:l,height:u,x:f,y:m}}const yx=25;function mD(e,i){const s=Bt(e),r=Dn(e),l=s.visualViewport;let u=r.clientWidth,f=r.clientHeight,m=0,g=0;if(l){u=l.width,f=l.height;const y=Uh();(!y||y&&i==="fixed")&&(m=l.offsetLeft,g=l.offsetTop)}const p=yc(r);if(p<=0){const y=r.ownerDocument,v=y.body,b=getComputedStyle(v),E=y.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,A=Math.abs(r.clientWidth-v.clientWidth-E);A<=yx&&(u-=A)}else p<=yx&&(u+=p);return{width:u,height:f,x:m,y:g}}function pD(e,i){const s=da(e,!0,i==="fixed"),r=s.top+e.clientTop,l=s.left+e.clientLeft,u=Zn(e)?ls(e):Tn(1),f=e.clientWidth*u.x,m=e.clientHeight*u.y,g=l*u.x,p=r*u.y;return{width:f,height:m,x:g,y:p}}function vx(e,i,s){let r;if(i==="viewport")r=mD(e,s);else if(i==="document")r=hD(Dn(e));else if(cn(i))r=pD(i,s);else{const l=N1(e);r={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return Hl(r)}function D1(e,i){const s=Mi(e);return s===i||!cn(s)||us(s)?!1:un(s).position==="fixed"||D1(s,i)}function gD(e,i){const s=i.get(e);if(s)return s;let r=_r(e,[],!1).filter(m=>cn(m)&&gs(m)!=="body"),l=null;const u=un(e).position==="fixed";let f=u?Mi(e):e;for(;cn(f)&&!us(f);){const m=un(f),g=Bh(f);!g&&m.position==="fixed"&&(l=null),(u?!g&&!l:!g&&m.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||Hr(f)&&!g&&D1(e,f))?r=r.filter(y=>y!==f):l=m,f=Mi(f)}return i.set(e,r),r}function yD(e){let{element:i,boundary:s,rootBoundary:r,strategy:l}=e;const f=[...s==="clippingAncestors"?pc(i)?[]:gD(i,this._c):[].concat(s),r],m=vx(i,f[0],l);let g=m.top,p=m.right,y=m.bottom,v=m.left;for(let b=1;b<f.length;b++){const E=vx(i,f[b],l);g=zt(E.top,g),p=Di(E.right,p),y=Di(E.bottom,y),v=zt(E.left,v)}return{width:p-v,height:y-g,x:v,y:g}}function vD(e){const{width:i,height:s}=C1(e);return{width:i,height:s}}
vendor: 4,582 bytes, line 9
9function xD(e,i,s){const r=Zn(i),l=Dn(i),u=s==="fixed",f=da(e,!0,u,i);let m={scrollLeft:0,scrollTop:0};const g=Tn(0);function p(){g.x=yc(l)}if(r||!r&&!u)if((gs(i)!=="body"||Hr(l))&&(m=gc(i)),r){const E=da(i,!0,u,i);g.x=E.x+i.clientLeft,g.y=E.y+i.clientTop}else l&&p();u&&!r&&l&&p();const y=l&&!r&&!u?R1(l,m):Tn(0),v=f.left+m.scrollLeft-g.x-y.x,b=f.top+m.scrollTop-g.y-y.y;return{x:v,y:b,width:f.width,height:f.height}}function sf(e){return un(e).position==="static"}function xx(e,i){if(!Zn(e)||un(e).position==="fixed")return null;if(i)return i(e);let s=e.offsetParent;return Dn(e)===s&&(s=s.ownerDocument.body),s}function M1(e,i){const s=Bt(e);if(pc(e))return s;if(!Zn(e)){let l=Mi(e);for(;l&&!us(l);){if(cn(l)&&!sf(l))return l;l=Mi(l)}return s}let r=xx(e,i);for(;r&&sD(r)&&sf(r);)r=xx(r,i);return r&&us(r)&&sf(r)&&!Bh(r)?s:r||lD(e)||s}const bD=async function(e){const i=this.getOffsetParent||M1,s=this.getDimensions,r=await s(e.floating);return{reference:xD(e.reference,await i(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function wD(e){return un(e).direction==="rtl"}const SD={convertOffsetParentRelativeRectToViewportRelativeRect:dD,getDocumentElement:Dn,getClippingRect:yD,getOffsetParent:M1,getElementRects:bD,getClientRects:fD,getDimensions:vD,getScale:ls,isElement:cn,isRTL:wD};function k1(e,i){return e.x===i.x&&e.y===i.y&&e.width===i.width&&e.height===i.height}function ED(e,i){let s=null,r;const l=Dn(e);function u(){var m;clearTimeout(r),(m=s)==null||m.disconnect(),s=null}function f(m,g){m===void 0&&(m=!1),g===void 0&&(g=1),u();const p=e.getBoundingClientRect(),{left:y,top:v,width:b,height:E}=p;if(m||i(),!b||!E)return;const A=hl(v),T=hl(l.clientWidth-(y+b)),j=hl(l.clientHeight-(v+E)),R=hl(y),D={rootMargin:-A+"px "+-T+"px "+-j+"px "+-R+"px",threshold:zt(0,Di(1,g))||1};let O=!0;function _(q){const X=q[0].intersectionRatio;if(X!==g){if(!O)return f();X?f(!1,X):r=setTimeout(()=>{f(!1,1e-7)},1e3)}X===1&&!k1(p,e.getBoundingClientRect())&&f(),O=!1}try{s=new IntersectionObserver(_,{...D,root:l.ownerDocument})}catch{s=new IntersectionObserver(_,D)}s.observe(e)}return f(!0),u}function TD(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:g=!1}=r,p=Hh(e),y=l||u?[...p?_r(p):[],...i?_r(i):[]]:[];y.forEach(R=>{l&&R.addEventListener("scroll",s,{passive:!0}),u&&R.addEventListener("resize",s)});const v=p&&m?ED(p,s):null;let b=-1,E=null;f&&(E=new ResizeObserver(R=>{let[N]=R;N&&N.target===p&&E&&i&&(E.unobserve(i),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var D;(D=E)==null||D.observe(i)})),s()}),p&&!g&&E.observe(p),i&&E.observe(i));let A,T=g?da(e):null;g&&j();function j(){const R=da(e);T&&!k1(T,R)&&s(),T=R,A=requestAnimationFrame(j)}return s(),()=>{var R;y.forEach(N=>{l&&N.removeEventListener("scroll",s),u&&N.removeEventListener("resize",s)}),v?.(),(R=E)==null||R.disconnect(),E=null,g&&cancelAnimationFrame(A)}}const AD=tD,jD=nD,CD=$R,ND=aD,RD=JR,bx=WR,DD=iD,MD=(e,i,s)=>{const r=new Map,l={platform:SD,...s},u={...l.platform,_c:r};return ZR(e,i,{...l,platform:u})};var kD=typeof document<"u",OD=function(){},Al=kD?w.useLayoutEffect:OD;function ql(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(!ql(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)&&!ql(e[u],i[u]))return!1}return!0}return e!==e&&i!==i}function O1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wx(e,i){const s=O1(e);return Math.round(i*s)/s}function rf(e){const i=w.useRef(e);return Al(()=>{i.current=e}),i}function _D(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:g,open:p}=e,[y,v]=w.useState({x:0,y:0,strategy:s,placement:i,middlewareData:{},isPositioned:!1}),[b,E]=w.useState(r);ql(b,r)||E(r);const[A,T]=w.useState(null),[j,R]=w.useState(null),N=w.useCallback(G=>{G!==q.current&&(q.current=G,T(G))},[]),D=w.useCallback(G=>{G!==X.current&&(X.current=G,R(G))},[]),O=u||A,_=f||j,q=w.useRef(null),X=w.useRef(null),B=w.useRef(y),W=g!=null,Z=rf(g),ae=rf(l),ne=rf(p),ye=w.useCallback(()=>
vendor: 10,196 bytes, line 9
9{if(!q.current||!X.current)return;const G={placement:i,strategy:s,middleware:b};ae.current&&(G.platform=ae.current),MD(q.current,X.current,G).then(ie=>{const C={...ie,isPositioned:ne.current!==!1};J.current&&!ql(B.current,C)&&(B.current=C,uc.flushSync(()=>{v(C)}))})},[b,i,s,ae,ne]);Al(()=>{p===!1&&B.current.isPositioned&&(B.current.isPositioned=!1,v(G=>({...G,isPositioned:!1})))},[p]);const J=w.useRef(!1);Al(()=>(J.current=!0,()=>{J.current=!1}),[]),Al(()=>{if(O&&(q.current=O),_&&(X.current=_),O&&_){if(Z.current)return Z.current(O,_,ye);ye()}},[O,_,ye,Z,W]);const ue=w.useMemo(()=>({reference:q,floating:X,setReference:N,setFloating:D}),[N,D]),L=w.useMemo(()=>({reference:O,floating:_}),[O,_]),Q=w.useMemo(()=>{const G={position:s,left:0,top:0};if(!L.floating)return G;const ie=wx(L.floating,y.x),C=wx(L.floating,y.y);return m?{...G,transform:"translate("+ie+"px, "+C+"px)",...O1(L.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:ie,top:C}},[s,m,L.floating,y.x,y.y]);return w.useMemo(()=>({...y,update:ye,refs:ue,elements:L,floatingStyles:Q}),[y,ye,ue,L,Q])}const PD=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?bx({element:r.current,padding:l}).fn(s):{}:r?bx({element:r,padding:l}).fn(s):{}}}},LD=(e,i)=>{const s=AD(e);return{name:s.name,fn:s.fn,options:[e,i]}},VD=(e,i)=>{const s=jD(e);return{name:s.name,fn:s.fn,options:[e,i]}},zD=(e,i)=>({fn:DD(e).fn,options:[e,i]}),BD=(e,i)=>{const s=CD(e);return{name:s.name,fn:s.fn,options:[e,i]}},UD=(e,i)=>{const s=ND(e);return{name:s.name,fn:s.fn,options:[e,i]}},HD=(e,i)=>{const s=RD(e);return{name:s.name,fn:s.fn,options:[e,i]}},qD=(e,i)=>{const s=PD(e);return{name:s.name,fn:s.fn,options:[e,i]}};var FD="Arrow",_1=w.forwardRef((e,i)=>{const{children:s,width:r=10,height:l=5,...u}=e;return c.jsx(Be.svg,{...u,ref:i,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?s:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});_1.displayName=FD;var GD=_1;function ID(e){const[i,s]=w.useState(void 0);return Cn(()=>{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 g=u.borderBoxSize,p=Array.isArray(g)?g[0]:g;f=p.inlineSize,m=p.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 qh="Popper",[P1,vc]=_i(qh),[YD,L1]=P1(qh),V1=e=>{const{__scopePopper:i,children:s}=e,[r,l]=w.useState(null);return c.jsx(YD,{scope:i,anchor:r,onAnchorChange:l,children:s})};V1.displayName=qh;var z1="PopperAnchor",B1=w.forwardRef((e,i)=>{const{__scopePopper:s,virtualRef:r,...l}=e,u=L1(z1,s),f=w.useRef(null),m=ut(i,f),g=w.useRef(null);return w.useEffect(()=>{const p=g.current;g.current=r?.current||f.current,p!==g.current&&u.onAnchorChange(g.current)}),r?null:c.jsx(Be.div,{...l,ref:m})});B1.displayName=z1;var Fh="PopperContent",[XD,KD]=P1(Fh),U1=w.forwardRef((e,i)=>{const{__scopePopper:s,side:r="bottom",sideOffset:l=0,align:u="center",alignOffset:f=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:p=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:b=!1,updatePositionStrategy:E="optimized",onPlaced:A,...T}=e,j=L1(Fh,s),[R,N]=w.useState(null),D=ut(i,He=>N(He)),[O,_]=w.useState(null),q=ID(O),X=q?.width??0,B=q?.height??0,W=r+(u!=="center"?"-"+u:""),Z=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ae=Array.isArray(p)?p:[p],ne=ae.length>0,ye={padding:Z,boundary:ae.filter(ZD),altBoundary:ne},{refs:J,floatingStyles:ue,placement:L,isPositioned:Q,middlewareData:G}=_D({strategy:"fixed",placement:W,whileElementsMounted:(...He)=>TD(...He,{animationFrame:E==="always"}),elements:{reference:j.anchor},middleware:[LD({mainAxis:l+B,alignmentAxis:f}),g&&VD({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?zD():void 0,...ye}),g&&BD({...ye}),UD({...ye,apply:({elements:He,rects:Re,availableWidth:De,availableHeight:Wn})=>{const{width:en,height:hn}=Re.reference,Ht=He.floating.style;Ht.setProperty("--radix-popper-available-width",`${De}px`),Ht.setProperty("--radix-popper-available-height",`${Wn}px`),Ht.setProperty("--radix-popper-anchor-width",`${en}px`),Ht.setProperty("--radix-popper-anchor-height",`${hn}px`)}}),O&&qD({element:O,padding:m}),WD({arrowWidth:X,arrowHeight:B}),b&&HD({strategy:"referenceHidden",...ye})]}),[ie,C]=F1(L),I=jn(A);Cn(()=>{Q&&I?.()},[Q,I]);const ee=G.arrow?.x,$=G.arrow?.y,de=G.arrow?.centerOffset!==0,[me,ce]=w.useState();return Cn(()=>{R&&ce(window.getComputedStyle(R).zIndex)},[R]),c.jsx("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...ue,transform:Q?ue.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:me,"--radix-popper-transform-origin":[G.transformOrigin?.x,G.transformOrigin?.y].join(" "),...G.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(XD,{scope:s,placedSide:ie,onArrowChange:_,arrowX:ee,arrowY:$,shouldHideArrow:de,children:c.jsx(Be.div,{"data-side":ie,"data-align":C,...T,ref:D,style:{...T.style,animation:Q?void 0:"none"}})})})});U1.displayName=Fh;var H1="PopperArrow",QD={top:"bottom",right:"left",bottom:"top",left:"right"},q1=w.forwardRef(function(i,s){const{__scopePopper:r,...l}=i,u=KD(H1,r),f=QD[u.placedSide];return c.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:c.jsx(GD,{...l,ref:s,style:{...l.style,display:"block"}})})});q1.displayName=H1;function ZD(e){return e!==null}var WD=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,g=f?0:e.arrowHeight,[p,y]=F1(s),v={start:"0%",center:"50%",end:"100%"}[y],b=(l.arrow?.x??0)+m/2,E=(l.arrow?.y??0)+g/2;let A="",T="";return p==="bottom"?(A=f?v:`${b}px`,T=`${-g}px`):p==="top"?(A=f?v:`${b}px`,T=`${r.floating.height+g}px`):p==="right"?(A=`${-g}px`,T=f?v:`${E}px`):p==="left"&&(A=`${r.floating.width+g}px`,T=f?v:`${E}px`),{data:{x:A,y:T}}}});function F1(e){const[i,s="center"]=e.split("-");return[i,s]}var $D=V1,G1=B1,I1=U1,Y1=q1,[xc]=_i("Tooltip",[vc]),Gh=vc(),X1="TooltipProvider",JD=700,Sx="tooltip.open",[eM,K1]=xc(X1),Q1=e=>{const{__scopeTooltip:i,delayDuration:s=JD,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:u}=e,f=w.useRef(!0),m=w.useRef(!1),g=w.useRef(0);return w.useEffect(()=>{const p=g.current;return()=>window.clearTimeout(p)},[]),c.jsx(eM,{scope:i,isOpenDelayedRef:f,delayDuration:s,onOpen:w.useCallback(()=>{window.clearTimeout(g.current),f.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>f.current=!0,r)},[r]),isPointerInTransitRef:m,onPointerInTransitChange:w.useCallback(p=>{m.current=p},[]),disableHoverableContent:l,children:u})};Q1.displayName=X1;var Z1="Tooltip",[l_,bc]=xc(Z1),Xf="TooltipTrigger",tM=w.forwardRef((e,i)=>{const{__scopeTooltip:s,...r}=e,l=bc(Xf,s),u=K1(Xf,s),f=Gh(s),m=w.useRef(null),g=ut(i,m,l.onTriggerChange),p=w.useRef(!1),y=w.useRef(!1),v=w.useCallback(()=>p.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),c.jsx(G1,{asChild:!0,...f,children:c.jsx(Be.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:g,onPointerMove:Ae(e.onPointerMove,b=>{b.pointerType!=="touch"&&!y.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:Ae(e.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:Ae(e.onPointerDown,()=>{l.open&&l.onClose(),p.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:Ae(e.onFocus,()=>{p.current||l.onOpen()}),onBlur:Ae(e.onBlur,l.onClose),onClick:Ae(e.onClick,l.onClose)})})});tM.displayName=Xf;var nM="TooltipPortal",[c_,iM]=xc(nM,{forceMount:void 0}),ds="TooltipContent",W1=w.forwardRef((e,i)=>{const s=iM(ds,e.__scopeTooltip),{forceMount:r=s.forceMount,side:l="top",...u}=e,f=bc(ds,e.__scopeTooltip);return c.jsx(Qn,{present:r||f.open,children:f.disableHoverableContent?c.jsx($1,{side:l,...u,ref:i}):c.jsx(aM,{side:l,...u,ref:i})})}),aM=w.forwardRef((e,i)=>{const s=bc(ds,e.__scopeTooltip),r=K1(ds,e.__scopeTooltip),l=w.useRef(null),u=ut(i,l),[f,m]=w.useState(null),{trigger:g,onClose:p}=s,y=l.current,{onPointerInTransitChange:v}=r,b=w.useCallback(()=>{m(null),v(!1)},[v]),E=w.useCallback((A,T)=>{const j=A.currentTarget,R={x:A.clientX,y:A.clientY},N=cM(R,j.getBoundingClientRect()),D=uM(R,N),O=dM(T.getBoundingClientRect()),_=hM([...D,...O]);m(_),v(!0)},[v]);return w.useEffect(()=>()=>b(),[b]),w.useEffect(()=>{if(g&&y){const A=j=>E(j,y),T=j=>E(j,g);return g.addEventListener("pointerleave",A),y.addEventListener("pointerleave",T),()=>{g.removeEventListener("pointerleave",A),y.removeEventListener("pointerleave",T)}}},[g,y,E,b]),w.useEffect(()=>{if(f){const A=T=>{const j=T.target,R={x:T.clientX,y:T.clientY},N=g?.contains(j)||y?.contains(j),D=!fM(R,f);N?b():D&&(b(),p())};return document.addEventListener("pointermove",A),()=>document.removeEventListener("pointermove",A)}},[g,y,f,p,b]),c.jsx($1,{...e,ref:u})}),[sM,rM]=xc(Z1,{isInside:!1}),oM=$j("TooltipContent"),$1=w.forwardRef((e,i)=>{const{__scopeTooltip:s,children:r,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:f,...m}=e,g=bc(ds,s),p=Gh(s),{onClose:y}=g;return w.useEffect(()=>(document.addEventListener(Sx,y),()=>document.removeEventListener(Sx,y)),[y]),w.useEffect(()=>{if(g.trigger){const v=b=>{b.target?.contains(g.trigger)&&y()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[g.trigger,y]),c.jsx(Br,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:v=>v.preventDefault(),onDismiss:y,children:c.jsxs(I1,{"data-state":g.
9stateAttribute,...p,...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:[c.jsx(oM,{children:r}),c.jsx(sM,{scope:s,isInside:!0,children:c.jsx(wC,{id:g.contentId,role:"tooltip",children:l||r})})]})})});W1.displayName=ds;var J1="TooltipArrow",lM=w.forwardRef((e,i)=>{const{__scopeTooltip:s,...r}=e,l=Gh(s);return rM(J1,s).isInside?null:c.jsx(Y1,{...l,...r,ref:i})});lM.displayName=J1;function cM(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 uM(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 dM(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 fM(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],g=i[f],p=m.x,y=m.y,v=g.x,b=g.y;y>r!=b>r&&s<(v-p)*(r-y)/(b-y)+p&&(l=!l)}return l}function hM(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),mM(i)}function mM(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 pM=Q1,ew=W1;const gM=pM,yM=w.forwardRef(({className:e,sideOffset:i=4,...s},r)=>c.jsx(ew,{ref:r,sideOffset:i,className:Ie("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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}));yM.displayName=ew.displayName;var of,wc="HoverCard",[tw]=_i(wc,[vc]),Sc=vc(),[vM,Ec]=tw(wc),nw=e=>{const{__scopeHoverCard:i,children:s,open:r,defaultOpen:l,onOpenChange:u,openDelay:f=700,closeDelay:m=300}=e,g=Sc(i),p=w.useRef(0),y=w.useRef(0),v=w.useRef(!1),b=w.useRef(!1),[E,A]=ms({prop:r,defaultProp:l??!1,onChange:u,caller:wc}),T=w.useCallback(()=>{clearTimeout(y.current),p.current=window.setTimeout(()=>A(!0),f)},[f,A]),j=w.useCallback(()=>{clearTimeout(p.current),!v.current&&!b.current&&(y.current=window.setTimeout(()=>A(!1),m))},[m,A]),R=w.useCallback(()=>A(!1),[A]);return w.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(y.current)},[]),c.jsx(vM,{scope:i,open:E,onOpenChange:A,onOpen:T,onClose:j,onDismiss:R,hasSelectionRef:v,isPointerDownOnContentRef:b,children:c.jsx($D,{...g,children:s})})};nw.displayName=wc;var iw="HoverCardTrigger",aw=w.forwardRef((e,i)=>{const{__scopeHoverCard:s,...r}=e,l=Ec(iw,s),u=Sc(s);return c.jsx(G1,{asChild:!0,...u,children:c.jsx(Be.a,{"data-state":l.open?"open":"closed",...r,ref:i,onPointerEnter:Ae(e.onPointerEnter,Gl(l.onOpen)),onPointerLeave:Ae(e.onPointerLeave,Gl(l.onClose)),onFocus:Ae(e.onFocus,l.onOpen),onBlur:Ae(e.onBlur,l.onClose),onTouchStart:Ae(e.onTouchStart,f=>f.preventDefault())})})});aw.displayName=iw;var Ih="HoverCardPortal",[xM,bM]=tw(Ih,{forceMount:void 0}),sw=e=>{const{__scopeHoverCard:i,forceMount:s,children:r,container:l}=e,u=Ec(Ih,i);return c.jsx(xM,{scope:i,forceMount:s,children:c.jsx(Qn,{present:s||u.open,children:c.jsx(dc,{asChild:!0,container:l,children:r})})})};sw.displayName=Ih;var Fl="HoverCardContent",rw=w.forwardRef((e,i)=>{const s=bM(Fl,e.__scopeHoverCard),{forceMount:r=s.forceMount,...l}=e,u=Ec(Fl,e.__scopeHoverCard);return c.jsx(Qn,{present:r||u.open,children:c.jsx(wM,{"data-state":u.open?"open":"closed",...l,onPointerEnter:Ae(e.onPointerEnter,Gl(u.onOpen)),onPointerLeave:Ae(e.onPointerLeave,Gl(u.onClose)),ref:i})})});rw.displayName=Fl;var wM=w.forwardRef((e,i)=>{const{__scopeHoverCard:s,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...m}=e,g=Ec(Fl,s),p=Sc(s),y=w.useRef(null),v=ut(i,y),[b,E]=w.useState(!1);return w.useEffect(()=>{if(b){const A=document.body;return of=A.style.userSelect||A.style.webkitUserSelect,A.style.userSelect="none",A.style.webkitUserSelect="none",()=>{A.style.userSelect=of,A.style.webkitUserSelect=of}}},[b]),w.useEffect(()=>{if(y.current){const A=()=>{E(!1),g.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==""&&(g.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",A),()=>{document.removeEventListener("pointerup",A),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!1}}},[g.isPointerDownOnContentRef,g.hasSelectionRef]),w.useEffect(()=>{y.current&&TM(y.current).forEach(T=>T.setAttribute("tabindex","-1"))}),c.jsx(Br,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:Ae(u,A=>{A.preventDefault()}),onDismiss:g.onDismiss,children:c.jsx(I1,{...p,...m,onPointerDown:Ae(m.onPointerDown,A=>{A.currentTarget.contains(A.target)&&E(!0),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!0}),ref:v,style:{...m.style,userSelect:b?"text":void 0,WebkitUserSelect:b?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})}),SM="HoverCardArrow",EM=w.forwardRef((e,i)=>{const{__scopeHoverCard:s,...r}=e,l=Sc(s);return c.jsx(Y1,{...l,...r,ref:i})});EM.displayName=SM;function Gl(e){return i=>i.pointerType==="touch"?void 0:e()}function TM(e){const i=[],s=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;s.nextNode();)i.push(s.currentNode);return i}var AM=nw,jM=aw,CM=sw,ow=rw;const lw=AM,cw=jM,Yh=w.forwardRef(({className:e,align:i="center",sideOffset:s=4,...r},l)=>c.jsx(CM,{children:c.jsx(ow,{ref:l,align:i,sideOffset:s,className:Ie("z-50 w-64 roun
9ded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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-hover-card-content-transform-origin]",e),...r})}));Yh.displayName=ow.displayName;function lf({children:e,claim:i,documentName:s,locator:r,excerpt:l,confidence:u}){const[f,m]=w.useState(!1);return c.jsxs(lw,{open:f,onOpenChange:m,openDelay:120,closeDelay:80,children:[c.jsx(cw,{asChild:!0,children:c.jsx("button",{type:"button","aria-label":`View source for ${i}`,className:"memo-source-claim","aria-expanded":f,onClick:()=>m(!0),children:e})}),c.jsxs(Yh,{className:"memo-source-card",side:"top",align:"start",sideOffset:10,children:[c.jsxs("div",{className:"memo-source-heading",children:[c.jsx("strong",{children:s}),c.jsx("span",{children:r})]}),c.jsx("blockquote",{children:l}),c.jsxs("span",{className:`memo-confidence is-${u.toLowerCase()}`,children:[u," confidence"]})]})]})}function NM(){return c.jsxs("section",{className:"criteria-memo",id:"criteria-memo","aria-label":"Illustrative Cedar Ridge investment memo",children:[c.jsxs("header",{className:"criteria-memo-header",children:[c.jsx("strong",{children:"Investment memo"}),c.jsx("span",{children:"V3 · Oct 10"})]}),c.jsxs("div",{className:"criteria-memo-asset",children:[c.jsx("span",{children:"Asset"}),c.jsx("strong",{children:"Cedar Ridge Data Center"})]}),c.jsxs("div",{className:"criteria-memo-recommendation",children:[c.jsx("span",{children:"Recommendation"}),c.jsxs("p",{children:[c.jsx("strong",{children:"Advance"}),c.jsx("span",{children:"Conditional on remaining power and JV terms"})]})]}),c.jsxs("div",{className:"criteria-memo-section",children:[c.jsx("span",{children:"Executive summary"}),c.jsxs("p",{children:[c.jsx(lf,{claim:"180 MW is committed",documentName:"Utility service agreement",locator:"Page 4",excerpt:"The utility will reserve 180 MW of initial capacity. Any additional allocation is subject to system upgrades and a separate service agreement.",confidence:"High",children:"180 MW is committed"})," ","against a 250 MW requirement. The"," ",c.jsx(lf,{claim:"diligence period expires October 18",documentName:"Purchase and sale agreement",locator:"Section 7.2",excerpt:"Buyerâs investigation period expires at 5:00 p.m. local time on October 18, 2026.",confidence:"High",children:"diligence period expires October 18"}),"."]})]}),c.jsxs("div",{className:"criteria-memo-section",children:[c.jsx("span",{children:"Biggest risks"}),c.jsxs("ul",{children:[c.jsx("li",{children:"The delivery path for the remaining 70 MW is still open"}),c.jsx("li",{children:c.jsx(lf,{claim:"Budget changes above $5M require unanimous consent",documentName:"JV operating agreement",locator:"Section 6.4",excerpt:"Any annual budget change above $5,000,000 requires the unanimous approval of all members.",confidence:"Medium",children:"Budget changes above $5M require unanimous consent"})})]})]}),c.jsxs("div",{className:"criteria-memo-coverage",children:[c.jsxs("div",{children:[c.jsx("span",{children:"Evidence coverage"}),c.jsx("strong",{children:"87% · 44 of 51 claims sourced"})]}),c.jsx("progress",{className:"criteria-memo-progress",value:87,max:100,"aria-label":"Evidence coverage",children:"87%"})]}),c.jsx("small",{children:"Illustrative transaction memo"})]})}function RM({children:e}){const i=w.useRef(null),[s,r]=w.useState(!1);w.useEffect(()=>{const u=i.current;if(!u)return;const f=()=>{r(u.scrollLeft>=u.scrollWidth-u.clientWidth-2)};f(),u.addEventListener("scroll",f,{passive:!0});const m=new ResizeObserver(f);return m.observe(u),()=>{u.removeEventListener("scroll",f),m.disconnect()}},[]);function l(){const u=i.current;if(!u)return;const f=parseFloat(getComputedStyle(u).paddingLeft)||0,m=u.getBoundingClientRect().left,g=u.scrollWidth-u.clientWidth,y=Array.from(u.children,v=>u.scrollLeft+v.getBoundingClientRect().left-m-f).find(v=>v>u.scrollLeft+2);u.scrollTo({left:Math.min(y??g,g),behavior:window.matchMedia("(prefers-reduced-motion: reduce)").matches?"instant":"smooth"})}return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"workspace-gallery-controls",children:c.jsxs("button",{type:"button",className:"workspace-gallery-next","aria-controls":"workspace-gallery",onClick:l,disabled:s,children:["Next screenshot",c.jsx(Ri,{"aria-hidden":"true"})]})}),c.jsx("section",{id:"workspace-gallery",ref:i,className:"workspace-gallery","aria-label":"Scrollable Brixely transaction workspace views",children:e})]})}var cf="focusScope.autoFocusOnMount",uf="focusScope.autoFocusOnUnmount",Ex={bubbles:!1,cancelable:!0},DM="FocusScope",uw=w.forwardRef((e,i)=>{const{loop:s=!1,trapped:r=!1,onMountAutoFocus:l,onUnmountAutoFocus:u,...f}=e,[m,g]=w.useState(null),p=jn(l),y=jn(u),v=w.useRef(null),b=ut(i,T=>g(T)),E=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let T=function(D){if(E.paused||!m)return;const O=D.target;m.contains(O)?v.current=O:Ai(v.current,{select:!0})},j=function(D){if(E.paused||!m)return;const O=D.relatedTarget;O!==null&&(m.contains(O)||Ai(v.current,{select:!0}))},R=function(D){if(document.activeElement===document.body)for(const _ of D)_.removedNodes.length>0&&Ai(m)};document.addEventListener("focusin",T),document.addEventListener("focusout",j);const N=new MutationObserver(R);return m&&N.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",T),document.removeEventListener("focusout",j),N.disconnect()}}},[r,m,E.paused]),w.useEffect(()=>{if(m){Ax.add(E);const T=document.activeElement;if(!m.contains(T)){const R=new CustomEvent(cf,Ex);m.addEventListener(cf,p),m.dispatchEvent(R),R.defaultPrevented||(MM(LM(dw(m)),{select:!0}),document.activeElement===T&&Ai(m))}return()=>{m.removeEventListener(cf,p),setTimeout(()=>{const R=new CustomEvent(uf,Ex);m.addEventListener(uf,y),m.dispatchEvent(R),R.defaultPrevented||Ai(T??document.body,{select:!0}),m.removeEventListener(uf,y),Ax.remove(E)},0)}}},[m,p,y,E]);const A=w.useCallback(T=>{if(!s&&!r||E.paused)return;const j=T.key==="Tab"&&!T.altKey&&!T.ctrlKey&&!T.metaKey,R=document.activeElement;if(j&&R){const N=T.currentTarget,[D,O]=kM(N);D&&O?!T.shiftKey&&R===O?(T.preventDefault(),s&&Ai(D,{select:!0})):T.shiftKey&&R===D&&(T.preventDefault(),s&&Ai(O,{select:!0})):R===N&&T.preventDefault()}},[s,r,E.paused]);return c.jsx(Be.div,{tabIndex:-1,...f,ref:b,onKeyDown:A})});uw.displayName=DM;function MM(e,{select:i=!1}={}){const s=document.activeElement;for(const r of e)if(Ai(r,{select:i}),document.activeElement!==s)return}function kM(e){const i=dw(e),s=Tx(i,e),r=Tx(i.reverse(),e);return[s,r]}function dw(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 Tx(e,i){for(const s of e)if(!OM(s,{upTo:i}))return s}function OM(e,{upTo:i}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(i!==void 0&&e===i)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function _M(e){return e instanceof HTMLInputElement&&"select"in e}function Ai(e,{select:i=!1}={}){if(e&&e.focus){const s=document.activeElement;e.focus({preventScroll:!0}),e!==s&&_M(e)&&i&&e.select()}}var Ax=PM();function PM(){let e=[];return{add(i){const s=e[0];i!==s&&s?.pause(),e=jx(e,i),e.unshift(i)},remove(i){e=jx(e,i),e[0]?.resume()}}}function jx(e,i){const s=[...e],r=s.indexOf(i);return r!==-1&&s.splice(r,1),s}function LM(e){return e.filter(i=>i.tagName!=="A")}var df=0;
vendor: 6,140 bytes, lines 9-24
9function VM(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Cx()),document.body.insertAdjacentElement("beforeend",e[1]??Cx()),df++,()=>{df===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(i=>i.remove()),df--}},[])}function Cx(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Sn=function(){return Sn=Object.assign||function(i){for(var s,r=1,l=arguments.length;r<l;r++){s=arguments[r];for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(i[u]=s[u])}return i},Sn.apply(this,arguments)};function fw(e,i){var s={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&i.indexOf(r)<0&&(s[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)i.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(s[r[l]]=e[r[l]]);return s}function zM(e,i,s){if(s||arguments.length===2)for(var r=0,l=i.length,u;r<l;r++)(u||!(r in i))&&(u||(u=Array.prototype.slice.call(i,0,r)),u[r]=i[r]);return e.concat(u||Array.prototype.slice.call(i))}var jl="right-scroll-bar-position",Cl="width-before-scroll-bar",BM="with-scroll-bars-hidden",UM="--removed-body-scroll-bar-size";function ff(e,i){return typeof e=="function"?e(i):e&&(e.current=i),e}function HM(e,i){var s=w.useState(function(){return{value:e,callback:i,facade:{get current(){return s.value},set current(r){var l=s.value;l!==r&&(s.value=r,s.callback(r,l))}}}})[0];return s.callback=i,s.facade}var qM=typeof window<"u"?w.useLayoutEffect:w.useEffect,Nx=new WeakMap;function FM(e,i){var s=HM(null,function(r){return e.forEach(function(l){return ff(l,r)})});return qM(function(){var r=Nx.get(s);if(r){var l=new Set(r),u=new Set(e),f=s.current;l.forEach(function(m){u.has(m)||ff(m,null)}),u.forEach(function(m){l.has(m)||ff(m,f)})}Nx.set(s,e)},[e]),s}function GM(e){return e}function IM(e,i){i===void 0&&(i=GM);var s=[],r=!1,l={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:e},useMedium:function(u){var f=i(u,r);return s.push(f),function(){s=s.filter(function(m){return m!==f})}},assignSyncMedium:function(u){for(r=!0;s.length;){var f=s;s=[],f.forEach(u)}s={push:function(m){return u(m)},filter:function(){return s}}},assignMedium:function(u){r=!0;var f=[];if(s.length){var m=s;s=[],m.forEach(u),f=s}var g=function(){var y=f;f=[],y.forEach(u)},p=function(){return Promise.resolve().then(g)};p(),s={push:function(y){f.push(y),p()},filter:function(y){return f=f.filter(y),s}}}};return l}function YM(e){e===void 0&&(e={});var i=IM(null);return i.options=Sn({async:!0,ssr:!1},e),i}var hw=function(e){var i=e.sideCar,s=fw(e,["sideCar"]);if(!i)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=i.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,Sn({},s))};hw.isSideCarExport=!0;function XM(e,i){return e.useMedium(i),hw}var mw=YM(),hf=function(){},Tc=w.forwardRef(function(e,i){var s=w.useRef(null),r=w.useState({onScrollCapture:hf,onWheelCapture:hf,onTouchMoveCapture:hf}),l=r[0],u=r[1],f=e.forwardProps,m=e.children,g=e.className,p=e.removeScrollBar,y=e.enabled,v=e.shards,b=e.sideCar,E=e.noRelative,A=e.noIsolation,T=e.inert,j=e.allowPinchZoom,R=e.as,N=R===void 0?"div":R,D=e.gapMode,O=fw(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=b,q=FM([s,i]),X=Sn(Sn({},O),l);return w.createElement(w.Fragment,null,y&&w.createElement(_,{sideCar:mw,removeScrollBar:p,shards:v,noRelative:E,noIsolation:A,inert:T,setCallbacks:u,allowPinchZoom:!!j,lockRef:s,gapMode:D}),f?w.cloneElement(w.Children.only(m),Sn(Sn({},X),{ref:q})):w.createElement(N,Sn({},X,{className:g,ref:q}),m))});Tc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Tc.classNames={fullWidth:Cl,zeroRight:jl};var KM=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function QM(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var i=KM();return i&&e.setAttribute("nonce",i),e}function ZM(e,i){e.styleSheet?e.styleSheet.cssText=i:e.appendChild(document.createTextNode(i))}function WM(e){var i=document.head||document.getElementsByTagName("head")[0];i.appendChild(e)}var $M=function(){var e=0,i=null;return{add:function(s){e==0&&(i=QM())&&(ZM(i,s),WM(i)),e++},remove:function(){e--,!e&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null)}}},JM=function(){var e=$M();return function(i,s){w.useEffect(function(){return e.add(i),function(){e.remove()}},[i&&s])}},pw=function(){var e=JM(),i=function(s){var r=s.styles,l=s.dynamic;return e(r,l),null};return i},ek={left:0,top:0,right:0,gap:0},mf=function(e){return parseInt(e||"",10)||0},tk=function(e){var i=window.getComputedStyle(document.body),s=i[e==="padding"?"paddingLeft":"marginLeft"],r=i[e==="padding"?"paddingTop":"marginTop"],l=i[e==="padding"?"paddingRight":"marginRight"];return[mf(s),mf(r),mf(l)]},nk=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ek;var i=tk(e),s=document.documentElement.clientWidth,r=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,r-s+i[2]-i[0])}},ik=pw(),cs="data-scroll-locked",ak=function(e,i,s,r){var l=e.left,u=e.top,f=e.right,m=e.gap;return s===void 0&&(s="margin"),` 10 .`.concat(BM,` { 11 overflow: hidden `).concat(r,`; 12 padding-right: `).concat(m,"px ").concat(r,`; 13 } 14 body[`).concat(cs,`] { 15 overflow: hidden `).concat(r,`; 16 overscroll-behavior: contain; 17 `).concat([i&&"position: relative ".concat(r,";"),s==="margin"&&` 18 padding-left: `.concat(l,`px; 19 padding-top: `).concat(u,`px; 20 padding-right: `).concat(f,`px; 21 margin-left:0; 22 margin-top:0; 23 margin-right: `).concat(m,"px ").concat(r,`; 24 `),s==="padding"&&"padding-right: ".concat(m,"px ").concat(r,";
24")].filter(Boolean).join(""),` 25 } 26 27 .`).concat(jl,` { 28 right: `).concat(m,"px ").concat(r,`; 29 } 30 31 .`).concat(Cl,` { 32 margin-right: `).concat(m,"px ").concat(r,`; 33 } 34 35 .`).concat(jl," .").concat(jl,` { 36 right: 0 `).concat(r,`; 37 } 38 39 .`).concat(Cl," .").concat(Cl,` { 40 margin-right: 0 `).concat(r,`; 41 } 42 43 body[`).concat(cs,`] { 44 `).concat(UM,": ").concat(m,`px; 45 } 46`)},Rx=function(){var e=parseInt(document.body.getAttribute(cs)||"0",10);return isFinite(e)?e:0},sk=function(){w.useEffect(function(){return document.body.setAttribute(cs,(Rx()+1).toString()),function(){var e=Rx()-1;e<=0?document.body.removeAttribute(cs):document.body.setAttribute(cs,e.toString())}},[])},rk=function(e){var i=e.noRelative,s=e.noImportant,r=e.gapMode,l=r===void 0?"margin":r;sk();var u=w.useMemo(function(){return nk(l)},[l]);return w.createElement(ik,{styles:ak(u,!i,l,s?"":"!important")})},Kf=!1;if(typeof window<"u")try{var ml=Object.defineProperty({},"passive",{get:function(){return Kf=!0,!0}});window.addEventListener("test",ml,ml),window.removeEventListener("test",ml,ml)}catch{Kf=!1}var Ja=Kf?{passive:!1}:!1,ok=function(e){return e.tagName==="TEXTAREA"},gw=function(e,i){if(!(e instanceof Element))return!1;var s=window.getComputedStyle(e);return s[i]!=="hidden"&&!(s.overflowY===s.overflowX&&!ok(e)&&s[i]==="visible")},lk=function(e){return gw(e,"overflowY")},ck=function(e){return gw(e,"overflowX")},Dx=function(e,i){var s=i.ownerDocument,r=i;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var l=yw(e,r);if(l){var u=vw(e,r),f=u[1],m=u[2];if(f>m)return!0}r=r.parentNode}while(r&&r!==s.body);return!1},uk=function(e){var i=e.scrollTop,s=e.scrollHeight,r=e.clientHeight;return[i,s,r]},dk=function(e){var i=e.scrollLeft,s=e.scrollWidth,r=e.clientWidth;return[i,s,r]},yw=function(e,i){return e==="v"?lk(i):ck(i)},vw=function(e,i){return e==="v"?uk(i):dk(i)},fk=function(e,i){return e==="h"&&i==="rtl"?-1:1},hk=function(e,i,s,r,l){var u=fk(e,window.getComputedStyle(i).direction),f=u*r,m=s.target,g=i.contains(m),p=!1,y=f>0,v=0,b=0;do{if(!m)break;var E=vw(e,m),A=E[0],T=E[1],j=E[2],R=T-j-u*A;(A||R)&&yw(e,m)&&(v+=R,b+=A);var N=m.parentNode;m=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!g&&m!==document.body||g&&(i.contains(m)||i===m));return(y&&Math.abs(v)<1||!y&&Math.abs(b)<1)&&(p=!0),p},pl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Mx=function(e){return[e.deltaX,e.deltaY]},kx=function(e){return e&&"current"in e?e.current:e},mk=function(e,i){return e[0]===i[0]&&e[1]===i[1]},pk=function(e){return` 47 .block-interactivity-`.concat(e,` {pointer-events: none;} 48 .allow-interactivity-`).concat(e,` {pointer-events: all;} 49`)},gk=0,es=[];function yk(e){var i=w.useRef([]),s=w.useRef([0,0]),r=w.useRef(),l=w.useState(gk++)[0],u=w.useState(pw)[0],f=w.useRef(e);w.useEffect(function(){f.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var T=zM([e.lockRef.current],(e.shards||[]).map(kx),!0).filter(Boolean);return T.forEach(function(j){return j.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),T.forEach(function(j){return j.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var m=w.useCallback(function(T,j){if("touches"in T&&T.touches.length===2||T.type==="wheel"&&T.ctrlKey)return!f.current.allowPinchZoom;var R=pl(T),N=s.current,D="deltaX"in T?T.deltaX:N[0]-R[0],O="deltaY"in T?T.deltaY:N[1]-R[1],_,q=T.target,X=Math.abs(D)>Math.abs(O)?"h":"v";if("touches"in T&&X==="h"&&q.type==="range")return!1;var B=window.getSelection(),W=B&&B.anchorNode,Z=W?W===q||W.contains(q):!1;if(Z)return!1;var ae=Dx(X,q);if(!ae)return!0;if(ae?_=X:(_=X==="v"?"h":"v",ae=Dx(X,q)),!ae)return!1;if(!r.current&&"changedTouches"in T&&(D||O)&&(r.current=_),!_)return!0;var ne=r.current||_;return hk(ne,j,T,ne==="h"?D:O)},[]),g=w.useCallback(function(T){var j=T;if(!(!es.length||es[es.length-1]!==u)){var R="deltaY"in j?Mx(j):pl(j),N=i.current.filter(function(_){return _.name===j.type&&(_.target===j.target||j.target===_.shadowParent)&&mk(_.delta,R)})[0];if(N&&N.should){j.cancelable&&j.preventDefault();return}
vendor: 8,840 bytes, lines 49-53
49if(!N){var D=(f.current.shards||[]).map(kx).filter(Boolean).filter(function(_){return _.contains(j.target)}),O=D.length>0?m(j,D[0]):!f.current.noIsolation;O&&j.cancelable&&j.preventDefault()}}},[]),p=w.useCallback(function(T,j,R,N){var D={name:T,delta:j,target:R,should:N,shadowParent:vk(R)};i.current.push(D),setTimeout(function(){i.current=i.current.filter(function(O){return O!==D})},1)},[]),y=w.useCallback(function(T){s.current=pl(T),r.current=void 0},[]),v=w.useCallback(function(T){p(T.type,Mx(T),T.target,m(T,e.lockRef.current))},[]),b=w.useCallback(function(T){p(T.type,pl(T),T.target,m(T,e.lockRef.current))},[]);w.useEffect(function(){return es.push(u),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:b}),document.addEventListener("wheel",g,Ja),document.addEventListener("touchmove",g,Ja),document.addEventListener("touchstart",y,Ja),function(){es=es.filter(function(T){return T!==u}),document.removeEventListener("wheel",g,Ja),document.removeEventListener("touchmove",g,Ja),document.removeEventListener("touchstart",y,Ja)}},[]);var E=e.removeScrollBar,A=e.inert;return w.createElement(w.Fragment,null,A?w.createElement(u,{styles:pk(l)}):null,E?w.createElement(rk,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function vk(e){for(var i=null;e!==null;)e instanceof ShadowRoot&&(i=e.host,e=e.host),e=e.parentNode;return i}const xk=XM(mw,yk);var xw=w.forwardRef(function(e,i){return w.createElement(Tc,Sn({},e,{ref:i,sideCar:xk}))});xw.classNames=Tc.classNames;var bk=function(e){if(typeof document>"u")return null;var i=Array.isArray(e)?e[0]:e;return i.ownerDocument.body},ts=new WeakMap,gl=new WeakMap,yl={},pf=0,bw=function(e){return e&&(e.host||bw(e.parentNode))},wk=function(e,i){return i.map(function(s){if(e.contains(s))return s;var r=bw(s);return r&&e.contains(r)?r:(console.error("aria-hidden",s,"in not contained inside",e,". Doing nothing"),null)}).filter(function(s){return!!s})},Sk=function(e,i,s,r){var l=wk(i,Array.isArray(e)?e:[e]);yl[s]||(yl[s]=new WeakMap);var u=yl[s],f=[],m=new Set,g=new Set(l),p=function(v){!v||m.has(v)||(m.add(v),p(v.parentNode))};l.forEach(p);var y=function(v){!v||g.has(v)||Array.prototype.forEach.call(v.children,function(b){if(m.has(b))y(b);else try{var E=b.getAttribute(r),A=E!==null&&E!=="false",T=(ts.get(b)||0)+1,j=(u.get(b)||0)+1;ts.set(b,T),u.set(b,j),f.push(b),T===1&&A&&gl.set(b,!0),j===1&&b.setAttribute(s,"true"),A||b.setAttribute(r,"true")}catch(R){console.error("aria-hidden: cannot operate on ",b,R)}})};return y(i),m.clear(),pf++,function(){f.forEach(function(v){var b=ts.get(v)-1,E=u.get(v)-1;ts.set(v,b),u.set(v,E),b||(gl.has(v)||v.removeAttribute(r),gl.delete(v)),E||v.removeAttribute(s)}),pf--,pf||(ts=new WeakMap,ts=new WeakMap,gl=new WeakMap,yl={})}},Ek=function(e,i,s){s===void 0&&(s="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),l=bk(e);return l?(r.push.apply(r,Array.from(l.querySelectorAll("[aria-live], script"))),Sk(r,l,s,"aria-hidden")):function(){return null}},Ac="Dialog",[ww]=_i(Ac),[Tk,dn]=ww(Ac),Sw=e=>{const{__scopeDialog:i,children:s,open:r,defaultOpen:l,onOpenChange:u,modal:f=!0}=e,m=w.useRef(null),g=w.useRef(null),[p,y]=ms({prop:r,defaultProp:l??!1,onChange:u,caller:Ac});return c.jsx(Tk,{scope:i,triggerRef:m,contentRef:g,contentId:jr(),titleId:jr(),descriptionId:jr(),open:p,onOpenChange:y,onOpenToggle:w.useCallback(()=>y(v=>!v),[y]),modal:f,children:s})};Sw.displayName=Ac;var Ew="DialogTrigger",Ak=w.forwardRef((e,i)=>{const{__scopeDialog:s,...r}=e,l=dn(Ew,s),u=ut(i,l.triggerRef);return c.jsx(Be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":Qh(l.open),...r,ref:u,onClick:Ae(e.onClick,l.onOpenToggle)})});Ak.displayName=Ew;var Xh="DialogPortal",[jk,Tw]=ww(Xh,{forceMount:void 0}),Aw=e=>{const{__scopeDialog:i,forceMount:s,children:r,container:l}=e,u=dn(Xh,i);return c.jsx(jk,{scope:i,forceMount:s,children:w.Children.map(r,f=>c.jsx(Qn,{present:s||u.open,children:c.jsx(dc,{asChild:!0,container:l,children:f})}))})};Aw.displayName=Xh;var Il="DialogOverlay",jw=w.forwardRef((e,i)=>{const s=Tw(Il,e.__scopeDialog),{forceMount:r=s.forceMount,...l}=e,u=dn(Il,e.__scopeDialog);return u.modal?c.jsx(Qn,{present:r||u.open,children:c.jsx(Nk,{...l,ref:i})}):null});jw.displayName=Il;var Ck=Vl("DialogOverlay.RemoveScroll"),Nk=w.forwardRef((e,i)=>{const{__scopeDialog:s,...r}=e,l=dn(Il,s);return c.jsx(xw,{as:Ck,allowPinchZoom:!0,shards:[l.contentRef],children:c.jsx(Be.div,{"data-state":Qh(l.open),...r,ref:i,style:{pointerEvents:"auto",...r.style}})})}),fa="DialogContent",Cw=w.forwardRef((e,i)=>{const s=Tw(fa,e.__scopeDialog),{forceMount:r=s.forceMount,...l}=e,u=dn(fa,e.__scopeDialog);return c.jsx(Qn,{present:r||u.open,children:u.modal?c.jsx(Rk,{...l,ref:i}):c.jsx(Dk,{...l,ref:i})})});Cw.displayName=fa;var Rk=w.forwardRef((e,i)=>{const s=dn(fa,e.__scopeDialog),r=w.useRef(null),l=ut(i,s.contentRef,r);return w.useEffect(()=>{const u=r.current;if(u)return Ek(u)},[]),c.jsx(Nw,{...e,ref:l,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ae(e.onCloseAutoFocus,u=>{u.preventDefault(),s.triggerRef.current?.focus()}),onPointerDownOutside:Ae(e.onPointerDownOutside,u=>{const f=u.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0;(f.button===2||m)&&u.preventDefault()}),onFocusOutside:Ae(e.onFocusOutside,u=>u.preventDefault())})}),Dk=w.forwardRef((e,i)=>{const s=dn(fa,e.__scopeDialog),r=w.useRef(!1),l=w.useRef(!1);return c.jsx(Nw,{...e,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u=>{e.onCloseAutoFocus?.(u),u.defaultPrevented||(r.current||s.triggerRef.current?.focus(),u.preventDefault()),r.current=!1,l.current=!1},onInteractOutside:u=>{e.onInteractOutside?.(u),u.defaultPrevented||(r.current=!0,u.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const f=u.target;s.triggerRef.current?.contains(f)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&l.current&&u.preventDefault()}})}),Nw=w.forwardRef((e,i)=>{const{__scopeDialog:s,trapFocus:r,onOpenAutoFocus:l,onCloseAutoFocus:u,...f}=e,m=dn(fa,s),g=w.useRef(null),p=ut(i,g);return VM(),c.jsxs(c.Fragment,{children:[c.jsx(uw,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:l,onUnmountAutoFocus:u,children:c.jsx(Br,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":Qh(m.open),...f,ref:p,onDismiss:()=>m.onOpenChange(!1)})}),c.jsxs(c.Fragment,{children:[c.jsx(Mk,{titleId:m.titleId}),c.jsx(Ok,{contentRef:g,descriptionId:m.descriptionId})]})]})}),Kh="DialogTitle",Rw=w.forwardRef((e,i)=>{const{__scopeDialog:s,...r}=e,l=dn(Kh,s);return c.jsx(Be.h2,{id:l.titleId,...r,ref:i})});Rw.displayName=Kh;var Dw="DialogDescription",Mw=w.forwardRef((e,i)=>{const{__scopeDialog:s,...r}=e,l=dn(Dw,s);return c.jsx(Be.p,{id:l.descriptionId,...r,ref:i})});Mw.displayName=Dw;var kw="DialogClose",Ow=w.forwardRef((e,i)=>{const{__scopeDialog:s,...r}=e,l=dn(kw,s);return c.jsx(Be.button,{type:"button",...r,ref:i,onClick:Ae(e.onClick,()=>l.onOpenChange(!1))})});Ow.displayName=kw;function Qh(e){return e?"open":"closed"}var _w="DialogTitleWarning",[u_,Pw]=Qj(_w,{contentName:fa,titleName:Kh,docsSlug:"dialog"}),Mk=({titleId:e})=>{const i=Pw(_w),s=`\`${i.contentName}\` requires a \`${i.titleName}\` for the component to be accessible for screen reader users. 50 51If you want to hide the \`${i.titleName}\`, you can wrap it with our VisuallyHidden component. 52 53For more information, see https://radix-ui.com/primitives/docs/components/${i.docsSlug}`;return w.useEffect(()=>{e&&(document.getElementById(e)||console.error(s))},[s,e]),null},kk="DialogDescriptionWarning",Ok=({contentRef:e,descriptionId:i})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Pw(kk).contentName}}.`;return w.useEffect(()=>{const l=e.current?.getAttribute("aria-describedby");i&&l&&(document.getElementById(i)||console.warn(r))},[r,e,i]),null},_k=Sw,Pk=Aw,Lw=jw,Vw=Cw,zw=Rw,Bw=Mw,Lk=Ow;const Uw=_k,Vk=Pk,Hw=w.forwardRef(({className:e,...i},s)=>c.jsx(Lw,{ref:s,className:Ie("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...i}));Hw.displayName=Lw.displayName;const Zh=w.forwardRef(({className:e,children:i,...s},r)=>c.jsxs(Vk,{children:[c.jsx(Hw,{}),c.jsxs(Vw,{ref:r,className:Ie("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
53nded-lg",e),...s,children:[i,c.jsxs(Lk,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[c.jsx(Oh,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Zh.displayName=Vw.displayName;const qw=({className:e,...i})=>c.jsx("div",{className:Ie("flex flex-col space-y-1.5 text-center sm:text-left",e),...i});qw.displayName="DialogHeader";const Yl=w.forwardRef(({className:e,...i},s)=>c.jsx(zw,{ref:s,className:Ie("text-lg font-semibold leading-none tracking-tight",e),...i}));Yl.displayName=zw.displayName;const Xl=w.forwardRef(({className:e,...i},s)=>c.jsx(Bw,{ref:s,className:Ie("text-sm text-muted-foreground",e),...i}));Xl.displayName=Bw.displayName;const zk="modulepreload",Bk=function(e){return"/"+e},Ox={},_x=function(i,s,r){let l=Promise.resolve();if(s&&s.length>0){let p=function(y){return Promise.all(y.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};var f=p;document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),g=m?.nonce||m?.getAttribute("nonce");l=p(s.map(y=>{if(y=Bk(y),y in Ox)return;Ox[y]=!0;const v=y.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${b}`))return;const E=document.createElement("link");if(E.rel=v?"stylesheet":zk,v||(E.as="script"),E.crossOrigin="",E.href=y,g&&E.setAttribute("nonce",g),document.head.appendChild(E),v)return new Promise((A,T)=>{E.addEventListener("load",A),E.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${y}`)))})}))}function u(m){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=m,window.dispatchEvent(g),!g.defaultPrevented)throw m}return l.then(m=>{for(const g of m||[])g.status==="rejected"&&u(g.reason);return i().catch(u)})},ns="/datacenters-assets/pdfjs/";let gf;function Uk(){return gf??=new Promise((e,i)=>{const s=document.createElement("link");s.rel="stylesheet",s.href=`${ns}viewer.css`,s.onload=()=>e(),s.onerror=()=>{s.remove(),gf=void 0,i(new Error("Styles unavailable"))},document.head.appendChild(s)}),gf}function Hk({report:e,initialPage:i,onPageChange:s}){const r=w.useRef(null),l=w.useRef(null),u=w.useRef(null),f=w.useRef(i),[m,g]=w.useState(i),[p,y]=w.useState(0),[v,b]=w.useState(100),[E,A]=w.useState(!1),[T,j]=w.useState(!1),[R,N]=w.useState(0);return w.useEffect(()=>{const D=new AbortController;let O=()=>{};async function _(){const q=await _x(()=>import("./pdf-ClZ_1Nv1.js"),[]),X=await _x(()=>import("./pdf_viewer-CFFP5a5y.js"),[]);await Uk();const B=new Uint8Array(await e.arrayBuffer());if(D.signal.aborted||!r.current||!l.current)return;q.GlobalWorkerOptions.workerSrc=`${ns}pdf.worker.min.mjs`;const W=new X.EventBus,Z=new X.PDFLinkService({eventBus:W,externalLinkTarget:X.LinkTarget.BLANK,externalLinkRel:"noopener noreferrer",ignoreDestinationZoom:!0}),ae={container:r.current,viewer:l.current,eventBus:W,linkService:Z,textLayerMode:1,annotationMode:q.AnnotationMode.ENABLE,annotationEditorMode:q.AnnotationEditorType.DISABLE,abortSignal:D.signal,imageResourcesPath:`${ns}images/`,maxCanvasPixels:16777216},ne=new X.PDFViewer(ae);u.current=ne,Z.setViewer(ne);const ye=q.getDocument({data:B,enableXfa:!1,cMapUrl:`${ns}cmaps/`,cMapPacked:!0,standardFontDataUrl:`${ns}standard_fonts/`,wasmUrl:`${ns}wasm/`});let J=!0;W.on("pagesinit",()=>{D.signal.aborted||(ne.currentScaleValue="page-width",ne.currentPageNumber=Math.min(f.current,ne.pagesCount))}),W.on("pagerendered",({error:G})=>{D.signal.aborted||(G?j(!0):A(!0))}),W.on("pagechanging",({pageNumber:G})=>{D.signal.aborted||(g(G),f.current=G,s(G))}),W.on("scalechanging",({scale:G,presetValue:ie})=>{D.signal.aborted||(J=ie==="page-width",b(Math.round(G*100)))});let ue=0;const L=new ResizeObserver(()=>{cancelAnimationFrame(ue),ue=requestAnimationFrame(()=>{J&&ne.pdfDocument&&!D.signal.aborted&&(ne.currentScaleValue="page-width")})});L.observe(r.current),O=()=>{L.disconnect(),cancelAnimationFrame(ue),ne.setDocument(null),Z.setDocument(null),u.current=null,ye.destroy().catch(()=>{})};const Q=await ye.promise;D.signal.aborted||(y(Q.numPages),Z.setDocument(Q),ne.setDocument(Q)
53)}return _().catch(()=>{D.signal.aborted||j(!0)}),()=>{O(),D.abort()}},[e,R,s]),c.jsxs("div",{className:"report-reader-body",children:[c.jsxs("fieldset",{className:"report-reader-controls","aria-label":"Report controls",children:[c.jsxs("div",{className:"report-control-group",children:[c.jsx("button",{type:"button","aria-label":"Previous page",disabled:!E||m<=1,onClick:()=>{u.current&&(u.current.currentPageNumber-=1)},children:c.jsx(eN,{"aria-hidden":"true"})}),c.jsx("span",{"aria-live":"polite",children:p?`${m} / ${p}`:"Loading"}),c.jsx("button",{type:"button","aria-label":"Next page",disabled:!E||m>=p,onClick:()=>{u.current&&(u.current.currentPageNumber+=1)},children:c.jsx(Wb,{"aria-hidden":"true"})})]}),c.jsxs("div",{className:"report-control-group",children:[c.jsx("button",{type:"button","aria-label":"Zoom out",disabled:!E||v<=25,onClick:()=>u.current?.decreaseScale(),children:c.jsx(NN,{"aria-hidden":"true"})}),c.jsx("button",{className:"report-fit",type:"button",disabled:!E,onClick:()=>{u.current&&(u.current.currentScaleValue="page-width")},children:"Fit width"}),c.jsx("button",{type:"button","aria-label":"Zoom in",disabled:!E||v>=300,onClick:()=>u.current?.increaseScale(),children:c.jsx(kN,{"aria-hidden":"true"})})]})]}),c.jsxs("section",{className:"report-pdf-surface","aria-label":"Executive brief pages",children:[c.jsx("div",{ref:r,className:"report-pdf-scroll",tabIndex:0,"aria-label":"Executive brief pages",children:c.jsx("div",{ref:l,className:"pdfViewer"})}),(!E||T)&&c.jsx("div",{className:"report-reader-status","aria-live":"polite",children:T?c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"We couldnât display the report."}),c.jsx("button",{type:"button",className:"button",onClick:()=>{A(!1),j(!1),N(D=>D+1)},children:"Try again"})]}):"Opening the reportâ¦"})]})]})}const qk="/api/reports/datacenters-august-2026/download",Fw=w.createContext(null);function Fk({children:e,demoUrl:i}){const s=w.useId(),r=w.useRef(null),[l,u]=w.useState(!1),[f,m]=w.useState(""),[g,p]=w.useState(""),[y,v]=w.useState(""),[b,E]=w.useState(!1),[A,T]=w.useState(null),j=w.useRef(""),R=w.useRef(""),N=w.useRef(!1),[D,O]=w.useState(1);async function _(q){if(q.preventDefault(),N.current)return;if(!f.trim()){v("Please enter your name.");return}N.current=!0,E(!0),v("");const X=`${f.trim()} 54${g.trim().toLowerCase()}`;(!j.current||R.current!==X)&&(j.current=crypto.randomUUID(),R.current=X);try{const B=await fetch(qk,{method:"POST",credentials:"same-origin",signal:AbortSignal.timeout(3e4),headers:{"Content-Type":"application/json"},body:JSON.stringify({name:f.trim(),email:g.trim(),requestId:j.current})});if(!B.ok)throw B.status===429?new Error("Too many requests. Please try again in a few minutes."):B.status===400?new Error("Please check your name and email address and try again."):new Error("We couldnât open the report. Please try again.");if(!B.headers.get("content-type")?.includes("application/pdf"))throw new Error("The report is temporarily unavailable. Please try again.");const W=await B.blob();if(!W.size)throw new Error("The report is temporarily unavailable. Please try again.");T(W),m(""),p("")}catch(B){v(B instanceof Error&&!["TypeError","TimeoutError","AbortError"].includes(B.name)?B.message:"We couldnât open the report. Check your connection and try again.")}finally{N.current=!1,E(!1)}}return c.jsx(Fw.Provider,{value:q=>{r.current=q,u(!0)},children:c.jsxs(Uw,{open:l,onOpenChange:u,children:[e,c.jsx(Zh,{className:`report-dialog${A?" report-dialog-reader":""}`,onCloseAutoFocus:q=>{q.preventDefault(),r.current?.focus()},children:A?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"report-reader-header",children:[c.jsxs("div",{children:[c.jsx(Yl,{className:"report-reader-title",children:"Data Center 2026 Report"}),c.jsx(Xl,{className:"report-reader-date",children:"August 2026 · Executive brief"})]}),c.jsxs("a",{className:"button report-booking",href:i,target:"_blank",rel:"noopener noreferrer",children:["Book a working session ",c.jsx(Sr,{"aria-hidden":"true"})]})]}),l&&c.jsx(Hk,{report:A,initialPage:D,onPageChange:O})]}):c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"report-dialog-heading",children:[c.jsx("span",{children:"August 2026 · Executive brief"}),c.jsx(Yl,{className:"report-dialog-title",children:"Purpose-built AI for data center diligence"}),c.jsx(Xl,{className:"report-dialog-description",children:"From early site evaluation to a source-backed investment decision."})]}),c.jsxs("form",{className:"report-form",onSubmit:_,"aria-busy":b,"data-clarity-mask":"true",children:[c.jsxs("div",{children:[c.jsx("label",{htmlFor:`${s}-name`,children:"Name"}),c.jsx("input",{id:`${s}-name`,name:"name",autoComplete:"name",required:!0,maxLength:120,value:f,onChange:q=>m(q.target.value),disabled:b})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:`${s}-email`,children:"Email"}),c.jsx("input",{id:`${s}-email`,name:"email",type:"email",autoComplete:"email",required:!0,maxLength:254,value:g,onChange:q=>p(q.target.value),disabled:b})]}),y&&c.jsx("p",{className:"report-error",role:"alert",children:y}),c.jsxs("button",{className:"button report-submit",type:"submit",disabled:b,children:[b?"Opening the report":"Read the brief",b?c.jsx(bN,{className:"report-spinner","aria-hidden":"true"}):c.jsx(Ri,{"aria-hidden":"true"})]})]})]})})]})})}function Gw({children:e,className:i=""}){const s=w.useContext(Fw);return c.jsx("button",{className:i,type:"button","aria-haspopup":"dialog",onClick:r=>s?.(r.currentTarget),children:e})}function Gk(){const e=w.useRef(null);return w.useEffect(()=>{const i=document.querySelector(".site-header"),s=e.current;if(!i||!s)return;const r=()=>{document.body.style.setProperty("--brixely-header-height",`${i.offsetHeight}px`),document.body.style.setProperty("--brixely-report-height",`${s.offsetHeight}px`)};let l=0;const u=new ResizeObserver(()=>{cancelAnimationFrame(l),l=requestAnimationFrame(r)});return u.observe(i),u.observe(s),r(),()=>{u.disconnect(),cancelAnimationFrame(l),document.body.style.removeProperty("--brixely-header-height"),document.body.style.removeProperty("--brixely-report-height")}},[]),c.jsx("div",{className:"report-banner-space",children:c.jsxs("div",{className:"report-banner",ref:e,children:[c.jsx("span",{children:"Data Center 2026 Report"}),c.jsxs(Gw,{className:"report-trigger",children:["Read ",c.jsx(Rh,{"aria-hidden":"true"})]})]})})}function Ik(){w.useLayoutEffect(()=>{const e="brixely-datacenters-page";document.body.classList.add(e),document.documentElement.classList.add(e);const i=document.title,s=[],r=(f,m)=>{const g=document.head.querySelector(f),p=g??document.createElement(f.startsWith("link")?"link":"meta"),y=[...p.attributes].map(({name:v,value:b})=>[v,b]);for(const[v,b]of Object.entries(m))p.setAttribute(v,b);g||document.head.appendChild(p),s.push(()=>
54{if(!g){p.remove();return}for(const v of[...p.attributes])p.removeAttribute(v.name);for(const[v,b]of y)p.setAttribute(v,b)})},l="Brixely | The AI-native workspace for data center transactions",u="Brixely bridges the gaps between CRMs and closings with one current, source-backed transaction record.";return document.title=l,r('meta[name="description"]',{name:"description",content:u}),r('link[rel="canonical"]',{rel:"canonical",href:"https://brixely.com/datacenters"}),r('meta[property="og:title"]',{property:"og:title",content:l}),r('meta[property="og:description"]',{property:"og:description",content:u}),r('meta[property="og:url"]',{property:"og:url",content:"https://brixely.com/datacenters"}),r('meta[name="twitter:title"]',{name:"twitter:title",content:l}),r('meta[name="twitter:description"]',{name:"twitter:description",content:u}),()=>{document.body.classList.remove(e),document.documentElement.classList.remove(e),document.title=i,s.forEach(f=>f())}},[])}const br="https://cal.com/brixely/demo?duration=30&overlayCalendar=true",Yk=[{id:"deal-record",label:"Deal record",title:"Keep the transaction current",copy:"Site, utility, lease, JV, lender, and technical files stay organized by workstream and version as the deal changes.",footer:"Documents, versions, and key dates"},{id:"criteria-review",label:"Review against criteria",title:"See the terms that change the deal",copy:"Commercial terms, approval rights, deadlines, dependencies, and gaps are checked against the firmâs diligence criteria.",footer:"Risks, owners, and source evidence"},{id:"decision-materials",label:"Decision materials",title:"Brief leadership from the source",copy:"The investment brief stays current with open issues, owners, key dates, and links back to the governing document.",footer:"IC-ready Word and PDF drafts"}],Xk=[{title:"Land, leases, and site control",detail:"Purchase terms, options, exclusivity, assignment rights, and key dates"},{title:"Power, permits, and infrastructure",detail:"Capacity, delivery milestones, dependencies, remedies, and approvals"},{title:"Joint ventures and partner rights",detail:"Governance, economics, capital calls, consent rights, and exit terms"},{title:"Financing and investment approvals",detail:"Lender requirements, covenants, conditions, and IC actions"}],Kk=[{kind:"email-ingest",title:"Forward an email to build the room",detail:"Brixely creates the room, files every attachment, and maps the property automatically"},{title:"Configure the room",detail:"Choose the asset, strategy, and transaction checklist",src:"/datacenters-assets/create-room.png",width:1185,height:433},{title:"Set the playbook",detail:"Use firm criteria or extract them from an existing document",src:"/datacenters-assets/playbook.png",width:1185,height:481},{title:"Documents and checklist",detail:"Files sort themselves while checklist gaps stay visible",src:"/datacenters-assets/product-documents.png",width:1185,height:449},{title:"Risk review",detail:"Rank findings and open every answer at the source",src:"/datacenters-assets/risk-review.png",width:1185,height:496},{title:"Ask across the room",detail:"Query the full property record with source-linked answers",src:"/datacenters-assets/ask-property.png",width:1185,height:449},{title:"Relationships",detail:"Identify lenders, counterparties, consultants, and deal teams",src:"/datacenters-assets/relationships.png",width:1185,height:288},{title:"Access",detail:"Control internal and external access at the room level",src:"/datacenters-assets/access.png",width:1185,height:464},{title:"Reports",detail:"Draft the investment memo and export to Word or PDF",src:"/datacenters-assets/reports.png",width:1185,height:464},{title:"Asset lifecycle",detail:"Carry documents and events from diligence through disposition",src:"/datacenters-assets/lifecycle.png",width:1442,height:1362,lifecycle:!0}],Qk=["SOC 2 Type II","ISO 27001","GDPR, CPRA","Per-firm tenant isolation","Encrypted at rest and in transit","Role-based access, 2FA, audit logging"];function Zk(){return c.jsxs("figure",{className:"email-ingest-sketch","aria-label":"A forwarded transaction email creates the Cedar Ridge data room, files three attachments, maps the property, and updates the checklist",children:[c.jsxs("div",{className:"email-ingest-topbar",children:[c.jsx("span",{children:"Brixely · Email intake"}),c.jsxs("span",{className:"email-ingest-live",children:[c.jsx("i",{})," Inbox connected"]})]}),c.jsxs("div",{className:"email-ingest-flow",children:[c.jsxs("section",{className:"forwarded-email-card",children:[c.jsx("span",{children:"Forwarded email"}),c.jsxs("div",{className:"forwarded-email-title",children:[c.jsx(kh,{"aria-hidden":"true"}),c.jsxs("div",{children:[c.jsx("h4",{children:"Fwd: Cedar Ridge diligence"}),c.jsx("p",{children:"From [email protected]"})]})]}),c.jsxs("div",{className:"forwarded-email-route",children:[c.jsx("span",{children:"To"}),c.jsx("strong",{children:"[email protected]"})]}),c.jsxs("div",{className:"forwarded-attachments",children:[c.jsxs("span",{children:[c.jsx(Ni,{"aria-hidden":"true"})," Utility service agreement.pdf"]}),c.jsxs("span",{children:[c.jsx(Ni,{"aria-hidden":"true"})," Purchase and sale agreement.pdf"]}),c.jsxs("span",{children:[c.jsx(Ni,{"aria-hidden":"true"})," JV operating agreement.pdf"]})]})]}),c.jsx("div",{className:"email-ingest-arrow","aria-hidden":"true",children:c.jsx(Ri,{})}),c.jsxs("section",{className:"room-activity-card",children:[c.jsxs("div",{className:"room-activity-heading",children:[c.jsxs("div",{children:[c.jsx("span",{children:"Transaction timeline"}),c.jsx("h4",{children:"Cedar Ridge Data Center"})]}),c.jsxs("strong",{children:[c.jsx(sa,{"aria-hidden":"true"})," Room ready"]})]}),c.jsxs("ol",{className:"room-activity-list",children:[c.jsxs("li",{children:[c.jsx("time",{children:"9:12"}),c.jsxs("div",{children:[c.jsx("strong",{children:"Email received"}),c.jsx("span",{children:"3 attachments added"})]})]}),c.jsxs("li",{children:[c.jsx("time",{children:"9:13"}),c.jsxs("div",{children:[c.jsx("strong",{children:"Property matched"}),c.jsx("span",{children:"Cedar Ridge Data Center"})]})]}),c.jsxs("li",{children:[c.jsx("time",{children:"9:13"}),c.jsxs("div",{children:[c.jsx("strong",{children:"Files classified"}),c.jsx("span",{children:"Power, site control, and JV"})]})]}),c.jsxs("li",{children:[c.jsx("time",{children:"9:14"}),c.jsxs("div",{children:[c.jsx("strong",{children:"Checklist updated"}),c.jsx("span",{children:"17 diligence criteria mapped"})]})]})]})]})]})]})}function xt({href:e,children:i,className:s=""}){return c.jsx("a",{className:s,href:e,target:"_blank",rel:"noreferrer",children:i})}function Px(){return c.jsxs(c.Fragment,{children:[c.jsx("a",{href:"#product",children:"Product"}
54),c.jsx("a",{href:"#workspace",children:"Workspace"}),c.jsx("a",{href:"#results",children:"Results"}),c.jsx("a",{href:"#security",children:"Security"}),c.jsx("a",{href:"#company",children:"Company"})]})}function Wk(){return Ik(),c.jsx(Fk,{demoUrl:br,children:c.jsxs("main",{id:"top",className:"brixely-datacenters-content","data-release":"workspace-update-2026-09-08",children:[c.jsxs("header",{className:"site-header",children:[c.jsx("a",{className:"brand",href:"#top","aria-label":"Brixely home",children:c.jsx("img",{src:"/datacenters-assets/brixely-logo-document.svg",alt:"Brixely",width:"770",height:"265"})}),c.jsx("nav",{className:"desktop-nav","aria-label":"Primary navigation",children:c.jsx(Px,{})}),c.jsxs("div",{className:"header-actions",children:[c.jsx(xt,{className:"login-link",href:"https://atriums.brixely.com",children:"Log in"}),c.jsxs(xt,{className:"button button-small",href:br,children:["Book a demo",c.jsx(Sr,{"aria-hidden":"true"})]})]}),c.jsxs("details",{className:"mobile-menu",children:[c.jsxs("summary",{"aria-label":"Open navigation",children:[c.jsx(t1,{"aria-hidden":"true"}),c.jsx("span",{children:"Menu"})]}),c.jsxs("nav",{"aria-label":"Mobile navigation",children:[c.jsx(Px,{}),c.jsx(xt,{href:"https://atriums.brixely.com",children:"Log in"}),c.jsx(xt,{href:br,children:"Book a demo"})]})]})]}),c.jsx(Gk,{}),c.jsxs("section",{className:"hero",children:[c.jsxs("div",{className:"hero-copy",children:[c.jsxs("h1",{children:[c.jsx("span",{className:"hero-title-line",children:"The AI-native workspace"}),c.jsx("span",{className:"hero-title-line",children:"for data center transactions"})]}),c.jsx("p",{className:"hero-summary",children:"Brixely bridges the gaps between CRMs and closings. Brixely gives internal real estate teams one source-backed record to underwrite, negotiate, and close complex deals."}),c.jsxs("div",{className:"hero-actions",children:[c.jsxs("a",{className:"button",href:"#workspace",children:["Explore the workspace",c.jsx(Ri,{"aria-hidden":"true"})]}),c.jsxs(xt,{className:"text-action",href:br,children:["Book a working session",c.jsx(Sr,{"aria-hidden":"true"})]})]})]}),c.jsxs("div",{className:"product-shell","aria-label":"Illustrative Brixely data center transaction workspace",children:[c.jsxs("div",{className:"product-topbar",children:[c.jsxs("div",{className:"product-project",children:[c.jsx("strong",{children:"Brixely"}),c.jsx("span",{children:"/"}),c.jsx("span",{children:"Cedar Ridge Data Center"})]}),c.jsxs("div",{className:"product-meta",children:[c.jsx("span",{children:"Data center transaction"}),c.jsxs("span",{className:"live",children:[c.jsx("i",{})," Updated 2 min ago"]})]})]}),c.jsxs("div",{className:"product-grid",children:[c.jsxs("section",{className:"product-panel deal-files",children:[c.jsxs("div",{className:"panel-heading",children:[c.jsxs("div",{children:[c.jsx(Ni,{"aria-hidden":"true"}),c.jsx("strong",{children:"Deal files"})]}),c.jsx("span",{children:"248 processed"})]}),c.jsxs("ul",{className:"file-list",children:[c.jsxs("li",{className:"is-active",children:[c.jsxs("div",{children:[c.jsx("strong",{children:"Utility service agreement.pdf"}),c.jsx("span",{children:"Power and utilities"})]}),c.jsx(sa,{"aria-label":"Processed"})]}),c.jsxs("li",{children:[c.jsxs("div",{children:[c.jsx("strong",{children:"Purchase and sale agreement.pdf"}),c.jsx("span",{children:"Site control"})]}),c.jsx(sa,{"aria-label":"Processed"})]}),c.jsxs("li",{children:[c.jsxs("div",{children:[c.jsx("strong",{children:"JV operating agreement.pdf"}),c.jsx("span",{children:"Capital structure"})]}),c.jsx(sa,{"aria-label":"Processed"})]}),c.jsxs("li",{children:[c.jsxs("div",{children:[c.jsx("strong",{children:"Phase I environmental.pdf"}),c.jsx("span",{children:"Environmental"})]}),c.jsx(sa,{"aria-label":"Processed"})]})]}),c.jsx("p",{className:"panel-footer",children:"4 new files added to the checklist"})]}),c.jsxs("section",{className:"product-panel playbook-panel",children:[c.jsxs("div",{className:"panel-heading",children:[c.jsxs("div",{children:[c.jsx(Mh,{"aria-hidden":"true"}),c.jsx("strong",{children:"Playbook checks"})]}),c.jsx("span",{children:"Data center criteria"})]}),c.jsxs("div",{className:"check-stack",children:[c.jsxs("article",{className:"playbook-check is-active",children:[c.jsxs("div",{className:"check-title",children:[c.jsx("strong",{children:"Power delivery"}),c.jsx("span",{className:"status review",children:"Needs review"})]}),c.jsx("p",{children:"180 MW is committed. The playbook requires 250 MW."}),c.jsx("a",{href:"#data-center",children:"Utility service agreement, page 4"})]}),c.jsxs("article",{className:"playbook-check",children:[c.jsxs("div",{className:"check-title",children:[c.jsx("strong",{children:"Site control"}),c.jsx("span",{className:"status complete",children:"Meets criterion"})]}
54),c.jsx("p",{children:"The PSA diligence period runs through October 18."}),c.jsx("a",{href:"#data-center",children:"Purchase and sale agreement, § 7.2"})]}),c.jsxs("article",{className:"playbook-check",children:[c.jsxs("div",{className:"check-title",children:[c.jsx("strong",{children:"JV approval rights"}),c.jsx("span",{className:"status review",children:"Needs review"})]}),c.jsx("p",{children:"Budget changes above $5M require unanimous consent."}),c.jsx("a",{href:"#data-center",children:"JV operating agreement, § 6.4"})]})]})]}),c.jsxs("section",{className:"product-panel decision-panel",children:[c.jsxs("div",{className:"panel-heading",children:[c.jsxs("div",{children:[c.jsx(PN,{"aria-hidden":"true"}),c.jsx("strong",{children:"Decision brief"})]}),c.jsx("span",{children:"For IC review"})]}),c.jsxs("div",{className:"decision-body",children:[c.jsx("span",{className:"decision-state",children:"Advance with conditions"}),c.jsx("h2",{children:"Ready for investment committee review"}),c.jsxs("div",{className:"decision-actions",children:[c.jsx("p",{children:"Resolve before approval"}),c.jsxs("ul",{children:[c.jsx("li",{children:"Confirm the path to the remaining 70 MW"}),c.jsx("li",{children:"Revisit the JV approval threshold"})]})]}),c.jsxs("div",{className:"key-date",children:[c.jsx("span",{children:"Key date"}),c.jsx("strong",{children:"Diligence expires October 18"})]}),c.jsx("a",{className:"mock-button",href:"#criteria-memo",children:"Open investment memo"}),c.jsx("span",{className:"mock-link",children:"Export DOCX"})]}),c.jsx("p",{className:"panel-footer",children:"Every finding linked to its source"})]})]}),c.jsx("p",{className:"demo-note",children:"Illustrative transaction workspace"})]})]}),c.jsxs("section",{className:"proof-bar","aria-label":"Brixely proof points",children:[c.jsxs("div",{children:[c.jsx("strong",{children:"$1B+"}),c.jsx("span",{children:"Combined transaction value"})]}),c.jsxs("div",{children:[c.jsx("strong",{children:"1K+"}),c.jsx("span",{children:"Document types mapped to diligence criteria"})]}),c.jsxs("div",{children:[c.jsx("strong",{children:"82%"}),c.jsx("span",{children:"Less time spent on manual diligence work"})]}),c.jsxs("div",{children:[c.jsx("strong",{children:"SOC 2"}),c.jsx("span",{children:"Type II audited"})]})]}),c.jsxs("section",{className:"section product-section",id:"product",children:[c.jsxs("div",{className:"section-intro",children:[c.jsx("h2",{children:"Keep the transaction connected through closing"}),c.jsx("p",{children:"As documents arrive, Brixely organizes the room, checks each workstream against the teamâs criteria, and keeps the investment memo current. Key terms, risks, approvals, and closing conditions stay tied to the clause, page, or schedule that supports them."})]}),c.jsx("div",{className:"feature-grid",children:Yk.map(e=>c.jsxs("article",{className:`feature-card${e.id==="criteria-review"?" feature-card--review":""}`,children:[c.jsx("span",{children:e.label}),c.jsx("h3",{children:e.title}),c.jsx("p",{children:e.copy}),e.id==="criteria-review"?c.jsx(NM,{}):null,c.jsx("strong",{children:e.footer})]},e.id))})]}),c.jsxs("section",{className:"data-center-section",id:"data-center",children:[c.jsxs("div",{className:"data-center-heading",children:[c.jsx("h2",{children:"Track the commercial and financial architecture of the deal"}),c.jsx("p",{children:"Land control, power commitments, lease obligations, partnership economics, financing terms, and approval rights stay connected to the same deal record."})]}),c.jsx("div",{className:"workstream-grid",children:Xk.map(e=>c.jsxs("article",{children:[c.jsx("h3",{children:e.title}),c.jsx("p",{children:e.detail})]},e.title))}),c.jsxs("div",{className:"team-record",children:[c.jsxs("div",{children:[c.jsx("span",{children:"Deal lead"}),c.jsx("span",{children:"Real Estate"}),c.jsx("span",{children:"Energy"}),c.jsx("span",{children:"Legal"}),c.jsx("span",{children:"Finance"}),c.jsx("span",{children:"Construction"})]}),c.jsx("p",{children:"The executive leading the transaction sees one deal record while each specialist reviews the evidence in its lane."})]})]}),c.jsxs("section",{id:"workspace",className:"workspace-views","aria-labelledby":"workspace-views-title",children:[c.jsxs("div",{className:"workspace-views-heading",children:[c.jsx("h2",{id:"workspace-views-title",children:"The full transaction workspace"}),c.jsx("p",{children:"Brixely turns incoming emails and attachments into a current transaction record, then carries the work through checklist review, approvals, and closing."})]}),c.jsx(RM,{children:Kk.map(e=>c.jsxs("article",{className:`ui-sketch-card${e.lifecycle?" is-lifecycle":""}`,children:[c.jsxs("header",{className:"ui-sketch-caption",children:[c.jsx("h3",{children:e.title}),c.jsx("p",{children:e.detail})]}),e.kind==="email-ingest"?c.jsx(Zk,{}):c.jsx("a",{className:"ui-sketch-image",href:e.src,target:"_blank",rel:"noreferrer","aria-label":`Open ${e.title} at full size`,children:c.jsx("img",{src:e.src,alt:`Brixely ${e.title} interface`,width:e.width,height:e.height,loading:"lazy"})})]},e.title))}),c.jsx("p",{className:"workspace-note",children:"Scroll for more. Open product sketches at full size."})]}),c.jsxs("section",{className:"results-section",id:"results",children:[c.jsxs("div",{className:"case-study",children:[c.jsxs("div",{className:"case-study-heading",children:[c.jsx("span",{children:"Chestnut River Power & Infrastru
54cture, LLC"}),c.jsx("img",{src:"/datacenters-assets/datacenter-investor.png",alt:"Chestnut River Power & Infrastructure, LLC",width:"500",height:"439"})]}),c.jsxs("div",{className:"case-study-metric",children:[c.jsx("strong",{children:"$200M"}),c.jsx("span",{children:"Data center project"})]}),c.jsx("blockquote",{className:"customer-feedback",children:"âBrixely gives us a competitive edge. We evaluate sites at roughly 100à the speed of traditional manual review, qualify opportunities and filter risks early. That means faster decisions and proprietary insight into infrastructure and development feasibility.â"}),c.jsx("p",{className:"customer-attribution",children:"Benjamin Marshall · Managing Partner"})]}),c.jsxs("div",{className:"security-card",id:"security",children:[c.jsx("h2",{children:"Security"}),c.jsx("ul",{children:Qk.map(e=>c.jsxs("li",{children:[c.jsx(sa,{"aria-hidden":"true"}),c.jsx("span",{children:e})]},e))}),c.jsxs(xt,{className:"text-action",href:"https://brixely.com/trust",children:["See trust center",c.jsx(Sr,{"aria-hidden":"true"})]})]})]}),c.jsxs("section",{className:"company-section",id:"company",children:[c.jsxs("div",{className:"company-copy",children:[c.jsx("h2",{children:"Built for institutional real estate transactions"}),c.jsx("p",{children:"Implementation maps each firmâs diligence criteria, approval process, reporting format, and closing workflow into the product."})]}),c.jsxs("div",{className:"backed-by",children:[c.jsx("span",{children:"Backed by"}),c.jsxs("div",{children:[c.jsx("img",{src:"/datacenters-assets/techstars.svg",alt:"Techstars",width:"160",height:"37",loading:"lazy"}),c.jsx("img",{src:"/datacenters-assets/nvidia-inception.png",alt:"NVIDIA Inception",width:"777",height:"271",loading:"lazy"}),c.jsx("img",{src:"/datacenters-assets/backer-3.png",alt:"CRETI",width:"1458",height:"168",loading:"lazy"})]})]})]}),c.jsxs("section",{className:"closing-section",children:[c.jsxs("div",{children:[c.jsx("h2",{children:"See the transaction workspace run live"}),c.jsx("p",{children:"Weâll walk through a data center transaction from forwarded email to source-backed investment brief."})]}),c.jsxs(xt,{className:"button button-light",href:br,children:["See it run live",c.jsx(Sr,{"aria-hidden":"true"})]})]}),c.jsxs("footer",{className:"site-footer",children:[c.jsxs("div",{className:"footer-brand",children:[c.jsx("img",{src:"/datacenters-assets/brixely-logo-document.svg",alt:"Brixely",width:"770",height:"265",loading:"lazy"}),c.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"}),c.jsxs("address",{children:["28 Geary St, Suite 650",c.jsx("br",{}),"San Francisco, CA 94108"]})]}),c.jsxs("div",{className:"footer-links",children:[c.jsxs("div",{children:[c.jsx("span",{children:"Product"}),c.jsx("a",{href:"#product",children:"Platform"}),c.jsx("a",{href:"#workspace",children:"Workspace"}),c.jsx("a",{href:"#security",children:"Security"}),c.jsx(xt,{href:"https://atriums.brixely.com",children:"Log in"})]}),c.jsxs("div",{children:[c.jsx("span",{children:"Company"}),c.jsx("a",{href:"#company",children:"About"}),c.jsx(xt,{href:"https://docsend.com/view/jce99ek67ntyajw5",children:"Summer release"}),c.jsx(xt,{href:"https://www.linkedin.com/company/brixely/",children:"LinkedIn"}),c.jsx(xt,{href:"https://vimeo.com/1145756299",children:"Demo Day"})]}),c.jsxs("div",{children:[c.jsx("span",{children:"Resources"}),c.jsx(Gw,{className:"report-footer-link",children:"Data center report"}),c.jsx(xt,{href:"https://creti.org/insights/case-study-brixely",children:"CRETI case study"}),c.jsx(xt,{href:"https://medium.com/@brixely/under-the-surface-the-future-of-real-estate-due-diligence-a-case-study-1414eb4ffcd7",children:"Under the Surface"}),c.jsx(xt,{href:"https://medium.com/@brixely/building-the-transparency-layer-of-real-estate-f29ed3cf5609",children:"Transparency layer"})]}),c.jsxs("div",{children:[c.jsx("span",{children:"Legal"}),c.jsx(xt,{href:"https://docs.google.com/document/u/1/d/1xnBYLKovx_kuxWWWQcY-5fMgpv2ywQq-YP9G5hnI-Vc/pub?pli=1",children:"Privacy"}),c.jsx(xt,{href:"https://docs.google.com/document/u/1/d/1Rw14OpBjab9uya3kg8ucmZESs59CLfS4BYJUMGmJzdM/pub",children:"Terms"})]})]}),c.jsxs("div",{className:"footer-bottom",children:[c.jsx("span",{children:"© 2026 Brixely Cuesit, Inc."}),c.jsx("a",{href:"#top",children:"Back to top"})]})]})]})})}const Iw=w.createContext({});function Yw(e){const i=w.useRef(null);return i.current===null&&(i.current=e()),i.current}const $k=typeof window<"u",Jk=$k?w.useLayoutEffect:w.useEffect,Wh=w.createContext(null);function $h(e,i){e.indexOf(i)===-1&&e.push(i)}function Kl(e,i){const s=e.indexOf(i);s>-1&&e.splice(s,1)}const Nn=(e,i,s)=>s>i?i:s<e?e:s;let Jh=()=>{};const ki={},Xw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Kw(e){return typeof e=="object"&&e!==null}
vendor: 41,084 bytes, line 54
54const Qw=e=>/^0[^.\s]+$/u.test(e);function Zw(e){let i;return()=>(i===void 0&&(i=e()),i)}const Jt=e=>e,e5=(e,i)=>s=>i(e(s)),qr=(...e)=>e.reduce(e5),Pr=(e,i,s)=>{const r=i-e;return r===0?1:(s-e)/r};class em{constructor(){this.subscriptions=[]}add(i){return $h(this.subscriptions,i),()=>Kl(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 Ut=e=>e*1e3,$t=e=>e/1e3;function Ww(e,i){return i?e*(1e3/i):0}const $w=(e,i,s)=>(((1-3*s+3*i)*e+(3*s-6*i))*e+3*i)*e,t5=1e-7,n5=12;function i5(e,i,s,r,l){let u,f,m=0;do f=i+(s-i)/2,u=$w(f,r,l)-e,u>0?s=f:i=f;while(Math.abs(u)>t5&&++m<n5);return f}function Fr(e,i,s,r){if(e===i&&s===r)return Jt;const l=u=>i5(u,0,1,e,s);return u=>u===0||u===1?u:$w(l(u),i,r)}const Jw=e=>i=>i<=.5?e(2*i)/2:(2-e(2*(1-i)))/2,e2=e=>i=>1-e(1-i),t2=Fr(.33,1.53,.69,.99),tm=e2(t2),n2=Jw(tm),i2=e=>e>=1?1:(e*=2)<1?.5*tm(e):.5*(2-Math.pow(2,-10*(e-1))),nm=e=>1-Math.sin(Math.acos(e)),a2=e2(nm),s2=Jw(nm),a5=Fr(.42,0,1,1),s5=Fr(0,0,.58,1),r2=Fr(.42,0,.58,1),r5=e=>Array.isArray(e)&&typeof e[0]!="number",o2=e=>Array.isArray(e)&&typeof e[0]=="number",o5={linear:Jt,easeIn:a5,easeInOut:r2,easeOut:s5,circIn:nm,circInOut:s2,circOut:a2,backIn:tm,backInOut:n2,backOut:t2,anticipate:i2},l5=e=>typeof e=="string",Lx=e=>{if(o2(e)){Jh(e.length===4);const[i,s,r,l]=e;return Fr(i,s,r,l)}else if(l5(e))return o5[e];return e},vl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function c5(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 g(y){f.has(y)&&(p.schedule(y),e()),y(m)}const p={schedule:(y,v=!1,b=!1)=>{const A=b&&l?s:r;return v&&f.add(y),A.add(y),y},cancel:y=>{r.delete(y),f.delete(y)},process:y=>{if(m=y,l){u=!0;return}l=!0;const v=s;s=r,r=v,s.forEach(g),s.clear(),l=!1,u&&(u=!1,p.process(y))}};return p}const u5=40;function l2(e,i){let s=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>s=!0,f=vl.reduce((D,O)=>(D[O]=c5(u),D),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:y,update:v,preRender:b,render:E,postRender:A}=f,T=()=>{const D=ki.useManualTiming,O=D?l.timestamp:performance.now();s=!1,D||(l.delta=r?1e3/60:Math.max(Math.min(O-l.timestamp,u5),1)),l.timestamp=O,l.isProcessing=!0,m.process(l),g.process(l),p.process(l),y.process(l),v.process(l),b.process(l),E.process(l),A.process(l),l.isProcessing=!1,s&&i&&(r=!1,e(T))},j=()=>{s=!0,r=!0,l.isProcessing||e(T)};return{schedule:vl.reduce((D,O)=>{const _=f[O];return D[O]=(q,X=!1,B=!1)=>(s||j(),_.schedule(q,X,B)),D},{}),cancel:D=>{for(let O=0;O<vl.length;O++)f[vl[O]].cancel(D)},state:l,steps:f}}const{schedule:Ve,cancel:Oi,state:mt,steps:yf}=l2(typeof requestAnimationFrame<"u"?requestAnimationFrame:Jt,!0);let Nl;function d5(){Nl=void 0}const St={now:()=>(Nl===void 0&&St.set(mt.isProcessing||ki.useManualTiming?mt.timestamp:performance.now()),Nl),set:e=>{Nl=e,queueMicrotask(d5)}},c2=e=>i=>typeof i=="string"&&i.startsWith(e),u2=c2("--"),f5=c2("var(--"),im=e=>f5(e)?h5.test(e.split("/*")[0].trim()):!1,h5=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Vx(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ys={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Lr={...ys,transform:e=>Nn(0,1,e)},xl={...ys,default:1},Cr=e=>Math.round(e*1e5)/1e5,am=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function m5(e){return e==null}const p5=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,sm=(e,i)=>s=>!!(typeof s=="string"&&p5.test(s)&&s.startsWith(e)||i&&!m5(s)&&Object.prototype.hasOwnProperty.call(s,i)),d2=(e,i,s)=>r=>{if(typeof r!="string")return r;const[l,u,f,m]=r.match(am);return{[e]:parseFloat(l),[i]:parseFloat(u),[s]:parseFloat(f),alpha:m!==void 0?parseFloat(m):1}},g5=e=>Nn(0,255,e),vf={...ys,transform:e=>Math.round(g5(e))},ra={test:sm("rgb","red"),parse:d2("red","green","blue"),transform:({red:e,green:i,blue:s,alpha:r=1})=>"rgba("+vf.transform(e)+", "+vf.transform(i)+", "+vf.transform(s)+", "+Cr(Lr.transform(r))+")"};function y5(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 Qf={test:sm("#"),parse:y5,transform:ra.transform},Gr=e=>({test:i=>typeof i=="string"&&i.endsWith(e)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${e}`}),ji=Gr("deg"),An=Gr("%"),oe=Gr("px"),v5=Gr("vh"),x5=Gr("vw"),zx={...An,parse:e=>An.parse(e)/100,transform:e=>An.transform(e*100)},ss={test:sm("hsl","hue"),parse:d2("hue","saturation","lightness"),transform:({hue:e,saturation:i,lightness:s,alpha:r=1})=>"hsla("+Math.round(e)+", "+An.transform(Cr(i))+", "+An.transform(Cr(s))+", "+Cr(Lr.transform(r))+")"},et={test:e=>ra.test(e)||Qf.test(e)||ss.test(e),parse:e=>ra.test(e)?ra.parse(e):ss.test(e)?ss.parse(e):Qf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ra.transform(e):ss.transform(e),getAnimatableNone:e=>{const i=et.parse(e);return i.alpha=0,et.transform(i)}},b5=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function w5(e){return isNaN(e)&&typeof e=="string"&&(e.match(am)?.length||0)+(e.match(b5)?.length||0)>0}const f2="number",h2="color",S5="var",E5="var(",Bx="${}",T5=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function fs(e){const i=e.toString(),s=[],r={color:[],number:[],var:[]},l=[];let u=0;const m=i.replace(T5,g=>(et.test(g)?(r.color.push(u),l.push(h2),s.push(et.parse(g))):g.startsWith(E5)?(r.var.push(u),l.push(S5),s.push(g)):(r.number.push(u),l.push(f2),s.push(parseFloat(g))),++u,Bx)).split(Bx);return{values:s,split:m,indexes:r,types:l}}function A5(e){return fs(e).values}function m2({split:e,types:i}){const s=e.length;return r=>{let l="";for(let u=0;u<s;u++)if(l+=e[u],r[u]!==void 0){const f=i[u];f===f2?l+=Cr(r[u]):f===h2?l+=et.transform(r[u]):l+=r[u]}return l}}function j5(e){return m2(fs(e))}const C5=e=>typeof e=="number"?0:et.test(e)?et.getAnimatableNone(e):e,N5=(e,i)=>typeof e=="number"?i?.trim().endsWith("/")?e:0:C5(e);function R5(e){const i=fs(e);return m2(i)(i.values.map((r,l)=>N5(r,i.split[l])))}const ln={test:w5,parse:A5,createTransformer:j5,getAnimatableNone:R5};function xf(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 D5({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,g=2*s-m;l=xf(g,m,e+1/3),u=xf(g,m,e),f=xf(g,m,e-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:r}}function Ql(e,i){return s=>s>0?i:e}const Ue=(e,i,s)=>e+(i-e)*s,bf=(e,i,s)=>{const r=e*e,l=s*(i*i-r)+r;return l<0?0:Math.sqrt(l)},M5=[Qf,ra,ss],k5=e=>M5.find(i=>i.test(e));function Ux(e){const i=k5(e);if(!i)return!1;let s=i.parse(e);return i===ss&&(s=D5(s)),s}const Hx=(e,i)=>{const s=Ux(e),r=Ux(i);if(!s||!r)return Ql(e,i);const l={...s};return u=>(l.red=bf(s.red,r.red,u),l.green=bf(s.green,r.green,u),l.blue=bf(s.blue,r.blue,u),l.alpha=Ue(s.alpha,r.alpha,u),ra.transform(l))},Zf=new Set(["none","hidden"]);function O5(e,i){return Zf.has(e)?s=>s<=0?e:i:s=>s>=1?i:e}function _5(e,i){return s=>Ue(e,i,s)}function rm(e){return typeof e=="number"?_5:typeof e=="string"?im(e)?Ql:et.test(e)?Hx:V5:Array.isArray(e)?p2:typeof e=="object"?et.test(e)?Hx:P5:Ql}function p2(e,i){const s=[...e],r=s.length,l=e.map((u,f)=>rm(u)(u,i[f]));return u=>{for(let f=0;f<r;f++)s[f]=l[f](u);return s}}function P5(e,i){const s={...e,...i},r={};for(const l in s)e[l]!==void 0&&i[l]!==void 0&&(r[l]=rm(e[l])(e[l],i[l]));return l=>{for(const u in r)s[u]=r[u](l);return s}}function L5(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 V5=(e,i)=>{const s=ln.createTransformer(i),r=fs(e),l=fs(i);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?Zf.has(e)&&!l.values.length||Zf.has(i)&&!r.values.length?O5(e,i):qr(p2(L5(r,l),l.values),s):Ql(e,i)};function g2(e,i,s){return typeof e=="number"&&typeof i=="number"&&typeof s=="number"?Ue(e,i,s):rm(e)(e,i)}const z5=e=>{const i=({timestamp:s})=>e(s);return{start:(s=!0)=>Ve.update(i,s),stop:()=>Oi(i),now:()=>mt.isProcessing?mt.timestamp:St.now()}},y2=(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)})`},Zl=2e4;function om(e){let i=0;const s=50;let r=e.next(i);for(;!r.done&&i<Zl;)i+=s,r=e.next(i);return i>=Zl?1/0:i}function B5(e,i=100,s){const r=s({...e,keyframes:[0,i]}),l=Math.min(om(r),Zl);return{type:"keyframes",ease:u=>r.next(l*u).value/i,duration:$t(l)}}const Ke={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Wf(e,i){return e*Math.sqrt(1-i*i)}const U5=12;function H5(e,i,s){let r=s;for(let l=1;l<U5;l++)r=r-e(r)/i(r);return r}const wf=.001;function q5({duration:e=Ke.duration,bounce:i=Ke.bounce,velocity:s=Ke.velocity,mass:r=Ke.mass}){let l,u,f=1-i;f=Nn(Ke.minDamping,Ke.maxDamping,f),e=Nn(Ke.minDuration,Ke.maxDuration,$t(e)),f<1?(l=p=>{const y=p*f,v=y*e,b=y-s,E=Wf(p,f),A=Math.exp(-v);return wf-b/E*A},u=p=>{const v=p*f*e,b=v*s+s,E=Math.pow(f,2)*Math.pow(p,2)*e,A=Math.exp(-v),T=Wf(Math.pow(p,2),f);return(-l(p)+wf>0?-1:1)*((b-E)*A)/T}):(l=p=>{const y=Math.exp(-p*e),v=(p-s)*e+1;return-wf+y*v},u=p=>{const y=Math.exp(-p*e),v=(s-p)*(e*e);return y*v});const m=5/e,g=H5(l,u,m);if(e=Ut(e),isNaN(g))return{stiffness:Ke.stiffness,damping:Ke.damping,duration:e};{const p=Math.pow(g,2)*r;return{stiffness:p,damping:f*2*Math.sqrt(r*p),duration:e}}}const F5=["duration","bounce"],G5=["stiffness","damping","mass"];function qx(e,i){return i.some(s=>e[s]!==void 0)}function I5(e){let i={velocity:Ke.velocity,stiffness:Ke.stiffness,damping:Ke.damping,mass:Ke.mass,isResolvedFromDuration:!1,...e};if(!qx(e,G5)&&qx(e,F5))if(i.velocity=0,e.visualDuration){const s=e.visualDuration,r=2*Math.PI/(s*1.2),l=r*r,u=2*Nn(.05,1,1-(e.bounce||0))*Math.sqrt(l);i={...i,mass:Ke.mass,stiffness:l,damping:u}}else{const s=q5({...e,velocity:0});i={...i,...s,mass:Ke.mass},i.isResolvedFromDuration=!0}return i}function Wl(e=Ke.visualDuration,i=Ke.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:g,damping:p,mass:y,duration:v,velocity:b,isResolvedFromDuration:E}=I5({...s,velocity:-$t(s.velocity||0)}),A=b||0,T=p/(2*Math.sqrt(g*y)),j=f-u,R=$t(Math.sqrt(g/y)),N=Math.abs(j)<5;r||(r=N?Ke.restSpeed.granular:Ke.restSpeed.default),l||(l=N?Ke.restDelta.granular:Ke.restDelta.default);let D,O,_,q,X,B;if(T<1)_=Wf(R,T),q=(A+T*R*j)/_,D=Z=>{const ae=Math.exp(-T*R*Z);return f-ae*(q*Math.sin(_*Z)+j*Math.cos(_*Z))},X=T*R*q+j*_,B=T*R*j-q*_,O=Z=>Math.exp(-T*R*Z)*(X*Math.sin(_*Z)+B*Math.cos(_*Z));else if(T===1){D=ae=>f-Math.exp(-R*ae)*(j+(A+R*j)*ae);const Z=A+R*j;O=ae=>Math.exp(-R*ae)*(R*Z*ae-A)}else{const Z=R*Math.sqrt(T*T-1);D=J=>{const ue=Math.exp(-T*R*J),L=Math.min(Z*J,300);return f-ue*((A+T*R*j)*Math.sinh(L)+Z*j*Math.cosh(L))/Z};const ae=(A+T*R*j)/Z,ne=T*R*ae-j*Z,ye=T*R*j-ae*Z;O=J=>{const ue=Math.exp(-T*R*J),L=Math.min(Z*J,300);return ue*(ne*Math.sinh(L)+ye*Math.cosh(L))}}const W={calculatedDuration:E&&v||null,velocity:Z=>Ut(O(Z)),next:Z=>{if(!E&&T<1){const ne=Math.exp(-T*R*Z),ye=Math.sin(_*Z),J=Math.cos(_*Z),ue=f-ne*(q*ye+j*J),L=Ut(ne*(X*ye+B*J));return m.done=Math.abs(L)<=r&&Math.abs(f-ue)<=l,m.value=m.done?f:ue,m}const ae=D(Z);if(E)m.done=Z>=v;else{const ne=Ut(O(Z));m.done=Math.abs(ne)<=r&&Math.abs(f-ae)<=l}return m.value=m.done?f:ae,m},toString:()=>{const Z=Math.min(om(W),Zl),ae=y2(ne=>W.next(Z*ne).value,Z,30);return Z+"ms "+ae},toTransition:()=>{}};return W}Wl.applyToOptions=e=>{const i=B5(e,100,Wl);return e.ease=i.ease,e.duration=Ut(i.duration),e.type="keyframes",e};const Y5=5;function v2(e,i,s){const r=Math.max(i-Y5,0);return Ww(s-e(r),i-r)}function $f({keyframes:e,velocity:i=0,power:s=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:f,min:m,max:g,restDelta:p=.5,restSpeed:y}){const v=e[0],b={done:!1,value:v},E=B=>m!==void 0&&B<m||g!==void 0&&B>g,A=B=>m===void 0?g:g===void 0||Math.abs(m-B)<Math.abs(g-B)?m:g;let T=s*i;const j=v+T,R=f===void 0?j:f(j);R!==j&&(T=R-v);const N=B=>-T*Math.exp(-B/r),D=B=>R+N(B),O=B=>{const W=N(B),Z=D(B);b.done=Math.abs(W)<=p,b.value=b.done?R:Z};let _,q;const X=B=>{E(b.value)&&(_=B,q=Wl({keyframes:[b.value,A(b.value)],velocity:v2(D,B,b.value),damping:l,stiffness:u,restDelta:p,restSpeed:y}))};return X(0),{calculatedDuration:null,next:B=>{let W=!1;return!q&&_===void 0&&(W=!0,O(B),X(B)),_!==void 0&&B>=_?q.next(B-_):(!W&&O(B),b)}}}function X5(e,i,s){const r=[],l=s||ki.mix||g2,u=e.length-1;for(let f=0;f<u;f++){let m=l(e[f],e[f+1]);if(i){const g=Array.isArray(i)?i[f]||Jt:i;m=qr(g,m)}r.push(m)}return r}function K5(e,i,{clamp:s=!0,ease:r,mixer:l}={}){const u=e.length;if(Jh(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=X5(i,r,l),g=m.length,p=y=>{if(f&&y<e[0])return i[0];let v=0;if(g>1)for(;v<e.length-2&&!(y<e[v+1]);v++);const b=Pr(e[v],e[v+1],y);return m[v](b)};return s?y=>p(Nn(e[0],e[u-1],y)):p}function Q5(e,i){const s=e[e.length-1];for(let r=1;r<=i;r++){const l=Pr(0,i,r);e.push(Ue(s,1,l))}}function Z5(e){const i=[0];return Q5(i,e.length-1),i}function W5(e,i){return e.map(s=>s*i)}function $5(e,i){return e.map(()=>i||r2).splice(0,e.length-1)}function Nr({duration:e=300,keyframes:i,times:s,ease:r="easeInOut"}){const l=r5(r)?r.map(Lx):Lx(r),u={done:!1,value:i[0]},f=W5(s&&s.length===i.length?s:Z5(i),e),m=K5(f,i,{ease:Array.isArray(l)?l:$5(i,l)});return{calculatedDuration:e,next:g=>(u.value=m(g),u.done=g>=e,u)}}const J5=e=>e!==null;function jc(e,{repeat:i,repeatType:s="loop"},r,l=1){const u=e.filter(J5),m=l<0||i&&s!=="loop"&&i%2===1?0:u.length-1;return!m||r===void 0?u[m]:r}const eO={decay:$f,inertia:$f,tween:Nr,keyframes:Nr,spring:Wl};function x2(e){typeof e.type=="string"&&(e.type=eO[e.type])}class lm{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 tO=e=>e/100;class $l extends lm{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==St.now()&&this.tick(St.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;x2(i);const{type:s=Nr,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:f=0}=i;let{keyframes:m}=i;const g=s||Nr;g!==Nr&&typeof m[0]!="number"&&(this.mixKeyframes=qr(tO,g2(m[0],m[1])),m=[0,100]);const p=g({...i,keyframes:m});u==="mirror"&&(this.mirroredGenerator=g({...i,keyframes:[...m].reverse(),velocity:-f})),p.calculatedDuration===null&&(p.calculatedDuration=om(p));const{calculatedDuration:y}=p;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=p}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:g}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:y,repeat:v,repeatType:b,repeatDelay:E,type:A,onUpdate:T,finalKeyframe:j}=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 R=this.currentTime-p*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?R<0:R>l;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let D=this.currentTime,O=r;if(v){const B=Math.min(this.currentTime,l)/m;let W=Math.floor(B),Z=B%1;!Z&&B>=1&&(Z=1),Z===1&&W--,W=Math.min(W,v+1),W%2&&(b==="reverse"?(Z=1-Z,E&&(Z-=E/m)):b==="mirror"&&(O=f)),D=Nn(0,1,Z)*m}let _;N?(this.delayState.value=y[0],_=this.delayState):_=O.next(D),u&&!N&&(_.value=u(_.value));let{done:q}=_;!N&&g!==null&&(q=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const X=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&q);return X&&A!==$f&&(_.value=jc(y,this.options,j,this.speed)),T&&T(_.value),X&&this.finish(),_}then(i,s){return this.finished.then(i,s)}get duration(){return $t(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+$t(i)}get time(){return $t(this.currentTime)}set time(i){i=Ut(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const s=this.generator.next(i).value;return v2(r=>this.generator.next(r).value,i,s)}get speed(){return this.playbackSpeed}set speed(i){const s=this.playbackSpeed!==i;s&&this.driver&&this.updateTime(St.now()),this.playbackSpeed=i,s&&this.driver&&(this.time=$t(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=z5,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(St.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 nO(e){for(let i=1;i<e.length;i++)e[i]??(e[i]=e[i-1])}const oa=e=>e*180/Math.PI,Jf=e=>{const i=oa(Math.atan2(e[1],e[0]));return eh(i)},iO={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Jf,rotateZ:Jf,skewX:e=>oa(Math.atan(e[1])),skewY:e=>oa(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eh=e=>(e=e%360,e<0&&(e+=360),e),Fx=Jf,Gx=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ix=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),aO={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Gx,scaleY:Ix,scale:e=>(Gx(e)+Ix(e))/2,rotateX:e=>eh(oa(Math.atan2(e[6],e[5]))),rotateY:e=>eh(oa(Math.atan2(-e[2],e[0]))),rotateZ:Fx,rotate:Fx,skewX:e=>oa(Math.atan(e[4])),skewY:e=>oa(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function th(e){return e.includes("scale")?1:0}function nh(e,i){if(!e||e==="none")return th(i);const s=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(s)r=aO,l=s;else{const m=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=iO,l=m}if(!l)return th(i);const u=r[i],f=l[1].split(",").map(rO);return typeof u=="function"?u(f):f[u]}const sO=(e,i)=>{const{transform:s="none"}=getComputedStyle(e);return nh(s,i)};function rO(e){return parseFloat(e.trim())}const vs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xs=new Set(vs),Yx=e=>e===ys||e===oe,oO=new Set(["x","y","z"]),lO=vs.filter(e=>!oO.has(e));function cO(e){const i=[];return lO.forEach(s=>{const r=e.getValue(s);r!==void 0&&(i.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),i}const Ci={width:({x:e},{paddingLeft:i="0",paddingRight:s="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-parseFloat(i)-parseFloat(s)},height:({y:e},{paddingTop:i="0",paddingBottom:s="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-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})=>nh(i,"x"),y:(e,{transform:i})=>nh(i,"y")};Ci.translateX=Ci.x;Ci.translateY=Ci.y;const ca=new Set;let ih=!1,ah=!1,sh=!1;function b2(){if(ah){const e=Array.from(ca).filter(r=>r.needsMeasurement),i=new Set(e.map(r=>r.element)),s=new Map;i.forEach(r=>{const l=cO(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)})}ah=!1,ih=!1,ca.forEach(e=>e.complete(sh)),ca.clear()}function w2(){ca.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ah=!0)})}function uO(){sh=!0,w2(),b2(),sh=!1}class cm{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?(ca.add(this),ih||(ih=!0,Ve.read(w2),Ve.resolveKeyframes(b2))):(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])}nO(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),ca.delete(this)}cancel(){this.state==="scheduled"&&(ca.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const dO=e=>e.startsWith("--");function S2(e,i,s){dO(i)?e.style.setProperty(i,s):e.style[i]=s}const fO={};function E2(e,i){const s=Zw(e);return()=>fO[i]??s()}const hO=E2(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),T2=E2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Er=([e,i,s,r])=>`cubic-bezier(${e}, ${i}, ${s}, ${r})`,Xx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Er([0,.65,.55,1]),circOut:Er([.55,0,1,.45]),backIn:Er([.31,.01,.66,-.59]),backOut:Er([.33,1.53,.69,.99])};function A2(e,i){if(e)return typeof e=="function"?T2()?y2(e,i):"ease-out":o2(e)?Er(e):Array.isArray(e)?e.map(s=>A2(s,i)||Xx.easeOut):Xx[e]}function mO(e,i,s,{delay:r=0,duration:l=300,repeat:u=0,repeatType:f="loop",ease:m="easeOut",times:g}={},p=void 0){const y={[i]:s};g&&(y.offset=g);const v=A2(m,l);Array.isArray(v)&&(y.easing=v);const b={delay:r,duration:l,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return p&&(b.pseudoElement=p),e.animate(y,b)}function j2(e){return typeof e=="function"&&"applyToOptions"in e}function pO({type:e,...i}){return j2(e)&&T2()?e.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class C2 extends lm{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:g}=i;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=i,Jh(typeof i.type!="string");const p=pO(i);this.animation=mO(s,r,l,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=jc(l,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(y),S2(s,r,y),this.animation.cancel()}g?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const i=this.options?.element;!this.isPseudoElement&&i?.isConnected&&this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return $t(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+$t(i)}get time(){return $t(Number(this.animation.currentTime)||0)}set time(i){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ut(i),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:s,rangeEnd:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&hO()?(this.animation.timeline=i,s&&(this.animation.rangeStart=s),r&&(this.animation.rangeEnd=r),Jt):l(this)}}const N2={anticipate:i2,backInOut:n2,circInOut:s2};function gO(e){return e in N2}function yO(e){typeof e.ease=="string"&&gO(e.ease)&&(e.ease=N2[e.ease])}const Sf=10;class vO extends C2{constructor(i){yO(i),x2(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(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 $l({...f,autoplay:!1}),g=Math.max(Sf,St.now()-this.startTime),p=Nn(0,Sf,g-Sf),y=m.sample(g).value,{name:v}=this.options;u&&v&&S2(u,v,y),s.setWithVelocity(m.sample(Math.max(0,g-p)).value,y,p),m.stop()}}const Kx=(e,i)=>i==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ln.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 bO(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=Kx(l,i),m=Kx(u,i);return!f||!m?!1:xO(e)||(s==="spring"||j2(s))&&r}function rh(e){e.duration=0,e.type="keyframes"}const R2=new Set(["opacity","clipPath","filter","transform"]),wO=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function SO(e){for(let i=0;i<e.length;i++)if(typeof e[i]=="string"&&wO.test(e[i]))return!0;return!1}const EO=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),TO=Zw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function AO(e){const{motionValue:i,name:s,repeatDelay:r,repeatType:l,damping:u,type:f,keyframes:m}=e;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:y}=i.owner.getProps();return TO()&&s&&(R2.has(s)||EO.has(s)&&SO(m))&&(s!=="transform"||!y)&&!p&&!r&&l!=="mirror"&&u!==0&&f!=="inertia"}const jO=40;class CO extends lm{constructor({autoplay:i=!0,delay:s=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:f="loop",keyframes:m,name:g,motionValue:p,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=St.now();const b={autoplay:i,delay:s,type:r,repeat:l,repeatDelay:u,repeatType:f,name:g,motionValue:p,element:y,...v},E=y?.KeyframeResolver||cm;this.keyframeResolver=new E(m,(A,T,j)=>this.onKeyframesResolved(A,T,b,!j),g,p,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,s,r,l){this.keyframeResolver=void 0;const{name:u,type:f,velocity:m,delay:g,isHandoff:p,onUpdate:y}=r;this.resolvedAt=St.now();let v=!0;bO(i,u,f,m)||(v=!1,(ki.instantAnimations||!g)&&y?.(jc(i,r,s)),i[0]=i[i.length-1],rh(r),r.repeat=0);const E={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>jO?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:i},A=v&&!p&&AO(E),T=E.motionValue?.owner?.current;let j;if(A)try{j=new vO({...E,element:T})}catch{j=new $l(E)}else j=new $l(E);j.finished.then(()=>{this.notifyFinished()}).catch(Jt),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}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(),uO()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function D2(e,i,s,r=0,l=1){const u=Array.from(e).sort((p,y)=>p.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 NO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function RO(e){const i=NO.exec(e);if(!i)return[,];const[,s,r,l]=i;return[`--${s??r}`,l]}function M2(e,i,s=1){const[r,l]=RO(e);if(!r)return;const u=window.getComputedStyle(i).getPropertyValue(r);if(u){const f=u.trim();return Xw(f)?parseFloat(f):f}return im(l)?M2(l,i,s+1):l}const DO={type:"spring",stiffness:500,damping:25,restSpeed:10},MO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kO={type:"keyframes",duration:.8},OO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_O=(e,{keyframes:i})=>i.length>2?kO:xs.has(e)?e.startsWith("scale")?MO(i[1]):DO:OO;function um(e,i){if(e?.inherit&&i){const{inherit:s,...r}=e;return{...i,...r}}return e}function dm(e,i){const s=e?.[i]??e?.default??e;return s!==e?um(s,e):s}const PO=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function LO(e){for(const i in e)if(!PO.has(i))return!0;return!1}const fm=(e,i,s,r={},l,u)=>f=>{const m=dm(r,e)||{},g=m.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Ut(g);const y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...m,delay:-p,onUpdate:b=>{i.set(b),m.onUpdate&&m.onUpdate(b)},onComplete:()=>{f(),m.onComplete&&m.onComplete()},name:e,motionValue:i,element:u?void 0:l};LO(m)||Object.assign(y,_O(e,y)),y.duration&&(y.duration=Ut(y.duration)),y.repeatDelay&&(y.repeatDelay=Ut(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(rh(y),y.delay===0&&(v=!0)),(ki.instantAnimations||ki.skipAnimations||l?.shouldSkipAnimations)&&(v=!0,rh(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,v&&!u&&i.get()!==void 0){const b=jc(y.keyframes,m);if(b!==void 0){Ve.update(()=>{y.onUpdate(b),y.onComplete()});return}}return m.isSync?new $l(y):new CO(y)};function Qx(e){const i=[{},{}];return e?.values.forEach((s,r)=>{i[0][r]=s.get(),i[1][r]=s.getVelocity()}),i}function hm(e,i,s,r){if(typeof i=="function"){const[l,u]=Qx(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]=Qx(r);i=i(s!==void 0?s:e.custom,l,u)}return i}function ua(e,i,s){const r=e.getProps();return hm(r,i,s!==void 0?s:r.custom,e)}const k2=new Set(["width","height","top","left","right","bottom",...vs]),Zx=30,VO=e=>!isNaN(parseFloat(e));class zO{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=St.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=St.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=VO(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 em);const r=this.events[i].add(s);return i==="change"?()=>{r(),Ve.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=St.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Zx)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Zx);return Ww(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 hs(e,i){return new zO(e,i)}const oh=e=>Array.isArray(e);function BO(e,i,s){e.hasValue(i)?e.getValue(i).set(s):e.addValue(i,hs(s))}function UO(e){return oh(e)?e[e.length-1]||0:e}function HO(e,i){const s=ua(e,i);let{transitionEnd:r={},transition:l={},...u}=s||{};u={...u,...r};for(const f in u){const m=UO(u[f]);BO(e,f,m)}}const pt=e=>!!(e&&e.getVelocity);function qO(e){return!!(pt(e)&&e.add)}function lh(e,i){const s=e.getValue("willChange");if(qO(s))return s.add(i);if(!s&&ki.WillChange){const r=new ki.WillChange("auto");e.addValue("willChange",r),r.add(i)}}function mm(e){return e.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const FO="framerAppearId",O2="data-"+mm(FO);function _2(e){return e.props[O2]}function GO({protectedKeys:e,needsAnimating:i},s){const r=e.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,r}function P2(e,i,{delay:s=0,transitionOverride:r,type:l}={}){let{transition:u,transitionEnd:f,...m}=i;const g=e.getDefaultTransition();u=u?um(u,g):g;const p=u?.reduceMotion;r&&(u=r);const y=[],v=l&&e.animationState&&e.animationState.getState()[l];for(const b in m){const E=e.getValue(b,e.latestValues[b]??null),A=m[b];if(A===void 0||v&&GO(v,b))continue;const T={delay:s,...dm(u||{},b)},j=E.get();if(j!==void 0&&!E.isAnimating()&&!Array.isArray(A)&&A===j&&!T.velocity){Ve.update(()=>E.set(A));continue}let R=!1;if(window.MotionHandoffAnimation){const O=_2(e);if(O){const _=window.MotionHandoffAnimation(O,b,Ve);_!==null&&(T.startTime=_,R=!0)}}lh(e,b);const N=p??e.shouldReduceMotion;E.start(fm(b,E,A,N&&k2.has(b)?{type:!1}:T,e,R));const D=E.animation;D&&y.push(D)}if(f){const b=()=>Ve.update(()=>{f&&HO(e,f)});y.length?Promise.all(y).then(b):b()}return y}function ch(e,i,s={}){const r=ua(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(P2(e,r,s)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(g=0)=>{const{delayChildren:p=0,staggerChildren:y,staggerDirection:v}=l;return IO(e,i,g,p,y,v,s)}:()=>Promise.resolve(),{when:m}=l;if(m){const[g,p]=m==="beforeChildren"?[u,f]:[f,u];return g().then(()=>p())}else return Promise.all([u(),f(s.delay)])}function IO(e,i,s=0,r=0,l=0,u=1,f){const m=[];for(const g of e.variantChildren)g.notify("AnimationStart",i),m.push(ch(g,i,{...f,delay:s+(typeof r=="function"?0:r)+D2(e.variantChildren,g,r,l,u)}).then(()=>g.notify("AnimationComplete",i)));return Promise.all(m)}function YO(e,i,s={}){e.notify("AnimationStart",i);let r;if(Array.isArray(i)){const l=i.map(u=>ch(e,u,s));r=Promise.all(l)}else if(typeof i=="string")r=ch(e,i,s);else{const l=typeof i=="function"?ua(e,i,s.custom):i;r=Promise.all(P2(e,l,s))}return r.then(()=>{e.notify("AnimationComplete",i)})}const XO={test:e=>e==="auto",parse:e=>e},L2=e=>i=>i.test(e),V2=[ys,oe,An,ji,x5,v5,XO],Wx=e=>V2.find(L2(e));function KO(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Qw(e):!0}const QO=new Set(["brightness","contrast","saturate","opacity"]);function ZO(e){const[i,s]=e.slice(0,-1).split("(");if(i==="drop-shadow")return e;const[r]=s.match(am)||[];if(!r)return e;const l=s.replace(r,"");let u=QO.has(i)?1:0;return r!==s&&(u*=100),i+"("+u+l+")"}const WO=/\b([a-z-]*)\(.*?\)/gu,uh={...ln,getAnimatableNone:e=>{const i=e.match(WO);return i?i.map(ZO).join(" "):e}},dh={...ln,getAnimatableNone:e=>{const i=ln.parse(e);return ln.createTransformer(e)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},$x={...ys,transform:Math.round},$O={rotate:ji,rotateX:ji,rotateY:ji,rotateZ:ji,scale:xl,scaleX:xl,scaleY:xl,scaleZ:xl,skew:ji,skewX:ji,skewY:ji,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:Lr,originX:zx,originY:zx,originZ:oe},pm={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,top:oe,right:oe,bottom:oe,left:oe,inset:oe,insetBlock:oe,insetBlockStart:oe,insetBlockEnd:oe,insetInline:oe,insetInlineStart:oe,insetInlineEnd:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,paddingBlock:oe,paddingBlockStart:oe,paddingBlockEnd:oe,paddingInline:oe,paddingInlineStart:oe,paddingInlineEnd:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,marginBlock:oe,marginBlockStart:oe,marginBlockEnd:oe,marginInline:oe,marginInlineStart:oe,marginInlineEnd:oe,fontSize:oe,backgroundPositionX:oe,backgroundPositionY:oe,...$O,zIndex:$x,fillOpacity:Lr,strokeOpacity:Lr,numOctaves:$x},JO={...pm,color:et,backgroundColor:et,outlineColor:et,fill:et,stroke:et,borderColor:et,borderTopColor:et,borderRightColor:et,borderBottomColor:et,borderLeftColor:et,filter:uh,WebkitFilter:uh,mask:dh,WebkitMask:dh},z2=e=>JO[e],e3=new Set([uh,dh]);function B2(e,i){let s=z2(e);return e3.has(s)||(s=ln),s.getAnimatableNone?s.getAnimatableNone(i):void 0}
vendor: 1,699 bytes, line 54
54const t3=new Set(["auto","none","0"]);function n3(e,i,s){let r=0,l;for(;r<e.length&&!l;){const u=e[r];typeof u=="string"&&!t3.has(u)&&fs(u).values.length&&(l=e[r]),r++}if(l&&s)for(const u of i)e[u]=B2(s,l)}class i3 extends cm{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(),im(v))){const b=M2(v,s.current);b!==void 0&&(i[y]=b),y===i.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!k2.has(r)||i.length!==2)return;const[l,u]=i,f=Wx(l),m=Wx(u),g=Vx(l),p=Vx(u);if(g!==p&&Ci[r]){this.needsMeasurement=!0;return}if(f!==m)if(Yx(f)&&Yx(m))for(let y=0;y<i.length;y++){const v=i[y];typeof v=="string"&&(i[y]=parseFloat(v))}else Ci[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,r=[];for(let l=0;l<i.length;l++)(i[l]===null||KO(i[l]))&&r.push(l);r.length&&n3(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=Ci[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]=Ci[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEac
vendor: 15,213 bytes, line 54
54h(([m,g])=>{i.getValue(m).set(g)}),this.resolveNoneKeyframes()}}function U2(e,i,s){if(e==null)return[];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).filter(r=>r!=null)}const H2=(e,i)=>i&&typeof e=="number"?i.transform(e):e;function a3(e){return Kw(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:gm}=l2(queueMicrotask,!1),rn={x:!1,y:!1};function q2(){return rn.x||rn.y}function s3(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 F2(e,i){const s=U2(e),r=new AbortController,l={passive:!0,...i,signal:r.signal};return[s,l,()=>r.abort()]}function r3(e){return!(e.pointerType==="touch"||q2())}function o3(e,i,s={}){const[r,l,u]=F2(e,s);return r.forEach(f=>{let m=!1,g=!1,p;const y=()=>{f.removeEventListener("pointerleave",A)},v=j=>{p&&(p(j),p=void 0),y()},b=j=>{m=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),g&&(g=!1,v(j))},E=()=>{m=!0,window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",b,l)},A=j=>{if(j.pointerType!=="touch"){if(m){g=!0;return}v(j)}},T=j=>{if(!r3(j))return;g=!1;const R=i(f,j);typeof R=="function"&&(p=R,f.addEventListener("pointerleave",A,l))};f.addEventListener("pointerenter",T,l),f.addEventListener("pointerdown",E,l)}),u}const G2=(e,i)=>i?e===i?!0:G2(e,i.parentElement):!1,ym=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,l3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function c3(e){return l3.has(e.tagName)||e.isContentEditable===!0}const u3=new Set(["INPUT","SELECT","TEXTAREA"]);function d3(e){return u3.has(e.tagName)||e.isContentEditable===!0}const Rl=new WeakSet;function Jx(e){return i=>{i.key==="Enter"&&e(i)}}function Ef(e,i){e.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const f3=(e,i)=>{const s=e.currentTarget;if(!s)return;const r=Jx(()=>{if(Rl.has(s))return;Ef(s,"down");const l=Jx(()=>{Ef(s,"up")}),u=()=>Ef(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 e0(e){return ym(e)&&!q2()}const t0=new WeakSet;function h3(e,i,s={}){const[r,l,u]=F2(e,s),f=m=>{const g=m.currentTarget;if(!e0(m)||t0.has(m))return;Rl.add(g),s.stopPropagation&&t0.add(m);const p=i(g,m),y=(E,A)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",b),Rl.has(g)&&Rl.delete(g),e0(E)&&typeof p=="function"&&p(E,{success:A})},v=E=>{y(E,g===window||g===document||s.useGlobalTarget||G2(g,E.target))},b=E=>{y(E,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",b,l)};return r.forEach(m=>{(s.useGlobalTarget?window:m).addEventListener("pointerdown",f,l),a3(m)&&(m.addEventListener("focus",p=>f3(p,l)),!c3(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),u}function vm(e){return Kw(e)&&"ownerSVGElement"in e}const Dl=new WeakMap;let Ml;const I2=(e,i,s)=>(r,l)=>l&&l[0]?l[0][e+"Size"]:vm(r)&&"getBBox"in r?r.getBBox()[i]:r[s],m3=I2("inline","width","offsetWidth"),p3=I2("block","height","offsetHeight");function g3({target:e,borderBoxSize:i}){Dl.get(e)?.forEach(s=>{s(e,{get width(){return m3(e,i)},get height(){return p3(e,i)}})})}function y3(e){e.forEach(g3)}function v3(){typeof ResizeObserver>"u"||(Ml=new ResizeObserver(y3))}function x3(e,i){Ml||v3();const s=U2(e);return s.forEach(r=>{let l=Dl.get(r);l||(l=new Set,Dl.set(r,l)),l.add(i),Ml?.observe(r)}),()=>{s.forEach(r=>{const l=Dl.get(r);l?.delete(i),l?.size||Ml?.unobserve(r)})}}const kl=new Set;let rs;function b3(){rs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};kl.forEach(i=>i(e))},window.addEventListener("resize",rs)}function w3(e){return kl.add(e),rs||b3(),()=>{kl.delete(e),!kl.size&&typeof rs=="function"&&(window.removeEventListener("resize",rs),rs=void 0)}}function n0(e,i){return typeof e=="function"?w3(e):x3(e,i)}function S3(e){return vm(e)&&e.tagName==="svg"}const E3=[...V2,et,ln],T3=e=>E3.find(L2(e)),i0=()=>({translate:0,scale:1,origin:0,originPoint:0}),os=()=>({x:i0(),y:i0()}),a0=()=>({min:0,max:0}),at=()=>({x:a0(),y:a0()}),A3=new WeakMap;function Cc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Vr(e){return typeof e=="string"||Array.isArray(e)}const xm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bm=["initial",...xm];function Nc(e){return Cc(e.animate)||bm.some(i=>Vr(e[i]))}function Y2(e){return!!(Nc(e)||e.variants)}function j3(e,i,s){for(const r in i){const l=i[r],u=s[r];if(pt(l))e.addValue(r,l);else if(pt(u))e.addValue(r,hs(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,hs(f!==void 0?f:l,{owner:e}))}}for(const r in s)i[r]===void 0&&e.removeValue(r);return i}const Jl={current:null},wm={current:!1},C3=typeof window<"u";function X2(){if(wm.current=!0,!!C3)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),i=()=>Jl.current=e.matches;e.addEventListener("change",i),i()}else Jl.current=!1}const s0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ec={};function K2(e){ec=e}function N3(){return ec}class R3{scrapeMotionValuesFromProps(i,s,r){return{}}constructor({parent:i,props:s,presenceContext:r,reducedMotionConfig:l,skipAnimations:u,blockInitialAnimation:f,visualState:m},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=cm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const E=St.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,Ve.render(this.render,!1,!0))};const{latestValues:p,renderState:y}=m;this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=y,this.parent=i,this.props=s,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=u,this.options=g,this.blockInitialAnimation=!!f,this.isControllingVariants=Nc(s),this.isVariantNode=Y2(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(s,{},this);for(const E in b){const A=b[E];p[E]!==void 0&&pt(A)&&A.set(p[E])}}mount(i){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=i,A3.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:(wm.current||X2(),this.shouldReduceMotion=Jl.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),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){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),s.accelerate&&R2.has(i)&&this.current instanceof HTMLElement){const{factory:f,keyframes:m,times:g,ease:p,duration:y}=s.accelerate,v=new C2({element:this.current,name:i,keyframes:m,times:g,ease:p,duration:Ut(y)}),b=f(v);this.valueSubscriptions.set(i,()=>{b(),v.cancel()});return}const r=xs.has(i);r&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&Ve.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 ec){const s=ec[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):at()}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<s0.length;r++){const l=s0[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=j3(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=hs(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"&&(Xw(r)||Qw(r))?r=parseFloat(r):!T3(r)&&ln.test(s)&&(r=B2(i,s)),this.setBaseTarget(i,pt(r)?r.get():r)),pt(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=hm(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&&!pt(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 em),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){gm.render(this.render)}}class Q2 extends R3{constructor(){super(...arguments),this.KeyframeResolver=i3}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;pt(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class Li{constructor(i){this.isMounted=!1,this.node=i}update(){}}function Z2({top:e,left:i,right:s,bottom:r}){return{x:{min:i,max:s},y:{min:e,max:r}}}function D3({x:e,y:i}){return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function M3(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 Tf(e){return e===void 0||e===1}function fh({scale:e,scaleX:i,scaleY:s}){return!Tf(e)||!Tf(i)||!Tf(s)}function aa(e){return fh(e)||W2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function W2(e){return r0(e.x)||r0(e.y)}function r0(e){return e&&e!=="0%"}function tc(e,i,s){const r=e-s,l=i*r;return s+l}function o0(e,i,s,r,l){return l!==void 0&&(e=tc(e,l,r)),tc(e,s,r)+i}function hh(e,i=0,s=1,r,l){e.min=o0(e.min,i,s,r,l),e.max=o0(e.max,i,s,r,l)}function $2(e,{x:i,y:s}){hh(e.x,i.translate,i.scale,i.originPoint),hh(e.y,s.translate,s.scale,s.originPoint)}const l0=.999999999999,c0=1.0000000000001;function k3(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:g}=u.options;g&&g.props.style&&g.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(wn(e.x,-u.scroll.offset.x),wn(e.y,-u.scroll.offset.y)),f&&(i.x*=f.x.scale,i.y*=f.y.scale,$2(e,f)),r&&aa(u.latestValues)&&Ol(e,u.latestValues,u.layout?.layoutBox))}i.x<c0&&i.x>l0&&(i.x=1),i.y<c0&&i.y>l0&&(i.y=1)}function wn(e,i){e.min+=i,e.max+=i}function u0(e,i,s,r,l=.5){const u=Ue(e.min,e.max,l);hh(e,i,s,u,r)}function d0(e,i){return typeof e=="string"?parseFloat(e)/100*(i.max-i.min):e}function Ol(e,i,s){const r=s??e;u0(e.x,d0(i.x,r.x),i.scaleX,i.scale,i.originX),u0(e.y,d0(i.y,r.y),i.scaleY,i.scale,i.originY)}function J2(e,i){return Z2(M3(e.getBoundingClientRect(),i))}function O3(e,i,s){const r=J2(e,s),{scroll:l}=i;return l&&(wn(r.x,l.offset.x),wn(r.y,l.offset.y)),r}const _3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},P3=vs.length;function L3(e,i,s){let r="",l=!0;for(let u=0;u<P3;u++){const f=vs[u],m=e[f];if(m===void 0)continue;let g=!0;if(typeof m=="number")g=m===(f.startsWith("scale")?1:0);else{const p=parseFloat(m);g=f.startsWith("scale")?p===1:p===0}if(!g||s){const p=H2(m,pm[f]);if(!g){l=!1;const y=_3[f]||f;r+=`${y}(${p}
54) `}s&&(i[f]=p)}}return r=r.trim(),s?r=s(i,l?"":r):l&&(r="none"),r}function Sm(e,i,s){const{style:r,vars:l,transformOrigin:u}=e;let f=!1,m=!1;for(const g in i){const p=i[g];if(xs.has(g)){f=!0;continue}else if(u2(g)){l[g]=p;continue}else{const y=H2(p,pm[g]);g.startsWith("origin")?(m=!0,u[g]=y):r[g]=y}}if(i.transform||(f||s?r.transform=L3(i,e.transform,s):r.transform&&(r.transform="none")),m){const{originX:g="50%",originY:p="50%",originZ:y=0}=u;r.transformOrigin=`${g} ${p} ${y}`}}function eS(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 f0(e,i){return i.max===i.min?0:e/(i.max-i.min)*100}const wr={correct:(e,i)=>{if(!i.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;const s=f0(e,i.target.x),r=f0(e,i.target.y);return`${s}% ${r}%`}},V3={correct:(e,{treeScale:i,projectionDelta:s})=>{const r=e,l=ln.parse(e);if(l.length>5)return r;const u=ln.createTransformer(e),f=typeof l[0]!="number"?1:0,m=s.x.scale*i.x,g=s.y.scale*i.y;l[0+f]/=m,l[1+f]/=g;const p=Ue(m,g,.5);return typeof l[2+f]=="number"&&(l[2+f]/=p),typeof l[3+f]=="number"&&(l[3+f]/=p),u(l)}},mh={borderRadius:{...wr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:wr,borderTopRightRadius:wr,borderBottomLeftRadius:wr,borderBottomRightRadius:wr,boxShadow:V3};function tS(e,{layout:i,layoutId:s}){return xs.has(e)||e.startsWith("origin")||(i||s!==void 0)&&(!!mh[e]||e==="opacity")}function Em(e,i,s){const r=e.style,l=i?.style,u={};if(!r)return u;for(const f in r)(pt(r[f])||l&&pt(l[f])||tS(f,e)||s?.getValue(f)?.liveStyle!==void 0)&&(u[f]=r[f]);return u}function z3(e){return window.getComputedStyle(e)}class B3 extends Q2{constructor(){super(...arguments),this.type="html",this.renderInstance=eS}readValueFromInstance(i,s){if(xs.has(s))return this.projection?.isProjecting?th(s):sO(i,s);{const r=z3(i),l=(u2(s)?r.getPropertyValue(s):r[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(i,{transformPagePoint:s}){return J2(i,s)}build(i,s,r){Sm(i,s,r.transformTemplate)}scrapeMotionValuesFromProps(i,s,r){return Em(i,s,r)}}const U3={offset:"stroke-dashoffset",array:"stroke-dasharray"},H3={offset:"strokeDashoffset",array:"strokeDasharray"};function q3(e,i,s=1,r=0,l=!0){e.pathLength=1;const u=l?U3:H3;e[u.offset]=`${-r}`,e[u.array]=`${i} ${s}`}const F3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function nS(e,{attrX:i,attrY:s,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:f=0,...m},g,p,y){if(Sm(e,m,p),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:b}=e;v.transform&&(b.transform=v.transform,delete v.transform),(b.transform||v.transformOrigin)&&(b.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),b.transform&&(b.transformBox=y?.transformBox??"fill-box",delete v.transformBox);for(const E of F3)v[E]!==void 0&&(b[E]=v[E],delete v[E]);i!==void 0&&(v.x=i),s!==void 0&&(v.y=s),r!==void 0&&(v.scale=r),l!==void 0&&q3(v,l,u,f,!1)}const iS=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"]),aS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function G3(e,i,s,r){eS(e,i,void 0,r);for(const l in i.attrs)e.setAttribute(iS.has(l)?l:mm(l),i.attrs[l])}function sS(e,i,s){const r=Em(e,i,s);for(const l in e)if(pt(e[l])||pt(i[l])){const u=vs.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=e[l]}return r}class I3 extends Q2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=at}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(xs.has(s)){const r=z2(s);return r&&r.default||0}return s=iS.has(s)?s:mm(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,r){return sS(i,s,r)}build(i,s,r){nS(i,s,this.isSVGTag,r.transformTemplate,r.style)}
vendor: 35,007 bytes, line 54
54renderInstance(i,s,r,l){G3(i,s,r,l)}mount(i){this.isSVGTag=aS(i.tagName),super.mount(i)}}const Y3=bm.length;function rS(e){if(!e)return;if(!e.isControllingVariants){const s=e.parent?rS(e.parent)||{}:{};return e.props.initial!==void 0&&(s.initial=e.props.initial),s}const i={};for(let s=0;s<Y3;s++){const r=bm[s],l=e.props[r];(Vr(l)||l===!1)&&(i[r]=l)}return i}function oS(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 X3=[...xm].reverse(),K3=xm.length;function Q3(e){return i=>Promise.all(i.map(({animation:s,options:r})=>YO(e,s,r)))}function Z3(e){let i=Q3(e),s=h0(),r=!0,l=!1;const u=p=>(y,v)=>{const b=ua(e,v,p==="exit"?e.presenceContext?.custom:void 0);if(b){const{transition:E,transitionEnd:A,...T}=b;y={...y,...T,...A}}return y};function f(p){i=p(e)}function m(p){const{props:y}=e,v=rS(e.parent)||{},b=[],E=new Set;let A={},T=1/0;for(let R=0;R<K3;R++){const N=X3[R],D=s[N],O=y[N]!==void 0?y[N]:v[N],_=Vr(O),q=N===p?D.isActive:null;q===!1&&(T=R);let X=O===v[N]&&O!==y[N]&&_;if(X&&(r||l)&&e.manuallyAnimateOnMount&&(X=!1),D.protectedKeys={...A},!D.isActive&&q===null||!O&&!D.prevProp||Cc(O)||typeof O=="boolean")continue;if(N==="exit"&&D.isActive&&q!==!0){D.prevResolvedValues&&(A={...A,...D.prevResolvedValues});continue}const B=W3(D.prevProp,O);let W=B||N===p&&D.isActive&&!X&&_||R>T&&_,Z=!1;const ae=Array.isArray(O)?O:[O];let ne=ae.reduce(u(N),{});q===!1&&(ne={});const{prevResolvedValues:ye={}}=D,J={...ye,...ne},ue=G=>{W=!0,E.has(G)&&(Z=!0,E.delete(G)),D.needsAnimating[G]=!0;const ie=e.getValue(G);ie&&(ie.liveStyle=!1)};for(const G in J){const ie=ne[G],C=ye[G];if(A.hasOwnProperty(G))continue;let I=!1;oh(ie)&&oh(C)?I=!oS(ie,C):I=ie!==C,I?ie!=null?ue(G):E.add(G):ie!==void 0&&E.has(G)?ue(G):D.protectedKeys[G]=!0}D.prevProp=O,D.prevResolvedValues=ne,D.isActive&&(A={...A,...ne}),(r||l)&&e.blockInitialAnimation&&(W=!1);const L=X&&B;W&&(!L||Z)&&b.push(...ae.map(G=>{const ie={type:N};if(typeof G=="string"&&(r||l)&&!L&&e.manuallyAnimateOnMount&&e.parent){const{parent:C}=e,I=ua(C,G);if(C.enteringChildren&&I){const{delayChildren:ee}=I.transition||{};ie.delay=D2(C.enteringChildren,e,ee)}}return{animation:G,options:ie}}))}if(E.size){const R={};if(typeof y.initial!="boolean"){const N=ua(e,Array.isArray(y.initial)?y.initial[0]:y.initial);N&&N.transition&&(R.transition=N.transition)}E.forEach(N=>{const D=e.getBaseTarget(N),O=e.getValue(N);O&&(O.liveStyle=!0),R[N]=D??null}),b.push({animation:R})}let j=!!b.length;return r&&(y.initial===!1||y.initial===y.animate)&&!e.manuallyAnimateOnMount&&(j=!1),r=!1,l=!1,j?i(b):Promise.resolve()}function g(p,y){if(s[p].isActive===y)return Promise.resolve();e.variantChildren?.forEach(b=>b.animationState?.setActive(p,y)),s[p].isActive=y;const v=m(p);for(const b in s)s[b].protectedKeys={};return v}return{animateChanges:m,setActive:g,setAnimateFunction:f,getState:()=>s,reset:()=>{s=h0(),l=!0}}}function W3(e,i){return typeof i=="string"?i!==e:Array.isArray(i)?!oS(i,e):!1}function ia(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function h0(){return{animate:ia(!0),whileInView:ia(),whileHover:ia(),whileTap:ia(),whileDrag:ia(),whileFocus:ia(),exit:ia()}}function ph(e,i){e.min=i.min,e.max=i.max}function sn(e,i){ph(e.x,i.x),ph(e.y,i.y)}function m0(e,i){e.translate=i.translate,e.scale=i.scale,e.originPoint=i.originPoint,e.origin=i.origin}const lS=1e-4,$3=1-lS,J3=1+lS,cS=.01,e4=0-cS,t4=0+cS;function Et(e){return e.max-e.min}function n4(e,i,s){return Math.abs(e-i)<=s}function p0(e,i,s,r=.5){e.origin=r,e.originPoint=Ue(i.min,i.max,e.origin),e.scale=Et(s)/Et(i),e.translate=Ue(s.min,s.max,e.origin)-e.originPoint,(e.scale>=$3&&e.scale<=J3||isNaN(e.scale))&&(e.scale=1),(e.translate>=e4&&e.translate<=t4||isNaN(e.translate))&&(e.translate=0)}function Rr(e,i,s,r){p0(e.x,i.x,s.x,r?r.originX:void 0),p0(e.y,i.y,s.y,r?r.originY:void 0)}function g0(e,i,s,r=0){const l=r?Ue(s.min,s.max,r):s.min;e.min=l+i.min,e.max=e.min+Et(i)}function i4(e,i,s,r){g0(e.x,i.x,s.x,r?.x),g0(e.y,i.y,s.y,r?.y)}function y0(e,i,s,r=0){const l=r?Ue(s.min,s.max,r):s.min;e.min=i.min-l,e.max=e.min+Et(i)}function nc(e,i,s,r){y0(e.x,i.x,s.x,r?.x),y0(e.y,i.y,s.y,r?.y)}function v0(e,i,s,r,l){return e-=i,e=tc(e,1/s,r),l!==void 0&&(e=tc(e,1/l,r)),e}function a4(e,i=0,s=1,r=.5,l,u=e,f=e){if(An.test(i)&&(i=parseFloat(i),i=Ue(f.min,f.max,i/100)-f.min),typeof i!="number")return;let m=Ue(u.min,u.max,r);e===u&&(m-=i),e.min=v0(e.min,i,s,m,l),e.max=v0(e.max,i,s,m,l)}function x0(e,i,[s,r,l],u,f){a4(e,i[s],i[r],i[l],i.scale,u,f)}const s4=["x","scaleX","originX"],r4=["y","scaleY","originY"];function b0(e,i,s,r){x0(e.x,i,s4,s?s.x:void 0,r?r.x:void 0),x0(e.y,i,r4,s?s.y:void 0,r?r.y:void 0)}function w0(e){return e.translate===0&&e.scale===1}function uS(e){return w0(e.x)&&w0(e.y)}function S0(e,i){return e.min===i.min&&e.max===i.max}function o4(e,i){return S0(e.x,i.x)&&S0(e.y,i.y)}function E0(e,i){return Math.round(e.min)===Math.round(i.min)&&Math.round(e.max)===Math.round(i.max)}function dS(e,i){return E0(e.x,i.x)&&E0(e.y,i.y)}function T0(e){return Et(e.x)/Et(e.y)}function A0(e,i){return e.translate===i.translate&&e.scale===i.scale&&e.originPoint===i.originPoint}function bn(e){return[e("x"),e("y")]}function l4(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:p,rotate:y,rotateX:v,rotateY:b,skewX:E,skewY:A}=s;p&&(r=`perspective(${p}px) ${r}`),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotateX(${v}deg) `),b&&(r+=`rotateY(${b}deg) `),E&&(r+=`skewX(${E}deg) `),A&&(r+=`skewY(${A}deg) `)}const m=e.x.scale*i.x,g=e.y.scale*i.y;return(m!==1||g!==1)&&(r+=`scale(${m}, ${g})`),r||"none"}const fS=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],c4=fS.length,j0=e=>typeof e=="string"?parseFloat(e):e,C0=e=>typeof e=="number"||oe.test(e);function u4(e,i,s,r,l,u){l?(e.opacity=Ue(0,s.opacity??1,d4(r)),e.opacityExit=Ue(i.opacity??1,0,f4(r))):u&&(e.opacity=Ue(i.opacity??1,s.opacity??1,r));for(let f=0;f<c4;f++){const m=fS[f];let g=N0(i,m),p=N0(s,m);if(g===void 0&&p===void 0)continue;g||(g=0),p||(p=0),g===0||p===0||C0(g)===C0(p)?(e[m]=Math.max(Ue(j0(g),j0(p),r),0),(An.test(p)||An.test(g))&&(e[m]+="%")):e[m]=p}(i.rotate||s.rotate)&&(e.rotate=Ue(i.rotate||0,s.rotate||0,r))}function N0(e,i){return e[i]!==void 0?e[i]:e.borderRadius}const d4=hS(0,.5,a2),f4=hS(.5,.95,Jt);function hS(e,i,s){return r=>r<e?0:r>i?1:s(Pr(e,i,r))}function h4(e,i,s){const r=pt(e)?e:hs(e);return r.start(fm("",r,i,s)),r.animation}function zr(e,i,s,r={passive:!0}){return e.addEventListener(i,s,r),()=>e.removeEventListener(i,s)}const m4=(e,i)=>e.depth-i.depth;class p4{constructor(){this.children=[],this.isDirty=!1}add(i){$h(this.children,i),this.isDirty=!0}remove(i){Kl(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(m4),this.isDirty=!1,this.children.forEach(i)}}function g4(e,i){const s=St.now(),r=({timestamp:l})=>{const u=l-s;u>=i&&(Oi(r),e(u-i))};return Ve.setup(r,!0),()=>Oi(r)}function _l(e){return pt(e)?e.get():e}class y4{constructor(){this.members=[]}add(i){$h(this.members,i);for(let s=this.members.length-1;s>=0;s--){const r=this.members[s];if(r===i||r===this.lead||r===this.prevLead)continue;const l=r.instance;(!l||l.isConnected===!1)&&!r.snapshot&&(Kl(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(Kl(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){for(let s=this.members.indexOf(i)-1;s>=0;s--){const r=this.members[s];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(i,s){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:u}=i.options;(l===void 0||l!==u)&&(i.resumeFrom=r,s&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root?.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{i.options.onExitComplete?.(),i.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Pl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Af=["","X","Y","Z"],v4=1e3;let x4=0;function jf(e,i,s,r){const{latestValues:l}=i;l[e]&&(s[e]=l[e],i.setStaticValue(e,0),r&&(r[e]=0))}function mS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:i}=e.options;if(!i)return;const s=_2(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",Ve,!(l||u))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&mS(r)}function pS({attachResizeListener:e,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(f={},m=i?.()){this.id=x4++,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(S4),this.nodes.forEach(N4),this.nodes.forEach(R4),this.nodes.forEach(E4)},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 g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new p4)}addEventListener(f,m){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new em),this.eventHandlers.get(f).add(m)}notifyListeners(f,...m){const g=this.eventHandlers.get(f);g&&g.notify(...m)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=vm(f)&&!S3(f),this.instance=f;const{layoutId:m,layout:g,visualElement:p}=this.options;if(p&&!p.current&&p.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(g||m)&&(this.isLayoutDirty=!0),e){let y,v=0;const b=()=>this.root.updateBlockedByResize=!1;Ve.read(()=>{v=window.innerWidth}),e(f,()=>{const E=window.innerWidth;E!==v&&(v=E,this.root.updateBlockedByResize=!0,y&&y(),y=g4(b,250),Pl.hasAnimatedSinceResize&&(Pl.hasAnimatedSinceResize=!1,this.nodes.forEach(M0)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:b,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||p.getDefaultTransition()||_4,{onLayoutAnimationStart:T,onLayoutAnimationComplete:j}=p.getProps(),R=!this.targetLayout||!dS(this.targetLayout,E),N=!v&&b;if(this.options.layoutRoot||this.resumeFrom||N||v&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const D={...dm(A,"layout"),onPlay:T,onComplete:j};(p.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D),this.setAnimationOrigin(y,N)}else v||M0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}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(D4),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&&mS(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,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:m,layout:g}=this.options;if(m===void 0&&!g)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const g=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),g&&this.nodes.forEach(A4),this.nodes.forEach(R0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(D0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(j4),this.nodes.forEach(C4),this.nodes.forEach(b4),this.nodes.forEach(w4)):this.nodes.forEach(D0),this.clearAllSnapshots();const m=St.now();mt.delta=Nn(0,1e3/60,m-mt.timestamp),mt.timestamp=m,mt.isProcessing=!0,yf.update.process(mt),yf.preRender.process(mt),yf.render.process(mt),mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,gm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(T4),this.sharedNodes.forEach(M4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ve.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ve.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Et(this.snapshot.measuredBox.x)&&!Et(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 g=0;g<this.path.length;g++)this.path[g].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=at()),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 g=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:g,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!l)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!uS(this.projectionDelta),g=this.getTransformTemplate(),p=g?g(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;f&&this.instance&&(m||aa(this.latestValues)||y)&&(l(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const m=this.measurePageBox();let g=this.removeElementScroll(m);return f&&(g=this.removeTransform(g)),P4(g),{animationId:this.root.animationId,measuredBox:m,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return at();const m=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(L4))){const{scroll:p}=this.root;p&&(wn(m.x,p.offset.x),wn(m.y,p.offset.y))}return m}removeElementScroll(f){const m=at();if(sn(m,f),this.scroll?.wasRoot)return m;for(let g=0;g<this.path.length;g++){const p=this.path[g],{scroll:y,options:v}=p;p!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&sn(m,f),wn(m.x,y.offset.x),wn(m.y,y.offset.y))}return m}applyTransform(f,m=!1,g){const p=g||at();sn(p,f);for(let y=0;y<this.path.length;y++){const v=this.path[y];!m&&v.options.layoutScroll&&v.scroll&&v!==v.root&&(wn(p.x,-v.scroll.offset.x),wn(p.y,-v.scroll.offset.y)),aa(v.latestValues)&&Ol(p,v.latestValues,v.layout?.layoutBox)}return aa(this.latestValues)&&Ol(p,this.latestValues,this.layout?.layoutBox),p}removeTransform(f){const m=at();sn(m,f);for(let g=0;g<this.path.length;g++){const p=this.path[g];if(!aa(p.latestValues))continue;let y;p.instance&&(fh(p.latestValues)&&p.updateSnapshot(),y=at(),sn(y,p.measurePageBox())),b0(m,p.latestValues,p.snapshot?.layoutBox,y)}return aa(this.latestValues)&&b0(m,this.latestValues),m}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==mt.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 g=!!this.resumingFrom||this!==m;if(!(f||g&&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=mt.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=at(),this.targetWithTransforms=at()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),i4(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):sn(this.target,this.layout.layoutBox),$2(this.target,this.targetDelta)):sn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||fh(this.parent.latestValues)||W2(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,g){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=at(),this.relativeTargetOrigin=at(),nc(this.relativeTargetOrigin,m,g,this.options.layoutAnchor||void 0),sn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const f=this.getLead(),m=!!this.resumingFrom||this!==f;let g=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(g=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===mt.timestamp&&(g=!1),g)return;const{layout:p,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||!(p||y))return;sn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,b=this.treeScale.y;k3(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=at());const{target:E}=f;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(m0(this.prevProjectionDelta.x,this.projectionDelta.x),m0(this.prevProjectionDelta.y,this.projectionDelta.y)),Rr(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==b||!A0(this.projectionDelta.x,this.prevProjectionDelta.x)||!A0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E))}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=os(),this.projectionDelta=os(),this.projectionDeltaWithTransform=os()}setAnimationOrigin(f,m=!1){const g=this.snapshot,p=g?g.latestValues:{},y={...this.latestValues},v=os();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const b=at(),E=g?g.source:void 0,A=this.layout?this.layout.source:void 0,T=E!==A,j=this.getStack(),R=!j||j.members.length<=1,N=!!(T&&!R&&this.options.crossfade===!0&&!this.path.some(O4));this.animationProgress=0;let D;this.mixTargetDelta=O=>{const _=O/1e3;k0(v.x,f.x,_),k0(v.y,f.y,_),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nc(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),k4(this.relativeTarget,this.relativeTargetOrigin,b,_),D&&o4(this.relativeTarget,D)&&(this.isProjectionDirty=!1),D||(D=at()),sn(D,this.relativeTarget)),T&&(this.animationValues=y,u4(y,p,this.latestValues,_,N,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=_},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=Ve.update(()=>{Pl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=hs(0)),this.motionValue.jump(0,!1),this.currentAnimation=h4(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(v4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:m,target:g,layout:p,latestValues:y}=f;if(!(!m||!g||!p)){if(this!==f&&this.layout&&p&&gS(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||at();const v=Et(this.layout.layoutBox.x);g.x.min=f.target.x.min,g.x.max=g.x.min+v;const b=Et(this.layout.layoutBox.y);g.y.min=f.target.y.min,g.y.max=g.y.min+b}sn(m,g),Ol(m,y),Rr(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(f,m){this.sharedNodes.has(f)||this.sharedNodes.set(f,new y4),this.sharedNodes.get(f).add(m);const p=m.options.initialPromotionConfig;m.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.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:g}={}){const p=this.getStack();p&&p.promote(this,g),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:g}=f;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(m=!0),!m)return;const p={};g.z&&jf("z",f,p,this.animationValues);for(let y=0;y<Af.length;y++)jf(`rotate${Af[y]}`,f,p,this.animationValues),jf(`skew${Af[y]}`,f,p,this.animationValues);f.render();for(const y in p)f.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);f.scheduleRender()}applyProjectionStyles(f,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const g=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=_l(m?.pointerEvents)||"",f.transform=g?g(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=_l(m?.pointerEvents)||""),this.hasProjected&&!aa(this.latestValues)&&(f.transform=g?g({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=p.animationValues||p.latestValues;this.applyTransformsToTarget();let v=l4(this.projectionDeltaWithTransform,this.treeScale,y);g&&(v=g(y,v)),f.transform=v;const{x:b,y:E}=this.projectionDelta;f.transformOrigin=`${b.origin*100}% ${E.origin*100}% 0`,p.animationValues?f.opacity=p===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=p===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const A in mh){if(y[A]===void 0)continue;const{correct:T,applyTo:j,isCSSVariable:R}=mh[A],N=v==="none"?y[A]:T(y[A],p);if(j){const D=j.length;for(let O=0;O<D;O++)f[j[O]]=N}else R?this.options.visualElement.renderState.vars[A]=N:f[A]=N}this.options.layoutId&&(f.pointerEvents=p===this?_l(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(R0),this.root.sharedNodes.clear()}}}function b4(e){e.updateLayout()}function w4(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;if(l==="size")bn(y=>{const v=u?i.measuredBox[y]:i.layoutBox[y],b=Et(v);v.min=s[y].min,v.max=v.min+b});else if(l==="x"||l==="y"){const y=l==="x"?"y":"x";ph(u?i.measuredBox[y]:i.layoutBox[y],s[y])}else gS(l,i.layoutBox,s)&&bn(y=>{const v=u?i.measuredBox[y]:i.layoutBox[y],b=Et(s[y]);v.max=v.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+b)});const f=os();Rr(f,s,i.layoutBox);const m=os();u?Rr(m,e.applyTransform(r,!0),i.measuredBox):Rr(m,s,i.layoutBox);const g=!uS(f);let p=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:b}=y;if(v&&b){const E=e.options.layoutAnchor||void 0,A=at();nc(A,i.layoutBox,v.layoutBox,E);const T=at();nc(T,s,b.layoutBox,E),dS(A,T)||(p=!0),y.options.layoutRoot&&(e.relativeTarget=T,e.relativeTargetOrigin=A,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:m,layoutDelta:f,hasLayoutChanged:g,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function S4(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 E4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function T4(e){e.clearSnapshot()}function R0(e){e.clearMeasurements()}function A4(e){e.isLayoutDirty=!0,e.updateLayout()}function D0(e){e.isLayoutDirty=!1}function j4(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function C4(e){const{visualElement:i}=e.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),e.resetTransform()}function M0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function N4(e){e.resolveTargetDelta()}function R4(e){e.calcProjection()}function D4(e){e.resetSkewAndRotation()}function M4(e){e.removeLeadSnapshot()}function k0(e,i,s){e.translate=Ue(i.translate,0,s),e.scale=Ue(i.scale,1,s),e.origin=i.origin,e.originPoint=i.originPoint}function O0(e,i,s,r){e.min=Ue(i.min,s.min,r),e.max=Ue(i.max,s.max,r)}function k4(e,i,s,r){O0(e.x,i.x,s.x,r),O0(e.y,i.y,s.y,r)}function O4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const _4={duration:.45,ease:[.4,0,.1,1]},_0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),P0=_0("applewebkit/")&&!_0("chrome/")?Math.round:Jt;function L0(e){e.min=P0(e.min),e.max=P0(e.max)}function P4(e){L0(e.x),L0(e.y)}function gS(e,i,s){return e==="position"||e==="preserve-aspect"&&!n4(T0(i),T0(s),.2)}function L4(e){return e!==e.root&&e.scroll?.wasRoot}const V4=pS({attachResizeListener:(e,i)=>zr(e,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Cf={current:void 0},yS=pS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Cf.current){const e=new V4({});e.mount(window),e.setOptions({layoutScroll:!0}),Cf.current=e}return Cf.current},resetTransform:(e,i)=>{e.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),ic=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function z4(e=!0){const i=w.useContext(Wh);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 vS=w.createContext({strict:!1}),V0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let z0=!1;function B4(){if(z0)return;const e={};for(const i in V0)e[i]={isEnabled:s=>V0[i].some(r=>!!s[r])};K2(e),z0=!0}function xS(){return B4(),N3()}function U4(e){const i=xS();for(const s in e)i[s]={...i[s],...e[s]};K2(i)}const H4=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ac(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||H4.has(e)}let bS=e=>!ac(e);function wS(e){typeof e=="function"&&(bS=i=>i.startsWith("on")?!ac(i):e(i))}try{wS(require("@emotion/is-prop-valid").default)}catch{}function q4(e,i,s){const r={};for(const l in e)l==="values"&&typeof e.values=="object"||pt(e[l])||(bS(l)||s===!0&&ac(l)||!i&&!ac(l)||e.draggable&&l.startsWith("onDrag"))&&(r[l]=e[l]);return r}function F4({children:e,isValidProp:i,...s}){i&&wS(i);const r=w.useContext(ic);s={...r,...s},s.transition=um(s.transition,r.transition),s.isStatic=Yw(()=>s.isStatic);const l=w.useMemo(()=>s,[JSON.stringify(s.transition),s.transformPagePoint,s.reducedMotion,s.skipAnimations]);return c.jsx(ic.Provider,{value:l,children:e})}const Rc=w.createContext({});function G4(e,i){if(Nc(e)){const{initial:s,animate:r}=e;return{initial:s===!1||Vr(s)?s:void 0,animate:Vr(r)?r:void 0}}return e.inherit!==!1?i:{}}function I4(e){const{initial:i,animate:s}=G4(e,w.useContext(Rc));return w.useMemo(()=>({initial:i,animate:s}),[B0(i),B0(s)])}function B0(e){return Array.isArray(e)?e.join(" "):e}const Tm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function SS(e,i,s){for(const r in i)!pt(i[r])&&!tS(r,s)&&(e[r]=i[r])}function Y4({transformTemplate:e},i){return w.useMemo(()=>{const s=Tm();return Sm(s,i,e),Object.assign({},s.vars,s.style)},[i])}function X4(e,i){const s=e.style||{},r={};return SS(r,s,e),Object.assign(r,Y4(e,i)),r}function K4(e,i){const s={},r=X4(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"}
54`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=r,s}const ES=()=>({...Tm(),attrs:{}});function Q4(e,i,s,r){const l=w.useMemo(()=>{const u=ES();return nS(u,i,aS(r),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[i]);if(e.style){const u={};SS(u,e.style,e),l.style={...u,...l.style}}return l}const Z4=["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 Am(e){return typeof e!="string"||e.includes("-")?!1:!!(Z4.indexOf(e)>-1||/[A-Z]/u.test(e))}function W4(e,i,s,{latestValues:r},l,u=!1,f){const g=(f??Am(e)?Q4:K4)(i,r,l,e),p=q4(i,typeof e=="string",u),y=e!==w.Fragment?{...p,...g,ref:s}:{},{children:v}=i,b=w.useMemo(()=>pt(v)?v.get():v,[v]);return w.createElement(e,{...y,children:b})}function $4({scrapeMotionValuesFromProps:e,createRenderState:i},s,r,l){return{latestValues:J4(s,r,l,e),renderState:i()}}function J4(e,i,s,r){const l={},u=r(e,{});for(const b in u)l[b]=_l(u[b]);let{initial:f,animate:m}=e;const g=Nc(e),p=Y2(e);i&&p&&!g&&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"&&!Cc(v)){const b=Array.isArray(v)?v:[v];for(let E=0;E<b.length;E++){const A=hm(e,b[E]);if(A){const{transitionEnd:T,transition:j,...R}=A;for(const N in R){let D=R[N];if(Array.isArray(D)){const O=y?D.length-1:0;D=D[O]}D!==null&&(l[N]=D)}for(const N in T)l[N]=T[N]}}}return l}const TS=e=>(i,s)=>{const r=w.useContext(Rc),l=w.useContext(Wh),u=()=>$4(e,i,r,l);return s?u():Yw(u)},e6=TS({scrapeMotionValuesFromProps:Em,createRenderState:Tm}),t6=TS({scrapeMotionValuesFromProps:sS,createRenderState:ES}),n6=Symbol.for("motionComponentSymbol");function i6(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);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&&(u?i.mount(u):i.unmount())},[i])}const AS=w.createContext({});function is(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function a6(e,i,s,r,l,u){const{visualElement:f}=w.useContext(Rc),m=w.useContext(vS),g=w.useContext(Wh),p=w.useContext(ic),y=p.reducedMotion,v=p.skipAnimations,b=w.useRef(null),E=w.useRef(!1);r=r||m.renderer,!b.current&&r&&(b.current=r(e,{visualState:i,parent:f,props:s,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:y,skipAnimations:v,isSVG:u}),E.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const A=b.current,T=w.useContext(AS);A&&!A.projection&&l&&(A.type==="html"||A.type==="svg")&&s6(b.current,s,l,T);const j=w.useRef(!1);w.useInsertionEffect(()=>{A&&j.current&&A.update(s,g)});const R=s[O2],N=w.useRef(!!R&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return Jk(()=>{E.current=!0,A&&(j.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),N.current&&A.animationState&&A.animationState.animateChanges())}),w.useEffect(()=>{A&&(!N.current&&A.animationState&&A.animationState.animateChanges(),N.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(R)}),N.current=!1),A.enteringChildren=void 0)}),A}function s6(e,i,s,r){const{layoutId:l,layout:u,drag:f,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:y,layoutCrossfade:v}=i;e.projection=new s(e.latestValues,i["data-framer-portal-id"]?void 0:jS(e.parent)),e.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!f||m&&is(m),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:g,layoutRoot:p,layoutAnchor:y})}function jS(e){if(e)return e.options.allowProjection!==!1?e.projection:jS(e.parent)}function Nf(e,{forwardMotionProps:i=!1,type:s}={},r,l){r&&U4(r);const u=s?s==="svg":Am(e),f=u?t6:e6;function m(p,y){let v;const b={...w.useContext(ic),...p,layoutId:r6(p)},{isStatic:E}=b,A=I4(p),T=f(p,E);if(!E&&typeof window<"u"){o6();const j=l6(b);v=j.MeasureLayout,A.visualElement=a6(e,T,b,l,j.ProjectionNode,u)}return c.jsxs(Rc.Provider,{value:A,children:[v&&A.visualElement?c.jsx(v,{visualElement:A.visualElement,...b}):null,W4(e,p,i6(T,A.visualElement,y),T,E,i,u)]})}
vendor: 7,145 bytes, line 54
54m.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const g=w.forwardRef(m);return g[n6]=e,g}function r6({layoutId:e}){const i=w.useContext(Iw).id;return i&&e!==void 0?i+"-"+e:e}function o6(e,i){w.useContext(vS).strict}function l6(e){const i=xS(),{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 c6(e,i){if(typeof Proxy>"u")return Nf;const s=new Map,r=(u,f)=>Nf(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,Nf(f,void 0,e,i)),s.get(f))})}const u6=(e,i)=>i.isSVG??Am(e)?new I3(i):new B3(i,{allowProjection:e!==w.Fragment});class d6 extends Li{constructor(i){super(i),i.animationState||(i.animationState=Z3(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Cc(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 f6=0;class h6 extends Li{constructor(){super(...arguments),this.id=f6++,this.isExitComplete=!1}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;if(i&&r===!1){if(this.isExitComplete){const{initial:u,custom:f}=this.node.getProps();if(typeof u=="string"){const m=ua(this.node,u,f);if(m){const{transition:g,transitionEnd:p,...y}=m;for(const v in y)this.node.getValue(v)?.jump(y[v])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const l=this.node.animationState.setActive("exit",!i);s&&!i&&l.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const m6={animation:{Feature:d6},exit:{Feature:h6}};function Ir(e){return{point:{x:e.pageX,y:e.pageY}}}const p6=e=>i=>ym(i)&&e(i,Ir(i));function Dr(e,i,s,r){return zr(e,i,p6(s),r)}const CS=({current:e})=>e?e.ownerDocument.defaultView:null,U0=(e,i)=>Math.abs(e-i);function g6(e,i){const s=U0(e.x,i.x),r=U0(e.y,i.y);return Math.sqrt(s**2+r**2)}const H0=new Set(["auto","scroll"]);class NS{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.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=E=>{this.handleScroll(E.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=bl(this.lastRawMoveEventInfo,this.transformPagePoint));const E=Rf(this.lastMoveEventInfo,this.history),A=this.startEvent!==null,T=g6(E.offset,{x:0,y:0})>=this.distanceThreshold;if(!A&&!T)return;const{point:j}=E,{timestamp:R}=mt;this.history.push({...j,timestamp:R});const{onStart:N,onMove:D}=this.handlers;A||(N&&N(this.lastMoveEvent,E),this.startEvent=this.lastMoveEvent),D&&D(this.lastMoveEvent,E)},this.handlePointerMove=(E,A)=>{this.lastMoveEvent=E,this.lastRawMoveEventInfo=A,this.lastMoveEventInfo=bl(A,this.transformPagePoint),Ve.update(this.updatePoint,!0)},this.handlePointerUp=(E,A)=>{this.end();const{onEnd:T,onSessionEnd:j,resumeAnimation:R}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&R&&R(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=Rf(E.type==="pointercancel"?this.lastMoveEventInfo:bl(A,this.transformPagePoint),this.history);this.startEvent&&T&&T(E,N),j&&j(E,N)},!ym(i))return;this.dragSnapToOrigin=u,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=l||window;const g=Ir(i),p=bl(g,this.transformPagePoint),{point:y}=p,{timestamp:v}=mt;this.history=[{...y,timestamp:v}];const{onSessionStart:b}=s;b&&b(i,Rf(p,this.history)),this.removeListeners=qr(Dr(this.contextWindow,"pointermove",this.handlePointerMove),Dr(this.contextWindow,"pointerup",this.handlePointerUp),Dr(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(i){let s=i.parentElement;for(;s;){const r=getComputedStyle(s);(H0.has(r.overflowX)||H0.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}),window.addEventListener("scroll",this.onWindowScroll),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),Ve.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 bl(e,i){return i?{point:i(e.point)}:e}function q0(e,i){return{x:e.x-i.x,y:e.y-i.y}}function Rf({point:e},i){return{point:e,delta:q0(e,RS(i)),offset:q0(e,y6(i)),velocity:v6(i,.1)}}function y6(e){return e[0]}function RS(e){return e[e.length-1]}function v6(e,i){if(e.length<2)return{x:0,y:0};let s=e.length-1,r=null;const l=RS(e);for(;s>=0&&(r=e[s],!(l.timestamp-r.timestamp>Ut(i)));)s--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&l.timestamp-r.timestamp>Ut(i)*2&&(r=e[1]);const u=$t(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 x6(e,{min:i,max:s},r){return i!==void 0&&e<i?e=r?Ue(i,e,r.min):Math.max(e,i):s!==void 0&&e>s&&(e=r?Ue(s,e,r.max):Math.min(e,s)),e}function F0(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 b6(e,{top:i,left:s,bottom:r,right:l}){return{x:F0(e.x,s,l),y:F0(e.y,i,r)}}function G0(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 w6(e,i){return{x:G0(e.x,i.x),y:G0(e.y,i.y)}}function S6(e,i){let s=.5;const r=Et(e),l=Et(i);return l>r?s=Pr(i.min,i.max-r,e.min):r>l&&(s=Pr(e.min,e.max-l,i.min)),Nn(0,1,s)}function E6(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 gh=.35;function T6(e=gh){return e===!1?e=0:e===!0&&(e=gh),{x:I0(e,"left","right"),y:I0(e,"to
54p","bottom")}}function I0(e,i,s){return{min:Y0(e,i),max:Y0(e,s)}}function Y0(e,i){return typeof e=="number"?e:e[i]||0}const A6=new WeakMap;class j6{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=at(),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.snapToCursor(Ir(v).point),this.stopAnimation()},f=(v,b)=>{const{drag:E,dragPropagation:A,onDragStart:T}=this.getProps();if(E&&!A&&(this.openDragLock&&this.openDragLock(),this.openDragLock=s3(E),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),bn(R=>{let N=this.getAxisMotionValue(R).get()||0;if(An.test(N)){const{projection:D}=this.visualElement;if(D&&D.layout){const O=D.layout.layoutBox[R];O&&(N=Et(O)*(parseFloat(N)/100))}}this.originPoint[R]=N}),T&&Ve.update(()=>T(v,b),!1,!0),lh(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},m=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b;const{dragPropagation:E,dragDirectionLock:A,onDirectionLock:T,onDrag:j}=this.getProps();if(!E&&!this.openDragLock)return;const{offset:R}=b;if(A&&this.currentDirection===null){this.currentDirection=N6(R),this.currentDirection!==null&&T&&T(this.currentDirection);return}this.updateAxis("x",b.point,R),this.updateAxis("y",b.point,R),this.visualElement.render(),j&&Ve.update(()=>j(v,b),!1,!0)},g=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b,this.stop(v,b),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new NS(i,{onSessionStart:u,onStart:f,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:CS(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&&Ve.postRender(()=>m(r,l))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,s,r){const{drag:l}=this.getProps();if(!r||!wl(i,l,this.currentDirection))return;const u=this.getAxisMotionValue(i);let f=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(f=x6(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&&is(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=b6(r.layoutBox,i):this.constraints=!1,this.elastic=T6(s),l!==this.constraints&&!is(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&bn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=E6(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!is(i))return!1;const r=i.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=O3(r,l.root,this.visualElement.getTransformPagePoint());let f=w6(l.layout.layoutBox,u);if(s){const m=s(D3(f));this.hasMutatedConstraints=!!m,m&&(f=Z2(m))}return f}startAnimation(i){const{drag:s,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=bn(y=>{if(!wl(y,s,this.currentDirection))return;let v=g&&g[y]||{};(f===!0||f===y)&&(v={min:0,max:0});const b=l?200:1e6,E=l?40:1e7,A={type:"inertia",velocity:r?i[y]:0,bounceStiffness:b,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,A)});return Promise.all(p).then(m)}startAxisValueAnimation(i,s){const r=this.getAxisMotionValue(i);return lh(this.visualElement,i),r.start(fm(i,r,0,s,this.visualElement,!1))}stopAnimation(){bn(i=>this.getAxisMotionValue(i).stop())}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){bn(s=>{const{drag:r}=this.getProps();if(!wl(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],g=u.get()||0;
vendor: 6,354 bytes, line 54
54u.set(i[s]-Ue(f,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!is(s)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};bn(f=>{const m=this.getAxisMotionValue(f);if(m&&this.constraints!==!1){const g=m.get();l[f]=S6({min:g,max:g},this.constraints[f])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),bn(f=>{if(!wl(f,i,null))return;const m=this.getAxisMotionValue(f),{min:g,max:p}=this.constraints[f];m.set(Ue(g,p,l[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;A6.set(this.visualElement,this);const i=this.visualElement.current,s=Dr(i,"pointerdown",p=>{const{drag:y,dragListener:v=!0}=this.getProps(),b=p.target,E=b!==i&&d3(b);y&&v&&!E&&this.start(p)});let r;const l=()=>{const{dragConstraints:p}=this.getProps();is(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),r||(r=C6(i,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,f=u.addEventListener("measure",l);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Ve.read(l);const m=zr(window,"resize",()=>this.scalePositionWithinConstraints()),g=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:y})=>{this.isDragging&&y&&(bn(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=p[v].translate,b.set(b.get()+p[v].translate))}),this.visualElement.render())}));return()=>{m(),s(),f(),g&&g(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:f=gh,dragMomentum:m=!0}=i;return{...i,drag:s,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:m}}}function X0(e){let i=!0;return()=>{if(i){i=!1;return}e()}}function C6(e,i,s){const r=n0(e,X0(s)),l=n0(i,X0(s));return()=>{r(),l()}}function wl(e,i,s){return(i===!0||i===e)&&(s===null||s===e)}function N6(e,i=10){let s=null;return Math.abs(e.y)>i?s="y":Math.abs(e.x)>i&&(s="x"),s}class R6 extends Li{constructor(i){super(i),this.removeGroupControls=Jt,this.removeListeners=Jt,this.controls=new j6(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Jt}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(),this.controls.isDragging||this.controls.endPanSession()}}const Df=e=>(i,s)=>{e&&Ve.update(()=>e(i,s),!1,!0)};class D6 extends Li{constructor(){super(...arguments),this.removePointerDownListener=Jt}onPointerDown(i){this.session=new NS(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:CS(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Df(i),onStart:Df(s),onMove:Df(r),onEnd:(u,f)=>{delete this.session,l&&Ve.postRender(()=>l(u,f))}}}mount(){this.removePointerDownListener=Dr(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 Mf=!1;class M6 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),Mf&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Pl.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:r,drag:l,isPresent:u}=this.props,{projection:f}=r;return f&&(f.isPresent=u,i.layoutDependency!==s&&f.setOptions({...f.options,layoutDependency:s}),Mf=!0,l||i.layoutDependency!==s||s===void 0||i.isPresent!==u?f.willUpdate():this.safeToRemove(),i.isPresent!==u&&(u?f.promote():f.relegate()||Ve.postRender(()=>{const m=f.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:s}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=s,r.root.didUpdate(),gm.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:l}=i;Mf=!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 DS(e){const[i,s]=z4(),r=w.useContext(Iw);return c.jsx(M6,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(AS),isPresent:i,safeToRemove:s})}const k6={pan:{Feature:D6},drag:{Feature:R6,ProjectionNode:yS,MeasureLayout:DS}};function K0(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&&Ve.postRender(()=>u(i,Ir(i)))}class O6 extends Li{mount(){const{current:i}=this.node;i&&(this.unmount=o3(i,(s,r)=>(K0(this.node,r,"Start"),l=>K0(this.node,l,"End"))))}unmount(){}}class _6 extends Li{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=qr(zr(this.node.current,"focus",()=>this.onFocus()),zr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Q0(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&&Ve.postRender(()=>u(i,Ir(i)))}class P6 extends Li{mount(){const{current:i}=this.node;if(!i)return;
54const{globalTapTarget:s,propagate:r}=this.node.props;this.unmount=h3(i,(l,u)=>(Q0(this.node,u,"Start"),(f,{success:m})=>Q0(this.node,f,m?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:r?.tap===!1})}unmount(){}}const yh=new WeakMap,kf=new WeakMap,L6=e=>{const i=yh.get(e.target);i&&i(e)},V6=e=>{e.forEach(L6)};function z6({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(V6,{root:e,...i})),r[l]}function B6(e,i,s){const r=z6(i);return yh.set(e,s),r.observe(e),()=>{yh.delete(e),r.unobserve(e)}}const U6={some:0,all:1};class H6 extends Li{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();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:U6[l]},m=g=>{const{isIntersecting:p}=g;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),b=p?y:v;b&&b(g)};this.stopObserver=B6(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(q6(i,s))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function q6({viewport:e={}},{viewport:i={}}={}){return s=>e[s]!==i[s]}const F6={inView:{Feature:H6},tap:{Feature:P6},focus:{Feature:_6},hover:{Feature:O6}},G6={layout:{ProjectionNode:yS,MeasureLayout:DS}},I6={...m6,...F6,...k6,...G6},st=c6(I6,u6);function MS(){!wm.current&&X2();const[e]=w.useState(Jl.current);return e}const Y6="/assets/LIGHT_BLUE_-_LOGO_1777734454403-CQ9VY4Ss.png",X6="/assets/NAVY_BLUE_-_LOGO_1764700471703-BoF_fRv_.png";function K6(){return c.jsx("footer",{className:"relative text-primary-foreground",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 md:px-8 py-16",children:[c.jsxs("div",{className:"flex flex-col items-center text-center",children:[c.jsx("a",{href:"/",className:"inline-block","data-testid":"link-footer-logo",children:c.jsx("img",{src:X6,alt:"Brixely",className:"h-20 md:h-24 w-auto brightness-0 invert"})}),c.jsx("p",{className:"mt-4 text-primary-foreground/70 text-sm max-w-md",children:"Brixely is an AI diligence workspace for commercial real estate investment teams, built to organize data rooms, apply the firmâs lens, and support faster, source-backed investment decisions."}),c.jsxs("a",{href:"https://cal.com/brixely/demo?duration=30&overlayCalendar=true",target:"_blank",rel:"noopener noreferrer",className:"mt-8 px-8 py-3 rounded-lg bg-white text-primary font-semibold transition duration-200 hover:bg-gradient-to-r hover:from-indigo-500 hover:to-purple-500 hover:text-white flex items-center gap-2","data-testid":"button-footer-book-demo",children:["Book a demo",c.jsx(Ri,{className:"h-4 w-4"})]}),c.jsxs("div",{className:"mt-8 flex items-center gap-6",children:[c.jsx("a",{href:"https://linkedin.com/company/brixely/",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-lg bg-primary-foreground/10 flex items-center justify-center hover:bg-primary-foreground/20 transition-colors","data-testid":"link-linkedin",children:c.jsx(yN,{className:"h-5 w-5"})}),c.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors","data-testid":"link-email",children:[c.jsx(kh,{className:"h-4 w-4"}),"[email protected]"]})]})]}),c.jsxs("div",{className:"mt-12 pt-8 border-t border-primary-foreground/10 flex flex-col md:flex-row items-center justify-between gap-4",children:[c.jsxs("div",{className:"text-sm text-primary-foreground/60 text-center md:text-left",children:[c.jsxs("p",{children:["© ",new Date().getFullYear()," Brixely. All rights reserved."]}),c.jsx("p",{className:"mt-1",children:"28 Geary St, Suite 650 San Francisco, CA 94108"})]}),c.jsxs("div",{className:"flex items-center gap-6",children:[c.jsx("a",{href:"https://docs.google.com/document/u/1/d/1xnBYLKovx_kuxWWWQcY-5fMgpv2ywQq-YP9G5hnI-Vc/pub?pli=1",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-primary-foreground
54/60 hover:text-primary-foreground transition-colors py-2","data-testid":"link-privacy",children:"Privacy Policy"}),c.jsx("a",{href:"https://docs.google.com/document/u/1/d/1Rw14OpBjab9uya3kg8ucmZESs59CLfS4BYJUMGmJzdM/pub",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-primary-foreground/60 hover:text-primary-foreground transition-colors py-2","data-testid":"link-terms",children:"Terms of Service"})]})]})]})})}const Q6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfUAAADZCAMAAAAOj1naAAAAeFBMVEVMaXEAAAD///92uQAAAAAaGhoEBAQAAAAkJCQAAAC/v79/f38/Pz+Yyj8PDw+fn5/v7+/f39/Pz89+vQ/d7b8vLy8fHx9fX1/2+++vr6/l8s9PT0+Pj4/L5Z+p019vb2+63H+Hwh/u9t+Pxi+gz0+y12/U6a/D4I9gKXTeAAAACnRSTlMA////IOj0gOBAUQn50QAAAAlwSFlzAAALEgAACxIB0t1+/AAADt9JREFUeJztnWl7qroahjesc87eGxAQRRyoU6v9///wXGR8AxGxStTmub+srjDZ3mR+E/8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4O34OwDvzb8/eOVg/d2BdR+BdR/5qfX/RuA9Ce6w/k8I3hNY9xFY9xFY9xFY9xFY9xFY9xFY9xFY9xFY9xFY9xGfre+S7AU+xTPw2XoSxC/wKZ4BrPsIrPsIrPsIrPsIrPsIrPsIrPsIrPsIrPsIrPsIrPsIrPvIK1hfT+7jBOs38grW53/uY/LD58I6rPsErPsIrMM6rPsBrPsIrMM6rPvB063Pz/vtdr/f70+TyQzW3fBM68eP7SfTplKW8/3X7eph/VaeZn19+lTazCPz0wHWx+U51pffhtjO8fkW1sfkGdY7Ti3nHPfDS3pYvxX31ucT09mnmG/b7s9ret5ysHdYvxXX1g3nh+3H2ui5zbYf5NzlwHIe1m/FrXXq/HCSWdvor8+2R33++tMiGdbvxqV1mne/5jq9PUozIcf2sD4CDq1/63qa5mfb2Bw5PiC7v731XZIkO5cPdGZ9rQv3ydo8ZBmRnX2ro9dr99GsN38cFy9GEgRB4uA5ClfWdUk9OxsHlvPv7YmPyBpt9onO7h+/0HqSJEmhP8ivtH7UGf1rSdLPfIBO/ndNB2/I27Hu78O9o/Xm1pH+IL/R+llb0yV3eDzJZHIqbeXrc9e9Y7Rvbz2L49jpFjkurJ90/tWt8/mX1macPdeGtypx2deme3vrzhnfOhE2U8244xfV1rpCvyXDtMP6T54+qnVSJ3+qKt3ohU9m86V5ja4RBmkf33oUx/E0nO6SNEgqKqvYJWWwSOqpSsnrJAlSfZa6dBEk1YolNQV6c+sqjtlBdo4u7qvmKZssb98gVTe4m7Gtf2jpB+mWdMEnH0fWczucjB782qb9Yt0+vvVGUlSk4juBEikk38hvCUpltVzLk4KEvwns0lomloVovGnEOeKjRAt1S2H4wrPvYmTrpNOlinf9IohBON5f39PrtPa9Je0p1rXPoOSHpymRV7OkiqSkU3npxkw0rKeG9YweqsLLz76Pca0fiRspXZfuso0+b2drY+RGD+lcGp11Y50pSnhW5Dm75BqExKaI5nk6iXfsUGK7tGxZT6j1QpyacMsr2w3qH/627V9sxLyuS2W5BFGNtOmmnTRMtOt8/anSLg7WuLLOiudaZbhaleOrlOfMvPm3ZFk8ky8HuTQq9RsT0Nacsl6qJ2bNrdLc8uzFD3/b9i82ovVvpeYgUrrSdb5W06y6Epipht76knRX1ktepbKfmx8XurwtgmQlVKeiYcdK9tal+UIkXrAe6bdC/2x99p2MbH2p62LRVZddNrL8WFmfiSadflf0u9EzPufIutA5FcKmVBw/VqnKmB9OW5fyEkDdumN9R+vtir42rWffy8jWSV0syu+z9KnP0XX4F/s/mW5Rub9vUNaN9QVNjXhmTNs3FHWxPE1cqkwya0V4yXpCxwcy8Uzbs+9lbOsks4uMLKt6HTVD5tzmZsd8kHRH1hOaGvFKNumeb9C+VFu7aF29NVFgucGbWO9mdtkoO6hTiPWDMeQ+TPqTrMfjWFeJb22dDK5cyux0fn1L/OrGXZ9zWL+d0a0TZV9mgmqeX1jnZpduibF4jvWsaz21OLnVuuqOv7f1UM+dzs0E2T+3Wp8p6dTzbE3n6p9qXVoxbqg6XoqYNvoK1R63Wm/G8FQkVS2agW9qXXe0xYjLUZbiQqzNuuqyLankT5Y6b43IP8d6TjrXYcE60ZXqjmtiOp6mXwGr9VqOzIRixKZ6X+ukQScG1T9MtRbrEzVTQw2rOJwPM9jqh7/7fdaZlgV3FAVpI3ZFpBQpvzkfWuPBUiyr8w79gnbSpPWpPs7H4VZvbD3UfTGRg2WhzbV3raspl2+qlwzsGAtjnmSdOU6zaRjtUpHJF2r6rRmkXRTKehpHYcF/5NLYhExZR1GUkxFZNnnTDPNF/PjFZ9+JE+uqSFezrfI9YLV3Jx5ele409qIVZUniMp5kPSRTafRFCIKFmC7V1jWi3s7odcp6TmfxgrS4/Oz7cGK9247XQzGnZcv6QTXjzjSjf67bN53Lw8+yntPJM17D05lSnunZ2FypEktZbas5WWo9LBbkel4tvK91EhQlCm/dSJvtz1Sucm4GWZ2W3Ztun2w9DGspKVGhM+pNSKg04TglD4wXFuthvpPZvSLTOG9qnXTfpFbSIRNbVswm3yqixlzR2irdGUdVXDxz7UtUx3FcFyRl2gRIxZmccBHSiua8lTldNo0iXq8b5Ku4e+qDcWWdjK5L7boAZ4shaAm+NFpxZgy9gJzx0iueLEN4z8eVdZt2tZapfaq5ct2W0de0Fw/rt+LMOmnI6+UNRz7sbpx3bo25Wmr01tI3WL8Vd9ZpaOxWmVx+bGfa+vy7vQVVeyWkbRMLWL8Vh9ZpIW/0w85/DmyPkm7oM13JLm/S3bgE1m/FpXVj1GWvC+5Le0tanB+3lpl2WL8Vp9aN4OaDdX5dMdt2y/bzl+3M17bedM+KAec5xbF1PaDWeP/m+d1i/euj04Y77i8tfsEOJbfi2ro5tv7nS6x4onyezh3ly4/OrDqs/xzn1jvT44fJViTMJpP9d7cuD5cf9pJ9dOuxJpr2n/pePMF6a/7Uvrek4vjdr3zscXjF4hFLjV6Ep1i/uo+sPO08aCNhN9bFqqNfwXOst9rjtuPH82nQFoMOrevopnfnadZZdT2zWj+e91+3bBY+qvWKTYzVfKq0HRT3rjzResP64zQ5/BF7Vazn8/3+q6ex/gzr8pQpi4z4JW26J1tnvOz3vlDrPNTR3qJrRmLa70MRRVfCH9j0eie1IIM6lts+BljvwbAuw1oztj9gplYi5iIoJq3I5jRxKuNh5Gahza6hYRiXIhhGxcxsZExtkiRZmC14yE0ehjmvVBZjbEkG6z2Y1oVntk8MNxKbkW5qcxq1i0yQFnIYvrk6L2XM1IqERfLyo1lUEauwuzLX96j6P+RPgPUeLloXYXAxFRyokEm6X01Kre8CYb0wugZsGWtjXQdVBhsSNvn43A7rPZjWA209kNbZ7hPBIl7FPEqyCOUeU+kuqyuuX1kPpPWSnRBFEXsP2Or0SGTyXa2iZ5Oa3/URe5KYwHoPQXuBSpMtxbKGWgWr0+2jNrLZxyOgp2XLesmjKJtIWp6Da/muRLo0z0gWr9S79EhgvQdifcr+/GrLERGrHi5IJ54JFCtZ5HhOYVpX0fDhSu5OkAq/UaAn4vWmROZquocB6z2w4rXZ01ts+sUaXjLPh9KJyoniQEJbYBvDuqUfJvsCEbkt3XTI2LXkUbyC9Wdx84hsJZXIpcnmamYhqKS5M6bWzZiaPFrFFdtZLm7disbfwPqDudG62OKTKomMtpYQFND1KStqnTwuo4vkYN0ht1hPKpl929Z1BrZZj6zW89J4n2DdIT/bKfxqXl+0NyToWufSF8kuZvtNwrpDHmO9U68bniqbddY1i3N6Eay74n7rRhs+F0V7RQqAPLVZp3tILmDdLfdbZ0X1hhxo+lsrclkV2KwneveCCPW6Yx5gvVYdOl5ssx9Z535ThGHBG+od65Uax8lLWHfMA6yHYhw+ZlOoYsPoVaub37HO9xhfRZGYboV1hzzCum3Oje5TUtqs0+1nUK875hHWjfl1tfPvSiSmmb3npl+Lzer3WI9a6PHnqThARqRznVTog7lxB3PWSd7ElnZD0NFV6wmLb2mRtb9KNxO975hG0MptRpTAnXEvUeOXmYih4bE00jR9xM72Ge5lHOtB
54h6TmfxP5lpNoU1kNrtQkdKznm3VJqL/rSk1x00fqEc7BgayPW/FUXIyRs203ee2a8XFlXe6/lMv/mX8YkdJjne7gZLE+JecNzezjrXPLVdm0GKOAvht31sV3kck8qV900bSprlo3v/7EtF6Ts4b+lUezHqVy/n2coIi7cWmdiZVFvKoaZQzZaoB1MaJlsU7CzAZHHI1lPZbxUSyQ9vX2LHBsXW21TL8LRYQQsiL/qnW96Z9p3Tx74PdajmW9Nj5M+oKr49xaT0gRL2tfMenIRrUs1pu28I5MTE6t1mXQKv9nYHtutBJ+9+LSx7Uu/qiR/ivkuogX3RHZDGP502JdnKUCR2ObdVGAlLIgGdaeG681F8lXO61eckGkC+tkBGulNYsMWVODF63rl6W0Wa/li7RpPbiXUfeqsAwzvA5urCtPsS7SRd9tQ9+BHuuqZsgt1hfykNyqe9DfFzuUjGw9Jykyd0f0VF7e91mP9GVt6+JQpbuBg9pzsD6ydZkbE1KTs76bHJjTgSWXrJP3o2290qorWnRcAdbHtp5o67KIZ30301KvdX2wZT0nxbrs/Q9pz8H62NY3xHpNzCxoAf9D6xkpO+QNh/iE9bGtx8S6LOIznTXJQo/brZc0e8ck418B1l1al5o2KllWw0Pq9Y71glQYrf5/P7Du1LoehC2NAr7XOhmvN61X1nsMaM/BulPrUmAkM6YcwOqzLkfn2j03GY5UJgldiDigPQfrTq3LJtcuM1IHjc0F7bE5+mValOtGYd2tdVHEl6Jlr3Z2umxd7RCxaVs3l4xprrfnYN2tdXNfFl0YW6xHUbPgVweVZi3rrVsRrrbnYN2tdSMIQk+1D5hfZ4sHqHVR3S8SDSkVeoF1x9bpDDTZuu+69VXYsm4ZeCfzNL3AumPrhlPd2r5qPaM3C3RbzqjEZfvu2tbesO7YekhWf+gC/pr1dGXcLNBXGAHqcoLvWnsO1l1br7RLkiV7rScqIF5blx1+M3yhG4drBdYfa727CmXaWsOil6rQr6e9uPbF/BJbvfYlVz+FluNXBmpg/bHW3wNYh3WfgHUfgXUfgXUfgXUfgXUfgXUfgXUfgXUfgXUfgXUfgXUf8dl68bu+Sv8GfLbuL7DuI7DuI7DuI7DuI7DuI7DuI7DuI7DuI7DuI7DuI/dY/98/4D25xzp4Z2DdR2DdR35i/d+/wXvznx9YBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeBn++uuv/wN/Hw1m+mVGPAAAAABJRU5ErkJggg==",Z6="/assets/Techstars_Logo_Primary_Black_1765071367977-I3IAjcEz.png",W6="/assets/partner_a-CfY2bg27.png",$6="/assets/partner_b-CQ_gs9AE.svg",J6="/assets/partner_c-dlPaqd50.svg",e8="/assets/partner_d-F5crKY4o.png",t8=[{name:"Partner",logo:W6},{name:"Partner",logo:$6},{name:"Partner",logo:J6},{name:"Partner",logo:e8}],n8=[{name:"Techstars",logo:Z6},{name:"NVIDIA Inception Program",logo:Q6}];function Z0({bgClassName:e="bg-muted/50 border-y",showTagline:i=!0,group:s="both"}={}){const r=s==="both"||s==="partners",l=s==="both"||s==="backers";return c.jsx("section",{className:`py-12 ${e}`,children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 md:px-8",children:c.jsxs("div",{className:"text-center",children:[i&&r&&c.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:"Trusted by modern real estate investors, operators, and lenders"}),r&&c.jsx("div",{className:"flex flex-wrap items-center justify-center gap-6 sm:gap-10 md:gap-14",children:t8.map((u,f)=>c.jsx("div",{className:"h-8 sm:h-10 flex items-center justify-center opacity-70","data-testid":`logo-partner-${f}`,children:c.jsx("img",{src:u.logo,alt:"Partner",className:`h-full w-auto max-w-[120px] sm:max-w-[140px] object-contain ${f===0?"brightness-0":""}`})},f))}),l&&c.jsxs("div",{className:r?"mt-10 pt-8 border-t border-border/50":"",children:[i&&r&&c.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Backed by"}),c.jsx("div",{className:"flex flex-wrap items-center justify-center gap-8 sm:gap-12",children:n8.map(u=>c.jsx("div",{className:"h-12 sm:h-14 flex items-center justify-center","data-testid":`logo-backer-${u.name.toLowerCase().replace(/\s+/g,"-")}`,children:c.jsx("img",{src:u.logo,alt:u.name,className:"h-full w-auto max-w-[180px] sm:max-w-[220px] object-contain"})},u.name))})]})]})})})}const i8=({className:e})=>{const i=MS(),s=["M-380 -189C-380 -189 -312 216 152 343C616 470 684 875 684 875","M-373 -197C-373 -197 -305 208 159 335C623 462 691 867 691 867","M-366 -205C-366 -205 -298 200 166 327C630 454 698 859 698 859","M-359 -213C-359 -213 -291 192 173 319C637 446 705 851 705 851","M-352 -221C-352 -221 -284 184 180 311C644 438 712 843 712 843","M-345 -229C-345 -229 -277 176 187 303C651 430 719 835 719 835","M-338 -237C-338 -237 -270 168 194 295C658 422 726 827 726 827","M-331 -245C-331 -245 -263 160 201 287C665 414 733 819 733 819","M-324 -253C-324 -253 -256 152 208 279C672 406 740 811 740 811","M-317 -261C-317 -261 -249 144 215 271C679 398 747 803 747 803","M-310 -269C-310 -269 -242 136 222 263C686 390 754 795 754 795","M-303 -277C-303 -277 -235 128 229 255C693 382 761 787 761 787","M-296 -285C-296 -285 -228 120 236 247C700 374 768 779 768 779"],r=["M1076 -189C1076 -189 1008 -100 850 50C692 200 750 875 750 875","M1069 -197C1069 -197 1001 -108 843 42C685 192 743 867 743 867","M1062 -205C1062 -205 994 -116 836 34C678 184 736 859 736 859","M1055 -213C1055 -213 987 -124 829 26C671 176 729 851 729 851","M1048 -221C1048 -221 980
54-132 822 18C664 168 722 843 722 843","M1041 -229C1041 -229 973 -140 815 10C657 160 715 835 715 835","M1034 -237C1034 -237 966 -148 808 2C650 152 708 827 708 827","M1027 -245C1027 -245 959 -156 801 -6C643 144 701 819 701 819","M1020 -253C1020 -253 952 -164 794 -14C636 136 694 811 694 811","M1013 -261C1013 -261 945 -172 787 -22C629 128 687 803 687 803","M1006 -269C1006 -269 938 -180 780 -30C622 120 680 795 680 795","M999 -277C999 -277 931 -188 773 -38C615 112 673 787 673 787","M992 -285C992 -285 924 -196 766 -46C608 104 666 779 666 779"],l=[...s,...r];return c.jsx("div",{className:Ie("absolute h-full w-full inset-0 [mask-image:radial-gradient(ellipse_at_center,transparent_20%,black)]",e),children:c.jsxs("svg",{className:"z-0 h-full w-full pointer-events-none absolute",width:"100%",height:"100%",viewBox:"0 0 696 316",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.map((u,f)=>c.jsx(st.path,{d:u,stroke:`url(#linearGradient-${f})`,strokeOpacity:"0.4",strokeWidth:"0.5",strokeLinecap:"round",initial:{pathLength:i?1:0},animate:{pathLength:1},style:{opacity:1},transition:i?{duration:0}:{pathLength:{duration:5+f*.3,ease:"easeInOut",repeat:1/0,repeatType:"loop",repeatDelay:1}}},`path-${f}`)),c.jsx("defs",{children:l.map((u,f)=>c.jsxs("linearGradient",{id:`linearGradient-${f}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[c.jsx("stop",{offset:"0%",stopColor:"#18CCFC",stopOpacity:"0"}),c.jsx("stop",{offset:"50%",stopColor:"#18CCFC",stopOpacity:"1"}),c.jsx("stop",{offset:"100%",stopColor:"#6344F5",stopOpacity:"0"})]},`gradient-${f}`))})]})})},kS="/assets/badge_a-CAMfuxDg.png",OS="/assets/badge_b-BbW9v4Ub.png",_S="/assets/badge_c-BehW9_i_.png",PS="/assets/badge_d-Nu4qpaxY.png",te="#C9A84C",Ge="#07101E",Rn="#0E1B30",sc="https://cal.com/brixely/demo?duration=30&overlayCalendar=true",a8="https://docsend.com/view/jce99ek67ntyajw5",W0={primary:{label:"Book a demo",href:sc},secondary:{label:"Read the resume",href:"#intake"},tertiary:{label:"Book intro",href:sc}},s8={primary:{label:"Book a demo",href:sc},secondary:{label:"See a walkthrough",href:"#intake"},tertiary:{label:"Talk to us",href:sc}};function LS(){const[e,i]=w.useState(W0);return w.useEffect(()=>{if(typeof window>"u")return;const s=new URLSearchParams(window.location.search).get("cta");i(s==="conventional"?s8:W0)},[]),e}const Of=[{word:"Memo",kicker:"The output",desc:"The investment narrative your IC actually reads â every claim trails back to its source.",hash:"memo",testId:"link-nav-platform-memo"},{word:"Diligence",kicker:"The reasoning",desc:"Asset-aware questions that surface the risks generalist tools miss.",hash:"diligence",testId:"link-nav-platform-diligence"},{word:"Workspace",kicker:"The surface",desc:"Where the deal team, the documents, and the AI think together in one room.",hash:"workspace",testId:"link-nav-platform-workspace"},{word:"Inputs",kicker:"The memory",desc:"Your data room, your firm's playbook, every prior deal â the context Brixely reasons from.",hash:"inputs",testId:"link-nav-platform-inputs"}],r8=["memo","diligence","workspace","inputs","trust","customers"],vh=64;function la(e){const s=document.querySelector(`[data-testid="layer-bridge-${e}"]`)??document.getElementById(e);if(!s)return!1;const r=s.getBoundingClientRect().top+window.pageYOffset-vh;return window.scrollTo({top:r,behavior:"smooth"}),window.history.replaceState&&window.history.replaceState(null,"",`#${e}`),!0}function o8(){const e=LS(),[i,s]=w.useState(!1),[r,l]=w.useState(!1),[u,f]=w.useState(null),m=w.useRef(null),g=w.useRef(null),p=w.useRef(null),y=w.useRef(null),v=()=>{m.current&&clearTimeout(m.current),s(!0)},b=()=>{m.current=setTimeout(()=>s(!1),150)},E=()=>{m.current&&clearTimeout(m.current),s(!1)},A=w.useCallback(N=>D=>{la(N)&&D.preventDefault(),s(!1),l(!1)},[]);w.useEffect(()=>{if(!r)return;const N=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=N}},[r]),w.useEffect(()=>{if(!r)return;const N=D=>{D.key==="Escape"&&l(!1)};return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[r]),w.useEffect(()=>{if(!r)return;const N=D=>{const O=y.current;O&&!O.contains(D.target)&&l(!1)};return document.addEventListener("pointerdown",N),()=>document.removeEventListener("pointerdown",N)},[r]),w.useEffect(()=>{if(!i)return;const N=_=>{_.key==="Escape"&&(E(),p.current?.focus())},D=_=>{const q=g.current;q&&!q.contains(_.target)&&E()},O=_=>{const q=g.current;q&&!q.contains(_.target)&&E()};return window.addEventListener("keydown",N),document.addEventListener("mousedown",D),document.addEventListener("focusin",O),()=>{window.removeEventListener("keydown",N),document.removeEventListener("mousedown",D),document.removeEventListener("focusin",O)}},[i]),w.useEffect(()=>{const N=r8.map(_=>document.getElementById(_)).filter(_=>!!_);if(N.length===0)return;const D=new Map,O=new IntersectionObserver(_=>{for(const B of _)D.set(B.target.id,B.intersectionRatio);let q=null,X=0;D.forEach((B,W)=>{B>X&&(X=B,q=W)}),f(X>.15?q:null)},{rootMargin:"-72px 0px -55% 0px",threshold:[0,.15,.3,.5,.75,1]});
54return N.forEach(_=>O.observe(_)),()=>O.disconnect()},[]);const T=u?Of.some(N=>N.hash===u):!1,j="flex items-center gap-1 text-sm font-medium transition-colors",R="text-sm font-medium transition-colors";return c.jsxs("header",{ref:y,className:"fixed top-0 left-0 right-0 z-50 backdrop-blur-md border-b border-white/[0.06]",style:{background:"rgba(7, 16, 30, 0.85)"},"data-testid":"nav-header",children:[c.jsx("div",{className:"max-w-7xl mx-auto px-4 md:px-8",children:c.jsxs("div",{className:"flex items-center justify-between h-16",children:[c.jsx("a",{href:"/",className:"flex items-center","data-testid":"link-nav-brand","aria-label":"Brixely",children:c.jsx("img",{src:Y6,alt:"Brixely",className:"h-16 w-auto select-none",draggable:!1})}),c.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[c.jsxs("div",{className:"relative",ref:g,onMouseEnter:v,onMouseLeave:b,children:[c.jsxs("button",{ref:p,className:j,style:{color:T||i?"#FFFFFF":"rgba(255,255,255,0.7)"},"data-testid":"link-nav-platform","aria-haspopup":"true","aria-expanded":i,onClick:()=>s(N=>!N),onKeyDown:N=>{(N.key==="ArrowDown"||N.key==="Enter"||N.key===" ")&&(N.preventDefault(),s(!0))},children:["Platform",c.jsx(Dh,{className:`h-3.5 w-3.5 transition-transform ${i?"rotate-180":""}`})]}),c.jsx("div",{className:`absolute top-full left-1/2 -translate-x-1/2 pt-3 transition-all duration-150 ${i?"opacity-100 visible translate-y-0":"opacity-0 invisible -translate-y-1"}`,onMouseEnter:v,onMouseLeave:b,children:c.jsx("div",{className:"rounded-md shadow-2xl w-[460px] p-2 border border-white/[0.08]",style:{background:Rn},role:"menu","data-testid":"dropdown-platform",children:Of.map(N=>{const D=u===N.hash;return c.jsxs("a",{href:`#${N.hash}`,onClick:A(N.hash),role:"menuitem","data-testid":N.testId,className:"group block rounded-sm px-4 py-3 hover-elevate transition-colors",children:[c.jsx("span",{className:"block text-[10px] font-medium tracking-[0.22em] uppercase",style:{color:te},children:N.kicker}),c.jsxs("div",{className:"mt-1 flex items-center justify-between gap-3",children:[c.jsx("span",{className:"text-[15px] font-medium tracking-tight transition-colors",style:{color:D?te:"rgba(255,255,255,0.95)"},children:N.word}),c.jsx(Ri,{className:"h-3.5 w-3.5 shrink-0 transition-all opacity-0 group-hover:opacity-100 group-hover:translate-x-0.5",style:{color:te}})]}),c.jsx("p",{className:"mt-1 text-[12.5px] text-[#E8E4D9]/85 font-light leading-snug",children:N.desc})]},N.hash)})})})]}),c.jsx("a",{href:"/datacenters",className:R,style:{color:"rgba(255,255,255,0.7)"},"data-testid":"link-nav-data-centers",children:"Data Centers"}),c.jsx("a",{href:"#customers",onClick:A("customers"),className:R,style:{color:u==="customers"||u==="trust"?"#FFFFFF":"rgba(255,255,255,0.7)"},"data-testid":"link-nav-trust-security",children:"Trust and Security"})]}),c.jsxs("div",{className:"hidden md:flex items-center gap-3",children:[c.jsx("a",{href:"https://atriums.brixely.com",target:"_blank",rel:"noopener noreferrer",className:"px-3 py-2 text-sm font-medium text-[#E8E4D9]/95 hover:text-white transition-colors","data-testid":"button-login",children:"Log in"}),c.jsx("a",{href:e.primary.href,target:e.primary.href.startsWith("http")?"_blank":void 0,rel:e.primary.href.startsWith("http")?"noopener noreferrer":void 0,className:"px-4 py-2 rounded-lg text-sm font-medium transition-colors",style:{background:te,color:Ge},onMouseEnter:N=>N.currentTarget.style.background="#D9B85C",onMouseLeave:N=>N.currentTarget.style.background=te,"data-testid":"button-book-demo",children:e.primary.label})]}),c.jsx("button",{type:"button",className:"md:hidden inline-flex items-center justify-center h-10 w-10 rounded-md text-[#E8E4D9]/90 hover-elevate",onClick:()=>l(N=>!N),"aria-label":r?"Close menu":"Open menu","aria-expanded":r,"data-testid":"button-mobile-menu-toggle",children:r?c.jsx(Oh,{className:"h-5 w-5"}):c.jsx(t1,{className:"h-5 w-5"})})]})}),c.jsx("div",{className:`md:hidden overflow-hidden transition-[max-height,opacity] duration-300 ease-out border-t border-white/[0.06] ${r?"max-h-[80vh] opacity-100":"max-h-0 opacity-0"}`,style:{background:Ge},"data-testid":"mobile-menu-panel",children:c.jsxs("nav",{className:"px-4 py-4 space-y-1 max-h-[80vh] overflow-y-auto",children:[c.jsx("p",{className:"px-2 pt-2 pb-1 text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70",children:"Platform"}),Of.map(N=>{const D=u===N.hash;return c.jsxs("a",{href:`#${N.hash}`,onClick:A(N.hash),className:"block rounded-sm px-3 py-3 hover-elevate","data-testid":`${N.testId}-mobile`,children:[c.jsx("span",{className:"block text-[10px] font-medium tracking-[0.22em] uppercase",style:{color:te},children:N.kicker}),c.jsxs("div",{className:"mt-1 flex items-center justify-between gap-3",children:[c.jsx("span",{className:"text-[15px] font-medium tracking-tight",style:{color:D?te:"rgba(255,255,255,0.95)"},children:N.word}),c.jsx(Ri,{className:"h-3.5 w-3.5 text-[#E8E4D9]/70"})]}),c.jsx("p",{className:"mt-1 text-[12.5px] text-[#E8E4D9]/85 font-light leading-snug",children:N.desc})]},N.hash)}),c.jsx("a",{href:"/datacenters",className:"block rounded-sm px-3 py-3 hover-elevate text-[15px] font-medium",style:{color:"rgba(255,255,255,0.95)"},onClick:()=>
54l(!1),"data-testid":"link-nav-data-centers-mobile",children:"Data Centers"}),c.jsx("a",{href:"#customers",onClick:A("customers"),className:"block rounded-sm px-3 py-3 hover-elevate text-[15px] font-medium",style:{color:u==="customers"||u==="trust"?te:"rgba(255,255,255,0.95)"},"data-testid":"link-nav-trust-security-mobile",children:"Trust and Security"}),c.jsxs("div",{className:"pt-3 mt-3 border-t border-white/[0.06] space-y-2",children:[c.jsx("a",{href:"https://atriums.brixely.com",target:"_blank",rel:"noopener noreferrer",className:"block px-3 py-2.5 text-sm font-medium text-[#E8E4D9]/90",onClick:()=>l(!1),"data-testid":"button-login-mobile",children:"Log in"}),c.jsx("a",{href:e.primary.href,target:e.primary.href.startsWith("http")?"_blank":void 0,rel:e.primary.href.startsWith("http")?"noopener noreferrer":void 0,className:"block text-center px-4 py-3 rounded-lg text-sm font-medium",style:{background:te,color:Ge},onClick:()=>l(!1),"data-testid":"button-book-demo-mobile",children:e.primary.label})]})]})})]})}const as=[{id:"industrial",short:"Industrial",asset:"1247 Industrial Pkwy · Phoenix AZ",recommendation:{status:"PROCEED",tail:"to IC · conditional on Day-1 power confirmation",tone:"go"},memo:[{label:"EXEC SUMMARY",spans:["287,000 SF Class B distribution near Sky Harbor. ",{t:"Single-tenant, 7.4 yrs WALT",src:{doc:"Master_Lease_T1.pdf",page:"p. 14 §3.1",excerpt:"Initial Term shall expire on December 31, 2033, with two five-year renewal options at then-fair-market rent.",confidence:"high"}},". ",{t:"Asking $52M / $181 PSF",src:{doc:"OM_PhoenixIndustrial.pdf",page:"p. 2",excerpt:"Asking price: $52,000,000 ($181 / SF). Going-in cap rate of 5.8% on T-12 NOI.",confidence:"high"}},". Going-in cap 5.8% on T-12."]},{label:"BIGGEST RISKS",spans:[{t:"Day-1 MW capacity not confirmed",src:{doc:"APS_WillServe_Draft.eml",page:"Email · Apr 14",excerpt:"Capacity allocation pending substation upgrade timeline. Earliest confirmation Q3 2026.",confidence:"medium"}},". Will-serve letter pending utility coordination. ",{t:"Schedule B-II exception 7: drainage easement crosses planned dock expansion footprint.",src:{doc:"Title_Commitment_FA.pdf",page:"Schedule B-II §7",excerpt:"Easement in favor of Salt River Project for utility access along south boundary. Could materially affect future expansion footprint.",confidence:"high"}}]}],evidence:{coverage:87,cited:44,total:51},thesis:[{criteria:"Asset type fit",match:"strong",note:"Class B distribution · power-anchored"},{criteria:"Investment sizing",match:"strong",note:"$52M asking · within $5â75M band"},{criteria:"Time-to-power",match:"moderate",note:"Day-1 MW pending · 9-mo lead"},{criteria:"Hold period fit",match:"strong",note:"7.4 yr WALT · 18â30 mo exit window"},{criteria:"Exit valuation",match:"moderate",note:"$181 PSF · top of comp band"},{criteria:"Tenant credit",match:"elevated",note:"Tenant rated B+ · below thesis floor"}]},{id:"datacenter",short:"Data Center",asset:"Loudoun BTS · 28 acres · Northern Virginia",recommendation:{status:"HOLD",tail:"pending water permit + fiber-redundancy diligence",tone:"caution"},memo:[{label:"EXEC SUMMARY",spans:["28-acre site, hyperscale build-to-suit. ",{t:"48 MW Day-1 / 96 MW Day-2",src:{doc:"Dominion_CapacityLetter.pdf",page:"p. 3",excerpt:"Dominion Energy confirms 48 MW Day-1 allocation. Day-2 allocation contingent on Brambleton substation expansion completion (Q1 2027).",confidence:"high"}},". ",{t:"Hyperscale tenant LOI executed",src:{doc:"LOI_Tenant_Redacted.pdf",page:"p. 1",excerpt:"Letter of Intent dated March 18, 2026 between Owner and [REDACTED] for 100% of building. Term: 15 years triple-net.",confidence:"high"}},". ATO PUE target ⤠1.25."]},{label:"BIGGEST RISKS",spans:[{t:"Water reuse permit pending FERC review",src:{doc:"VA_DEQ_PermitApp.pdf",page:"p. 12",excerpt:"Application submitted Jan 2026. Standard FERC review window: 9â14 months. No precedent of denial in district.",confidence:"medium"}},". ",{t:"Fiber redundancy single-path to MAE-East",src:{doc:"Fiber_RouteSurvey.pdf",page:"Map 2",excerpt:"Primary route via Lumen / Equinix DC2. Secondary route would require new ROW negotiation with VDOT.",confidence:"high"}},". Special-use rezone hearing Dec 14."]}],evidence:{coverage:64,cited:29,total:45},thesis:[{criteria:"Asset type fit",match:"strong",note:"Hyperscale BTS · target sector"},{criteria:"Power capacity",match:"strong",note:"48 MW Day-1 confirmed"},{criteria:"Tenant credit",match:"moderate",note:"Hyperscale credit · LOI redacted"}
54,{criteria:"Water / cooling",match:"elevated",note:"Permit pending · 9-mo risk"},{criteria:"Fiber redundancy",match:"weak",note:"Single-path · no Day-1 backup"},{criteria:"Entitlements",match:"moderate",note:"Special-use hearing Dec 14"}]},{id:"office",short:"Office",asset:"312 Market St · 28-story Class B retrofit",recommendation:{status:"PASS",tail:"downside scenario fails buybox under base-case lease-up",tone:"stop"},memo:[{label:"EXEC SUMMARY",spans:["382,000 SF, 28-story Class B office. Acquisition + $48M capex repositioning to trophy. ",{t:"In-place occupancy 41%",src:{doc:"RentRoll_Mar2026.xlsx",page:"Tab 1",excerpt:"Occupied: 156,620 SF / 382,000 SF total = 41.0%. WALT on occupied space: 2.8 years.",confidence:"high"}},". ",{t:"Asking $89M / $233 PSF",src:{doc:"OM_312Market.pdf",page:"p. 2",excerpt:"Guidance: $89,000,000. Implied stabilized yield: 7.2% post-capex.",confidence:"high"}},"."]},{label:"BIGGEST RISKS",spans:[{t:"Sublease overhang in submarket: 1.2M SF",src:{doc:"CBRE_SubmarketReport_Q1.pdf",page:"p. 8",excerpt:"Direct + sublease availability in CBD submarket: 1.2M SF (18.4% vacancy). Up 340 bps YoY.",confidence:"high"}},". Two recent comps re-leased at 22% below 2023 rents. ",{t:"TI allowances trending $110+ PSF",src:{doc:"Comps_TIPackage_2025.xlsx",page:"Sheet 1",excerpt:"Avg TI for new 5+ yr leases in submarket: $112 PSF. Up from $78 in 2023.",confidence:"high"}}," â base case lease-up math fails the buybox return floor."]}],evidence:{coverage:71,cited:38,total:53},thesis:[{criteria:"Asset type fit",match:"moderate",note:"Repo play · within strategy"},{criteria:"Investment sizing",match:"strong",note:"$89M · within band"},{criteria:"Lease-up timeline",match:"weak",note:"5+ yr to stabilize · exceeds band"},{criteria:"Submarket fundamentals",match:"weak",note:"Sublease overhang elevated"},{criteria:"Capex requirement",match:"moderate",note:"$48M · 54% of basis"},{criteria:"Downside protection",match:"elevated",note:"Base case fails buybox"}]},{id:"multifamily",short:"Multifamily",asset:"The Maren · 240 units · Atlanta MSA",recommendation:{status:"PROCEED",tail:"to LOI · loss-to-lease premium supports thesis",tone:"go"},memo:[{label:"EXEC SUMMARY",spans:["240-unit garden-style, 1998 vintage. ",{t:"94.2% occupancy · 18-mo trend +1.8%",src:{doc:"OperatingStmts_T18.xlsx",page:"Sheet 2",excerpt:"Trailing 18-mo physical occupancy: 92.4% â 94.2%. Economic occupancy: 91.7%.",confidence:"high"}},". ",{t:"Loss-to-lease 14.2% on in-place rents",src:{doc:"RentComps_2026.xlsx",page:"Sheet 1",excerpt:"Avg in-place rent: $1,612. Avg market rent (comp set): $1,841. Loss-to-lease: 14.2%.",confidence:"high"}},". $32K / unit reno scope."]},{label:"BIGGEST RISKS",spans:[{t:"Insurance loss runs show 3 wind claims past 5 yrs",src:{doc:"LossRuns_2021_2026.pdf",page:"p. 4",excerpt:"Wind/hail claims: $387K (2021), $112K (2023), $241K (2024). All deductibles met by sponsor.",confidence:"high"}},". Underwrite +18% premium. ",{t:"Property tax reassessment risk on close",src:{doc:"Fulton_TaxAssessor_Hist.pdf",page:"p. 2",excerpt:"Last assessment 2022 at $24.1M. Current ask implies reassessment to $58M. Historical mill rate: 2.84%.",confidence:"medium"}}," â model adds +$590K annual."]}],evidence:{coverage:92,cited:49,total:53},thesis:[{criteria:"Asset type fit",match:"strong",note:"Value-add MF · target sector"},{criteria:"Investment sizing",match:"strong",note:"Within band"},{criteria:"Loss-to-lease delta",match:"strong",note:"14.2% · exceeds 10% floor"},{criteria:"Reno scope",match:"moderate",note:"$32K/unit · in band"},{criteria:"Insurance exposure",match:"elevated",note:"Wind belt · 3 claims"},{criteria:"Tax reassessment",match:"moderate",note:"Modeled · downside priced"}
54]}],l8={strong:{color:"#7CB78A",label:"STRONG"},moderate:{color:"#C9A84C",label:"MODERATE"},weak:{color:"#E66B5B",label:"WEAK"},elevated:{color:"#E66B5B",label:"ELEVATED"}},c8={go:{bg:"rgba(124,183,138,0.10)",border:"rgba(124,183,138,0.35)",ring:"#7CB78A"},caution:{bg:"rgba(201,168,76,0.10)",border:"rgba(201,168,76,0.35)",ring:"#C9A84C"},stop:{bg:"rgba(230,107,91,0.10)",border:"rgba(230,107,91,0.35)",ring:"#E66B5B"}};function VS({t:e,src:i,highlighted:s}){const[r,l]=w.useState(!1),u=i.confidence,f=u==="high"?"#7CB78A":u==="medium"?"#C9A84C":"#E66B5B";return c.jsxs(lw,{open:r,onOpenChange:l,openDelay:120,closeDelay:80,children:[c.jsx(cw,{asChild:!0,children:c.jsxs("span",{tabIndex:0,role:"button","aria-label":`Source for: ${e}`,"aria-expanded":r,onClick:m=>{m.preventDefault(),l(!0)},onKeyDown:m=>{m.key==="Enter"||m.key===" "?(m.preventDefault(),l(g=>!g)):m.key==="Escape"&&l(!1)},className:s?"cursor-help inline-flex items-center gap-1.5 px-1.5 py-0.5 rounded-sm bg-[rgba(201,168,76,0.14)] border border-[rgba(201,168,76,0.45)] text-white font-normal underline decoration-dotted decoration-[rgba(201,168,76,0.7)] underline-offset-4 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[rgba(201,168,76,0.7)] transition-colors":"cursor-help underline decoration-dotted underline-offset-4 decoration-white/35 hover:decoration-white/80 focus-visible:decoration-white/80 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-white/30 focus-visible:ring-offset-1 focus-visible:ring-offset-transparent rounded-sm text-white/95 transition-colors","data-testid":`cite-${i.doc}`,children:[e,s?c.jsx("span",{className:"text-[9px] tracking-[0.18em] uppercase font-medium px-1.5 py-0.5 rounded-sm",style:{background:te,color:Ge},"aria-hidden":"true",children:"Source"}):null]})}),c.jsxs(Yh,{align:"start",side:"top",className:"w-80 p-0 border border-white/10 rounded-md shadow-2xl",style:{background:Rn},children:[c.jsxs("div",{className:"px-4 py-3 border-b border-white/[0.06] flex items-center justify-between gap-2",children:[c.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[c.jsx(Ni,{className:"h-3 w-3 shrink-0",style:{color:te}}),c.jsx("span",{className:"text-[11px] tracking-[0.16em] uppercase text-[#E8E4D9]/85 font-light truncate",children:i.doc})]}),c.jsx("span",{className:"text-[10px] tracking-wide text-[#E8E4D9]/70 shrink-0",children:i.page})]}),c.jsx("div",{className:"px-4 py-3.5",children:c.jsxs("p",{className:"text-[12px] text-[#E8E4D9]/90 leading-relaxed font-light italic",children:["â",i.excerpt,"â"]})}),c.jsxs("div",{className:"px-4 py-2.5 border-t border-white/[0.06] flex items-center justify-between gap-2",children:[c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx("div",{className:"h-1.5 w-1.5 rounded-full",style:{background:f}}),c.jsxs("span",{className:"text-[10px] tracking-[0.18em] uppercase text-[#E8E4D9]/60 font-light",children:[u," confidence"]})]}),c.jsx("span",{className:"text-[10px] tracking-[0.16em] uppercase font-light",style:{color:te},children:"Source â"})]})]})]})}function u8({deal:e,highlightDoc:i}){const s=c8[e.recommendation.tone];return c.jsxs("div",{className:"rounded-md border border-white/[0.08] overflow-hidden",style:{background:Rn},"data-testid":`memo-card-${e.id}`,children:[c.jsxs("div",{className:"px-6 py-4 border-b border-white/[0.06] flex items-center justify-between gap-3",children:[c.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[c.jsx(Ni,{className:"h-3.5 w-3.5 shrink-0",style:{color:te}}),c.jsx("span",{className:"text-[11px] tracking-[0.16em] uppercase text-[#E8E4D9]/90 font-light truncate",children:"Investment memo"})]}),c.jsx("span",{className:"text-[10px] tracking-[0.2em] uppercase text-[#E8E4D9]/70 font-light shrink-0 hidden sm:inline",children:"v3 · Apr 21"})]}),c.jsxs("div",{className:"px-6 md:px-8 py-7 space-y-7",children:[c.jsxs("div",{className:"flex items-start gap-3",children:[c.jsx(e1,{className:"h-3.5 w-3.5 mt-1 shrink-0",style:{color:`${te}aa`}}),c.jsxs("div",{className:"min-w-0",children:[c.jsx("p",{className:"text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70",children:"Asset"}),c.jsx("p",{className:"text-[15px] md:text-base text-white/90 font-light mt-1 leading-snug",children:e.asset})]})]}),c.jsxs("div",{className:"rounded-sm border p-4",style:{background:s.bg,borderColor:s.border},children:[c.jsx("p",{className:"text-[10px] tracking-[0.22em] uppercase font-light",style:{color:s.ring},children:"Recommendation"}),c.jsxs("p",{className:"text-[15px] md:text-base text-white font-light mt-1.5 leading-snug",children:[c.jsx("span",{className:"font-medium",style:{color:s.ring},children:e.recommendation.status}),c.jsxs("span",{className:"text-[#E8E4D9]/85",children:[" · ",e.recommendation.tail]})]})]}),e.memo.map(r=>c.jsxs("div",{children:[c.jsx("p",{className:"text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70 mb-3",children:r.label}),c.jsx("p",{className:"text-[14px] md:text-[15px] text-[#E8E4D9]/95 leading-[1.85] font-light",children:r.spans.map((l,u)=>typeof l=="string"?c.jsx("span",{children:l},u):c.jsx(VS,{t:l.t,src:l.src,highlighted:l.src.doc===i},u))})]},r.label)),c.jsxs("div",{className:"pt-5 border-t border-white/[0.06] flex items-center justify-between gap-3",children:[c.jsxs("div",{className:"min-w-0",children:[c.jsx("p",{className:"text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70",children:"Evidence coverage"}),c.jsxs("p",{className:"text-sm text-[#E8E4D9]/85 font-light mt-1",children:[e.evidence.coverage,"% · ",e.evidence.cited," of ",e.evidence.total," claims sourced"]})]}),c.jsx("div",{className:"w-32 md:w-40 h-1 rounded-full bg-white/[0.06] overflow-hidden shrink-0",children:c.jsx("div",{className:"h-full",style:{background:te,width:`${e.evidence.coverage}%`}})})]})]})]})}const $0=[{n:"1",word:"Decision",hash:"memo"},{n:"2",word:"Diligence",hash:"diligence"}
54,{n:"3",word:"Workspace",hash:"workspace"},{n:"4",word:"Inputs",hash:"inputs"},{n:"5",word:"Trust and security",hash:"customers"}],J0=[{n:"5",word:"Trust and security",hash:"customers"},{n:"4",word:"Inputs",hash:"inputs"},{n:"3",word:"Workspace",hash:"workspace"},{n:"2",word:"Diligence",hash:"diligence"},{n:"1",word:"Investment decision",hash:"memo"}];function zS({onSelect:e,idPrefix:i="onion"}){const[s,r]=w.useState(null),l=u=>{e?e(u):la(u)};return c.jsxs("svg",{viewBox:"0 0 560 360",className:"w-full",role:"img","aria-labelledby":`${i}-title ${i}-desc`,children:[c.jsx("title",{id:`${i}-title`,children:"Five nested layers around the IC memo"}),c.jsx("desc",{id:`${i}-desc`,children:"Five concentric rounded rectangles. Layer 1 (the memo) is at the centre, wrapped outward by Layer 2 Diligence, Layer 3 Workspace, Layer 4 Inputs, and Layer 5 Trust and security."}),J0.map((u,f)=>{const m=f*32,g=f===J0.length-1;return c.jsxs("g",{onClick:()=>l(u.hash),onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),l(u.hash))},onMouseEnter:()=>r(u.hash),onMouseLeave:()=>r(p=>p===u.hash?null:p),onFocus:()=>r(u.hash),onBlur:()=>r(p=>p===u.hash?null:p),role:"link",tabIndex:0,"aria-label":`Jump to Layer ${u.n}: ${u.word}`,"data-testid":`onion-layer-${u.hash}`,style:{cursor:"pointer",outline:"none"},children:[c.jsx("rect",{x:10+m,y:10+m,width:540-m*2,height:340-m*2,rx:14,fill:s===u.hash?"rgba(201,168,76,0.08)":"transparent",pointerEvents:"all",stroke:s===u.hash||g?"var(--onion-center)":"var(--onion-stroke)",strokeWidth:s===u.hash?1.8:g?1.6:1,style:{transition:"stroke 0.18s, fill 0.18s"}}),g?c.jsxs(c.Fragment,{children:[c.jsx("text",{x:280,y:166,textAnchor:"middle",fill:"var(--onion-center)",fontSize:11,fontFamily:"Inter, sans-serif",letterSpacing:3.2,children:"L1"}),c.jsx("text",{x:280,y:190,textAnchor:"middle",fill:"rgba(255,255,255,0.95)",fontSize:17,fontFamily:"Inter, sans-serif",fontWeight:300,letterSpacing:.4,children:"Investment decision"}),c.jsx("text",{x:280,y:212,textAnchor:"middle",fill:"rgba(255,255,255,0.5)",fontSize:9.5,fontFamily:"Inter, sans-serif",letterSpacing:1.8,children:"MEMO · EXEC SUMMARY"})]}):c.jsxs("text",{x:24+m,y:28+m,fill:"var(--onion-text)",fontSize:10,fontFamily:"Inter, sans-serif",letterSpacing:2.4,children:["L",u.n," ",u.word.toUpperCase()]})]},u.n)})]})}function d8(){return c.jsxs("section",{className:"relative pt-4 pb-6 md:pt-6 md:pb-8",style:{background:Ge},"data-testid":"section-layer-onion-intro","aria-labelledby":"layer-onion-intro-title",children:[c.jsx("h2",{id:"layer-onion-intro-title",className:"sr-only",children:"Five nested layers around the investment decision, powered by Brixely"}),c.jsx("div",{className:"max-w-5xl mx-auto px-6 md:px-12 text-center",children:c.jsx("div",{className:"mx-auto [--onion-stroke:rgba(255,255,255,0.22)] [--onion-text:rgba(255,255,255,0.55)] [--onion-center:rgba(201,168,76,0.9)]",style:{maxWidth:760},children:c.jsx(zS,{idPrefix:"onion-intro"})})})]})}const Wt=[{n:"1",word:"Investment decision",hash:"memo"},{n:"2",word:"Diligence",hash:"diligence"},{n:"3",word:"Workspace",hash:"workspace"},{n:"4",word:"Inputs",hash:"inputs"},{n:"5",word:"Trust and security",hash:"customers"}];function f8(){const[e,i]=w.useState(0),[s,r]=w.useState(!1),[l,u]=w.useState(!1);w.useEffect(()=>{const b=Wt.map(R=>document.getElementById(R.hash));if(b.every(R=>!R))return;const E=new IntersectionObserver(R=>{const N=R.filter(D=>D.isIntersecting).sort((D,O)=>O.intersectionRatio-D.intersectionRatio)[0];if(N){const D=Wt.findIndex(O=>O.hash===N.target.id);D>=0&&i(D)}},{rootMargin:"-40% 0px -40% 0px",threshold:[0,.25,.5,.75,1]});b.forEach(R=>R&&E.observe(R));const A=document.getElementById("memo"),T=document.getElementById("customers"),j=()=>{if(!A||!T)return;const R=A.getBoundingClientRect().top,N=T.getBoundingClientRect().bottom;r(R<=120&&N>120)};return j(),window.addEventListener("scroll",j,{passive:!0}),window.addEventListener("resize",j),()=>{E.disconnect(),window.removeEventListener("scroll",j),window.removeEventListener("resize",j)}},[]);const f=()=>{const b=vh+24;let E=0;for(let A=0;A<Wt.length;A++){const T=Wt[A].hash,R=document.querySelector(`[data-testid="layer-bridge-${T}"]`)??document.getElementById(T);if(!R)continue;R.getBoundingClientRect().top<=b&&(E=A)}return E},m=()=>{const b=f(),E=Wt[b].hash,T=document.querySelector(`[data-testid="layer-bridge-${E}"]`)??document.getElementById(E);if(T&&T.getBoundingClientRect().top<vh-40){la(E);return}b<=0||la(Wt[b-1].hash)},g=()=>{const b=f();b>=Wt.length-1||la(Wt[b+1].hash)},p=Wt[e],y=e>0?Wt[e-1]:null,v=e<Wt.length-1?Wt[e+1]:null;return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"hidden md:flex fixed left-4 top-1/2 -translate-y-1/2 z-30 flex-col items-center gap-2 select-none transition-opacity duration-300",style:{opacity:s?1:0,pointerEvents:s?"auto":"none"},"aria-hidden":!s,"data-testid":"layer-scroll-nav","aria-label":"Layer navigation",children:[c.jsx("button",{type:"button",onClick:m,disabled:!1,"aria-label":y?`Up to L${y.n} ${y.word}`:"No previous layer","data-testid":"layer-scroll-up",className:"group flex items-center justify-center w-7 h-7 rounded-full border transition-opacity hover-elevate disabled:opacity-20 disabled:cursor-default",style:{borderColor:"rgba(255,255,255,0.18)",background:"rgba(7,16,30,0.55)",backdropFilter:"blur(6px)"}
54,children:c.jsx(iN,{className:"h-3.5 w-3.5",style:{color:"rgba(255,255,255,0.65)"}})}),c.jsxs("button",{type:"button",onClick:()=>u(!0),"aria-label":`Open layer picker. Currently on L${p.n} ${p.word}`,"data-testid":"layer-scroll-dot",className:"group relative flex items-center justify-center w-7 h-7 rounded-full border transition-colors hover-elevate",style:{borderColor:`${te}66`,background:"rgba(7,16,30,0.55)",backdropFilter:"blur(6px)"},children:[c.jsx("span",{className:"block w-1.5 h-1.5 rounded-full",style:{background:te}}),c.jsxs("span",{className:"absolute left-9 top-1/2 -translate-y-1/2 text-[10px] tracking-[0.2em] uppercase font-light whitespace-nowrap pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity",style:{color:"rgba(255,255,255,0.65)"},children:["L",p.n," · ",p.word]})]}),c.jsx("button",{type:"button",onClick:g,disabled:!1,"aria-label":v?`Down to L${v.n} ${v.word}`:"No next layer","data-testid":"layer-scroll-down",className:"group flex items-center justify-center w-7 h-7 rounded-full border transition-opacity hover-elevate disabled:opacity-20 disabled:cursor-default",style:{borderColor:"rgba(255,255,255,0.18)",background:"rgba(7,16,30,0.55)",backdropFilter:"blur(6px)"},children:c.jsx(Dh,{className:"h-3.5 w-3.5",style:{color:"rgba(255,255,255,0.65)"}})})]}),c.jsx(Uw,{open:l,onOpenChange:u,children:c.jsxs(Zh,{className:"max-w-xl border-white/10 text-white",style:{background:Ge},"data-testid":"dialog-layer-picker",children:[c.jsxs(qw,{children:[c.jsx(Yl,{className:"text-white font-extralight tracking-tight",children:"Five layers, one outcome"}),c.jsx(Xl,{className:"text-[#E8E4D9]/85 font-light",children:"Pick a layer to jump to. Each ring is its own section."})]}),c.jsx("div",{className:"mt-2 mx-auto w-full [--onion-stroke:rgba(255,255,255,0.22)] [--onion-text:rgba(255,255,255,0.55)] [--onion-center:rgba(201,168,76,0.9)]",style:{maxWidth:480},children:c.jsx(zS,{idPrefix:"onion-picker",onSelect:b=>{u(!1),setTimeout(()=>la(b),150)}})})]})})]})}function Tr({to:e,caption:i,bg:s=Ge,theme:r="dark"}){const l=$0[e],f=r==="light"?{activeBorder:`${te}cc`,activeBg:"rgba(201,168,76,0.10)",pastBorder:"rgba(10,22,40,0.18)",futureBorder:"rgba(10,22,40,0.10)",activeNum:te,pastNum:"rgba(10,22,40,0.55)",futureNum:"rgba(10,22,40,0.35)",activeWord:"#0A1628",pastWord:"rgba(10,22,40,0.75)",futureWord:"rgba(10,22,40,0.45)",caption:"rgba(10,22,40,0.55)"}:{activeBorder:`${te}99`,activeBg:"rgba(201,168,76,0.08)",pastBorder:"rgba(255,255,255,0.18)",futureBorder:"rgba(255,255,255,0.10)",activeNum:te,pastNum:"rgba(255,255,255,0.45)",futureNum:"rgba(255,255,255,0.30)",activeWord:"#FFFFFF",pastWord:"rgba(255,255,255,0.7)",futureWord:"rgba(255,255,255,0.45)",caption:"rgba(255,255,255,0.45)"};return c.jsx("div",{className:"relative overflow-hidden",style:{background:s},"data-testid":`layer-bridge-${l.hash}`,"aria-hidden":"true",children:c.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 md:px-12 py-10 md:py-14",children:c.jsxs("div",{className:"flex flex-col items-center gap-5 text-center",children:[c.jsx("div",{className:"flex items-stretch justify-center gap-1.5 md:gap-2 w-full max-w-3xl",children:$0.map((m,g)=>{const p=g===e,y=g<e;return c.jsxs("button",{type:"button",onClick:()=>la(m.hash),"data-testid":`bridge-step-${m.hash}`,className:`group relative ${p?"flex-none":"flex-1 min-w-0"} rounded-sm border px-2 md:px-3 py-2.5 md:py-3 text-left transition-colors hover-elevate`,style:{borderColor:p?f.activeBorder:y?f.pastBorder:f.futureBorder,background:p?f.activeBg:"transparent"},children:[c.jsxs("div",{className:"text-[9px] md:text-[10px] tracking-[0.18em] uppercase font-light",style:{color:p?f.activeNum:y?f.pastNum:f.futureNum},children:["L",m.n]}),c.jsx("div",{className:`mt-0.5 text-[11px] md:text-[13px] font-light ${p?"whitespace-nowrap":"truncate hidden md:block"}`,style:{color:p?f.activeWord:y?f.pastWord:f.futureWord},children:m.word})]},m.n)})}),i?c.jsx("p",{className:"text-[12px] md:text-[13px] font-light max-w-md leading-relaxed",style:{color:f.caption},children:i}):null,c.jsx("span",{className:"block w-px h-8",style:{background:`linear-gradient(to bottom, ${te}99, transparent)`}})]})})})}function h8(){const e=MS(),[i,s]=w.useState(0);return w.useEffect(()=>{if(e)return;const r=setInterval(()=>s(l=>l+1),9500);return()=>clearInterval(r)},[e]),c.jsxs("div",{className:"relative w-full min-h-[520px] md:min-
54h-0 md:aspect-[5/4] lg:aspect-[6/5] rounded-md overflow-hidden border border-white/[0.06]",style:{background:Rn},"data-testid":"hero-scene",children:[c.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"linear-gradient(to right, white 1px, transparent 1px), linear-gradient(to bottom, white 1px, transparent 1px)",backgroundSize:"32px 32px"}}),c.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 60% 45% at 50% 100%, rgba(201,168,76,0.08) 0%, transparent 70%)"}}),c.jsxs(st.div,{className:"absolute top-0 left-0 right-0 px-5 py-3 border-b border-white/[0.06] flex items-center gap-2",initial:e?!1:{opacity:0},animate:{opacity:1},transition:{duration:.4},children:[c.jsx(st.div,{className:"h-1.5 w-1.5 rounded-full",style:{background:te},animate:e?{opacity:1}:{opacity:[.4,1,.4]},transition:e?{duration:0}:{duration:2,repeat:1/0}}),c.jsx("span",{className:"text-[10px] tracking-[0.25em] uppercase text-[#E8E4D9]/70 font-light",children:"Brixely · Now reviewing"})]}),c.jsx(st.div,{className:"absolute top-12 left-5 right-5 md:left-6 md:right-6 bg-white/[0.04] border border-white/[0.07] rounded-md p-3.5",initial:e?!1:{opacity:0,y:-16},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6,ease:[.22,1,.36,1]},children:c.jsxs("div",{className:"flex items-start gap-3",children:[c.jsx("div",{className:"h-8 w-8 rounded-sm flex items-center justify-center shrink-0",style:{background:"rgba(201,168,76,0.1)"},children:c.jsx(kh,{className:"h-3.5 w-3.5",style:{color:te}})}),c.jsxs("div",{className:"flex-1 min-w-0",children:[c.jsx("p",{className:"text-[10px] tracking-wide text-[#E8E4D9]/70 uppercase",children:"From [email protected]"}),c.jsx("p",{className:"text-xs text-[#E8E4D9]/90 mt-0.5 truncate font-light",children:"425 Madison Ave · Offering Memorandum"})]}),c.jsx("span",{className:"text-[10px] text-[#E8E4D9]/75 mt-1",children:"9:14 AM"})]})}),c.jsxs(st.div,{className:"absolute top-[112px] left-5 right-5 md:left-6 md:right-6 bg-white/[0.04] border border-white/[0.07] rounded-md p-3.5",initial:e?!1:{opacity:0,y:-8},animate:{opacity:1,y:0},transition:{delay:1,duration:.6,ease:[.22,1,.36,1]},children:[c.jsxs("div",{className:"flex items-center gap-2 mb-2.5",children:[c.jsx(Ni,{className:"h-3 w-3 text-[#E8E4D9]/70"}),c.jsx("span",{className:"text-[10px] tracking-[0.18em] uppercase text-[#E8E4D9]/70 font-light",children:"Property extracted · 11s"})]}),c.jsx("div",{className:"grid grid-cols-3 gap-3",children:[{l:"Asset",v:"Office"},{l:"Size",v:"287k SF"},{l:"Asking",v:"$112M"}].map((r,l)=>c.jsxs(st.div,{initial:e?!1:{opacity:0},animate:{opacity:1},transition:{delay:1.3+l*.12,duration:.4},children:[c.jsx("p",{className:"text-[10px] text-[#E8E4D9]/60 tracking-wide uppercase",children:r.l}),c.jsx("p",{className:"text-base text-white font-light mt-0.5",children:r.v})]},r.l))})]}),c.jsxs(st.div,{className:"absolute top-[212px] left-5 right-[55%] md:left-6 md:right-[55%] bg-white/[0.04] border border-white/[0.07] rounded-md p-3.5",initial:e?!1:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{delay:1.8,duration:.6,ease:[.22,1,.36,1]},children:[c.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[c.jsx(e1,{className:"h-3 w-3",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.15em] uppercase text-[#E8E4D9]/60 font-light",children:"Midtown East"})]}),c.jsxs("div",{className:"h-12 rounded-sm relative overflow-hidden",style:{background:"linear-gradient(135deg, #1a2942 0%, #2a3a55 50%, #1a2942 100%)"},children:[c.jsx(st.div,{className:"absolute h-2 w-2 rounded-full",style:{background:te,top:"40%",left:"55%"},initial:e?!1:{scale:0},animate:{scale:1},transition:{delay:2.2,duration:.4,type:"spring"}}),!e&&c.jsx(st.div,{className:"absolute h-6 w-6 rounded-full border",style:{borderColor:te,top:"calc(40% - 8px)",left:"calc(55% - 8px)"},initial:{scale:0,opacity:0},animate:{scale:[1,2.2],opacity:[.6,0]},transition:{delay:2.3,duration:1.6,repeat:1/0}})]})]}),c.jsxs(st.div,{className:"absolute top-[212px] left-[50%] right-5 md:left-[50%] md:right-6 bg-white/[0.04] border border-white/[0.07] rounded-md p-3.5",initial:e?!1:{opacity:0,y:16}
54,animate:{opacity:1,y:0},transition:{delay:2.4,duration:.6,ease:[.22,1,.36,1]},children:[c.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[c.jsx(UN,{className:"h-3 w-3 text-amber-400/80"}),c.jsx("span",{className:"text-[10px] tracking-[0.15em] uppercase text-[#E8E4D9]/60 font-light",children:"2 Risk flags"})]}),c.jsx("p",{className:"text-[11px] text-[#E8E4D9]/95 leading-relaxed font-light",children:"Title easement could materially affect use. Phase I ESA recommended."})]}),c.jsx(st.div,{className:"absolute bottom-5 left-5 right-5 md:left-6 md:right-6",initial:e?!1:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{delay:3.2,duration:.7,ease:[.22,1,.36,1]},children:c.jsxs("div",{className:"rounded-md p-4 border flex items-center justify-between gap-4",style:{background:"rgba(201,168,76,0.08)",borderColor:"rgba(201,168,76,0.25)"},children:[c.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[c.jsx("div",{className:"h-7 w-7 rounded-full flex items-center justify-center shrink-0",style:{background:te},children:c.jsx(sa,{className:"h-3.5 w-3.5 text-[#07101E]",strokeWidth:3})}),c.jsxs("div",{className:"min-w-0",children:[c.jsx("p",{className:"text-[9px] tracking-[0.18em] uppercase font-medium",style:{color:te},children:"Pre-screened"}),c.jsx("p",{className:"text-xs text-white font-light mt-0.5 truncate",children:"Fits buybox · Draft memo ready for review"})]})]}),c.jsx("div",{className:"text-[10px] text-[#E8E4D9]/85 tracking-wide shrink-0 hidden sm:block",children:"First pass"})]})})]},i)}function m8(){const e=LS();return c.jsxs("section",{className:"relative pt-28 pb-20 md:pt-36 md:pb-32 overflow-hidden",style:{background:Ge},"data-testid":"section-overview-hero",children:[c.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 80% 50% at 80% 30%, rgba(201,168,76,0.06) 0%, transparent 60%)"}}),c.jsx("div",{className:"absolute inset-0 pointer-events-none",children:c.jsx("div",{className:"absolute top-0 left-0 right-0 h-32 bg-gradient-to-b from-[#07101E] to-transparent"})}),c.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-6 md:px-12",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1.1fr_1fr] gap-12 lg:gap-16 items-center",children:[c.jsxs(st.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:1,ease:[.22,1,.36,1]},children:[c.jsxs("div",{className:"flex items-center gap-3 mb-7",children:[c.jsx(i1,{className:"h-3 w-3",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.32em] uppercase font-light",style:{color:te},children:"Fwd: For investment managers"})]}),c.jsxs("h1",{className:"text-[28px] md:text-[40px] lg:text-[44px] xl:text-[52px] font-extralight text-white leading-[1.1] tracking-[-0.015em]","data-testid":"text-overview-headline",children:[c.jsx("span",{className:"block whitespace-nowrap",children:"Commercial real estate's"}),c.jsx("span",{className:"block italic font-thin whitespace-nowrap",style:{color:te},children:"AI-native diligence partner."})]}),c.jsx("div",{className:"mt-8 mb-8 w-12 h-px",style:{background:`${te}66`}}),c.jsx("p",{className:"text-base md:text-lg text-white font-light leading-relaxed max-w-xl",children:"Brixely is the diligence platform for institutional commercial real estate teams, turning raw deal materials into organized, risk-aware investment work that carries the firmâs lens from first review through every major decision."}),c.jsxs("div",{className:"mt-10 flex flex-col sm:flex-row items-start sm:items-center gap-4",children:[c.jsxs("a",{href:e.primary.href,target:"_blank",rel:"noopener noreferrer","data-testid":"button-overview-primary",className:"inline-flex items-center gap-3 px-9 py-3.5 text-xs font-medium tracking-[0.2em] uppercase transition-colors",style:{background:te,color:Ge},onMouseEnter:i=>i.currentTarget.style.background="#D9B85C",onMouseLeave:i=>i.currentTarget.style.background=te,children:[e.primary.label,c.jsx(Ri,{className:"h-3 w-3"})]}),c.jsxs("a",{href:a8,target:"_blank",rel:"noopener noreferrer","data-testid":"button-summer-release",className:"inline-flex items-center gap-3 px-6 py-3.5 text-xs font-medium tracking-[0.16em] uppercase border transition-colors",style:{borderColor:"rgba(232, 228, 217, 0.42)",color:"#E8E4D9"},onMouseEnter:i=>{i.currentTarget.style.borderColor=te,i.currentTarget.style.color=te},onMouseLeave:i=>{i.currentTarget.style.borderColor="rgba(232, 228, 217, 0.42)",i.currentTarget.style.color="#E8E4D9"},children:["Read the Summer Release",c.jsx(uN,{className:"h-3 w-3"})]})]})]}),c.jsx(st.div,{initial:{opacity:0,scale:.97}
54,animate:{opacity:1,scale:1},transition:{duration:1.2,delay:.2,ease:[.22,1,.36,1]},children:c.jsx(h8,{})})]})})]})}function p8(){return c.jsx("section",{className:"relative py-16 md:py-24 overflow-hidden",style:{background:Ge},"data-testid":"section-principle",children:c.jsx("div",{className:"relative z-10 max-w-3xl mx-auto px-6 md:px-12 text-center",children:c.jsxs(st.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[c.jsx("span",{className:"text-[10px] font-medium tracking-[0.32em] uppercase",style:{color:te},children:"The foundation"}),c.jsxs("p",{className:"mt-6 text-base sm:text-xl md:text-2xl lg:text-[28px] font-extralight text-white leading-[1.4] tracking-tight",children:["Brixely surrounds every investment decision",c.jsx("br",{}),"with ",c.jsx("span",{className:"text-white",children:"layers"})," of"," ",c.jsx("span",{className:"italic font-thin",style:{color:te},children:"diligence, context, and trust."})]})]})})})}function g8(){const e=as[0];return c.jsxs("section",{id:"memo",className:"relative pt-2 pb-20 md:pt-4 md:pb-28 overflow-hidden scroll-mt-24 lg:min-h-[100vh]",style:{background:Ge},"data-testid":"section-memo",children:[c.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 75% 55% at 80% 25%, rgba(201,168,76,0.07) 0%, transparent 60%)"}}),c.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 md:px-12",children:[c.jsxs("div",{className:"max-w-3xl",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-7",children:[c.jsx(i1,{className:"h-3 w-3",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.32em] uppercase font-light",style:{color:te},children:"Layer 1 · The Output"})]}),c.jsxs("h1",{className:"text-[28px] md:text-[40px] lg:text-[48px] font-extralight text-white leading-[1.08] tracking-[-0.015em]","data-testid":"text-hero-headline",children:["Where decision artifacts get generated."," ",c.jsx("span",{className:"italic font-thin text-[#E8E4D9]/85",children:"Memos, exec summaries, and more."})]}),c.jsx("div",{className:"mt-8 mb-8 w-12 h-px",style:{background:`${te}66`}}),c.jsxs("p",{className:"text-base md:text-lg text-[#E8E4D9]/85 font-light leading-relaxed max-w-2xl",children:["The memo below is one of the outputs Brixely generates, a draft IC memo that runs the standard checks and finishes days of prep work in a fraction of the time."," ",c.jsx("span",{className:"text-[#E8E4D9]/95",children:"Brixely handles roughly 80% of the mechanical work so your team can focus on the strategic 20% that actually wins the deal."})]})]}),c.jsxs("div",{className:"mt-12 grid grid-cols-1 sm:grid-cols-2 gap-px max-w-3xl",style:{background:"rgba(255,255,255,0.06)"},"data-testid":"memo-proof-grid",children:[c.jsxs("div",{className:"p-6 md:p-7",style:{background:Ge},"data-testid":"memo-proof-deals",children:[c.jsx("div",{className:"text-3xl md:text-4xl font-extralight tracking-tight",style:{color:te},children:"3Ã"}),c.jsx("p",{className:"mt-3 text-[11px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/85",children:"More deals evaluated"}),c.jsx("p",{className:"mt-2 text-[13px] text-[#E8E4D9]/85 leading-relaxed font-light",children:"Same team, higher bandwidth. The hours your analysts used to lose to prep get reinvested in the judgement calls that actually move the deal."})]}),c.jsxs("div",{className:"p-6 md:p-7",style:{background:Ge},"data-testid":"memo-proof-speed",children:[c.jsx("div",{className:"text-3xl md:text-4xl font-extralight tracking-tight",style:{color:te},children:"60% faster"}),c.jsx("p",{className:"mt-3 text-[11px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/85",children:"NDA to investment committee"}),c.jsx("p",{className:"mt-2 text-[13px] text-[#E8E4D9]/85 leading-relaxed font-light",children:"Read-up, cross-checks, and the structural memo work compress dramatically â so the deal reaches committee while it's still a real opportunity."})]})]}),c.jsxs("div",{className:"mt-10 flex items-center gap-3 max-w-3xl",children:[c.jsx("span",{className:"h-1.5 w-1.5 rounded-full",style:{background:te}}),c.jsx("p",{className:"text-[11px] text-[#E8E4D9]/75 font-light leading-relaxed",children:"A live IC memo from one of the deals in the room."})]}),c.jsx("div",{className:"mt-6 md:mt-8",children:c.jsx(u8,{deal:e,highlightDoc:"Title_Commitment_FA.pdf"})})]})]})}const eb={industrial:{total:"163 questions answered · 11 risks flagged",expanded:{q:"Is title clear of material exceptions to the planned use?",category:"Title",risk:"flag",finding:"Schedule B-II exception 7: drainage easement crosses planned dock expansion footprint.",src:{doc:"Title_Commitment_FA.pdf",page:"Schedule B-II §7",excerpt:"Easement in favor of Salt River Project for utility access along south boundary. Could materially affect future expansion footprint.",confidence:"high"}},questions:[{q:"Day-1 power capacity confirmed by utility?",category:"Utilities",risk:"watch",finding:"Will-serve letter pending substation upgrade timeline."},{q:"WALT meets the hold-period floor?",category:"Tenancy",risk:"ok",finding:"7.4 yr WALT, two five-year FMV renew
54als."},{q:"Asking price within the going-in cap band?",category:"Pricing",risk:"ok",finding:"$181 PSF, 5.8% cap on T-12 NOI."},{q:"Tenant credit clears the firm floor?",category:"Credit",risk:"watch",finding:"Private credit. Trailing financials requested."},{q:"Phase I clean for industrial use?",category:"Environmental",risk:"ok",finding:"No RECs identified. Vapor intrusion screen passed."}]},multifamily:{total:"152 questions answered · 14 risks flagged",expanded:{q:"Does the base case lease-up clear the buybox return floor?",category:"Underwriting",risk:"flag",finding:"Base case lease-up math fails the buybox return floor by 140 bps.",src:{doc:"Sponsor_UW_Model.xlsx",page:"Sheet: Returns",excerpt:"Levered IRR base case 12.6% vs firm hurdle of 14.0% on value-add multifamily.",confidence:"high"}},questions:[{q:"In-place rents vs market spread?",category:"Revenue",risk:"watch",finding:"$285 loss-to-lease per unit, 8% gap to market."},{q:"Cap-ex plan supported by unit walks?",category:"Cap-ex",risk:"ok",finding:"Two unit walks corroborate $11k/door interior scope."},{q:"Submarket absorption supports lease-up?",category:"Market",risk:"watch",finding:"Quarterly absorption trailing 12-mo by 22%."},{q:"Insurance line item realistic?",category:"Opex",risk:"flag",finding:"Sponsor at $480/door. Carrier indication $640/door."}]},office:{total:"188 questions answered · 9 risks flagged",expanded:{q:"Is the model adjusted for sublease drag in submarket?",category:"Market",risk:"watch",finding:"Sublease overhang at 18.4% of submarket inventory. Model adds +$590K annual concession reserve.",src:{doc:"Submarket_Brief_Q1.pdf",page:"p. 7",excerpt:"Sublease availability climbed to 18.4% of total inventory, up from 14.1% prior quarter.",confidence:"high"}},questions:[{q:"Lease rollover schedule mapped to TI reserves?",category:"Tenancy",risk:"ok",finding:"31% rollover in years 3 to 5, TI reserve sized."},{q:"Anchor tenant credit and term verified?",category:"Credit",risk:"ok",finding:"Investment-grade anchor, 9.2 yrs remaining."},{q:"Building systems support hybrid demand?",category:"Physical",risk:"watch",finding:"HVAC zoning weak above floor 14. Engineer report attached."},{q:"Asking price within submarket comps?",category:"Pricing",risk:"ok",finding:"$385 PSF, mid-band of last six trades."}]},datacenter:{total:"176 questions answered · 12 risks flagged",expanded:{q:"Day-1 power allocation confirmed by utility?",category:"Utilities",risk:"ok",finding:"Dominion confirms 48 MW Day-1 allocation. Day-2 96 MW contingent on Brambleton substation expansion.",src:{doc:"Dominion_CapacityLetter.pdf",page:"p. 3",excerpt:"Dominion Energy confirms 48 MW Day-1 allocation. Day-2 allocation contingent on Brambleton substation expansion completion (Q1 2027).",confidence:"high"}},questions:[{q:"Hyperscale tenant LOI economics meet buybox?",category:"Tenancy",risk:"ok",finding:"15-year triple-net LOI, full-building, investment-grade."},{q:"Water reuse permit on track for groundbreaking?",category:"Permitting",risk:"watch",finding:"VA DEQ application Jan 2026. 9 to 14 month review window."},{q:"Fiber redundancy meets tier-3 standard?",category:"Connectivity",risk:"flag",finding:"Single-path to MAE-East. Second carrier route in negotiation."},{q:"PUE design supports the LOI commitment?",category:"Engineering",risk:"ok",finding:"ATO PUE target 1.25, validated by EPC concept design."}]}},Sl={ok:{dot:"#7CB78A",label:"Pass",ring:"#7CB78A"},watch:{dot:"#C9A84C",label:"Watch",ring:"#C9A84C"},flag:{dot:"#E66B5B",label:"Flag",ring:"#E66B5B"}};function y8(){const[e,i]=w.useState(as.find(l=>l.id==="datacenter")?.id??as[0].id),s=as.find(l=>l.id===e)??as[0],r=eb[e]??eb.industrial;return c.jsx("section",{id:"diligence",className:"relative pt-2 pb-24 md:pt-4 md:pb-32 overflow-hidden scroll-mt-24 lg:min-h-[100vh]",style:{background:Rn},"data-testid":"section-diligence",children:c.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 md:px-12",children:[c.jsxs("div",{className:"max-w-3xl",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[c.jsx(Mh,{className:"h-3 w-3",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.32em] uppercase font-light",style:{color:te},children:"Layer 2 · The Reasoning"})]}),c.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-[40px] font-extralight text-white leading-[1.15] tracking-[-0.01em] text-balance",children:["Every claim,"," ",c.jsx("span",{className:"italic font-thin text-[#E8E4D9]/85",children:"with diligence behind it."})]}),c.jsx("p",{className:"mt-6 text-base text-[#E8E4D9]/85 font-light leading-relaxed",children:"Structured due diligence checklists with 150+ questions, risk-graded by category. Each answer cites its source."}),c.jsxs("div",{className:"mt-10 flex items-start gap-5 max-w-2xl","data-testid":"diligence-proof-stat",children:[c.jsx("div",{className:"text-4xl md:text-5xl font-extralight tracking-tight shrink-0 leading-none",style:{color:te},children:"400Ã"}),c.jsxs("div",{className:"pt-1",children:[c.jsx("p",{className:"text-[11px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/85",children:"More questions per deal"}),c.jsx("p",{className:"mt-1.5 text-[13px] text-[#E8E4D9]/85 leading-relaxed font-light",children:"An asset-aware checklist that goes deeper than any single analyst could on their own â industrial, retail, office, and data-center nuances baked into every category."})]})]})]}),c.jsx("div",{className:"mt-10 inline-flex flex-wrap gap-1 rounded-md p-1 border border-white/[0.08]",style:{background:Rn},role:"tablist","aria-label":"Asset class","data-testid":"diligence-tabs",children:as.map(l=>{const u=l.id===e;return c.jsx("button",{role:"tab","aria-selected":u,onClick:()=>i(l.id),"data-testid":`tab-asset-${l.id}`,className:"px-4 py-2 text-[11px] tracking-[0.18em] uppercase font-light rounded-sm transition-colors",style:{background:u?te:"transparent",color:u?Ge:"rgba(255,255,255,0.55)"},children:l.short},l.id)})}),c.jsxs("div",{className:"mt-10 grid grid-cols-1 lg:grid-cols-[1.15fr_0.85fr] gap-8 lg:gap-10",children:[c.jsxs("div",{children:[c.jsxs("div",{className:"rounded-md border border-white/[0.08] overflow-hidden",style:{background:Ge},"data-testid":"dil-expanded",children:[c.jsxs("div",{className:"px-5 py-3 border-b border-white/[0.06] flex items-center justify-between gap-3",style:{background:"rgba(230,107,91,0.06)"},children:[c.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[c.jsx("span",{className:"h-1.5 w-1.5 rounded-full shrink-0",style:{background:Sl[r.expanded.risk].dot}}),c.jsx("span",{className:"text-[10px] tracking-[0.22em] uppercase font-medium",style:{color:Sl[r.expanded.risk].ring},children:Sl[r.expanded.risk].label}),c.jsx("span",{className:"text-[10px] tracking-[0.18em] uppercase text-[#E8E4D9]/70 font-light",children:r.expanded.category})]}),c.jsx("span",{className:"text-[10px] tracking-[0.2em] uppercase text-[#E8E4D9]/70 font-light hidden sm:inline",children:"Expanded"})]}),c.jsxs("div",{className:"px-6 py-6 space-y-5",children:[c.jsx("p",{className:"text-[15px] md:text-base text-white font-light leading-snug",children:r.expanded.q}),c.jsx("p",{className:"text-[14px] text-[#E8E4D9]/95 font-light leading-relaxed",children:c.jsx(VS,{t:r.expanded.finding,src:r.expanded.src,highlighted:!0})})]})]}),c.jsx("div",{className:"mt-6 grid grid-cols-1 sm:grid-cols-2 gap-3",children:r.questions.map((l,u)=>{const f=Sl[l.risk];return c.jsxs("div",{className:"rounded-md border border-white/[0.06] p-4",style:{background:Ge},"data-testid":`dil-q-${e}-${u}`,children:[c.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[c.jsx("span",{className:"h-1.5 w-1.5 rounded-full shrink-0",style:{background:f.dot}}),c.jsx("span",{className:"text-[9px] tracking-[0.22em] uppercase font-medium",style:{color:f.ring},children:f.label}),c.jsx("span",{className:"text-[9px] tracking-[0.2em] uppercase text-[#E8E4D9]/65 font-light",children:l.category})]}),c.jsx("p",{className:"text-[13px] text-[#E8E4D9]/95 font-light leading-snug",children:l.q}),c.jsx("p",{className:"text-[12px] text-[#E8E4D9]/60 font-light mt-2 leading-relaxed",children:l.finding})]},u)})}),c.jsx("p",{className:"mt-5 text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70",dangerouslySetInnerHTML:{__html:r.total}})]}),c.jsxs("div",{children:[c.jsx("p",{className:"text-[10px] tracking-[0.28em] uppercase font-light text-[#E8E4D9]/75 mb-4",children:"Live thesis match"}),c.jsx("div",{className:"rounded-md border border-white/[0.08] overflow-hidden",style:{background:Ge},"data-testid":"thesis-match",children:s.thesis.map((l,u)=>{const f=l8[l.match];return c.jsxs("div",{className:"px-5 py-4 border-b border-white/[0.04] last:border-b-0 flex items-start justify-between gap-4",children:[c.jsxs("div",{className:"min-w-0 flex-1",children:[c.jsx("p",{className:"text-[13px] text-[#E8E4D9]/95 font-light leading-snug",children:l.criteria}),c.jsx("p",{className:"text-[11px] text-[#E8E4D9]/75 font-light mt-1 leading-relaxed",children:l.note})]}),c.jsx("span",{className:"text-[9px] tracking-[0.22em] uppercase font-medium px-2 py-1 rounded-sm shrink-0",style:{color:f.color,background:`${f.color}1a`,border:`1px solid ${f.color}59`},children:f.label})]},u)})}),c.jsx("p",{className:"mt-4 text-[11px] text-[#E8E4D9]/70 font-light leading-relaxed",children:"The thesis is the firm's buybox. Each row is graded against the deal in front of the team."})]})]})]})})}const v8=[{icon:Jb,n:"01",t:"Data room",d:"Auto-organized against an asset-aware checklist. Live progress, missing-doc alerts, versioning. Forwarded broker emails land here automatically."},{icon:Mh,n:"02",t:"Guided diligence",d:"150+ questions, risk-graded by category. Source-cited findings. Walk every question, not every doc."},{icon:jN,n:"03",t:"Chat",d:"Ask anything about the deal. Every answer comes with the doc, page, and exact excerpt it cites."},{icon:ZC,n:"04",t:"Timeline",d:"Every key date, deadline, contingency, and trigger event surfaced from the docs."},{icon:DN,n:"05",t:"Relationships",d:"Sponsor, counsel, lenders, brokers, vendors. Role-tagged, conflict-checked, contact-mapped."},{icon:Rh,n:"06",t:"Firm playbook",d:"The firm's buybox, standards, and underwriting voice. Every memo and flag shaped by the firm's edge."},{icon:qf,n:"07",t:"Reports & memos",d:"IC, JV, broker. One source of truth, audience-specific, defensible at every page."}];function x8(){return c.jsx("section",{id:"workspace",className:"relative pt-2 pb-24 md:pt-4 md:pb-32 overflow-hidden scroll-mt-24",style:{background:Ge},"data-testid":"section-workspace",children:c.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 md:px-12",children:[c.jsxs("div",{className:"max-w-3xl",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[c.jsx(ax,{className:"h-3 w-3",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.32em] uppercase font-light",style:{color:te},children:"Layer 3 · The Surface"})]}),c.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-[40px] font-extralight text-white leading-[1.15] tracking-[-0.01em] text-balance",children:["One home for each data room."," ",c.jsx("span",{className:"italic font-thin text-[#E8E4D9]/85",children:"A living workspace as the deal takes shape."})]}),c.jsx("p",{className:"mt-6 text-base text-[#E8E4D9]/85 font-light leading-relaxed",children:"Each deal opens into its own ecosystem â data room, chat, timeline, relationships, playbook, and reports already loaded against the asset in front of you. Less context to rebuild between sessions, more of the deal held in your head, sharper recall when it matters."}),c.jsxs("div",{className:"mt-10 flex items-start gap-5 max-w-2xl","data-testid":"workspace-proof-stat",children:[c.jsx("div",{className:"text-4xl md:text-5xl font-extralight tracking-tight shrink-0 leading-none",style:{color:te},children:"100%"}),c.jsxs("div",{className:"pt-1",children:[c.jsx("p",{className:"text-[11px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/85",children:"Less juggling"}),c.jsx("p",{className:"mt-1.5 text-[13px] text-[#E8E4D9]/85 leading-relaxed font-light",children:"Every moving piece â docs, dates, people, prior context â held in one surface. Fewer dropped threads, fewer human errors, and a team that doesn't burn out between deals."})]})]})]}),c.jsxs("div",{className:"mt-12 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-px",style:{background:"rgba(255,255,255,0.06)"},"data-testid":"workspace-modules-grid",children:[v8.map((e,i)=>{const s=e.icon;return c.jsxs(st.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:i%4*.06},className:"p-6 md:p-7",style:{background:Rn},"data-testid":`module-${e.n}`,children:[c.jsxs("div",{className:"flex items-baseline justify-between gap-3 mb-5",children:[c.jsx(s,{className:"h-4 w-4",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.22em] uppercase font-light",style:{color:te},children:e.n})]}),c.jsx("h3",{className:"text-lg md:text-xl font-extralight text-white tracking-tight",children:e.t}),c.jsx("p",{className:"mt-3 text-[13px] text-[#E8E4D9]/85 leading-relaxed font-light",children:e.d})]},e.n)}),c.jsx(st.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.18},className:"p-6 md:p-7 flex flex-col justify-between",style:{background:"rgba(201,168,76,0.05)"},"data-testid":"module-connected",children:c.jsxs("div",{children:[c.jsxs("div",{className:"flex items-baseline justify-between gap-3 mb-5",children:[c.jsx(ax,{className:"h-4 w-4",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.22em] uppercase font-light",style:{color:te},children:"+"})]}),c.jsx("h3",{className:"text-lg md:text-xl font-extralight text-white tracking-tight",children:"All connected"}),c.jsx("p",{className:"mt-3 text-[13px] text-[#E8E4D9]/90 leading-relaxed font-light",children:"A title exception found in diligence updates the timeline, the memo, and the IC risk callout. One platform, one view of the deal."})]})})]})]})})}const b8=[{label:"People",note:"Sponsor, counsel, lenders, brokers, vendors."},{label:"Contracts",note:"PSA, leases, service agreements, side letters."},{label:"Utilities",note:"Will-serve letters, capacity studies, tap fees."},{label:"Insurance",note:"Carrier indications, COIs, deductibles, exclusions."},{label:"Capital stack",note:"Term sheets, debt service, equity waterfall."},{label:"Title",note:"Commitment, Schedule B exceptions, easements, surveys."}],w8=[{label:"Buybox",note:"Markets, asset classes, size, return thresholds."},{label:"IC criteria",note:"What earns approval, what triggers a flag."},{label:"Underwriting voice",note:"How your firm phrases risk and upside."},{label:"Diligence depth",note:"Which lenses go deep, which stay light."},{label:"Output format",note:"Memo structure, exhibits, exec-summary tone."}],tb=[{when:"This deal",note:"Pulls precedent the moment a doc lands."}
54,{when:"Last quarter",note:"Rejected deals become this quarter's first questions."},{when:"Last year",note:"Comps, IC notes, and counter-offers stay queryable."},{when:"Cumulative",note:"Every memo sharpens the next analysis."}];function S8(){const e=[{icon:Jb,label:"Documents",tag:"Per deal",scopeNote:"Reset every transaction",lead:"OM, PSA, leases, title, Phase I, surveys, will-serve letters.",body:"Auto-organized against an asset-aware checklist. Read across six lenses on every claim.",kind:"lenses"},{icon:Rh,label:"Playbook",tag:"Per firm",scopeNote:"Encoded once, applied always",lead:"Buybox, IC criteria, underwriting voice. Encoded once.",body:"Every memo, flag, and recommendation written in the firm’s language. Not a generic template.",kind:"playbook"},{icon:ix,label:"Knowledge base",tag:"Compounding",scopeNote:"Sharper every quarter",lead:"Past memos, comps, rejected deals, IC notes.",body:"Last quarter’s rejection becomes this quarter’s first question.",kind:"timeline"}];return c.jsx("section",{id:"inputs",className:"relative pt-2 pb-24 md:pt-4 md:pb-32 overflow-hidden scroll-mt-24 lg:min-h-[100vh]",style:{background:Rn},"data-testid":"section-inputs",children:c.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 md:px-12",children:[c.jsxs("div",{className:"max-w-3xl",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[c.jsx(ix,{className:"h-3 w-3",style:{color:te}}),c.jsx("span",{className:"text-[10px] tracking-[0.32em] uppercase font-light",style:{color:te},children:"Layer 4 · The Memory"})]}),c.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-[40px] font-extralight text-white leading-[1.15] tracking-[-0.01em] text-balance",children:["The deal. Your firm."," ",c.jsx("span",{className:"italic font-thin text-[#E8E4D9]/85",children:"Your track record."})]}),c.jsx("p",{className:"mt-6 text-base text-[#E8E4D9]/85 font-light leading-relaxed",children:"Brixely grounds every analysis in three streams of context: what the current deal is showing, how your firm underwrites, and what your team has already learned across past transactions. The longer Brixely works with your firm, the sharper each analysis gets."}),c.jsxs("div",{className:"mt-10 flex items-start gap-5 max-w-2xl","data-testid":"inputs-proof-stat",children:[c.jsx("div",{className:"text-4xl md:text-5xl font-extralight tracking-tight shrink-0 leading-none",style:{color:te},children:"Decades"}),c.jsxs("div",{className:"pt-1",children:[c.jsx("p",{className:"text-[11px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/85",children:"Of institutional memory, queryable"}),c.jsx("p",{className:"mt-1.5 text-[13px] text-[#E8E4D9]/85 leading-relaxed font-light",children:"Every memo, comp, IC note, and rejected deal stays alive in the system. Knowledge compounds with every transaction â and stays at the teamâs fingertips long after the analyst who wrote it has moved on."})]})]})]}),c.jsx("div",{className:"mt-12 grid grid-cols-1 lg:grid-cols-3 gap-4 md:gap-5 items-stretch",children:e.map(i=>{const s=i.icon;return c.jsxs("div",{className:"relative rounded-md border border-white/[0.08] p-6 flex flex-col h-full",style:{background:Ge},"data-testid":`input-stream-${i.label.toLowerCase().replace(/\s+/g,"-")}`,children:[c.jsxs("div",{className:"mb-5",children:[c.jsxs("span",{className:"inline-flex items-center gap-2 rounded-sm px-2.5 py-1 text-[10px] tracking-[0.28em] uppercase font-light",style:{color:te,background:`${te}14`,border:`1px solid ${te}40`},"data-testid":`input-scope-${i.label.toLowerCase().replace(/\s+/g,"-")}`,children:[c.jsx("span",{className:"h-1 w-1 rounded-full",style:{background:te}}),i.tag]}),c.jsx("p",{className:"mt-2 text-[10px] tracking-[0.18em] uppercase font-light text-[#E8E4D9]/65",children:i.scopeNote})]}),c.jsxs("div",{className:"flex items-center gap-2.5 mb-3",children:[c.jsx(s,{className:"h-4 w-4",style:{color:te}}),c.jsx("span",{className:"text-[15px] tracking-tight text-white font-light",children:i.label})]}),c.jsx("p",{className:"text-[13px] text-[#E8E4D9]/90 font-light leading-relaxed",children:i.lead}),c.jsx("p",{className:"text-[12px] text-[#E8E4D9]/60 font-light leading-relaxed mt-3",dangerouslySetInnerHTML:{__html:i.body}
54}),c.jsxs("div",{className:"mt-5 pt-5 border-t border-white/[0.06] flex-1 flex flex-col",children:[i.kind==="lenses"?c.jsxs(c.Fragment,{children:[c.jsx("p",{className:"text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70 mb-3",children:"Read across six lenses"}),c.jsx("ul",{className:"space-y-2",children:b8.map(r=>c.jsxs("li",{className:"flex items-start gap-2.5 text-[12px]",children:[c.jsx("span",{className:"mt-1.5 h-1 w-1 rounded-full shrink-0",style:{background:te}}),c.jsxs("span",{children:[c.jsxs("span",{className:"text-[#E8E4D9]/95 font-light",children:[r.label,"."]})," ",c.jsx("span",{className:"text-[#E8E4D9]/60 font-light",children:r.note})]})]},r.label))})]}):null,i.kind==="playbook"?c.jsxs(c.Fragment,{children:[c.jsx("p",{className:"text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70 mb-3",children:"What gets encoded"}),c.jsx("ul",{className:"space-y-2",children:w8.map(r=>c.jsxs("li",{className:"flex items-start gap-2.5 text-[12px]",children:[c.jsx("span",{className:"mt-1.5 h-1 w-1 rounded-full shrink-0",style:{background:te}}),c.jsxs("span",{children:[c.jsxs("span",{className:"text-[#E8E4D9]/95 font-light",children:[r.label,"."]})," ",c.jsx("span",{className:"text-[#E8E4D9]/60 font-light",children:r.note})]})]},r.label))})]}):null,i.kind==="timeline"?c.jsxs(c.Fragment,{children:[c.jsx("p",{className:"text-[10px] tracking-[0.22em] uppercase font-light text-[#E8E4D9]/70 mb-3",children:"Compounds across time"}),c.jsx("ul",{className:"space-y-3",children:tb.map((r,l)=>{const u=.25+l/(tb.length-1)*.7;return c.jsxs("li",{className:"flex items-start gap-3 text-[12px]",children:[c.jsx("span",{className:"mt-1 flex items-center gap-1 shrink-0",children:[0,1,2,3].map(f=>c.jsx("span",{className:"h-1 w-1 rounded-full",style:{background:f<=l?te:"rgba(255,255,255,0.15)",opacity:f<=l?u:1}},f))}),c.jsxs("span",{children:[c.jsxs("span",{className:"text-[#E8E4D9]/95 font-light",children:[r.when,"."]})," ",c.jsx("span",{className:"text-[#E8E4D9]/60 font-light",children:r.note})]})]},r.when)})})]}):null]})]},i.label)})})]})})}const E8=[{name:"GDPR",url:kS},{name:"CPRA",url:OS},{name:"SOC 2 Type 2",url:_S},{name:"ISO 27001",url:PS}],T8=[{icon:n1,title:"Enterprise Infrastructure",description:"SOC 2 Type 2 compliant cloud hosting with 99.9% uptime SLA and geo-redundant backups."},{icon:Or,title:"Access Control",description:"Role-based permissions, SSO/MFA support, and detailed audit logs for every action."},{icon:$b,title:"Continuous Monitoring",description:"24/7 threat detection, AI-powered anomaly detection, and real-time security alerts."}];function A8(){return c.jsxs("section",{id:"trust",className:"relative pt-10 pb-16 md:pt-12 md:pb-20 overflow-hidden bg-[#F7F5F0] scroll-mt-24","data-testid":"section-pact",children:[c.jsx("div",{id:"security",className:"absolute -top-24","aria-hidden":"true"}),c.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-6 md:px-12",children:[c.jsxs(st.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center max-w-3xl mx-auto",children:[c.jsx(Or,{className:"h-4 w-4 mx-auto mb-4",style:{color:te}}),c.jsx("span",{className:"text-[10px] font-medium tracking-[0.32em] uppercase",style:{color:te},children:"Enterprise-grade"}),c.jsx("h2",{className:"mt-4 text-2xl md:text-4xl font-extralight text-[#0A1628] leading-[1.25] tracking-tight",children:"Inside the firm's walls."}),c.jsx("p",{className:"mt-5 text-sm md:text-base text-[#0A1628]/60 font-light leading-relaxed max-w-xl mx-auto",children:"Per-firm tenant isolation. SOC 2 Type II. ISO 27001. Encryption at rest and in transit. Role-based access, 2FA, audit logging. Brixely sees what the firm gives it, and only inside that firm's tenancy."}),c.jsx("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-2.5",children:j8.map(e=>c.jsxs("div",{className:"flex items-center gap-2 px-3.5 py-2 rounded-sm border bg-white",style:{borderColor:"rgba(10,22,40,0.10)"},"data-testid":`trust-chip-${e.label.toLowerCase().replace(/\s+/g,"-")}`,children:[c.jsx(e.icon,{className:"h-3 w-3",style:{color:te}}),c.jsx("span",{className:"text-[12px] font-light tracking-wide text-[#0A1628]/80",children:e.label})]},e.label))})]}),c.jsx(st.div,{className:"mt-10 flex flex-wrap items-center justify-center gap-6 md:gap-10",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.1},children:E8.map(e=>c.jsxs("div",{className:"flex flex-col items-center gap-2","data-testid":`badge-${e.name.toLowerCase().replace(/\s/g,"-")}`,children:[c.jsx("img",{src:e.url,alt:`${e.name} compliant`,className:"h-14 w-14 md:h-16 md:w-16 object-contain"}),c.jsx("span",{className:"text-[10px] tracking-[0.18em] uppercase font-medium text-[#0A1628]/55",children:e.name})]},e.name))}),c.jsx(st.div,{className:"mt-10 grid grid-cols-1 md:grid-cols-3 gap-4",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.2},children:T8.map((e,i)=>{const s=e.icon;return c.jsxs("div",{className:"rounded-md border p-5 flex items-start gap-4 bg-white",style:{borderColor:"rgba(10,22,40,0.08)"},"data-testid":`security-pillar-${i}`,children:[c.jsx("div",{className:"h-10 w-10 rounded-sm flex items-center justify-center shrink-0",style:{background:Ge},children:c.jsx(s,{className:"h-4 w-4 text-white"})}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-sm font-medium text-[#0A1628] mb-1.5",children:e.title}),c.jsx("p",{className:"text-[13px] text-[#0A1628]/60 font-light leading-relaxed",children:e.description})]})]},e.title)})})]})]})}const j8=[{icon:qf,label:"SOC 2 Type II"},{icon:qf,label:"ISO 27001"},{icon:Or,label:"Encrypted at rest"},{icon:Or,label:"Encrypted in transit"},{icon:n1,label:"Per-firm tenancy"},{icon:$b,label:"Audit logging"}];function C8(){return c.jsxs("section",{id:"customers",className:"relative pt-0 pb-24 md:pb-32 scroll-mt-24",style:{background:"#F7F5F0"},"data-testid":"section-customers-band",children:[c.jsx("style",{children:` 55 [data-testid="section-customers-band"] [data-testid^="logo-backer-"] img { 56 mix-blend-mode: multiply; 57 } 58 `}),c.jsx(Tr,{to:4,bg:"#F7F5F0",theme:"light"}),c.jsxs("div",{className:"relative z-10 max-w-6xl mx-auto px-6 md:px-12 text-center",children:[c.jsx(qN,{className:"h-4 w-4 mx-auto mb-4",style:{color:te}}),c.jsx("span",{className:"text-[10px] font-medium tracking-[0.28em] uppercase",style:{color:te},children:"The room"}),c.jsx("h2",{className:"mt-5 font-serif italic text-sm md:text-base font-light text-[#0A1628]/55 leading-[1.3]",children:"Trusted by institutional CRE teams."}),c.jsx("div",{className:"mt-7",children:c.jsx(Z0,{bgClassName:"bg-transparent !py-0",showTagline:!1,group:"partners"})}),c.jsxs("div",{className:"mt-16",children:[c.jsx("h2",{className:"font-serif italic text-sm md:text-base font-light text-[#0A1628]/55 leading-[1.3]",children:"Backed by technology leaders."}),c.jsx("div",{className:"mt-7",children:c.jsx(Z0,{bgClassName:"bg-transparent !py-0",showTagline:!1,group:"backers"})})]})]})]})}function N8(){return w.useEffect(()=>{let e=null,i=null;const s={"#how-it-works":"workspace","#sample-memo":"memo","#trust-security":"trust","#security":"trust","#surfaces":"workspace","#platform":"workspace","#intake":"diligence","#thesis":"diligence","#learning":"inputs","#before-after":"workspace"},r=typeof window<"u"?window.location.hash:"",l=s[r];if(l&&typeof window<"u"){window.history.replaceState&&window.history.replaceState(null,"",`#${l}`);const u=()=>{const f=document.getElementById(l);f&&f.scrollIntoView({behavior:"auto",block:"start"})};e=window.requestAnimationFrame(()=>{u(),i=setTimeout(u,250)})}return()=>{e!==null&&cancelAnimationFrame(e),i!==null&&clearTimeout(i)}},[]),c.jsx(F4,{reducedMotion:"user",children:c.jsxs("div",{className:"min-h-screen",style:{background:Ge},children:[c.jsx(o8,{}),c.jsx(f8,{}),c.jsxs("main",{children:[c.jsx(m8,{}),c.jsx(p8,{}),c.jsx(d8,{}),c.jsx(Tr,{to:0,bg:Ge}),c.jsx(g8,{}),c.jsx(Tr,{to:1,bg:Rn}),c.jsx(y8,{}),c.jsx(Tr,{to:2,bg:Ge}),c.jsx(x8,{}),c.jsx(Tr,{to:3,bg:Rn}),c.jsx(S8,{}),c.jsx(C8,{}),c.jsx(A8,{})]}),c.jsxs("div",{className:"relative bg-primary",children:[c.jsx(i8,{}),c.jsx(K6,{})]})]})})}const R8="/assets/NAVY_BLUE_-_LOGO_1784327341062-DbCjGKpS.svg",D8="/assets/NAVY_-_NAME_1777734454404-BaRKj1LX.png";var Dc="Collapsible",[M8,BS]=_i(Dc),[k8,jm]=M8(Dc),US=w.forwardRef((e,i)=>{const{__scopeCollapsible:s,open:r,defaultOpen:l,disabled:u,onOpenChange:f,...m}=e,[g,p]=ms({prop:r,defaultProp:l??!1,onChange:f,caller:Dc});return c.jsx(k8,{scope:s,disabled:u,contentId:jr(),open:g,onOpenToggle:w.useCallback(()=>p(y=>
58!y),[p]),children:c.jsx(Be.div,{"data-state":Nm(g),"data-disabled":u?"":void 0,...m,ref:i})})});US.displayName=Dc;var HS="CollapsibleTrigger",qS=w.forwardRef((e,i)=>{const{__scopeCollapsible:s,...r}=e,l=jm(HS,s);return c.jsx(Be.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":Nm(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...r,ref:i,onClick:Ae(e.onClick,l.onOpenToggle)})});qS.displayName=HS;var Cm="CollapsibleContent",FS=w.forwardRef((e,i)=>{const{forceMount:s,...r}=e,l=jm(Cm,e.__scopeCollapsible);return c.jsx(Qn,{present:s||l.open,children:({present:u})=>c.jsx(O8,{...r,ref:i,present:u})})});FS.displayName=Cm;var O8=w.forwardRef((e,i)=>{const{__scopeCollapsible:s,present:r,children:l,...u}=e,f=jm(Cm,s),[m,g]=w.useState(r),p=w.useRef(null),y=ut(i,p),v=w.useRef(0),b=v.current,E=w.useRef(0),A=E.current,T=f.open||m,j=w.useRef(T),R=w.useRef(void 0);return w.useEffect(()=>{const N=requestAnimationFrame(()=>j.current=!1);return()=>cancelAnimationFrame(N)},[]),Cn(()=>{const N=p.current;if(N){R.current=R.current||{transitionDuration:N.style.transitionDuration,animationName:N.style.animationName},N.style.transitionDuration="0s",N.style.animationName="none";const D=N.getBoundingClientRect();v.current=D.height,E.current=D.width,j.current||(N.style.transitionDuration=R.current.transitionDuration,N.style.animationName=R.current.animationName),g(r)}},[f.open,r]),c.jsx(Be.div,{"data-state":Nm(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!T,...u,ref:y,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":A?`${A}px`:void 0,...e.style},children:T&&l})});function Nm(e){return e?"open":"closed"}var _8=US,P8=qS,L8=FS,V8=w.createContext(void 0);function z8(e){const i=w.useContext(V8);return e||i||"ltr"}var fn="Accordion",B8=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Rm,U8,H8]=Tb(fn),[Mc]=_i(fn,[H8,BS]),Dm=BS(),GS=We.forwardRef((e,i)=>{const{type:s,...r}=e,l=r,u=r;return c.jsx(Rm.Provider,{scope:e.__scopeAccordion,children:s==="multiple"?c.jsx(I8,{...u,ref:i}):c.jsx(G8,{...l,ref:i})})});GS.displayName=fn;var[IS,q8]=Mc(fn),[YS,F8]=Mc(fn,{collapsible:!1}),G8=We.forwardRef((e,i)=>{const{value:s,defaultValue:r,onValueChange:l=()=>{},collapsible:u=!1,...f}=e,[m,g]=ms({prop:s,defaultProp:r??"",onChange:l,caller:fn});return c.jsx(IS,{scope:e.__scopeAccordion,value:We.useMemo(()=>m?[m]:[],[m]),onItemOpen:g,onItemClose:We.useCallback(()=>u&&g(""),[u,g]),children:c.jsx(YS,{scope:e.__scopeAccordion,collapsible:u,children:c.jsx(XS,{...f,ref:i})})})}),I8=We.forwardRef((e,i)=>{const{value:s,defaultValue:r,onValueChange:l=()=>{},...u}=e,[f,m]=ms({prop:s,defaultProp:r??[],onChange:l,caller:fn}),g=We.useCallback(y=>m((v=[])=>[...v,y]),[m]),p=We.useCallback(y=>m((v=[])=>v.filter(b=>b!==y)),[m]);return c.jsx(IS,{scope:e.__scopeAccordion,value:f,onItemOpen:g,onItemClose:p,children:c.jsx(YS,{scope:e.__scopeAccordion,collapsible:!0,children:c.jsx(XS,{...u,ref:i})})})}),[Y8,kc]=Mc(fn),XS=We.forwardRef((e,i)=>{const{__scopeAccordion:s,disabled:r,dir:l,orientation:u="vertical",...f}=e,m=We.useRef(null),g=ut(m,i),p=U8(s),v=z8(l)==="ltr",b=Ae(e.onKeyDown,E=>{if(!B8.includes(E.key))return;const A=E.target,T=p().filter(B=>!B.ref.current?.disabled),j=T.findIndex(B=>B.ref.current===A),R=T.length;if(j===-1)return;E.preventDefault();let N=j;const D=0,O=R-1,_=()=>{N=j+1,N>O&&(N=D)},q=()=>{N=j-1,N<D&&(N=O)};switch(E.key){case"Home":N=D;break;case"End":N=O;break;case"ArrowRight":u==="horizontal"&&(v?_():q());break;case"ArrowDown":u==="vertical"&&_();break;case"ArrowLeft":u==="horizontal"&&(v?q():_());break;case"ArrowUp":u==="vertical"&&q();break}const X=N%R;T[X].ref.current?.focus()});return c.jsx(Y8,{scope:s,disabled:r,direction:l,orientation:u,children:c.jsx(Rm.Slot,{scope:s,children:c.jsx(Be.div,{...f,"data-orientation":u,ref:g,onKeyDown:r?void 0:b})})})}),rc="AccordionItem",[X8,Mm]=Mc(rc),KS=We.forwardRef((e,i)=>{const{__scopeAccordion:s,value:r,...l}=e,u=kc(rc,s),f=q8(rc,s),m=Dm(s),g=jr(),p=r&&f.value.includes(r)||!1,y=u.disabled||e.disabled;return c.jsx(X8,{scope:s,open:p,disabled:y,triggerId:g,children:c.jsx(_8,{"data-orientation":u.orientation,"data-state":eE(p),...m,...l,ref:i,disabled:y,open:p,onOpenChange:v=>{v?f.onItemOpen(r):f.onItemClose(r)}})})});KS.displayName=rc;var QS="AccordionHeader",ZS=We.forwardRef((e,i)=>{const{__scopeAccordion:s,...r}=e,l=kc(fn,s),u=Mm(QS,s);return c.jsx(Be.h3,{"data-orientation":l.orientation,"data-state":eE(u.open),"data-disabled":u.disabled?"":void 0,...r,ref:i})});ZS.displayName=QS;var xh="AccordionTrigger",WS=We.forwardRef((e,i)=>{const{__scopeAccordion:s,...r}=e,l=kc(fn,s),u=Mm(xh,s),f=F8(xh,s),m=Dm(s);return c.jsx(Rm.ItemSlot,{scope:s,children:c.jsx(P8,{"aria-disabled":u.open&&!f.collapsible||void 0,"data-orientation":l.orientation,id:u.triggerId,...m,...r,ref:i})})});WS.displayName=xh;var $S="AccordionContent",JS=We.forwardRef((e,i)=>{const{__scopeAccordion:s,...r}=e,l=kc(fn,s),u=Mm($S,s),f=Dm(s);return c.jsx(L8,{role:"region","aria-labelledby":u.triggerId,"data-orientation":l.orientation,...f,...r,ref:i,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});JS.displayName=$S;function eE(e){return e?"open":"closed"}var K8=GS,Q8=KS,Z8=ZS,tE=WS,nE=JS;const W8=K8,iE=w.forwardRef(({className:e,...i},s)=>c.jsx(Q8,{ref:s,className:Ie("border-b",e),...i}));iE.displayName="AccordionItem";const aE=w.forwardRef(({className:e,children:i,...s},r)=>c.jsx(Z8,{className:"flex",children:c.jsxs(tE,{ref:r,className:Ie("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...s,children:[i,c.jsx(Dh,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));aE.displayName=tE.displayName;const sE=w.forwardRef(({className:e,children:i,...s},r)=>c.jsx(nE,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:c.jsx("div",{className:Ie("pb-4 pt-0",e),children:i})}));sE.displayName=nE.displayName;const $8=["Brixely recognises that the confidentiality, integrity and availability of information and data created, maintained and hosted by us are vital to the success of the business and privacy of our partners.","As a service provider/product, we understand the importance in providing clear information about our security practices, tools, resources and responsibilities within Brixely so that our customers can feel confident in choosing us as a trusted provider.","This Security Posture highlights high-level details about our steps to identify and mitigate risks, implement best practices, and continuously develop ways to improve."],J8=[{name:"SOC 2",image:_S,status:"Compliant"},{name:"ISO 27001",image:PS,status:"Compliant"},{name:"GDPR",image:kS,status:"Compliant"},{name:"CPRA (formerly CCPA)",image:OS,status:"Compliant"}],nb=[{category:"Product security",items:["Situational Awareness For Incidents","Centralized Management of Flaw Remediation Processes"]},{category:"Data security",items:["Termination of Employment","Encrypting Data At Rest","Inventory of Infrastru
58cture Assets"]},{category:"Network security",items:["Limit Network Connections","External System Connections","Transmission Confidentiality"]},{category:"App security",items:["Conspicuous Link To Privacy Notice","Secure system modification"]},{category:"Endpoint security",items:["Malicious Code Protection (Anti-Malware)","Full Device or Container-based Encryption","Endpoint Security Validation"]},{category:"Corporate security",items:["Code of Business Conduct","Organizational Structure","Roles & Responsibilities"]}];function e_(){return c.jsxs("div",{className:"min-h-screen bg-[#F9FAFB] text-[#07101E] font-sans selection:bg-[#07101E] selection:text-white",children:[c.jsx("header",{className:"sticky top-0 z-50 bg-white/80 backdrop-blur-md border-b border-black/5",children:c.jsxs("div",{className:"max-w-5xl mx-auto px-6 h-16 flex items-center justify-between",children:[c.jsxs($d,{href:"/",className:"flex items-center gap-3 group",children:[c.jsx("img",{src:R8,alt:"Brixely",className:"h-7 w-auto transition-transform group-hover:scale-105"}),c.jsx("div",{className:"h-4 w-px bg-black/10 mx-1"}),c.jsx("span",{className:"text-[13px] font-medium tracking-wide uppercase text-black/60",children:"Trust Center"})]}),c.jsx("a",{href:"mailto:[email protected]",className:"text-sm font-medium text-black/70 hover:text-black transition-colors",children:"[email protected]"})]})}),c.jsxs("main",{className:"max-w-5xl mx-auto px-6 py-16 md:py-24",children:[c.jsxs("div",{className:"mb-20",children:[c.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-black/5 border border-black/5 mb-6",children:[c.jsx(VN,{className:"w-4 h-4 text-black/60"}),c.jsx("span",{className:"text-xs font-semibold tracking-widest uppercase text-black/70",children:"Security Posture"})]}),c.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight mb-4 text-[#07101E]",children:"Brixely Trust Center"}),c.jsx("p",{className:"text-sm font-medium text-black/50 tracking-widest uppercase",children:"Founded in 2024"})]}),c.jsx("section",{className:"mb-24",children:c.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:$8.map((e,i)=>c.jsxs("div",{className:"bg-white p-8 rounded-2xl shadow-sm border border-black/[0.04] relative group overflow-hidden",children:[c.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-[#07101E] opacity-0 group-hover:opacity-10 transition-opacity"}),c.jsx("p",{className:"text-sm leading-relaxed text-black/70 font-medium",children:e})]},i))})}),c.jsxs("section",{className:"mb-24",children:[c.jsxs("h2",{className:"text-xl font-semibold mb-8 flex items-center gap-2 border-b border-black/5 pb-4",children:[c.jsx(Or,{className:"w-5 h-5 text-black/40"}),"Certifications & Compliance"]}),c.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:J8.map(e=>c.jsxs("div",{className:"bg-white rounded-xl border border-black/[0.04] p-6 flex flex-col items-center justify-center text-center shadow-sm hover:shadow-md transition-shadow",children:[c.jsx("div",{className:"h-20 flex items-center justify-center mb-4",children:c.jsx("img",{src:e.image,alt:e.name,className:"max-h-16 w-auto object-contain drop-shadow-sm"})}),c.jsx("h3",{className:"font-semibold text-[15px] mb-2",children:e.name}),c.jsxs("div",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-emerald-50 border border-emerald-100/50",children:[c.jsx(oN,{className:"w-3.5 h-3.5 text-emerald-600"}),c.jsx("span",{className:"text-[11px] font-bold tracking-wider uppercase text-emerald-700",children:e.status})]})]},e.name))})]}),c.jsxs("section",{className:"mb-24",children:[c.jsxs("h2",{className:"text-xl font-semibold mb-8 flex items-center gap-2 border-b border-black/5 pb-4",children:[c.jsx(Ni,{className:"w-5 h-5 text-black/40"}),"Security Controls"]}),c.jsx("div",{className:"bg-white rounded-2xl border border-black/[0.04] shadow-sm overflow-hidden",children:c.jsx(W8,{type:"multiple",className:"w-full",children:nb.map((e,i)=>c.jsxs(iE,{value:e.category,className:i===nb.length-1?"border-b-0":"border-b border-black/5",children:[c.jsx(aE,{className:"px-6 py-5 hover:bg-black/[0.01] transition-colors data-[state=open]:bg-black/[0.02]",children:c.jsx("span",{className:"text-[15px] font-semibold text-[#07101E]",children:e.category})}),c.jsx(sE,{className:"px-6 pb-6 pt-2 bg-black/[0.02]",children:c.jsx("ul",{className:"space-y-3",children:e.items.map((s,r)=>c.jsxs("li",{className:"flex items-start gap-3 text-sm text-black/70 font-medium bg-white p-3 rounded-lg border border-black/5",children:[c.jsx(Wb,{className:"w-4 h-4 text-black/30 shrink-0 mt-0.5"}),s]},r))})})]},e.category))})})]})]}),c.jsx("footer",{className:"bg-[#07101E] text-white py-12",children:c.jsxs("div",{className:"max-w-5xl mx-auto px-6 flex flex-col md:flex-row items-center justify-between gap-6",children:[c.jsx("div",{className:"flex items-center gap-3",children:c.jsx("img",{src:D8,alt:"Brixely",className:"h-5 w-auto brightness-0 invert opacity-70 select-none"})}),c.jsxs("div",{className:"flex items-center gap-6 text-[11px] font-medium tracking-widest uppercase text-white/50",children:[c.jsx($d,{href:"/privacy",className:"hover:text-white transition-colors",children:"Privacy Policy"}),c.jsx($d,{href:"/terms",className:"hover:text-white transition-colors",children:"Terms of Service"}),c.jsx("a",{href:"mailto:[email protected]",className:"hover:text-white transition-colors",children:"[email protected]"})]})]})})]})}const rE=w.forwardRef(({className:e,...i},s)=>c.jsx("div",{ref:s,className:Ie("shadcn-card rounded-xl border bg-card border-card-border text-card-foreground shadow-sm",e),...i}));
58rE.displayName="Card";const t_=w.forwardRef(({className:e,...i},s)=>c.jsx("div",{ref:s,className:Ie("flex flex-col space-y-1.5 p-6",e),...i}));t_.displayName="CardHeader";const n_=w.forwardRef(({className:e,...i},s)=>c.jsx("div",{ref:s,className:Ie("text-2xl font-semibold leading-none tracking-tight",e),...i}));n_.displayName="CardTitle";const i_=w.forwardRef(({className:e,...i},s)=>c.jsx("div",{ref:s,className:Ie("text-sm text-muted-foreground",e),...i}));i_.displayName="CardDescription";const oE=w.forwardRef(({className:e,...i},s)=>c.jsx("div",{ref:s,className:Ie("p-6 pt-0",e),...i}));oE.displayName="CardContent";const a_=w.forwardRef(({className:e,...i},s)=>c.jsx("div",{ref:s,className:Ie("flex items-center p-6 pt-0",e),...i}));a_.displayName="CardFooter";function lE(){return c.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:c.jsx(rE,{className:"w-full max-w-md mx-4",children:c.jsxs(oE,{className:"pt-6",children:[c.jsxs("div",{className:"flex mb-4 gap-2",children:[c.jsx(sN,{className:"h-8 w-8 text-red-500"}),c.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),c.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const s_=window.location.hostname==="brixely.com";function r_(){return c.jsxs(oj,{children:[c.jsx(ol,{path:"/",component:N8}),c.jsx(ol,{path:"/datacenters",component:Wk}),c.jsx(ol,{path:"/trust",component:e_}),c.jsx(ol,{component:lE})]})}function o_(){return s_?c.jsx(zj,{client:Hj,children:c.jsx(gM,{children:c.jsxs(hb,{base:"/".replace(/\/$/,""),children:[c.jsx(LR,{}),c.jsx(r_,{})]})})}):c.jsx(lE,{})}UA.createRoot(document.getElementById("root")).render(c.jsx(o_,{}));
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.