vendor: 4,949 bytes, line 1
1function d2(t,i){for(var a=0;a<i.length;a++){const r=i[a];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in t)){const u=Object.getOwnPropertyDescriptor(r,l);u&&Object.defineProperty(t,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function a(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=a(l);fetch(l.href,u)}})();function ox(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var gf={exports:{}},sr={};var Oy;function h2(){if(Oy)return sr;Oy=1;var t=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function a(r,l,u){var f=null;if(u!==void 0&&(f=""+u),l.key!==void 0&&(f=""+l.key),"key"in l){u={};for(var m in l)m!=="key"&&(u[m]=l[m])}else u=l;return l=u.ref,{$$typeof:t,type:r,key:f,ref:l!==void 0?l:null,props:u}}return sr.Fragment=i,sr.jsx=a,sr.jsxs=a,sr}var _y;function m2(){return _y||(_y=1,gf.exports=h2()),gf.exports}var h=m2(),yf={exports:{}},ar={},vf={exports:{}},xf={};var ky;function p2(){return ky||(ky=1,(function(t){function i(_,Q){var X=_.length;_.push(Q);e:for(;0<X;){var te=X-1>>>1,A=_[te];if(0<l(A,Q))_[te]=Q,_[X]=A,X=te;else break e}}function a(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var Q=_[0],X=_.pop();if(X!==Q){_[0]=X;e:for(var te=0,A=_.length,Y=A>>>1;te<Y;){var ee=2*(te+1)-1,$=_[ee],ce=ee+1,he=_[ce];if(0>l($,X))ce<A&&0>l(he,$)?(_[te]=he,_[ce]=X,te=ce):(_[te]=$,_[ee]=X,te=ee);else if(ce<A&&0>l(he,X))_[te]=he,_[ce]=X,te=ce;else break e}}return Q}function l(_,Q){var X=_.sortIndex-Q.sortIndex;return X!==0?X:_.id-Q.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,m=f.now();t.unstable_now=function(){return f.now()-m}}var g=[],p=[],y=1,x=null,b=3,T=!1,E=!1,M=!1,j=!1,C=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function L(_){for(var Q=a(p);Q!==null;){if(Q.callback===null)r(p);else if(Q.startTime<=_)r(p),Q.sortIndex=Q.expirationTime,i(g,Q);else break;Q=a(p)}}function z(_){if(M=!1,L(_),!E)if(a(g)!==null)E=!0,K||(K=!0,le());else{var Q=a(p);Q!==null&&ue(z,Q.startTime-_)}}var K=!1,Z=-1,H=5,I=-1;function W(){return j?!0:!(t.unstable_now()-I<H)}function oe(){if(j=!1,K){var _=t.unstable_now();I=_;var Q=!0;try{e:{E=!1,M&&(M=!1,k(Z),Z=-1),T=!0;var X=b;try{t:{for(L(_),x=a(g);x!==null&&!(x.expirationTime>_&&W());){var te=x.callback;if(typeof te=="function"){x.callback=null,b=x.priorityLevel;var A=te(x.expirationTime<=_);if(_=t.unstable_now(),typeof A=="function"){x.callback=A,L(_),Q=!0;break t}x===a(g)&&r(g),L(_)}else r(g);x=a(g)}if(x!==null)Q=!0;else{var Y=a(p);Y!==null&&ue(z,Y.startTime-_),Q=!1}}break e}finally{x=null,b=X,T=!1}Q=void 0}}finally{Q?le():K=!1}}}var le;if(typeof O=="function")le=function(){O(oe)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,J=ye.port2;ye.port1.onmessage=oe,le=function(){J.postMessage(null)}}else le=function(){C(oe,0)};function ue(_,Q){Z=C(function(){_(t.unstable_now())},Q)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(_){_.callback=null},t.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<_?Math.floor(1e3/_):5},t.unstable_getCurrentPriorityLevel=function(){return b},t.unstable_next=function(_){switch(b){case 1:case 2:case 3:var Q=3;break;default:Q=b}var X=b;b=Q;try{return _()}finally{b=X}},t.unstable_requestPaint=function(){j=!0},t.unstable_runWithPriority=function(_,Q){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var X=b;b=_;try{return Q()}finally{b=X}},t.unstable_scheduleCallback=function(_,Q,X){var te=t.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?te+X:te):X=te,_){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=X+A,_={id:y++,callback:Q,priorityLevel:_,startTime:X,expirationTime:A,s
vendor: 31,542 bytes, lines 1-8
1ortIndex:-1},X>te?(_.sortIndex=X,i(p,_),a(g)===null&&_===a(p)&&(M?(k(Z),Z=-1):M=!0,ue(z,X-te))):(_.sortIndex=A,i(g,_),E||T||(E=!0,K||(K=!0,le()))),_},t.unstable_shouldYield=W,t.unstable_wrapCallback=function(_){var Q=b;return function(){var X=b;b=Q;try{return _.apply(this,arguments)}finally{b=X}}}})(xf)),xf}var Py;function g2(){return Py||(Py=1,vf.exports=p2()),vf.exports}var bf={exports:{}},ve={};var Ly;function y2(){if(Ly)return ve;Ly=1;var t=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.iterator;function b(A){return A===null||typeof A!="object"?null:(A=x&&A[x]||A["@@iterator"],typeof A=="function"?A:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,M={};function j(A,Y,ee){this.props=A,this.context=Y,this.refs=M,this.updater=ee||T}j.prototype.isReactComponent={},j.prototype.setState=function(A,Y){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,Y,"setState")},j.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function C(){}C.prototype=j.prototype;function k(A,Y,ee){this.props=A,this.context=Y,this.refs=M,this.updater=ee||T}var O=k.prototype=new C;O.constructor=k,E(O,j.prototype),O.isPureReactComponent=!0;var L=Array.isArray,z={H:null,A:null,T:null,S:null,V:null},K=Object.prototype.hasOwnProperty;function Z(A,Y,ee,$,ce,he){return ee=he.ref,{$$typeof:t,type:A,key:Y,ref:ee!==void 0?ee:null,props:he}}function H(A,Y){return Z(A.type,Y,void 0,void 0,void 0,A.props)}function I(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function W(A){var Y={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ee){return Y[ee]})}var oe=/\/+/g;function le(A,Y){return typeof A=="object"&&A!==null&&A.key!=null?W(""+A.key):Y.toString(36)}function ye(){}function J(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ye,ye):(A.status="pending",A.then(function(Y){A.status==="pending"&&(A.status="fulfilled",A.value=Y)},function(Y){A.status==="pending"&&(A.status="rejected",A.reason=Y)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function ue(A,Y,ee,$,ce){var he=typeof A;(he==="undefined"||he==="boolean")&&(A=null);var re=!1;if(A===null)re=!0;else switch(he){case"bigint":case"string":case"number":re=!0;break;case"object":switch(A.$$typeof){case t:case i:re=!0;break;case y:return re=A._init,ue(re(A._payload),Y,ee,$,ce)}}if(re)return ce=ce(A),re=$===""?"."+le(A,0):$,L(ce)?(ee="",re!=null&&(ee=re.replace(oe,"$&/")+"/"),ue(ce,Y,ee,"",function(Re){return Re})):ce!=null&&(I(ce)&&(ce=H(ce,ee+(ce.key==null||A&&A.key===ce.key?"":(""+ce.key).replace(oe,"$&/")+"/")+re)),Y.push(ce)),1;re=0;var ze=$===""?".":$+":";if(L(A))for(var Ce=0;Ce<A.length;Ce++)$=A[Ce],he=ze+le($,Ce),re+=ue($,Y,ee,he,ce);else if(Ce=b(A),typeof Ce=="function")for(A=Ce.call(A),Ce=0;!($=A.next()).done;)$=$.value,he=ze+le($,Ce++),re+=ue($,Y,ee,he,ce);else if(he==="object"){if(typeof A.then=="function")return ue(J(A),Y,ee,$,ce);throw Y=String(A),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return re}function _(A,Y,ee){if(A==null)return A;var $=[],ce=0;return ue(A,$,"","",function(he){return Y.call(ee,he,ce++)}),$}function Q(A){if(A._status===-1){var Y=A._result;Y=Y(),Y.then(function(ee){(A._status===0||A._status===-1)&&(A._status=1,A._result=ee)},function(ee){(A._status===0||A._status===-1)&&(A._status=2,A._result=ee)}),A._status===-1&&(A._status=0,A._result=Y)}if(A._status===1)return A._result.default;throw A._result}var X=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function te(){}return ve.Children={map:_,forEach:function(A,Y,ee){_(A,function(){Y.apply(this,arguments)},ee)},count:function(A){var Y=0;return _(A,function(){Y++}),Y},toArray:function(A){return _(A,function(Y){return Y})||[]},only:function(A){if(!I(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},ve.Component=j,ve.Fragment=a,ve.Profiler=l,ve.PureComponent=k,ve.StrictMode=r,ve.Suspense=g,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=z,ve.__COMPILER_RUNTIME={__proto__:null,c:function(A){return z.H.useMemoCache(A)}},ve.cache=function(A){return function(){return A.apply(null,arguments)}},ve.cloneElement=function(A,Y,ee){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var $=E({},A.props),ce=A.key,he=void 0;if(Y!=null)for(re in Y.ref!==void 0&&(he=void 0),Y.key!==void 0&&(ce=""+Y.key),Y)!K.call(Y,re)||re==="key"||re==="__self"||re==="__source"||re==="ref"&&Y.ref===void 0||($[re]=Y[re]);var re=arguments.length-2;if(re===1)$.children=ee;else if(1<re){for(var ze=Array(re),Ce=0;Ce<re;Ce++)ze[Ce]=arguments[Ce+2];$.children=ze}return Z(A.type,ce,void 0,void 0,he,$)},ve.createContext=function(A){return A={$$typeof:f,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:u,_context:A},A},ve.createElement=function(A,Y,ee){var $,ce={},he=null;if(Y!=null)for($ in Y.key!==void 0&&(he=""+Y.key),Y)K.call(Y,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(ce[$]=Y[$]);var re=arguments.length-2;if(re===1)ce.children=ee;else if(1<re){for(var ze=Array(re),Ce=0;Ce<re;Ce++)ze[Ce]=arguments[Ce+2];ce.children=ze}if(A&&A.defaultProps)for($ in re=A.defaultProps,re)ce[$]===void 0&&(ce[$]=re[$]);return Z(A,he,void 0,void 0,null,ce)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(A){return{$$typeof:m,render:A}},ve.isValidElement=I,ve.lazy=function(A){return{$$typeof:y,_payload:{_status:-1,_result:A},_init:Q}},ve.memo=function(A,Y){return{$$typeof:p,type:A,compare:Y===void 0?null:Y}},ve.startTransition=function(A){var Y=z.T,ee={};z.T=ee;try{var $=A(),ce=z.S;ce!==null&&ce(ee,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(te,X)}catch(he){X(he)}finally{z.T=Y}},ve.unstable_useCacheRefresh=function(){return z.H.useCacheRefresh()},ve.use=function(A){return z.H.use(A)},ve.useActionState=function(A,Y,ee){return z.H.useActionState(A,Y,ee)},ve.useCallback=function(A,Y){return z.H.useCallback(A,Y)},ve.useContext=function(A){return z.H.useContext(A)},ve.useDebugValue=function(){},ve.useDeferredValue=function(A,Y){return z.H.useDeferredValue(A,Y)},ve.useEffect=function(A,Y,ee){var $=z.H;if(typeof ee=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return $.useEffect(A,Y)},ve.useId=function(){return z.H.useId()},ve.useImperativeHandle=function(A,Y,ee){return z.H.useImperativeHandle(A,Y,ee)},ve.useInsertionEffect=function(A,Y){return z.H.useInsertionEffect(A,Y)},ve.useLayoutEffect=function(A,Y){return z.H.useLayoutEffect(A,Y)},ve.useMemo=function(A,Y){return z.H.useMemo(A,Y)},ve.useOptimistic=function(A,Y){return z.H.useOptimistic(A,Y)},ve.useReducer=function(A,Y,ee){return z.H.useReducer(A,Y,ee)},ve.useRef=function(A){return z.H.useRef(A)},ve.useState=function(A){return z.H.useState(A)},ve.useSyncExternalStore=function(A,Y,ee){return z.H.useSyncExternalStore(A,Y,ee)},ve.useTransition=function(){return z.H.useTransition()},ve.version="19.1.0",ve}var Vy;function Ll(){return Vy||(Vy=1,bf.exports=y2()),bf.exports}var wf={exports:{}},ft={};var zy;function v2(){if(zy)return ft;zy=1;var t=Ll();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 a(){}var r={d:{f:a,r:function(){throw Error(i(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(g,p,y){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:x==null?null:""+x,children:g,containerInfo:p,implementation:y}}var f=t.__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 ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ft.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)},ft.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()}},ft.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))},ft.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},ft.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var y=p.as,x=m(y,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,T=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?r.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:b,fetchPriority:T}):y==="script"&&r.d.X(g,{crossOrigin:x,integrity:b,fetchPriority:T,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},ft.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)},ft.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,x=m(y,p.crossOrigin);r.d.L(g,y,{crossOrigin:x,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})}},ft.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)},ft.requestFormReset=function(g){r.d.r(g)},ft.unstable_batchedUpdates=function(g,p){return g(p)},ft.useFormState=function(g,p,y){return f.H.useFormState(g,p,y)},ft.useFormStatus=function(){return f.H.useHostTransitionStatus()},ft.version="19.1.0",ft}var By;function lx(){if(By)return wf.exports;By=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(i){console.error(i)}}return t(),wf.exports=v2(),wf.exports}var Uy;function x2(){if(Uy)return ar;Uy=1;var t=g2(),i=Ll(),a=lx();function r(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,s=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(s=n.return),e=n.return;while(e)}return n.tag===3?s:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(r(188))}function g(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(r(188));return n!==e?null:e}for(var s=e,o=n;;){var c=s.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){s=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===s)return m(c),e;if(d===o)return m(c),n;d=d.sibling}throw Error(r(188))}if(s.return!==o.return)s=c,o=d;else{for(var v=!1,w=c.child;w;){if(w===s){v=!0,s=c,o=d;break}if(w===o){v=!0,o=c,s=d;break}w=w.sibling}if(!v){for(w=d.child;w;){if(w===s){v=!0,s=d,o=c;break}if(w===o){v=!0,o=d,s=c;break}w=w.sibling}if(!v)throw Error(r(189))}}if(s.alternate!==o)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?e:n}function p(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=p(e),n!==null)return n;e=e.sibling}return null}var y=Object.assign,x=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),k=Symbol.for("react.consumer"),O=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),W=Symbol.for("react.memo_cache_sentinel"),oe=Symbol.iterator;function le(e){return e===null||typeof e!="object"?null:(e=oe&&e[oe]||e["@@iterator"],typeof e=="function"?e:null)}var ye=Symbol.for("react.client.reference");function J(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ye?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case j:return"Profiler";case M:return"StrictMode";case z:return"Suspense";case K:return"SuspenseList";case I:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case O:return(e.displayName||"Context")+".Provider";case k:return(e._context.displayName||"Context")+".Consumer";case L:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return n=e.displayName||null,n!==null?n:J(e.type)||"Memo";case H:n=e._payload,e=e._init;try{return J(e(n))}catch{}}return null}var ue=Array.isArray,_=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},te=[],A=-1;function Y(e){return{current:e}}function ee(e){0>A||(e.current=te[A],te[A]=null,A--)}function $(e,n){A++,te[A]=e.current,e.current=n}var ce=Y(null),he=Y(null),re=Y(null),ze=Y(null);function Ce(e,n){switch($(re,n),$(he,e),$(ce,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?ry(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=ry(n),e=oy(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ee(ce),$(ce,e)}function Re(){ee(ce),ee(he),ee(re)}function qn(e){e.memoizedState!==null&&$(ze,e);var n=ce.current,s=oy(n,e.type);n!==s&&($(he,e),$(ce,s))}function Wt(e){he.current===e&&(ee(ce),ee(he)),ze.current===e&&(ee(ze),Ja._currentValue=X)}var un=Object.prototype.hasOwnProperty,Vt=t.unstable_scheduleCallback,Yn=t.unstable_cancelCallback,Gw=t.unstable_shouldYield,Xw=t.unstable_requestPaint,fn=t.unstable_now,Fw=t.unstable_getCurrentPriorityLevel,Uh=t.unstable_ImmediatePriority,Hh=t.unstable_UserBlockingPriority,_r=t.unstable_NormalPriority,Kw=t.unstable_LowPriority,qh=t.unstable_IdlePriority,Qw=t.log,Zw=t.unstable_setDisableYieldValue,oa=null,Et=null;function Gn(e){if(typeof Qw=="function"&&Zw(e),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode(oa,e)}catch{}}var jt=Math.clz32?Math.clz32:$w,Ww=Math.log,Iw=Math.LN2;function $w(e){return e>>>=0,e===0?32:31-(Ww(e)/Iw|0)|0}var kr=256,Pr=4194304;function Ri(e){var n=e&42;if(n!==0)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Lr(e,n,s){var o=e.pendingLanes;if(o===0)return 0;var c=0,d=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var w=o&134217727;return w!==0?(o=w&~d,o!==0?c=Ri(o):(v&=w,v!==0?c=Ri(v):s||(s=w&~e,s!==0&&(c=Ri(s))))):(w=o&~d,w!==0?c=Ri(w):v!==0?c=Ri(v):s||(s=o&~e,s!==0&&(c=Ri(s)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,s=n&-n,d>=s||d===32&&(s&4194048)!==0)?n:c}function la(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Jw(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Yh(){var e=kr;return kr<<=1,(kr&4194048)===0&&(kr=256),e}function Gh(){var e=Pr;return Pr<<=1,(Pr&62914560)===0&&(Pr=4194304),e}function sc(e){for(var n=[],s=0;31>s;s++)n.push(e);return n}function ca(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eS(e,n,s,o,c,d){var v=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var w=e.entanglements,R=e.expirationTimes,V=e.hiddenUpdates;for(s=v&~s;0<s;){var q=31-jt(s),F=1<<q;w[q]=0,R[q]=-1;var B=V[q];if(B!==null)for(V[q]=null,q=0;q<B.length;q++){var U=B[q];U!==null&&(U.lane&=-536870913)}s&=~F}o!==0&&Xh(e,o,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(v&~n))}function Xh(e,n,s){e.pendingLanes|=n,e.suspendedLanes&=~n;var o=31-jt(n);e.entangledLanes|=n,e.entanglements[o]=e.entanglements[o]|1073741824|s&4194090}function Fh(e,n){var s=e.entangledLanes|=n;for(e=e.entanglements;s;){var o=31-jt(s),c=1<<o;c&n|e[o]&n&&(e[o]|=n),s&=~c}}function ac(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function rc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Kh(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:jy(e.type))}function tS(e,n){var s=Q.p;try{return Q.p=e,n()}finally{Q.p=s}}var Xn=Math.random().toString(36).slice(2),ct="__reactFiber$"+Xn,yt="__reactProps$"+Xn,as="__reactContainer$"+Xn,oc="__reactEvents$"+Xn,nS="__reactListeners$"+Xn,iS="__reactHandles$"+Xn,Qh="__reactResources$"+Xn,ua="__reactMarker$"+Xn;function lc(e){delete e[ct],delete e[yt],delete e[oc],delete e[nS],delete e[iS]}function rs(e){var n=e[ct];if(n)return n;for(var s=e.parentNode;s;){if(n=s[as]||s[ct]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(e=fy(e);e!==null;){if(s=e[ct])return s;e=fy(e)}return n}e=s,s=e.parentNode}return null}function os(e){if(e=e[ct]||e[as]){var n=e.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return e}return null}function fa(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(r(33))}function ls(e){var n=e[Qh];return n||(n=e[Qh]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function et(e){e[ua]=!0}var Zh=new Set,Wh={};function Ni(e,n){cs(e,n),cs(e+"Capture",n)}function cs(e,n){for(Wh[e]=n,e=0;e<n.length;e++)Zh.add(n[e])}var sS=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ih={},$h={};function aS(e){return un.call($h,e)?!0:un.call(Ih,e)?!1:sS.test(e)?$h[e]=!0:(Ih[e]=!0,!1)}function Vr(e,n,s){if(aS(n))if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+s)}}function zr(e,n,s){if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+s)}}function Tn(e,n,s,o){if(o===null)e.removeAttribute(s);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(s);return}e.setAttributeNS(n,s,""+o)}}var cc,Jh;function us(e){if(cc===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);cc=n&&n[1]||"",Jh=-1<s.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+cc+e+Jh}var uc=!1;function fc(e,n){if(!e||uc)return"";uc=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(U){var B=U}Reflect.construct(e,[],F)}else{try{F.call()}catch(U){B=U}e.call(F.prototype)}}else{try{throw Error()}catch(U){B=U}(F=e())&&typeof F.catch=="function"&&F.catch(function(){})}}catch(U){if(U&&B&&typeof U.stack=="string")return[U.stack,B.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),v=d[0],w=d[1];if(v&&w){var R=v.split(` 4`),V=w.split(` 5`);for(c=o=0;o<R.length&&!R[o].includes("DetermineComponentFrameRoot");)o++;for(;c<V.length&&!V[c].includes("DetermineComponentFrameRoot");)c++;if(o===R.length||c===V.length)for(o=R.length-1,c=V.length-1;1<=o&&0<=c&&R[o]!==V[c];)c--;for(;1<=o&&0<=c;o--,c--)if(R[o]!==V[c]){if(o!==1||c!==1)do if(o--,c--,0>c||R[o]!==V[c]){var q=` 6`+R[o].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=o&&0<=c);break}}}finally{uc=!1,Error.prepareStackTrace=s}return(s=e?e.displayName||e.name:"")?us(s):""}function rS(e){switch(e.tag){case 26:case 27:case 5:return us(e.type);case 16:return us("Lazy");case 13:return us("Suspense");case 19:return us("SuspenseList");case 0:case 15:return fc(e.type,!1);case 11:return fc(e.type.render,!1);case 1:return fc(e.type,!0);case 31:return us("Activity");default:return""}}function em(e){try{var n="";do n+=rS(e),e=e.return;while(e);return n}catch(s){return` 7Error generating stack: `+s.message+` 8`+s.stack}}function zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tm(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function oS(e){var n=tm(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),o=""+e[n];if(!e.hasOwnProperty(n)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var c=s.get,d=s.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(v){o=""+v,d.call(this,v)}}),Object.defineProperty(e,n,{enumerable:s.enumerable}),{getValue:function(){return o},setValue:function(v){o=""+v},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Br(e){e._valueTracker||(e._valueTracker=oS(e))}function nm(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var s=n.getValue(),o="";return e&&(o=tm(e)?e.checked?"true":"false":e.value),e=o,e!==s?(n.setValue(e),!0):!1}function Ur(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var lS=/[\n"\\]/g;function Bt(e){return e.replace(lS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function dc(e,n,s,o,c,d,v,w){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),n!=null?v==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+zt(n)):e.value!==""+zt(n)&&(e.value=""+zt(n)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),n!=null?hc(e,v,zt(n)):s!=null?hc(e,v,zt(s)):o!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+zt(w):e.removeAttribute("name")}function im(e,n,s,o,c,d,v,w){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||s!=null){if(!(d!=="submit"&&d!=="reset"||n!=null))return;s=s!=null?""+zt(s):"",n=n!=null?""+zt(n):s,w||n===e.value||(e.value=n),e.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=w?e.checked:!!o,e.defaultChecked=!!o,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v)}function hc(e,n,s){n==="number"&&Ur(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function fs(e,n,s,o){if(e=e.options,n){n={};for(var c=0;c<s.length;c++)n["$"+s[c]]=!0;for(s=0;s<e.length;s++)c=n.hasOwnProperty("$"+e[s].value),e[s].selected!==c&&(e[s].selected=c),c&&o&&(e[s].defaultSelected=!0)}else{for(s=""+zt(s),n=null,c=0;c<e.length;c++){if(e[c].value===s){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function sm(e,n,s){if(n!=null&&(n=""+zt(n),n!==e.value&&(e.value=n),s==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=s!=null?""+zt(s):""}function am(e,n,s,o){if(n==null){if(o!=null){if(s!=null)throw Error(r(92));if(ue(o)){if(1<o.length)throw Error(r(93));o=o[0]}s=o}s==null&&(s=""),n=s}s=zt(n),e.defaultValue=s,o=e.textContent,o===s&&o!==""&&o!==null&&(e.value=o)}function ds(e,n){if(n){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=n;return}}e.textContent=n}var cS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function rm(e,n,s){var o=n.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?o?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":o?e.setProperty(n,s):typeof s!="number"||s===0||cS.has(n)?n==="float"?e.cssFloat=s:e[n]=(""+s).trim():e[n]=s+"px"}function om(e,n,s){if(n!=null&&typeof n!="object")throw Error(r(62));if(e=e.style,s!=null){for(var o in s)!s.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&s[c]!==o&&rm(e,c,o)}else for(var d in n)n.hasOwnProperty(d)&&rm(e,d,n[d])}function mc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var uS=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
8-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"]]),fS=/^[\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 Hr(e){return fS.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var pc=null;function gc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hs=null,ms=null;function lm(e){var n=os(e);if(n&&(e=n.stateNode)){var s=e[yt]||null;e:switch(e=n.stateNode,n.type){case"input":if(dc(e,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),n=s.name,s.type==="radio"&&n!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Bt(""+n)+'"][type="radio"]'),n=0;n<s.length;n++){var o=s[n];if(o!==e&&o.form===e.form){var c=o[yt]||null;if(!c)throw Error(r(90));dc(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<s.length;n++)o=s[n],o.form===e.form&&nm(o)}break e;case"textarea":sm(e,s.value,s.defaultValue);break e;case"select":n=s.value,n!=null&&fs(e,!!s.multiple,n,!1)}}}var yc=!1;function cm(e,n,s){if(yc)return e(n,s);yc=!0;try{var o=e(n);return o}finally{if(yc=!1,(hs!==null||ms!==null)&&(Mo(),hs&&(n=hs,e=ms,ms=hs=null,lm(n),e)))for(n=0;n<e.length;n++)lm(e[n])}}
vendor: 7,634 bytes, line 8
8function da(e,n){var s=e.stateNode;if(s===null)return null;var o=s[yt]||null;if(o===null)return null;s=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(r(231,n,typeof s));return s}var An=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vc=!1;if(An)try{var ha={};Object.defineProperty(ha,"passive",{get:function(){vc=!0}}),window.addEventListener("test",ha,ha),window.removeEventListener("test",ha,ha)}catch{vc=!1}var Fn=null,xc=null,qr=null;function um(){if(qr)return qr;var e,n=xc,s=n.length,o,c="value"in Fn?Fn.value:Fn.textContent,d=c.length;for(e=0;e<s&&n[e]===c[e];e++);var v=s-e;for(o=1;o<=v&&n[s-o]===c[d-o];o++);return qr=c.slice(e,1<o?1-o:void 0)}function Yr(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Gr(){return!0}function fm(){return!1}function vt(e){function n(s,o,c,d,v){this._reactName=s,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(s=e[w],this[w]=s?s(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Gr:fm,this.isPropagationStopped=fm,this}return y(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Gr)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Gr)},persist:function(){},isPersistent:Gr}),n}var Di={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xr=vt(Di),ma=y({},Di,{view:0,detail:0}),dS=vt(ma),bc,wc,pa,Fr=y({},ma,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==pa&&(pa&&e.type==="mousemove"?(bc=e.screenX-pa.screenX,wc=e.screenY-pa.screenY):wc=bc=0,pa=e),bc)},movementY:function(e){return"movementY"in e?e.movementY:wc}}),dm=vt(Fr),hS=y({},Fr,{dataTransfer:0}),mS=vt(hS),pS=y({},ma,{relatedTarget:0}),Sc=vt(pS),gS=y({},Di,{animationName:0,elapsedTime:0,pseudoElement:0}),yS=vt(gS),vS=y({},Di,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xS=vt(vS),bS=y({},Di,{data:0}),hm=vt(bS),wS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},SS={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"},TS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function AS(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=TS[e])?!!n[e]:!1}function Tc(){return AS}var ES=y({},ma,{key:function(e){if(e.key){var n=wS[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Yr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?SS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tc,charCode:function(e){return e.type==="keypress"?Yr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Yr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jS=vt(ES),MS=y({},Fr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mm=vt(MS),CS=y({},ma,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tc}),RS=vt(CS),NS=y({},Di,{propertyName:0,elapsedTime:0,pseudoElement:0}),DS=vt(NS),OS=y({},Fr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_S=vt(OS),kS=y({},Di,{newState:0,oldState:0}),PS=vt(kS),LS=[9,13,27,32],Ac=An&&"CompositionEvent"in window,ga=null;An&&"documentMode"in document&&(ga=document.documentMode);var VS=An&&"TextEvent"in window&&!ga,pm=An&&(!Ac||ga&&8<ga&&11>=ga),gm=" ",ym=!1;function vm(e,n){switch(e){case"keyup":return LS.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ps=!1;function zS(e,n){switch(e){case"compositionend":return xm(n);case"keypress":return n.which!==32?null:(ym=!0,gm);case"textInput":return e=n.data,e===gm&&ym?null:e;default:return null}}function BS(e,n){if(ps)return e==="compositionend"||!Ac&&vm(e,n)?(e=um(),qr=xc=Fn=null,ps=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return pm&&n.locale!=="ko"?null:n.data;default:return null}}var US={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 bm(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!US[e.type]:n==="textarea"}function wm(e,n,s,o){hs?ms?ms.push(o):ms=[o]:hs=o,n=_o(n,"onChange"),0<n.length&&(s=new Xr("onChange","change",null,s,o),e.push({event:s,listeners:n}))}var ya=null,va=null;function HS(e){ty(e,0)}function Kr(e){var n=fa(e);if(nm(n))return e}function Sm(e,n){if(e==="change")return n}var Tm=!1;if(An){var Ec;if(An){var jc="oninput"in document;if(!jc){var Am=document.createElement("div");Am.setAttribute("oninput","return;"),jc=typeof Am.oninput=="function"}Ec=jc}else Ec=!1;Tm=Ec&&(!document.documentMode||9<document.documentMode)}function Em(){ya&&(ya.detachEvent("onpropertychange",jm),va=ya=null)}function jm(e){if(e.propertyName==="value"&&Kr(va)){var n=[];wm(n,va,e,gc(e)),cm(HS,n)}}function qS(e,n,s){e==="focusin"?(Em(),ya=n,va=s,ya.attachEvent("onpropertychange",jm)):e==="focusout"&&Em()}function YS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Kr(va)}function GS(e,n){if(e==="click")return Kr(n)}function XS(e,n){if(e==="input"||e==="change")return Kr(n)}function FS(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Mt=typeof Object.is=="function"?Object.is:FS;function xa(e,n){if(Mt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var s=Object.keys(e),o=Object.keys(n);if(s.length!==o.length)return!1;for(o=0;o<s.length;o++){var c=s[o];
vendor: 97,729 bytes, line 8
8if(!un.call(n,c)||!Mt(e[c],n[c]))return!1}return!0}function Mm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cm(e,n){var s=Mm(e);e=0;for(var o;s;){if(s.nodeType===3){if(o=e+s.textContent.length,e<=n&&o>=n)return{node:s,offset:n-e};e=o}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Mm(s)}}function Rm(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Rm(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Nm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=Ur(e.document);n instanceof e.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)e=n.contentWindow;else break;n=Ur(e.document)}return n}function Mc(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var KS=An&&"documentMode"in document&&11>=document.documentMode,gs=null,Cc=null,ba=null,Rc=!1;function Dm(e,n,s){var o=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Rc||gs==null||gs!==Ur(o)||(o=gs,"selectionStart"in o&&Mc(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}),ba&&xa(ba,o)||(ba=o,o=_o(Cc,"onSelect"),0<o.length&&(n=new Xr("onSelect","select",null,n,s),e.push({event:n,listeners:o}),n.target=gs)))}function Oi(e,n){var s={};return s[e.toLowerCase()]=n.toLowerCase(),s["Webkit"+e]="webkit"+n,s["Moz"+e]="moz"+n,s}var ys={animationend:Oi("Animation","AnimationEnd"),animationiteration:Oi("Animation","AnimationIteration"),animationstart:Oi("Animation","AnimationStart"),transitionrun:Oi("Transition","TransitionRun"),transitionstart:Oi("Transition","TransitionStart"),transitioncancel:Oi("Transition","TransitionCancel"),transitionend:Oi("Transition","TransitionEnd")},Nc={},Om={};An&&(Om=document.createElement("div").style,"AnimationEvent"in window||(delete ys.animationend.animation,delete ys.animationiteration.animation,delete ys.animationstart.animation),"TransitionEvent"in window||delete ys.transitionend.transition);function _i(e){if(Nc[e])return Nc[e];if(!ys[e])return e;var n=ys[e],s;for(s in n)if(n.hasOwnProperty(s)&&s in Om)return Nc[e]=n[s];return e}var _m=_i("animationend"),km=_i("animationiteration"),Pm=_i("animationstart"),QS=_i("transitionrun"),ZS=_i("transitionstart"),WS=_i("transitioncancel"),Lm=_i("transitionend"),Vm=new Map,Dc="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(" ");Dc.push("scrollEnd");function It(e,n){Vm.set(e,n),Ni(n,[e])}var zm=new WeakMap;function Ut(e,n){if(typeof e=="object"&&e!==null){var s=zm.get(e);return s!==void 0?s:(n={value:e,source:n,stack:em(n)},zm.set(e,n),n)}return{value:e,source:n,stack:em(n)}}var Ht=[],vs=0,Oc=0;function Qr(){for(var e=vs,n=Oc=vs=0;n<e;){var s=Ht[n];Ht[n++]=null;var o=Ht[n];Ht[n++]=null;var c=Ht[n];Ht[n++]=null;var d=Ht[n];if(Ht[n++]=null,o!==null&&c!==null){var v=o.pending;v===null?c.next=c:(c.next=v.next,v.next=c),o.pending=c}d!==0&&Bm(s,c,d)}}function Zr(e,n,s,o){Ht[vs++]=e,Ht[vs++]=n,Ht[vs++]=s,Ht[vs++]=o,Oc|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function _c(e,n,s,o){return Zr(e,n,s,o),Wr(e)}function xs(e,n){return Zr(e,null,null,n),Wr(e)}function Bm(e,n,s){e.lanes|=s;var o=e.alternate;o!==null&&(o.lanes|=s);for(var c=!1,d=e.return;d!==null;)d.childLanes|=s,o=d.alternate,o!==null&&(o.childLanes|=s),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&n!==null&&(c=31-jt(s),e=d.hiddenUpdates,o=e[c],o===null?e[c]=[n]:o.push(n),n.lane=s|536870912),d):null}function Wr(e){if(50<Xa)throw Xa=0,Bu=null,Error(r(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var bs={};function IS(e,n,s,o){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ct(e,n,s,o){return new IS(e,n,s,o)}function kc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function En(e,n){var s=e.alternate;return s===null?(s=Ct(e.tag,n,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=n,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&65011712,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,n=e.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.refCleanup=e.refCleanup,s}function Um(e,n){e.flags&=65011714;var s=e.alternate;return s===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type,n=s.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function Ir(e,n,s,o,c,d){var v=0;if(o=e,typeof e=="function")kc(e)&&(v=1);else if(typeof e=="string")v=JT(e,s,ce.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case I:return e=Ct(31,s,n,c),e.elementType=I,e.lanes=d,e;case E:return ki(s.children,c,d,n);case M:v=8,c|=24;break;case j:return e=Ct(12,s,n,c|2),e.elementType=j,e.lanes=d,e;case z:return e=Ct(13,s,n,c),e.elementType=z,e.lanes=d,e;case K:return e=Ct(19,s,n,c),e.elementType=K,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case C:case O:v=10;break e;case k:v=9;break e;case L:v=11;break e;case Z:v=14;break e;case H:v=16,o=null;break e}v=29,s=Error(r(130,e===null?"null":typeof e,"")),o=null}return n=Ct(v,s,n,c),n.elementType=e,n.type=o,n.lanes=d,n}function ki(e,n,s,o){return e=Ct(7,e,o,n),e.lanes=s,e}function Pc(e,n,s){return e=Ct(6,e,null,n),e.lanes=s,e}function Lc(e,n,s){return n=Ct(4,e.children!==null?e.children:[],e.key,n),n.lanes=s,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var ws=[],Ss=0,$r=null,Jr=0,qt=[],Yt=0,Pi=null,jn=1,Mn="";function Li(e,n){ws[Ss++]=Jr,ws[Ss++]=$r,$r=e,Jr=n}function Hm(e,n,s){qt[Yt++]=jn,qt[Yt++]=Mn,qt[Yt++]=Pi,Pi=e;var o=jn;e=Mn;var c=32-jt(o)-1;o&=~(1<<c),s+=1;var d=32-jt(n)+c;if(30<d){var v=c-c%5;d=(o&(1<<v)-1).toString(32),o>>=v,c-=v,jn=1<<32-jt(n)+c|s<<c|o,Mn=d+e}else jn=1<<d|s<<c|o,Mn=e}function Vc(e){e.return!==null&&(Li(e,1),Hm(e,1,0))}function zc(e){for(;e===$r;)$r=ws[--Ss],ws[Ss]=null,Jr=ws[--Ss],ws[Ss]=null;for(;e===Pi;)Pi=qt[--Yt],qt[Yt]=null,Mn=qt[--Yt],qt[Yt]=null,jn=qt[--Yt],qt[Yt]=null}var ht=null,He=null,Me=!1,Vi=null,dn=!1,Bc=Error(r(519));function zi(e){var n=Error(r(418,""));throw Ta(Ut(n,e)),Bc}function qm(e){var n=e.stateNode,s=e.type,o=e.memoizedProps;switch(n[ct]=e,n[yt]=o,s){case"dialog":Te("cancel",n),Te("close",n);break;case"iframe":case"object":case"embed":Te("load",n);break;case"video":case"audio":for(s=0;s<Ka.length;s++)Te(Ka[s],n);break;case"source":Te("error",n);break;case"img":case"image":case"link":Te("error",n),Te("load",n);break;case"details":Te("toggle",n);break;case"input":Te("invalid",n),im(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Br(n);break;case"select":Te("invalid",n);break;case"textarea":Te("invalid",n),am(n,o.value,o.defaultValue,o.children),Br(n)}s=o.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||n.textContent===""+s||o.suppressHydrationWarning===!0||ay(n.textContent,s)?(o.popover!=null&&(Te("beforetoggle",n),Te("toggle",n)),o.onScroll!=null&&Te("scroll",n),o.onScrollEnd!=null&&Te("scrollend",n),o.onClick!=null&&(n.onclick=ko),n=!0):n=!1,n||zi(e)}function Ym(e){for(ht=e.return;ht;)switch(ht.tag){case 5:case 13:dn=!1;return;case 27:case 3:dn=!0;return;default:ht=ht.return}}function wa(e){if(e!==ht)return!1;if(!Me)return Ym(e),Me=!0,!1;var n=e.tag,s;if((s=n!==3&&n!==27)&&((s=n===5)&&(s=e.type,s=!(s!=="form"&&s!=="button")||tf(e.type,e.memoizedProps)),s=!s),s&&He&&zi(e),Ym(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8)if(s=e.data,s==="/$"){if(n===0){He=Jt(e.nextSibling);break e}n--}else s!=="$"&&s!=="$!"&&s!=="$?"||n++;e=e.nextSibling}He=null}}else n===27?(n=He,li(e.type)?(e=rf,rf=null,He=e):He=n):He=ht?Jt(e.stateNode.nextSibling):null;return!0}function Sa(){He=ht=null,Me=!1}function Gm(){var e=Vi;return e!==null&&(wt===null?wt=e:wt.push.apply(wt,e),Vi=null),e}function Ta(e){Vi===null?Vi=[e]:Vi.push(e)}var Uc=Y(null),Bi=null,Cn=null;function Kn(e,n,s){$(Uc,n._currentValue),n._currentValue=s}function Rn(e){e._currentValue=Uc.current,ee(Uc)}function Hc(e,n,s){for(;e!==null;){var o=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),e===s)break;e=e.return}}function qc(e,n,s,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var v=c.child;d=d.firstContext;e:for(;d!==null;){var w=d;d=c;for(var R=0;R<n.length;R++)if(w.context===n[R]){d.lanes|=s,w=d.alternate,w!==null&&(w.lanes|=s),Hc(d.return,s,e),o||(v=null);break e}d=w.next}}else if(c.tag===18){if(v=c.return,v===null)throw Error(r(341));v.lanes|=s,d=v.alternate,d!==null&&(d.lanes|=s),Hc(v,s,e),v=null}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===e){v=null;break}if(c=v.sibling,c!==null){c.return=v.return,v=c;break}v=v.return}c=v}}function Aa(e,n,s,o){e=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var v=c.alternate;if(v===null)throw Error(r(387));if(v=v.memoizedProps,v!==null){var w=c.type;Mt(c.pendingProps.value,v.value)||(e!==null?e.push(w):e=[w])}}else if(c===ze.current){if(v=c.alternate,v===null)throw Error(r(387));v.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Ja):e=[Ja])}c=c.return}e!==null&&qc(n,e,s,o),n.flags|=262144}function eo(e){for(e=e.firstContext;e!==null;){if(!Mt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ui(e){Bi=e,Cn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ut(e){return Xm(Bi,e)}function to(e,n){return Bi===null&&Ui(e),Xm(e,n)}function Xm(e,n){var s=n._currentValue;if(n={context:n,memoizedValue:s,next:null},Cn===null){if(e===null)throw Error(r(308));Cn=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Cn=Cn.next=n;return s}var $S=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(s,o){e.push(o)}};this.abort=function(){n.aborted=!0,e.forEach(function(s){return s()})}},JS=t.unstable_scheduleCallback,eT=t.unstable_NormalPriority,Ze={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yc(){return{controller:new $S,data:new Map,refCount:0}}function Ea(e){e.refCount--,e.refCount===0&&JS(eT,function(){e.controller.abort()})}var ja=null,Gc=0,Ts=0,As=null;function tT(e,n){if(ja===null){var s=ja=[];Gc=0,Ts=Fu(),As={status:"pending",value:void 0,then:function(o){s.push(o)}}}return Gc++,n.then(Fm,Fm),n}function Fm(){if(--Gc===0&&ja!==null){As!==null&&(As.status="fulfilled");var e=ja;ja=null,Ts=0,As=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function nT(e,n){var s=[],o={status:"pending",value:null,reason:null,then:function(c){s.push(c)}};return e.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<s.length;c++)(0,s[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<s.length;c++)(0,s[c])(void 0)}),o}var Km=_.S;_.S=function(e,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&tT(e,n),Km!==null&&Km(e,n)};var Hi=Y(null);function Xc(){var e=Hi.current;return e!==null?e:Le.pooledCache}function no(e,n){n===null?$(Hi,Hi.current):$(Hi,n.pool)}function Qm(){var e=Xc();return e===null?null:{parent:Ze._currentValue,pool:e}}var Ma=Error(r(460)),Zm=Error(r(474)),io=Error(r(542)),Fc={then:function(){}};function Wm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function so(){}function Im(e,n,s){switch(s=e[s],s===void 0?e.push(n):s!==n&&(n.then(so,so),n=s),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Jm(e),e;default:if(typeof n.status=="string")n.then(so,so);else{if(e=Le,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=n,e.status="pending",e.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Jm(e),e}throw Ca=n,Ma}}var Ca=null;function $m(){if(Ca===null)throw Error(r(459));var e=Ca;return Ca=null,e}function Jm(e){if(e===Ma||e===io)throw Error(r(483))}var Qn=!1;function Kc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qc(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Zn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wn(e,n,s){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Ne&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=Wr(e),Bm(e,null,s),n}return Zr(e,o,n,s),Wr(e)}function Ra(e,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,s|=o,n.lanes=s,Fh(e,s)}}function Zc(e,n){var s=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,s===o)){var c=null,d=null;if(s=s.firstBaseUpdate,s!==null){do{var v={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};d===null?c=d=v:d=d.next=v,s=s.next}while(s!==null);d===null?c=d=n:d=d.next=n}else c=d=n;s={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=n:e.next=n,s.lastBaseUpdate=n}var Wc=!1;function Na(){if(Wc){var e=As;if(e!==null)throw e}}function Da(e,n,s,o){Wc=!1;var c=e.updateQueue;Qn=!1;var d=c.firstBaseUpdate,v=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var R=w,V=R.next;R.next=null,v===null?d=V:v.next=V,v=R;var q=e.alternate;q!==null&&(q=q.updateQueue,w=q.lastBaseUpdate,w!==v&&(w===null?q.firstBaseUpdate=V:w.next=V,q.lastBaseUpdate=R))}if(d!==null){var F=c.baseState;v=0,q=V=R=null,w=d;do{var B=w.lane&-536870913,U=B!==w.lane;if(U?(Ae&B)===B:(o&B)===B){B!==0&&B===Ts&&(Wc=!0),q!==null&&(q=q.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var ge=e,de=w;B=n;var ke=s;switch(de.tag){case 1:if(ge=de.payload,typeof ge=="function"){F=ge.call(ke,F,B);break e}F=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=de.payload,B=typeof ge=="function"?ge.call(ke,F,B):ge,B==null)break e;F=y({},F,B);break e;case 2:Qn=!0}}B=w.callback,B!==null&&(e.flags|=64,U&&(e.flags|=8192),U=c.callbacks,U===null?c.callbacks=[B]:U.push(B))}else U={lane:B,tag:w.tag,payload:w.payload,callback:w.callback,next:null},q===null?(V=q=U,R=F):q=q.next=U,v|=B;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;U=w,w=U.next,U.next=null,c.lastBaseUpdate=U,c.shared.pending=null}}while(!0);q===null&&(R=F),c.baseState=R,c.firstBaseUpdate=V,c.lastBaseUpdate=q,d===null&&(c.shared.lanes=0),si|=v,e.lanes=v,e.memoizedState=F}}function ep(e,n){if(typeof e!="function")throw Error(r(191,e));e.call(n)}function tp(e,n){var s=e.callbacks;if(s!==null)for(e.callbacks=null,e=0;e<s.length;e++)ep(s[e],n)}var Es=Y(null),ao=Y(0);function np(e,n){e=Ln,$(ao,e),$(Es,n),Ln=e|n.baseLanes}function Ic(){$(ao,Ln),$(Es,Es.current)}function $c(){Ln=ao.current,ee(Es),ee(ao)}var In=0,xe=null,Oe=null,Fe=null,ro=!1,js=!1,qi=!1,oo=0,Oa=0,Ms=null,iT=0;function Ge(){throw Error(r(321))}function Jc(e,n){if(n===null)return!1;for(var s=0;s<n.length&&s<e.length;s++)if(!Mt(e[s],n[s]))return!1;return!0}function eu(e,n,s,o,c,d){return In=d,xe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,_.H=e===null||e.memoizedState===null?Bp:Up,qi=!1,d=s(o,c),qi=!1,js&&(d=sp(n,s,o,c)),ip(e),d}function ip(e){_.H=mo;var n=Oe!==null&&Oe.next!==null;if(In=0,Fe=Oe=xe=null,ro=!1,Oa=0,Ms=null,n)throw Error(r(300));e===null||tt||(e=e.dependencies,e!==null&&eo(e)&&(tt=!0))}function sp(e,n,s,o){xe=e;var c=0;do{if(js&&(Ms=null),Oa=0,js=!1,25<=c)throw Error(r(301));if(c+=1,Fe=Oe=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}_.H=uT,d=n(s,o)}while(js);return d}function sT(){var e=_.H,n=e.useState()[0];return n=typeof n.then=="function"?_a(n):n,e=e.useState()[0],(Oe!==null?Oe.memoizedState:null)!==e&&(xe.flags|=1024),n}function tu(){var e=oo!==0;return oo=0,e}function nu(e,n,s){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~s}function iu(e){if(ro){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}ro=!1}In=0,Fe=Oe=xe=null,js=!1,Oa=oo=0,Ms=null}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?xe.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Ke(){if(Oe===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var n=Fe===null?xe.memoizedState:Fe.next;if(n!==null)Fe=n,Oe=e;else{if(e===null)throw xe.alternate===null?Error(r(467)):Error(r(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},Fe===null?xe.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function su(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _a(e){var n=Oa;return Oa+=1,Ms===null&&(Ms=[]),e=Im(Ms,e,n),n=xe,(Fe===null?n.memoizedState:Fe.next)===null&&(n=n.alternate,_.H=n===null||n.memoizedState===null?Bp:Up),e}function lo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return _a(e);if(e.$$typeof===O)return ut(e)}throw Error(r(438,String(e)))}function au(e){var n=null,s=xe.updateQueue;if(s!==null&&(n=s.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(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),s===null&&(s=su(),xe.updateQueue=s),s.memoCache=n,s=n.data[n.index],s===void 0)for(s=n.data[n.index]=Array(e),o=0;o<e;o++)s[o]=W;return n.index++,s}function Nn(e,n){return typeof n=="function"?n(e):n}function co(e){var n=Ke();return ru(n,Oe,e)}function ru(e,n,s){var o=e.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=s;var c=e.baseQueue,d=o.pending;if(d!==null){if(c!==null){var v=c.next;c.next=d.next,d.next=v}n.baseQueue=c=d,o.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{n=c.next;var w=v=null,R=null,V=n,q=!1;do{var F=V.lane&-536870913;if(F!==V.lane?(Ae&F)===F:(In&F)===F){var B=V.revertLane;if(B===0)R!==null&&(R=R.next={lane:0,revertLane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),F===Ts&&(q=!0);else if((In&B)===B){V=V.next,B===Ts&&(q=!0);continue}else F={lane:0,revertLane:V.revertLane,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},R===null?(w=R=F,v=d):R=R.next=F,xe.lanes|=B,si|=B;F=V.action,qi&&s(d,F),d=V.hasEagerState?V.eagerState:s(d,F)}else B={lane:F,revertLane:V.revertLane,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},R===null?(w=R=B,v=d):R=R.next=B,xe.lanes|=F,si|=F;V=V.next}while(V!==null&&V!==n);if(R===null?v=d:R.next=w,!Mt(d,e.memoizedState)&&(tt=!0,q&&(s=As,s!==null)))throw s;e.memoizedState=d,e.baseState=v,e.baseQueue=R,o.lastRenderedState=d}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function ou(e){var n=Ke(),s=n.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=e;var o=s.dispatch,c=s.pending,d=n.memoizedState;if(c!==null){s.pending=null;var v=c=c.next;do d=e(d,v.action),v=v.next;while(v!==c);Mt(d,n.memoizedState)||(tt=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),s.lastRenderedState=d}return[d,o]}function ap(e,n,s){var o=xe,c=Ke(),d=Me;if(d){if(s===void 0)throw Error(r(407));s=s()}else s=n();var v=!Mt((Oe||c).memoizedState,s);v&&(c.memoizedState=s,tt=!0),c=c.queue;var w=lp.bind(null,o,c,e);if(ka(2048,8,w,[e]),c.getSnapshot!==n||v||Fe!==null&&Fe.memoizedState.tag&1){if(o.flags|=2048,Cs(9,uo(),op.bind(null,o,c,s,n),null),Le===null)throw Error(r(349));d||(In&124)!==0||rp(o,n,s)}return s}function rp(e,n,s){e.flags|=16384,e={getSnapshot:n,value:s},n=xe.updateQueue,n===null?(n=su(),xe.updateQueue=n,n.stores=[e]):(s=n.stores,s===null?n.stores=[e]:s.push(e))}function op(e,n,s,o){n.value=s,n.getSnapshot=o,cp(n)&&up(e)}function lp(e,n,s){return s(function(){cp(n)&&up(e)})}function cp(e){var n=e.getSnapshot;e=e.value;try{var s=n();return!Mt(e,s)}catch{return!0}}function up(e){var n=xs(e,2);n!==null&&_t(n,e,2)}function lu(e){var n=xt();if(typeof e=="function"){var s=e;if(e=s(),qi){Gn(!0);try{s()}finally{Gn(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nn,lastRenderedState:e},n}function fp(e,n,s,o){return e.baseState=s,ru(e,Oe,typeof o=="function"?o:Nn)}function aT(e,n,s,o,c){if(ho(e))throw Error(r(485));if(e=n.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){d.listeners.push(v)}};_.T!==null?s(!0):d.isTransition=!1,o(d),s=n.pending,s===null?(d.next=n.pending=d,dp(n,d)):(d.next=s.next,n.pending=s.next=d)}}function dp(e,n){var s=n.action,o=n.payload,c=e.state;if(n.isTransition){var d=_.T,v={};_.T=v;try{var w=s(c,o),R=_.S;R!==null&&R(v,w),hp(e,n,w)}catch(V){cu(e,n,V)}finally{_.T=d}}else try{d=s(c,o),hp(e,n,d)}catch(V){cu(e,n,V)}}function hp(e,n,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(o){mp(e,n,o)},function(o){return cu(e,n,o)}):mp(e,n,s)}function mp(e,n,s){n.status="fulfilled",n.value=s,pp(n),e.state=s,n=e.pending,n!==null&&(s=n.next,s===n?e.pending=null:(s=s.next,n.next=s,dp(e,s)))}function cu(e,n,s){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=s,pp(n),n=n.next;while(n!==o)}e.action=null}function pp(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function gp(e,n){return n}function yp(e,n){if(Me){var s=Le.formState;if(s!==null){e:{var o=xe;if(Me){if(He){t:{for(var c=He,d=dn;c.nodeType!==8;){if(!d){c=null;break t}if(c=Jt(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){He=Jt(c.nextSibling),o=c.data==="F!";break e}}zi(o)}o=!1}o&&(n=s[0])}}return s=xt(),s.memoizedState=s.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gp,lastRenderedState:n},s.queue=o,s=Lp.bind(null,xe,o),o.dispatch=s,o=lu(!1),d=mu.bind(null,xe,!1,o.queue),o=xt(),c={state:n,dispatch:null,action:e,pending:null},o.queue=c,s=aT.bind(null,xe,c,d,s),c.dispatch=s,o.memoizedState=e,[n,s,!1]}function vp(e){var n=Ke();return xp(n,Oe,e)}function xp(e,n,s){if(n=ru(e,n,gp)[0],e=co(Nn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=_a(n)}catch(v){throw v===Ma?io:v}else o=n;n=Ke();var c=n.queue,d=c.dispatch;return s!==n.memoizedState&&(xe.flags|=2048,Cs(9,uo(),rT.bind(null,c,s),null)),[o,d,e]}function rT(e,n){e.action=n}function bp(e){var n=Ke(),s=Oe;if(s!==null)return xp(n,s,e);Ke(),n=n.memoizedState,s=Ke();var o=s.queue.dispatch;return s.memoizedState=e,[n,o,!1]}function Cs(e,n,s,o){return e={tag:e,create:s,deps:o,inst:n,next:null},n=xe.updateQueue,n===null&&(n=su(),xe.updateQueue=n),s=n.lastEffect,s===null?n.lastEffect=e.next=e:(o=s.next,s.next=e,e.next=o,n.lastEffect=e),e}function uo(){return{destroy:void 0,resource:void 0}}function wp(){return Ke().memoizedState}function fo(e,n,s,o){var c=xt();o=o===void 0?null:o,xe.flags|=e,c.memoizedState=Cs(1|n,uo(),s,o)}function ka(e,n,s,o){var c=Ke();o=o===void 0?null:o;var d=c.memoizedState.inst;Oe!==null&&o!==null&&Jc(o,Oe.memoizedState.deps)?c.memoizedState=Cs(n,d,s,o):(xe.flags|=e,c.memoizedState=Cs(1|n,d,s,o))}function Sp(e,n){fo(8390656,8,e,n)}function Tp(e,n){ka(2048,8,e,n)}function Ap(e,n){return ka(4,2,e,n)}function Ep(e,n){return ka(4,4,e,n)}function jp(e,n){if(typeof n=="function"){e=e();var s=n(e);return function(){typeof s=="function"?s():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Mp(e,n,s){s=s!=null?s.concat([e]):null,ka(4,4,jp.bind(null,n,e),s)}function uu(){}function Cp(e,n){var s=Ke();n=n===void 0?null:n;var o=s.memoizedState;return n!==null&&Jc(n,o[1])?o[0]:(s.memoizedState=[e,n],e)}function Rp(e,n){var s=Ke();n=n===void 0?null:n;var o=s.memoizedState;if(n!==null&&Jc(n,o[1]))return o[0];if(o=e(),qi){Gn(!0);try{e()}finally{Gn(!1)}}return s.memoizedState=[o,n],o}function fu(e,n,s){return s===void 0||(In&1073741824)!==0?e.memoizedState=n:(e.memoizedState=s,e=Og(),xe.lanes|=e,si|=e,s)}function Np(e,n,s,o){return Mt(s,n)?s:Es.current!==null?(e=fu(e,s,o),Mt(e,n)||(tt=!0),e):(In&42)===0?(tt=!0,e.memoizedState=s):(e=Og(),xe.lanes|=e,si|=e,n)}function Dp(e,n,s,o,c){var d=Q.p;Q.p=d!==0&&8>d?d:8;var v=_.T,w={};_.T=w,mu(e,!1,n,s);try{var R=c(),V=_.S;if(V!==null&&V(w,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var q=nT(R,o);Pa(e,n,q,Ot(e))}else Pa(e,n,o,Ot(e))}catch(F){Pa(e,n,{then:function(){},status:"rejected",reason:F},Ot())}finally{Q.p=d,_.T=v}}function oT(){}function du(e,n,s,o){if(e.tag!==5)throw Error(r(476));var c=Op(e).queue;Dp(e,c,n,X,s===null?oT:function(){return _p(e),s(o)})}function Op(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nn,lastRenderedState:X},next:null};var s={};return n.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nn,lastRenderedState:s},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function _p(e){var n=Op(e).next.queue;Pa(e,n,{},Ot())}function hu(){return ut(Ja)}function kp(){return Ke().memoizedState}function Pp(){return Ke().memoizedState}function lT(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var s=Ot();e=Zn(s);var o=Wn(n,e,s);o!==null&&(_t(o,n,s),Ra(o,n,s)),n={cache:Yc()},e.payload=n;return}n=n.return}}function cT(e,n,s){var o=Ot();s={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},ho(e)?Vp(n,s):(s=_c(e,n,s,o),s!==null&&(_t(s,e,o),zp(s,n,o)))}function Lp(e,n,s){var o=Ot();Pa(e,n,s,o)}function Pa(e,n,s,o){var c={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(ho(e))Vp(n,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var v=n.lastRenderedState,w=d(v,s);if(c.hasEagerState=!0,c.eagerState=w,Mt(w,v))return Zr(e,n,c,0),Le===null&&Qr(),!1}catch{}if(s=_c(e,n,c,o),s!==null)return _t(s,e,o),zp(s,n,o),!0}return!1}function mu(e,n,s,o){if(o={lane:2,revertLane:Fu(),action:o,hasEagerState:!1,eagerState:null,next:null},ho(e)){if(n)throw Error(r(479))}else n=_c(e,s,o,2),n!==null&&_t(n,e,2)}function ho(e){var n=e.alternate;return e===xe||n!==null&&n===xe}function Vp(e,n){js=ro=!0;var s=e.pending;s===null?n.next=n:(n.next=s.next,s.next=n),e.pending=n}function zp(e,n,s){if((s&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,s|=o,n.lanes=s,Fh(e,s)}}var mo={readContext:ut,use:lo,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useLayoutEffect:Ge,useInsertionEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useSyncExternalStore:Ge,useId:Ge,useHostTransitionStatus:Ge,useFormState:Ge,useActionState:Ge,useOptimistic:Ge,useMemoCache:Ge,useCacheRefresh:Ge},Bp={readContext:ut,use:lo,useCallback:function(e,n){return xt().memoizedState=[e,n===void 0?null:n],e},useContext:ut,useEffect:Sp,useImperativeHandle:function(e,n,s){s=s!=null?s.concat([e]):null,fo(4194308,4,jp.bind(null,n,e),s)},useLayoutEffect:function(e,n){return fo(4194308,4,e,n)},useInsertionEffect:function(e,n){fo(4,2,e,n)},useMemo:function(e,n){var s=xt();n=n===void 0?null:n;var o=e();if(qi){Gn(!0);try{e()}finally{Gn(!1)}}return s.memoizedState=[o,n],o},useReducer:function(e,n,s){var o=xt();if(s!==void 0){var c=s(n);if(qi){Gn(!0);try{s(n)}finally{Gn(!1)}}}else c=n;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=cT.bind(null,xe,e),[o.memoizedState,e]},useRef:function(e){var n=xt();return e={current:e},n.memoizedState=e},useState:function(e){e=lu(e);var n=e.queue,s=Lp.bind(null,xe,n);return n.dispatch=s,[e.memoizedState,s]},useDebugValue:uu,useDeferredValue:function(e,n){var s=xt();return fu(s,e,n)},useTransition:function(){var e=lu(!1);return e=Dp.bind(null,xe,e.queue,!0,!1),xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,s){var o=xe,c=xt();if(Me){if(s===void 0)throw Error(r(407));s=s()}else{if(s=n(),Le===null)throw Error(r(349));(Ae&124)!==0||rp(o,n,s)}c.memoizedState=s;var d={value:s,getSnapshot:n};return c.queue=d,Sp(lp.bind(null,o,d,e),[e]),o.flags|=2048,Cs(9,uo(),op.bind(null,o,d,s,n),null),s},useId:function(){var e=xt(),n=Le.identifierPrefix;if(Me){var s=Mn,o=jn;s=(o&~(1<<32-jt(o)-1)).toString(32)+s,n="«"+n+"R"+s,s=oo++,0<s&&(n+="H"+s.toString(32)),n+="»"}else s=iT++,n="«"+n+"r"+s.toString(32)+"»";return e.memoizedState=n},useHostTransitionStatus:hu,useFormState:yp,useActionState:yp,useOptimistic:function(e){var n=xt();n.memoizedState=n.baseState=e;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=s,n=mu.bind(null,xe,!0,s),s.dispatch=n,[e,n]},useMemoCache:au,useCacheRefresh:function(){return xt().memoizedState=lT.bind(null,xe)}},Up={readContext:ut,use:lo,useCallback:Cp,useContext:ut,useEffect:Tp,useImperativeHandle:Mp,useInsertionEffect:Ap,useLayoutEffect:Ep,useMemo:Rp,useReducer:co,useRef:wp,useState:function(){return co(Nn)},useDebugValue:uu,useDeferredValue:function(e,n){var s=Ke();return Np(s,Oe.memoizedState,e,n)},useTransition:function(){var e=co(Nn)[0],n=Ke().memoizedState;return[typeof e=="boolean"?e:_a(e),n]},useSyncExternalStore:ap,useId:kp,useHostTransitionStatus:hu,useFormState:vp,useActionState:vp,useOptimistic:function(e,n){var s=Ke();return fp(s,Oe,e,n)},useMemoCache:au,useCacheRefresh:Pp},uT={readContext:ut,use:lo,useCallback:Cp,useContext:ut,useEffect:Tp,useImperativeHandle:Mp,useInsertionEffect:Ap,useLayoutEffect:Ep,useMemo:Rp,useReducer:ou,useRef:wp,useState:function(){return ou(Nn)},useDebugValue:uu,useDeferredValue:function(e,n){var s=Ke();return Oe===null?fu(s,e,n):Np(s,Oe.memoizedState,e,n)},useTransition:function(){var e=ou(Nn)[0],n=Ke().memoizedState;return[typeof e=="boolean"?e:_a(e),n]},useSyncExternalStore:ap,useId:kp,useHostTransitionStatus:hu,useFormState:bp,useActionState:bp,useOptimistic:function(e,n){var s=Ke();return Oe!==null?fp(s,Oe,e,n):(s.baseState=e,[e,s.queue.dispatch])},useMemoCache:au,useCacheRefresh:Pp},Rs=null,La=0;function po(e){var n=La;return La+=1,Rs===null&&(Rs=[]),Im(Rs,e,n)}function Va(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function go(e,n){throw n.$$typeof===x?Error(r(525)):(e=Object.prototype.toString.call(n),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function Hp(e){var n=e._init;return n(e._payload)}function qp(e){function n(D,N){if(e){var P=D.deletions;P===null?(D.deletions=[N],D.flags|=16):P.push(N)}}function s(D,N){if(!e)return null;for(;N!==null;)n(D,N),N=N.sibling;return null}function o(D){for(var N=new Map;D!==null;)D.key!==null?N.set(D.key,D):N.set(D.index,D),D=D.sibling;return N}function c(D,N){return D=En(D,N),D.index=0,D.sibling=null,D}function d(D,N,P){return D.index=P,e?(P=D.alternate,P!==null?(P=P.index,P<N?(D.flags|=67108866,N):P):(D.flags|=67108866,N)):(D.flags|=1048576,N)}function v(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function w(D,N,P,G){return N===null||N.tag!==6?(N=Pc(P,D.mode,G),N.return=D,N):(N=c(N,P),N.return=D,N)}function R(D,N,P,G){var ne=P.type;return ne===E?q(D,N,P.props.children,G,P.key):N!==null&&(N.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===H&&Hp(ne)===N.type)?(N=c(N,P.props),Va(N,P),N.return=D,N):(N=Ir(P.type,P.key,P.props,null,D.mode,G),Va(N,P),N.return=D,N)}function V(D,N,P,G){return N===null||N.tag!==4||N.stateNode.containerInfo!==P.containerInfo||N.stateNode.implementation!==P.implementation?(N=Lc(P,D.mode,G),N.return=D,N):(N=c(N,P.children||[]),N.return=D,N)}function q(D,N,P,G,ne){return N===null||N.tag!==7?(N=ki(P,D.mode,G,ne),N.return=D,N):(N=c(N,P),N.return=D,N)}function F(D,N,P){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=Pc(""+N,D.mode,P),N.return=D,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case b:return P=Ir(N.type,N.key,N.props,null,D.mode,P),Va(P,N),P.return=D,P;case T:return N=Lc(N,D.mode,P),N.return=D,N;case H:var G=N._init;return N=G(N._payload),F(D,N,P)}if(ue(N)||le(N))return N=ki(N,D.mode,P,null),N.return=D,N;if(typeof N.then=="function")return F(D,po(N),P);if(N.$$typeof===O)return F(D,to(D,N),P);go(D,N)}return null}function B(D,N,P,G){var ne=N!==null?N.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return ne!==null?null:w(D,N,""+P,G);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case b:return P.key===ne?R(D,N,P,G):null;case T:return P.key===ne?V(D,N,P,G):null;case H:return ne=P._init,P=ne(P._payload),B(D,N,P,G)}if(ue(P)||le(P))return ne!==null?null:q(D,N,P,G,null);if(typeof P.then=="function")return B(D,N,po(P),G);if(P.$$typeof===O)return B(D,N,to(D,P),G);go(D,P)}return null}function U(D,N,P,G,ne){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return D=D.get(P)||null,w(N,D,""+G,ne);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case b:return D=D.get(G.key===null?P:G.key)||null,R(N,D,G,ne);case T:return D=D.get(G.key===null?P:G.key)||null,V(N,D,G,ne);case H:var we=G._init;return G=we(G._payload),U(D,N,P,G,ne)}if(ue(G)||le(G))return D=D.get(P)||null,q(N,D,G,ne,null);if(typeof G.then=="function")return U(D,N,P,po(G),ne);if(G.$$typeof===O)return U(D,N,P,to(N,G),ne);go(N,G)}return null}function ge(D,N,P,G){for(var ne=null,we=null,fe=N,me=N=0,it=null;fe!==null&&me<P.length;me++){fe.index>me?(it=fe,fe=null):it=fe.sibling;var je=B(D,fe,P[me],G);if(je===null){fe===null&&(fe=it);break}e&&fe&&je.alternate===null&&n(D,fe),N=d(je,N,me),we===null?ne=je:we.sibling=je,we=je,fe=it}if(me===P.length)return s(D,fe),Me&&Li(D,me),ne;if(fe===null){for(;me<P.length;me++)fe=F(D,P[me],G),fe!==null&&(N=d(fe,N,me),we===null?ne=fe:we.sibling=fe,we=fe);return Me&&Li(D,me),ne}for(fe=o(fe);me<P.length;me++)it=U(fe,D,me,P[me],G),it!==null&&(e&&it.alternate!==null&&fe.delete(it.key===null?me:it.key),N=d(it,N,me),we===null?ne=it:we.sibling=it,we=it);return e&&fe.forEach(function(hi){return n(D,hi)}),Me&&Li(D,me),ne}function de(D,N,P,G){if(P==null)throw Error(r(151));for(var ne=null,we=null,fe=N,me=N=0,it=null,je=P.next();fe!==null&&!je.done;me++,je=P.next()){fe.index>me?(it=fe,fe=null):it=fe.sibling;var hi=B(D,fe,je.value,G);if(hi===null){fe===null&&(fe=it);break}e&&fe&&hi.alternate===null&&n(D,fe),N=d(hi,N,me),we===null?ne=hi:we.sibling=hi,we=hi,fe=it}if(je.done)return s(D,fe),Me&&Li(D,me),ne;if(fe===null){for(;!je.done;me++,je=P.next())je=F(D,je.value,G),je!==null&&(N=d(je,N,me),we===null?ne=je:we.sibling=je,we=je);return Me&&Li(D,me),ne}for(fe=o(fe);!je.done;me++,je=P.next())je=U(fe,D,me,je.value,G),je!==null&&(e&&je.alternate!==null&&fe.delete(je.key===null?me:je.key),N=d(je,N,me),we===null?ne=je:we.sibling=je,we=je);return e&&fe.forEach(function(f2){return n(D,f2)}),Me&&Li(D,me),ne}function ke(D,N,P,G){if(typeof P=="object"&&P!==null&&P.type===E&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case b:e:{for(var ne=P.key;N!==null;){if(N.key===ne){if(ne=P.type,ne===E){if(N.tag===7){s(D,N.sibling),G=c(N,P.props.children),G.return=D,D=G;break e}}else if(N.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===H&&Hp(ne)===N.type){s(D,N.sibling),G=c(N,P.props),Va(G,P),G.return=D,D=G;break e}s(D,N);break}else n(D,N);N=N.sibling}P.type===E?(G=ki(P.props.children,D.mode,G,P.key),G.return=D,D=G):(G=Ir(P.type,P.key,P.props,null,D.mode,G),Va(G,P),G.return=D,D=G)}return v(D);case T:e:{for(ne=P.key;N!==null;){if(N.key===ne)if(N.tag===4&&N.stateNode.containerInfo===P.containerInfo&&N.stateNode.implementation===P.implementation){s(D,N.sibling),G=c(N,P.children||[]),G.return=D,D=G;break e}else{s(D,N);break}else n(D,N);N=N.sibling}G=Lc(P,D.mode,G),G.return=D,D=G}return v(D);case H:return ne=P._init,P=ne(P._payload),ke(D,N,P,G)}if(ue(P))return ge(D,N,P,G);if(le(P)){if(ne=le(P),typeof ne!="function")throw Error(r(150));return P=ne.call(P),de(D,N,P,G)}if(typeof P.then=="function")return ke(D,N,po(P),G);if(P.$$typeof===O)return ke(D,N,to(D,P),G);go(D,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(P=""+P,N!==null&&N.tag===6?(s(D,N.sibling),G=c(N,P),G.return=D,D=G):(s(D,N),G=Pc(P,D.mode,G),G.return=D,D=G),v(D)):s(D,N)}return function(D,N,P,G){try{La=0;var ne=ke(D,N,P,G);return Rs=null,ne}catch(fe){if(fe===Ma||fe===io)throw fe;var we=Ct(29,fe,null,D.mode);return we.lanes=G,we.return=D,we}}}var Ns=qp(!0),Yp=qp(!1),Gt=Y(null),hn=null;function $n(e){var n=e.alternate;$(We,We.current&1),$(Gt,e),hn===null&&(n===null||Es.current!==null||n.memoizedState!==null)&&(hn=e)}function Gp(e){if(e.tag===22){if($(We,We.current),$(Gt,e),hn===null){var n=e.alternate;n!==null&&n.memoizedState!==null&&(hn=e)}}else Jn()}function Jn(){$(We,We.current),$(Gt,Gt.current)}function Dn(e){ee(Gt),hn===e&&(hn=null),ee(We)}var We=Y(0);function yo(e){for(var n=e;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||af(s)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function pu(e,n,s,o){n=e.memoizedState,s=s(o,n),s=s==null?n:y({},n,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var gu={enqueueSetState:function(e,n,s){e=e._reactInternals;var o=Ot(),c=Zn(o);c.payload=n,s!=null&&(c.callback=s),n=Wn(e,c,o),n!==null&&(_t(n,e,o),Ra(n,e,o))},enqueueReplaceState:function(e,n,s){e=e._reactInternals;var o=Ot(),c=Zn(o);c.tag=1,c.payload=n,s!=null&&(c.callback=s),n=Wn(e,c,o),n!==null&&(_t(n,e,o),Ra(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var s=Ot(),o=Zn(s);o.tag=2,n!=null&&(o.callback=n),n=Wn(e,o,s),n!==null&&(_t(n,e,s),Ra(n,e,s))}};function Xp(e,n,s,o,c,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,v):n.prototype&&n.prototype.isPureReactComponent?!xa(s,o)||!xa(c,d):!0}function Fp(e,n,s,o){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,o),n.state!==e&&gu.enqueueReplaceState(n,n.state,null)}function Yi(e,n){var s=n;if("ref"in n){s={};for(var o in n)o!=="ref"&&(s[o]=n[o])}if(e=e.defaultProps){s===n&&(s=y({},s));for(var c in e)s[c]===void 0&&(s[c]=e[c])}return s}var vo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Kp(e){vo(e)}function Qp(e){console.error(e)}function Zp(e){vo(e)}function xo(e,n){try{var s=e.onUncaughtError;s(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function Wp(e,n,s){try{var o=e.onCaughtError;o(s.value,{componentStack:s.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function yu(e,n,s){return s=Zn(s),s.tag=3,s.payload={element:null},s.callback=function(){xo(e,n)},s}function Ip(e){return e=Zn(e),e.tag=3,e}function $p(e,n,s,o){var c=s.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;e.payload=function(){return c(d)},e.callback=function(){Wp(n,s,o)}}var v=s.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){Wp(n,s,o),typeof c!="function"&&(ai===null?ai=new Set([this]):ai.add(this));var w=o.stack;this.componentDidCatch(o.value,{componentStack:w!==null?w:""})})}function fT(e,n,s,o,c){if(s.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=s.alternate,n!==null&&Aa(n,s,c,!0),s=Gt.current,s!==null){switch(s.tag){case 13:return hn===null?Hu():s.alternate===null&&qe===0&&(qe=3),s.flags&=-257,s.flags|=65536,s.lanes=c,o===Fc?s.flags|=16384:(n=s.updateQueue,n===null?s.updateQueue=new Set([o]):n.add(o),Yu(e,o,c)),!1;case 22:return s.flags|=65536,o===Fc?s.flags|=16384:(n=s.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},s.updateQueue=n):(s=n.retryQueue,s===null?n.retryQueue=new Set([o]):s.add(o)),Yu(e,o,c)),!1}throw Error(r(435,s.tag))}return Yu(e,o,c),Hu(),!1}if(Me)return n=Gt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==Bc&&(e=Error(r(422),{cause:o}),Ta(Ut(e,s)))):(o!==Bc&&(n=Error(r(423),{cause:o}),Ta(Ut(n,s))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=Ut(o,s),c=yu(e.stateNode,o,c),Zc(e,c),qe!==4&&(qe=2)),!1;var d=Error(r(520),{cause:o});if(d=Ut(d,s),Ga===null?Ga=[d]:Ga.push(d),qe!==4&&(qe=2),n===null)return!0;o=Ut(o,s),s=n;do{switch(s.tag){case 3:return s.flags|=65536,e=c&-c,s.lanes|=e,e=yu(s.stateNode,o,e),Zc(s,e),!1;case 1:if(n=s.type,d=s.stateNode,(s.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ai===null||!ai.has(d))))return s.flags|=65536,c&=-c,s.lanes|=c,c=Ip(c),$p(c,e,s,o),Zc(s,c),!1}s=s.return}while(s!==null);return!1}var Jp=Error(r(461)),tt=!1;function at(e,n,s,o){n.child=e===null?Yp(n,null,s,o):Ns(n,e.child,s,o)}function eg(e,n,s,o,c){s=s.render;var d=n.ref;if("ref"in o){var v={};for(var w in o)w!=="ref"&&(v[w]=o[w])}else v=o;return Ui(n),o=eu(e,n,s,v,d,c),w=tu(),e!==null&&!tt?(nu(e,n,c),On(e,n,c)):(Me&&w&&Vc(n),n.flags|=1,at(e,n,o,c),n.child)}function tg(e,n,s,o,c){if(e===null){var d=s.type;return typeof d=="function"&&!kc(d)&&d.defaultProps===void 0&&s.compare===null?(n.tag=15,n.type=d,ng(e,n,d,o,c)):(e=Ir(s.type,null,o,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!Eu(e,c)){var v=d.memoizedProps;if(s=s.compare,s=s!==null?s:xa,s(v,o)&&e.ref===n.ref)return On(e,n,c)}return n.flags|=1,e=En(d,o),e.ref=n.ref,e.return=n,n.child=e}function ng(e,n,s,o,c){if(e!==null){var d=e.memoizedProps;if(xa(d,o)&&e.ref===n.ref)if(tt=!1,n.pendingProps=o=d,Eu(e,c))(e.flags&131072)!==0&&(tt=!0);else return n.lanes=e.lanes,On(e,n,c)}return vu(e,n,s,o,c)}function ig(e,n,s){var o=n.pendingProps,c=o.children,d=e!==null?e.memoizedState:null;if(o.mode==="hidden"){if((n.flags&128)!==0){if(o=d!==null?d.baseLanes|s:s,e!==null){for(c=n.child=e.child,d=0;c!==null;)d=d|c.lanes|c.childLanes,c=c.sibling;n.childLanes=d&~o}else n.childLanes=0,n.child=null;return sg(e,n,o,s)}if((s&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&no(n,d!==null?d.cachePool:null),d!==null?np(n,d):Ic(),Gp(n);else return n.lanes=n.childLanes=536870912,sg(e,n,d!==null?d.baseLanes|s:s,s)}else d!==null?(no(n,d.cachePool),np(n,d),Jn(),n.memoizedState=null):(e!==null&&no(n,null),Ic(),Jn());return at(e,n,c,s),n.child}function sg(e,n,s,o){var c=Xc();return c=c===null?null:{parent:Ze._currentValue,pool:c},n.memoizedState={baseLanes:s,cachePool:c},e!==null&&no(n,null),Ic(),Gp(n),e!==null&&Aa(e,n,o,!0),null}function bo(e,n){var s=n.ref;if(s===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(e===null||e.ref!==s)&&(n.flags|=4194816)}}function vu(e,n,s,o,c){return Ui(n),s=eu(e,n,s,o,void 0,c),o=tu(),e!==null&&!tt?(nu(e,n,c),On(e,n,c)):(Me&&o&&Vc(n),n.flags|=1,at(e,n,s,c),n.child)}function ag(e,n,s,o,c,d){return Ui(n),n.updateQueue=null,s=sp(n,o,s,c),ip(e),o=tu(),e!==null&&!tt?(nu(e,n,d),On(e,n,d)):(Me&&o&&Vc(n),n.flags|=1,at(e,n,s,d),n.child)}function rg(e,n,s,o,c){if(Ui(n),n.stateNode===null){var d=bs,v=s.contextType;typeof v=="object"&&v!==null&&(d=ut(v)),d=new s(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=gu,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},Kc(n),v=s.contextType,d.context=typeof v=="object"&&v!==null?ut(v):bs,d.state=n.memoizedState,v=s.getDerivedStateFromProps,typeof v=="function"&&(pu(n,s,v,o),d.state=n.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(v=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),v!==d.state&&gu.enqueueReplaceState(d,d.state,null),Da(n,o,d,c),Na(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(e===null){d=n.stateNode;var w=n.memoizedProps,R=Yi(s,w);d.props=R;var V=d.context,q=s.contextType;v=bs,typeof q=="object"&&q!==null&&(v=ut(q));var F=s.getDerivedStateFromProps;q=typeof F=="function"||typeof d.getSnapshotBeforeUpdate=="function",w=n.pendingProps!==w,q||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(w||V!==v)&&Fp(n,d,o,v),Qn=!1;var B=n.memoizedState;d.state=B,Da(n,o,d,c),Na(),V=n.memoizedState,w||B!==V||Qn?(typeof F=="function"&&(pu(n,s,F,o),V=n.memoizedState),(R=Qn||Xp(n,s,R,o,B,V,v))?(q||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=V),d.props=o,d.state=V,d.context=v,o=R):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,Qc(e,n),v=n.memoizedProps,q=Yi(s,v),d.props=q,F=n.pendingProps,B=d.context,V=s.contextType,R=bs,typeof V=="object"&&V!==null&&(R=ut(V)),w=s.getDerivedStateFromProps,(V=typeof w=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v!==F||B!==R)&&Fp(n,d,o,R),Qn=!1,B=n.memoizedState,d.state=B,Da(n,o,d,c),Na();var U=n.memoizedState;v!==F||B!==U||Qn||e!==null&&e.dependencies!==null&&eo(e.dependencies)?(typeof w=="function"&&(pu(n,s,w,o),U=n.memoizedState),(q=Qn||Xp(n,s,q,o,B,U,R)||e!==null&&e.dependencies!==null&&eo(e.dependencies))?(V||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,U,R),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,U,R)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=U),d.props=o,d.state=U,d.context=R,o=q):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),o=!1)}return d=o,bo(e,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,s=o&&typeof s.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&o?(n.child=Ns(n,e.child,null,c),n.child=Ns(n,null,s,c)):at(e,n,s,c),n.memoizedState=d.state,e=n.child):e=On(e,n,c),e}function og(e,n,s,o){return Sa(),n.flags|=256,at(e,n,s,o),n.child}var xu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function bu(e){return{baseLanes:e,cachePool:Qm()}}function wu(e,n,s){return e=e!==null?e.childLanes&~s:0,n&&(e|=Xt),e}function lg(e,n,s){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,v;if((v=d)||(v=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),v&&(c=!0,n.flags&=-129),v=(n.flags&32)!==0,n.flags&=-33,e===null){if(Me){if(c?$n(n):Jn(),Me){var w=He,R;if(R=w){e:{for(R=w,w=dn;R.nodeType!==8;){if(!w){w=null;break e}if(R=Jt(R.nextSibling),R===null){w=null;break e}}w=R}w!==null?(n.memoizedState={dehydrated:w,treeContext:Pi!==null?{id:jn,overflow:Mn}:null,retryLane:536870912,hydrationErrors:null},R=Ct(18,null,null,0),R.stateNode=w,R.return=n,n.child=R,ht=n,He=null,R=!0):R=!1}R||zi(n)}if(w=n.memoizedState,w!==null&&(w=w.dehydrated,w!==null))return af(w)?n.lanes=32:n.lanes=536870912,null;Dn(n)}return w=o.children,o=o.fallback,c?(Jn(),c=n.mode,w=wo({mode:"hidden",children:w},c),o=ki(o,c,s,null),w.return=n,o.return=n,w.sibling=o,n.child=w,c=n.child,c.memoizedState=bu(s),c.childLanes=wu(e,v,s),n.memoizedState=xu,o):($n(n),Su(n,w))}if(R=e.memoizedState,R!==null&&(w=R.dehydrated,w!==null)){if(d)n.flags&256?($n(n),n.flags&=-257,n=Tu(e,n,s)):n.memoizedState!==null?(Jn(),n.child=e.child,n.flags|=128,n=null):(Jn(),c=o.fallback,w=n.mode,o=wo({mode:"visible",children:o.children},w),c=ki(c,w,s,null),c.flags|=2,o.return=n,c.return=n,o.sibling=c,n.child=o,Ns(n,e.child,null,s),o=n.child,o.memoizedState=bu(s),o.childLanes=wu(e,v,s),n.memoizedState=xu,n=c);else if($n(n),af(w)){if(v=w.nextSibling&&w.nextSibling.dataset,v)var V=v.dgst;v=V,o=Error(r(419)),o.stack="",o.digest=v,Ta({value:o,source:null,stack:null}),n=Tu(e,n,s)}else if(tt||Aa(e,n,s,!1),v=(s&e.childLanes)!==0,tt||v){if(v=Le,v!==null&&(o=s&-s,o=(o&42)!==0?1:ac(o),o=(o&(v.suspendedLanes|s))!==0?0:o,o!==0&&o!==R.retryLane))throw R.retryLane=o,xs(e,o),_t(v,e,o),Jp;w.data==="$?"||Hu(),n=Tu(e,n,s)}else w.data==="$?"?(n.flags|=192,n.child=e.child,n=null):(e=R.treeContext,He=Jt(w.nextSibling),ht=n,Me=!0,Vi=null,dn=!1,e!==null&&(qt[Yt++]=jn,qt[Yt++]=Mn,qt[Yt++]=Pi,jn=e.id,Mn=e.overflow,Pi=n),n=Su(n,o.children),n.flags|=4096);return n}return c?(Jn(),c=o.fallback,w=n.mode,R=e.child,V=R.sibling,o=En(R,{mode:"hidden",children:o.children}),o.subtreeFlags=R.subtreeFlags&65011712,V!==null?c=En(V,c):(c=ki(c,w,s,null),c.flags|=2),c.return=n,o.return=n,o.sibling=c,n.child=o,o=c,c=n.child,w=e.child.memoizedState,w===null?w=bu(s):(R=w.cachePool,R!==null?(V=Ze._currentValue,R=R.parent!==V?{parent:V,pool:V}:R):R=Qm(),w={baseLanes:w.baseLanes|s,cachePool:R}),c.memoizedState=w,c.childLanes=wu(e,v,s),n.memoizedState=xu,o):($n(n),s=e.child,e=s.sibling,s=En(s,{mode:"visible",children:o.children}),s.return=n,s.sibling=null,e!==null&&(v=n.deletions,v===null?(n.deletions=[e],n.flags|=16):v.push(e)),n.child=s,n.memoizedState=null,s)}function Su(e,n){return n=wo({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function wo(e,n){return e=Ct(22,e,null,n),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Tu(e,n,s){return Ns(n,e.child,null,s),e=Su(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function cg(e,n,s){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n),Hc(e.return,n,s)}function Au(e,n,s,o,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:s,tailMode:c}:(d.isBackwards=n,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=s,d.tailMode=c)}function ug(e,n,s){var o=n.pendingProps,c=o.revealOrder,d=o.tail;if(at(e,n,o.children,s),o=We.current,(o&2)!==0)o=o&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cg(e,s,n);else if(e.tag===19)cg(e,s,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}switch($(We,o),c){case"forwards":for(s=n.child,c=null;s!==null;)e=s.alternate,e!==null&&yo(e)===null&&(c=s),s=s.sibling;s=c,s===null?(c=n.child,n.child=null):(c=s.sibling,s.sibling=null),Au(n,!1,c,s,d);break;case"backwards":for(s=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&yo(e)===null){n.child=c;break}e=c.sibling,c.sibling=s,s=c,c=e}Au(n,!0,s,null,d);break;case"together":Au(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function On(e,n,s){if(e!==null&&(n.dependencies=e.dependencies),si|=n.lanes,(s&n.childLanes)===0)if(e!==null){if(Aa(e,n,s,!1),(s&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(r(153));if(n.child!==null){for(e=n.child,s=En(e,e.pendingProps),n.child=s,s.return=n;e.sibling!==null;)e=e.sibling,s=s.sibling=En(e,e.pendingProps),s.return=n;s.sibling=null}return n.child}function Eu(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&eo(e)))}function dT(e,n,s){switch(n.tag){case 3:Ce(n,n.stateNode.containerInfo),Kn(n,Ze,e.memoizedState.cache),Sa();break;case 27:case 5:qn(n);break;case 4:Ce(n,n.stateNode.containerInfo);break;case 10:Kn(n,n.type,n.memoizedProps.value);break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?($n(n),n.flags|=128,null):(s&n.child.childLanes)!==0?lg(e,n,s):($n(n),e=On(e,n,s),e!==null?e.sibling:null);$n(n);break;case 19:var c=(e.flags&128)!==0;if(o=(s&n.childLanes)!==0,o||(Aa(e,n,s,!1),o=(s&n.childLanes)!==0),c){if(o)return ug(e,n,s);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),$(We,We.current),o)break;return null;case 22:case 23:return n.lanes=0,ig(e,n,s);case 24:Kn(n,Ze,e.memoizedState.cache)}return On(e,n,s)}function fg(e,n,s){if(e!==null)if(e.memoizedProps!==n.pendingProps)tt=!0;else{if(!Eu(e,s)&&(n.flags&128)===0)return tt=!1,dT(e,n,s);tt=(e.flags&131072)!==0}else tt=!1,Me&&(n.flags&1048576)!==0&&Hm(n,Jr,n.index);switch(n.lanes=0,n.tag){case 16:e:{e=n.pendingProps;var o=n.elementType,c=o._init;if(o=c(o._payload),n.type=o,typeof o=="function")kc(o)?(e=Yi(o,e),n.tag=1,n=rg(null,n,o,e,s)):(n.tag=0,n=vu(null,n,o,e,s));else{if(o!=null){if(c=o.$$typeof,c===L){n.tag=11,n=eg(null,n,o,e,s);break e}else if(c===Z){n.tag=14,n=tg(null,n,o,e,s);break e}}throw n=J(o)||o,Error(r(306,n,""))}}return n;case 0:return vu(e,n,n.type,n.pendingProps,s);case 1:return o=n.type,c=Yi(o,n.pendingProps),rg(e,n,o,c,s);case 3:e:{if(Ce(n,n.stateNode.containerInfo),e===null)throw Error(r(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,Qc(e,n),Da(n,o,null,s);var v=n.memoizedState;if(o=v.cache,Kn(n,Ze,o),o!==d.cache&&qc(n,[Ze],s,!0),Na(),o=v.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:v.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=og(e,n,o,s);break e}else if(o!==c){c=Ut(Error(r(424)),n),Ta(c),n=og(e,n,o,s);break e}else for(e=n.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,He=Jt(e.firstChild),ht=n,Me=!0,Vi=null,dn=!0,s=Yp(n,null,o,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Sa(),o===c){n=On(e,n,s);break e}at(e,n,o,s)}n=n.child}return n;case 26:return bo(e,n),e===null?(s=py(n.type,null,n.pendingProps,null))?n.memoizedState=s:Me||(s=n.type,e=n.pendingProps,o=Po(re.current).createElement(s),o[ct]=n,o[yt]=e,ot(o,s,e),et(o),n.stateNode=o):n.memoizedState=py(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return qn(n),e===null&&Me&&(o=n.stateNode=dy(n.type,n.pendingProps,re.current),ht=n,dn=!0,c=He,li(n.type)?(rf=c,He=Jt(o.firstChild)):He=c),at(e,n,n.pendingProps.children,s),bo(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&Me&&((c=o=He)&&(o=UT(o,n.type,n.pendingProps,dn),o!==null?(n.stateNode=o,ht=n,He=Jt(o.firstChild),dn=!1,c=!0):c=!1),c||zi(n)),qn(n),c=n.type,d=n.pendingProps,v=e!==null?e.memoizedProps:null,o=d.children,tf(c,d)?o=null:v!==null&&tf(c,v)&&(n.flags|=32),n.memoizedState!==null&&(c=eu(e,n,sT,null,null,s),Ja._currentValue=c),bo(e,n),at(e,n,o,s),n.child;case 6:return e===null&&Me&&((e=s=He)&&(s=HT(s,n.pendingProps,dn),s!==null?(n.stateNode=s,ht=n,He=null,e=!0):e=!1),e||zi(n)),null;case 13:return lg(e,n,s);case 4:return Ce(n,n.stateNode.containerInfo),o=n.pendingProps,e===null?n.child=Ns(n,null,o,s):at(e,n,o,s),n.child;case 11:return eg(e,n,n.type,n.pendingProps,s);case 7:return at(e,n,n.pendingProps,s),n.child;case 8:return at(e,n,n.pendingProps.children,s),n.child;case 12:return at(e,n,n.pendingProps.children,s),n.child;case 10:return o=n.pendingProps,Kn(n,n.type,o.value),at(e,n,o.children,s),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,Ui(n),c=ut(c),o=o(c),n.flags|=1,at(e,n,o,s),n.child;case 14:return tg(e,n,n.type,n.pendingProps,s);case 15:return ng(e,n,n.type,n.pendingProps,s);case 19:return ug(e,n,s);case 31:return o=n.pendingProps,s=n.mode,o={mode:o.mode,children:o.children},e===null?(s=wo(o,s),s.ref=n.ref,n.child=s,s.return=n,n=s):(s=En(e.child,o),s.ref=n.ref,n.child=s,s.return=n,n=s),n;case 22:return ig(e,n,s);case 24:return Ui(n),o=ut(Ze),e===null?(c=Xc(),c===null&&(c=Le,d=Yc(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=s),c=d),n.memoizedState={parent:o,cache:c},Kc(n),Kn(n,Ze,c)):((e.lanes&s)!==0&&(Qc(e,n),Da(n,null,null,s),Na()),c=e.memoizedState,d=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),Kn(n,Ze,o)):(o=d.cache,Kn(n,Ze,o),o!==c.cache&&qc(n,[Ze],s,!0))),at(e,n,n.pendingProps.children,s),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function _n(e){e.flags|=4}function dg(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!by(n)){if(n=Gt.current,n!==null&&((Ae&4194048)===Ae?hn!==null:(Ae&62914560)!==Ae&&(Ae&536870912)===0||n!==hn))throw Ca=Fc,Zm;e.flags|=8192}}function So(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?Gh():536870912,e.lanes|=n,ks|=n)}function za(e,n){if(!Me)switch(e.tailMode){case"hidden":n=e.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ue(e){var n=e.alternate!==null&&e.alternate.child===e.child,s=0,o=0;if(n)for(var c=e.child;c!==null;)s|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)s|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=s,n}function hT(e,n,s){var o=n.pendingProps;switch(zc(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(n),null;case 1:return Ue(n),null;case 3:return s=n.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Rn(Ze),Re(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(wa(n)?_n(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Gm())),Ue(n),null;case 26:return s=n.memoizedState,e===null?(_n(n),s!==null?(Ue(n),dg(n,s)):(Ue(n),n.flags&=-16777217)):s?s!==e.memoizedState?(_n(n),Ue(n),dg(n,s)):(Ue(n),n.flags&=-16777217):(e.memoizedProps!==o&&_n(n),Ue(n),n.flags&=-16777217),null;case 27:Wt(n),s=re.current;var c=n.type;if(e!==null&&n.stateNode!=null)e.memoizedProps!==o&&_n(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Ue(n),null}e=ce.current,wa(n)?qm(n):(e=dy(c,o,s),n.stateNode=e,_n(n))}return Ue(n),null;case 5:if(Wt(n),s=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&_n(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Ue(n),null}if(e=ce.current,wa(n))qm(n);else{switch(c=Po(re.current),e){case 1:e=c.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:e=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":e=c.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":e=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":e=c.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof o.is=="string"?c.createElement("select",{is:o.is}):c.createElement("select"),o.multiple?e.multiple=!0:o.size&&(e.size=o.size);break;default:e=typeof o.is=="string"?c.createElement(s,{is:o.is}):c.createElement(s)}}e[ct]=n,e[yt]=o;e:for(c=n.child;c!==null;){if(c.tag===5||c.tag===6)e.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===n)break e;for(;c.sibling===null;){if(c.return===null||c.return===n)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n.stateNode=e;e:switch(ot(e,s,o),s){case"button":case"input":case"select":case"textarea":e=!!o.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&_n(n)}}return Ue(n),n.flags&=-16777217,null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&_n(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(r(166));if(e=re.current,wa(n)){if(e=n.stateNode,s=n.memoizedProps,o=null,c=ht,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[ct]=n,e=!!(e.nodeValue===s||o!==null&&o.suppressHydrationWarning===!0||ay(e.nodeValue,s)),e||zi(n)}else e=Po(e).createTextNode(o),e[ct]=n,n.stateNode=e}return Ue(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=wa(n),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(r(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[ct]=n}else Sa(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ue(n),c=!1}else c=Gm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Dn(n),n):(Dn(n),null)}if(Dn(n),(n.flags&128)!==0)return n.lanes=s,n;if(s=o!==null,e=e!==null&&e.memoizedState!==null,s){o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool);var d=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)}return s!==e&&s&&(n.child.flags|=8192),So(n,n.updateQueue),Ue(n),null;case 4:return Re(),e===null&&Wu(n.stateNode.containerInfo),Ue(n),null;case 10:return Rn(n.type),Ue(n),null;case 19:if(ee(We),c=n.memoizedState,c===null)return Ue(n),null;if(o=(n.flags&128)!==0,d=c.rendering,d===null)if(o)za(c,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=yo(e),d!==null){for(n.flags|=128,za(c,!1),e=d.updateQueue,n.updateQueue=e,So(n,e),n.subtreeFlags=0,e=s,s=n.child;s!==null;)Um(s,e),s=s.sibling;return $(We,We.current&1|2),n.child}e=e.sibling}c.tail!==null&&fn()>Eo&&(n.flags|=128,o=!0,za(c,!1),n.lanes=4194304)}else{if(!o)if(e=yo(d),e!==null){if(n.flags|=128,o=!0,e=e.updateQueue,n.updateQueue=e,So(n,e),za(c,!0),c.tail===null&&c.tailMode==="hidden"&&!d.alternate&&!Me)return Ue(n),null}else 2*fn()-c.renderingStartTime>Eo&&s!==536870912&&(n.flags|=128,o=!0,za(c,!1),n.lanes=4194304);c.isBackwards?(d.sibling=n.child,n.child=d):(e=c.last,e!==null?e.sibling=d:n.child=d,c.last=d)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=fn(),n.sibling=null,e=We.current,$(We,o?e&1|2:e&1),n):(Ue(n),null);case 22:case 23:return Dn(n),$c(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(s&536870912)!==0&&(n.flags&128)===0&&(Ue(n),n.subtreeFlags&6&&(n.flags|=8192)):Ue(n),s=n.updateQueue,s!==null&&So(n,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==s&&(n.flags|=2048),e!==null&&ee(Hi),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),n.memoizedState.cache!==s&&(n.flags|=2048),Rn(Ze),Ue(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}function mT(e,n){switch(zc(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Rn(Ze),Re(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Wt(n),null;case 13:if(Dn(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(r(340));Sa()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return ee(We),null;case 4:return Re(),null;case 10:return Rn(n.type),null;case 22:case 23:return Dn(n),$c(),e!==null&&ee(Hi),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Rn(Ze),null;case 25:return null;default:return null}}function hg(e,n){switch(zc(n),n.tag){case 3:Rn(Ze),Re();break;case 26:case 27:case 5:Wt(n);break;case 4:Re();break;case 13:Dn(n);break;case 19:ee(We);break;case 10:Rn(n.type);break;case 22:case 23:Dn(n),$c(),e!==null&&ee(Hi);break;case 24:Rn(Ze)}}function Ba(e,n){try{var s=n.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var c=o.next;s=c;do{if((s.tag&e)===e){o=void 0;var d=s.create,v=s.inst;o=d(),v.destroy=o}s=s.next}while(s!==c)}}catch(w){Pe(n,n.return,w)}}function ei(e,n,s){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&e)===e){var v=o.inst,w=v.destroy;if(w!==void 0){v.destroy=void 0,c=n;var R=s,V=w;try{V()}catch(q){Pe(c,R,q)}}}o=o.next}while(o!==d)}}catch(q){Pe(n,n.return,q)}}function mg(e){var n=e.updateQueue;if(n!==null){var s=e.stateNode;try{tp(n,s)}catch(o){Pe(e,e.return,o)}}}function pg(e,n,s){s.props=Yi(e.type,e.memoizedProps),s.state=e.memoizedState;try{s.componentWillUnmount()}catch(o){Pe(e,n,o)}}function Ua(e,n){try{var s=e.ref;if(s!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof s=="function"?e.refCleanup=s(o):s.current=o}}catch(c){Pe(e,n,c)}}function mn(e,n){var s=e.ref,o=e.refCleanup;if(s!==null)if(typeof o=="function")try{o()}catch(c){Pe(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(c){Pe(e,n,c)}else s.current=null}function gg(e){var n=e.type,s=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&o.focus();break e;case"img":s.src?o.src=s.src:s.srcSet&&(o.srcset=s.srcSet)}}catch(c){Pe(e,e.return,c)}}function ju(e,n,s){try{var o=e.stateNode;PT(o,e.type,s,n),o[yt]=n}catch(c){Pe(e,e.return,c)}}function yg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&li(e.type)||e.tag===4}function Mu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&li(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cu(e,n,s){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,n):(n=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,n.appendChild(e),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=ko));else if(o!==4&&(o===27&&li(e.type)&&(s=e.stateNode,n=null),e=e.child,e!==null))for(Cu(e,n,s),e=e.sibling;e!==null;)Cu(e,n,s),e=e.sibling}function To(e,n,s){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?s.insertBefore(e,n):s.appendChild(e);else if(o!==4&&(o===27&&li(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(To(e,n,s),e=e.sibling;e!==null;)To(e,n,s),e=e.sibling}function vg(e){var n=e.stateNode,s=e.memoizedProps;try{for(var o=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);ot(n,o,s),n[ct]=e,n[yt]=s}catch(d){Pe(e,e.return,d)}}var kn=!1,Xe=!1,Ru=!1,xg=typeof WeakSet=="function"?WeakSet:Set,nt=null;function pT(e,n){if(e=e.containerInfo,Ju=Ho,e=Nm(e),Mc(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var o=s.getSelection&&s.getSelection();if(o&&o.rangeCount!==0){s=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{s.nodeType,d.nodeType}catch{s=null;break e}var v=0,w=-1,R=-1,V=0,q=0,F=e,B=null;t:for(;;){for(var U;F!==s||c!==0&&F.nodeType!==3||(w=v+c),F!==d||o!==0&&F.nodeType!==3||(R=v+o),F.nodeType===3&&(v+=F.nodeValue.length),(U=F.firstChild)!==null;)B=F,F=U;for(;;){if(F===e)break t;if(B===s&&++V===c&&(w=v),B===d&&++q===o&&(R=v),(U=F.nextSibling)!==null)break;F=B,B=F.parentNode}F=U}s=w===-1||R===-1?null:{start:w,end:R}}else s=null}s=s||{start:0,end:0}}else s=null;for(ef={focusedElem:e,selectionRange:s},Ho=!1,nt=n;nt!==null;)if(n=nt,e=n.child,(n.subtreeFlags&1024)!==0&&e!==null)e.return=n,nt=e;else for(;nt!==null;){switch(n=nt,d=n.alternate,e=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,s=n,c=d.memoizedProps,d=d.memoizedState,o=s.stateNode;try{var ge=Yi(s.type,c,s.elementType===s.type);e=o.getSnapshotBeforeUpdate(ge,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(de){Pe(s,s.return,de)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,s=e.nodeType,s===9)sf(e);else if(s===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":sf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=n.sibling,e!==null){e.return=n.return,nt=e;break}nt=n.return}}function bg(e,n,s){var o=s.flags;switch(s.tag){case 0:case 11:case 15:ti(e,s),o&4&&Ba(5,s);break;case 1:if(ti(e,s),o&4)if(e=s.stateNode,n===null)try{e.componentDidMount()}catch(v){Pe(s,s.return,v)}else{var c=Yi(s.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(v){Pe(s,s.return,v)}}o&64&&mg(s),o&512&&Ua(s,s.return);break;case 3:if(ti(e,s),o&64&&(e=s.updateQueue,e!==null)){if(n=null,s.child!==null)switch(s.child.tag){case 27:case 5:n=s.child.stateNode;break;case 1:n=s.child.stateNode}try{tp(e,n)}catch(v){Pe(s,s.return,v)}}break;case 27:n===null&&o&4&&vg(s);case 26:case 5:ti(e,s),n===null&&o&4&&gg(s),o&512&&Ua(s,s.return);break;case 12:ti(e,s);break;case 13:ti(e,s),o&4&&Tg(e,s),o&64&&(e=s.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=AT.bind(null,s),qT(e,s))));break;case 22:if(o=s.memoizedState!==null||kn,!o){n=n!==null&&n.memoizedState!==null||Xe,c=kn;var d=Xe;kn=o,(Xe=n)&&!d?ni(e,s,(s.subtreeFlags&8772)!==0):ti(e,s),kn=c,Xe=d}break;case 30:break;default:ti(e,s)}}function wg(e){var n=e.alternate;n!==null&&(e.alternate=null,wg(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&lc(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Be=null,bt=!1;function Pn(e,n,s){for(s=s.child;s!==null;)Sg(e,n,s),s=s.sibling}function Sg(e,n,s){if(Et&&typeof Et.onCommitFiberUnmount=="function")try{Et.onCommitFiberUnmount(oa,s)}catch{}switch(s.tag){case 26:Xe||mn(s,n),Pn(e,n,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Xe||mn(s,n);var o=Be,c=bt;li(s.type)&&(Be=s.stateNode,bt=!1),Pn(e,n,s),Za(s.stateNode),Be=o,bt=c;break;case 5:Xe||mn(s,n);case 6:if(o=Be,c=bt,Be=null,Pn(e,n,s),Be=o,bt=c,Be!==null)if(bt)try{(Be.nodeType===9?Be.body:Be.nodeName==="HTML"?Be.ownerDocument.body:Be).removeChild(s.stateNode)}catch(d){Pe(s,n,d)}else try{Be.removeChild(s.stateNode)}catch(d){Pe(s,n,d)}break;case 18:Be!==null&&(bt?(e=Be,uy(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,s.stateNode),ir(e)):uy(Be,s.stateNode));break;case 4:o=Be,c=bt,Be=s.stateNode.containerInfo,bt=!0,Pn(e,n,s),Be=o,bt=c;break;case 0:case 11:case 14:case 15:Xe||ei(2,s,n),Xe||ei(4,s,n),Pn(e,n,s);break;case 1:Xe||(mn(s,n),o=s.stateNode,typeof o.componentWillUnmount=="function"&&pg(s,n,o)),Pn(e,n,s);break;case 21:Pn(e,n,s);break;case 22:Xe=(o=Xe)||s.memoizedState!==null,Pn(e,n,s),Xe=o;break;default:Pn(e,n,s)}}function Tg(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ir(e)}catch(s){Pe(n,n.return,s)}}function gT(e){switch(e.tag){case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new xg),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new xg),n;default:throw Error(r(435,e.tag))}}function Nu(e,n){var s=gT(e);n.forEach(function(o){var c=ET.bind(null,e,o);s.has(o)||(s.add(o),o.then(c,c))})}function Rt(e,n){var s=n.deletions;if(s!==null)for(var o=0;o<s.length;o++){var c=s[o],d=e,v=n,w=v;e:for(;w!==null;){switch(w.tag){case 27:if(li(w.type)){Be=w.stateNode,bt=!1;break e}break;case 5:Be=w.stateNode,bt=!1;break e;case 3:case 4:Be=w.stateNode.containerInfo,bt=!0;break e}w=w.return}if(Be===null)throw Error(r(160));Sg(d,v,c),Be=null,bt=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)Ag(n,e),n=n.sibling}var $t=null;function Ag(e,n){var s=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Rt(n,e),Nt(e),o&4&&(ei(3,e,e.return),Ba(3,e),ei(5,e,e.return));break;case 1:Rt(n,e),Nt(e),o&512&&(Xe||s===null||mn(s,s.return)),o&64&&kn&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(s=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=s===null?o:s.concat(o))));break;case 26:var c=$t;if(Rt(n,e),Nt(e),o&512&&(Xe||s===null||mn(s,s.return)),o&4){var d=s!==null?s.memoizedState:null;if(o=e.memoizedState,s===null)if(o===null)if(e.stateNode===null){e:{o=e.type,s=e.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[ua]||d[ct]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),ot(d,o,s),d[ct]=e,et(d),o=d;break e;case"link":var v=vy("link","href",c).get(o+(s.href||""));if(v){for(var w=0;w<v.length;w++)if(d=v[w],d.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&d.getAttribute("rel")===(s.rel==null?null:s.rel)&&d.getAttribute("title")===(s.title==null?null:s.title)&&d.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){v.splice(w,1);break t}}d=c.createElement(o),ot(d,o,s),c.head.appendChild(d);break;case"meta":if(v=vy("meta","content",c).get(o+(s.content||""))){for(w=0;w<v.length;w++)if(d=v[w],d.getAttribute("content")===(s.content==null?null:""+s.content)&&d.getAttribute("name")===(s.name==null?null:s.name)&&d.getAttribute("property")===(s.property==null?null:s.property)&&d.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&d.getAttribute("charset")===(s.charSet==null?null:s.charSet)){v.splice(w,1);break t}}d=c.createElement(o),ot(d,o,s),c.head.appendChild(d);break;default:throw Error(r(468,o))}d[ct]=e,et(d),o=d}e.stateNode=o}else xy(c,e.type,e.stateNode);else e.stateNode=yy(c,o,e.memoizedProps);else d!==o?(d===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):d.count--,o===null?xy(c,e.type,e.stateNode):yy(c,o,e.memoizedProps)):o===null&&e.stateNode!==null&&ju(e,e.memoizedProps,s.memoizedProps)}break;case 27:Rt(n,e),Nt(e),o&512&&(Xe||s===null||mn(s,s.return)),s!==null&&o&4&&ju(e,e.memoizedProps,s.memoizedProps);break;case 5:if(Rt(n,e),Nt(e),o&512&&(Xe||s===null||mn(s,s.return)),e.flags&32){c=e.stateNode;try{ds(c,"")}catch(U){Pe(e,e.return,U)}}o&4&&e.stateNode!=null&&(c=e.memoizedProps,ju(e,c,s!==null?s.memoizedProps:c)),o&1024&&(Ru=!0);break;case 6:if(Rt(n,e),Nt(e),o&4){if(e.stateNode===null)throw Error(r(162));o=e.memoizedProps,s=e.stateNode;try{s.nodeValue=o}catch(U){Pe(e,e.return,U)}}break;case 3:if(zo=null,c=$t,$t=Lo(n.containerInfo),Rt(n,e),$t=c,Nt(e),o&4&&s!==null&&s.memoizedState.isDehydrated)try{ir(n.containerInfo)}catch(U){Pe(e,e.return,U)}Ru&&(Ru=!1,Eg(e));break;case 4:o=$t,$t=Lo(e.stateNode.containerInfo),Rt(n,e),Nt(e),$t=o;break;case 12:Rt(n,e),Nt(e);break;case 13:Rt(n,e),Nt(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Lu=fn()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Nu(e,o)));break;case 22:c=e.memoizedState!==null;var R=s!==null&&s.memoizedState!==null,V=kn,q=Xe;if(kn=V||c,Xe=q||R,Rt(n,e),Xe=q,kn=V,Nt(e),o&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(s===null||R||kn||Xe||Gi(e)),s=null,n=e;;){if(n.tag===5||n.tag===26){if(s===null){R=s=n;try{if(d=R.stateNode,c)v=d.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{w=R.stateNode;var F=R.memoizedProps.style,B=F!=null&&F.hasOwnProperty("display")?F.display:null;w.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(U){Pe(R,R.return,U)}}}else if(n.tag===6){if(s===null){R=n;try{R.stateNode.nodeValue=c?"":R.memoizedProps}catch(U){Pe(R,R.return,U)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;s===n&&(s=null),n=n.return}s===n&&(s=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=e.updateQueue,o!==null&&(s=o.retryQueue,s!==null&&(o.retryQueue=null,Nu(e,s))));break;case 19:Rt(n,e),Nt(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Nu(e,o)));break;case 30:break;case 21:break;default:Rt(n,e),Nt(e)}}function Nt(e){var n=e.flags;if(n&2){try{for(var s,o=e.return;o!==null;){if(yg(o)){s=o;break}o=o.return}if(s==null)throw Error(r(160));switch(s.tag){case 27:var c=s.stateNode,d=Mu(e);To(e,d,c);break;case 5:var v=s.stateNode;s.flags&32&&(ds(v,""),s.flags&=-33);var w=Mu(e);To(e,w,v);break;case 3:case 4:var R=s.stateNode.containerInfo,V=Mu(e);Cu(e,V,R);break;default:throw Error(r(161))}}catch(q){Pe(e,e.return,q)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function Eg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;Eg(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function ti(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)bg(e,n.alternate,n),n=n.sibling}function Gi(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:ei(4,n,n.return),Gi(n);break;case 1:mn(n,n.return);var s=n.stateNode;typeof s.componentWillUnmount=="function"&&pg(n,n.return,s),Gi(n);break;case 27:Za(n.stateNode);case 26:case 5:mn(n,n.return),Gi(n);break;case 22:n.memoizedState===null&&Gi(n);break;case 30:Gi(n);break;default:Gi(n)}e=e.sibling}}function ni(e,n,s){for(s=s&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=e,d=n,v=d.flags;switch(d.tag){case 0:case 11:case 15:ni(c,d,s),Ba(4,d);break;case 1:if(ni(c,d,s),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(V){Pe(o,o.return,V)}if(o=d,c=o.updateQueue,c!==null){var w=o.stateNode;try{var R=c.shared.hiddenCallbacks;if(R!==null)for(c.shared.hiddenCallbacks=null,c=0;c<R.length;c++)ep(R[c],w)}catch(V){Pe(o,o.return,V)}}s&&v&64&&mg(d),Ua(d,d.return);break;case 27:vg(d);case 26:case 5:ni(c,d,s),s&&o===null&&v&4&&gg(d),Ua(d,d.return);break;case 12:ni(c,d,s);break;case 13:ni(c,d,s),s&&v&4&&Tg(c,d);break;case 22:d.memoizedState===null&&ni(c,d,s),Ua(d,d.return);break;case 30:break;default:ni(c,d,s)}n=n.sibling}}function Du(e,n){var s=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==s&&(e!=null&&e.refCount++,s!=null&&Ea(s))}function Ou(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ea(e))}function pn(e,n,s,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)jg(e,n,s,o),n=n.sibling}function jg(e,n,s,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:pn(e,n,s,o),c&2048&&Ba(9,n);break;case 1:pn(e,n,s,o);break;case 3:pn(e,n,s,o),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ea(e)));break;case 12:if(c&2048){pn(e,n,s,o),e=n.stateNode;try{var d=n.memoizedProps,v=d.id,w=d.onPostCommit;typeof w=="function"&&w(v,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(R){Pe(n,n.return,R)}}else pn(e,n,s,o);break;case 13:pn(e,n,s,o);break;case 23:break;case 22:d=n.stateNode,v=n.alternate,n.memoizedState!==null?d._visibility&2?pn(e,n,s,o):Ha(e,n):d._visibility&2?pn(e,n,s,o):(d._visibility|=2,Ds(e,n,s,o,(n.subtreeFlags&10256)!==0)),c&2048&&Du(v,n);break;case 24:pn(e,n,s,o),c&2048&&Ou(n.alternate,n);break;default:pn(e,n,s,o)}}function Ds(e,n,s,o,c){for(c=c&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var d=e,v=n,w=s,R=o,V=v.flags;switch(v.tag){case 0:case 11:case 15:Ds(d,v,w,R,c),Ba(8,v);break;case 23:break;case 22:var q=v.stateNode;v.memoizedState!==null?q._visibility&2?Ds(d,v,w,R,c):Ha(d,v):(q._visibility|=2,Ds(d,v,w,R,c)),c&&V&2048&&Du(v.alternate,v);break;case 24:Ds(d,v,w,R,c),c&&V&2048&&Ou(v.alternate,v);break;default:Ds(d,v,w,R,c)}n=n.sibling}}function Ha(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var s=e,o=n,c=o.flags;switch(o.tag){case 22:Ha(s,o),c&2048&&Du(o.alternate,o);break;case 24:Ha(s,o),c&2048&&Ou(o.alternate,o);break;default:Ha(s,o)}n=n.sibling}}var qa=8192;function Os(e){if(e.subtreeFlags&qa)for(e=e.child;e!==null;)Mg(e),e=e.sibling}function Mg(e){switch(e.tag){case 26:Os(e),e.flags&qa&&e.memoizedState!==null&&t2($t,e.memoizedState,e.memoizedProps);break;case 5:Os(e);break;case 3:case 4:var n=$t;$t=Lo(e.stateNode.containerInfo),Os(e),$t=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=qa,qa=16777216,Os(e),qa=n):Os(e));break;default:Os(e)}}function Cg(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function Ya(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var o=n[s];nt=o,Ng(o,e)}Cg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rg(e),e=e.sibling}function Rg(e){switch(e.tag){case 0:case 11:case 15:Ya(e),e.flags&2048&&ei(9,e,e.return);break;case 3:Ya(e);break;case 12:Ya(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Ao(e)):Ya(e);break;default:Ya(e)}}function Ao(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var o=n[s];nt=o,Ng(o,e)}Cg(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:ei(8,n,n.return),Ao(n);break;case 22:s=n.stateNode,s._visibility&2&&(s._visibility&=-3,Ao(n));break;default:Ao(n)}e=e.sibling}}function Ng(e,n){for(;nt!==null;){var s=nt;switch(s.tag){case 0:case 11:case 15:ei(8,s,n);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var o=s.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Ea(s.memoizedState.cache)}if(o=s.child,o!==null)o.return=s,nt=o;else e:for(s=e;nt!==null;){o=nt;var c=o.sibling,d=o.return;if(wg(o),o===s){nt=null;break e}if(c!==null){c.return=d,nt=c;break e}nt=d}}}var yT={getCacheForType:function(e){var n=ut(Ze),s=n.data.get(e);return s===void 0&&(s=e(),n.data.set(e,s)),s}},vT=typeof WeakMap=="function"?WeakMap:Map,Ne=0,Le=null,Se=null,Ae=0,De=0,Dt=null,ii=!1,_s=!1,_u=!1,Ln=0,qe=0,si=0,Xi=0,ku=0,Xt=0,ks=0,Ga=null,wt=null,Pu=!1,Lu=0,Eo=1/0,jo=null,ai=null,rt=0,ri=null,Ps=null,Ls=0,Vu=0,zu=null,Dg=null,Xa=0,Bu=null;function Ot(){if((Ne&2)!==0&&Ae!==0)return Ae&-Ae;if(_.T!==null){var e=Ts;return e!==0?e:Fu()}return Kh()}function Og(){Xt===0&&(Xt=(Ae&536870912)===0||Me?Yh():536870912);var e=Gt.current;return e!==null&&(e.flags|=32),Xt}function _t(e,n,s){(e===Le&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(Vs(e,0),oi(e,Ae,Xt,!1)),ca(e,s),((Ne&2)===0||e!==Le)&&(e===Le&&((Ne&2)===0&&(Xi|=s),qe===4&&oi(e,Ae,Xt,!1)),gn(e))}function _g(e,n,s){if((Ne&6)!==0)throw Error(r(327));var o=!s&&(n&124)===0&&(n&e.expiredLanes)===0||la(e,n),c=o?wT(e,n):qu(e,n,!0),d=o;do{if(c===0){_s&&!o&&oi(e,n,0,!1);break}else{if(s=e.current.alternate,d&&!xT(s)){c=qu(e,n,!1),d=!1;continue}if(c===2){if(d=n,e.errorRecoveryDisabledLanes&d)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){n=v;e:{var w=e;c=Ga;var R=w.current.memoizedState.isDehydrated;if(R&&(Vs(w,v).flags|=256),v=qu(w,v,!1),v!==2){if(_u&&!R){w.errorRecoveryDisabledLanes|=d,Xi|=d,c=4;break e}d=wt,wt=c,d!==null&&(wt===null?wt=d:wt.push.apply(wt,d))}c=v}if(d=!1,c!==2)continue}}if(c===1){Vs(e,0),oi(e,n,0,!0);break}e:{switch(o=e,d=c,d){case 0:case 1:throw Error(r(345));case 4:if((n&4194048)!==n)break;case 6:oi(o,n,Xt,!ii);break e;case 2:wt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((n&62914560)===n&&(c=Lu+300-fn(),10<c)){if(oi(o,n,Xt,!ii),Lr(o,0,!0)!==0)break e;o.timeoutHandle=ly(kg.bind(null,o,s,wt,jo,Pu,n,Xt,Xi,ks,ii,d,2,-0,0),c);break e}kg(o,s,wt,jo,Pu,n,Xt,Xi,ks,ii,d,0,-0,0)}}break}while(!0);gn(e)}function kg(e,n,s,o,c,d,v,w,R,V,q,F,B,U){if(e.timeoutHandle=-1,F=n.subtreeFlags,(F&8192||(F&16785408)===16785408)&&($a={stylesheets:null,count:0,unsuspend:e2},Mg(n),F=n2(),F!==null)){e.cancelPendingCommit=F(Hg.bind(null,e,n,d,s,o,c,v,w,R,q,1,B,U)),oi(e,d,v,!V);return}Hg(e,n,d,s,o,c,v,w,R)}function xT(e){for(var n=e;;){var s=n.tag;if((s===0||s===11||s===15)&&n.flags&16384&&(s=n.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var o=0;o<s.length;o++){var c=s[o],d=c.getSnapshot;c=c.value;try{if(!Mt(d(),c))return!1}catch{return!1}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function oi(e,n,s,o){n&=~ku,n&=~Xi,e.suspendedLanes|=n,e.pingedLanes&=~n,o&&(e.warmLanes|=n),o=e.expirationTimes;for(var c=n;0<c;){var d=31-jt(c),v=1<<d;o[d]=-1,c&=~v}s!==0&&Xh(e,s,n)}function Mo(){return(Ne&6)===0?(Fa(0),!1):!0}function Uu(){if(Se!==null){if(De===0)var e=Se.return;else e=Se,Cn=Bi=null,iu(e),Rs=null,La=0,e=Se;for(;e!==null;)hg(e.alternate,e),e=e.return;Se=null}}function Vs(e,n){var s=e.timeoutHandle;s!==-1&&(e.timeoutHandle=-1,VT(s)),s=e.cancelPendingCommit,s!==null&&(e.cancelPendingCommit=null,s()),Uu(),Le=e,Se=s=En(e.current,null),Ae=n,De=0,Dt=null,ii=!1,_s=la(e,n),_u=!1,ks=Xt=ku=Xi=si=qe=0,wt=Ga=null,Pu=!1,(n&8)!==0&&(n|=n&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=n;0<o;){var c=31-jt(o),d=1<<c;n|=e[c],o&=~d}return Ln=n,Qr(),s}function Pg(e,n){xe=null,_.H=mo,n===Ma||n===io?(n=$m(),De=3):n===Zm?(n=$m(),De=4):De=n===Jp?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Dt=n,Se===null&&(qe=1,xo(e,Ut(n,e.current)))}function Lg(){var e=_.H;return _.H=mo,e===null?mo:e}function Vg(){var e=_.A;return _.A=yT,e}function Hu(){qe=4,ii||(Ae&4194048)!==Ae&&Gt.current!==null||(_s=!0),(si&134217727)===0&&(Xi&134217727)===0||Le===null||oi(Le,Ae,Xt,!1)}function qu(e,n,s){var o=Ne;Ne|=2;var c=Lg(),d=Vg();(Le!==e||Ae!==n)&&(jo=null,Vs(e,n)),n=!1;var v=qe;e:do try{if(De!==0&&Se!==null){var w=Se,R=Dt;switch(De){case 8:Uu(),v=6;break e;case 3:case 2:case 9:case 6:Gt.current===null&&(n=!0);var V=De;if(De=0,Dt=null,zs(e,w,R,V),s&&_s){v=0;break e}break;default:V=De,De=0,Dt=null,zs(e,w,R,V)}}bT(),v=qe;break}catch(q){Pg(e,q)}while(!0);return n&&e.shellSuspendCounter++,Cn=Bi=null,Ne=o,_.H=c,_.A=d,Se===null&&(Le=null,Ae=0,Qr()),v}function bT(){for(;Se!==null;)zg(Se)}function wT(e,n){var s=Ne;Ne|=2;var o=Lg(),c=Vg();Le!==e||Ae!==n?(jo=null,Eo=fn()+500,Vs(e,n)):_s=la(e,n);e:do try{if(De!==0&&Se!==null){n=Se;var d=Dt;t:switch(De){case 1:De=0,Dt=null,zs(e,n,d,1);break;case 2:case 9:if(Wm(d)){De=0,Dt=null,Bg(n);break}n=function(){De!==2&&De!==9||Le!==e||(De=7),gn(e)},d.then(n,n);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:Wm(d)?(De=0,Dt=null,Bg(n)):(De=0,Dt=null,zs(e,n,d,7));break;case 5:var v=null;switch(Se.tag){case 26:v=Se.memoizedState;case 5:case 27:var w=Se;if(!v||by(v)){De=0,Dt=null;var R=w.sibling;if(R!==null)Se=R;else{var V=w.return;V!==null?(Se=V,Co(V)):Se=null}break t}}De=0,Dt=null,zs(e,n,d,5);break;case 6:De=0,Dt=null,zs(e,n,d,6);break;case 8:Uu(),qe=6;break e;default:throw Error(r(462))}}ST();break}catch(q){Pg(e,q)}while(!0);return Cn=Bi=null,_.H=o,_.A=c,Ne=s,Se!==null?0:(Le=null,Ae=0,Qr(),qe)}function ST(){for(;Se!==null&&!Gw();)zg(Se)}function zg(e){var n=fg(e.alternate,e,Ln);e.memoizedProps=e.pendingProps,n===null?Co(e):Se=n}function Bg(e){var n=e,s=n.alternate;switch(n.tag){case 15:case 0:n=ag(s,n,n.pendingProps,n.type,void 0,Ae);break;case 11:n=ag(s,n,n.pendingProps,n.type.render,n.ref,Ae);break;case 5:iu(n);default:hg(s,n),n=Se=Um(n,Ln),n=fg(s,n,Ln)}e.memoizedProps=e.pendingProps,n===null?Co(e):Se=n}function zs(e,n,s,o){Cn=Bi=null,iu(n),Rs=null,La=0;var c=n.return;try{if(fT(e,c,n,s,Ae)){qe=1,xo(e,Ut(s,e.current)),Se=null;return}}catch(d){if(c!==null)throw Se=c,d;qe=1,xo(e,Ut(s,e.current)),Se=null;return}n.flags&32768?(Me||o===1?e=!0:_s||(Ae&536870912)!==0?e=!1:(ii=e=!0,(o===2||o===9||o===3||o===6)&&(o=Gt.current,o!==null&&o.tag===13&&(o.flags|=16384))),Ug(n,e)):Co(n)}function Co(e){var n=e;do{if((n.flags&32768)!==0){Ug(n,ii);return}e=n.return;var s=hT(n.alternate,n,Ln);if(s!==null){Se=s;return}if(n=n.sibling,n!==null){Se=n;return}Se=n=e}while(n!==null);qe===0&&(qe=5)}function Ug(e,n){do{var s=mT(e.alternate,e);if(s!==null){s.flags&=32767,Se=s;return}if(s=e.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!n&&(e=e.sibling,e!==null)){Se=e;return}Se=e=s}while(e!==null);qe=6,Se=null}function Hg(e,n,s,o,c,d,v,w,R){e.cancelPendingCommit=null;do Ro();while(rt!==0);if((Ne&6)!==0)throw Error(r(327));if(n!==null){if(n===e.current)throw Error(r(177));if(d=n.lanes|n.childLanes,d|=Oc,eS(e,s,d,v,w,R),e===Le&&(Se=Le=null,Ae=0),Ps=n,ri=e,Ls=s,Vu=d,zu=c,Dg=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,jT(_r,function(){return Fg(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=_.T,_.T=null,c=Q.p,Q.p=2,v=Ne,Ne|=4;try{pT(e,n,s)}finally{Ne=v,Q.p=c,_.T=o}}rt=1,qg(),Yg(),Gg()}}function qg(){if(rt===1){rt=0;var e=ri,n=Ps,s=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||s){s=_.T,_.T=null;var o=Q.p;Q.p=2;var c=Ne;Ne|=4;try{Ag(n,e);var d=ef,v=Nm(e.containerInfo),w=d.focusedElem,R=d.selectionRange;if(v!==w&&w&&w.ownerDocument&&Rm(w.ownerDocument.documentElement,w)){if(R!==null&&Mc(w)){var V=R.start,q=R.end;if(q===void 0&&(q=V),"selectionStart"in w)w.selectionStart=V,w.selectionEnd=Math.min(q,w.value.length);else{var F=w.ownerDocument||document,B=F&&F.defaultView||window;if(B.getSelection){var U=B.getSelection(),ge=w.textContent.length,de=Math.min(R.start,ge),ke=R.end===void 0?de:Math.min(R.end,ge);!U.extend&&de>ke&&(v=ke,ke=de,de=v);var D=Cm(w,de),N=Cm(w,ke);if(D&&N&&(U.rangeCount!==1||U.anchorNode!==D.node||U.anchorOffset!==D.offset||U.focusNode!==N.node||U.focusOffset!==N.offset)){var P=F.createRange();P.setStart(D.node,D.offset),U.removeAllRanges(),de>ke?(U.addRange(P),U.extend(N.node,N.offset)):(P.setEnd(N.node,N.offset),U.addRange(P))}}}}for(F=[],U=w;U=U.parentNode;)U.nodeType===1&&F.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<F.length;w++){var G=F[w];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}Ho=!!Ju,ef=Ju=null}finally{Ne=c,Q.p=o,_.T=s}}e.current=n,rt=2}}function Yg(){if(rt===2){rt=0;var e=ri,n=Ps,s=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||s){s=_.T,_.T=null;var o=Q.p;Q.p=2;var c=Ne;Ne|=4;try{bg(e,n.alternate,n)}finally{Ne=c,Q.p=o,_.T=s}}rt=3}}function Gg(){if(rt===4||rt===3){rt=0,Xw();var e=ri,n=Ps,s=Ls,o=Dg;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?rt=5:(rt=0,Ps=ri=null,Xg(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(ai=null),rc(s),n=n.stateNode,Et&&typeof Et.onCommitFiberRoot=="function")try{Et.onCommitFiberRoot(oa,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=_.T,c=Q.p,Q.p=2,_.T=null;try{for(var d=e.onRecoverableError,v=0;v<o.length;v++){var w=o[v];d(w.value,{componentStack:w.stack})}}finally{_.T=n,Q.p=c}}(Ls&3)!==0&&Ro(),gn(e),c=e.pendingLanes,(s&4194090)!==0&&(c&42)!==0?e===Bu?Xa++:(Xa=0,Bu=e):Xa=0,Fa(0)}}function Xg(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Ea(n)))}function Ro(e){return qg(),Yg(),Gg(),Fg()}function Fg(){if(rt!==5)return!1;var e=ri,n=Vu;Vu=0;var s=rc(Ls),o=_.T,c=Q.p;try{Q.p=32>s?32:s,_.T=null,s=zu,zu=null;var d=ri,v=Ls;if(rt=0,Ps=ri=null,Ls=0,(Ne&6)!==0)throw Error(r(331));var w=Ne;if(Ne|=4,Rg(d.current),jg(d,d.current,v,s),Ne=w,Fa(0,!1),Et&&typeof Et.onPostCommitFiberRoot=="function")try{Et.onPostCommitFiberRoot(oa,d)}catch{}return!0}finally{Q.p=c,_.T=o,Xg(e,n)}}function Kg(e,n,s){n=Ut(s,n),n=yu(e.stateNode,n,2),e=Wn(e,n,2),e!==null&&(ca(e,2),gn(e))}function Pe(e,n,s){if(e.tag===3)Kg(e,e,s);else for(;n!==null;){if(n.tag===3){Kg(n,e,s);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ai===null||!ai.has(o))){e=Ut(s,e),s=Ip(2),o=Wn(n,s,2),o!==null&&($p(s,o,n,e),ca(o,2),gn(o));break}}n=n.return}}function Yu(e,n,s){var o=e.pingCache;if(o===null){o=e.pingCache=new vT;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(s)||(_u=!0,c.add(s),e=TT.bind(null,e,n,s),n.then(e,e))}function TT(e,n,s){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,Le===e&&(Ae&s)===s&&(qe===4||qe===3&&(Ae&62914560)===Ae&&300>fn()-Lu?(Ne&2)===0&&Vs(e,0):ku|=s,ks===Ae&&(ks=0)),gn(e)}function Qg(e,n){n===0&&(n=Gh()),e=xs(e,n),e!==null&&(ca(e,n),gn(e))}function AT(e){var n=e.memoizedState,s=0;n!==null&&(s=n.retryLane),Qg(e,s)}function ET(e,n){var s=0;switch(e.tag){case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(s=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(n),Qg(e,s)}function jT(e,n){return Vt(e,n)}var No=null,Bs=null,Gu=!1,Do=!1,Xu=!1,Fi=0;function gn(e){e!==Bs&&e.next===null&&(Bs===null?No=Bs=e:Bs=Bs.next=e),Do=!0,Gu||(Gu=!0,CT())}function Fa(e,n){if(!Xu&&Do){Xu=!0;do for(var s=!1,o=No;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var v=o.suspendedLanes,w=o.pingedLanes;d=(1<<31-jt(42|e)+1)-1,d&=c&~(v&~w),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(s=!0,$g(o,d))}else d=Ae,d=Lr(o,o===Le?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||la(o,d)||(s=!0,$g(o,d));o=o.next}while(s);Xu=!1}}function MT(){Zg()}function Zg(){Do=Gu=!1;var e=0;Fi!==0&&(LT()&&(e=Fi),Fi=0);for(var n=fn(),s=null,o=No;o!==null;){var c=o.next,d=Wg(o,n);d===0?(o.next=null,s===null?No=c:s.next=c,c===null&&(Bs=s)):(s=o,(e!==0||(d&3)!==0)&&(Do=!0)),o=c}Fa(e)}function Wg(e,n){for(var s=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var v=31-jt(d),w=1<<v,R=c[v];R===-1?((w&s)===0||(w&o)!==0)&&(c[v]=Jw(w,n)):R<=n&&(e.expiredLanes|=w),d&=~w}if(n=Le,s=Ae,s=Lr(e,e===n?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,s===0||e===n&&(De===2||De===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Yn(o),e.callbackNode=null,e.callbackPriority=0;if((s&3)===0||la(e,s)){if(n=s&-s,n===e.callbackPriority)return n;switch(o!==null&&Yn(o),rc(s)){case 2:case 8:s=Hh;break;case 32:s=_r;break;case 268435456:s=qh;break;default:s=_r}return o=Ig.bind(null,e),s=Vt(s,o),e.callbackPriority=n,e.callbackNode=s,n}return o!==null&&o!==null&&Yn(o),e.callbackPriority=2,e.callbackNode=null,2}function Ig(e,n){if(rt!==0&&rt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var s=e.callbackNode;if(Ro()&&e.callbackNode!==s)return null;var o=Ae;return o=Lr(e,e===Le?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(_g(e,o,n),Wg(e,fn()),e.callbackNode!=null&&e.callbackNode===s?Ig.bind(null,e):null)}function $g(e,n){if(Ro())return null;_g(e,n,!0)}function CT(){zT(function(){(Ne&6)!==0?Vt(Uh,MT):Zg()})}function Fu(){return Fi===0&&(Fi=Yh()),Fi}function Jg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Hr(""+e)}
vendor: 5,053 bytes, line 8
8function ey(e,n){var s=n.ownerDocument.createElement("input");return s.name=n.name,s.value=n.value,e.id&&s.setAttribute("form",e.id),n.parentNode.insertBefore(s,n),e=new FormData(e),s.parentNode.removeChild(s),e}function RT(e,n,s,o,c){if(n==="submit"&&s&&s.stateNode===c){var d=Jg((c[yt]||null).action),v=o.submitter;v&&(n=(n=v[yt]||null)?Jg(n.formAction):v.getAttribute("formAction"),n!==null&&(d=n,v=null));var w=new Xr("action","action",null,o,c);e.push({event:w,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Fi!==0){var R=v?ey(c,v):new FormData(c);du(s,{pending:!0,data:R,method:c.method,action:d},null,R)}}else typeof d=="function"&&(w.preventDefault(),R=v?ey(c,v):new FormData(c),du(s,{pending:!0,data:R,method:c.method,action:d},d,R))},currentTarget:c}]})}}for(var Ku=0;Ku<Dc.length;Ku++){var Qu=Dc[Ku],NT=Qu.toLowerCase(),DT=Qu[0].toUpperCase()+Qu.slice(1);It(NT,"on"+DT)}It(_m,"onAnimationEnd"),It(km,"onAnimationIteration"),It(Pm,"onAnimationStart"),It("dblclick","onDoubleClick"),It("focusin","onFocus"),It("focusout","onBlur"),It(QS,"onTransitionRun"),It(ZS,"onTransitionStart"),It(WS,"onTransitionCancel"),It(Lm,"onTransitionEnd"),cs("onMouseEnter",["mouseout","mouseover"]),cs("onMouseLeave",["mouseout","mouseover"]),cs("onPointerEnter",["pointerout","pointerover"]),cs("onPointerLeave",["pointerout","pointerover"]),Ni("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ni("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ni("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ni("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ni("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ni("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ka="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(" "),OT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ka));function ty(e,n){n=(n&4)!==0;for(var s=0;s<e.length;s++){var o=e[s],c=o.event;o=o.listeners;e:{var d=void 0;if(n)for(var v=o.length-1;0<=v;v--){var w=o[v],R=w.instance,V=w.currentTarget;if(w=w.listener,R!==d&&c.isPropagationStopped())break e;d=w,c.currentTarget=V;try{d(c)}catch(q){vo(q)}c.currentTarget=null,d=R}else for(v=0;v<o.length;v++){if(w=o[v],R=w.instance,V=w.currentTarget,w=w.listener,R!==d&&c.isPropagationStopped())break e;d=w,c.currentTarget=V;try{d(c)}catch(q){vo(q)}c.currentTarget=null,d=R}}}}function Te(e,n){var s=n[oc];s===void 0&&(s=n[oc]=new Set);var o=e+"__bubble";s.has(o)||(ny(n,e,2,!1),s.add(o))}function Zu(e,n,s){var o=0;n&&(o|=4),ny(s,e,o,n)}var Oo="_reactListening"+Math.random().toString(36).slice(2);function Wu(e){if(!e[Oo]){e[Oo]=!0,Zh.forEach(function(s){s!=="selectionchange"&&(OT.has(s)||Zu(s,!1,e),Zu(s,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Oo]||(n[Oo]=!0,Zu("selectionchange",!1,n))}}function ny(e,n,s,o){switch(jy(n)){case 2:var c=a2;break;case 8:c=r2;break;default:c=ff}s=c.bind(null,n,s,e),c=void 0,!vc||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(n,s,{capture:!0,passive:c}):e.addEventListener(n,s,!0):c!==void 0?e.addEventListener(n,s,{passive:c}):e.addEventListener(n,s,!1)}function Iu(e,n,s,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var v=o.tag;if(v===3||v===4){var w=o.stateNode.containerInfo;if(w===c)break;if(v===4)for(v=o.return;v!==null;){var R=v.tag;if((R===3||R===4)&&v.stateNode.containerInfo===c)return;v=v.return}for(;w!==null;){if(v=rs(w),v===null)return;if(R=v.tag,R===5||R===6||R===26||R===27){o=d=v;continue e}w=w.parentNode}}o=o.return}cm(function(){var V=d,q=gc(s),F=[];e:{var B=Vm.get(e);if(B!==void 0){var U=Xr,ge=e;switch(e){case"keypress":if(Yr(s)===0)break e;case"keydown":case"keyup":U=jS;break;case"focusin":ge="focus",U=Sc;break;case"focusout":ge="blur",U=Sc;break;case"beforeblur":case"afterblur":U=Sc;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=dm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=mS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=RS;break;case _m:case km:case Pm:U=yS;break;case Lm:U=DS;break;case"scroll":case"scrollend":U=dS;break;case"wheel":U=_S;break;case"copy":case"cut":case"paste":U=xS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=mm;break;case"toggle":case"beforetoggle":U=PS}var de=(n&4)!==0,ke=!de&&(e==="scroll"||e==="scrollend"),D=de?B!==null?B+"
8Capture":null:B;de=[];for(var N=V,P;N!==null;){var G=N;if(P=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||P===null||D===null||(G=da(N,D),G!=null&&de.push(Qa(N,G,P))),ke)break;N=N.return}0<de.length&&(B=new U(B,ge,null,s,q),F.push({event:B,listeners:de}))}}if((n&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",U=e==="mouseout"||e==="pointerout",B&&s!==pc&&(ge=s.relatedTarget||s.fromElement)&&(rs(ge)||ge[as]))break e;if((U||B)&&(B=q.window===q?q:(B=q.ownerDocument)?B.defaultView||B.parentWindow:window,U?(ge=s.relatedTarget||s.toElement,U=V,ge=ge?rs(ge):null,ge!==null&&(ke=u(ge),de=ge.tag,ge!==ke||de!==5&&de!==27&&de!==6)&&(ge=null)):(U=null,ge=V),U!==ge)){if(de=dm,G="onMouseLeave",D="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(de=mm,G="onPointerLeave",D="onPointerEnter",N="pointer"),ke=U==null?B:fa(U),P=ge==null?B:fa(ge),B=new de(G,N+"leave",U,s,q),B.target=ke,B.relatedTarget=P,G=null,rs(q)===V&&(de=new de(D,N+"enter",ge,s,q),de.target=P,de.relatedTarget=ke,G=de),ke=G,U&&ge)t:{for(de=U,D=ge,N=0,P=de;P;P=Us(P))N++;for(P=0,G=D;G;G=Us(G))P++;for(;0<N-P;)de=Us(de),N--;for(;0<P-N;)D=Us(D),P--;for(;N--;){if(de===D||D!==null&&de===D.alternate)break t;de=Us(de),D=Us(D)}de=null}else de=null;U!==null&&iy(F,B,U,de,!1),ge!==null&&ke!==null&&iy(F,ke,ge,de,!0)}}
vendor: 5,204 bytes, lines 8-9
8e:{if(B=V?fa(V):window,U=B.nodeName&&B.nodeName.toLowerCase(),U==="select"||U==="input"&&B.type==="file")var ne=Sm;else if(bm(B))if(Tm)ne=XS;else{ne=YS;var we=qS}else U=B.nodeName,!U||U.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?V&&mc(V.elementType)&&(ne=Sm):ne=GS;if(ne&&(ne=ne(e,V))){wm(F,ne,s,q);break e}we&&we(e,B,V),e==="focusout"&&V&&B.type==="number"&&V.memoizedProps.value!=null&&hc(B,"number",B.value)}switch(we=V?fa(V):window,e){case"focusin":(bm(we)||we.contentEditable==="true")&&(gs=we,Cc=V,ba=null);break;case"focusout":ba=Cc=gs=null;break;case"mousedown":Rc=!0;break;case"contextmenu":case"mouseup":case"dragend":Rc=!1,Dm(F,s,q);break;case"selectionchange":if(KS)break;case"keydown":case"keyup":Dm(F,s,q)}var fe;if(Ac)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else ps?vm(e,s)&&(me="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(me="onCompositionStart");me&&(pm&&s.locale!=="ko"&&(ps||me!=="onCompositionStart"?me==="onCompositionEnd"&&ps&&(fe=um()):(Fn=q,xc="value"in Fn?Fn.value:Fn.textContent,ps=!0)),we=_o(V,me),0<we.length&&(me=new hm(me,e,null,s,q),F.push({event:me,listeners:we}),fe?me.data=fe:(fe=xm(s),fe!==null&&(me.data=fe)))),(fe=VS?zS(e,s):BS(e,s))&&(me=_o(V,"onBeforeInput"),0<me.length&&(we=new hm("onBeforeInput","beforeinput",null,s,q),F.push({event:we,listeners:me}),we.data=fe)),RT(F,e,V,s,q)}ty(F,n)})}function Qa(e,n,s){return{instance:e,listener:n,currentTarget:s}}function _o(e,n){for(var s=n+"Capture",o=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=da(e,s),c!=null&&o.unshift(Qa(e,c,d)),c=da(e,n),c!=null&&o.push(Qa(e,c,d))),e.tag===3)return o;e=e.return}return[]}function Us(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function iy(e,n,s,o,c){for(var d=n._reactName,v=[];s!==null&&s!==o;){var w=s,R=w.alternate,V=w.stateNode;if(w=w.tag,R!==null&&R===o)break;w!==5&&w!==26&&w!==27||V===null||(R=V,c?(V=da(s,d),V!=null&&v.unshift(Qa(s,V,R))):c||(V=da(s,d),V!=null&&v.push(Qa(s,V,R)))),s=s.return}v.length!==0&&e.push({event:n,listeners:v})}var _T=/\r\n?/g,kT=/\u0000|\uFFFD/g;function sy(e){return(typeof e=="string"?e:""+e).replace(_T,` 9`).replace(kT,"")}function ay(e,n){return n=sy(n),sy(e)===n}function ko(){}function _e(e,n,s,o,c,d){switch(s){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||ds(e,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&ds(e,""+o);break;case"className":zr(e,"class",o);break;case"tabIndex":zr(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":zr(e,s,o);break;case"style":om(e,o,d);break;case"data":if(n!=="object"){zr(e,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||s!=="href")){e.removeAttribute(s);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(s);break}o=Hr(""+o),e.setAttribute(s,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(s==="formAction"?(n!=="input"&&_e(e,n,"name",c.name,c,null),_e(e,n,"formEncType",c.formEncType,c,null),_e(e,n,"formMethod",c.formMethod,c,null),_e(e,n,"formTarget",c.formTarget,c,null)):(_e(e,n,"encType",c.encType,c,null),_e(e,n,"method",c.method,c,null),_e(e,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(s);break}o=Hr(""+o),e.setAttribute(s,o);break;case"onClick":o!=null&&(e.onclick=ko);break;case"onScroll":o!=null&&Te("scroll",e);break;case"onScrollEnd":o!=null&&Te("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=s}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}s=Hr(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(s,""+o):e.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(s,""):e.removeAttribute(s);break;case"capture":case"download":o===!0?e.setAttribute(s,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(s,o):e.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(s,o):e.removeAttribute(s);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(s):e.setAttribute(s,o);break;case"popover":Te("beforetoggle",e),Te("toggle",e),Vr(e,"popover",o);break;case"xlinkActuate":Tn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Tn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Tn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Tn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Tn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Tn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Vr(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=uS.get(s)||s,Vr(e,s,o))}}function $u(e,n,s,o,c,d){switch(s){case"style":om(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=s}}break;case"children":typeof o=="string"?ds(e,o):(typeof o=="number"||typeof o=="bigint")&&ds(e,""+o);break;case"onScroll":o!=null&&Te("scroll",e);break;case"onScrollEnd":o!=null&&Te("scrollend",e);break;case"onClick":o!=null&&(e.onclick=ko);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wh.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(c=s.endsWith("Capture"),n=s.slice(2,c?s.length-7:void 0),d=e[yt]||null,d=d!=null?d[s]:null,typeof d=="function"&&e.removeEventListener(n,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(s in e?e[s]=null:e.hasAttribute(s)&&e.removeAttribute(s)),e.addEventListener(n,o,c);break e}s in e?e[s]=o:o===!0?e.setAttribute(s,""):Vr(e,s,o)}}}function ot(e,n,s){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("load",e);var o=!1,c=!1,d;for(d in s)if(s.hasOwnProperty(d)){var v=s[d];if(v!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_e(e,n,d,v,s,null)}}c&&_e(e,n,"srcSet",s.srcSet,s,null),o&&_e(e,n,"src",s.src,s,null);return;case"input":Te("invalid",e);var w=d=v=c=null,R=null,V=null;for(o in s)if(s.hasOwnProperty(o)){var q=s[o];if(q!=null)switch(o){case"name":c=q;break;case"type":v=q;break;case"checked":R=q;break;case"defaultChecked":V=q;break;case"value":d=q;break;case"defaultValue":w=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,n));break;default:_e(e,n,o,q,s,null)}}im(e,d,w,R,V,v,c,!1),Br(e);return;case"select":Te("invalid",e),o=v=d=null;for(c in s)if(s.hasOwnProperty(c)&&(w=s[c],w!=null))switch(c){case"value":d=w;break;case"defaultValue":v=w;break;case"multiple":o=w;default:_e(e,n,c,w,s,null)}n=d,s=v,e.multiple=!!o,n!=null?fs(e,!!o,n,!1):s!=null&&fs(e,!!o,s,!0);return;case"textarea":Te("invalid",e),d=c=o=null;for(v in s)if(s.hasOwnProperty(v)&&(w=s[v],w!=null))switch(v){case"value":o=w;break;case"defaultValue":c=w;break;case"children":d=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(91));break;default:_e(e,n,v,w,s,null)}am(e,o,c,d),Br(e);return;case"option":for(R in s)s.hasOwnProperty(R)&&(o=s[R],o!=null)&&(R==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":_e(e,n,R,o,s,null));return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(o=0;o<Ka.length;o++)Te(Ka[o],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(V in s)if(s.hasOwnProperty(V)&&(o=s[V],o!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:_e(e,n,V,o,s,null)}return;default:if(mc(n)){for(q in s)s.hasOwnProperty(q)&&(o=s[q],o!==void 0&&$u(e,n,q,o,s,void 0));return}}for(w in s)s.hasOwnProperty(w)&&(o=s[w],o!=null&&_e(e,n,w,o,s,null))}function PT(e,n,s,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,v=null,w=null,R=null,V=null,q=null;for(U in s){var F=s[U];if(s.hasOwnProperty(U)&&F!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":R=F;default:o.hasOwnProperty(U)||_e(e,n,U,null,o,F)}}for(var B in o){var U=o[B];if(F=s[B],o.hasOwnProperty(B)&&(U!=null||F!=null))switch(B){case"type":d=U;break;case"name":c=U;break;case"checked":V=U;break;case"defaultChecked":q=U;break;case"value":v=U;break;case"defaultValue":w=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,n));break;default:U!==F&&_e(e,n,B,U,o,F)}}dc(e,v,w,R,V,q,d,c);return;case"select":U=v=w=B=null;for(d in s)if(R=s[d],s.hasOwnProperty(d)&&R!=null)switch(d){case"value":break;case"multiple":U=R;default:o.hasOwnProperty(d)||_e(e,n,d,null,o,R)}for(c in o)if(d=o[c],R=s[c],o.hasOwnProperty(c)&&(d!=null||R!=null))switch(c){case"value":B=d;break;case"defaultValue":w=d;break;case"multiple":v=d;default:d!==R&&_e(e,n,c,d,o,R)}n=w,s=v,o=U,B!=null?fs(e,!!s,B,!1):!!o!=!!s&&(n!=null?fs(e,!!s,n,!0):fs(e,!!s,s?[]:"",!1));return;case"textarea":U=B=null;for(w in s)if(c=s[w],s.hasOwnProperty(w)&&c!=null&&!o.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:_e(e,n,w,null,o,c)}for(v in o)if(c=o[v],d=s[v],o.hasOwnProperty(v)&&(c!=null||d!=null))switch(v){case"value":B=c;break;case"defaultValue":U=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==d&&_e(e,n,v,c,o,d)}sm(e,B,U);return;case"option":for(var ge in s)B=s[ge],s.hasOwnProperty(ge)&&B!=null&&!o.hasOwnProperty(ge)&&(ge==="selected"?e.selected=!1:_e(e,n,ge,null,o,B));for(R in o)B=o[R],U=s[R],o.hasOwnProperty(R)&&B!==U&&(B!=null||U!=null)&&(R==="selected"?e.selected=B&&typeof B!="function"&&typeof B!="symbol":_e(e,n,R,B,o,U));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 de in s)B=s[de],s.hasOwnProperty(de)&&B!=null&&!o.hasOwnProperty(de)&&_e(e,n,de,null,o,B);
vendor: 22,052 bytes, line 9
9for(V in o)if(B=o[V],U=s[V],o.hasOwnProperty(V)&&B!==U&&(B!=null||U!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,n));break;default:_e(e,n,V,B,o,U)}return;default:if(mc(n)){for(var ke in s)B=s[ke],s.hasOwnProperty(ke)&&B!==void 0&&!o.hasOwnProperty(ke)&&$u(e,n,ke,void 0,o,B);for(q in o)B=o[q],U=s[q],!o.hasOwnProperty(q)||B===U||B===void 0&&U===void 0||$u(e,n,q,B,o,U);return}}for(var D in s)B=s[D],s.hasOwnProperty(D)&&B!=null&&!o.hasOwnProperty(D)&&_e(e,n,D,null,o,B);for(F in o)B=o[F],U=s[F],!o.hasOwnProperty(F)||B===U||B==null&&U==null||_e(e,n,F,B,o,U)}var Ju=null,ef=null;function Po(e){return e.nodeType===9?e:e.ownerDocument}function ry(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function oy(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function tf(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var nf=null;function LT(){var e=window.event;return e&&e.type==="popstate"?e===nf?!1:(nf=e,!0):(nf=null,!1)}var ly=typeof setTimeout=="function"?setTimeout:void 0,VT=typeof clearTimeout=="function"?clearTimeout:void 0,cy=typeof Promise=="function"?Promise:void 0,zT=typeof queueMicrotask=="function"?queueMicrotask:typeof cy<"u"?function(e){return cy.resolve(null).then(e).catch(BT)}:ly;function BT(e){setTimeout(function(){throw e})}function li(e){return e==="head"}function uy(e,n){var s=n,o=0,c=0;do{var d=s.nextSibling;if(e.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(0<o&&8>o){s=o;var v=e.ownerDocument;if(s&1&&Za(v.documentElement),s&2&&Za(v.body),s&4)for(s=v.head,Za(s),v=s.firstChild;v;){var w=v.nextSibling,R=v.nodeName;v[ua]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&v.rel.toLowerCase()==="stylesheet"||s.removeChild(v),v=w}}if(c===0){e.removeChild(d),ir(n);return}c--}else s==="$"||s==="$?"||s==="$!"?c++:o=s.charCodeAt(0)-48;else o=0;s=d}while(s);ir(n)}function sf(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var s=n;switch(n=n.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":sf(s),lc(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}e.removeChild(s)}}function UT(e,n,s,o){for(;e.nodeType===1;){var c=s;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[ua])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=Jt(e.nextSibling),e===null)break}return null}function HT(e,n,s){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!s||(e=Jt(e.nextSibling),e===null))return null;return e}function af(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function qT(e,n){var s=e.ownerDocument;if(e.data!=="$?"||s.readyState==="complete")n();else{var o=function(){n(),s.removeEventListener("DOMContentLoaded",o)};s.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function Jt(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return e}var rf=null;function fy(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"){if(n===0)return e;n--}else s==="/$"&&n++}e=e.previousSibling}return null}function dy(e,n,s){switch(n=Po(s),e){case"html":if(e=n.documentElement,!e)throw Error(r(452));return e;case"head":if(e=n.head,!e)throw Error(r(453));return e;case"body":if(e=n.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Za(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);lc(e)}var Ft=new Map,hy=new Set;function Lo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Vn=Q.d;Q.d={f:YT,r:GT,D:XT,C:FT,L:KT,m:QT,X:WT,S:ZT,M:IT};function YT(){var e=Vn.f(),n=Mo();return e||n}function GT(e){var n=os(e);n!==null&&n.tag===5&&n.type==="form"?_p(n):Vn.r(e)}var Hs=typeof document>"u"?null:document;function my(e,n,s){var o=Hs;if(o&&typeof n=="string"&&n){var c=Bt(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof s=="string"&&(c+='[crossorigin="'+s+'"]'),hy.has(c)||(hy.add(c),e={rel:e,crossOrigin:s,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),ot(n,"link",e),et(n),o.head.appendChild(n)))}}function XT(e){Vn.D(e),my("dns-prefetch",e,null)}function FT(e,n){Vn.C(e,n),my("preconnect",e,n)}function KT(e,n,s){Vn.L(e,n,s);var o=Hs;if(o&&e&&n){var c='link[rel="preload"][as="'+Bt(n)+'"]';n==="image"&&s&&s.imageSrcSet?(c+='[imagesrcset="'+Bt(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(c+='[imagesizes="'+Bt(s.imageSizes)+'"]')):c+='[href="'+Bt(e)+'"]';var d=c;switch(n){case"style":d=qs(e);break;case"script":d=Ys(e)}Ft.has(d)||(e=y({rel:"preload",href:n==="image"&&s&&s.imageSrcSet?void 0:e,as:n},s),Ft.set(d,e),o.querySelector(c)!==null||n==="style"&&o.querySelector(Wa(d))||n==="script"&&o.querySelector(Ia(d))||(n=o.createElement("link"),ot(n,"link",e),et(n),o.head.appendChild(n)))}}function QT(e,n){Vn.m(e,n);var s=Hs;if(s&&e){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Bt(o)+'"][href="'+Bt(e)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Ys(e)}if(!Ft.has(d)&&(e=y({rel:"modulepreload",href:e},n),Ft.set(d,e),s.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Ia(d)))return}o=s.createElement("link"),ot(o,"link",e),et(o),s.head.appendChild(o)}}}function ZT(e,n,s){Vn.S(e,n,s);var o=Hs;if(o&&e){var c=ls(o).hoistableStyles,d=qs(e);n=n||"default";var v=c.get(d);if(!v){var w={loading:0,preload:null};if(v=o.querySelector(Wa(d)))w.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":n},s),(s=Ft.get(d))&&of(e,s);var R=v=o.createElement("link");et(R),ot(R,"link",e),R._p=new Promise(function(V,q){R.onload=V,R.onerror=q}),R.addEventListener("load",function(){w.loading|=1}),R.addEventListener("error",function(){w.loading|=2}),w.loading|=4,Vo(v,n,o)}v={type:"stylesheet",instance:v,count:1,state:w},c.set(d,v)}}}function WT(e,n){Vn.X(e,n);var s=Hs;if(s&&e){var o=ls(s).hoistableScripts,c=Ys(e),d=o.get(c);d||(d=s.querySelector(Ia(c)),d||(e=y({src:e,async:!0},n),(n=Ft.get(c))&&lf(e,n),d=s.createElement("script"),et(d),ot(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function IT(e,n){Vn.M(e,n);var s=Hs;if(s&&e){var o=ls(s).hoistableScripts,c=Ys(e),d=o.get(c);d||(d=s.querySelector(Ia(c)),d||(e=y({src:e,async:!0,type:"module"},n),(n=Ft.get(c))&&lf(e,n),d=s.createElement("script"),et(d),ot(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function py(e,n,s,o){var c=(c=re.current)?Lo(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(n=qs(s.href),s=ls(c).hoistableStyles,o=s.get(n),o||(o={type:"style",instance:null,count:0,state:null},s.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=qs(s.href);var d=ls(c).hoistableStyles,v=d.get(e);if(v||(c=c.ownerDocument||c,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,v),(d=c.querySelector(Wa(e)))&&!d._p&&(v.instance=d,v.state.loading=5),Ft.has(e)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Ft.set(e,s),d||$T(c,e,s,v.state))),n&&o===null)throw Error(r(528,""));return v}if(n&&o!==null)throw Error(r(529,""));return null;case"script":return n=s.async,s=s.src,typeof s=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Ys(s),s=ls(c).hoistableScripts,o=s.get(n),o||(o={type:"script",instance:null,count:0,state:null},s.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function qs(e){return'href="'+Bt(e)+'"'}function Wa(e){return'link[rel="stylesheet"]['+e+"]"}function gy(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function $T(e,n,s,o){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=e.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),ot(n,"link",s),et(n),e.head.appendChild(n))}function Ys(e){return'[src="'+Bt(e)+'"]'}function Ia(e){return"script[async]"+e}function yy(e,n,s){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Bt(s.href)+'"]');if(o)return n.instance=o,et(o),o;var c=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),et(o),ot(o,"style",c),Vo(o,s.precedence,e),n.instance=o;case"stylesheet":c=qs(s.href);var d=e.querySelector(Wa(c));if(d)return n.state.loading|=4,n.instance=d,et(d),d;o=gy(s),(c=Ft.get(c))&&of(o,c),d=(e.ownerDocument||e).createElement("link"),et(d);var v=d;return v._p=new Promise(function(w,R){v.onload=w,v.onerror=R}),ot(d,"link",o),n.state.loading|=4,Vo(d,s.precedence,e),n.instance=d;case"script":return d=Ys(s.src),(c=e.querySelector(Ia(d)))?(n.instance=c,et(c),c):(o=s,(c=Ft.get(d))&&(o=y({},s),lf(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),et(c),ot(c,"link",o),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(r(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,Vo(o,s.precedence,e));return n.instance}function Vo(e,n,s){for(var o=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,v=0;v<o.length;v++){var w=o[v];if(w.dataset.precedence===n)d=w;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=s.nodeType===9?s.head:s,n.insertBefore(e,n.firstChild))}function of(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function lf(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var zo=null;function vy(e,n,s){if(zo===null){var o=new Map,c=zo=new Map;c.set(s,o)}else c=zo,o=c.get(s),o||(o=new Map,c.set(s,o));if(o.has(e))return o;for(o.set(e,null),s=s.getElementsByTagName(e),c=0;c<s.length;c++){var d=s[c];if(!(d[ua]||d[ct]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var v=d.getAttribute(n)||"";v=e+v;var w=o.get(v);w?w.push(d):o.set(v,[d])}}return o}function xy(e,n,s){e=e.ownerDocument||e,e.head.insertBefore(s,n==="title"?e.querySelector("head > title"):null)}function JT(e,n,s){if(s===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(e=n.disabled,typeof n.precedence=="string"&&e==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function by(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var $a=null;function e2(){}function t2(e,n,s){if($a===null)throw Error(r(475));var o=$a;if(n.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var c=qs(s.href),d=e.querySelector(Wa(c));if(d){e=d._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(o.count++,o=Bo.bind(o),e.then(o,o)),n.state.loading|=4,n.instance=d,et(d);return}d=e.ownerDocument||e,s=gy(s),(c=Ft.get(c))&&of(s,c),d=d.createElement("link"),et(d);var v=d;v._p=new Promise(function(w,R){v.onload=w,v.onerror=R}),ot(d,"link",s),n.instance=d}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(o.count++,n=Bo.bind(o),e.addEventListener("load",n),e.addEventListener("error",n))}}function n2(){if($a===null)throw Error(r(475));var e=$a;return e.stylesheets&&e.count===0&&cf(e,e.stylesheets),0<e.count?function(n){var s=setTimeout(function(){if(e.stylesheets&&cf(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},6e4);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(s)}}:null}function Bo(){if(this.count--,this.count===0){if(this.stylesheets)cf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Uo=null;function cf(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Uo=new Map,n.forEach(i2,e),Uo=null,Bo.call(e))}function i2(e,n){if(!(n.state.loading&4)){var s=Uo.get(e);if(s)var o=s.get(null);else{s=new Map,Uo.set(e,s);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var v=c[d];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(s.set(v.dataset.precedence,v),o=v)}o&&s.set(null,o)}c=n.instance,v=c.getAttribute("data-precedence"),d=s.get(v)||o,d===o&&s.set(null,c),s.set(v,c),this.count++,o=Bo.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var Ja={$$typeof:O,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function s2(e,n,s,o,c,d,v,w){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=sc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sc(0),this.hiddenUpdates=sc(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function wy(e,n,s,o,c,d,v,w,R,V,q,F){return e=new s2(e,n,s,v,w,R,V,F),n=1,d===!0&&(n|=24),d=Ct(3,null,null,n),e.current=d,d.stateNode=e,n=Yc(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:s,cache:n},Kc(d),e}function Sy(e){return e?(e=bs,e):bs}function Ty(e,n,s,o,c,d){c=Sy(c),o.context===null?o.context=c:o.pendingContext=c,o=Zn(n),o.payload={element:s},d=d===void 0?null:d,d!==null&&(o.callback=d),s=Wn(e,o,n),s!==null&&(_t(s,e,n),Ra(s,e,n))}function Ay(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<n?s:n}}function uf(e,n){Ay(e,n),(e=e.alternate)&&Ay(e,n)}function Ey(e){if(e.tag===13){var n=xs(e,67108864);n!==null&&_t(n,e,67108864),uf(e,67108864)}}var Ho=!0;function a2(e,n,s,o){var c=_.T;_.T=null;var d=Q.p;try{Q.p=2,ff(e,n,s,o)}finally{Q.p=d,_.T=c}}function r2(e,n,s,o){var c=_.T;_.T=null;var d=Q.p;try{Q.p=8,ff(e,n,s,o)}finally{Q.p=d,_.T=c}}function ff(e,n,s,o){if(Ho){var c=df(o);if(c===null)Iu(e,n,o,qo,s),My(e,o);else if(l2(c,e,n,s,o))o.stopPropagation();else if(My(e,o),n&4&&-1<o2.indexOf(e)){for(;c!==null;){var d=os(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var v=Ri(d.pendingLanes);if(v!==0){var w=d;for(w.pendingLanes|=2,w.entangledLanes|=2;v;){var R=1<<31-jt(v);w.entanglements[1]|=R,v&=~R}gn(d),(Ne&6)===0&&(Eo=fn()+500,Fa(0))}}break;case 13:w=xs(d,2),w!==null&&_t(w,d,2),Mo(),uf(d,2)}if(d=df(o),d===null&&Iu(e,n,o,qo,s),d===c)break;c=d}c!==null&&o.stopPropagation()}else Iu(e,n,o,null,s)}}function df(e){return e=gc(e),hf(e)}var qo=null;function hf(e){if(qo=null,e=rs(e),e!==null){var n=u(e);if(n===null)e=null;else{var s=n.tag;if(s===13){if(e=f(n),e!==null)return e;e=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return qo=e,null}function jy(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Fw()){case Uh:return 2;case Hh:return 8;case _r:case Kw:return 32;case qh:return 268435456;default:return 32}default:return 32}}var mf=!1,ci=null,ui=null,fi=null,er=new Map,tr=new Map,di=[],o2="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 My(e,n){switch(e){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":ui=null;break;case"mouseover":case"mouseout":fi=null;break;case"pointerover":case"pointerout":er.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":tr.delete(n.pointerId)}}function nr(e,n,s,o,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:s,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=os(n),n!==null&&Ey(n)),e):(e.eventSystemFlags|=o,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function l2(e,n,s,o,c){switch(n){case"focusin":return ci=nr(ci,e,n,s,o,c),!0;case"dragenter":return ui=nr(ui,e,n,s,o,c),!0;case"mouseover":return fi=nr(fi,e,n,s,o,c),!0;case"pointerover":var d=c.pointerId;return er.set(d,nr(er.get(d)||null,e,n,s,o,c)),!0;case"gotpointercapture":return d=c.pointerId,tr.set(d,nr(tr.get(d)||null,e,n,s,o,c)),!0}return!1}function Cy(e){var n=rs(e.target);if(n!==null){var s=u(n);if(s!==null){if(n=s.tag,n===13){if(n=f(s),n!==null){e.blockedOn=n,tS(e.priority,function(){if(s.tag===13){var o=Ot();o=ac(o);var c=xs(s,o);c!==null&&_t(c,s,o),uf(s,o)}});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yo(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var s=df(e.nativeEvent);if(s===null){s=e.nativeEvent;var o=new s.constructor(s.type,s);pc=o,s.target.dispatchEvent(o),pc=null}else return n=os(s),n!==null&&Ey(n),e.blockedOn=s,!1;n.shift()}return!0}function Ry(e,n,s){Yo(e)&&s.delete(n)}function c2(){mf=!1,ci!==null&&Yo(ci)&&(ci=null),ui!==null&&Yo(ui)&&(ui=null),fi!==null&&Yo(fi)&&(fi=null),er.forEach(Ry),tr.forEach(Ry)}function Go(e,n){e.blockedOn===n&&(e.blockedOn=null,mf||(mf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,c2)))}var Xo=null;function Ny(e){Xo!==e&&(Xo=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Xo===e&&(Xo=null);for(var n=0;n<e.length;n+=3){var s=e[n],o=e[n+1],c=e[n+2];if(typeof o!="function"){if(hf(o||s)===null)continue;break}var d=os(s);d!==null&&(e.splice(n,3),n-=3,du(d,{pending:!0,data:c,method:s.method,action:o},o,c))}}))}function ir(e){function n(R){return Go(R,e)}ci!==null&&Go(ci,e),ui!==null&&Go(ui,e),fi!==null&&Go(fi,e),er.forEach(n),tr.forEach(n);for(var s=0;s<di.length;s++){var o=di[s];o.blockedOn===e&&(o.blockedOn=null)}for(;0<di.length&&(s=di[0],s.blockedOn===null);)Cy(s),s.blockedOn===null&&di.shift();if(s=(e.ownerDocument||e).$$reactFormReplay,s!=null)for(o=0;o<s.length;o+=3){var c=s[o],d=s[o+1],v=c[yt]||null;if(typeof d=="function")v||Ny(s);else if(v){var w=null;if(d&&d.hasAttribute("formAction")){if(c=d,v=d[yt]||null)w=v.formAction;else if(hf(c)!==null)continue}else w=v.action;typeof w=="function"?s[o+1]=w:(s.splice(o,3),o-=3),Ny(s)}}}function pf(e){this._internalRoot=e}Fo.prototype.render=pf.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(r(409));var s=n.current,o=Ot();
9Ty(s,o,e,n,null,null)},Fo.prototype.unmount=pf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Ty(e.current,2,null,e,null,null),Mo(),n[as]=null}};function Fo(e){this._internalRoot=e}Fo.prototype.unstable_scheduleHydration=function(e){if(e){var n=Kh();e={blockedOn:null,target:e,priority:n};for(var s=0;s<di.length&&n!==0&&n<di[s].priority;s++);di.splice(s,0,e),s===0&&Cy(e)}};var Dy=i.version;if(Dy!=="19.1.0")throw Error(r(527,Dy,"19.1.0"));Q.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=g(n),e=e!==null?p(e):null,e=e===null?null:e.stateNode,e};var u2={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ko=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ko.isDisabled&&Ko.supportsFiber)try{oa=Ko.inject(u2),Et=Ko}catch{}}return ar.createRoot=function(e,n){if(!l(e))throw Error(r(299));var s=!1,o="",c=Kp,d=Qp,v=Zp,w=null;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(w=n.unstable_transitionCallbacks)),n=wy(e,1,!1,null,null,s,o,c,d,v,w,null),e[as]=n.current,Wu(e),new pf(n)},ar.hydrateRoot=function(e,n,s){if(!l(e))throw Error(r(299));var o=!1,c="",d=Kp,v=Qp,w=Zp,R=null,V=null;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(c=s.identifierPrefix),s.onUncaughtError!==void 0&&(d=s.onUncaughtError),s.onCaughtError!==void 0&&(v=s.onCaughtError),s.onRecoverableError!==void 0&&(w=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(R=s.unstable_transitionCallbacks),s.formState!==void 0&&(V=s.formState)),n=wy(e,1,!0,n,s??null,o,c,d,v,w,R,V),n.context=Sy(null),s=n.current,o=Ot(),o=ac(o),c=Zn(o),c.callback=null,Wn(s,c,o),s=o,n.current.lanes=s,ca(n,s),gn(n),e[as]=n.current,Wu(e),new Fo(n)},ar.version="19.1.0",ar}var Hy;function b2(){if(Hy)return yf.exports;Hy=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(i){console.error(i)}}return t(),yf.exports=x2(),yf.exports}var w2=b2();function S2(t,i){if(t instanceof RegExp)return{keys:!1,pattern:t};var a,r,l,u,f=[],m="",g=t.split("/");for(g[0]||g.shift();l=g.shift();)a=l[0],a==="*"?(f.push(a),m+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):a===":"?(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 S=Ll();const yi=ox(S),Bd=d2({__proto__:null,default:yi},[S]);var Sf={exports:{}},Tf={};var qy;function T2(){if(qy)return Tf;qy=1;var t=Ll();function i(x,b){return x===b&&(x!==0||1/x===1/b)||x!==x&&b!==b}var a=typeof Object.is=="function"?Object.is:i,r=t.useState,l=t.useEffect,u=t.useLayoutEffect,f=t.useDebugValue;function m(x,b){var T=b(),E=r({inst:{value:T,getSnapshot:b}}),M=E[0].inst,j=E[1];return u(function(){M.value=T,M.getSnapshot=b,g(M)&&j({inst:M})},[x,T,b]),l(function(){return g(M)&&j({inst:M}),x(function(){g(M)&&j({inst:M})})},[x]),f(T),T}function g(x){var b=x.getSnapshot;x=x.value;try{var T=b();return!a(x,T)}catch{return!0}}function p(x,b){return b()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:m;return Tf.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:y,Tf}var Yy;function A2(){return Yy||(Yy=1,Sf.exports=T2()),Sf.exports}var E2=A2();const j2=Bd.useInsertionEffect,M2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",C2=M2?S.useLayoutEffect:S.useEffect,R2=j2||C2,cx=t=>{const i=S.useRef([t,(...a)=>i[0](...a)]).current;return R2(()=>{i[0]=t}),i[1]},N2="popstate",Ud="pushState",Hd="replaceState",D2="hashchange",Gy=[N2,Ud,Hd,D2],O2=t=>{for(const i of Gy)addEventListener(i,t);return()=>{for(const i of Gy)removeEventListener(i,t)}},ux=(t,i)=>E2.useSyncExternalStore(O2,t,i),Xy=()=>location.search,_2=({ssrSearch:t}={})=>ux(Xy,t!=null?()=>t:Xy),Fy=()=>location.pathname,k2=({ssrPath:t}={})=>ux(Fy,t!=null?()=>t:Fy),P2=(t,{replace:i=!1,state:a=null}={})=>history[i?Hd:Ud](a,"",t),L2=(t={})=>[k2(t),P2],Ky=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Ky]>"u"){for(const t of[Ud,Hd]){const i=history[t];history[t]=function(){const a=i.apply(this,arguments),r=new Event(t);return r.arguments=arguments,dispatchEvent(r),a}}Object.defineProperty(window,Ky,{value:!0})}const V2=(t,i)=>i.toLowerCase().indexOf(t.toLowerCase())?"~"+i:i.slice(t.length)||"/",fx=(t="")=>t==="/"?"":t,z2=(t,i)=>t[0]==="~"?t.slice(1):fx(i)+t,B2=(t="",i)=>V2(Qy(fx(t)),Qy(i)),Qy=t=>{try{return decodeURI(t)}catch{return t}},dx={hook:L2,searchHook:_2,parser:S2,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t,aroundNav:(t,i,a)=>t(i,a)},hx=S.createContext(dx),Ar=()=>S.useContext(hx),mx={},px=S.createContext(mx),U2=()=>S.useContext(px),Vl=t=>{const[i,a]=t.hook(t);return[B2(t.base,i),cx((r,l)=>t.aroundNav(a,z2(r,t.base),l))]},qd=()=>Vl(Ar()),gx=(t,i,a,r)=>{const{pattern:l,keys:u}=i instanceof RegExp?{keys:!1,pattern:i}:t(i||"*",r),f=l.exec(a)||[],[m,...g]=f;return m!==void 0?[!0,(()=>{const p=u!==!1?Object.fromEntries(u.map((x,b)=>[x,g[b]])):f.groups;let y={...g};return p&&Object.assign(y,p),y})(),...r?[m]:[]]:[!1,null]},yx=({children:t,...i})=>{const a=Ar(),r=i.hook?dx:a;let l=r;const[u,f=i.ssrSearch??""]=i.ssrPath?.split("?")??[];u&&(i.ssrSearch=f,i.ssrPath=u),i.hrefs=i.hrefs??i.hook?.hrefs,i.searchHook=i.searchHook??i.hook?.searchHook;let m=S.useRef({}),g=m.current,p=g;
9for(let y in r){const x=y==="base"?r[y]+(i[y]??""):i[y]??r[y];g===p&&x!==p[y]&&(m.current=p={...p}),p[y]=x,(x!==r[y]||x!==l[y])&&(l=p)}return S.createElement(hx.Provider,{value:l,children:t})},Zy=({children:t,component:i},a)=>i?S.createElement(i,{params:a}):typeof t=="function"?t(a):t,H2=t=>{let i=S.useRef(mx);const a=i.current;return i.current=Object.keys(t).length!==Object.keys(a).length||Object.entries(t).some(([r,l])=>l!==a[r])?t:a},mi=({path:t,nest:i,match:a,...r})=>{const l=Ar(),[u]=Vl(l),[f,m,g]=a??gx(l.parser,t,u,i),p=H2({...U2(),...m});if(!f)return null;const y=g?S.createElement(yx,{base:g},Zy(r,p)):Zy(r,p);return S.createElement(px.Provider,{value:p,children:y})},dt=S.forwardRef((t,i)=>{const a=Ar(),[r,l]=Vl(a),{to:u="",href:f=u,onClick:m,asChild:g,children:p,className:y,replace:x,state:b,transition:T,...E}=t,M=cx(C=>{C.ctrlKey||C.metaKey||C.altKey||C.shiftKey||C.button!==0||(m?.(C),C.defaultPrevented||(C.preventDefault(),l(f,t)))}),j=a.hrefs(f[0]==="~"?f.slice(1):a.base+f,a);return g&&S.isValidElement(p)?S.cloneElement(p,{onClick:M,href:j}):S.createElement("a",{...E,onClick:M,href:j,className:y?.call?y(r===f):y,children:p,ref:i})}),vx=t=>Array.isArray(t)?t.flatMap(i=>vx(i&&i.type===S.Fragment?i.props.children:i)):[t],q2=({children:t,location:i})=>{const a=Ar(),[r]=Vl(a);for(const l of vx(t)){let u=0;if(S.isValidElement(l)&&(u=gx(a.parser,l.props.path,i||r,l.props.nest))[0])return S.cloneElement(l,{match:u})}return null};var zl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Y2=class extends zl{#e;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const i=()=>t();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(t){this.#n=t,this.#t?.(),this.#t=t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(i=>{i(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},xx=new Y2,G2={setTimeout:(t,i)=>setTimeout(t,i),clearTimeout:t=>clearTimeout(t),setInterval:(t,i)=>setInterval(t,i),clearInterval:t=>clearInterval(t)},X2=class{#e=G2;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,i){return this.#e.setTimeout(t,i)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,i){return this.#e.setInterval(t,i)}clearInterval(t){this.#e.clearInterval(t)}},$f=new X2;function F2(t){setTimeout(t,0)}var K2=typeof window>"u"||"Deno"in globalThis;function nn(){}function Q2(t,i){return typeof t=="function"?t(i):t}function Z2(t){return typeof t=="number"&&t>=0&&t!==1/0}function W2(t,i){return Math.max(t+(i||0)-Date.now(),0)}function Jf(t,i){return typeof t=="function"?t(i):t}function I2(t,i){return typeof t=="function"?t(i):t}function Wy(t,i){const{type:a="all",exact:r,fetchStatus:l,predicate:u,queryKey:f,stale:m}=t;if(f){if(r){if(i.queryHash!==Yd(f,i.options))return!1}else if(!vr(i.queryKey,f))return!1}if(a!=="all"){const g=i.isActive();if(a==="active"&&!g||a==="inactive"&&g)return!1}return!(typeof m=="boolean"&&i.isStale()!==m||l&&l!==i.state.fetchStatus||u&&!u(i))}function Iy(t,i){const{exact:a,status:r,predicate:l,mutationKey:u}=t;if(u){if(!i.options.mutationKey)return!1;if(a){if(yr(i.options.mutationKey)!==yr(u))return!1}else if(!vr(i.options.mutationKey,u))return!1}return!(r&&i.state.status!==r||l&&!l(i))}function Yd(t,i){return(i?.queryKeyHashFn||yr)(t)}function yr(t){return JSON.stringify(t,(i,a)=>ed(a)?Object.keys(a).sort().reduce((r,l)=>(r[l]=a[l],r),{}):a)}function vr(t,i){return t===i?!0:typeof t!=typeof i?!1:t&&i&&typeof t=="object"&&typeof i=="object"?Object.keys(i).every(a=>vr(t[a],i[a])):!1}var $2=Object.prototype.hasOwnProperty;function bx(t,i,a=0){if(t===i)return t;if(a>500)return i;const r=$y(t)&&$y(i);if(!r&&!(ed(t)&&ed(i)))return i;const u=(r?t:Object.keys(t)).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 x=r?y:f[y],b=t[x],T=i[x];if(b===T){g[x]=b,(r?y<u:$2.call(t,x))&&p++;continue}if(b===null||T===null||typeof b!="object"||typeof T!="object"){g[x]=T;continue}const E=bx(b,T,a+1);g[x]=E,E===b&&p++}return u===m&&p===u?t:g}function $y(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function ed(t){if(!Jy(t))return!1;const i=t.constructor;if(i===void 0)return!0;const a=i.prototype;return!(!Jy(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Jy(t){return Object.prototype.toString.call(t)==="[object Object]"}function J2(t){return new Promise(i=>{$f.setTimeout(i,t)})}function eA(t,i,a){return typeof a.structuralSharing=="function"?a.structuralSharing(t,i):a.structuralSharing!==!1?bx(t,i):i}function tA(t,i,a=0){const r=[...t,i];return a&&r.length>a?r.slice(1):r}function nA(t,i,a=0){const r=[i,...t];return a&&r.length>a?r.slice(0,-1):r}var Gd=Symbol();function wx(t,i){return!t.queryFn&&i?.initialPromise?()=>i.initialPromise:!t.queryFn||t.queryFn===Gd?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function iA(t,i,a){let r=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=i(),r||(r=!0,l.aborted?a():l.addEventListener("abort",a,{once:!0})),l)}),t}var Sx=(()=>{let t=()=>K2;return{isServer(){return t()},setIsServer(i){t=i}}})();function sA(){let t,i;const a=new Promise((l,u)=>{t=l,i=u});
vendor: 1,885 bytes, line 9
9a.status="pending",a.catch(()=>{});function r(l){Object.assign(a,l),delete a.resolve,delete a.reject}return a.resolve=l=>{r({status:"fulfilled",value:l}),t(l)},a.reject=l=>{r({status:"rejected",reason:l}),i(l)},a}var aA=F2;function rA(){let t=[],i=0,a=m=>{m()},r=m=>{m()},l=aA;const u=m=>{i?t.push(m):l(()=>{a(m)})},f=()=>{const m=t;t=[],m.length&&l(()=>{r(()=>{m.forEach(g=>{a(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=>{a=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{l=m}}}var mt=rA(),oA=class extends zl{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const i=()=>t(!0),a=()=>t(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(a=>{a(t)}))}isOnline(){return this.#e}},vl=new oA;function lA(t){return Math.min(1e3*2**t,3e4)}function Tx(t){return(t??"online")==="online"?vl.isOnline():!0}var td=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Ax(t){let i=!1,a=0,r;const l=sA(),u=()=>l.status!=="pending",f=M=>{if(!u()){const j=new td(M);b(j),t.onCancel?.(j)}},m=()=>{i=!0},g=()=>{i=!1},p=()=>xx.isFocused()&&(t.networkMode==="always"||vl.isOnline())&&t.canRun(),y=()=>Tx(t.networkMode)&&t.canRun(),x=M=>{u()||(r?.(),l.resolve(M))},b=M=>{u()||(r?.(),l.reject(M))},T=()=>new Promise(M=>{r=j=>{(u()||p())&&M(j)},t.onPause?.()}).then(()=>{r=void 0,u()||t.onContinue?.()}),E=()=>
9{if(u())return;let M;const j=a===0?t.initialPromise:void 0;try{M=j??t.fn()}catch(C){M=Promise.reject(C)}Promise.resolve(M).then(x).catch(C=>{if(u())return;const k=t.retry??(Sx.isServer()?0:3),O=t.retryDelay??lA,L=typeof O=="function"?O(a,C):O,z=k===!0||typeof k=="number"&&a<k||typeof k=="function"&&k(a,C);if(i||!z){b(C);return}a++,t.onFail?.(a,C),J2(L).then(()=>p()?void 0:T()).then(()=>{i?b(C):E()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(r?.(),l),cancelRetry:m,continueRetry:g,canStart:y,start:()=>(y()?E():T().then(E),l)}}var Ex=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Z2(this.gcTime)&&(this.#e=$f.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Sx.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&($f.clearTimeout(this.#e),this.#e=void 0)}};function cA(t){return{onFetch:(i,a)=>{const r=i.options,l=i.fetchOptions?.meta?.fetchMore?.direction,u=i.state.data?.pages||[],f=i.state.data?.pageParams||[];let m={pages:[],pageParams:[]},g=0;const p=async()=>{let y=!1;const x=E=>{iA(E,()=>i.signal,()=>y=!0)},b=wx(i.options,i.fetchOptions),T=async(E,M,j)=>{if(y)return Promise.reject(i.signal.reason);if(M==null&&E.pages.length)return Promise.resolve(E);const k=(()=>{const K={client:i.client,queryKey:i.queryKey,pageParam:M,direction:j?"backward":"forward",meta:i.options.meta};return x(K),K})(),O=await b(k),{maxPages:L}=i.options,z=j?nA:tA;return{pages:z(E.pages,O,L),pageParams:z(E.pageParams,M,L)}};if(l&&u.length){const E=l==="backward",M=E?uA:ev,j={pages:u,pageParams:f},C=M(r,j);m=await T(j,C,E)}else{const E=t??u.length;do{const M=g===0?f[0]??r.initialPageParam:ev(r,m);if(g>0&&M==null)break;m=await T(m,M),g++}while(g<E)}return m};i.options.persister?i.fetchFn=()=>i.options.persister?.(p,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},a):i.fetchFn=p}}}function ev(t,{pages:i,pageParams:a}){const r=i.length-1;return i.length>0?t.getNextPageParam(i[r],i,a[r],a):void 0}function uA(t,{pages:i,pageParams:a}){return i.length>0?t.getPreviousPageParam?.(i[0],i,a[0],a):void 0}var fA=class extends Ex{#e;#t;#n;#s;#a;#i;#l;#r;constructor(t){super(),this.#r=!1,this.#l=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#a=t.client,this.#s=this.#a.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=nv(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#i?.promise}setOptions(t){if(this.options={...this.#l,...t},t?._type&&(this.#e=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=nv(this.options);i.data!==void 0&&(this.setState(tv(i.data,i.dataUpdatedAt)),this.#t=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(t,i){const a=eA(this.state.data,t,this.options);return this.#o({data:a,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),a}setState(t){this.#o({type:"setState",state:t})}cancel(t){const i=this.#i?.promise;return this.#i?.cancel(t),i?i.then(nn).catch(nn):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(t=>I2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Gd||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Jf(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!W2(this.state.dataUpdatedAt,t)}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(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(i=>i!==t),this.observers.length||(this.#i&&(this.#r||this.#c()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:t}))}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(t,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(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(p=>p.options.queryFn);g&&this.setOptions(g.options)}const a=new AbortController,r=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(this.#r=!0,a.signal)}
vendor: 12,122 bytes, line 9
9)},l=()=>{const g=wx(this.options,i),y=(()=>{const x={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(x),x})();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.#a,state:this.state,fetchFn:l};return r(g),g})();(this.#e==="infinite"?cA(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=Ax({initialPromise:i?.initialPromise,fn:f.fetchFn,onCancel:g=>{g instanceof td&&g.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.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.#s.config.onSuccess?.(g,this),this.#s.config.onSettled?.(g,this.state.error,this),g}catch(g){if(g instanceof td){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.#s.config.onError?.(g,this),this.#s.config.onSettled?.(this.state.data,g,this),g}finally{this.scheduleGc()}}#o(t){const i=a=>{switch(t.type){case"failed":return{...a,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...dA(a.data,this.options),fetchMeta:t.meta??null};case"success":const r={...a,...tv(t.data,t.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?r:void 0,r;case"error":const l=t.error;return{...a,error:l,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...t.state}}};this.state=i(this.state),mt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:t})})}};function dA(t,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Tx(i.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function tv(t,i){return{data:t,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function nv(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,a=i!==void 0,r=a?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:a?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var hA=class extends Ex{#e;#t;#n;#s;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||mA(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(i=>i!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){const i=()=>{this.#a({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=Ax({fn:()=>this.options.mutationFn?this.options.mutationFn(t,a):Promise.reject(new Error("No mutationFn found")),onFail:(u,f)=>{this.#a({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",l=!this.#s.canStart();try{if(r)i();else{this.#a({type:"pending",variables:t,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,a);const f=await this.options.onMutate?.(t,a);f!==this.state.context&&this.#a({type:"pending",context:f,variables:t,isPaused:l})}const u=await this.#s.start();return await this.#n.config.onSuccess?.(u,t,this.state.context,this,a),await this.options.onSuccess?.(u,t,this.state.context,a),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(u,null,t,this.state.context,a),this.#a({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,t,this.state.context,this,a)}catch(f){Promise.reject(f)}try{await this.options.onError?.(u,t,this.state.context,a)}catch(f){Promise.reject(f)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,a)}catch(f){Promise.reject(f)}try{await this.options.onSettled?.(void 0,u,t,this.state.context,a)}catch(f){Promise.reject(f)}throw this.#a({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#a(t){const i=a=>{switch(t.type){case"failed":return{...a,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...a,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:t.error,failureCount:a.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=i(this.state),mt.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function mA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var pA=class extends zl{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,i,a){const r=new hA({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(i),state:a});return this.add(r),r}add(t){this.#e.add(t);const i=Qo(t);if(typeof i=="string"){const a=this.#t.get(i);a?a.push(t):this.#t.set(i,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const i=Qo(t);if(typeof i=="string"){const a=this.#t.get(i);if(a)if(a.length>1){const r=a.indexOf(t);r!==-1&&a.splice(r,1)}else a[0]===t&&this.#t.delete(i)}}this.notify({type:"removed",mutation:t})}canRun(t){const i=Qo(t);if(typeof i=="string"){const r=this.#t.get(i)?.find(l=>l.state.status==="pending");return!r||r===t}else return!0}runNext(t){const i=Qo(t);return typeof i=="string"?this.#t.get(i)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){mt.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const i={exact:!0,...t};return this.getAll().find(a=>Iy(i,a))}findAll(t={}){return this.getAll().filter(i=>Iy(t,i))}notify(t){mt.batch(()=>{this.listeners.forEach(i=>{i(t)})})}resumePausedMutations(){const t=this.getAll().filter(i=>i.state.isPaused);return mt.batch(()=>Promise.all(t.map(i=>i.continue().catch(nn))))}};function Qo(t){return t.options.scope?.id}var gA=class extends zl{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,i,a){const r=i.queryKey,l=i.queryHash??Yd(r,i);let u=this.get(l);return u||(u=new fA({client:t,queryKey:r,queryHash:l,options:t.defaultQueryOptions(i),state:a,defaultOptions:t.getQueryDefaults(r)}),this.add(u)),u}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const i=this.#e.get(t.queryHash);i&&(t.destroy(),i===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){mt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const i={exact:!0,...t};return this.getAll().find(a=>Wy(i,a))}findAll(t={}){const i=this.getAll();return Object.keys(t).length>0?i.filter(a=>Wy(t,a)):i}notify(t){mt.batch(()=>{this.listeners.forEach(i=>{i(t)})})}onFocus(){mt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){mt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},yA=class{#e;#t;#n;#s;#a;#i;#l;#r;constructor(t={}){this.#e=t.queryCache||new gA,this.#t=t.mutationCache||new pA,this.#n=t.defaultOptions||{},this.#s=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#l=xx.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#r=vl.subscribe(async t=>{t&&(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(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const i=this.defaultQueryOptions({queryKey:t});return this.#e.get(i.queryHash)?.state.data}ensureQueryData(t){const i=this.defaultQueryOptions(t),a=this.#e.build(this,i),r=a.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&a.isStaleByTime(Jf(i.staleTime,a))&&this.prefetchQuery(i),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:i,state:a})=>{const r=a.data;return[i,r]})}setQueryData(t,i,a){const r=this.defaultQueryOptions({queryKey:t}),u=this.#e.get(r.queryHash)?.state.data,f=Q2(i,u);if(f!==void 0)return this.#e.build(this,r).setData(f,{...a,manual:!0})}setQueriesData(t,i,a){return mt.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,i,a)]))}getQueryState(t){const i=this.defaultQueryOptions({queryKey:t});return this.#e.get(i.queryHash)?.state}removeQueries(t){const i=this.#e;mt.batch(()=>{i.findAll(t).forEach(a=>{i.remove(a)})})}resetQueries(t,i){const a=this.#e;return mt.batch(()=>(a.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},i)))}cancelQueries(t,i={}){const a={revert:!0,...i},r=mt.batch(()=>this.#e.findAll(t).map(l=>l.cancel(a)));return Promise.all(r).then(nn).catch(nn)}invalidateQueries(t,i={}){return mt.batch(()=>(this.#e.findAll(t).forEach(a=>{a.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},i)))}refetchQueries(t,i={}){const a={...i,cancelRefetch:i.cancelRefetch??!0},r=mt.batch(()=>this.#e.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,a);return a.throwOnError||(u=u.catch(nn)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(nn)}fetchQuery(t){const i=this.defaultQueryOptions(t);i.retry===void 0&&(i.retry=!1);const a=this.#e.build(this,i);return a.isStaleByTime(Jf(i.staleTime,a))?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(nn).catch(nn)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(nn).catch(nn)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return vl.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,i){this.#s.set(yr(t),{queryKey:t,defaultOptions:i})}getQueryDefaults(t){const i=[...this.#s.values()],a={};
9return i.forEach(r=>{vr(t,r.queryKey)&&Object.assign(a,r.defaultOptions)}),a}setMutationDefaults(t,i){this.#a.set(yr(t),{mutationKey:t,defaultOptions:i})}getMutationDefaults(t){const i=[...this.#a.values()],a={};return i.forEach(r=>{vr(t,r.mutationKey)&&Object.assign(a,r.defaultOptions)}),a}defaultQueryOptions(t){if(t._defaulted)return t;const i={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return i.queryHash||(i.queryHash=Yd(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===Gd&&(i.enabled=!1),i}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},vA=S.createContext(void 0),xA=({client:t,children:i})=>(S.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),h.jsx(vA.Provider,{value:t,children:i}));const Xd=S.createContext({});function wi(t){const i=S.useRef(null);return i.current===null&&(i.current=t()),i.current}const bA=typeof window<"u",Bl=bA?S.useLayoutEffect:S.useEffect,Ul=S.createContext(null);function Fd(t,i){t.indexOf(i)===-1&&t.push(i)}function xl(t,i){const a=t.indexOf(i);a>-1&&t.splice(a,1)}const rn=(t,i,a)=>a>i?i:a<t?t:a;let xr=()=>{};const Si={},jx=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Mx(t){return typeof t=="object"&&t!==null}const Cx=t=>/^0[^.\s]+$/u.test(t);function Rx(t){let i;return()=>(i===void 0&&(i=t()),i)}const St=t=>t,wA=(t,i)=>a=>i(t(a)),Er=(...t)=>t.reduce(wA),$s=(t,i,a)=>{const r=i-t;return r===0?1:(a-t)/r};class Kd{constructor(){this.subscriptions=[]}add(i){return Fd(this.subscriptions,i),()=>xl(this.subscriptions,i)}notify(i,a,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](i,a,r);else for(let u=0;u<l;u++){const f=this.subscriptions[u];f&&f(i,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Pt=t=>t*1e3,Qt=t=>t/1e3;function Qd(t,i){return i?t*(1e3/i):0}const Nx=(t,i,a)=>(((1-3*a+3*i)*t+(3*a-6*i))*t+3*i)*t,SA=1e-7,TA=12;function AA(t,i,a,r,l){let u,f,m=0;do f=i+(a-i)/2,u=Nx(f,r,l)-t,u>0?a=f:i=f;while(Math.abs(u)>SA&&++m<TA);return f}function jr(t,i,a,r){if(t===i&&a===r)return St;const l=u=>AA(u,0,1,t,a);return u=>u===0||u===1?u:Nx(l(u),i,r)}const Dx=t=>i=>i<=.5?t(2*i)/2:(2-t(2*(1-i)))/2,Ox=t=>i=>1-t(1-i),_x=jr(.33,1.53,.69,.99),Zd=Ox(_x),kx=Dx(Zd),Px=t=>t>=1?1:(t*=2)<1?.5*Zd(t):.5*(2-Math.pow(2,-10*(t-1))),Wd=t=>1-Math.sin(Math.acos(t)),Lx=Ox(Wd),Vx=Dx(Wd),EA=jr(.42,0,1,1),jA=jr(0,0,.58,1),zx=jr(.42,0,.58,1),MA=t=>Array.isArray(t)&&typeof t[0]!="number",Bx=t=>Array.isArray(t)&&typeof t[0]=="number",CA={linear:St,easeIn:EA,easeInOut:zx,easeOut:jA,circIn:Wd,circInOut:Vx,circOut:Lx,backIn:Zd,backInOut:kx,backOut:_x,anticipate:Px},RA=t=>typeof t=="string",iv=t=>{if(Bx(t)){xr(t.length===4);const[i,a,r,l]=t;return jr(i,a,r,l)}else if(RA(t))return CA[t];return t},Zo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function NA(t,i){let a=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),t()),y(m)}const p={schedule:(y,x=!1,b=!1)=>{const E=b&&l?a:r;return x&&f.add(y),E.add(y),y},cancel:y=>{r.delete(y),f.delete(y)},process:y=>{if(m=y,l){u=!0;return}l=!0;const x=a;a=r,r=x,a.forEach(g),a.clear(),l=!1,u&&(u=!1,p.process(y))}};return p}const DA=40;function Ux(t,i){let a=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>a=!0,f=Zo.reduce((O,L)=>(O[L]=NA(u),O),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:y,update:x,preRender:b,render:T,postRender:E}=f,M=()=>{const O=Si.useManualTiming,L=O?l.timestamp:performance.now();a=!1,O||(l.delta=r?1e3/60:Math.max(Math.min(L-l.timestamp,DA),1)),l.timestamp=L,l.isProcessing=!0,m.process(l),g.process(l),p.process(l),y.process(l),x.process(l),b.process(l),T.process(l),E.process(l),l.isProcessing=!1,a&&i&&(r=!1,t(M))},j=()=>{a=!0,r=!0,l.isProcessing||t(M)};return{schedule:Zo.reduce((O,L)=>{const z=f[L];return O[L]=(K,Z=!1,H=!1)=>(a||j(),z.schedule(K,Z,H)),O},{}),cancel:O=>{for(let L=0;L<Zo.length;L++)f[Zo[L]].cancel(O)},state:l,steps:f}}const{schedule:Ee,cancel:Zt,state:st,steps:Af}=Ux(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let ol;function OA(){ol=void 0}const pt={now:()=>(ol===void 0&&pt.set(st.isProcessing||Si.useManualTiming?st.timestamp:performance.now()),ol),set:t=>{ol=t,queueMicrotask(OA)}},Hx=t=>i=>typeof i=="string"&&i.startsWith(t),qx=Hx("--"),_A=Hx("var(--"),Id=t=>_A(t)?kA.test(t.split("/*")[0].trim()):!1,kA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function sv(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const na={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},br={...na,transform:t=>rn(0,1,t)},Wo={...na,default:1},ur=t=>Math.round(t*1e5)/1e5,$d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function PA(t){return t==null}const LA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Jd=(t,i)=>a=>
vendor: 89,223 bytes, line 9
9!!(typeof a=="string"&&LA.test(a)&&a.startsWith(t)||i&&!PA(a)&&Object.prototype.hasOwnProperty.call(a,i)),Yx=(t,i,a)=>r=>{if(typeof r!="string")return r;const[l,u,f,m]=r.match($d);return{[t]:parseFloat(l),[i]:parseFloat(u),[a]:parseFloat(f),alpha:m!==void 0?parseFloat(m):1}},VA=t=>rn(0,255,t),Ef={...na,transform:t=>Math.round(VA(t))},Ii={test:Jd("rgb","red"),parse:Yx("red","green","blue"),transform:({red:t,green:i,blue:a,alpha:r=1})=>"rgba("+Ef.transform(t)+", "+Ef.transform(i)+", "+Ef.transform(a)+", "+ur(br.transform(r))+")"};function zA(t){let i="",a="",r="",l="";return t.length>5?(i=t.substring(1,3),a=t.substring(3,5),r=t.substring(5,7),l=t.substring(7,9)):(i=t.substring(1,2),a=t.substring(2,3),r=t.substring(3,4),l=t.substring(4,5),i+=i,a+=a,r+=r,l+=l),{red:parseInt(i,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const nd={test:Jd("#"),parse:zA,transform:Ii.transform},Mr=t=>({test:i=>typeof i=="string"&&i.endsWith(t)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${t}`}),vi=Mr("deg"),bn=Mr("%"),se=Mr("px"),BA=Mr("vh"),UA=Mr("vw"),av={...bn,parse:t=>bn.parse(t)/100,transform:t=>bn.transform(t*100)},Qs={test:Jd("hsl","hue"),parse:Yx("hue","saturation","lightness"),transform:({hue:t,saturation:i,lightness:a,alpha:r=1})=>"hsla("+Math.round(t)+", "+bn.transform(ur(i))+", "+bn.transform(ur(a))+", "+ur(br.transform(r))+")"},Qe={test:t=>Ii.test(t)||nd.test(t)||Qs.test(t),parse:t=>Ii.test(t)?Ii.parse(t):Qs.test(t)?Qs.parse(t):nd.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ii.transform(t):Qs.transform(t),getAnimatableNone:t=>{const i=Qe.parse(t);return i.alpha=0,Qe.transform(i)}},HA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function qA(t){return isNaN(t)&&typeof t=="string"&&(t.match($d)?.length||0)+(t.match(HA)?.length||0)>0}const Gx="number",Xx="color",YA="var",GA="var(",rv="${}",XA=/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 Js(t){const i=t.toString(),a=[],r={color:[],number:[],var:[]},l=[];let u=0;const m=i.replace(XA,g=>(Qe.test(g)?(r.color.push(u),l.push(Xx),a.push(Qe.parse(g))):g.startsWith(GA)?(r.var.push(u),l.push(YA),a.push(g)):(r.number.push(u),l.push(Gx),a.push(parseFloat(g))),++u,rv)).split(rv);return{values:a,split:m,indexes:r,types:l}}function FA(t){return Js(t).values}function Fx({split:t,types:i}){const a=t.length;return r=>{let l="";for(let u=0;u<a;u++)if(l+=t[u],r[u]!==void 0){const f=i[u];f===Gx?l+=ur(r[u]):f===Xx?l+=Qe.transform(r[u]):l+=r[u]}return l}}function KA(t){return Fx(Js(t))}const QA=t=>typeof t=="number"?0:Qe.test(t)?Qe.getAnimatableNone(t):t,ZA=(t,i)=>typeof t=="number"?i?.trim().endsWith("/")?t:0:QA(t);function WA(t){const i=Js(t);return Fx(i)(i.values.map((r,l)=>ZA(r,i.split[l])))}const an={test:qA,parse:FA,createTransformer:KA,getAnimatableNone:WA};function jf(t,i,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?t+(i-t)*6*a:a<1/2?i:a<2/3?t+(i-t)*(2/3-a)*6:t}function IA({hue:t,saturation:i,lightness:a,alpha:r}){t/=360,i/=100,a/=100;let l=0,u=0,f=0;if(!i)l=u=f=a;else{const m=a<.5?a*(1+i):a+i-a*i,g=2*a-m;l=jf(g,m,t+1/3),u=jf(g,m,t),f=jf(g,m,t-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:r}}function bl(t,i){return a=>a>0?i:t}const Ve=(t,i,a)=>t+(i-t)*a,Mf=(t,i,a)=>{const r=t*t,l=a*(i*i-r)+r;return l<0?0:Math.sqrt(l)},$A=[nd,Ii,Qs],JA=t=>$A.find(i=>i.test(t));function ov(t){const i=JA(t);if(!i)return!1;let a=i.parse(t);return i===Qs&&(a=IA(a)),a}const lv=(t,i)=>{const a=ov(t),r=ov(i);if(!a||!r)return bl(t,i);const l={...a};return u=>(l.red=Mf(a.red,r.red,u),l.green=Mf(a.green,r.green,u),l.blue=Mf(a.blue,r.blue,u),l.alpha=Ve(a.alpha,r.alpha,u),Ii.transform(l))},id=new Set(["none","hidden"]);function eE(t,i){return id.has(t)?a=>a<=0?t:i:a=>a>=1?i:t}function tE(t,i){return a=>Ve(t,i,a)}function eh(t){return typeof t=="number"?tE:typeof t=="string"?Id(t)?bl:Qe.test(t)?lv:sE:Array.isArray(t)?Kx:typeof t=="object"?Qe.test(t)?lv:nE:bl}function Kx(t,i){const a=[...t],r=a.length,l=t.map((u,f)=>eh(u)(u,i[f]));return u=>{for(let f=0;f<r;f++)a[f]=l[f](u);return a}}function nE(t,i){const a={...t,...i},r={};for(const l in a)t[l]!==void 0&&i[l]!==void 0&&(r[l]=eh(t[l])(t[l],i[l]));return l=>{for(const u in r)a[u]=r[u](l);return a}}function iE(t,i){const a=[],r={color:0,var:0,number:0};for(let l=0;l<i.values.length;l++){const u=i.types[l],f=t.indexes[u][r[u]],m=t.values[f]??0;a[l]=m,r[u]++}return a}const sE=(t,i)=>{const a=an.createTransformer(i),r=Js(t),l=Js(i);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?id.has(t)&&!l.values.length||id.has(i)&&!r.values.length?eE(t,i):Er(Kx(iE(r,l),l.values),a):bl(t,i)};function Qx(t,i,a){return typeof t=="number"&&typeof i=="number"&&typeof a=="number"?Ve(t,i,a):eh(t)(t,i)}const aE=t=>{const i=({timestamp:a})=>t(a);return{start:(a=!0)=>Ee.update(i,a),stop:()=>Zt(i),now:()=>st.isProcessing?st.timestamp:pt.now()}},Zx=(t,i,a=10)=>{let r="";const l=Math.max(Math.round(i/a),2);for(let u=0;u<l;u++)r+=Math.round(t(u/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},wl=2e4;function th(t){let i=0;const a=50;let r=t.next(i);for(;!r.done&&i<wl;)i+=a,r=t.next(i);return i>=wl?1/0:i}function rE(t,i=100,a){const r=a({...t,keyframes:[0,i]}),l=Math.min(th(r),wl);return{type:"keyframes",ease:u=>r.next(l*u).value/i,duration:Qt(l)}}const Ye={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 sd(t,i){return t*Math.sqrt(1-i*i)}const oE=12;function lE(t,i,a){let r=a;for(let l=1;l<oE;l++)r=r-t(r)/i(r);return r}const Cf=.001;function cE({duration:t=Ye.duration,bounce:i=Ye.bounce,velocity:a=Ye.velocity,mass:r=Ye.mass}){let l,u,f=1-i;f=rn(Ye.minDamping,Ye.maxDamping,f),t=rn(Ye.minDuration,Ye.maxDuration,Qt(t)),f<1?(l=p=>{const y=p*f,x=y*t,b=y-a,T=sd(p,f),E=Math.exp(-x);return Cf-b/T*E},u=p=>{const x=p*f*t,b=x*a+a,T=Math.pow(f,2)*Math.pow(p,2)*t,E=Math.exp(-x),M=sd(Math.pow(p,2),f);return(-l(p)+Cf>0?-1:1)*((b-T)*E)/M}):(l=p=>{const y=Math.exp(-p*t),x=(p-a)*t+1;return-Cf+y*x},u=p=>{const y=Math.exp(-p*t),x=(a-p)*(t*t);return y*x});const m=5/t,g=lE(l,u,m);if(t=Pt(t),isNaN(g))return{stiffness:Ye.stiffness,damping:Ye.damping,duration:t};{const p=Math.pow(g,2)*r;return{stiffness:p,damping:f*2*Math.sqrt(r*p),duration:t}}}const uE=["duration","bounce"],fE=["stiffness","damping","mass"];function cv(t,i){return i.some(a=>t[a]!==void 0)}function dE(t){let i={velocity:Ye.velocity,stiffness:Ye.stiffness,damping:Ye.damping,mass:Ye.mass,isResolvedFromDuration:!1,...t};if(!cv(t,fE)&&cv(t,uE))if(i.velocity=0,t.visualDuration){const a=t.visualDuration,r=2*Math.PI/(a*1.2),l=r*r,u=2*rn(.05,1,1-(t.bounce||0))*Math.sqrt(l);i={...i,mass:Ye.mass,stiffness:l,damping:u}}else{const a=cE({...t,velocity:0});i={...i,...a,mass:Ye.mass},i.isResolvedFromDuration=!0}return i}function Sl(t=Ye.visualDuration,i=Ye.bounce){const a=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:i}:t;let{restSpeed:r,restDelta:l}=a;const u=a.keyframes[0],f=a.keyframes[a.keyframes.length-1],m={done:!1,value:u},{stiffness:g,damping:p,mass:y,duration:x,velocity:b,isResolvedFromDuration:T}=dE({...a,velocity:-Qt(a.velocity||0)}),E=b||0,M=p/(2*Math.sqrt(g*y)),j=f-u,C=Qt(Math.sqrt(g/y)),k=Math.abs(j)<5;r||(r=k?Ye.restSpeed.granular:Ye.restSpeed.default),l||(l=k?Ye.restDelta.granular:Ye.restDelta.default);let O,L,z,K,Z,H;if(M<1)z=sd(C,M),K=(E+M*C*j)/z,O=W=>{const oe=Math.exp(-M*C*W);return f-oe*(K*Math.sin(z*W)+j*Math.cos(z*W))},Z=M*C*K+j*z,H=M*C*j-K*z,L=W=>Math.exp(-M*C*W)*(Z*Math.sin(z*W)+H*Math.cos(z*W));else if(M===1){O=oe=>f-Math.exp(-C*oe)*(j+(E+C*j)*oe);const W=E+C*j;L=oe=>Math.exp(-C*oe)*(C*W*oe-E)}else{const W=C*Math.sqrt(M*M-1);O=J=>{const ue=Math.exp(-M*C*J),_=Math.min(W*J,300);return f-ue*((E+M*C*j)*Math.sinh(_)+W*j*Math.cosh(_))/W};const oe=(E+M*C*j)/W,le=M*C*oe-j*W,ye=M*C*j-oe*W;L=J=>{const ue=Math.exp(-M*C*J),_=Math.min(W*J,300);return ue*(le*Math.sinh(_)+ye*Math.cosh(_))}}const I={calculatedDuration:T&&x||null,velocity:W=>Pt(L(W)),next:W=>{if(!T&&M<1){const le=Math.exp(-M*C*W),ye=Math.sin(z*W),J=Math.cos(z*W),ue=f-le*(K*ye+j*J),_=Pt(le*(Z*ye+H*J));return m.done=Math.abs(_)<=r&&Math.abs(f-ue)<=l,m.value=m.done?f:ue,m}const oe=O(W);if(T)m.done=W>=x;else{const le=Pt(L(W));m.done=Math.abs(le)<=r&&Math.abs(f-oe)<=l}return m.value=m.done?f:oe,m},toString:()=>{const W=Math.min(th(I),wl),oe=Zx(le=>I.next(W*le).value,W,30);return W+"ms "+oe},toTransition:()=>{}};return I}Sl.applyToOptions=t=>{const i=rE(t,100,Sl);return t.ease=i.ease,t.duration=Pt(i.duration),t.type="keyframes",t};const hE=5;function Wx(t,i,a){const r=Math.max(i-hE,0);return Qd(a-t(r),i-r)}function ad({keyframes:t,velocity:i=0,power:a=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:f,min:m,max:g,restDelta:p=.5,restSpeed:y}){const x=t[0],b={done:!1,value:x},T=H=>m!==void 0&&H<m||g!==void 0&&H>g,E=H=>m===void 0?g:g===void 0||Math.abs(m-H)<Math.abs(g-H)?m:g;let M=a*i;const j=x+M,C=f===void 0?j:f(j);C!==j&&(M=C-x);const k=H=>-M*Math.exp(-H/r),O=H=>C+k(H),L=H=>{const I=k(H),W=O(H);b.done=Math.abs(I)<=p,b.value=b.done?C:W};let z,K;const Z=H=>{T(b.value)&&(z=H,K=Sl({keyframes:[b.value,E(b.value)],velocity:Wx(O,H,b.value),damping:l,stiffness:u,restDelta:p,restSpeed:y}))};return Z(0),{calculatedDuration:null,next:H=>{let I=!1;return!K&&z===void 0&&(I=!0,L(H),Z(H)),z!==void 0&&H>=z?K.next(H-z):(!I&&L(H),b)}}}function mE(t,i,a){const r=[],l=a||Si.mix||Qx,u=t.length-1;for(let f=0;f<u;f++){let m=l(t[f],t[f+1]);if(i){const g=Array.isArray(i)?i[f]||St:i;m=Er(g,m)}r.push(m)}return r}function nh(t,i,{clamp:a=!0,ease:r,mixer:l}={}){const u=t.length;if(xr(u===i.length),u===1)return()=>i[0];if(u===2&&i[0]===i[1])return()=>i[1];const f=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),i=[...i].reverse());const m=mE(i,r,l),g=m.length,p=y=>{if(f&&y<t[0])return i[0];let x=0;if(g>1)for(;x<t.length-2&&!(y<t[x+1]);x++);const b=$s(t[x],t[x+1],y);return m[x](b)};return a?y=>p(rn(t[0],t[u-1],y)):p}function pE(t,i){const a=t[t.length-1];for(let r=1;r<=i;r++){const l=$s(0,i,r);t.push(Ve(a,1,l))}}function Ix(t){const i=[0];return pE(i,t.length-1),i}function gE(t,i){return t.map(a=>a*i)}function yE(t,i){return t.map(()=>i||zx).splice(0,t.length-1)}function fr({duration:t=300,keyframes:i,times:a,ease:r="easeInOut"}){const l=MA(r)?r.map(iv):iv(r),u={done:!1,value:i[0]},f=gE(a&&a.length===i.length?a:Ix(i),t),m=nh(f,i,{ease:Array.isArray(l)?l:yE(i,l)});return{calculatedDuration:t,next:g=>(u.value=m(g),u.done=g>=t,u)}}const vE=t=>t!==null;function Hl(t,{repeat:i,repeatType:a="loop"},r,l=1){const u=t.filter(vE),m=l<0||i&&a!=="loop"&&i%2===1?0:u.length-1;return!m||r===void 0?u[m]:r}const xE={decay:ad,inertia:ad,tween:fr,keyframes:fr,spring:Sl};function $x(t){typeof t.type=="string"&&(t.type=xE[t.type])}class ih{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,a){return this.finished.then(i,a)}}const bE=t=>t/100;class Tl extends ih{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==pt.now()&&this.tick(pt.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;$x(i);const{type:a=fr,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:f=0}=i;let{keyframes:m}=i;const g=a||fr;g!==fr&&typeof m[0]!="number"&&(this.mixKeyframes=Er(bE,Qx(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=th(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 a=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(i,a=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:f,resolvedDuration:m,calculatedDuration:g}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:y,repeat:x,repeatType:b,repeatDelay:T,type:E,onUpdate:M,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)),a?this.currentTime=i:this.updateTime(i);const C=this.currentTime-p*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?C<0:C>l;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let O=this.currentTime,L=r;if(x){const H=Math.min(this.currentTime,l)/m;let I=Math.floor(H),W=H%1;!W&&H>=1&&(W=1),W===1&&I--,I=Math.min(I,x+1),I%2&&(b==="reverse"?(W=1-W,T&&(W-=T/m)):b==="mirror"&&(L=f)),O=rn(0,1,W)*m}let z;k?(this.delayState.value=y[0],z=this.delayState):z=L.next(O),u&&!k&&(z.value=u(z.value));let{done:K}=z;!k&&g!==null&&(K=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const Z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&K);return Z&&E!==ad&&(z.value=Hl(y,this.options,j,this.speed)),M&&M(z.value),Z&&this.finish(),z}then(i,a){return this.finished.then(i,a)}get duration(){return Qt(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Qt(i)}get time(){return Qt(this.currentTime)}set time(i){i=Pt(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const a=this.generator.next(i).value;return Wx(r=>this.generator.next(r).value,i,a)}get speed(){return this.playbackSpeed}set speed(i){const a=this.playbackSpeed!==i;a&&this.driver&&this.updateTime(pt.now()),this.playbackSpeed=i,a&&this.driver&&(this.time=Qt(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=aE,startTime:a}=this.options;this.driver||(this.driver=i(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=a??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(pt.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 wE(t){for(let i=1;i<t.length;i++)t[i]??(t[i]=t[i-1])}const $i=t=>t*180/Math.PI,rd=t=>{const i=$i(Math.atan2(t[1],t[0]));return od(i)},SE={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:rd,rotateZ:rd,skewX:t=>$i(Math.atan(t[1])),skewY:t=>$i(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},od=t=>(t=t%360,t<0&&(t+=360),t),uv=rd,fv=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),dv=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),TE={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:fv,scaleY:dv,scale:t=>(fv(t)+dv(t))/2,rotateX:t=>od($i(Math.atan2(t[6],t[5]))),rotateY:t=>od($i(Math.atan2(-t[2],t[0]))),rotateZ:uv,rotate:uv,skewX:t=>$i(Math.atan(t[4])),skewY:t=>$i(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ld(t){return t.includes("scale")?1:0}function cd(t,i){if(!t||t==="none")return ld(i);const a=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(a)r=TE,l=a;else{const m=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=SE,l=m}if(!l)return ld(i);const u=r[i],f=l[1].split(",").map(EE);return typeof u=="function"?u(f):f[u]}const AE=(t,i)=>{const{transform:a="none"}=getComputedStyle(t);return cd(a,i)};function EE(t){return parseFloat(t.trim())}const ia=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],sa=new Set(ia),hv=t=>t===na||t===se,jE=new Set(["x","y","z"]),ME=ia.filter(t=>!jE.has(t));function CE(t){const i=[];return ME.forEach(a=>{const r=t.getValue(a);r!==void 0&&(i.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),i}const xi={width:({x:t},{paddingLeft:i="0",paddingRight:a="0",boxSizing:r})=>{const l=t.max-t.min;return r==="border-box"?l:l-parseFloat(i)-parseFloat(a)},height:({y:t},{paddingTop:i="0",paddingBottom:a="0",boxSizing:r})=>{const l=t.max-t.min;return r==="border-box"?l:l-parseFloat(i)-parseFloat(a)},top:(t,{top:i})=>parseFloat(i),left:(t,{left:i})=>parseFloat(i),bottom:({y:t},{top:i})=>parseFloat(i)+(t.max-t.min),right:({x:t},{left:i})=>parseFloat(i)+(t.max-t.min),x:(t,{transform:i})=>cd(i,"x"),y:(t,{transform:i})=>cd(i,"y")};xi.translateX=xi.x;xi.translateY=xi.y;const Ji=new Set;let ud=!1,fd=!1,dd=!1;function Jx(){if(fd){const t=Array.from(Ji).filter(r=>r.needsMeasurement),i=new Set(t.map(r=>r.element)),a=new Map;i.forEach(r=>{const l=CE(r);l.length&&(a.set(r,l),r.render())}),t.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const l=a.get(r);l&&l.forEach(([u,f])=>{r.getValue(u)?.set(f)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}fd=!1,ud=!1,Ji.forEach(t=>t.complete(dd)),Ji.clear()}function eb(){Ji.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(fd=!0)})}function RE(){dd=!0,eb(),Jx(),dd=!1}class sh{constructor(i,a,r,l,u,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=a,this.name=r,this.motionValue=l,this.element=u,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(Ji.add(this),ud||(ud=!0,Ee.read(eb),Ee.resolveKeyframes(Jx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:a,element:r,motionValue:l}=this;if(i[0]===null){const u=l?.get(),f=i[i.length-1];if(u!==void 0)i[0]=u;else if(r&&a){const m=r.readValue(a,f);m!=null&&(i[0]=m)}i[0]===void 0&&(i[0]=f),l&&u===void 0&&l.set(i[0])}wE(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),Ji.delete(this)}cancel(){this.state==="scheduled"&&(Ji.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const NE=t=>t.startsWith("--");function tb(t,i,a){NE(i)?t.style.setProperty(i,a):t.style[i]=a}const DE={};function ah(t,i){const a=Rx(t);return()=>DE[i]??a()}const rh=ah(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),nb=ah(()=>window.ViewTimeline!==void 0,"viewTimeline"),ib=ah(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),lr=([t,i,a,r])=>`cubic-bezier(${t}, ${i}, ${a}, ${r})`,mv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:lr([0,.65,.55,1]),circOut:lr([.55,0,1,.45]),backIn:lr([.31,.01,.66,-.59]),backOut:lr([.33,1.53,.69,.99])};function sb(t,i){if(t)return typeof t=="function"?ib()?Zx(t,i):"ease-out":Bx(t)?lr(t):Array.isArray(t)?t.map(a=>sb(a,i)||mv.easeOut):mv[t]}function OE(t,i,a,{delay:r=0,duration:l=300,repeat:u=0,repeatType:f="loop",ease:m="easeOut",times:g}={},p=void 0){const y={[i]:a};g&&(y.offset=g);const x=sb(m,l);Array.isArray(x)&&(y.easing=x);const b={delay:r,duration:l,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return p&&(b.pseudoElement=p),t.animate(y,b)}function ab(t){return typeof t=="function"&&"applyToOptions"in t}function _E({type:t,...i}){return ab(t)&&ib()?t.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class rb extends ih{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:a,name:r,keyframes:l,pseudoElement:u,allowFlatten:f=!1,finalKeyframe:m,onComplete:g}=i;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=i,xr(typeof i.type!="string");const p=_E(i);this.animation=OE(a,r,l,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=Hl(l,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(y),tb(a,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 Qt(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Qt(i)}get time(){return Qt(Number(this.animation.currentTime)||0)}set time(i){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Pt(i),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:a,rangeEnd:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&rh()?(this.animation.timeline=i,a&&(this.animation.rangeStart=a),r&&(this.animation.rangeEnd=r),St):l(this)}}const ob={anticipate:Px,backInOut:kx,circInOut:Vx};function kE(t){return t in ob}function PE(t){typeof t.ease=="string"&&kE(t.ease)&&(t.ease=ob[t.ease])}const Rf=10;class LE extends rb{constructor(i){PE(i),$x(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:a,onUpdate:r,onComplete:l,element:u,...f}=this.options;if(!a)return;if(i!==void 0){a.set(i);return}const m=new Tl({...f,autoplay:!1}),g=Math.max(Rf,pt.now()-this.startTime),p=rn(0,Rf,g-Rf),y=m.sample(g).value,{name:x}=this.options;u&&x&&tb(u,x,y),a.setWithVelocity(m.sample(Math.max(0,g-p)).value,y,p),m.stop()}}const pv=(t,i)=>i==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(an.test(t)||t==="0")&&!t.startsWith("url("));function VE(t){const i=t[0];if(t.length===1)return!0;for(let a=0;a<t.length;a++)if(t[a]!==i)return!0}function zE(t,i,a,r){const l=t[0];if(l===null)return!1;if(i==="display"||i==="visibility")return!0;const u=t[t.length-1],f=pv(l,i),m=pv(u,i);return!f||!m?!1:VE(t)||(a==="spring"||ab(a))&&r}function hd(t){t.duration=0,t.type="keyframes"}const lb=new Set(["opacity","clipPath","filter","transform"]),BE=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function UE(t){for(let i=0;i<t.length;i++)if(typeof t[i]=="string"&&BE.test(t[i]))return!0;return!1}const HE=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),qE=Rx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function YE(t){const{motionValue:i,name:a,repeatDelay:r,repeatType:l,damping:u,type:f,keyframes:m}=t;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:y}=i.owner.getProps();return qE()&&a&&(lb.has(a)||HE.has(a)&&UE(m))&&(a!=="transform"||!y)&&!p&&!r&&l!=="mirror"&&u!==0&&f!=="inertia"}const GE=40;class XE extends ih{constructor({autoplay:i=!0,delay:a=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:f="loop",keyframes:m,name:g,motionValue:p,element:y,...x}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=pt.now();const b={autoplay:i,delay:a,type:r,repeat:l,repeatDelay:u,repeatType:f,name:g,motionValue:p,element:y,...x},T=y?.KeyframeResolver||sh;this.keyframeResolver=new T(m,(E,M,j)=>this.onKeyframesResolved(E,M,b,!j),g,p,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,a,r,l){this.keyframeResolver=void 0;const{name:u,type:f,velocity:m,delay:g,isHandoff:p,onUpdate:y}=r;this.resolvedAt=pt.now();let x=!0;zE(i,u,f,m)||(x=!1,(Si.instantAnimations||!g)&&y?.(Hl(i,r,a)),i[0]=i[i.length-1],hd(r),r.repeat=0);const T={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>GE?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...r,keyframes:i},E=x&&!p&&YE(T),M=T.motionValue?.owner?.current;let j;if(E)try{j=new LE({...T,element:M})}catch{j=new Tl(T)}else j=new Tl(T);j.finished.then(()=>{this.notifyFinished()}).catch(St),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,a){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),RE()),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 cb(t,i,a,r=0,l=1){const u=Array.from(t).sort((p,y)=>p.sortNodePosition(y)).indexOf(i),f=t.size,m=(f-1)*r;return typeof a=="function"?a(u,f):l===1?u*r:m-u*r}const FE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function KE(t){const i=FE.exec(t);if(!i)return[,];const[,a,r,l]=i;return[`--${a??r}`,l]}function ub(t,i,a=1){const[r,l]=KE(t);if(!r)return;const u=window.getComputedStyle(i).getPropertyValue(r);if(u){const f=u.trim();return jx(f)?parseFloat(f):f}return Id(l)?ub(l,i,a+1):l}const QE={type:"spring",stiffness:500,damping:25,restSpeed:10},ZE=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),WE={type:"keyframes",duration:.8},IE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$E=(t,{keyframes:i})=>i.length>2?WE:sa.has(t)?t.startsWith("scale")?ZE(i[1]):QE:IE;function fb(t,i){if(t?.inherit&&i){const{inherit:a,...r}=t;return{...i,...r}}return t}function oh(t,i){const a=t?.[i]??t?.default??t;return a!==t?fb(a,t):a}const JE=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function ej(t){for(const i in t)if(!JE.has(i))return!0;return!1}const lh=(t,i,a,r={},l,u)=>f=>{const m=oh(r,t)||{},g=m.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Pt(g);const y={keyframes:Array.isArray(a)?a:[null,a],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:t,motionValue:i,element:u?void 0:l};ej(m)||Object.assign(y,$E(t,y)),y.duration&&(y.duration=Pt(y.duration)),y.repeatDelay&&(y.repeatDelay=Pt(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let x=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(hd(y),y.delay===0&&(x=!0)),(Si.instantAnimations||Si.skipAnimations||l?.shouldSkipAnimations)&&(x=!0,hd(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,x&&!u&&i.get()!==void 0){const b=Hl(y.keyframes,m);if(b!==void 0){Ee.update(()=>{y.onUpdate(b),y.onComplete()});return}}return m.isSync?new Tl(y):new XE(y)};function gv(t){const i=[{},{}];return t?.values.forEach((a,r)=>{i[0][r]=a.get(),i[1][r]=a.getVelocity()}),i}function ch(t,i,a,r){if(typeof i=="function"){const[l,u]=gv(r);i=i(a!==void 0?a:t.custom,l,u)}if(typeof i=="string"&&(i=t.variants&&t.variants[i]),typeof i=="function"){const[l,u]=gv(r);i=i(a!==void 0?a:t.custom,l,u)}return i}function es(t,i,a){const r=t.getProps();return ch(r,i,a!==void 0?a:r.custom,t)}const db=new Set(["width","height","top","left","right","bottom",...ia]),yv=30,tj=t=>!isNaN(parseFloat(t)),dr={current:void 0};class nj{constructor(i,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=pt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=a.owner}setCurrent(i){this.current=i,this.updatedAt=pt.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=tj(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,a){this.events[i]||(this.events[i]=new Kd);const r=this.events[i].add(a);return i==="change"?()=>{r(),Ee.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,a){this.passiveEffect=i,this.stopPassiveEffect=a}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,a=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return dr.current&&dr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const i=pt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>yv)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,yv);return Qd(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(i){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=i(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sn(t,i){return new nj(t,i)}const md=t=>Array.isArray(t);function ij(t,i,a){t.hasValue(i)?t.getValue(i).set(a):t.addValue(i,sn(a))}function sj(t){return md(t)?t[t.length-1]||0:t}function aj(t,i){const a=es(t,i);let{transitionEnd:r={},transition:l={},...u}=a||{};u={...u,...r};for(const f in u){const m=sj(u[f]);ij(t,f,m)}}const lt=t=>!!(t&&t.getVelocity);function rj(t){return!!(lt(t)&&t.add)}function pd(t,i){const a=t.getValue("willChange");if(rj(a))return a.add(i);if(!a&&Si.WillChange){const r=new Si.WillChange("auto");t.addValue("willChange",r),r.add(i)}}function uh(t){return t.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const oj="framerAppearId",hb="data-"+uh(oj);function mb(t){return t.props[hb]}function lj({protectedKeys:t,needsAnimating:i},a){const r=t.hasOwnProperty(a)&&i[a]!==!0;return i[a]=!1,r}function pb(t,i,{delay:a=0,transitionOverride:r,type:l}={}){let{transition:u,transitionEnd:f,...m}=i;const g=t.getDefaultTransition();u=u?fb(u,g):g;const p=u?.reduceMotion;r&&(u=r);const y=[],x=l&&t.animationState&&t.animationState.getState()[l];for(const b in m){const T=t.getValue(b,t.latestValues[b]??null),E=m[b];if(E===void 0||x&&lj(x,b))continue;const M={delay:a,...oh(u||{},b)},j=T.get();if(j!==void 0&&!T.isAnimating()&&!Array.isArray(E)&&E===j&&!M.velocity){Ee.update(()=>T.set(E));continue}let C=!1;if(window.MotionHandoffAnimation){const L=mb(t);if(L){const z=window.MotionHandoffAnimation(L,b,Ee);z!==null&&(M.startTime=z,C=!0)}}pd(t,b);const k=p??t.shouldReduceMotion;T.start(lh(b,T,E,k&&db.has(b)?{type:!1}:M,t,C));const O=T.animation;O&&y.push(O)}if(f){const b=()=>Ee.update(()=>{f&&aj(t,f)});y.length?Promise.all(y).then(b):b()}return y}function gd(t,i,a={}){const r=es(t,i,a.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=r||{};a.transitionOverride&&(l=a.transitionOverride);const u=r?()=>Promise.all(pb(t,r,a)):()=>Promise.resolve(),f=t.variantChildren&&t.variantChildren.size?(g=0)=>{const{delayChildren:p=0,staggerChildren:y,staggerDirection:x}=l;return cj(t,i,g,p,y,x,a)}:()=>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(a.delay)])}function cj(t,i,a=0,r=0,l=0,u=1,f){const m=[];for(const g of t.variantChildren)g.notify("AnimationStart",i),m.push(gd(g,i,{...f,delay:a+(typeof r=="function"?0:r)+cb(t.variantChildren,g,r,l,u)}).then(()=>g.notify("AnimationComplete",i)));return Promise.all(m)}function uj(t,i,a={}){t.notify("AnimationStart",i);let r;if(Array.isArray(i)){const l=i.map(u=>gd(t,u,a));r=Promise.all(l)}else if(typeof i=="string")r=gd(t,i,a);else{const l=typeof i=="function"?es(t,i,a.custom):i;r=Promise.all(pb(t,l,a))}return r.then(()=>{t.notify("AnimationComplete",i)})}const fj={test:t=>t==="auto",parse:t=>t},gb=t=>i=>i.test(t),yb=[na,se,bn,vi,UA,BA,fj],vv=t=>yb.find(gb(t));function dj(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Cx(t):!0}const hj=new Set(["brightness","contrast","saturate","opacity"]);function mj(t){const[i,a]=t.slice(0,-1).split("(");if(i==="drop-shadow")return t;const[r]=a.match($d)||[];if(!r)return t;const l=a.replace(r,"");let u=hj.has(i)?1:0;return r!==a&&(u*=100),i+"("+u+l+")"}const pj=/\b([a-z-]*)\(.*?\)/gu,yd={...an,getAnimatableNone:t=>{const i=t.match(pj);return i?i.map(mj).join(" "):t}},vd={...an,getAnimatableNone:t=>{const i=an.parse(t);return an.createTransformer(t)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},xv={...na,transform:Math.round},gj={rotate:vi,rotateX:vi,rotateY:vi,rotateZ:vi,scale:Wo,scaleX:Wo,scaleY:Wo,scaleZ:Wo,skew:vi,skewX:vi,skewY:vi,distance:se,translateX:se,translateY:se,translateZ:se,x:se,y:se,z:se,perspective:se,transformPerspective:se,opacity:br,originX:av,originY:av,originZ:se},fh={borderWidth:se,borderTopWidth:se,borderRightWidth:se,borderBottomWidth:se,borderLeftWidth:se,borderRadius:se,borderTopLeftRadius:se,borderTopRightRadius:se,borderBottomRightRadius:se,borderBottomLeftRadius:se,width:se,maxWidth:se,height:se,maxHeight:se,top:se,right:se,bottom:se,left:se,inset:se,insetBlock:se,insetBlockStart:se,insetBlockEnd:se,insetInline:se,insetInlineStart:se,insetInlineEnd:se,padding:se,paddingTop:se,paddingRight:se,paddingBottom:se,paddingLeft:se,paddingBlock:se,paddingBlockStart:se,paddingBlockEnd:se,paddingInline:se,paddingInlineStart:se,paddingInlineEnd:se,margin:se,marginTop:se,marginRight:se,marginBottom:se,marginLeft:se,marginBlock:se,marginBlockStart:se,marginBlockEnd:se,marginInline:se,marginInlineStart:se,marginInlineEnd:se,fontSize:se,backgroundPositionX:se,backgroundPositionY:se,...gj,zIndex:xv,fillOpacity:br,strokeOpacity:br,numOctaves:xv},yj={...fh,color:Qe,backgroundColor:Qe,outlineColor:Qe,fill:Qe,stroke:Qe,borderColor:Qe,borderTopColor:Qe,borderRightColor:Qe,borderBottomColor:Qe,borderLeftColor:Qe,filter:yd,WebkitFilter:yd,mask:vd,WebkitMask:vd},vb=t=>yj[t],vj=new Set([yd,vd]);function xb(t,i){let a=vb(t);return vj.has(a)||(a=an),a.getAnimatableNone?a.getAnimatableNone(i):void 0}const xj=new Set(["auto","none","0"]);function bj(t,i,a){let r=0,l;for(;r<t.length&&!l;){const u=t[r];typeof u=="string"&&!xj.has(u)&&Js(u).values.length&&(l=t[r]),r++}if(l&&a)for(const u of i)t[u]=xb(a,l)}class wj extends sh{constructor(i,a,r,l,u){super(i,a,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<i.length;y++){let x=i[y];if(typeof x=="string"&&(x=x.trim(),Id(x))){const b=ub(x,a.current);b!==void 0&&(i[y]=b),y===i.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!db.has(r)||i.length!==2)return;const[l,u]=i,f=vv(l),m=vv(u),g=sv(l),p=sv(u);if(g!==p&&xi[r]){this.needsMeasurement=!0;return}if(f!==m)if(hv(f)&&hv(m))for(let y=0;y<i.length;y++){const x=i[y];typeof x=="string"&&(i[y]=parseFloat(x))}else xi[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:a}=this,r=[];for(let l=0;l<i.length;l++)(i[l]===null||dj(i[l]))&&r.push(l);r.length&&bj(i,r,a)}measureInitialState(){const{element:i,unresolvedKeyframes:a,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=xi[r](i.measureViewportBox(),window.getComputedStyle(i.current)),a[0]=this.measuredOrigin;const l=a[a.length-1];l!==void 0&&i.getValue(r,l).jump(l,!1)}measureEndState(){const{element:i,name:a,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const l=i.getValue(a);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,f=r[u];r[u]=xi[a](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,g])=>{i.getValue(m).set(g)}),this.resolveNoneKeyframes()}}function bb(t,i,a){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){const l=document.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t).filter(r=>r!=null)}const wb=(t,i)=>i&&typeof t=="number"?i.transform(t):t;function hr(t){return Mx(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:dh}=Ux(queueMicrotask,!1),tn={x:!1,y:!1};function Sb(){return tn.x||tn.y}function Sj(t){return t==="x"||t==="y"?tn[t]?null:(tn[t]=!0,()=>{tn[t]=!1}):tn.x||tn.y?null:(tn.x=tn.y=!0,()=>{tn.x=tn.y=!1})}function Tb(t,i){const a=bb(t),r=new AbortController,l={passive:!0,...i,signal:r.signal};return[a,l,()=>r.abort()]}function Tj(t){return!(t.pointerType==="touch"||Sb())}function Aj(t,i,a={}){const[r,l,u]=Tb(t,a);return r.forEach(f=>{let m=!1,g=!1,p;const y=()=>{f.removeEventListener("pointerleave",E)},x=j=>{p&&(p(j),p=void 0),y()},b=j=>{m=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),g&&(g=!1,x(j))},T=()=>{m=!0,window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",b,l)},E=j=>{if(j.pointerType!=="touch"){if(m){g=!0;return}x(j)}},M=j=>{if(!Tj(j))return;g=!1;const C=i(f,j);typeof C=="function"&&(p=C,f.addEventListener("pointerleave",E,l))};f.addEventListener("pointerenter",M,l),f.addEventListener("pointerdown",T,l)}),u}const Ab=(t,i)=>i?t===i?!0:Ab(t,i.parentElement):!1,hh=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Ej=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function jj(t){return Ej.has(t.tagName)||t.isContentEditable===!0}const Mj=new Set(["INPUT","SELECT","TEXTAREA"]);function Cj(t){return Mj.has(t.tagName)||t.isContentEditable===!0}const ll=new WeakSet;function bv(t){return i=>{i.key==="Enter"&&t(i)}}function Nf(t,i){t.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const Rj=(t,i)=>{const a=t.currentTarget;if(!a)return;const r=bv(()=>{if(ll.has(a))return;Nf(a,"down");const l=bv(()=>{Nf(a,"up")}),u=()=>Nf(a,"cancel");a.addEventListener("keyup",l,i),a.addEventListener("blur",u,i)});a.addEventListener("keydown",r,i),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),i)};function wv(t){return hh(t)&&!Sb()}const Sv=new WeakSet;function Nj(t,i,a={}){const[r,l,u]=Tb(t,a),f=m=>{const g=m.currentTarget;if(!wv(m)||Sv.has(m))return;ll.add(g),a.stopPropagation&&Sv.add(m);const p=i(g,m),y=(T,E)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",b),ll.has(g)&&ll.delete(g),wv(T)&&typeof p=="function"&&p(T,{success:E})},x=T=>{y(T,g===window||g===document||a.useGlobalTarget||Ab(g,T.target))},b=T=>{y(T,!1)};window.addEventListener("pointerup",x,l),window.addEventListener("pointercancel",b,l)};return r.forEach(m=>{(a.useGlobalTarget?window:m).addEventListener("pointerdown",f,l),hr(m)&&(m.addEventListener("focus",p=>Rj(p,l)),!jj(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),u}function mh(t){return Mx(t)&&"ownerSVGElement"in t}const cl=new WeakMap;let ul;const Eb=(t,i,a)=>(r,l)=>l&&l[0]?l[0][t+"Size"]:mh(r)&&"getBBox"in r?r.getBBox()[i]:r[a],Dj=Eb("inline","width","offsetWidth"),Oj=Eb("block","height","offsetHeight");function _j({target:t,borderBoxSize:i}){cl.get(t)?.forEach(a=>{a(t,{get width(){return Dj(t,i)},get height(){return Oj(t,i)}})})}function kj(t){t.forEach(_j)}function Pj(){typeof ResizeObserver>"u"||(ul=new ResizeObserver(kj))}function Lj(t,i){ul||Pj();const a=bb(t);return a.forEach(r=>{let l=cl.get(r);l||(l=new Set,cl.set(r,l)),l.add(i),ul?.observe(r)}),()=>{a.forEach(r=>{const l=cl.get(r);l?.delete(i),l?.size||ul?.unobserve(r)})}}const fl=new Set;let Zs;function Vj(){Zs=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};fl.forEach(i=>i(t))},window.addEventListener("resize",Zs)}function zj(t){return fl.add(t),Zs||Vj(),()=>{fl.delete(t),!fl.size&&typeof Zs=="function"&&(window.removeEventListener("resize",Zs),Zs=void 0)}}function xd(t,i){return typeof t=="function"?zj(t):Lj(t,i)}function jb(t,i){let a;const r=()=>{const{currentTime:l}=i,f=(l===null?0:l.value)/100;a!==f&&t(f),a=f};return Ee.preUpdate(r,!0),()=>Zt(r)}function Bj(t){return mh(t)&&t.tagName==="svg"}function Uj(...t){const i=!Array.isArray(t[0]),a=i?0:-1,r=t[0+a],l=t[1+a],u=t[2+a],f=t[3+a],m=nh(l,u,f);return i?m(r):m}const Hj=[...yb,Qe,an],qj=t=>Hj.find(gb(t)),Tv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ws=()=>({x:Tv(),y:Tv()}),Av=()=>({min:0,max:0}),$e=()=>({x:Av(),y:Av()}),Yj=new WeakMap;function ql(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function wr(t){return typeof t=="string"||Array.isArray(t)}const ph=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],gh=["initial",...ph];function Yl(t){return ql(t.animate)||gh.some(i=>wr(t[i]))}function Mb(t){return!!(Yl(t)||t.variants)}function Gj(t,i,a){for(const r in i){const l=i[r],u=a[r];if(lt(l))t.addValue(r,l);else if(lt(u))t.addValue(r,sn(l,{owner:t}));else if(u!==l)if(t.hasValue(r)){const f=t.getValue(r);f.liveStyle===!0?f.jump(l):f.hasAnimated||f.set(l)}else{const f=t.getStaticValue(r);t.addValue(r,sn(f!==void 0?f:l,{owner:t}))}}for(const r in a)i[r]===void 0&&t.removeValue(r);return i}const bd={current:null},Cb={current:!1},Xj=typeof window<"u";function Fj(){if(Cb.current=!0,!!Xj)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),i=()=>bd.current=t.matches;t.addEventListener("change",i),i()}else bd.current=!1}const Ev=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Al={};function Rb(t){Al=t}function Kj(){return Al}class Qj{scrapeMotionValuesFromProps(i,a,r){return{}}constructor({parent:i,props:a,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=sh,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 T=pt.now();this.renderScheduledAt<T&&(this.renderScheduledAt=T,Ee.render(this.render,!1,!0))};const{latestValues:p,renderState:y}=m;this.latestValues=p,this.baseTarget={...p},this.initialValues=a.initial?{...p}:{},this.renderState=y,this.parent=i,this.props=a,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=u,this.options=g,this.blockInitialAnimation=!!f,this.isControllingVariants=Yl(a),this.isVariantNode=Mb(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:x,...b}=this.scrapeMotionValuesFromProps(a,{},this);for(const T in b){const E=b[T];p[T]!==void 0&<(E)&&E.set(p[T])}}mount(i){if(this.hasBeenMounted)for(const a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=i,Yj.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,r)=>this.bindToMotionValue(r,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Cb.current||Fj(),this.shouldReduceMotion=bd.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(),Zt(this.notifyUpdate),Zt(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const a=this.features[i];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,a){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),a.accelerate&&lb.has(i)&&this.current instanceof HTMLElement){const{factory:f,keyframes:m,times:g,ease:p,duration:y}=a.accelerate,x=new rb({element:this.current,name:i,keyframes:m,times:g,ease:p,duration:Pt(y)}),b=f(x);this.valueSubscriptions.set(i,()=>{b(),x.cancel()});return}const r=sa.has(i);r&&this.onBindTransform&&this.onBindTransform();const l=a.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&Ee.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,i,a)),this.valueSubscriptions.set(i,()=>{l(),u&&u(),a.owner&&a.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 Al){const a=Al[i];if(!a)continue;const{isEnabled:r,Feature:l}=a;if(!this.features[i]&&l&&r(this.props)&&(this.features[i]=new l(this)),this.features[i]){const u=this.features[i];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$e()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,a){this.latestValues[i]=a}update(i,a){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<Ev.length;r++){const l=Ev[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=Gj(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(i),()=>a.variantChildren.delete(i)}addValue(i,a){const r=this.values.get(i);a!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,a),this.values.set(i,a),this.latestValues[i]=a.get())}removeValue(i){this.values.delete(i);const a=this.valueSubscriptions.get(i);a&&(a(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,a){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&a!==void 0&&(r=sn(a===null?void 0:a,{owner:this}),this.addValue(i,r)),r}readValue(i,a){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(jx(r)||Cx(r))?r=parseFloat(r):!qj(r)&&an.test(a)&&(r=xb(i,a)),this.setBaseTarget(i,lt(r)?r.get():r)),lt(r)?r.get():r}setBaseTarget(i,a){this.baseTarget[i]=a}getBaseTarget(i){const{initial:a}=this.props;let r;if(typeof a=="string"||typeof a=="object"){const u=ch(this.props,a,this.presenceContext?.custom);u&&(r=u[i])}if(a&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,i);return l!==void 0&&!lt(l)?l:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,a){return this.events[i]||(this.events[i]=new Kd),this.events[i].add(a)}notify(i,...a){this.events[i]&&this.events[i].notify(...a)}scheduleRenderMicrotask(){dh.render(this.render)}}class Nb extends Qj{constructor(){super(...arguments),this.KeyframeResolver=wj}sortInstanceNodePosition(i,a){return i.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(i,a){const r=i.style;return r?r[a]:void 0}removeValueFromRenderState(i,{vars:a,style:r}){delete a[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;lt(i)&&(this.childSubscription=i.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class Mi{constructor(i){this.isMounted=!1,this.node=i}update(){}}function Db({top:t,left:i,right:a,bottom:r}){return{x:{min:i,max:a},y:{min:t,max:r}}}function Zj({x:t,y:i}){return{top:i.min,right:t.max,bottom:i.max,left:t.min}}function Wj(t,i){if(!i)return t;const a=i({x:t.left,y:t.top}),r=i({x:t.right,y:t.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function Df(t){return t===void 0||t===1}function wd({scale:t,scaleX:i,scaleY:a}){return!Df(t)||!Df(i)||!Df(a)}function Wi(t){return wd(t)||Ob(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Ob(t){return jv(t.x)||jv(t.y)}function jv(t){return t&&t!=="0%"}function El(t,i,a){const r=t-a,l=i*r;return a+l}function Mv(t,i,a,r,l){return l!==void 0&&(t=El(t,l,r)),El(t,a,r)+i}function Sd(t,i=0,a=1,r,l){t.min=Mv(t.min,i,a,r,l),t.max=Mv(t.max,i,a,r,l)}function _b(t,{x:i,y:a}){Sd(t.x,i.translate,i.scale,i.originPoint),Sd(t.y,a.translate,a.scale,a.originPoint)}const Cv=.999999999999,Rv=1.0000000000001;function Ij(t,i,a,r=!1){const l=a.length;if(!l)return;i.x=i.y=1;let u,f;for(let m=0;m<l;m++){u=a[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&&(vn(t.x,-u.scroll.offset.x),vn(t.y,-u.scroll.offset.y)),f&&(i.x*=f.x.scale,i.y*=f.y.scale,_b(t,f)),r&&Wi(u.latestValues)&&dl(t,u.latestValues,u.layout?.layoutBox))}i.x<Rv&&i.x>Cv&&(i.x=1),i.y<Rv&&i.y>Cv&&(i.y=1)}function vn(t,i){t.min+=i,t.max+=i}function Nv(t,i,a,r,l=.5){const u=Ve(t.min,t.max,l);Sd(t,i,a,u,r)}function Dv(t,i){return typeof t=="string"?parseFloat(t)/100*(i.max-i.min):t}function dl(t,i,a){const r=a??t;Nv(t.x,Dv(i.x,r.x),i.scaleX,i.scale,i.originX),Nv(t.y,Dv(i.y,r.y),i.scaleY,i.scale,i.originY)}function kb(t,i){return Db(Wj(t.getBoundingClientRect(),i))}function $j(t,i,a){const r=kb(t,a),{scroll:l}=i;return l&&(vn(r.x,l.offset.x),vn(r.y,l.offset.y)),r}const Jj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eM=ia.length;function tM(t,i,a){let r="",l=!0;for(let u=0;u<eM;u++){const f=ia[u],m=t[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||a){const p=wb(m,fh[f]);if(!g){l=!1;const y=Jj[f]||f;r+=`${y}(${p}) `}a&&(i[f]=p)}}return r=r.trim(),a?r=a(i,l?"":r):l&&(r="none"),r}function yh(t,i,a){const{style:r,vars:l,transformOrigin:u}=t;let f=!1,m=!1;for(const g in i){const p=i[g];if(sa.has(g)){f=!0;continue}else if(qx(g)){l[g]=p;continue}else{const y=wb(p,fh[g]);g.startsWith("origin")?(m=!0,u[g]=y):r[g]=y}}if(i.transform||(f||a?r.transform=tM(i,t.transform,a):r.transform&&(r.transform="none")),m){const{originX:g="50%",originY:p="50%",originZ:y=0}=u;r.transformOrigin=`${g} ${p} ${y}`}}function Pb(t,{style:i,vars:a},r,l){const u=t.style;let f;for(f in i)u[f]=i[f];l?.applyProjectionStyles(u,r);for(f in a)u.setProperty(f,a[f])}function Ov(t,i){return i.max===i.min?0:t/(i.max-i.min)*100}const rr={correct:(t,i)=>{if(!i.target)return t;if(typeof t=="string")if(se.test(t))t=parseFloat(t);else return t;const a=Ov(t,i.target.x),r=Ov(t,i.target.y);return`${a}% ${r}%`}},nM={correct:(t,{treeScale:i,projectionDelta:a})=>{const r=t,l=an.parse(t);if(l.length>5)return r;const u=an.createTransformer(t),f=typeof l[0]!="number"?1:0,m=a.x.scale*i.x,g=a.y.scale*i.y;l[0+f]/=m,l[1+f]/=g;const p=Ve(m,g,.5);return typeof l[2+f]=="number"&&(l[2+f]/=p),typeof l[3+f]=="number"&&(l[3+f]/=p),u(l)}},Td={borderRadius:{...rr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rr,borderTopRightRadius:rr,borderBottomLeftRadius:rr,borderBottomRightRadius:rr,boxShadow:nM};function Lb(t,{layout:i,layoutId:a}){return sa.has(t)||t.startsWith("origin")||(i||a!==void 0)&&(!!Td[t]||t==="opacity")}function vh(t,i,a){const r=t.style,l=i?.style,u={};if(!r)return u;for(const f in r)(lt(r[f])||l&<(l[f])||Lb(f,t)||a?.getValue(f)?.liveStyle!==void 0)&&(u[f]=r[f]);return u}function iM(t){return window.getComputedStyle(t)}class sM extends Nb{constructor(){super(...arguments),this.type="html",this.renderInstance=Pb}readValueFromInstance(i,a){if(sa.has(a))return this.projection?.isProjecting?ld(a):AE(i,a);{const r=iM(i),l=(qx(a)?r.getPropertyValue(a):r[a])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(i,{transformPagePoint:a}){return kb(i,a)}build(i,a,r){yh(i,a,r.transformTemplate)}scrapeMotionValuesFromProps(i,a,r){return vh(i,a,r)}}const aM={offset:"stroke-dashoffset",array:"stroke-dasharray"},rM={offset:"strokeDashoffset",array:"strokeDasharray"};function oM(t,i,a=1,r=0,l=!0){t.pathLength=1;const u=l?aM:rM;t[u.offset]=`${-r}`,t[u.array]=`${i} ${a}`}const lM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Vb(t,{attrX:i,attrY:a,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:f=0,...m},g,p,y){if(yh(t,m,p),g){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:b}=t;x.transform&&(b.transform=x.transform,delete x.transform),(b.transform||x.transformOrigin)&&(b.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),b.transform&&(b.transformBox=y?.transformBox??"fill-box",delete x.transformBox);for(const T of lM)x[T]!==void 0&&(b[T]=x[T],delete x[T]);i!==void 0&&(x.x=i),a!==void 0&&(x.y=a),r!==void 0&&(x.scale=r),l!==void 0&&oM(x,l,u,f,!1)}const zb=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"]),Bb=t=>typeof t=="string"&&t.toLowerCase()==="svg";function cM(t,i,a,r){Pb(t,i,void 0,r);for(const l in i.attrs)t.setAttribute(zb.has(l)?l:uh(l),i.attrs[l])}function Ub(t,i,a){const r=vh(t,i,a);for(const l in t)if(lt(t[l])||lt(i[l])){const u=ia.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=t[l]}return r}class uM extends Nb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$e}getBaseTargetFromProps(i,a){return i[a]}readValueFromInstance(i,a){if(sa.has(a)){const r=vb(a);return r&&r.default||0}return a=zb.has(a)?a:uh(a),i.getAttribute(a)}scrapeMotionValuesFromProps(i,a,r){return Ub(i,a,r)}build(i,a,r){Vb(i,a,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,a,r,l){cM(i,a,r,l)}mount(i){this.isSVGTag=Bb(i.tagName),super.mount(i)}}const fM=gh.length;function Hb(t){if(!t)return;if(!t.isControllingVariants){const a=t.parent?Hb(t.parent)||{}:{};return t.props.initial!==void 0&&(a.initial=t.props.initial),a}const i={};for(let a=0;a<fM;a++){const r=gh[a],l=t.props[r];(wr(l)||l===!1)&&(i[r]=l)}return i}function qb(t,i){if(!Array.isArray(i))return!1;const a=i.length;if(a!==t.length)return!1;for(let r=0;r<a;r++)if(i[r]!==t[r])return!1;return!0}const dM=[...ph].reverse(),hM=ph.length;function mM(t){return i=>Promise.all(i.map(({animation:a,options:r})=>uj(t,a,r)))}function pM(t){let i=mM(t),a=_v(),r=!0,l=!1;const u=p=>(y,x)=>{const b=es(t,x,p==="exit"?t.presenceContext?.custom:void 0);if(b){const{transition:T,transitionEnd:E,...M}=b;y={...y,...M,...E}}return y};function f(p){i=p(t)}function m(p){const{props:y}=t,x=Hb(t.parent)||{},b=[],T=new Set;let E={},M=1/0;for(let C=0;C<hM;C++){const k=dM[C],O=a[k],L=y[k]!==void 0?y[k]:x[k],z=wr(L),K=k===p?O.isActive:null;K===!1&&(M=C);let Z=L===x[k]&&L!==y[k]&&z;if(Z&&(r||l)&&t.manuallyAnimateOnMount&&(Z=!1),O.protectedKeys={...E},!O.isActive&&K===null||!L&&!O.prevProp||ql(L)||typeof L=="boolean")continue;if(k==="exit"&&O.isActive&&K!==!0){O.prevResolvedValues&&(E={...E,...O.prevResolvedValues});continue}const H=gM(O.prevProp,L);let I=H||k===p&&O.isActive&&!Z&&z||C>M&&z,W=!1;const oe=Array.isArray(L)?L:[L];let le=oe.reduce(u(k),{});K===!1&&(le={});const{prevResolvedValues:ye={}}=O,J={...ye,...le},ue=X=>{I=!0,T.has(X)&&(W=!0,T.delete(X)),O.needsAnimating[X]=!0;const te=t.getValue(X);te&&(te.liveStyle=!1)};for(const X in J){const te=le[X],A=ye[X];if(E.hasOwnProperty(X))continue;let Y=!1;md(te)&&md(A)?Y=!qb(te,A):Y=te!==A,Y?te!=null?ue(X):T.add(X):te!==void 0&&T.has(X)?ue(X):O.protectedKeys[X]=!0}O.prevProp=L,O.prevResolvedValues=le,O.isActive&&(E={...E,...le}),(r||l)&&t.blockInitialAnimation&&(I=!1);const _=Z&&H;I&&(!_||W)&&b.push(...oe.map(X=>{const te={type:k};if(typeof X=="string"&&(r||l)&&!_&&t.manuallyAnimateOnMount&&t.parent){const{parent:A}=t,Y=es(A,X);if(A.enteringChildren&&Y){const{delayChildren:ee}=Y.transition||{};te.delay=cb(A.enteringChildren,t,ee)}}return{animation:X,options:te}}))}if(T.size){const C={};if(typeof y.initial!="boolean"){const k=es(t,Array.isArray(y.initial)?y.initial[0]:y.initial);k&&k.transition&&(C.transition=k.transition)}T.forEach(k=>{const O=t.getBaseTarget(k),L=t.getValue(k);L&&(L.liveStyle=!0),C[k]=O??null}),b.push({animation:C})}let j=!!b.length;return r&&(y.initial===!1||y.initial===y.animate)&&!t.manuallyAnimateOnMount&&(j=!1),r=!1,l=!1,j?i(b):Promise.resolve()}function g(p,y){if(a[p].isActive===y)return Promise.resolve();t.variantChildren?.forEach(b=>b.animationState?.setActive(p,y)),a[p].isActive=y;const x=m(p);for(const b in a)a[b].protectedKeys={};return x}return{animateChanges:m,setActive:g,setAnimateFunction:f,getState:()=>a,reset:()=>{a=_v(),l=!0}}}function gM(t,i){return typeof i=="string"?i!==t:Array.isArray(i)?!qb(i,t):!1}function Ki(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _v(){return{animate:Ki(!0),whileInView:Ki(),whileHover:Ki(),whileTap:Ki(),whileDrag:Ki(),whileFocus:Ki(),exit:Ki()}}function Ad(t,i){t.min=i.min,t.max=i.max}function en(t,i){Ad(t.x,i.x),Ad(t.y,i.y)}function kv(t,i){t.translate=i.translate,t.scale=i.scale,t.originPoint=i.originPoint,t.origin=i.origin}const Yb=1e-4,yM=1-Yb,vM=1+Yb,Gb=.01,xM=0-Gb,bM=0+Gb;function gt(t){return t.max-t.min}function wM(t,i,a){return Math.abs(t-i)<=a}function Pv(t,i,a,r=.5){t.origin=r,t.originPoint=Ve(i.min,i.max,t.origin),t.scale=gt(a)/gt(i),t.translate=Ve(a.min,a.max,t.origin)-t.originPoint,(t.scale>=yM&&t.scale<=vM||isNaN(t.scale))&&(t.scale=1),(t.translate>=xM&&t.translate<=bM||isNaN(t.translate))&&(t.translate=0)}function mr(t,i,a,r){Pv(t.x,i.x,a.x,r?r.originX:void 0),Pv(t.y,i.y,a.y,r?r.originY:void 0)}function Lv(t,i,a,r=0){const l=r?Ve(a.min,a.max,r):a.min;t.min=l+i.min,t.max=t.min+gt(i)}function SM(t,i,a,r){Lv(t.x,i.x,a.x,r?.x),Lv(t.y,i.y,a.y,r?.y)}function Vv(t,i,a,r=0){const l=r?Ve(a.min,a.max,r):a.min;t.min=i.min-l,t.max=t.min+gt(i)}function jl(t,i,a,r){Vv(t.x,i.x,a.x,r?.x),Vv(t.y,i.y,a.y,r?.y)}function zv(t,i,a,r,l){return t-=i,t=El(t,1/a,r),l!==void 0&&(t=El(t,1/l,r)),t}function TM(t,i=0,a=1,r=.5,l,u=t,f=t){if(bn.test(i)&&(i=parseFloat(i),i=Ve(f.min,f.max,i/100)-f.min),typeof i!="number")return;let m=Ve(u.min,u.max,r);t===u&&(m-=i),t.min=zv(t.min,i,a,m,l),t.max=zv(t.max,i,a,m,l)}function Bv(t,i,[a,r,l],u,f){TM(t,i[a],i[r],i[l],i.scale,u,f)}const AM=["x","scaleX","originX"],EM=["y","scaleY","originY"];function Uv(t,i,a,r){Bv(t.x,i,AM,a?a.x:void 0,r?r.x:void 0),Bv(t.y,i,EM,a?a.y:void 0,r?r.y:void 0)}function Hv(t){return t.translate===0&&t.scale===1}function Xb(t){return Hv(t.x)&&Hv(t.y)}function qv(t,i){return t.min===i.min&&t.max===i.max}function jM(t,i){return qv(t.x,i.x)&&qv(t.y,i.y)}function Yv(t,i){return Math.round(t.min)===Math.round(i.min)&&Math.round(t.max)===Math.round(i.max)}function Fb(t,i){return Yv(t.x,i.x)&&Yv(t.y,i.y)}function Gv(t){return gt(t.x)/gt(t.y)}function Xv(t,i){return t.translate===i.translate&&t.scale===i.scale&&t.originPoint===i.originPoint}function yn(t){return[t("x"),t("y")]}function MM(t,i,a){let r="";const l=t.x.translate/i.x,u=t.y.translate/i.y,f=a?.z||0;if((l||u||f)&&(r=`translate3d(${l}px, ${u}px, ${f}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),a){const{transformPerspective:p,rotate:y,rotateX:x,rotateY:b,skewX:T,skewY:E}=a;p&&(r=`perspective(${p}px) ${r}`),y&&(r+=`rotate(${y}deg) `),x&&(r+=`rotateX(${x}deg) `),b&&(r+=`rotateY(${b}deg) `),T&&(r+=`skewX(${T}deg) `),E&&(r+=`skewY(${E}deg) `)}const m=t.x.scale*i.x,g=t.y.scale*i.y;return(m!==1||g!==1)&&(r+=`scale(${m}, ${g})`),r||"none"}const Kb=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],CM=Kb.length,Fv=t=>typeof t=="string"?parseFloat(t):t,Kv=t=>typeof t=="number"||se.test(t);function RM(t,i,a,r,l,u){l?(t.opacity=Ve(0,a.opacity??1,NM(r)),t.opacityExit=Ve(i.opacity??1,0,DM(r))):u&&(t.opacity=Ve(i.opacity??1,a.opacity??1,r));for(let f=0;f<CM;f++){const m=Kb[f];let g=Qv(i,m),p=Qv(a,m);if(g===void 0&&p===void 0)continue;g||(g=0),p||(p=0),g===0||p===0||Kv(g)===Kv(p)?(t[m]=Math.max(Ve(Fv(g),Fv(p),r),0),(bn.test(p)||bn.test(g))&&(t[m]+="%")):t[m]=p}(i.rotate||a.rotate)&&(t.rotate=Ve(i.rotate||0,a.rotate||0,r))}function Qv(t,i){return t[i]!==void 0?t[i]:t.borderRadius}const NM=Qb(0,.5,Lx),DM=Qb(.5,.95,St);function Qb(t,i,a){return r=>r<t?0:r>i?1:a($s(t,i,r))}function OM(t,i,a){const r=lt(t)?t:sn(t);return r.start(lh("",r,i,a)),r.animation}function Sr(t,i,a,r={passive:!0}){return t.addEventListener(i,a,r),()=>t.removeEventListener(i,a)}const _M=(t,i)=>t.depth-i.depth;class kM{constructor(){this.children=[],this.isDirty=!1}add(i){Fd(this.children,i),this.isDirty=!0}remove(i){xl(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(_M),this.isDirty=!1,this.children.forEach(i)}}function PM(t,i){const a=pt.now(),r=({timestamp:l})=>{const u=l-a;u>=i&&(Zt(r),t(u-i))};return Ee.setup(r,!0),()=>Zt(r)}function hl(t){return lt(t)?t.get():t}class LM{constructor(){this.members=[]}add(i){Fd(this.members,i);for(let a=this.members.length-1;a>=0;a--){const r=this.members[a];if(r===i||r===this.lead||r===this.prevLead)continue;const l=r.instance;(!l||l.isConnected===!1)&&!r.snapshot&&(xl(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(xl(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(i){for(let a=this.members.indexOf(i)-1;a>=0;a--){const r=this.members[a];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(i,a){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:u}=i.options;(l===void 0||l!==u)&&(i.resumeFrom=r,a&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root?.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{i.options.onExitComplete?.(),i.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const ml={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Of=["","X","Y","Z"],VM=1e3;let zM=0;function _f(t,i,a,r){const{latestValues:l}=i;l[t]&&(a[t]=l[t],i.setStaticValue(t,0),r&&(r[t]=0))}function Zb(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:i}=t.options;if(!i)return;const a=mb(i);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:l,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(a,"transform",Ee,!(l||u))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&Zb(r)}function Wb({attachResizeListener:t,defaultParent:i,measureScroll:a,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(f={},m=i?.()){this.id=zM++,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(HM),this.nodes.forEach(KM),this.nodes.forEach(QM),this.nodes.forEach(qM)},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 kM)}addEventListener(f,m){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Kd),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=mh(f)&&!Bj(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),t){let y,x=0;const b=()=>this.root.updateBlockedByResize=!1;Ee.read(()=>{x=window.innerWidth}),t(f,()=>{const T=window.innerWidth;T!==x&&(x=T,this.root.updateBlockedByResize=!0,y&&y(),y=PM(b,250),ml.hasAnimatedSinceResize&&(ml.hasAnimatedSinceResize=!1,this.nodes.forEach(Iv)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:x,hasRelativeLayoutChanged:b,layout:T})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||p.getDefaultTransition()||JM,{onLayoutAnimationStart:M,onLayoutAnimationComplete:j}=p.getProps(),C=!this.targetLayout||!Fb(this.targetLayout,T),k=!x&&b;if(this.options.layoutRoot||this.resumeFrom||k||x&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const O={...oh(E,"layout"),onPlay:M,onComplete:j};(p.shouldReduceMotion||this.options.layoutRoot)&&(O.delay=0,O.type=!1),this.startAnimation(O),this.setAnimationOrigin(y,k)}else x||Iv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=T})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Zt(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(ZM),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&&Zb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const x=this.path[y];x.shouldResetTransform=!0,(typeof x.latestValues.x=="string"||typeof x.latestValues.y=="string")&&(x.isLayoutDirty=!0),x.updateScroll("snapshot"),x.options.layoutRoot&&x.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(GM),this.nodes.forEach(Zv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Wv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(XM),this.nodes.forEach(FM),this.nodes.forEach(BM),this.nodes.forEach(UM)):this.nodes.forEach(Wv),this.clearAllSnapshots();const m=pt.now();st.delta=rn(0,1e3/60,m-st.timestamp),st.timestamp=m,st.isProcessing=!0,Af.update.process(st),Af.preRender.process(st),Af.render.process(st),st.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,dh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(YM),this.sharedNodes.forEach(WM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ee.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!gt(this.snapshot.measuredBox.x)&&!gt(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=$e()),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:a(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&&!Xb(this.projectionDelta),g=this.getTransformTemplate(),p=g?g(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;f&&this.instance&&(m||Wi(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)),eC(g),{animationId:this.root.animationId,measuredBox:m,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return $e();const m=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tC))){const{scroll:p}=this.root;p&&(vn(m.x,p.offset.x),vn(m.y,p.offset.y))}return m}removeElementScroll(f){const m=$e();if(en(m,f),this.scroll?.wasRoot)return m;for(let g=0;g<this.path.length;g++){const p=this.path[g],{scroll:y,options:x}=p;p!==this.root&&y&&x.layoutScroll&&(y.wasRoot&&en(m,f),vn(m.x,y.offset.x),vn(m.y,y.offset.y))}return m}applyTransform(f,m=!1,g){const p=g||$e();en(p,f);for(let y=0;y<this.path.length;y++){const x=this.path[y];!m&&x.options.layoutScroll&&x.scroll&&x!==x.root&&(vn(p.x,-x.scroll.offset.x),vn(p.y,-x.scroll.offset.y)),Wi(x.latestValues)&&dl(p,x.latestValues,x.layout?.layoutBox)}return Wi(this.latestValues)&&dl(p,this.latestValues,this.layout?.layoutBox),p}removeTransform(f){const m=$e();en(m,f);for(let g=0;g<this.path.length;g++){const p=this.path[g];if(!Wi(p.latestValues))continue;let y;p.instance&&(wd(p.latestValues)&&p.updateSnapshot(),y=$e(),en(y,p.measurePageBox())),Uv(m,p.latestValues,p.snapshot?.layoutBox,y)}return Wi(this.latestValues)&&Uv(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!==st.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:x}=this.options;if(!this.layout||!(y||x))return;this.resolvedRelativeTargetAt=st.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=$e(),this.targetWithTransforms=$e()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),SM(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):en(this.target,this.layout.layoutBox),_b(this.target,this.targetDelta)):en(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||wd(this.parent.latestValues)||Ob(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=$e(),this.relativeTargetOrigin=$e(),jl(this.relativeTargetOrigin,m,g,this.options.layoutAnchor||void 0),en(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===st.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;en(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,b=this.treeScale.y;Ij(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=$e());const{target:T}=f;if(!T){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(kv(this.prevProjectionDelta.x,this.projectionDelta.x),kv(this.prevProjectionDelta.y,this.projectionDelta.y)),mr(this.projectionDelta,this.layoutCorrected,T,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==b||!Xv(this.projectionDelta.x,this.prevProjectionDelta.x)||!Xv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",T))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ws(),this.projectionDelta=Ws(),this.projectionDeltaWithTransform=Ws()}setAnimationOrigin(f,m=!1){const g=this.snapshot,p=g?g.latestValues:{},y={...this.latestValues},x=Ws();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const b=$e(),T=g?g.source:void 0,E=this.layout?this.layout.source:void 0,M=T!==E,j=this.getStack(),C=!j||j.members.length<=1,k=!!(M&&!C&&this.options.crossfade===!0&&!this.path.some($M));this.animationProgress=0;let O;this.mixTargetDelta=L=>{const z=L/1e3;$v(x.x,f.x,z),$v(x.y,f.y,z),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jl(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),IM(this.relativeTarget,this.relativeTargetOrigin,b,z),O&&jM(this.relativeTarget,O)&&(this.isProjectionDirty=!1),O||(O=$e()),en(O,this.relativeTarget)),M&&(this.animationValues=y,RM(y,p,this.latestValues,z,k,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=z},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Zt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ee.update(()=>{ml.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=sn(0)),this.motionValue.jump(0,!1),this.currentAnimation=OM(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(VM),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&&Ib(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||$e();const x=gt(this.layout.layoutBox.x);g.x.min=f.target.x.min,g.x.max=g.x.min+x;const b=gt(this.layout.layoutBox.y);g.y.min=f.target.y.min,g.y.max=g.y.min+b}en(m,g),dl(m,y),mr(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(f,m){this.sharedNodes.has(f)||this.sharedNodes.set(f,new LM),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&&_f("z",f,p,this.animationValues);for(let y=0;y<Of.length;y++)_f(`rotate${Of[y]}`,f,p,this.animationValues),_f(`skew${Of[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=hl(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=hl(m?.pointerEvents)||""),this.hasProjected&&!Wi(this.latestValues)&&(f.transform=g?g({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=p.animationValues||p.latestValues;this.applyTransformsToTarget();let x=MM(this.projectionDeltaWithTransform,this.treeScale,y);g&&(x=g(y,x)),f.transform=x;const{x:b,y:T}=this.projectionDelta;f.transformOrigin=`${b.origin*100}% ${T.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 E in Td){if(y[E]===void 0)continue;const{correct:M,applyTo:j,isCSSVariable:C}=Td[E],k=x==="none"?y[E]:M(y[E],p);if(j){const O=j.length;for(let L=0;L<O;L++)f[j[L]]=k}else C?this.options.visualElement.renderState.vars[E]=k:f[E]=k}this.options.layoutId&&(f.pointerEvents=p===this?hl(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(Zv),this.root.sharedNodes.clear()}}}function BM(t){t.updateLayout()}function UM(t){const i=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:r}=t.layout,{animationType:l}=t.options,u=i.source!==t.layout.source;if(l==="size")yn(y=>{const x=u?i.measuredBox[y]:i.layoutBox[y],b=gt(x);x.min=a[y].min,x.max=x.min+b});else if(l==="x"||l==="y"){const y=l==="x"?"y":"x";Ad(u?i.measuredBox[y]:i.layoutBox[y],a[y])}else Ib(l,i.layoutBox,a)&&yn(y=>{const x=u?i.measuredBox[y]:i.layoutBox[y],b=gt(a[y]);x.max=x.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+b)});const f=Ws();mr(f,a,i.layoutBox);const m=Ws();u?mr(m,t.applyTransform(r,!0),i.measuredBox):mr(m,a,i.layoutBox);const g=!Xb(f);let p=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:x,layout:b}=y;if(x&&b){const T=t.options.layoutAnchor||void 0,E=$e();jl(E,i.layoutBox,x.layoutBox,T);const M=$e();jl(M,a,b.layoutBox,T),Fb(E,M)||(p=!0),y.options.layoutRoot&&(t.relativeTarget=M,t.relativeTargetOrigin=E,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:a,snapshot:i,delta:m,layoutDelta:f,hasLayoutChanged:g,hasRelativeLayoutChanged:p})}else if(t.isLead()){const{onExitComplete:a}=t.options;a&&a()}t.options.transition=void 0}function HM(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function qM(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function YM(t){t.clearSnapshot()}function Zv(t){t.clearMeasurements()}function GM(t){t.isLayoutDirty=!0,t.updateLayout()}function Wv(t){t.isLayoutDirty=!1}function XM(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function FM(t){const{visualElement:i}=t.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),t.resetTransform()}function Iv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function KM(t){t.resolveTargetDelta()}function QM(t){t.calcProjection()}
vendor: 9,365 bytes, lines 9-17
9function ZM(t){t.resetSkewAndRotation()}function WM(t){t.removeLeadSnapshot()}function $v(t,i,a){t.translate=Ve(i.translate,0,a),t.scale=Ve(i.scale,1,a),t.origin=i.origin,t.originPoint=i.originPoint}function Jv(t,i,a,r){t.min=Ve(i.min,a.min,r),t.max=Ve(i.max,a.max,r)}function IM(t,i,a,r){Jv(t.x,i.x,a.x,r),Jv(t.y,i.y,a.y,r)}function $M(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const JM={duration:.45,ease:[.4,0,.1,1]},e0=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),t0=e0("applewebkit/")&&!e0("chrome/")?Math.round:St;function n0(t){t.min=t0(t.min),t.max=t0(t.max)}function eC(t){n0(t.x),n0(t.y)}function Ib(t,i,a){return t==="position"||t==="preserve-aspect"&&!wM(Gv(i),Gv(a),.2)}function tC(t){return t!==t.root&&t.scroll?.wasRoot}const nC=Wb({attachResizeListener:(t,i)=>Sr(t,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),kf={current:void 0},$b=Wb({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!kf.current){const t=new nC({});t.mount(window),t.setOptions({layoutScroll:!0}),kf.current=t}return kf.current},resetTransform:(t,i)=>{t.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Gl=S.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function i0(t,i){if(typeof t=="function")return t(i);t!=null&&(t.current=i)}function iC(...t){return i=>{let a=!1;const r=t.map(l=>{const u=i0(l,i);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():i0(t[l],null)}}}}function sC(...t){return S.useCallback(iC(...t),t)}class aC extends S.Component{getSnapshotBeforeUpdate(i){const a=this.props.childRef.current;if(hr(a)&&i.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=a.offsetParent,l=hr(r)&&r.offsetWidth||0,u=hr(r)&&r.offsetHeight||0,f=getComputedStyle(a),m=this.props.sizeRef.current;m.height=parseFloat(f.height),m.width=parseFloat(f.width),m.top=a.offsetTop,m.left=a.offsetLeft,m.right=l-m.width-m.left,m.bottom=u-m.height-m.top}return null}componentDidUpdate(){}render(){return this.props.children}}function rC({children:t,isPresent:i,anchorX:a,anchorY:r,root:l,pop:u}){const f=S.useId(),m=S.useRef(null),g=S.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=S.useContext(Gl),y=t.props?.ref??t?.ref,x=sC(m,y);return S.useInsertionEffect(()=>{const{width:b,height:T,top:E,left:M,right:j,bottom:C}=g.current;if(i||u===!1||!m.current||!b||!T)return;const k=a==="left"?`left: ${M}`:`right: ${j}`,O=r==="bottom"?`bottom: ${C}`:`top: ${E}`;m.current.dataset.motionPopId=f;const L=document.createElement("style");p&&(L.nonce=p);const z=l??document.head;return z.appendChild(L),L.sheet&&L.sheet.insertRule(` 10 [data-motion-pop-id="${f}"] { 11 position: absolute !important; 12 width: ${b}px !important; 13 height: ${T}px !important; 14 ${k}px !important; 15 ${O}px !important; 16 } 17 `),()=>{m.current?.removeAttribute("data-motion-pop-id"),z.contains(L)&&z.removeChild(L)}},[i]),h.jsx(aC,{isPresent:i,childRef:m,sizeRef:g,pop:u,children:u===!1?t:S.cloneElement(t,{ref:x})})}const oC=({children:t,initial:i,isPresent:a,onExitComplete:r,custom:l,presenceAffectsLayout:u,mode:f,anchorX:m,anchorY:g,root:p})=>{const y=wi(lC),x=S.useId();let b=!0,T=S.useMemo(()=>(b=!1,{id:x,initial:i,isPresent:a,custom:l,onExitComplete:E=>{y.set(E,!0);for(const M of y.values())if(!M)return;r&&r()},register:E=>(y.set(E,!1),()=>y.delete(E))}),[a,y,r]);return u&&b&&(T={...T}),S.useMemo(()=>{y.forEach((E,M)=>y.set(M,!1))},[a]),S.useEffect(()=>{!a&&!y.size&&r&&r()},[a]),t=h.jsx(rC,{pop:f==="popLayout",isPresent:a,anchorX:m,anchorY:g,root:p,children:t}),h.jsx(Ul.Provider,{value:T,children:t})};function lC(){return new Map}function Jb(t=!0){const i=S.useContext(Ul);if(i===null)return[!0,null];const{isPresent:a,onExitComplete:r,register:l}=i,u=S.useId();S.useEffect(()=>{if(t)return l(u)},[t]);const f=S.useCallback(()=>t&&r&&r(u),[u,r,t]);return!a&&r?[!1,f]:[!0]}const Io=t=>t.key||"";function s0(t){const i=[];return S.Children.forEach(t,a=>{S.isValidElement(a)&&i.push(a)}),i}const Cr=({children:t,custom:i,initial:a=!0,onExitComplete:r,presenceAffectsLayout:l=!0,mode:u="sync",propagate:f=!1,anchorX:m="left",anchorY:g="top",root:p})=>{const[y,x]=Jb(f),b=S.useMemo(()=>s0(t),[t]),T=f&&!y?[]:b.map(Io),E=S.useRef(!0),M=S.useRef(b),j=wi(()=>new Map),C=S.useRef(new Set),[k,O]=S.useState(b),[L,z]=S.useState(b);Bl(()=>{E.current=!1,M.current=b;for(let H=0;H<L.length;H++){const I=Io(L[H]);T.includes(I)?(j.delete(I),C.current.delete(I)):j.get(I)!==!0&&j.set(I,!1)}},[L,T.length,T.join("-")]);const K=[];if(b!==k){let H=[...b];for(let I=0;I<L.length;I++){const W=L[I],oe=Io(W);T.includes(oe)||(H.splice(I,0,W),K.push(W))}return u==="wait"&&K.length&&(H=K),z(s0(H)),O(b),null}const{forceRender:Z}=S.useContext(Xd);return h.jsx(h.Fragment,{children:L.map(H=>{const I=Io(H),W=f&&!y?!1:b===L||T.includes(I),oe=()=>{if(C.current.has(I))return;if(j.has(I))C.current.add(I),j.set(I,!0);else return;let le=!0;j.forEach(ye=>{ye||(le=!1)}),le&&(Z?.(),z(M.current),f&&x?.(),r&&r())};return h.jsx(oC,{isPresent:W,initial:!E.current||a?void 0:!1,custom:i,presenceAffectsLayout:l,mode:u,root:p,onExitComplete:W?void 0:oe,anchorX:m,anchorY:g,children:H},I)})})},e1=S.createContext({strict:!1}),a0={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 r0=!1;function cC(){if(r0)return;const t={};for(const i in a0)t[i]={isEnabled:a=>a0[i].some(r=>!!a[r])};Rb(t),r0=!0}function t1(){return cC(),Kj()}function uC(t){const i=t1();for(const a in t)i[a]={...i[a],...t[a]};Rb(i)}const fC=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 Ml(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||fC.has(t)}let n1=t=>!Ml(t);function dC(t){typeof t=="function"&&(n1=i=>i.startsWith("on")?!Ml(i):t(i))}try{dC(require("@emotion/is-prop-valid").default)}catch{}function hC(t,i,a){const r={};for(const l in t)l==="values"&&typeof t.values=="object"||lt(t[l])||(n1(l)||a===!0&&Ml(l)||!i&&!Ml(l)||t.draggable&&l.startsWith("onDrag"))&&(r[l]=t[l]);return r}const Xl=S.createContext({});function mC(t,i){if(Yl(t)){const{initial:a,animate:r}=t;return{initial:a===!1||wr(a)?a:void 0,animate:wr(r)?r:void 0}}return t.inherit!==!1?i:{}}function pC(t){const{initial:i,animate:a}=mC(t,S.useContext(Xl));return S.useMemo(()=>({initial:i,animate:a}),[o0(i),o0(a)])}function o0(t){return Array.isArray(t)?t.join(" "):t}const xh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function i1(t,i,a){for(const r in i)!lt(i[r])&&!Lb(r,a)&&(t[r]=i[r])}function gC({transformTemplate:t},i){return S.useMemo(()=>{const a=xh();return yh(a,i,t),Object.assign({},a.vars,a.style)},[i])}function yC(t,i){const a=t.style||{},r={};return i1(r,a,t),Object.assign(r,gC(t,i)),r}function vC(t,i){const a={},r=yC(t,i);return t.drag&&t.dragListener!==!1&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(a.tabIndex=0),a.style=r,a}const s1=()=>({...xh(),attrs:{}});function xC(t,i,a,r){const l=S.useMemo(()=>{const u=s1();return Vb(u,i,Bb(r),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[i]);if(t.style){const u={};i1(u,t.style,t),l.style={...u,...l.style}}return l}const bC=["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 bh(t){return typeof t!="string"||t.includes("-")?!1:!!(bC.indexOf(t)>-1||/[A-Z]/u.test(t))}function wC(t,i,a,{latestValues:r},l,u=!1,f){const g=(f??bh(t)?xC:vC)(i,r,l,t),p=hC(i,typeof t=="string",u),y=t!==S.Fragment?{...p,...g,ref:a}:{},{children:x}=i,b=S.useMemo(()=>lt(x)?x.get():x,[x]);return S.createElement(t,{...y,children:b})}function SC({scrapeMotionValuesFromProps:t,createRenderState:i},a,r,l){return{latestValues:TC(a,r,l,t),renderState:i()}}function TC(t,i,a,r){const l={},u=r(t,{});for(const b in u)l[b]=hl(u[b]);let{initial:f,animate:m}=t;const g=Yl(t),p=Mb(t);i&&p&&!g&&t.inherit!==!1&&(f===void 0&&(f=i.initial),m===void 0&&(m=i.animate));let y=a?a.initial===!1:!1;y=y||f===!1;const x=y?m:f;
vendor: 24,234 bytes, line 17
17if(x&&typeof x!="boolean"&&!ql(x)){const b=Array.isArray(x)?x:[x];for(let T=0;T<b.length;T++){const E=ch(t,b[T]);if(E){const{transitionEnd:M,transition:j,...C}=E;for(const k in C){let O=C[k];if(Array.isArray(O)){const L=y?O.length-1:0;O=O[L]}O!==null&&(l[k]=O)}for(const k in M)l[k]=M[k]}}}return l}const a1=t=>(i,a)=>{const r=S.useContext(Xl),l=S.useContext(Ul),u=()=>SC(t,i,r,l);return a?u():wi(u)},AC=a1({scrapeMotionValuesFromProps:vh,createRenderState:xh}),EC=a1({scrapeMotionValuesFromProps:Ub,createRenderState:s1}),jC=Symbol.for("motionComponentSymbol");function MC(t,i,a){const r=S.useRef(a);S.useInsertionEffect(()=>{r.current=a});const l=S.useRef(null);return S.useCallback(u=>{u&&t.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 r1=S.createContext({});function Ks(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function CC(t,i,a,r,l,u){const{visualElement:f}=S.useContext(Xl),m=S.useContext(e1),g=S.useContext(Ul),p=S.useContext(Gl),y=p.reducedMotion,x=p.skipAnimations,b=S.useRef(null),T=S.useRef(!1);r=r||m.renderer,!b.current&&r&&(b.current=r(t,{visualState:i,parent:f,props:a,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:y,skipAnimations:x,isSVG:u}),T.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const E=b.current,M=S.useContext(r1);E&&!E.projection&&l&&(E.type==="html"||E.type==="svg")&&RC(b.current,a,l,M);const j=S.useRef(!1);S.useInsertionEffect(()=>{E&&j.current&&E.update(a,g)});const C=a[hb],k=S.useRef(!!C&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(C)&&window.MotionHasOptimisedAnimation?.(C));return Bl(()=>{T.current=!0,E&&(j.current=!0,window.MotionIsMounted=!0,E.updateFeatures(),E.scheduleRenderMicrotask(),k.current&&E.animationState&&E.animationState.animateChanges())}),S.useEffect(()=>{E&&(!k.current&&E.animationState&&E.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(C)}),k.current=!1),E.enteringChildren=void 0)}),E}function RC(t,i,a,r){const{layoutId:l,layout:u,drag:f,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:y,layoutCrossfade:x}=i;t.projection=new a(t.latestValues,i["data-framer-portal-id"]?void 0:o1(t.parent)),t.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!f||m&&Ks(m),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:x,layoutScroll:g,layoutRoot:p,layoutAnchor:y})}function o1(t){if(t)return t.options.allowProjection!==!1?t.projection:o1(t.parent)}function Pf(t,{forwardMotionProps:i=!1,type:a}={},r,l){r&&uC(r);const u=a?a==="svg":bh(t),f=u?EC:AC;function m(p,y){let x;const b={...S.useContext(Gl),...p,layoutId:NC(p)},{isStatic:T}=b,E=pC(p),M=f(p,T);if(!T&&typeof window<"u"){DC();const j=OC(b);x=j.MeasureLayout,E.visualElement=CC(t,M,b,l,j.ProjectionNode,u)}return h.jsxs(Xl.Provider,{value:E,children:[x&&E.visualElement?h.jsx(x,{visualElement:E.visualElement,...b}):null,wC(t,p,MC(M,E.visualElement,y),M,T,i,u)]})}m.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const g=S.forwardRef(m);return g[jC]=t,g}function NC({layoutId:t}){const i=S.useContext(Xd).id;return i&&t!==void 0?i+"-"+t:t}function DC(t,i){S.useContext(e1).strict}function OC(t){const i=t1(),{drag:a,layout:r}=i;if(!a&&!r)return{};const l={...a,...r};return{MeasureLayout:a?.isEnabled(t)||r?.isEnabled(t)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function _C(t,i){if(typeof Proxy>"u")return Pf;const a=new Map,r=(u,f)=>Pf(u,f,t,i),l=(u,f)=>r(u,f);return new Proxy(l,{get:(u,f)=>f==="create"?r:(a.has(f)||a.set(f,Pf(f,void 0,t,i)),a.get(f))})}const kC=(t,i)=>i.isSVG??bh(t)?new uM(i):new sM(i,{allowProjection:t!==S.Fragment});class PC extends Mi{constructor(i){super(i),i.animationState||(i.animationState=pM(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();ql(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:a}=this.node.prevProps||{};i!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let LC=0;class VC extends Mi{constructor(){super(...arguments),this.id=LC++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:u,custom:f}=this.node.getProps();if(typeof u=="string"){const m=es(this.node,u,f);if(m){const{transition:g,transitionEnd:p,...y}=m;for(const x in y)this.node.getValue(x)?.jump(y[x])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const l=this.node.animationState.setActive("exit",!i);a&&!i&&l.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){const{register:i,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const zC={animation:{Feature:PC},exit:{Feature:VC}};function Rr(t){return{point:{x:t.pageX,y:t.pageY}}}const BC=t=>i=>hh(i)&&t(i,Rr(i));function pr(t,i,a,r){return Sr(t,i,BC(a),r)}const l1=({current:t})=>t?t.ownerDocument.defaultView:null,l0=(t,i)=>Math.abs(t-i);function UC(t,i){const a=l0(t.x,i.x),r=l0(t.y,i.y);return Math.sqrt(a**2+r**2)}const c0=new Set(["auto","scroll"]);class c1{constructor(i,a,{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=T=>{this.handleScroll(T.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=$o(this.lastRawMoveEventInfo,this.transformPagePoint));const T=Lf(this.lastMoveEventInfo,this.history),E=this.startEvent!==null,M=UC(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!E&&!M)return;const{point:j}=T,{timestamp:C}=st;this.history.push({...j,timestamp:C});const{onStart:k,onMove:O}=this.handlers;E||(k&&k(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,T)},this.handlePointerMove=(T,E)=>{this.lastMoveEvent=T,this.lastRawMoveEventInfo=E,this.lastMoveEventInfo=$o(E,this.transformPagePoint),Ee.update(this.updatePoint,!0)},this.handlePointerUp=(T,E)=>{this.end();const{onEnd:M,onSessionEnd:j,resumeAnimation:C}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&C&&C(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=Lf(T.type==="pointercancel"?this.lastMoveEventInfo:$o(E,this.transformPagePoint),this.history);this.startEvent&&M&&M(T,k),j&&j(T,k)},!hh(i))return;this.dragSnapToOrigin=u,this.handlers=a,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=l||window;const g=Rr(i),p=$o(g,this.transformPagePoint),{point:y}=p,{timestamp:x}=st;this.history=[{...y,timestamp:x}];const{onSessionStart:b}=a;b&&b(i,Lf(p,this.history)),this.removeListeners=Er(pr(this.contextWindow,"pointermove",this.handlePointerMove),pr(this.contextWindow,"pointerup",this.handlePointerUp),pr(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(i){let a=i.parentElement;for(;a;){const r=getComputedStyle(a);(c0.has(r.overflowX)||c0.has(r.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const a=this.scrollPositions.get(i);if(!a)return;const r=i===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},u={x:l.x-a.x,y:l.y-a.y};u.x===0&&u.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(i,l),Ee.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Zt(this.updatePoint)}}function $o(t,i){return i?{point:i(t.point)}:t}function u0(t,i){return{x:t.x-i.x,y:t.y-i.y}}function Lf({point:t},i){return{point:t,delta:u0(t,u1(i)),offset:u0(t,HC(i)),velocity:qC(i,.1)}}function HC(t){return t[0]}function u1(t){return t[t.length-1]}function qC(t,i){if(t.length<2)return{x:0,y:0};let a=t.length-1,r=null;const l=u1(t);for(;a>=0&&(r=t[a],!(l.timestamp-r.timestamp>Pt(i)));)a--;if(!r)return{x:0,y:0};r===t[0]&&t.length>2&&l.timestamp-r.timestamp>Pt(i)*2&&(r=t[1]);const u=Qt(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 YC(t,{min:i,max:a},r){return i!==void 0&&t<i?t=r?Ve(i,t,r.min):Math.max(t,i):a!==void 0&&t>a&&(t=r?Ve(a,t,r.max):Math.min(t,a)),t}function f0(t,i,a){return{min:i!==void 0?t.min+i:void 0,max:a!==void 0?t.max+a-(t.max-t.min):void 0}}function GC(t,{top:i,left:a,bottom:r,right:l}){return{x:f0(t.x,a,l),y:f0(t.y,i,r)}}function d0(t,i){let a=i.min-t.min,r=i.max-t.max;return i.max-i.min<t.max-t.min&&([a,r]=[r,a]),{min:a,max:r}}function XC(t,i){return{x:d0(t.x,i.x),y:d0(t.y,i.y)}}function FC(t,i){let a=.5;const r=gt(t),l=gt(i);return l>r?a=$s(i.min,i.max-r,t.min):r>l&&(a=$s(t.min,t.max-l,i.min)),rn(0,1,a)}function KC(t,i){const a={};return i.min!==void 0&&(a.min=i.min-t.min),i.max!==void 0&&(a.max=i.max-t.min),a}const Ed=.35;function QC(t=Ed){return t===!1?t=0:t===!0&&(t=Ed),{x:h0(t,"left","right"),y:h0(t,"top","bottom")}}function h0(t,i,a){return{min:m0(t,i),max:m0(t,a)}}function m0(t,i){return typeof t=="number"?t:t[i]||0}const ZC=new WeakMap;class WC{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=$e(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:a=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=x=>{a&&this.snapToCursor(Rr(x).point),this.stopAnimation()},f=(x,b)=>{const{drag:T,dragPropagation:E,onDragStart:M}=this.getProps();if(T&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Sj(T),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yn(C=>{let k=this.getAxisMotionValue(C).get()||0;if(bn.test(k)){const{projection:O}=this.visualElement;if(O&&O.layout){const L=O.layout.layoutBox[C];L&&(k=gt(L)*(parseFloat(k)/100))}}this.originPoint[C]=k}),M&&Ee.update(()=>M(x,b),!1,!0),pd(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},m=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b;const{dragPropagation:T,dragDirectionLock:E,onDirectionLock:M,onDrag:j}=this.getProps();if(!T&&!this.openDragLock)return;const{offset:C}=b;if(E&&this.currentDirection===null){this.currentDirection=$C(C),this.currentDirection!==null&&M&&M(this.currentDirection);return}this.updateAxis("x",b.point,C),this.updateAxis("y",b.point,C),this.visualElement.render(),j&&Ee.update(()=>j(x,b),!1,!0)},g=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b,this.stop(x,b),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new c1(i,{onSessionStart:u,onStart:f,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:l1(this.visualElement),element:this.visualElement.current})}stop(i,a){const r=i||this.latestPointerEvent,l=a||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:f}=l;this.startAnimation(f);const{onDragEnd:m}=this.getProps();m&&Ee.postRender(()=>m(r,l))}cancel(){this.isDragging=!1;const{projection:i,animationState:a}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,a,r){const{drag:l}=this.getProps();if(!r||!Jo(i,l,this.currentDirection))return;const u=this.getAxisMotionValue(i);let f=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(f=YC(f,this.constraints[i],this.elastic[i])),u.set(f)}resolveConstraints(){const{dragConstraints:i,dragElastic:a}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;i&&Ks(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=GC(r.layoutBox,i):this.constraints=!1,this.elastic=QC(a),l!==this.constraints&&!Ks(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&yn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=KC(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:a}=this.getProps();if(!i||!Ks(i))return!1;const r=i.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=$j(r,l.root,this.visualElement.getTransformPagePoint());let f=XC(l.layout.layoutBox,u);if(a){const m=a(Zj(f));this.hasMutatedConstraints=!!m,m&&(f=Db(m))}return f}startAnimation(i){const{drag:a,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=yn(y=>{if(!Jo(y,a,this.currentDirection))return;let x=g&&g[y]||{};(f===!0||f===y)&&(x={min:0,max:0});const b=l?200:1e6,T=l?40:1e7,E={type:"inertia",velocity:r?i[y]:0,bounceStiffness:b,bounceDamping:T,timeConstant:750,restDelta:1,restSpeed:10,...u,...x};return this.startAxisValueAnimation(y,E)});return Promise.all(p).then(m)}startAxisValueAnimation(i,a){const r=this.getAxisMotionValue(i);return pd(this.visualElement,i),r.start(lh(i,r,0,a,this.visualElement,!1))}stopAnimation(){yn(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const a=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),l=r[a];return l||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){yn(a=>{const{drag:r}=this.getProps();if(!Jo(a,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(a);if(l&&l.layout){const{min:f,max:m}=l.layout.layoutBox[a],g=u.get()||0;u.set(i[a]-Ve(f,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!Ks(a)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};yn(f=>{const m=this.getAxisMotionValue(f);if(m&&this.constraints!==!1){const g=m.get();l[f]=FC({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(),yn(f=>{if(!Jo(f,i,null))return;const m=this.getAxisMotionValue(f),{min:g,max:p}=this.constraints[f];m.set(Ve(g,p,l[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;ZC.set(this.visualElement,this);const i=this.visualElement.current,a=pr(i,"pointerdown",p=>{const{drag:y,dragListener:x=!0}=this.getProps(),b=p.target,T=b!==i&&Cj(b);y&&x&&!T&&this.start(p)});let r;const l=()=>{const{dragConstraints:p}=this.getProps();Ks(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),r||(r=IC(i,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,f=u.addEventListener("measure",l);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Ee.read(l);const m=Sr(window,"resize",()=>this.scalePositionWithinConstraints()),g=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:y})=>{this.isDragging&&y&&(yn(x=>{const b=this.getAxisMotionValue(x);b&&(this.originPoint[x]+=p[x].translate,b.set(b.get()+p[x].translate))}),this.visualElement.render())}));return()=>{m(),a(),f(),g&&g(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:f=Ed,dragMomentum:m=!0}=i;return{...i,drag:a,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:m}}}function p0(t){let i=!0;return()=>{if(i){i=!1;return}t()}}function IC(t,i,a){const r=xd(t,p0(a)),l=xd(i,p0(a));return()=>{r(),l()}}function Jo(t,i,a){return(i===!0||i===t)&&(a===null||a===t)}function $C(t,i=10){let a=null;return Math.abs(t.y)>i?a="y":Math.abs(t.x)>i&&(a="x"),a}class JC extends Mi{constructor(i){super(i),this.removeGroupControls=St,this.removeListeners=St,this.controls=new WC(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}update(){const{dragControls:i}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};i!==a&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Vf=t=>(i,a)=>{t&&Ee.update(()=>t(i,a),!1,!0)};class eR extends Mi{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(i){this.session=new c1(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:l1(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:a,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Vf(i),onStart:Vf(a),onMove:Vf(r),onEnd:(u,f)=>{delete this.session,l&&Ee.postRender(()=>l(u,f))}}}mount(){this.removePointerDownListener=pr(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 zf=!1;class tR extends S.Component{componentDidMount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=i;u&&(a.group&&a.group.add(u),r&&r.register&&l&&r.register(u),zf&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ml.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:a,visualElement:r,drag:l,isPresent:u}=this.props,{projection:f}=r;return f&&(f.isPresent=u,i.layoutDependency!==a&&f.setOptions({...f.options,layoutDependency:a}),zf=!0,l||i.layoutDependency!==a||a===void 0||i.isPresent!==u?f.willUpdate():this.safeToRemove(),i.isPresent!==u&&(u?f.promote():f.relegate()||Ee.postRender(()=>{const m=f.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:a}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=a,r.root.didUpdate(),dh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:l}=i;zf=!0,l&&(l.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function f1(t){const[i,a]=Jb(),r=S.useContext(Xd);return h.jsx(tR,{...t,layoutGroup:r,switchLayoutGroup:S.useContext(r1),isPresent:i,safeToRemove:a})}const nR={pan:{Feature:eR},drag:{Feature:JC,ProjectionNode:$b,MeasureLayout:f1}};function g0(t,i,a){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",a==="Start");const l="onHover"+a,u=r[l];u&&Ee.postRender(()=>u(i,Rr(i)))}class iR extends Mi{mount(){const{current:i}=this.node;i&&(this.unmount=Aj(i,(a,r)=>(g0(this.node,r,"Start"),l=>g0(this.node,l,"End"))))}unmount(){}}class sR extends Mi{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=Er(Sr(this.node.current,"focus",()=>this.onFocus()),Sr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function y0(t,i,a){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",a==="Start");const l="onTap"+(a==="End"?"":a),u=r[l];u&&Ee.postRender(()=>u(i,Rr(i)))}class aR extends Mi{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:a,propagate:r}=this.node.props;this.unmount=Nj(i,(l,u)=>(y0(this.node,u,"Start"),(f,{success:m})=>y0(this.node,f,m?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:r?.tap===!1})}unmount(){}}const jd=new WeakMap,Bf=new WeakMap,rR=t=>{const i=jd.get(t.target);i&&i(t)},oR=t=>{t.forEach(rR)};function lR({root:t,...i}){const a=t||document;Bf.has(a)||Bf.set(a,{});const r=Bf.get(a),l=JSON.stringify(i);return r[l]||(r[l]=new IntersectionObserver(oR,{root:t,...i})),r[l]}function cR(t,i,a){const r=lR(i);return jd.set(t,a),r.observe(t),()=>{jd.delete(t),r.unobserve(t)}}const uR={some:0,all:1};class fR extends Mi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:i={}}=this.node.getProps(),{root:a,margin:r,amount:l="some",once:u}=i,f={root:a?a.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:uR[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:x}=this.node.getProps(),b=p?y:x;b&&b(g)};this.stopObserver=cR(this.node.current,f,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:a}=this.node;["amount","margin","root"].some(dR(i,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function dR({viewport:t={}},{viewport:i={}}={}){return a=>t[a]!==i[a]}const hR={inView:{Feature:fR},tap:{Feature:aR},focus:{Feature:sR},hover:{Feature:iR}},mR={layout:{ProjectionNode:$b,MeasureLayout:f1}},pR={...zC,...hR,...nR,...mR},pe=_C(pR,kC);function Cl(t){return typeof window>"u"?!1:t?nb():rh()}const gR=50,v0=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),yR=()=>({time:0,x:v0(),y:v0()}),vR={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function x0(t,i,a,r){const l=a[i],{length:u,position:f}=vR[i],m=l.current,g=a.time;l.current=Math.abs(t[`scroll${f}`]),l.scrollLength=t[`scroll${u}`]-t[`client${u}`],l.offset.length=0,l.offset[0]=0,l.offset[1]=l.scrollLength,l.progress=$s(0,l.scrollLength,l.current);const p=r-g;l.velocity=p>
17gR?0:Qd(l.current-m,p)}function xR(t,i,a){x0(t,"x",i,a),x0(t,"y",i,a),i.time=a}function bR(t,i){const a={x:0,y:0};let r=t;for(;r&&r!==i;)if(hr(r))a.x+=r.offsetLeft,a.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const l=r.getBoundingClientRect();r=r.parentElement;const u=r.getBoundingClientRect();a.x+=l.left-u.left,a.y+=l.top-u.top}else if(r instanceof SVGGraphicsElement){const{x:l,y:u}=r.getBBox();a.x+=l,a.y+=u;let f=null,m=r.parentNode;for(;!f;)m.tagName==="svg"&&(f=m),m=r.parentNode;r=f}else break;return a}const Md={start:0,center:.5,end:1};function b0(t,i,a=0){let r=0;if(t in Md&&(t=Md[t]),typeof t=="string"){const l=parseFloat(t);t.endsWith("px")?r=l:t.endsWith("%")?t=l/100:t.endsWith("vw")?r=l/100*document.documentElement.clientWidth:t.endsWith("vh")?r=l/100*document.documentElement.clientHeight:t=l}return typeof t=="number"&&(r=i*t),a+r}const wR=[0,0];function SR(t,i,a,r){let l=Array.isArray(t)?t:wR,u=0,f=0;return typeof t=="number"?l=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?l=t.split(" "):l=[t,Md[t]?t:"0"]),u=b0(l[0],a,r),f=b0(l[1],i),u-f}const cr={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},TR={x:0,y:0};function AR(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function ER(t,i,a){const{offset:r=cr.All}=a,{target:l=t,axis:u="y"}=a,f=u==="y"?"height":"width",m=l!==t?bR(l,t):TR,g=l===t?{width:t.scrollWidth,height:t.scrollHeight}:AR(l),p={width:t.clientWidth,height:t.clientHeight};i[u].offset.length=0;let y=!i[u].interpolate;const x=r.length;for(let b=0;b<x;b++){const T=SR(r[b],p[f],g[f],m[u]);!y&&T!==i[u].interpolatorOffsets[b]&&(y=!0),i[u].offset[b]=T}y&&(i[u].interpolate=nh(i[u].offset,Ix(r),{clamp:!1}),i[u].interpolatorOffsets=[...i[u].offset]),i[u].progress=rn(0,1,i[u].interpolate(i[u].current))}function jR(t,i=t,a){if(a.x.targetOffset=0,a.y.targetOffset=0,i!==t){let r=i;for(;r&&r!==t;)a.x.targetOffset+=r.offsetLeft,a.y.targetOffset+=r.offsetTop,r=r.offsetParent}a.x.targetLength=i===t?i.scrollWidth:i.clientWidth,a.y.targetLength=i===t?i.scrollHeight:i.clientHeight,a.x.containerLength=t.clientWidth,a.y.containerLength=t.clientHeight}function MR(t,i,a,r={}){return{measure:l=>{jR(t,r.target,a),xR(t,a,l),(r.offset||r.target)&&ER(t,a,r)},notify:()=>i(a)}}const Gs=new WeakMap,w0=new WeakMap,Uf=new WeakMap,S0=new WeakMap,el=new WeakMap,T0=t=>t===document.scrollingElement?window:t;function d1(t,{container:i=document.scrollingElement,trackContentSize:a=!1,...r}={}){if(!i)return St;let l=Uf.get(i);l||(l=new Set,Uf.set(i,l));const u=yR(),f=MR(i,t,u,r);if(l.add(f),!Gs.has(i)){const g=()=>{for(const b of l)b.measure(st.timestamp);Ee.preUpdate(p)},p=()=>{for(const b of l)b.notify()},y=()=>Ee.read(g);Gs.set(i,y);const x=T0(i);window.addEventListener("resize",y),i!==document.documentElement&&w0.set(i,xd(i,y)),x.addEventListener("scroll",y),y()}if(a&&!el.has(i)){const g=Gs.get(i),p={width:i.scrollWidth,height:i.scrollHeight};S0.set(i,p);const y=()=>{const b=i.scrollWidth,T=i.scrollHeight;(p.width!==b||p.height!==T)&&(g(),p.width=b,p.height=T)},x=Ee.read(y,!0);el.set(i,x)}const m=Gs.get(i);return Ee.read(m,!1,!0),()=>{Zt(m);const g=Uf.get(i);if(!g||(g.delete(f),g.size))return;const p=Gs.get(i);Gs.delete(i),p&&(T0(i).removeEventListener("scroll",p),w0.get(i)?.(),window.removeEventListener("resize",p));const y=el.get(i);y&&(Zt(y),el.delete(i)),S0.delete(i)}}const CR=[[cr.Enter,"entry"],[cr.Exit,"exit"],[cr.Any,"cover"],[cr.All,"contain"]],A0={start:0,end:1};function RR(t){const i=t.trim().split(/\s+/);if(i.length!==2)return;const a=A0[i[0]],r=A0[i[1]];if(!(a===void 0||r===void 0))return[a,r]}function NR(t){if(t.length!==2)return;const i=[];for(const a of t)if(Array.isArray(a))i.push(a);else if(typeof a=="string"){const r=RR(a);if(!r)return;i.push(r)}else return;return i}function DR(t,i){const a=NR(t);if(!a)return!1;for(let r=0;r<2;r++){const l=a[r],u=i[r];if(l[0]!==u[0]||l[1]!==u[1])return!1}return!0}function wh(t){if(!t)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[i,a]of CR)if(DR(t,i))return{rangeStart:`${a} 0%`,rangeEnd:`${a} 100%`}}const E0=new Map;function j0(t){const i={value:0},a=d1(r=>{i.value=r[t.axis].progress*100},t);return{currentTime:i,cancel:a}}function h1({source:t,container:i,...a}){const{axis:r}=a;t&&(i=t);let l=E0.get(i);l||(l=new Map,E0.set(i,l));const u=a.target??"self";let f=l.get(u);f||(f={},l.set(u,f));const m=r+(a.offset??[]).join(",");return f[m]||(a.target&&Cl(a.target)?wh(a.offset)?f[m]=new ViewTimeline({subject:a.target,axis:r}):f[m]=j0({container:i,...a}):Cl()?f[m]=new ScrollTimeline({source:i,axis:r}):f[m]=j0({container:i,...a})),f[m]}function OR(t,i){const a=h1(i),r=i.target?wh(i.offset):void 0,l=i.target?Cl(i.target)&&!!r:Cl();return t.attachTimeline({timeline:l?a:void 0,...r&&l&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:u=>(u.pause(),jb(f=>{u.time=u.iterationDuration*f},a))})}function _R(t){return t.length===2}function kR(t,i){return _R(t)?d1(a=>{t(a[i.axis].progress,a)},i):jb(t,h1(i))}function m1(t,{axis:i="y",container:a=document.scrollingElement,...r}={}){if(!a)return St;const l={axis:i,container:a,...r};return typeof t=="function"?kR(t,l):OR(t,l)}const PR=()=>({scrollX:sn(0),scrollY:sn(0),scrollXProgress:sn(0),scrollYProgress:sn(0)}),tl=t=>t?!t.current:!1;function M0(t,i,a,r){return{factory:l=>m1(l,{...i,axis:t,container:a?.current||void 0,target:r?.current||void 0}),times:[0,1],keyframes:[0,1],ease:l=>l,duration:1}}function LR(t,i){return typeof window>"u"?!1:t?nb()&&!!wh(i):rh()}function VR({container:t,target:i,...a}={}){const r=wi(PR);LR(i,a.offset)&&(r.scrollXProgress.accelerate=M0("x",a,t,i),r.scrollYProgress.accelerate=M0("y",a,t,i));const l=S.useRef(null),u=S.useRef(!1),f=S.useCallback(()=>(l.current=m1((m,{x:g,y:p})=>{r.scrollX.set(g.current),r.scrollXProgress.set(g.progress),r.scrollY.set(p.current),r.scrollYProgress.set(p.progress)},{...a,container:t?.current||void 0,target:i?.current||void 0}),()=>{l.current?.()}),[t,i,JSON.stringify(a.offset)]);return Bl(()=>{if(u.current=!1,tl(t)||tl(i)){u.current=!0;return}else return f()},[f]),S.useEffect(()=>{if(u.current)return xr(!tl(t)),xr(!tl(i)),f()},[f]),r}function zR(t){const i=wi(()=>sn(t)),{isStatic:a}=S.useContext(Gl);if(a){const[,r]=S.useState(t);S.useEffect(()=>i.on("change",r),[])}return i}function p1(t,i){const a=zR(i()),r=()=>a.set(i());return r(),Bl(()=>{const l=()=>Ee.preRender(r,!1,!0),u=t.map(f=>f.on("change",l));return()=>{u.forEach(f=>f()),Zt(r)}}),a}function BR(t){dr.current=[],t();const i=p1(dr.current,t);return dr.current=void 0,i}function Cd(t,i,a,r){if(typeof t=="function")return BR(t);if(a!==void 0&&!Array.isArray(a)&&typeof i!="function")return UR(t,i,a,r);const f=typeof i=="function"?i:Uj(i,a,r),m=Array.isArray(t)?C0(t,f):C0([t],([p])=>f(p)),g=Array.isArray(t)?void 0:t.accelerate;return g&&!g.isTransformed&&typeof i!="function"&&Array.isArray(a)&&r?.clamp!==!1&&(m.accelerate={...g,times:i,keyframes:a,isTransformed:!0}),m}function C0(t,i){const a=wi(()=>[]);return p1(t,()=>{a.length=0;const r=t.length;for(let l=0;l<r;l++)a[l]=t[l].get();return i(a)})}function UR(t,i,a,r){const l=wi(()=>Object.keys(a)),u=wi(()=>({}));for(const f of l)u[f]=Cd(t,i,a[f],r);return u}const HR=1,qR=1e6;let Hf=0;function YR(){return Hf=(Hf+1)%Number.MAX_SAFE_INTEGER,Hf.toString()}const qf=new Map,R0=t=>{if(qf.has(t))return;const i=setTimeout(()=>{qf.delete(t),gr({type:"REMOVE_TOAST",toastId:t})},qR);qf.set(t,i)},GR=(t,i)=>{switch(i.type){case"ADD_TOAST":return{...t,toasts:[i.toast,...t.toasts].slice(0,HR)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(a=>a.id===i.toast.id?{...a,...i.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=i;
17return a?R0(a):t.toasts.forEach(r=>{R0(r.id)}),{...t,toasts:t.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return i.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(a=>a.id!==i.toastId)}}},pl=[];let gl={toasts:[]};function gr(t){gl=GR(gl,t),pl.forEach(i=>{i(gl)})}function XR({...t}){const i=YR(),a=l=>gr({type:"UPDATE_TOAST",toast:{...l,id:i}}),r=()=>gr({type:"DISMISS_TOAST",toastId:i});return gr({type:"ADD_TOAST",toast:{...t,id:i,open:!0,onOpenChange:l=>{l||r()}}}),{id:i,dismiss:r,update:a}}function FR(){const[t,i]=S.useState(gl);return S.useEffect(()=>(pl.push(i),()=>{const a=pl.indexOf(i);a>-1&&pl.splice(a,1)}),[t]),{...t,toast:XR,dismiss:a=>gr({type:"DISMISS_TOAST",toastId:a})}}var Fl=lx();const KR=ox(Fl);function Je(t,i,{checkForDefaultPrevented:a=!0}={}){return function(l){if(t?.(l),a===!1||!l.defaultPrevented)return i?.(l)}}function N0(t,i){if(typeof t=="function")return t(i);t!=null&&(t.current=i)}function Sh(...t){return i=>{let a=!1;const r=t.map(l=>{const u=N0(l,i);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():N0(t[l],null)}}}}function on(...t){return S.useCallback(Sh(...t),t)}function Kl(t,i=[]){let a=[];function r(u,f){const m=S.createContext(f),g=a.length;a=[...a,f];const p=x=>{const{scope:b,children:T,...E}=x,M=b?.[t]?.[g]||m,j=S.useMemo(()=>E,Object.values(E));return h.jsx(M.Provider,{value:j,children:T})};p.displayName=u+"Provider";function y(x,b){const T=b?.[t]?.[g]||m,E=S.useContext(T);if(E)return E;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${u}\``)}return[p,y]}const l=()=>{const u=a.map(f=>S.createContext(f));return function(m){const g=m?.[t]||u;return S.useMemo(()=>({[`__scope${t}`]:{...m,[t]:g}}),[m,g])}};return l.scopeName=t,[r,QR(l,...i)]}function QR(...t){const i=t[0];if(t.length===1)return i;const a=()=>{const r=t.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const f=r.reduce((m,{useScope:g,scopeName:p})=>{const x=g(u)[`__scope${p}`];return{...m,...x}},{});return S.useMemo(()=>({[`__scope${i.scopeName}`]:f}),[f])}};return a.scopeName=i.scopeName,a}function Rd(t){const i=ZR(t),a=S.forwardRef((r,l)=>{const{children:u,...f}=r,m=S.Children.toArray(u),g=m.find(IR);if(g){const p=g.props.children,y=m.map(x=>x===g?S.Children.count(p)>1?S.Children.only(null):S.isValidElement(p)?p.props.children:null:x);return h.jsx(i,{...f,ref:l,children:S.isValidElement(p)?S.cloneElement(p,void 0,y):null})}return h.jsx(i,{...f,ref:l,children:u})});return a.displayName=`${t}.Slot`,a}function ZR(t){const i=S.forwardRef((a,r)=>{const{children:l,...u}=a;if(S.isValidElement(l)){const f=JR(l),m=$R(u,l.props);return l.type!==S.Fragment&&(m.ref=r?Sh(r,f):f),S.cloneElement(l,m)}return S.Children.count(l)>1?S.Children.only(null):null});return i.displayName=`${t}.SlotClone`,i}var g1=Symbol("radix.slottable");function WR(t){const i=({children:a})=>h.jsx(h.Fragment,{children:a});return i.displayName=`${t}.Slottable`,i.__radixId=g1,i}function IR(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===g1}function $R(t,i){const a={...i};for(const r in i){const l=t[r],u=i[r];/^on[A-Z]/.test(r)?l&&u?a[r]=(...m)=>{const g=u(...m);return l(...m),g}:l&&(a[r]=l):r==="style"?a[r]={...l,...u}:r==="className"&&(a[r]=[l,u].filter(Boolean).join(" "))}return{...t,...a}}function JR(t){let i=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?t.ref:(i=Object.getOwnPropertyDescriptor(t,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?t.props.ref:t.props.ref||t.ref)}function eN(t){const i=t+"CollectionProvider",[a,r]=Kl(i),[l,u]=a(i,{collectionRef:{current:null},itemMap:new Map}),f=M=>{const{scope:j,children:C}=M,k=yi.useRef(null),O=yi.useRef(new Map).current;return h.jsx(l,{scope:j,itemMap:O,collectionRef:k,children:C})};f.displayName=i;const m=t+"CollectionSlot",g=Rd(m),p=yi.forwardRef((M,j)=>{const{scope:C,children:k}=M,O=u(m,C),L=on(j,O.collectionRef);return h.jsx(g,{ref:L,children:k})});p.displayName=m;
vendor: 1,503 bytes, line 17
17const y=t+"CollectionItemSlot",x="data-radix-collection-item",b=Rd(y),T=yi.forwardRef((M,j)=>{const{scope:C,children:k,...O}=M,L=yi.useRef(null),z=on(j,L),K=u(y,C);return yi.useEffect(()=>(K.itemMap.set(L,{ref:L,...O}),()=>{K.itemMap.delete(L)})),h.jsx(b,{[x]:"",ref:z,children:k})});T.displayName=y;function E(M){const j=u(t+"CollectionConsumer",M);return yi.useCallback(()=>{const k=j.collectionRef.current;if(!k)return[];const O=Array.from(k.querySelectorAll(`[${x}]`));return Array.from(j.itemMap.values()).sort((K,Z)=>O.indexOf(K.ref.current)-O.indexOf(Z.ref.current))},[j.collectionRef,j.itemMap])}return[{Provider:f,Slot:p,ItemSlot:T},E,r]}var tN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Tt=tN.reduce((t,i)=>{const a=Rd(`Primitive.${i}`),r=S.forwardRef((l,u)=>{const{asChild:f,...m}=l,g=f?a:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(g,{...m,ref:u})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function y1(t,i){t&&Fl.flushSync(()=>t.dispatchEvent(i))}function Ti(t){const i=S.useRef(t);return S.useEffect(()=>{i.current=t}),S.useMemo(()=>(...a)=>i.current?.(...a),[])}function nN(t,i=globalThis?.document){const a=Ti(t);S.useEffect(()=>{const r=l=>{l.key==="Escape"&&a(l)};return i.addEventListener("keydown",r,{capture:!0}),()=>i.removeEventListener("keydown",r,{capture:!0})},[a,i])}var iN="DismissableLayer",Nd="dismissableLayer.update",sN="dismissableLayer.pointerDownOutside",aN="dism
17issableLayer.focusOutside",D0,v1=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Th=S.forwardRef((t,i)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,onDismiss:m,...g}=t,p=S.useContext(v1),[y,x]=S.useState(null),b=y?.ownerDocument??globalThis?.document,[,T]=S.useState({}),E=on(i,Z=>x(Z)),M=Array.from(p.layers),[j]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),C=M.indexOf(j),k=y?M.indexOf(y):-1,O=p.layersWithOutsidePointerEventsDisabled.size>0,L=k>=C,z=oN(Z=>{const H=Z.target,I=[...p.branches].some(W=>W.contains(H));!L||I||(l?.(Z),f?.(Z),Z.defaultPrevented||m?.())},b),K=lN(Z=>{const H=Z.target;[...p.branches].some(W=>W.contains(H))||(u?.(Z),f?.(Z),Z.defaultPrevented||m?.())},b);return nN(Z=>{k===p.layers.size-1&&(r?.(Z),!Z.defaultPrevented&&m&&(Z.preventDefault(),m()))},b),S.useEffect(()=>{if(y)return a&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(D0=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),O0(),()=>{a&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=D0)}},[y,b,a,p]),S.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),O0())},[y,p]),S.useEffect(()=>{const Z=()=>T({});return document.addEventListener(Nd,Z),()=>document.removeEventListener(Nd,Z)},[]),h.jsx(Tt.div,{...g,ref:E,style:{pointerEvents:O?L?"auto":"none":void 0,...t.style},onFocusCapture:Je(t.onFocusCapture,K.onFocusCapture),onBlurCapture:Je(t.onBlurCapture,K.onBlurCapture),onPointerDownCapture:Je(t.onPointerDownCapture,z.onPointerDownCapture)})});Th.displayName=iN;var rN="DismissableLayerBranch",x1=S.forwardRef((t,i)=>{const a=S.useContext(v1),r=S.useRef(null),l=on(i,r);return S.useEffect(()=>{const u=r.current;if(u)return a.branches.add(u),()=>{a.branches.delete(u)}},[a.branches]),h.jsx(Tt.div,{...t,ref:l})});x1.displayName=rN;function oN(t,i=globalThis?.document){const a=Ti(t),r=S.useRef(!1),l=S.useRef(()=>{});return S.useEffect(()=>{const u=m=>{if(m.target&&!r.current){let g=function(){b1(sN,a,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,a]),{onPointerDownCapture:()=>r.current=!0}}function lN(t,i=globalThis?.document){const a=Ti(t),r=S.useRef(!1);return S.useEffect(()=>{const l=u=>{u.target&&!r.current&&b1(aN,a,{originalEvent:u},{discrete:!1})};return i.addEventListener("focusin",l),()=>i.removeEventListener("focusin",l)},[i,a]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function O0(){const t=new CustomEvent(Nd);document.dispatchEvent(t)}function b1(t,i,a,{discrete:r}){const l=a.originalEvent.target,u=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:a});i&&l.addEventListener(t,i,{once:!0}),r?y1(l,u):l.dispatchEvent(u)}var cN=Th,uN=x1,Ai=globalThis?.document?S.useLayoutEffect:()=>{},fN="Portal",Ah=S.forwardRef((t,i)=>{const{container:a,...r}=t,[l,u]=S.useState(!1);Ai(()=>u(!0),[]);const f=a||l&&globalThis?.document?.body;return f?KR.createPortal(h.jsx(Tt.div,{...r,ref:i}),f):null});Ah.displayName=fN;function dN(t,i){return S.useReducer((a,r)=>i[a][r]??a,t)}var Ql=t=>{const{present:i,children:a}=t,r=hN(i),l=typeof a=="function"?a({present:r.isPresent}):S.Children.only(a),u=on(r.ref,mN(l));return typeof a=="function"||r.isPresent?S.cloneElement(l,{ref:u}):null};Ql.displayName="Presence";function hN(t){const[i,a]=S.useState(),r=S.useRef(null),l=S.useRef(t),u=S.useRef("none"),f=t?"mounted":"unmounted",[m,g]=dN(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const p=nl(r.current);u.current=m==="mounted"?p:"none"},[m]),Ai(()=>{const p=r.current,y=l.current;if(y!==t){const b=u.current,T=nl(p);t?g("MOUNT"):T==="none"||p?.display==="none"?g("UNMOUNT"):g(y&&b!==T?"ANIMATION_OUT":"UNMOUNT"),l.current=t}},[t,g]),Ai(()=>
17{if(i){let p;const y=i.ownerDocument.defaultView??window,x=T=>{const M=nl(r.current).includes(CSS.escape(T.animationName));if(T.target===i&&M&&(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=T=>{T.target===i&&(u.current=nl(r.current))};return i.addEventListener("animationstart",b),i.addEventListener("animationcancel",x),i.addEventListener("animationend",x),()=>{y.clearTimeout(p),i.removeEventListener("animationstart",b),i.removeEventListener("animationcancel",x),i.removeEventListener("animationend",x)}}else g("ANIMATION_END")},[i,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:S.useCallback(p=>{r.current=p?getComputedStyle(p):null,a(p)},[])}}function nl(t){return t?.animationName||"none"}function mN(t){let i=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?t.ref:(i=Object.getOwnPropertyDescriptor(t,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?t.props.ref:t.props.ref||t.ref)}var pN=Bd[" useInsertionEffect ".trim().toString()]||Ai;function gN({prop:t,defaultProp:i,onChange:a=()=>{},caller:r}){const[l,u,f]=yN({defaultProp:i,onChange:a}),m=t!==void 0,g=m?t:l;{const y=S.useRef(t!==void 0);S.useEffect(()=>{const x=y.current;x!==m&&console.warn(`${r} is changing from ${x?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=m},[m,r])}const p=S.useCallback(y=>{if(m){const x=vN(y)?y(t):y;x!==t&&f.current?.(x)}else u(y)},[m,t,u,f]);return[g,p]}function yN({defaultProp:t,onChange:i}){const[a,r]=S.useState(t),l=S.useRef(a),u=S.useRef(i);return pN(()=>{u.current=i},[i]),S.useEffect(()=>{l.current!==a&&(u.current?.(a),l.current=a)},[a,l]),[a,r,u]}function vN(t){return typeof t=="function"}var xN=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"}),bN="VisuallyHidden",Zl=S.forwardRef((t,i)=>h.jsx(Tt.span,{...t,ref:i,style:{...xN,...t.style}}));Zl.displayName=bN;var wN=Zl,Eh="ToastProvider",[jh,SN,TN]=eN("Toast"),[w1]=Kl("Toast",[TN]),[AN,Wl]=w1(Eh),S1=t=>{const{__scopeToast:i,label:a="Notification",duration:r=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:f}=t,[m,g]=S.useState(null),[p,y]=S.useState(0),x=S.useRef(!1),b=S.useRef(!1);return a.trim()||console.error(`Invalid prop \`label\` supplied to \`${Eh}\`. Expected non-empty \`string\`.`),h.jsx(jh.Provider,{scope:i,children:h.jsx(AN,{scope:i,label:a,duration:r,swipeDirection:l,swipeThreshold:u,toastCount:p,viewport:m,onViewportChange:g,onToastAdd:S.useCallback(()=>y(T=>T+1),[]),onToastRemove:S.useCallback(()=>y(T=>T-1),[]),isFocusedToastEscapeKeyDownRef:x,isClosePausedRef:b,children:f})})};S1.displayName=Eh;var T1="ToastViewport",EN=["F8"],Dd="toast.viewportPause",Od="toast.viewportResume",A1=S.forwardRef((t,i)=>{const{__scopeToast:a,hotkey:r=EN,label:l="Notifications ({hotkey})",...u}=t,f=Wl(T1,a),m=SN(a),g=S.useRef(null),p=S.useRef(null),y=S.useRef(null),x=S.useRef(null),b=on(i,x,f.onViewportChange),T=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=f.toastCount>0;S.useEffect(()=>{const j=C=>{r.length!==0&&r.every(O=>C[O]||C.code===O)&&x.current?.focus()};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[r]),S.useEffect(()=>{const j=g.current,C=x.current;if(E&&j&&C){const k=()=>{if(!f.isClosePausedRef.current){const K=new CustomEvent(Dd);C.dispatchEvent(K),f.isClosePausedRef.current=!0}},O=()=>{if(f.isClosePausedRef.current){const K=new CustomEvent(Od);C.dispatchEvent(K),f.isClosePausedRef.current=!1}},L=K=>{!j.contains(K.relatedTarget)&&O()},z=()=>{j.contains(document.activeElement)||O()};return j.addEventListener("focusin",k),j.addEventListener("focusout",L),j.addEventListener("pointermove",k),j.addEventListener("pointerleave",z),window.addEventListener("blur",k),window.addEventListener("focus",O),()=>{j.removeEventListener("focusin",k),j.removeEventListener("focusout",L),j.removeEventListener("pointermove",k),j.removeEventListener("pointerleave",z),window.removeEventListener("blur",k),window.removeEventListener("focus",O)}}},[E,f.isClosePausedRef]);const M=S.useCallback(({tabbingDirection:j})=>{const k=m().map(O=>{const L=O.ref.current,z=[L,...zN(L)];return j==="forwards"?z:z.reverse()});return(j==="forwards"?k.reverse():k).flat()},[m]);return S.useEffect(()=>{const j=x.current;if(j){const C=k=>{const O=k.altKey||k.ctrlKey||k.metaKey;if(k.key==="Tab"&&!O){const z=document.activeElement,K=k.shiftKey;if(k.target===j&&K){p.current?.focus();return}const I=M({tabbingDirection:K?"backwards":"forwards"}),W=I.findIndex(oe=>oe===z);Yf(I.slice(W+1))?k.preventDefault():K?p.current?.focus():y.current?.focus()}};return j.addEventListener("keydown",C),()=>j.removeEventListener("keydown",C)}},[m,M]),h.jsxs(uN,{ref:g,role:"region","aria-label":l.replace("{hotkey}",T),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&h.jsx(_d,{ref:p,onFocusFromOutsideViewport:()=>{const j=M({tabbingDirection:"forwards"});Yf(j)}}),h.jsx(jh.Slot,{scope:a,children:h.jsx(Tt.ol,{tabIndex:-1,...u,ref:b})}),E&&h.jsx(_d,{ref:y,onFocusFromOutsideViewport:()=>{const j=M({tabbingDirection:"backwards"});Yf(j)}})]})});A1.displayName=T1;var E1="ToastFocusProxy",_d=S.forwardRef((t,i)=>{const{__scopeToast:a,onFocusFromOutsideViewport:r,...l}=t,u=Wl(E1,a);return h.jsx(Zl,{tabIndex:0,...l,ref:i,style:{position:"fixed"},onFocus:f=>{const m=f.relatedTarget;!u.viewport?.contains(m)&&r()}})});_d.displayName=E1;var Nr="Toast",jN="toast.swipeStart",MN="toast.swipeMove",CN="toast.swipeCancel",RN="toast.swipeEnd",j1=S.forwardRef((t,i)=>{const{forceMount:a,open:r,defaultOpen:l,onOpenChange:u,...f}=t,[m,g]=gN({prop:r,defaultProp:l??!0,onChange:u,caller:Nr});return h.jsx(Ql,{present:a||m,children:h.jsx(ON,{open:m,...f,ref:i,onClose:()=>g(!1),onPause:Ti(t.onPause),onResume:Ti(t.onResume),onSwipeStart:Je(t.onSwipeStart,p=>{p.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Je(t.onSwipeMove,p=>{const{x:y,y:x}=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",`${x}px`)}),onSwipeCancel:Je(t.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:Je(t.onSwipeEnd,p=>{const{x:y,y:x}=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",`${x}px`),g(!1)})})})});j1.displayName=Nr;var[NN,DN]=w1(Nr,{onClose(){}}),ON=S.forwardRef((t,i)=>{const{__scopeToast:a,type:r="foreground",duration:l,open:u,onClose:f,onEscapeKeyDown:m,onPause:g,onResume:p,onSwipeStart:y,onSwipeMove:x,onSwipeCancel:b,onSwipeEnd:T,...E}=t,M=Wl(Nr,a),[j,C]=S.useState(null),k=on(i,J=>C(J)),O=S.useRef(null),L=S.useRef(null),z=l||M.duration,K=S.useRef(0),Z=S.useRef(z),H=S.useRef(0),{onToastAdd:I,onToastRemove:W}=M,oe=Ti(()=>{j?.contains(document.activeElement)&&M.viewport?.focus(),f()}),le=S.useCallback(J=>
17{!J||J===1/0||(window.clearTimeout(H.current),K.current=new Date().getTime(),H.current=window.setTimeout(oe,J))},[oe]);S.useEffect(()=>{const J=M.viewport;if(J){const ue=()=>{le(Z.current),p?.()},_=()=>{const Q=new Date().getTime()-K.current;Z.current=Z.current-Q,window.clearTimeout(H.current),g?.()};return J.addEventListener(Dd,_),J.addEventListener(Od,ue),()=>{J.removeEventListener(Dd,_),J.removeEventListener(Od,ue)}}},[M.viewport,z,g,p,le]),S.useEffect(()=>{u&&!M.isClosePausedRef.current&&le(z)},[u,z,M.isClosePausedRef,le]),S.useEffect(()=>(I(),()=>W()),[I,W]);const ye=S.useMemo(()=>j?_1(j):null,[j]);return M.viewport?h.jsxs(h.Fragment,{children:[ye&&h.jsx(_N,{__scopeToast:a,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:ye}),h.jsx(NN,{scope:a,onClose:oe,children:Fl.createPortal(h.jsx(jh.ItemSlot,{scope:a,children:h.jsx(cN,{asChild:!0,onEscapeKeyDown:Je(m,()=>{M.isFocusedToastEscapeKeyDownRef.current||oe(),M.isFocusedToastEscapeKeyDownRef.current=!1}),children:h.jsx(Tt.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":M.swipeDirection,...E,ref:k,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:Je(t.onKeyDown,J=>{J.key==="Escape"&&(m?.(J.nativeEvent),J.nativeEvent.defaultPrevented||(M.isFocusedToastEscapeKeyDownRef.current=!0,oe()))}),onPointerDown:Je(t.onPointerDown,J=>{J.button===0&&(O.current={x:J.clientX,y:J.clientY})}),onPointerMove:Je(t.onPointerMove,J=>{if(!O.current)return;const ue=J.clientX-O.current.x,_=J.clientY-O.current.y,Q=!!L.current,X=["left","right"].includes(M.swipeDirection),te=["left","up"].includes(M.swipeDirection)?Math.min:Math.max,A=X?te(0,ue):0,Y=X?0:te(0,_),ee=J.pointerType==="touch"?10:2,$={x:A,y:Y},ce={originalEvent:J,delta:$};Q?(L.current=$,il(MN,x,ce,{discrete:!1})):_0($,M.swipeDirection,ee)?(L.current=$,il(jN,y,ce,{discrete:!1}),J.target.setPointerCapture(J.pointerId)):(Math.abs(ue)>ee||Math.abs(_)>ee)&&(O.current=null)}),onPointerUp:Je(t.onPointerUp,J=>{const ue=L.current,_=J.target;if(_.hasPointerCapture(J.pointerId)&&_.releasePointerCapture(J.pointerId),L.current=null,O.current=null,ue){const Q=J.currentTarget,X={originalEvent:J,delta:ue};_0(ue,M.swipeDirection,M.swipeThreshold)?il(RN,T,X,{discrete:!0}):il(CN,b,X,{discrete:!0}),Q.addEventListener("click",te=>te.preventDefault(),{once:!0})}})})})}),M.viewport)})]}):null}),_N=t=>{const{__scopeToast:i,children:a,...r}=t,l=Wl(Nr,i),[u,f]=S.useState(!1),[m,g]=S.useState(!1);return LN(()=>f(!0)),S.useEffect(()=>{const p=window.setTimeout(()=>g(!0),1e3);return()=>window.clearTimeout(p)},[]),m?null:h.jsx(Ah,{asChild:!0,children:h.jsx(Zl,{...r,children:u&&h.jsxs(h.Fragment,{children:[l.label," ",a]})})})},kN="ToastTitle",M1=S.forwardRef((t,i)=>{const{__scopeToast:a,...r}=t;return h.jsx(Tt.div,{...r,ref:i})});M1.displayName=kN;var PN="ToastDescription",C1=S.forwardRef((t,i)=>{const{__scopeToast:a,...r}=t;return h.jsx(Tt.div,{...r,ref:i})});C1.displayName=PN;var R1="ToastAction",N1=S.forwardRef((t,i)=>{const{altText:a,...r}=t;return a.trim()?h.jsx(O1,{altText:a,asChild:!0,children:h.jsx(Mh,{...r,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${R1}\`. Expected non-empty \`string\`.`),null)});N1.displayName=R1;var D1="ToastClose",Mh=S.forwardRef((t,i)=>{const{__scopeToast:a,...r}=t,l=DN(D1,a);return h.jsx(O1,{asChild:!0,children:h.jsx(Tt.button,{type:"button",...r,ref:i,onClick:Je(t.onClick,l.onClose)})})});Mh.displayName=D1;var O1=S.forwardRef((t,i)=>{const{__scopeToast:a,altText:r,...l}=t;return h.jsx(Tt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...l,ref:i})});function _1(t){const i=[];return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&i.push(r.textContent),VN(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(..._1(r))}}),i}function il(t,i,a,{discrete:r}){const l=a.originalEvent.currentTarget,u=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:a});i&&l.addEventListener(t,i,{once:!0}),r?y1(l,u):l.dispatchEvent(u)}var _0=(t,i,a=0)=>{const r=Math.abs(t.x),l=Math.abs(t.y),u=r>l;return i==="left"||i==="right"?u&&r>a:!u&&l>a};function LN(t=()=>{}){const i=Ti(t);Ai(()=>{let a=0,r=0;return a=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(a),window.cancelAnimationFrame(r)}},[i])}function VN(t){return t.nodeType===t.ELEMENT_NODE}function zN(t){const i=[],a=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const l=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||l?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)i.push(a.currentNode);return i}function Yf(t){const i=document.activeElement;return t.some(a=>a===i?!0:(a.focus(),document.activeElement!==i))}var BN=S1,k1=A1,P1=j1,L1=M1,V1=C1,z1=N1,B1=Mh;function U1(t){var i,a,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(i=0;i<l;i++)t[i]&&(a=U1(t[i]))&&(r&&(r+=" "),r+=a)}else for(a in t)t[a]&&(r&&(r+=" "),r+=a);return r}function H1(){for(var t,i,a=0,r="",l=arguments.length;a<l;a++)(t=arguments[a])&&(i=U1(t))&&(r&&(r+=" "),r+=i);return r}const k0=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,P0=H1,q1=(t,i)=>a=>{var r;if(i?.variants==null)return P0(t,a?.class,a?.className);const{variants:l,defaultVariants:u}=i,f=Object.keys(l).map(p=>{const y=a?.[p],x=u?.[p];if(y===null)return null;const b=k0(y)||k0(x);return l[p][b]}),m=a&&Object.entries(a).reduce((p,y)=>{let[x,b]=y;return b===void 0||(p[x]=b),p},{}),g=i==null||(r=i.compoundVariants)===null||r===void 0?void 0:r.reduce((p,y)=>{let{class:x,className:b,...T}=y;return Object.entries(T).every(E=>
vendor: 10,133 bytes, line 17
17{let[M,j]=E;return Array.isArray(j)?j.includes({...u,...m}[M]):{...u,...m}[M]===j})?[...p,x,b]:p},[]);return P0(t,f,g,a?.class,a?.className)};const UN=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),HN=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,a,r)=>r?r.toUpperCase():a.toLowerCase()),L0=t=>{const i=HN(t);return i.charAt(0).toUpperCase()+i.slice(1)},Y1=(...t)=>t.filter((i,a,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===a).join(" ").trim(),qN=t=>{for(const i in t)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};var YN={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 GN=S.forwardRef(({color:t="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:f,...m},g)=>S.createElement("svg",{ref:g,...YN,width:i,height:i,stroke:t,strokeWidth:r?Number(a)*24/Number(i):a,className:Y1("lucide",l),...!u&&!qN(m)&&{"aria-hidden":"true"},...m},[...f.map(([p,y])=>S.createElement(p,y)),...Array.isArray(u)?u:[u]]));const Il=(t,i)=>{const a=S.forwardRef(({className:r,...l},u)=>S.createElement(GN,{ref:u,iconNode:i,className:Y1(`lucide-${UN(L0(t))}`,`lucide-${t}`,r),...l}));return a.displayName=L0(t),a};const XN=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],FN=Il("check",XN);const KN=[["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"}]],QN=Il("circle-alert",KN);const ZN=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],WN=Il("menu",ZN);const IN=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ch=Il("x",IN),$N=(t,i)=>{const a=new Array(t.length+i.length);for(let r=0;r<t.length;r++)a[r]=t[r];for(let r=0;r<i.length;r++)a[t.length+r]=i[r];return a},JN=(t,i)=>({classGroupId:t,validator:i}),G1=(t=new Map,i=null,a)=>({nextPart:t,validators:i,classGroupId:a}),Rl="-",V0=[],eD="arbitrary..",tD=t=>{const i=iD(t),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return nD(f);const m=f.split(Rl),g=m[0]===""&&m.length>1?1:0;return X1(m,g,i)},getConflictingClassGroupIds:(f,m)=>{if(m){const g=r[f],p=a[f];return g?p?$N(p,g):g:p||V0}return a[f]||V0}}},X1=(t,i,a)=>{if(t.length-i===0)return a.classGroupId;const l=t[i],u=a.nextPart.get(l);if(u){const p=X1(t,i+1,u);if(p)return p}const f=a.validators;if(f===null)return;const m=i===0?t.join(Rl):t.slice(i).join(Rl),g=f.length;for(let p=0;p<g;p++){const y=f[p];if(y.validator(m))return y.classGroupId}},nD=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=t.slice(1,-1),a=i.indexOf(":"),r=i.slice(0,a);return r?eD+r:void 0})(),iD=t=>{const{theme:i,classGroups:a}=t;return sD(a,i)},sD=(t,i)=>{const a=G1();for(const r in t){const l=t[r];Rh(l,a,r,i)}return a},Rh=(t,i,a,r)=>{const l=t.length;for(let u=0;u<l;u++){const f=t[u];aD(f,i,a,r)}},aD=(t,i,a,r)=>{if(typeof t=="string"){rD(t,i,a);return}if(typeof t=="function"){oD(t,i,a,r);return}lD(t,i,a,r)},rD=(t,i,a)=>{const r=t===""?i:F1(i,t);r.classGroupId=a},oD=(t,i,a,r)=>{if(cD(t)){Rh(t(r),i,a,r);return}i.validators===null&&(i.validators=[]),i.validators.push(JN(a,t))},lD=(t,i,a,r)=>{const l=Object.entries(t),u=l.length;for(let f=0;f<u;f++){const[m,g]=l[f];Rh(g,F1(i,m),a,r)}},F1=(t,i)=>{let a=t;const r=i.split(Rl),l=r.length;for(let u=0;u<l;u++){const f=r[u];let m=a.nextPart.get(f);m||(m=G1(),a.nextPart.set(f,m)),a=m}return a},cD=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,uD=t=>{if(t<1)return{get:()=>{},set:()=>{}};let i=0,a=Object.create(null),r=Object.create(null);const l=(u,f)=>{a[u]=f,i++,i>t&&(i=0,r=a,a=Object.create(null))};return{get(u){let f=a[u];if(f!==void 0)return f;if((f=r[u])!==void 0)return l(u,f),f},set(u,f){u in a?a[u]=f:l(u,f)}}},kd="!",z0=":",fD=[],B0=(t,i,a,r,l)=>({modifiers:t,hasImportantModifier:i,baseClassName:a,maybePostfixModifierPosition:r,isExternal:l}),dD=t=>{const{prefix:i,experimentalParseClassName:a}=t;let r=l=>{const u=[];let f=0,m=0,g=0,p;const y=l.length;for(let M=0;M<y;M++){const j=l[M];if(f===0&&m===0){if(j===z0){u.push(l.slice(g,M)),g=M+1;continue}if(j==="/"){p=M;continue}}j==="["?f++:j==="]"?f--:j==="("?m++:j===")"&&m--}const x=u.length===0?l:l.slice(g);let b=x,T=!1;x.endsWith(kd)?(b=x.slice(0,-1),T=!0):x.startsWith(kd)&&(b=x.slice(1),T=!0);const E=p&&p>g?p-g:void 0;return B0(u,T,b,E)};if(i){const l=i+z0,u=r;r=f=>f.startsWith(l)?u(f.slice(l.length)):B0(fD,!1,f,void 0,!0)}if(a){const l=r;r=u=>a({className:u,parseClassName:l})}return r},hD=t=>{const i=new Map;return t.orderSensitiveModifiers.forEach((a,r)=>{i.set(a,1e6+r)}),a=>{const r=[];let l=[];for(let u=0;u<a.length;u++){const f=a[u],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}},mD=t=>({cache:uD(t.cacheSize),parseClassName:dD(t),sortModifiers:hD(t),...tD(t)}),pD=/\s+/,gD=(t,i)=>{const{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:u}=i,f=[],m=t.trim().split(pD);let g="";for(let p=m.length-1;p>=0;p-=1){const y=m[p],{isExternal:x,modifiers:b,hasImportantModifier:T,baseClassName:E,maybePostfixModifierPosition:M}=a(y);if(x){g=y+(g.length>0?" "+g:g);continue}let j=!!M,C=r(j?E.substring(0,M):E);if(!C){if(!j){g=y+(g.length>0?" "+g:g);continue}if(C=r(E),!C){g=y+(g.length>0?" "+g:g);continue}j=!1}const k=b.length===0?"":b.length===1?b[0]:u(b).join(":"),O=T?k+kd:k,L=O+C;if(f.indexOf(L)>-1)continue;f.push(L);const z=l(C,j);for(let K=0;K<z.length;++K){const Z=z[K];f.push(O+Z)}g=y+(g.length>0?" "+g:g)}return g},yD=(...t)=>{let i=0,a,r,l="";for(;i<t.length;)(a=t[i++])&&(r=K1(a))&&(l&&(l+=" "),l+=r);return l},K1=t=>{if(typeof t=="string")return t;let i,a="";for(let r=0;r<t.length;r++)t[r]&&(i=K1(t[r]))&&(a&&(a+=" "),a+=i);return a},vD=(t,...i)=>{let a,r,l,u;const f=g=>{const p=i.reduce((y,x)=>x(y),t());return a=mD(p),r=a.cache.get,l=a.cache.set,u=m,m(g)},m=g=>{const p=r(g);if(p)return p;const y=gD(g,a);return l(g,y),y};return u=f,(...g)=>u(yD(...g))},xD=[],Ie=t=>{const i=a=>a[t]||xD;return i.isThemeGetter=!0,i},Q1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Z1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,bD=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,wD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,SD=/\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$/,TD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,AD=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ED=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pi=t=>bD.test(t),be=t=>!!t&&!Number.isNaN(Number(t)),gi=t=>!!t&&Number.isInteger(Number(t)),Gf=t=>t.endsWith("%")&&be(t.slice(0,-1)),zn=t=>wD.test(t),W1=()=>!0,jD=t=>SD.test(t)&&!TD.test(t),Nh=()=>!1,MD=t=>AD.test(t),CD=t=>ED.test(t),RD=t=>!ie(t)&&!ae(t),ND=t=>Ci(t,J1,Nh),ie=t=>Q1.test(t),Qi=t=>Ci(t,ew,jD),U0=t=>Ci(t,zD,be),DD=t=>Ci(t,nw,W1),OD=t=>Ci(t,tw,Nh),H0=t=>Ci(t,I1,Nh),_D=t=>Ci(t,$1,CD),sl=t=>Ci(t,iw,MD),ae=t=>Z1.test(t),or=t=>ns(t,ew),kD=t=>ns(t,tw),q0=t=>ns(t,I1),PD=t=>ns(t,J1),LD=t=>ns(t,$1),al=t=>ns(t,iw,!0),VD=t=>ns(t,nw,!0),Ci=(t,i,a)=>{const r=Q1.exec(t);return r?r[1]?i(r[1]):a(r[2]):!1},ns=(t,i,a=!1)=>{const r=Z1.exec(t);return r?r[1]?i(r[1]):a:!1},I1=t=>t==="position"||t==="percentage",$1=t=>t==="image"||t==="url",J1=t=>t==="length"||t==="size"||t==="bg-size",ew=t=>t==="length",zD=t=>t==="number",tw=t=>t==="family-name",nw=t=>t==="number"||t==="weight",iw=t=>t==="shadow",BD=()=>{const t=Ie("color"),i=Ie("font"),a=Ie("text"),r=Ie("font-weight"),l=Ie("tracking"),u=Ie("leading"),f=Ie("breakpoint"),m=Ie("container"),g=Ie("spacing"),p=Ie("radius"),y=Ie("shadow"),x=Ie("inset-shadow"),b=Ie("text-shadow"),T=Ie("drop-shadow"),E=Ie("blur"),M=Ie("perspective"),j=Ie("aspect"),C=Ie("ease"),k=Ie("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],z=()=>[...L(),ae,ie],K=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto","contain","none"],H=()=>[ae,ie,g],I=()=>[pi,"full","auto",...H()],W=()=>[gi,"none","subgrid",ae,ie],oe=()=>["auto",{span:["full",gi,ae,ie]},gi,ae,ie],le=()=>[gi,"auto",ae,ie],ye=()=>["auto","min","max","fr",ae,ie],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ue=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...H()],Q=()=>[pi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...H()],X=()=>[pi,"screen","full","dvw","lvw","svw","min","max","fit",...H()],te=()=>[pi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...H()],A=()=>[t,ae,ie],Y=()=>[...L(),q0,H0,{position:[ae,ie]}],ee=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",PD,ND,{size:[ae,ie]}],ce=()=>[Gf,or,Qi],he=()=>["","none","full",p,ae,ie],re=()=>["",be,or,Qi],ze=()=>["solid","dashed","dotted","double"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>[be,Gf,q0,H0],qn=()=>["","none",E,ae,ie],Wt=()=>["none",be,ae,ie],un=()=>["none",be,ae,ie],Vt=()=>[be,ae,ie],Yn=()=>[pi,"full",...H()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[zn],breakpoint:[zn],color:[W1],container:[zn],"drop-shadow":[zn],ease:["in","out","in-out"],font:[RD],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[zn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[zn],shadow:[zn],spacing:["px",be],text:[zn],"text-shadow":[zn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",pi,ie,ae,j]}
vendor: 6,110 bytes, line 17
17],container:["container"],columns:[{columns:[be,ie,ae,m]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:z()}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[gi,"auto",ae,ie]}],basis:[{basis:[pi,"full","auto",m,...H()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,pi,"auto","initial","none",ie]}],grow:[{grow:["",be,ae,ie]}],shrink:[{shrink:["",be,ae,ie]}],order:[{order:[gi,"first","last","none",ae,ie]}],"grid-cols":[{"grid-cols":W()}],"col-start-end":[{col:oe()}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":W()}],"row-start-end":[{row:oe()}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ye()}],"auto-rows":[{"auto-rows":ye()}],gap:[{gap:H()}],"gap-x":[{"gap-x":H()}],"gap-y":[{"gap-y":H()}],"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:H()}],px:[{px:H()}],py:[{py:H()}],ps:[{ps:H()}],pe:[{pe:H()}],pbs:[{pbs:H()}],pbe:[{pbe:H()}],pt:[{pt:H()}],pr:[{pr:H()}],pb:[{pb:H()}],pl:[{pl:H()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mbs:[{mbs:_()}],mbe:[{mbe:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":H()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":H()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],"inline-size":[{inline:["auto",...X()]}],"min-inline-size":[{"min-inline":["auto",...X()]}],"max-inline-size":[{"max-inline":["none",...X()]}],"block-size":[{block:["auto",...te()]}],"min-block-size":[{"min-block":["auto",...te()]}],"max-block-size":[{"max-block":["none",...te()]}],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",a,or,Qi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,VD,DD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Gf,ie]}],"font-family":[{font:[kD,OD,i]}],"font-features":[{"font-features":[ie]}],"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,ae,ie]}],"line-clamp":[{"line-clamp":[be,"none",ae,U0]}],leading:[{leading:[u,...H()]}],"list-image":[{"list-image":["none",ae,ie]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ae,ie]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ze(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",ae,Qi]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[be,"auto",ae,ie]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:H()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ae,ie]}],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",ae,ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Y()}],"bg-repeat":[{bg:ee()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},gi,ae,ie],radial:["",ae,ie],conic:[gi,ae,ie]},LD,_D]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:ce()}
vendor: 7,403 bytes, line 17
17],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:he()}],"rounded-s":[{"rounded-s":he()}],"rounded-e":[{"rounded-e":he()}],"rounded-t":[{"rounded-t":he()}],"rounded-r":[{"rounded-r":he()}],"rounded-b":[{"rounded-b":he()}],"rounded-l":[{"rounded-l":he()}],"rounded-ss":[{"rounded-ss":he()}],"rounded-se":[{"rounded-se":he()}],"rounded-ee":[{"rounded-ee":he()}],"rounded-es":[{"rounded-es":he()}],"rounded-tl":[{"rounded-tl":he()}],"rounded-tr":[{"rounded-tr":he()}],"rounded-br":[{"rounded-br":he()}],"rounded-bl":[{"rounded-bl":he()}],"border-w":[{border:re()}],"border-w-x":[{"border-x":re()}],"border-w-y":[{"border-y":re()}],"border-w-s":[{"border-s":re()}],"border-w-e":[{"border-e":re()}],"border-w-bs":[{"border-bs":re()}],"border-w-be":[{"border-be":re()}],"border-w-t":[{"border-t":re()}],"border-w-r":[{"border-r":re()}],"border-w-b":[{"border-b":re()}],"border-w-l":[{"border-l":re()}],"divide-x":[{"divide-x":re()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":re()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ze(),"hidden","none"]}],"divide-style":[{divide:[...ze(),"hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-bs":[{"border-bs":A()}],"border-color-be":[{"border-be":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...ze(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,ae,ie]}],"outline-w":[{outline:["",be,or,Qi]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",y,al,sl]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",x,al,sl]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[be,Qi]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":re()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",b,al,sl]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[be,ae,ie]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ce()}],"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":Re()}],"mask-image-linear-to-pos":[{"mask-linear-to":Re()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":Re()}],"mask-image-t-to-pos":[{"mask-t-to":Re()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":Re()}],"mask-image-r-to-pos":[{"mask-r-to":Re()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":Re()}],"mask-image-b-to-pos":[{"mask-b-to":Re()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":Re()}],"mask-image-l-to-pos":[{"mask-l-to":Re()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":Re()}],"mask-image-x-to-pos":[{"mask-x-to":Re()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":Re()}],"mask-image-y-to-pos":[{"mask-y-to":Re()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[ae,ie]}],"mask-image-radial-from-pos":[{"mask-radial-from":Re()}],"mask-image-radial-to-pos":[{"mask-radial-to":Re()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"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":L()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":Re()}],"mask-image-conic-to-pos":[{"mask-conic-to":Re()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Y()}],"mask-repeat":[{mask:ee()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ae,ie]}],filter:[{filter:["","none",ae,ie]}],blur:[{blur:qn()}],brightness:[{brightness:[be,ae,ie]}],contrast:[{contrast:[be,ae,ie]}],"drop-shadow":[{"drop-shadow":["","none",T,al,sl]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",be,ae,ie]}],"hue-rotate":[{"hue-rotate":[be,ae,ie]}],invert:[{invert:["",be,ae,ie]}],saturate:[{saturate:[be,ae,ie]}],sepia:[{sepia:["",be,ae,ie]}],"backdrop-filter":[{"backdrop-filter":["","none",ae,ie]}],"backdrop-blur":[{"backdrop-blur":qn()}],"backdrop-brightness":[{"backdrop-brightness":[be,ae,ie]}],"backdrop-contrast":[{"backdrop-contrast":[be,ae,ie]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,ae,ie]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,ae,ie]}],"backdrop-invert":[{"backdrop-invert":["",be,ae,ie]}],"backdrop-opacity":[{"backdrop-opacity":[be,ae,ie]}],"backdrop-saturate":[{"backdrop-saturate":[be,ae,ie]}],"backdrop-sepia":[{"backdrop-sepia":["",be,ae,ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":H()}],"border-spacing-x":[{"border-spacing-x":H()}],"border-spacing-y":[{"border-spacing-y":H()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ae,ie]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",ae,ie]}],ease:[{ease:["linear","initial",C,ae,ie]}],delay:[{delay:[be,ae,ie]}],animate:[{animate:["none",k,ae,ie]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[M,ae,ie]}],"perspective-origin":[{"perspective-origin":z()}],rotate:[{rotate:Wt()}],"rotate-x":[{"rotate-x":Wt()}],"rotate-y":[{"rotate-y":Wt()}],"rotate-z":[{"rotate-z":Wt()}],scale:[{scale:un()}],"scale-x":[{"scale-x":un()}],"scale-y":[{"scale-y":un()}],"scale-z":[{"scale-z":un()}],"scale-3d":["scale-3d"],skew:[{skew:Vt()}],"skew-x":[{"skew-x":Vt()}],"skew-y":[{"skew-y":Vt()}],transform:[{transform:[ae,ie,"","none","gpu","cpu"]}],"transform-origin":[{origin:z()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Yn()}],"translate-x":[{"translate-x":Yn()}],"translate-y":[{"translate-y":Yn()}],"translate-z":[{"translate-z":Yn()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}
17],"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",ae,ie]}],"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":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mbs":[{"scroll-mbs":H()}],"scroll-mbe":[{"scroll-mbe":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pbs":[{"scroll-pbs":H()}],"scroll-pbe":[{"scroll-pbe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ae,ie]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[be,or,Qi,U0]}],stroke:[{stroke:["none",...A()]}],"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"]}},UD=vD(BD);function At(...t){return UD(H1(t))}const HD=BN,sw=S.forwardRef(({className:t,...i},a)=>h.jsx(k1,{ref:a,className:At("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...i}));sw.displayName=k1.displayName;const qD=q1("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"}}),aw=S.forwardRef(({className:t,variant:i,...a},r)=>h.jsx(P1,{ref:r,className:At(qD({variant:i}),t),...a}));aw.displayName=P1.displayName;const YD=S.forwardRef(({className:t,...i},a)=>h.jsx(z1,{ref:a,className:At("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...i}));YD.displayName=z1.displayName;const rw=S.forwardRef(({className:t,...i},a)=>h.jsx(B1,{ref:a,className:At("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 4,154 bytes, line 17
17/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...i,children:h.jsx(Ch,{className:"h-4 w-4"})}));rw.displayName=B1.displayName;const ow=S.forwardRef(({className:t,...i},a)=>h.jsx(L1,{ref:a,className:At("text-sm font-semibold",t),...i}));ow.displayName=L1.displayName;const lw=S.forwardRef(({className:t,...i},a)=>h.jsx(V1,{ref:a,className:At("text-sm opacity-90",t),...i}));lw.displayName=V1.displayName;function GD(){const{toasts:t}=FR();return h.jsxs(HD,{children:[t.map(function({id:i,title:a,description:r,action:l,...u}){return h.jsxs(aw,{...u,children:[h.jsxs("div",{className:"grid gap-1",children:[a&&h.jsx(ow,{children:a}),r&&h.jsx(lw,{children:r})]}),l,h.jsx(rw,{})]},i)}),h.jsx(sw,{})]})}const XD=["top","right","bottom","left"],Ei=Math.min,kt=Math.max,Nl=Math.round,rl=Math.floor,wn=t=>({x:t,y:t}),FD={left:"right",right:"left",bottom:"top",top:"bottom"};function Pd(t,i,a){return kt(t,Ei(i,a))}function Bn(t,i){return typeof t=="function"?t(i):t}function Un(t){return t.split("-")[0]}function aa(t){return t.split("-")[1]}function Dh(t){return t==="x"?"y":"x"}function Oh(t){return t==="y"?"height":"width"}function xn(t){const i=t[0];return i==="t"||i==="b"?"y":"x"}function _h(t){return Dh(xn(t))}function KD(t,i,a){a===void 0&&(a=!1);const r=aa(t),l=_h(t),u=Oh(l);let f=l==="x"?r===(a?"end":"start")?"right":"left":r==="start"?"bottom":"top";return i.reference[u]>i.floating[u]&&(f=Dl(f)),[f,Dl(f)]}function QD(t){const i=Dl(t);return[Ld(t),i,Ld(i)]}function Ld(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const Y0=["left","right"],G0=["right","left"],ZD=["top","bottom"],WD=["bottom","top"];function ID(t,i,a){switch(t){case"top":case"bottom":return a?i?G0:Y0:i?Y0:G0;case"left":case"right":return i?ZD:WD;default:return[]}}function $D(t,i,a,r){const l=aa(t);let u=ID(Un(t),a==="start",r);return l&&(u=u.map(f=>f+"-"+l),i&&(u=u.concat(u.map(Ld)))),u}function Dl(t){const i=Un(t);return FD[i]+t.slice(i.length)}function JD(t){return{top:0,right:0,bottom:0,left:0,...t}}function cw(t){return typeof t!="number"?JD(t):{top:t,right:t,bottom:t,left:t}}function Ol(t){const{x:i,y:a,width:r,height:l}=t;return{width:r,height:l,top:a,left:i,right:i+r,bottom:a+l,x:i,y:a}}function X0(t,i,a){let{reference:r,floating:l}=t;const u=xn(i),f=_h(i),m=Oh(f),g=Un(i),p=u==="y",y=r.x+r.width/2-l.width/2,x=r.y+r.height/2-l.height/2,b=r[m]/2-l[m]/2;let T;switch(g){case"top":T={x:y,y:r.y-l.height};break;case"bottom":T={x:y,y:r.y+r.height};break;case"right":T={x:r.x+r.width,y:x};break;case"left":T={x:r.x-l.width,y:x};break;default:T={x:r.x,y:r.y}}switch(aa(i)){case"start":T[f]-=b*(a&&p?-1:1);break;case"end":T[f]+=b*(a&&p?-1:1);break}return T}async function eO(t,i){var a;i===void 0&&(i={});const{x:r,y:l,platform:u,rects:f,elements:m,strategy:g}=t,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:x="floating",altBoundary:b=!1,padding:T=0}=Bn(i,t),E=cw(T),j=m[b?x==="floating"?"reference":"floating":x],C=Ol(await u.getClippingRect({element:(a=await(u.isElement==null?void 0:u.isElement(j)))==null||a?j:j.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(m.floating)),boundary:p,rootBoundary:y,strategy:g})),k=x==="floating"?{x:r,y:l,width:f.floating.width,height:f.floating.height}:f.reference,O=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m.floating)),L=await(u.isElement==null?void 0:u.isElement(O))?await(u.getScale==null?void 0:u.getScale(O))||{x:1,y:1}:{x:1,y:1},z=Ol(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:k,offsetParent:O,strategy:g}):k);return{top:(C.top-z.top+E.top)/L.y,bottom:(z.bottom-C.bottom+E.bottom)/L.y,left:(C.left-z.left+E.left)/L.x,right:(z.right-C.right+E.right)/L.x}}const tO=50,nO=async(t,i,a)=>{const{placement:r="bottom",strategy:l="absolute",middleware:u=[],platform:f}
vendor: 4,397 bytes, line 17
17=a,m=f.detectOverflow?f:{...f,detectOverflow:eO},g=await(f.isRTL==null?void 0:f.isRTL(i));let p=await f.getElementRects({reference:t,floating:i,strategy:l}),{x:y,y:x}=X0(p,r,g),b=r,T=0;const E={};for(let M=0;M<u.length;M++){const j=u[M];if(!j)continue;const{name:C,fn:k}=j,{x:O,y:L,data:z,reset:K}=await k({x:y,y:x,initialPlacement:r,placement:b,strategy:l,middlewareData:E,rects:p,platform:m,elements:{reference:t,floating:i}});y=O??y,x=L??x,E[C]={...E[C],...z},K&&T<tO&&(T++,typeof K=="object"&&(K.placement&&(b=K.placement),K.rects&&(p=K.rects===!0?await f.getElementRects({reference:t,floating:i,strategy:l}):K.rects),{x:y,y:x}=X0(p,b,g)),M=-1)}return{x:y,y:x,placement:b,strategy:l,middlewareData:E}},iO=t=>({name:"arrow",options:t,async fn(i){const{x:a,y:r,placement:l,rects:u,platform:f,elements:m,middlewareData:g}=i,{element:p,padding:y=0}=Bn(t,i)||{};if(p==null)return{};const x=cw(y),b={x:a,y:r},T=_h(l),E=Oh(T),M=await f.getDimensions(p),j=T==="y",C=j?"top":"left",k=j?"bottom":"right",O=j?"clientHeight":"clientWidth",L=u.reference[E]+u.reference[T]-b[T]-u.floating[E],z=b[T]-u.reference[T],K=await(f.getOffsetParent==null?void 0:f.getOffsetParent(p));let Z=K?K[O]:0;(!Z||!await(f.isElement==null?void 0:f.isElement(K)))&&(Z=m.floating[O]||u.floating[E]);const H=L/2-z/2,I=Z/2-M[E]/2-1,W=Ei(x[C],I),oe=Ei(x[k],I),le=W,ye=Z-M[E]-oe,J=Z/2-M[E]/2+H,ue=Pd(le,J,ye),_=!g.arrow&&aa(l)!=null&&J!==ue&&u.reference[E]/2-(J<le?W:oe)-M[E]/2<0,Q=_?J<le?J-le:J-ye:0;return{[T]:b[T]+Q,data:{[T]:ue,centerOffset:J-ue-Q,..._&&{alignmentOffset:Q}},reset:_}}}),sO=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var a,r;const{placement:l,middlewareData:u,rects:f,initialPlacement:m,platform:g,elements:p}=i,{mainAxis:y=!0,crossAxis:x=!0,fallbackPlacements:b,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:M=!0,...j}=Bn(t,i);if((a=u.arrow)!=null&&a.alignmentOffset)return{};const C=Un(l),k=xn(m),O=Un(m)===m,L=await(g.isRTL==null?void 0:g.isRTL(p.floating)),z=b||(O||!M?[Dl(m)]:QD(m)),K=E!=="none";!b&&K&&z.push(...$D(m,M,E,L));const Z=[m,...z],H=await g.detectOverflow(i,j),I=[];let W=((r=u.flip)==null?void 0:r.overflows)||[];if(y&&I.push(H[C]),x){const J=KD(l,f,L);I.push(H[J[0]],H[J[1]])}if(W=[...W,{placement:l,overflows:I}],!I.every(J=>J<=0)){var oe,le;const J=(((oe=u.flip)==null?void 0:oe.index)||0)+1,ue=Z[J];if(ue&&(!(x==="alignment"?k!==xn(ue):!1)||W.every(X=>xn(X.placement)===k?X.overflows[0]>0:!0)))return{data:{index:J,overflows:W},reset:{placement:ue}};let _=(le=W.filter(Q=>Q.overflows[0]<=0).sort((Q,X)=>Q.overflows[1]-X.overflows[1])[0])==null?void 0:le.placement;if(!_)switch(T){case"bestFit":{var ye;const Q=(ye=W.filter(X=>{if(K){const te=xn(X.placement);return te===k||te==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(te=>te>0).reduce((te,A)=>te+A,0)]).sort((X,te)=>X[1]-te[1])[0])==null?void 0:ye[0];Q&&(_=Q);break}case"initialPlacement":_=m;break}if(l!==_)return{reset:{placement:_}}}return{}}}};function F0(t,i){return{top:t.top-i.height,right:t.right-i.width,bottom:t.bottom-i.height,left:t.left-i.width}}function K0(t){return XD.some(i=>t[i]>=0)}const aO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(i){const{rects:a,platform:r}=i,{strategy:l="referenceHidden",...u}=Bn(t,i);switch(l){case"referenceHidden":{const f=await r.detectOverflow(i,{...u,elementContext:"reference"}),m=F0(f,a.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:K0(m)}}}case"escaped":{const f=await r.detectOverflow(i,{...u,altBoundary:!0}),m=F0(f,a.floating);return{data:{escapedOffsets:m,escaped:K0(m)}}}default:return{}}}}},uw=new Set(["left","top"]);async function rO(t,i){const{placement:a,platform:r,elements:l}=t,u=await(r.isRTL==null?void 0:r.isRTL(l.floating)),f=Un(a),m=aa(a),g=xn(a)==="y",p=uw.has(f)?-1:1,y=u&&g?-1:1,x=Bn(i,t);let{mainAxis:b,crossAxis:T,alignmentAxis:E}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return m&&typeof E=="number"&&(T=m==="end"?E*-1:E),g?{x:T*y,y:b*p}:{x:b*p,y:T*y}}const oO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){var a,r;const{x:l,y:u,placement:f,middlewareData:m}=i,g=await rO(i,t);return f===((a=m.offset)==null?void 0:a.placement)&&(r=m.arrow)!=null&&r.alignmentOffset?{}:{x:l+g.x,y:u+g.y,data:{...g,placement:f}}}}}
17,lO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:a,y:r,placement:l,platform:u}=i,{mainAxis:f=!0,crossAxis:m=!1,limiter:g={fn:C=>{let{x:k,y:O}=C;return{x:k,y:O}}},...p}=Bn(t,i),y={x:a,y:r},x=await u.detectOverflow(i,p),b=xn(Un(l)),T=Dh(b);let E=y[T],M=y[b];if(f){const C=T==="y"?"top":"left",k=T==="y"?"bottom":"right",O=E+x[C],L=E-x[k];E=Pd(O,E,L)}if(m){const C=b==="y"?"top":"left",k=b==="y"?"bottom":"right",O=M+x[C],L=M-x[k];M=Pd(O,M,L)}const j=g.fn({...i,[T]:E,[b]:M});return{...j,data:{x:j.x-a,y:j.y-r,enabled:{[T]:f,[b]:m}}}}}},cO=function(t){return t===void 0&&(t={}),{options:t,fn(i){const{x:a,y:r,placement:l,rects:u,middlewareData:f}=i,{offset:m=0,mainAxis:g=!0,crossAxis:p=!0}=Bn(t,i),y={x:a,y:r},x=xn(l),b=Dh(x);let T=y[b],E=y[x];const M=Bn(m,i),j=typeof M=="number"?{mainAxis:M,crossAxis:0}:{mainAxis:0,crossAxis:0,...M};if(g){const O=b==="y"?"height":"width",L=u.reference[b]-u.floating[O]+j.mainAxis,z=u.reference[b]+u.reference[O]-j.mainAxis;T<L?T=L:T>z&&(T=z)}if(p){var C,k;const O=b==="y"?"width":"height",L=uw.has(Un(l)),z=u.reference[x]-u.floating[O]+(L&&((C=f.offset)==null?void 0:C[x])||0)+(L?0:j.crossAxis),K=u.reference[x]+u.reference[O]+(L?0:((k=f.offset)==null?void 0:k[x])||0)-(L?j.crossAxis:0);E<z?E=z:E>K&&(E=K)}return{[b]:T,[x]:E}}}},uO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){var a,r;const{placement:l,rects:u,platform:f,elements:m}=i,{apply:g=()=>{},...p}=Bn(t,i),y=await f.detectOverflow(i,p),x=Un(l),b=aa(l),T=xn(l)==="y",{width:E,height:M}=u.floating;let j,C;x==="top"||x==="bottom"?(j=x,C=b===(await(f.isRTL==null?void 0:f.isRTL(m.floating))?"start":"end")?"left":"right"):(C=x,j=b==="end"?"top":"bottom");const k=M-y.top-y.bottom,O=E-y.left-y.right,L=Ei(M-y[j],k),z=Ei(E-y[C],O),K=!i.middlewareData.shift;let Z=L,H=z;if((a=i.middlewareData.shift)!=null&&a.enabled.x&&(H=O),(r=i.middlewareData.shift)!=null&&r.enabled.y&&(Z=k),K&&!b){const W=kt(y.left,0),oe=kt(y.right,0),le=kt(y.top,0),ye=kt(y.bottom,0);T?H=E-2*(W!==0||oe!==0?W+oe:kt(y.left,y.right)):Z=M-2*(le!==0||ye!==0?le+ye:kt(y.top,y.bottom))}await g({...i,availableWidth:H,availableHeight:Z});const I=await f.getDimensions(m.floating);return E!==I.width||M!==I.height?{reset:{rects:!0}}:{}}}};function $l(){return typeof window<"u"}function ra(t){return fw(t)?(t.nodeName||"").toLowerCase():"#document"}function Lt(t){var i;return(t==null||(i=t.ownerDocument)==null?void 0:i.defaultView)||window}function Sn(t){var i;return(i=(fw(t)?t.ownerDocument:t.document)||window.document)==null?void 0:i.documentElement}function fw(t){return $l()?t instanceof Node||t instanceof Lt(t).Node:!1}function ln(t){return $l()?t instanceof Element||t instanceof Lt(t).Element:!1}function Hn(t){return $l()?t instanceof HTMLElement||t instanceof Lt(t).HTMLElement:!1}function Q0(t){return!$l()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Lt(t).ShadowRoot}function Dr(t){const{overflow:i,overflowX:a,overflowY:r,display:l}=cn(t);return/auto|scroll|overlay|hidden|clip/.test(i+r+a)&&l!=="inline"&&l!=="contents"}function fO(t){return/^(table|td|th)$/.test(ra(t))}function Jl(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const dO=/transform|translate|scale|rotate|perspective|filter/,hO=/paint|layout|strict|content/,Zi=t=>!!t&&t!=="none";let Xf;function kh(t){const i=ln(t)?cn(t):t;return Zi(i.transform)||Zi(i.translate)||Zi(i.scale)||Zi(i.rotate)||Zi(i.perspective)||!Ph()&&(Zi(i.backdropFilter)||Zi(i.filter))||dO.test(i.willChange||"")||hO.test(i.contain||"")}function mO(t){let i=ji(t);for(;Hn(i)&&!ea(i);){if(kh(i))return i;if(Jl(i))return null;i=ji(i)}return null}function Ph(){return Xf==null&&(Xf=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Xf}function ea(t){return/^(html|body|#document)$/.test(ra(t))}function cn(t){return Lt(t).getComputedStyle(t)}function ec(t){return ln(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ji(t){if(ra(t)==="html")return t;const i=t.assignedSlot||t.parentNode||Q0(t)&&t.host||Sn(t);return Q0(i)?i.host:i}function dw(t){const i=ji(t);return ea(i)?t.ownerDocument?t.ownerDocument.body:t.body:Hn(i)&&Dr(i)?i:dw(i)}function Tr(t,i,a){var r;i===void 0&&(i=[]),a===void 0&&(a=!0);const l=dw(t),u=l===((r=t.ownerDocument)==null?void 0:r.body),f=Lt(l);if(u){const m=Vd(f);
vendor: 4,302 bytes, line 17
17return i.concat(f,f.visualViewport||[],Dr(l)?l:[],m&&a?Tr(m):[])}else return i.concat(l,Tr(l,[],a))}function Vd(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function hw(t){const i=cn(t);let a=parseFloat(i.width)||0,r=parseFloat(i.height)||0;const l=Hn(t),u=l?t.offsetWidth:a,f=l?t.offsetHeight:r,m=Nl(a)!==u||Nl(r)!==f;return m&&(a=u,r=f),{width:a,height:r,$:m}}function Lh(t){return ln(t)?t:t.contextElement}function Is(t){const i=Lh(t);if(!Hn(i))return wn(1);const a=i.getBoundingClientRect(),{width:r,height:l,$:u}=hw(i);let f=(u?Nl(a.width):a.width)/r,m=(u?Nl(a.height):a.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!m||!Number.isFinite(m))&&(m=1),{x:f,y:m}}const pO=wn(0);function mw(t){const i=Lt(t);return!Ph()||!i.visualViewport?pO:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function gO(t,i,a){return i===void 0&&(i=!1),!a||i&&a!==Lt(t)?!1:i}function ts(t,i,a,r){i===void 0&&(i=!1),a===void 0&&(a=!1);const l=t.getBoundingClientRect(),u=Lh(t);let f=wn(1);i&&(r?ln(r)&&(f=Is(r)):f=Is(t));const m=gO(u,a,r)?mw(u):wn(0);let g=(l.left+m.x)/f.x,p=(l.top+m.y)/f.y,y=l.width/f.x,x=l.height/f.y;if(u){const b=Lt(u),T=r&&ln(r)?Lt(r):r;let E=b,M=Vd(E);for(;M&&r&&T!==E;){const j=Is(M),C=M.getBoundingClientRect(),k=cn(M),O=C.left+(M.clientLeft+parseFloat(k.paddingLeft))*j.x,L=C.top+(M.clientTop+parseFloat(k.paddingTop))*j.y;g*=j.x,p*=j.y,y*=j.x,x*=j.y,g+=O,p+=L,E=Lt(M),M=Vd(E)}}return Ol({width:y,height:x,x:g,y:p})}function tc(t,i){const a=ec(t).scrollLeft;return i?i.left+a:ts(Sn(t)).left+a}function pw(t,i){const a=t.getBoundingClientRect(),r=a.left+i.scrollLeft-tc(t,a),l=a.top+i.scrollTop;return{x:r,y:l}}function yO(t){let{elements:i,rect:a,offsetParent:r,strategy:l}=t;const u=l==="fixed",f=Sn(r),m=i?Jl(i.floating):!1;if(r===f||m&&u)return a;let g={scrollLeft:0,scrollTop:0},p=wn(1);const y=wn(0),x=Hn(r);if((x||!x&&!u)&&((ra(r)!=="body"||Dr(f))&&(g=ec(r)),x)){const T=ts(r);p=Is(r),y.x=T.x+r.clientLeft,y.y=T.y+r.clientTop}const b=f&&!x&&!u?pw(f,g):wn(0);return{width:a.width*p.x,height:a.height*p.y,x:a.x*p.x-g.scrollLeft*p.x+y.x+b.x,y:a.y*p.y-g.scrollTop*p.y+y.y+b.y}}function vO(t){return Array.from(t.getClientRects())}function xO(t){const i=Sn(t),a=ec(t),r=t.ownerDocument.body,l=kt(i.scrollWidth,i.clientWidth,r.scrollWidth,r.clientWidth),u=kt(i.scrollHeight,i.clientHeight,r.scrollHeight,r.clientHeight);let f=-a.scrollLeft+tc(t);const m=-a.scrollTop;return cn(r).direction==="rtl"&&(f+=kt(i.clientWidth,r.clientWidth)-l),{width:l,height:u,x:f,y:m}}const Z0=25;function bO(t,i){const a=Lt(t),r=Sn(t),l=a.visualViewport;let u=r.clientWidth,f=r.clientHeight,m=0,g=0;if(l){u=l.width,f=l.height;const y=Ph();(!y||y&&i==="fixed")&&(m=l.offsetLeft,g=l.offsetTop)}const p=tc(r);if(p<=0){const y=r.ownerDocument,x=y.body,b=getComputedStyle(x),T=y.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,E=Math.abs(r.clientWidth-x.clientWidth-T);E<=Z0&&(u-=E)}else p<=Z0&&(u+=p);return{width:u,height:f,x:m,y:g}}function wO(t,i){const a=ts(t,!0,i==="fixed"),r=a.top+t.clientTop,l=a.left+t.clientLeft,u=Hn(t)?Is(t):wn(1),f=t.clientWidth*u.x,m=t.clientHeight*u.y,g=l*u.x,p=r*u.y;return{width:f,height:m,x:g,y:p}}function W0(t,i,a){let r;if(i==="viewport")r=bO(t,a);else if(i==="document")r=xO(Sn(t));else if(ln(i))r=wO(i,a);else{const l=mw(t);r={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return Ol(r)}function gw(t,i){const a=ji(t);return a===i||!ln(a)||ea(a)?!1:cn(a).position==="fixed"||gw(a,i)}function SO(t,i){const a=i.get(t);if(a)return a;let r=Tr(t,[],!1).filter(m=>ln(m)&&ra(m)!=="body"),l=null;const u=cn(t).position==="fixed";let f=u?ji(t):t;for(;ln(f)&&!ea(f);){const m=cn(f),g=kh(f);!g&&m.position==="fixed"&&(l=null),(u?!g&&!l:!g&&m.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||Dr(f)&&!g&&gw(t,f))?r=r.filter(y=>y!==f):l=m,f=ji(f)}return i.set(t,r),r}function TO(t){let{element:i,boundary:a,rootBoundary:r,strategy:l}=t;const f=[...a==="clippingAncestors"?Jl(i)?[]:SO(i,this._c):[].concat(a),r],m=W0(i,f[0],l);let g=m.top,p=m.right,y=m.bottom,x=m.left;for(let b=1;b<f.length;b++){const T=W0(i,f[b],l);g=kt(T.top,g),p=Ei(T.right,p),y=Ei(T.bottom,y),x=kt(T.left,x)}return{width:p-x,height:y-g,x,y:g}}function AO(t){const{width:i,height:a}=hw(t);return{width:i,height:a}}
vendor: 4,580 bytes, line 17
17function EO(t,i,a){const r=Hn(i),l=Sn(i),u=a==="fixed",f=ts(t,!0,u,i);let m={scrollLeft:0,scrollTop:0};const g=wn(0);function p(){g.x=tc(l)}if(r||!r&&!u)if((ra(i)!=="body"||Dr(l))&&(m=ec(i)),r){const T=ts(i,!0,u,i);g.x=T.x+i.clientLeft,g.y=T.y+i.clientTop}else l&&p();u&&!r&&l&&p();const y=l&&!r&&!u?pw(l,m):wn(0),x=f.left+m.scrollLeft-g.x-y.x,b=f.top+m.scrollTop-g.y-y.y;return{x,y:b,width:f.width,height:f.height}}function Ff(t){return cn(t).position==="static"}function I0(t,i){if(!Hn(t)||cn(t).position==="fixed")return null;if(i)return i(t);let a=t.offsetParent;return Sn(t)===a&&(a=a.ownerDocument.body),a}function yw(t,i){const a=Lt(t);if(Jl(t))return a;if(!Hn(t)){let l=ji(t);for(;l&&!ea(l);){if(ln(l)&&!Ff(l))return l;l=ji(l)}return a}let r=I0(t,i);for(;r&&fO(r)&&Ff(r);)r=I0(r,i);return r&&ea(r)&&Ff(r)&&!kh(r)?a:r||mO(t)||a}const jO=async function(t){const i=this.getOffsetParent||yw,a=this.getDimensions,r=await a(t.floating);return{reference:EO(t.reference,await i(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function MO(t){return cn(t).direction==="rtl"}const CO={convertOffsetParentRelativeRectToViewportRelativeRect:yO,getDocumentElement:Sn,getClippingRect:TO,getOffsetParent:yw,getElementRects:jO,getClientRects:vO,getDimensions:AO,getScale:Is,isElement:ln,isRTL:MO};function vw(t,i){return t.x===i.x&&t.y===i.y&&t.width===i.width&&t.height===i.height}function RO(t,i){let a=null,r;const l=Sn(t);function u(){var m;clearTimeout(r),(m=a)==null||m.disconnect(),a=null}function f(m,g){m===void 0&&(m=!1),g===void 0&&(g=1),u();const p=t.getBoundingClientRect(),{left:y,top:x,width:b,height:T}=p;if(m||i(),!b||!T)return;const E=rl(x),M=rl(l.clientWidth-(y+b)),j=rl(l.clientHeight-(x+T)),C=rl(y),O={rootMargin:-E+"px "+-M+"px "+-j+"px "+-C+"px",threshold:kt(0,Ei(1,g))||1};let L=!0;function z(K){const Z=K[0].intersectionRatio;if(Z!==g){if(!L)return f();Z?f(!1,Z):r=setTimeout(()=>{f(!1,1e-7)},1e3)}Z===1&&!vw(p,t.getBoundingClientRect())&&f(),L=!1}try{a=new IntersectionObserver(z,{...O,root:l.ownerDocument})}catch{a=new IntersectionObserver(z,O)}a.observe(t)}return f(!0),u}function NO(t,i,a,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=Lh(t),y=l||u?[...p?Tr(p):[],...i?Tr(i):[]]:[];y.forEach(C=>{l&&C.addEventListener("scroll",a,{passive:!0}),u&&C.addEventListener("resize",a)});const x=p&&m?RO(p,a):null;let b=-1,T=null;f&&(T=new ResizeObserver(C=>{let[k]=C;k&&k.target===p&&T&&i&&(T.unobserve(i),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var O;(O=T)==null||O.observe(i)})),a()}),p&&!g&&T.observe(p),i&&T.observe(i));let E,M=g?ts(t):null;g&&j();function j(){const C=ts(t);M&&!vw(M,C)&&a(),M=C,E=requestAnimationFrame(j)}return a(),()=>{var C;y.forEach(k=>{l&&k.removeEventListener("scroll",a),u&&k.removeEventListener("resize",a)}),x?.(),(C=T)==null||C.disconnect(),T=null,g&&cancelAnimationFrame(E)}}const DO=oO,OO=lO,_O=sO,kO=uO,PO=aO,$0=iO,LO=cO,VO=(t,i,a)=>{const r=new Map,l={platform:CO,...a},u={...l.platform,_c:r};return nO(t,i,{...l,platform:u})};var zO=typeof document<"u",BO=function(){},yl=zO?S.useLayoutEffect:BO;function _l(t,i){if(t===i)return!0;if(typeof t!=typeof i)return!1;if(typeof t=="function"&&t.toString()===i.toString())return!0;let a,r,l;if(t&&i&&typeof t=="object"){if(Array.isArray(t)){if(a=t.length,a!==i.length)return!1;for(r=a;r--!==0;)if(!_l(t[r],i[r]))return!1;return!0}if(l=Object.keys(t),a=l.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!{}.hasOwnProperty.call(i,l[r]))return!1;for(r=a;r--!==0;){const u=l[r];if(!(u==="_owner"&&t.$$typeof)&&!_l(t[u],i[u]))return!1}return!0}return t!==t&&i!==i}function xw(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function J0(t,i){const a=xw(t);return Math.round(i*a)/a}function Kf(t){const i=S.useRef(t);return yl(()=>{i.current=t}),i}function UO(t){t===void 0&&(t={});const{placement:i="bottom",strategy:a="absolute",middleware:r=[],platform:l,elements:{reference:u,floating:f}={},transform:m=!0,whileElementsMounted:g,open:p}=t,[y,x]=S.useState({x:0,y:0,strategy:a,placement:i,middlewareData:{},isPositioned:!1}),[b,T]=S.useState(r);_l(b,r)||T(r);const[E,M]=S.useState(null),[j,C]=S.useState(null),k=S.useCallback(X=>{X!==K.current&&(K.current=X,M(X))},[]),O=S.useCallback(X=>{X!==Z.current&&(Z.current=X,C(X))},[]),L=u||E,z=f||j,K=S.useRef(null),Z=S.useRef(null),H=S.useRef(y),I=g!=null,W=Kf(g),oe=Kf(l),le=Kf(p),ye=S.useCallback(()=>
vendor: 4,099 bytes, line 17
17{if(!K.current||!Z.current)return;const X={placement:i,strategy:a,middleware:b};oe.current&&(X.platform=oe.current),VO(K.current,Z.current,X).then(te=>{const A={...te,isPositioned:le.current!==!1};J.current&&!_l(H.current,A)&&(H.current=A,Fl.flushSync(()=>{x(A)}))})},[b,i,a,oe,le]);yl(()=>{p===!1&&H.current.isPositioned&&(H.current.isPositioned=!1,x(X=>({...X,isPositioned:!1})))},[p]);const J=S.useRef(!1);yl(()=>(J.current=!0,()=>{J.current=!1}),[]),yl(()=>{if(L&&(K.current=L),z&&(Z.current=z),L&&z){if(W.current)return W.current(L,z,ye);ye()}},[L,z,ye,W,I]);const ue=S.useMemo(()=>({reference:K,floating:Z,setReference:k,setFloating:O}),[k,O]),_=S.useMemo(()=>({reference:L,floating:z}),[L,z]),Q=S.useMemo(()=>{const X={position:a,left:0,top:0};if(!_.floating)return X;const te=J0(_.floating,y.x),A=J0(_.floating,y.y);return m?{...X,transform:"translate("+te+"px, "+A+"px)",...xw(_.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:te,top:A}},[a,m,_.floating,y.x,y.y]);return S.useMemo(()=>({...y,update:ye,refs:ue,elements:_,floatingStyles:Q}),[y,ye,ue,_,Q])}const HO=t=>{function i(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:t,fn(a){const{element:r,padding:l}=typeof t=="function"?t(a):t;return r&&i(r)?r.current!=null?$0({element:r.current,padding:l}).fn(a):{}:r?$0({element:r,padding:l}).fn(a):{}}}},qO=(t,i)=>{const a=DO(t);return{name:a.name,fn:a.fn,options:[t,i]}},YO=(t,i)=>{const a=OO(t);return{name:a.name,fn:a.fn,options:[t,i]}},GO=(t,i)=>({fn:LO(t).fn,options:[t,i]}),XO=(t,i)=>{const a=_O(t);return{name:a.name,fn:a.fn,options:[t,i]}},FO=(t,i)=>{const a=kO(t);return{name:a.name,fn:a.fn,options:[t,i]}},KO=(t,i)=>{const a=PO(t);return{name:a.name,fn:a.fn,options:[t,i]}},QO=(t,i)=>{const a=HO(t);return{name:a.name,fn:a.fn,options:[t,i]}};var ZO="Arrow",bw=S.forwardRef((t,i)=>{const{children:a,width:r=10,height:l=5,...u}=t;return h.jsx(Tt.svg,{...u,ref:i,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?a:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});bw.displayName=ZO;var WO=bw;function IO(t){const[i,a]=S.useState(void 0);return Ai(()=>{if(t){a({width:t.offsetWidth,height:t.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=t.offsetWidth,m=t.offsetHeight;a({width:f,height:m})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else a(void 0)},[t]),i}var ww="Popper",[Sw,Tw]=Kl(ww),[B5,Aw]=Sw(ww),Ew="PopperAnchor",jw=S.forwardRef((t,i)=>{const{__scopePopper:a,virtualRef:r,...l}=t,u=Aw(Ew,a),f=S.useRef(null),m=on(i,f),g=S.useRef(null);return S.useEffect(()=>{const p=g.current;g.current=r?.current||f.current,p!==g.current&&u.onAnchorChange(g.current)}),r?null:h.jsx(Tt.div,{...l,ref:m})});jw.displayName=Ew;var Vh="PopperContent",[$O,JO]=Sw(Vh),Mw=S.forwardRef((t,i)=>{const{__scopePopper:a,side:r="bottom",sideOffset:l=0,align:u="center",alignOffset:f=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:p=[],collisionPadding:y=0,sticky:x="partial",hideWhenDetached:b=!1,updatePositionStrategy:T="optimized",onPlaced:E,...M}=t,j=Aw(Vh,a),[C,k]=S.useState(null),O=on(i,ze=>k(ze)),[L,z]=S.useState(null),K=IO(L),Z=K?.width??0,H=K?.height??0,I=r+(u!=="center"?"-"+u:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},oe=Array.isArray(p)?p:[p],le=oe.length>0,ye={padding:W,boundary:oe.filter(t3),altBoundary:le},{refs:J,floatingStyles:ue,placement:_,isPositioned:Q,middlewareData:X}=UO({strategy:"fixed",placement:I,whileElementsMounted:(...ze)=>NO(...ze,{animationFrame:T==="always"}),elements:{reference:j.anchor},middleware:[qO({mainAxis:l+H,alignmentAxis:f}),g&&YO({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?GO():void 0,...ye}),g&&XO({...ye}),FO({...ye,apply:({elements:ze,rects:Ce,availableWidth:Re,availableHeight:qn})=>{const{width:Wt,height:un}=Ce.reference,Vt=ze.floating.style;Vt.setProperty("--radix-popper-available-width",`${Re}px`),Vt.setProperty("--radix-popper-available-height",`${qn}
17px`),Vt.setProperty("--radix-popper-anchor-width",`${Wt}px`),Vt.setProperty("--radix-popper-anchor-height",`${un}px`)}}),L&&QO({element:L,padding:m}),n3({arrowWidth:Z,arrowHeight:H}),b&&KO({strategy:"referenceHidden",...ye})]}),[te,A]=Nw(_),Y=Ti(E);Ai(()=>{Q&&Y?.()},[Q,Y]);const ee=X.arrow?.x,$=X.arrow?.y,ce=X.arrow?.centerOffset!==0,[he,re]=S.useState();return Ai(()=>{C&&re(window.getComputedStyle(C).zIndex)},[C]),h.jsx("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...ue,transform:Q?ue.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[X.transformOrigin?.x,X.transformOrigin?.y].join(" "),...X.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:h.jsx($O,{scope:a,placedSide:te,onArrowChange:z,arrowX:ee,arrowY:$,shouldHideArrow:ce,children:h.jsx(Tt.div,{"data-side":te,"data-align":A,...M,ref:O,style:{...M.style,animation:Q?void 0:"none"}})})})});Mw.displayName=Vh;var Cw="PopperArrow",e3={top:"bottom",right:"left",bottom:"top",left:"right"},Rw=S.forwardRef(function(i,a){const{__scopePopper:r,...l}=i,u=JO(Cw,r),f=e3[u.placedSide];return h.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:h.jsx(WO,{...l,ref:a,style:{...l.style,display:"block"}})})});Rw.displayName=Cw;function t3(t){return t!==null}var n3=t=>({name:"transformOrigin",options:t,fn(i){const{placement:a,rects:r,middlewareData:l}=i,f=l.arrow?.centerOffset!==0,m=f?0:t.arrowWidth,g=f?0:t.arrowHeight,[p,y]=Nw(a),x={start:"0%",center:"50%",end:"100%"}[y],b=(l.arrow?.x??0)+m/2,T=(l.arrow?.y??0)+g/2;let E="",M="";return p==="bottom"?(E=f?x:`${b}px`,M=`${-g}px`):p==="top"?(E=f?x:`${b}px`,M=`${r.floating.height+g}px`):p==="right"?(E=`${-g}px`,M=f?x:`${T}px`):p==="left"&&(E=`${r.floating.width+g}px`,M=f?x:`${T}px`),{data:{x:E,y:M}}}});function Nw(t){const[i,a="center"]=t.split("-");return[i,a]}var i3=jw,s3=Mw,a3=Rw,[nc]=Kl("Tooltip",[Tw]),zh=Tw(),Dw="TooltipProvider",r3=700,ex="tooltip.open",[o3,Ow]=nc(Dw),_w=t=>{const{__scopeTooltip:i,delayDuration:a=r3,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:u}=t,f=S.useRef(!0),m=S.useRef(!1),g=S.useRef(0);return S.useEffect(()=>{const p=g.current;return()=>window.clearTimeout(p)},[]),h.jsx(o3,{scope:i,isOpenDelayedRef:f,delayDuration:a,onOpen:S.useCallback(()=>{window.clearTimeout(g.current),f.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>f.current=!0,r)},[r]),isPointerInTransitRef:m,onPointerInTransitChange:S.useCallback(p=>{m.current=p},[]),disableHoverableContent:l,children:u})};_w.displayName=Dw;var kw="Tooltip",[U5,Or]=nc(kw),zd="TooltipTrigger",l3=S.forwardRef((t,i)=>{const{__scopeTooltip:a,...r}=t,l=Or(zd,a),u=Ow(zd,a),f=zh(a),m=S.useRef(null),g=on(i,m,l.onTriggerChange),p=S.useRef(!1),y=S.useRef(!1),x=S.useCallback(()=>p.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),h.jsx(i3,{asChild:!0,...f,children:h.jsx(Tt.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:g,onPointerMove:Je(t.onPointerMove,b=>{b.pointerType!=="touch"&&!y.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:Je(t.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:Je(t.onPointerDown,()=>{l.open&&l.onClose(),p.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:Je(t.onFocus,()=>{p.current||l.onOpen()}),onBlur:Je(t.onBlur,l.onClose),onClick:Je(t.onClick,l.onClose)})})});l3.displayName=zd;var Bh="TooltipPortal",[c3,u3]=nc(Bh,{forceMount:void 0}),Pw=t=>{const{__scopeTooltip:i,forceMount:a,children:r,container:l}=t,u=Or(Bh,i);return h.jsx(c3,{scope:i,forceMount:a,children:h.jsx(Ql,{present:a||u.open,children:h.jsx(Ah,{asChild:!0,container:l,children:r})})})};Pw.displayName=Bh;var ta="TooltipContent",Lw=S.forwardRef((t,i)=>{const a=u3(ta,t.__scopeTooltip),{forceMount:r=a.forceMount,side:l="top",...u}=t,f=Or(ta,t.__scopeTooltip);return h.jsx(Ql,{present:r||f.open,children:f.disableHoverableContent?h.jsx(Vw,{side:l,...u,ref:i}):h.jsx(f3,{side:l,...u,ref:i})})}),f3=S.forwardRef((t,i)=>{const a=Or(ta,t.__scopeTooltip),r=Ow(ta,t.__scopeTooltip),l=S.useRef(null),u=on(i,l),[f,m]=S.useState(null),{trigger:g,onClose:p}=a,y=l.current,{onPointerInTransitChange:x}=r,b=S.useCallback(()=>{m(null),x(!1)},[x]),T=S.useCallback((E,M)=>{const j=E.currentTarget,C={x:E.clientX,y:E.clientY},k=g3(C,j.getBoundingClientRect()),O=y3(C,k),L=v3(M.getBoundingClientRect()),z=b3([...O,...L]);m(z),x(!0)},[x]);return S.useEffect(()=>()=>b(),[b]),S.useEffect(()=>{if(g&&y){const E=j=>T(j,y),M=j=>T(j,g);return g.addEventListener("pointerleave",E),y.addEventListener("pointerleave",M),()=>{g.removeEventListener("pointerleave",E),y.removeEventListener("pointerleave",M)}}},[g,y,T,b]),S.useEffect(()=>{if(f){const E=M=>{const j=M.target,C={x:M.clientX,y:M.clientY},k=g?.contains(j)||y?.contains(j),O=!x3(C,f);k?b():O&&(b(),p())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[g,y,f,p,b]),h.jsx(Vw,{...t,ref:u})}),[d3,h3]=nc(kw,{isInside:!1}),m3=WR("TooltipContent"),Vw=S.forwardRef((t,i)=>{const{__scopeTooltip:a,children:r,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:f,...m}=t,g=Or(ta,a),p=zh(a),{onClose:y}=g;return S.useEffect(()=>(document.addEventListener(ex,y),()=>document.removeEventListener(ex,y)),[y]),S.useEffect(()=>{if(g.trigger){const x=b=>{b.target?.contains(g.trigger)&&y()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[g.trigger,y]),h.jsx(Th,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:x=>x.preventDefault(),onDismiss:y,children:h.jsxs(s3,{"data-state":g.
17stateAttribute,...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:[h.jsx(m3,{children:r}),h.jsx(d3,{scope:a,isInside:!0,children:h.jsx(wN,{id:g.contentId,role:"tooltip",children:l||r})})]})})});Lw.displayName=ta;var zw="TooltipArrow",p3=S.forwardRef((t,i)=>{const{__scopeTooltip:a,...r}=t,l=zh(a);return h3(zw,a).isInside?null:h.jsx(a3,{...l,...r,ref:i})});p3.displayName=zw;function g3(t,i){const a=Math.abs(i.top-t.y),r=Math.abs(i.bottom-t.y),l=Math.abs(i.right-t.x),u=Math.abs(i.left-t.x);switch(Math.min(a,r,l,u)){case u:return"left";case l:return"right";case a:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function y3(t,i,a=5){const r=[];switch(i){case"top":r.push({x:t.x-a,y:t.y+a},{x:t.x+a,y:t.y+a});break;case"bottom":r.push({x:t.x-a,y:t.y-a},{x:t.x+a,y:t.y-a});break;case"left":r.push({x:t.x+a,y:t.y-a},{x:t.x+a,y:t.y+a});break;case"right":r.push({x:t.x-a,y:t.y-a},{x:t.x-a,y:t.y+a});break}return r}function v3(t){const{top:i,right:a,bottom:r,left:l}=t;return[{x:l,y:i},{x:a,y:i},{x:a,y:r},{x:l,y:r}]}function x3(t,i){const{x:a,y:r}=t;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,x=g.x,b=g.y;y>r!=b>r&&a<(x-p)*(r-y)/(b-y)+p&&(l=!l)}return l}function b3(t){const i=t.slice();return i.sort((a,r)=>a.x<r.x?-1:a.x>r.x?1:a.y<r.y?-1:a.y>r.y?1:0),w3(i)}function w3(t){if(t.length<=1)return t.slice();const i=[];for(let r=0;r<t.length;r++){const l=t[r];for(;i.length>=2;){const u=i[i.length-1],f=i[i.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))i.pop();else break}i.push(l)}i.pop();const a=[];for(let r=t.length-1;r>=0;r--){const l=t[r];for(;a.length>=2;){const u=a[a.length-1],f=a[a.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))a.pop();else break}a.push(l)}return a.pop(),i.length===1&&a.length===1&&i[0].x===a[0].x&&i[0].y===a[0].y?i:i.concat(a)}var S3=_w,T3=Pw,Bw=Lw;const A3=S3,E3=S.forwardRef(({className:t,sideOffset:i=4,...a},r)=>h.jsx(T3,{children:h.jsx(Bw,{ref:r,sideOffset:i,className:At("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",t),...a})}));E3.displayName=Bw.displayName;const j3={initial:{opacity:0,y:12},animate:{opacity:1,y:0},exit:{opacity:0,y:-8}},M3={duration:.35,ease:[.22,1,.36,1]};function C3({children:t}){return h.jsx(pe.div,{variants:j3,initial:"initial",animate:"animate",exit:"exit",transition:M3,children:t})}const R3="/".replace(/\/$/,""),N3=S.createContext(null);function D3(){try{const t=localStorage.getItem("dmm_client_token"),i=localStorage.getItem("dmm_client_user"),a=i?JSON.parse(i):null;return{token:t,client:a}}catch{return{token:null,client:null}}}function O3({children:t}){const[i,a]=S.useState(D3),r=S.useCallback((f,m)=>{localStorage.setItem("dmm_client_token",f),localStorage.setItem("dmm_client_user",JSON.stringify(m)),a({token:f,client:m})},[]),l=S.useCallback(async(f,m)=>{const g=await fetch(`${R3}/api/client-portal/auth/login`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:f,password:m})});if(!g.ok){const y=await g.json().catch(()=>({}));throw Object.assign(new Error(y.error??"Login failed"),{code:y.code})}const p=await g.json();r(p.token,p.client)},[r]),u=S.useCallback(()=>{localStorage.removeItem("dmm_client_token"),localStorage.removeItem("dmm_client_user"),a({token:null,client:null})},[]);return h.jsx(N3.Provider,{value:{...i,login:l,logout:u,setAuth:r},children:t})}const _3="https://darkmattermedia.ai",k3="G-P4291TH065",P3=["darkmattermedia.ai","www.darkmattermedia.ai"],kl={primaryOrigin:_3,analyticsId:k3,allowedHostnames:P3};function ic(t){return kl.allowedHostnames.includes(t.toLowerCase())}var L3=Symbol.for("react.lazy"),Pl=Bd[" use ".trim().toString()];function V3(t){return typeof t=="object"&&t!==null&&"then"in t}function Uw(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===L3&&"_payload"in t&&V3(t._payload)}function z3(t){const i=U3(t),a=S.forwardRef((r,l)=>{let{children:u,...f}=r;Uw(u)&&typeof Pl=="function"&&(u=Pl(u._payload));const m=S.Children.toArray(u),g=m.find(q3);if(g){const p=g.props.children,y=m.map(x=>x===g?S.Children.count(p)>1?S.Children.only(null):S.isValidElement(p)?p.props.children:null:x);return h.jsx(i,{...f,ref:l,children:S.isValidElement(p)?S.cloneElement(p,void 0,y):null})}return h.jsx(i,{...f,ref:l,children:u})});return a.displayName=`${t}.Slot`,a}var B3=z3("Slot");function U3(t){const i=S.forwardRef((a,r)=>{let{children:l,...u}=a;if(Uw(l)&&typeof Pl=="function"&&(l=Pl(l._payload)),S.isValidElement(l)){const f=G3(l),m=Y3(u,l.props);return l.type!==S.Fragment&&(m.ref=r?Sh(r,f):f),S.cloneElement(l,m)}return S.Children.count(l)>1?S.Children.only(null):null});return i.displayName=`${t}.SlotClone`,i}var H3=Symbol("radix.slottable");function q3(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===H3}function Y3(t,i){const a={...i};for(const r in i){const l=t[r],u=i[r];/^on[A-Z]/.test(r)?l&&u?a[r]=(...m)=>{const g=u(...m);return l(...m),g}:l&&(a[r]=l):r==="style"?a[r]={...l,...u}
17:r==="className"&&(a[r]=[l,u].filter(Boolean).join(" "))}return{...t,...a}}function G3(t){let i=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?t.ref:(i=Object.getOwnPropertyDescriptor(t,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?t.props.ref:t.props.ref||t.ref)}const X3=q1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),bi=S.forwardRef(({className:t,variant:i,size:a,asChild:r=!1,...l},u)=>{const f=r?B3:"button";return h.jsx(f,{className:At(X3({variant:i,size:a,className:t})),ref:u,...l})});bi.displayName="Button";const tx="https://clienthub.getjobber.com/hubs/30088af2-b6d9-4ba7-b3b7-22c926a1f1b2/public/requests/4602840/new",nx=[{name:"Home",path:"/"},{name:"Services",path:"/services"},{name:"Work",path:"/work"},{name:"About",path:"/about"},{name:"Contact",path:"/contact"}];function F3(){const[t]=qd(),[i,a]=S.useState(!1),[r,l]=S.useState(!1);return S.useEffect(()=>{const u=()=>{a(window.scrollY>50)};return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),S.useEffect(()=>{l(!1)},[t]),h.jsxs(h.Fragment,{children:[h.jsx(pe.nav,{initial:{y:-100},animate:{y:0},transition:{duration:.6,ease:[.16,1,.3,1]},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${i?"bg-background/80 backdrop-blur-md border-b border-border/50 py-0":"bg-transparent py-0"}`,children:h.jsxs("div",{className:"container mx-auto px-6 flex items-center justify-between",children:[t!=="/"&&h.jsx(dt,{href:"/",children:h.jsx("div",{className:"flex items-center cursor-pointer relative -top-5 md:-top-9",children:h.jsx("img",{src:"/images/dmm-logo.png",alt:"Dark Matter Media",className:"h-10 md:h-16 w-auto object-contain scale-[1.5] md:scale-[2.2] origin-top-left"})})}),t==="/"&&h.jsx("div",{}),h.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[h.jsx("div",{className:"flex items-center gap-6",children:nx.map(u=>h.jsx(dt,{href:u.path,children:h.jsx("div",{className:`text-sm font-medium transition-colors hover:text-primary cursor-pointer ${t===u.path?"text-primary":"text-muted-foreground"}`,children:u.name})},u.path))}),h.jsx("a",{href:tx,target:"_blank",rel:"noopener noreferrer",children:h.jsx(bi,{className:"rounded-full px-6 bg-primary text-primary-foreground hover:bg-primary/90",children:"Book Consultation"})})]}),h.jsx("button",{className:"md:hidden text-foreground p-2 -mr-2",onClick:()=>l(!r),children:r?h.jsx(Ch,{size:24}):h.jsx(WN,{size:24})})]})}),h.jsx(Cr,{children:r&&h.jsxs(pe.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.2},className:"fixed inset-0 z-40 bg-background/95 backdrop-blur-xl pt-24 px-6 flex flex-col md:hidden",children:[h.jsx("div",{className:"flex flex-col gap-6 mt-8",children:nx.map(u=>h.jsx(dt,{href:u.path,children:h.jsx("div",{className:`text-3xl font-display font-bold tracking-tight ${t===u.path?"text-primary":"text-foreground"}`,children:u.name})},u.path))}),h.jsx("div",{className:"mt-12",children:h.jsx("a",{href:tx,target:"_blank",rel:"noopener noreferrer",children:h.jsx(bi,{size:"lg",className:"w-full rounded-full bg-primary text-primary-foreground",children:"Book Consultation"})})})]})})]})}function K3(){return h.jsx("footer",{className:"bg-background border-t border-border/40 pt-16 pb-8 text-sm",children:h.jsxs("div",{className:"container mx-auto px-6",children:[h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12 mb-16",children:[h.jsxs("div",{className:"md:col-span-2",children:[h.jsx(dt,{href:"/",children:h.jsx("div",{className:"mb-2 cursor-pointer relative -top-3 md:-top-5",children:h.jsx("img",{src:"/images/dmm-logo.png",alt:"Dark Matter Media",className:"h-10 md:h-16 w-auto object-contain scale-[1.5] md:scale-[2.2] origin-top-left"})})}),h.jsx("p",{className:"text-muted-foreground max-w-sm",children:"The unseen creative force behind your growth. We combine strategy, creative production, and performance tracking to turn attention into real business results."})]}),h.jsxs("div",{children:[h.jsx("h4",{className:"font-display font-bold text-foreground mb-6 uppercase tracking-wider text-xs",children:"Explore"}),h.jsxs("ul",{className:"space-y-4 text-muted-foreground",children:[h.jsx("li",{children:h.jsx(dt,{href:"/services",children:h.jsx("span",{className:"hover:text-primary transition-colors cursor-pointer",children:"Services"})})}),h.jsx("li",{children:h.jsx(dt,{href:"/work",children:h.jsx("span",{className:"hover:text-primary transition-colors cursor-pointer",children:"Work"})})}),h.jsx("li",{children:h.jsx(dt,{href:"/about",children:h.jsx("span",{className:"hover:text-primary transition-colors cursor-pointer",children:"About Us"})})}),h.jsx("li",{children:h.jsx(dt,{href:"/contact",children:h.jsx("span",{className:"hover:text-primary transition-colors cursor-pointer",children:"Contact"})})}),h.jsx("li",{className:"pt-2 border-t border-border/30",children:h.jsx(dt,{href:"/portal",children:h.jsx("span",{className:"hover:text-primary transition-colors cursor-pointer text-muted-foreground
17/70",children:"Client Portal"})})})]})]}),h.jsxs("div",{children:[h.jsx("h4",{className:"font-display font-bold text-foreground mb-6 uppercase tracking-wider text-xs",children:"Connect"}),h.jsxs("ul",{className:"space-y-4 text-muted-foreground",children:[h.jsx("li",{children:"316 SW 6th Ave"}),h.jsx("li",{children:"Amarillo, TX 79101"}),h.jsx("li",{children:"(806) 477-2042"}),h.jsx("li",{children:h.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors",children:"[email protected]"})}),h.jsx("li",{className:"pt-2 text-xs text-muted-foreground/60",children:"MonâFri 8amâ9pm"})]})]})]}),h.jsxs("div",{className:"pt-8 border-t border-border/40 flex flex-col md:flex-row items-center justify-between text-muted-foreground/60 text-xs gap-4",children:[h.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-4",children:[h.jsxs("p",{children:["© ",new Date().getFullYear()," Dark Matter Media. All rights reserved."]}),h.jsxs("div",{className:"flex items-center gap-4",children:[h.jsx(dt,{href:"/privacy-policy",children:h.jsx("span",{className:"hover:text-primary transition-colors cursor-pointer",children:"Privacy Policy"})}),h.jsx(dt,{href:"/terms-of-service",children:h.jsx("span",{className:"hover:text-primary transition-colors cursor-pointer",children:"Terms of Service"})})]})]}),h.jsxs("a",{href:"/office/",className:"mt-4 md:mt-0 flex items-center gap-1.5 text-muted-foreground/40 hover:text-muted-foreground/80 transition-colors",children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),h.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),"Admin Login"]})]})]})})}const Q3="https://clienthub.getjobber.com/hubs/30088af2-b6d9-4ba7-b3b7-22c926a1f1b2/public/requests/4602840/new";function Z3(){return h.jsxs("section",{className:"py-24 md:py-32 relative overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 bg-secondary/30"}),h.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-3xl h-[1px] bg-gradient-to-r from-transparent via-primary/50 to-transparent"}),h.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] bg-primary/5 rounded-full blur-[120px] pointer-events-none"}),h.jsx("div",{className:"container mx-auto px-6 relative z-10 text-center",children:h.jsxs(pe.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,ease:"easeOut"},className:"max-w-2xl mx-auto",children:[h.jsxs("h2",{className:"text-4xl md:text-6xl font-display font-bold mb-6",children:["Ready to pull ",h.jsx("span",{className:"text-primary",children:"gravity"})," your way?"]}),h.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-10",children:"Pretty videos are easy. Results are not. Let's build something that actually drives your business forward."}),h.jsx("a",{href:Q3,target:"_blank",rel:"noopener noreferrer",children:h.jsxs(bi,{size:"lg",className:"rounded-full px-8 py-6 text-lg bg-primary text-primary-foreground hover:bg-primary/90 group",children:["Get a Free Consultation",h.jsx("span",{className:"ml-2 transition-transform group-hover:translate-x-1",children:"â"})]})})]})})]})}const Qf=768;function W3(){const[t,i]=S.useState(void 0);return S.useEffect(()=>{const a=window.matchMedia(`(max-width: ${Qf-1}px)`),r=()=>{i(window.innerWidth<Qf)};return a.addEventListener("change",r),i(window.innerWidth<Qf),()=>a.removeEventListener("change",r)},[]),!!t}function I3(t){const i=S.useRef(null);return S.useEffect(()=>{const a=i.current;if(!a)return;const r=a.getContext("2d");if(!r)return;const l=t?1:Math.min(window.devicePixelRatio||1,2),u=t?{bg:60,mid:45,fg:20,dust:30}:{bg:200,mid:180,fg:80,dust:120},f=t?1e3/30:0,m=()=>{a.width=window.innerWidth*l,a.height=window.innerHeight*l,a.style.width=`${window.innerWidth}px`,a.style.height=`${window.innerHeight}px`,r.setTransform(l,0,0,l,0,0)};m(),window.addEventListener("resize",m);const g=[...Array.from({length:u.bg},()=>({x:Math.random()*window.innerWidth,y:Math.random()*window.innerHeight,r:Math.random()*.6+.1,baseOpacity:Math.random()*.4+.12,t
17winkleSpeed:Math.random()*.3+.1,twinkleOffset:Math.random()*Math.PI*2,driftX:(Math.random()-.5)*.025,driftY:(Math.random()-.5)*.012,layer:0,flareTimer:Math.random()*300,flareDuration:0})),...Array.from({length:u.mid},()=>({x:Math.random()*window.innerWidth,y:Math.random()*window.innerHeight,r:Math.random()*1.1+.35,baseOpacity:Math.random()*.55+.25,twinkleSpeed:Math.random()*.6+.22,twinkleOffset:Math.random()*Math.PI*2,driftX:(Math.random()-.5)*.055,driftY:(Math.random()-.5)*.028,layer:1,flareTimer:Math.random()*400,flareDuration:0})),...Array.from({length:u.fg},()=>({x:Math.random()*window.innerWidth,y:Math.random()*window.innerHeight,r:Math.random()*1.2+.9,baseOpacity:Math.random()*.65+.35,twinkleSpeed:Math.random()*.9+.45,twinkleOffset:Math.random()*Math.PI*2,driftX:(Math.random()-.5)*.11,driftY:(Math.random()-.5)*.055,layer:2,flareTimer:Math.random()*500,flareDuration:0}))],p=Array.from({length:u.dust},()=>({x:Math.random()*window.innerWidth,y:Math.random()*window.innerHeight,r:Math.random()*.45+.1,speedX:(Math.random()-.5)*.3,speedY:(Math.random()-.5)*.15,opacity:Math.random()*.22+.06}));let y=0,x=0,b=0;const T=E=>{if(x=requestAnimationFrame(T),f&&E-b<f)return;b=E,y+=.016;const M=window.innerWidth,j=window.innerHeight;r.clearRect(0,0,M,j),r.shadowBlur=0;for(const C of p)C.x=(C.x+C.speedX+M)%M,C.y=(C.y+C.speedY+j)%j,r.beginPath(),r.arc(C.x,C.y,C.r,0,Math.PI*2),r.fillStyle=`rgba(170,210,255,${C.opacity})`,r.fill();for(const C of g){const k=.38+.62*Math.sin(y*C.twinkleSpeed+C.twinkleOffset),O=((C.x+C.driftX*y*14)%M+M)%M,L=((C.y+C.driftY*y*14)%j+j)%j;let z=1;C.layer===2&&(C.flareTimer-=1,C.flareTimer<=0&&C.flareDuration<=0&&(C.flareDuration=40+Math.random()*30,C.flareTimer=500+Math.random()*800),C.flareDuration>0&&(C.flareDuration-=1,z=1+2.5*Math.sin((1-C.flareDuration/40)*Math.PI)));const K=Math.min(1,C.baseOpacity*k*z);r.beginPath(),r.arc(O,L,C.r*(C.layer===2?z*.4+.6:1),0,Math.PI*2),t?(r.shadowBlur=0,C.layer===2?r.fillStyle=`rgba(120,220,255,${K})`:C.layer===1?r.fillStyle=`rgba(210,232,255,${K})`:r.fillStyle=`rgba(190,208,238,${K})`):C.layer===2?(r.fillStyle=`rgba(120,220,255,${K})`,r.shadowColor=z>1.5?"rgba(0,200,255,1)":"rgba(0,183,255,0.88)",r.shadowBlur=C.r*7*z):C.layer===1?(r.fillStyle=`rgba(210,232,255,${K})`,r.shadowColor="rgba(100,180,255,0.45)",r.shadowBlur=K>.45?4:0):(r.fillStyle=`rgba(190,208,238,${K})`,r.shadowBlur=0),r.fill()}};return x=requestAnimationFrame(T),()=>{cancelAnimationFrame(x),window.removeEventListener("resize",m)}},[t]),i}function Kt({delay:t,duration:i,top:a,left:r,angle:l,repeatDelay:u,length:f=160,brightness:m=.9}){return h.jsx(pe.div,{className:"absolute pointer-events-none",style:{top:a,left:r,width:f,height:2,background:`linear-gradient(to right, transparent 0%, rgba(0,230,255,${m}) 45%, rgba(255,255,255,${m}) 75%, transparent 100%)`,rotate:l,borderRadius:2,boxShadow:`0 0 12px rgba(0,210,255,${m*.7}), 0 0 30px rgba(0,183,255,${m*.35})`,originX:"0%"},initial:{scaleX:0,opacity:0,x:-30},animate:{scaleX:[0,1,.15],opacity:[0,m,0],x:[0,f*1.4,f*3]},transition:{duration:i,delay:t,repeat:1/0,repeatDelay:u,ease:[.15,.55,.85,1]}})}function Zf({cx:t,cy:i,delay:a,duration:r,color:l}){return h.jsx(pe.div,{className:"absolute pointer-events-none rounded-full",style:{left:t,top:i,transform:"translate(-50%, -50%)",width:20,height:20,border:`1px solid ${l}`,boxShadow:`0 0 14px ${l}, inset 0 0 14px ${l}`},animate:{scale:[.5,18],opacity:[.7,0]},transition:{duration:r,delay:a,repeat:1/0,repeatDelay:r*.6,ease:"easeOut"}})}function ix({cx:t,cy:i,color:a,duration:r,delay:l,scaleX:u,scaleY:f}){return h.jsx(pe.div,{className:"absolute pointer-events-none rounded-full",style:{left:t,top:i,transform:"translate(-50%, -50%)",width:700,height:700,background:`conic-gradient(from 0deg, transparent 0%, ${a} 12%, transparent 25%, transparent 100%)`,filter:"blur(50px)",scaleX:u,scaleY:f},animate:{rotate:[0,360]},transition:{duration:r,delay:l,repeat:1/0,ease:"linear"}})}function $3(){const t=W3(),i=I3(t);return h.jsxs("div",{className:"fixed inset-0 pointer-events-none overflow-hidden",style:{zIndex:0},children:[h.jsx("canvas",{ref:i,className:"absolute inset-0 w-full h-full",style:{opacity:.95}}),!t&&h.jsxs(h.Fragment,{children:[h.jsx(ix,{cx:"62%",cy:"42%",color:"rgba(0,183,255,0.14)",duration:55,delay:0,scaleX:1.6,scaleY:.9}),h.jsx(ix,{cx:"62%",cy:"42%",color:"rgba(100,50,220,0.11)",duration:70,delay:10,scaleX:1.3,scaleY:1.1})]}),h.jsx(pe.div,{className:"absolute rounded-full",style:{width:900,height:800,top:"-22%",left:"-16%",background:"radial-gradient(ellipse at 55% 50%, rgba(0,183,255,0.18) 0%, rgba(0,100,200,0.09) 50%, transparent 72%)",filter:"blur(65px)"},animate:{x:[0,60,-30,0],y:[0,42,-20,0],scale:[1,1.08,.96,1]},transition:{duration:24,repeat:1/0,ease:"easeInOut"}}),h.jsx(pe.div,{className:"absolute rounded-full",style:{width:1e3,height:900,bottom:"-26%",right:"-20%",background:"radial-gradient(ellipse at 45% 55%, rgba(100,40,220,0.20) 0%, rgba(50,20,150,0.10) 52%, transparent 74%)",filter:"blur(85px)"},animate:{x:[0,-65,28,0],y:[0,-42,22,0],scale:[1,1.09,.95,1]},transition:{duration:30,repeat:1/0,ease:"easeInOut",delay:6}}),!t&&h.jsxs(h.Fragment,{children:[h.jsx(pe.div,{className:"absolute rounded-full",style:{width:580,height:580,top:"26%",right:"2%",background:"radial-gradient(ellipse at center, rgba(0,210,255,0.14) 0%, rgba(0,140,200,0.07) 50%, transparent 70%)",filter:"blur(52px)"},animate:{x:[0,42,-22,0],y:[0,-52,28,0],opacity:[.65,1,.78,.65]},transition:{duration:20,repeat:1/0,ease:"easeInOut",delay:11}}),h.jsx(pe.div,{className:"absolute rounded-full",style:{width:520,height:460,bottom:"3%",left:"5%",background:"radial-gradient(ellipse at center, rgba(140,60,255,0.16) 0%, rgba(80,30,180,0.07) 50%, transparent 67%)",filter:"blur(58px)"},animate:{x:[0,34,-16,0],y:[0,26,-36,0],opacity:[.55,1,.7,.55]},transition:{duration:26,repeat:1/0,ease:"easeInOut",delay:3}}),h.jsx(pe.div,{className:"absolute rounded-full",style:{width:750,height:650,top:"16%",left:"26%",background:"radial-gradient(ellipse at center, rgba(20,70,210,0.13) 0%, rgba(10,40,140,0.06) 55%, transparent 72%)",filter:"blur(78px)"},animate:{scale:[1,1.08,.97,1],opacity:[.55,1,.68,.55]},transition:{duration:18,repeat:1/0,ease:"easeInOut",delay:8}}),h.jsx(pe.div,{className:"absolute rounded-full",style:{width:460,height:420,top:"-6%",right:"16%",background:"radial-gradient(ellipse at center, rgba(180,60,255,0.14) 0%, rgba(120,30,200,0.07) 50%, transparent 68%)",filter:"blur(48px)"},animate:{x:[0,-28,14,0],y:[0,34,-12,0],opacity:[.5,.9,.62,.5]},transition:{duration:22,repeat:1/0,ease:"easeInOut",delay:14}}),h.jsx(pe.div,{className:"absolute rounded-full",style:{width:400,height:360,top:"50%",left:"1%",background:"radial-gradient(ellipse at center, rgba(0,220,190,0.12) 0%, transparent 65%)",filter:"blur(46px)"},animate:{x:[0,26,-12,0],y:[0,-32,18,0],opacity:[.45,.82,.55,.45]},transition:{duration:16,repeat:1/0,ease:"easeInOut",delay:5}}),h.jsx(pe.div,{className:"absolute rounded-full",style:{width:300,height:700,top:"20%",right:"-4%",background:"radial-gradient(ellipse at center, rgba(0,160,255,0.10) 0%, transparent 60%)",filter:"blur(44px)"},animate:{y:[0,40,-20,0],opacity:[.4,.78,.5,.4]},transition:{duration:14,repeat:1/0,ease:"easeInOut",delay:9}}),h.jsx(pe.div,{className:"absolute w-full",style:{height:260,top:0,background:"linear-gradient(to bottom, rgba(0,183,255,0.09) 0%, rgba(90,40,210,0.06) 55%, transparent 100%)",filter:"blur(22px)"}
17,animate:{opacity:[.55,1,.72,.55],scaleY:[1,1.18,.94,1]},transition:{duration:14,repeat:1/0,ease:"easeInOut"}}),h.jsx(pe.div,{className:"absolute w-full",style:{height:220,bottom:0,background:"linear-gradient(to top, rgba(100,40,220,0.10) 0%, rgba(0,120,220,0.05) 55%, transparent 100%)",filter:"blur(20px)"},animate:{opacity:[.45,.92,.6,.45],scaleY:[1,1.14,.96,1]},transition:{duration:18,repeat:1/0,ease:"easeInOut",delay:7}}),h.jsx(Zf,{cx:"62%",cy:"42%",delay:0,duration:5,color:"rgba(0,183,255,0.22)"}),h.jsx(Zf,{cx:"62%",cy:"42%",delay:1.8,duration:5,color:"rgba(0,150,255,0.15)"}),h.jsx(Zf,{cx:"62%",cy:"42%",delay:3.5,duration:5,color:"rgba(80,60,220,0.12)"})]}),h.jsx(Kt,{delay:4,duration:1,repeatDelay:18,top:"9%",left:"12%",angle:-22,length:220,brightness:1}),h.jsx(Kt,{delay:25,duration:1.2,repeatDelay:30,top:"60%",left:"6%",angle:-28,length:250,brightness:.9}),h.jsx(Kt,{delay:15,duration:1.5,repeatDelay:60,top:"2%",left:"28%",angle:-12,length:320,brightness:.95}),!t&&h.jsxs(h.Fragment,{children:[h.jsx(Kt,{delay:12,duration:.8,repeatDelay:24,top:"35%",left:"45%",angle:-17,length:170,brightness:.85}),h.jsx(Kt,{delay:38,duration:.9,repeatDelay:35,top:"20%",left:"68%",angle:-19,length:190,brightness:.88}),h.jsx(Kt,{delay:8,duration:.7,repeatDelay:42,top:"4%",left:"80%",angle:-14,length:140,brightness:.72}),h.jsx(Kt,{delay:20,duration:1.3,repeatDelay:28,top:"75%",left:"30%",angle:-31,length:280,brightness:.78}),h.jsx(Kt,{delay:47,duration:.9,repeatDelay:48,top:"45%",left:"88%",angle:-23,length:160,brightness:.82}),h.jsx(Kt,{delay:32,duration:1.1,repeatDelay:40,top:"16%",left:"38%",angle:-18,length:200,brightness:.68}),h.jsx(Kt,{delay:55,duration:.8,repeatDelay:52,top:"85%",left:"58%",angle:-25,length:180,brightness:.75}),h.jsx(Kt,{delay:70,duration:1,repeatDelay:65,top:"55%",left:"22%",angle:-33,length:210,brightness:.7}),h.jsx(Kt,{delay:42,duration:.9,repeatDelay:45,top:"30%",left:"92%",angle:-20,length:150,brightness:.8})]})]})}function is({children:t,showCta:i=!0}){return h.jsxs("div",{className:"relative min-h-screen flex flex-col bg-background text-foreground selection:bg-primary selection:text-primary-foreground",children:[h.jsx($3,{}),h.jsxs("div",{className:"relative z-10 flex flex-col flex-1",children:[h.jsx(F3,{}),h.jsx("main",{className:"flex-1",children:t}),i&&h.jsx(Z3,{}),h.jsx(K3,{})]})]})}const sx="Dark Matter Media",J3="https://darkmattermedia.ai/opengraph.jpg",e5=kl.primaryOrigin;function ss({title:t,description:i,ogImage:a=J3,path:r="",appendSiteName:l=!0}){const u=l?`${t} | ${sx}`:t,f=`${e5}${r}`;return S.useEffect(()=>{document.title=u,Xs("description",i),Xs("robots",ic(window.location.hostname)?"index, follow":"noindex, nofollow"),Fs("og:site_name",sx),Fs("og:type","website"),Fs("og:title",u),Fs("og:description",i),Fs("og:image",a),Fs("og:url",f),Xs("twitter:card","summary_large_image"),Xs("twitter:title",u),Xs("twitter:description",i),Xs("twitter:image",a),t5(f)},[u,i,a,f]),null}function Xs(t,i){let a=document.querySelector(`meta[name="${t}"]`);a||(a=document.createElement("meta"),a.setAttribute("name",t),document.head.appendChild(a)),a.setAttribute("content",i)}function Fs(t,i){let a=document.querySelector(`meta[property="${t}"]`);a||(a=document.createElement("meta"),a.setAttribute("property",t),document.head.appendChild(a)),a.setAttribute("content",i)}function t5(t){let i=document.querySelector('link[rel="canonical"]');i||(i=document.createElement("link"),i.setAttribute("rel","canonical"),document.head.appendChild(i)),i.setAttribute("href",t)}function Hw({poster:t,title:i,onPlay:a,className:r,imageClassName:l="absolute inset-0 w-full h-full object-cover pointer-events-none"}){return h.jsxs("button",{type:"button",onClick:a,className:`${r} focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background`,"aria-label":`Play ${i}`,children:[t&&h.jsx("img",{src:t,alt:i,className:l,loading:"lazy"}),h.jsx("span",{className:"absolute inset-0 flex items-center justify-center bg-black/30 group-hover:bg-black/20 transition-colors duration-200",children:h.jsx("span",{className:"w-14 h-14 roun
17ded-full bg-primary/90 flex items-center justify-center shadow-lg transition-transform duration-200 group-hover:scale-110",children:h.jsx("span",{className:"w-0 h-0 border-t-[10px] border-t-transparent border-b-[10px] border-b-transparent border-l-[18px] border-l-white ml-1 block"})})})]})}const n5="/assets/PR_AMARILLO_LOGO_-_OUTLINE_1781895747528-DXguRQjO.png",i5="/assets/country-auto-group-logo-nobg-B0xIYG7k.png",s5="/assets/JPEG_1782335919024-B1qVbbNu.jpg",a5="https://clienthub.getjobber.com/hubs/30088af2-b6d9-4ba7-b3b7-22c926a1f1b2/public/requests/4602840/new",r5="/images/dmm-logo.png",o5="https://player.mediadelivery.net/embed/758991/e3f1c9a5-7868-4ada-8790-9ec9ae44e07a?autoplay=true&loop=false&muted=false&preload=true&responsive=true",Wf=[{name:"Joshua Balderas",company:"Priority Roofing",logo:n5,logoClass:"opacity-90",logoScale:1,rating:5,quote:"Incredible communication, amazing quality and professionalism.",recommend:5,improvement:"None - you guys are amazing!"},{name:"John Johnson",company:"Country Auto Group",logo:i5,logoClass:"opacity-90",logoScale:3.2,rating:5,quote:"Great service and product.",recommend:5,improvement:"None"},{name:"Kasey King",company:"Zeus's Handyman Services",logo:"/images/logo-zeus-cropped.png",logoClass:"opacity-90",logoScale:1,rating:5,quote:"The team at Dark Matter Media have become more than a business we hired - we consider them friends. The work they do is truly amazing and they were not lying when they said trust the process. They do a really great job bringing your vision to life.",recommend:5,improvement:"Slow down some during recordings where I talk and let my thoughts come naturally on camera. Other than that, everything is amazing."},{name:"Nathan Law",company:"Gravity House Roofing & Construction",logo:s5,logoClass:"opacity-95",logoScale:1,logoContainerClass:"bg-white rounded-2xl w-[220px] h-[124px]",rating:5,quote:"Working with this team has been an absolute game changer for our company! Their creativity, attention to detail, and consistency have helped us elevate our online presence. It genuinely feels like they care about our success as much as we do.",recommend:5,improvement:"N/A"}];function ax({count:t,max:i=5}){return h.jsx("div",{className:"flex gap-1.5",children:Array.from({length:i}).map((a,r)=>h.jsx(pe.svg,{initial:{opacity:0,scale:.4},animate:{opacity:1,scale:1},transition:{delay:r*.08,duration:.3,type:"spring"},width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z",fill:r<t?"#00BFFF":"rgba(0,191,255,0.15)",stroke:r<t?"#00BFFF":"rgba(0,191,255,0.3)",strokeWidth:"1"})},r))})}function l5(){const[t,i]=S.useState(0),[a,r]=S.useState(0),[l,u]=S.useState(1),[f,m]=S.useState(1),g=5e3,p=3,y=S.useCallback(()=>{r(j=>j<p-1?(u(1),j+1):(u(1),m(1),i(C=>(C+1)%Wf.length),0))},[]);S.useEffect(()=>{const j=setTimeout(y,g);return()=>clearTimeout(j)},[t,a,y]);const x=j=>{m(j>t?1:-1),i(j),r(0),u(1)},b=Wf[t],T=({mt:j=""})=>b.logo?h.jsx("div",{className:`overflow-hidden ${"logoContainerClass"in b?b.logoContainerClass:"w-[200px] h-[72px]"} ${j}`,children:h.jsx("img",{src:b.logo,alt:b.company,style:{display:"block",width:"100%",height:"100%",objectFit:"contain",transform:`scale(${b.logoScale})`},className:b.logoClass})}):h.jsx("p",{className:`text-white/70 font-display font-semibold text-lg ${j}`,children:b.company}),E=[h.jsxs("div",{className:"flex flex-col items-center text-center gap-6 py-4",children:[h.jsx("p",{className:"text-primary font-mono text-xs tracking-widest uppercase",children:"Overall Experience"}),h.jsx(ax,{count:b.rating}),h.jsxs("p",{className:"text-5xl md:text-7xl font-display font-bold text-white",children:[b.rating,h.jsx("span",{className:"text-primary/40 text-3xl md:text-4xl",children:"/5"})]}),h.jsxs("div",{className:"flex flex-col items-center gap-2 mt-1",children:[h.jsx(T,{}),h.jsx("p",{className:"text-muted-foreground text-sm",children:b.name})]})]},"rating"),h.jsxs("div",{className:"flex flex-col items-center text-center gap-6 py-4",children:[h.jsx("div",{className:"text-primary/20 font-display font-bold text-8xl leading-none select-none -mb-4",children:'"'}),h.jsx("p",{className:"text-2xl md:text-3xl font-display font-semibold text-white max-w-2xl leading-snug",children:b.quote}),h.jsxs("div",{className:"flex flex-col items-center gap-2 pt-1 border-t border-border/30 w-48",children:[h.jsx(T,{mt:"mt-3"}),h.jsx("p",{className:"text-muted-foreground text-sm",children:b.name})]})]},"quote"),h.jsxs("div",{className:"flex flex-col items-center text-center gap-6 py-4",children:[h.jsx("p",{className:"text-primary font-mono text-xs tracking-widest uppercase",children:"Would Recommend"}),h.jsx(ax,{count:b.recommend}),h.jsxs("div",{className:"mt-2 border border-primary/20 rounded-xl px-6 py-4 bg-primary/5 max-w-md",children:[h.jsx("p",{className:"text-primary/60 font-mono text-xs tracking-widest uppercase mb-2",children:"What c
17ould we improve?"}),h.jsxs("p",{className:"text-white/80 italic text-sm",children:["â",b.improvement,"â"]})]}),h.jsxs("div",{className:"flex flex-col items-center gap-1",children:[h.jsx(T,{}),h.jsx("p",{className:"text-muted-foreground text-sm",children:b.name})]})]},"recommend")],M={enter:j=>({opacity:0,x:j>0?60:-60}),center:{opacity:1,x:0},exit:j=>({opacity:0,x:j>0?-60:60})};return h.jsxs("div",{className:"relative",children:[h.jsx("div",{className:"flex justify-center gap-4 mb-10",children:Wf.map((j,C)=>h.jsx("button",{onClick:()=>x(C),className:`px-5 py-2 rounded-full text-sm font-medium border transition-all duration-300 ${C===t?"border-primary text-primary bg-primary/10 shadow-[0_0_20px_rgba(0,191,255,0.15)]":"border-border/40 text-muted-foreground hover:border-primary/40 hover:text-white"}`,children:j.name},j.name))}),h.jsxs("div",{className:"relative bg-card border border-border/50 rounded-3xl overflow-hidden min-h-[320px] flex flex-col",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-transparent pointer-events-none"}),h.jsx("div",{className:"flex-1 flex items-center justify-center px-8 py-12 overflow-hidden",children:h.jsx(Cr,{mode:"wait",custom:l,children:h.jsx(pe.div,{custom:l,variants:M,initial:"enter",animate:"center",exit:"exit",transition:{duration:.45,ease:[.4,0,.2,1]},className:"w-full",children:E[a]},`${t}-${a}`)})}),h.jsx("div",{className:"flex justify-center gap-2 pb-6",children:Array.from({length:p}).map((j,C)=>h.jsx("button",{onClick:()=>{u(C>a?1:-1),r(C)},className:`rounded-full transition-all duration-300 ${C===a?"w-6 h-1.5 bg-primary":"w-1.5 h-1.5 bg-border/60 hover:bg-primary/40"}`},C))}),h.jsx(pe.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{duration:g/1e3,ease:"linear"},className:"absolute bottom-0 left-0 h-0.5 w-full bg-primary/50 origin-left"},`${t}-${a}-bar`)]})]})}const rx=[{title:"Video Production",desc:"High-impact video that connects, inspires, and drives action.",img:"/images/service-video-production.jpg"},{title:"Social Media Management",desc:"Strategic social management engineered to amplify reach.",img:"/images/service-social.jpg"},{title:"Web & App Development",desc:"Immersive web experiences that turn visitors into loyal customers.",img:"/images/service-web.jpg"},{title:"Promotional Print",desc:"From business cards to banners and apparel - everything your brand needs to be seen in the physical world.",img:"/images/service-print.jpg"}];function c5(){const[t,i]=S.useState(!1),{scrollY:a}=VR(),r=Cd(a,[0,1e3],[0,200]),l=Cd(a,[0,400],[1,0]),u=()=>{i(!0);try{ic(window.location.hostname)&&typeof window.gtag=="function"&&window.gtag("event","video_play",{video:"brand_film",page:"home"})}catch{}};return h.jsxs(is,{children:[h.jsx(ss,{title:"Dark Matter Media | Marketing Agency in Amarillo, TX",description:"Full-service marketing agency in Amarillo offering web design, app development, video production, social media, and promotional print for Texas Panhandle businesses.",path:"/",appendSiteName:!1}),h.jsxs("section",{className:"relative h-[100dvh] flex items-start justify-center overflow-hidden",children:[h.jsxs(pe.div,{style:{y:r,opacity:l},className:"absolute inset-0 z-0",children:[h.jsx("div",{className:"absolute inset-0 bg-background/60 z-10"}),h.jsx("img",{src:"/images/hero-bg.png",alt:"Deep space cinematic background",className:"w-full h-full object-cover object-center"})]}),h.jsxs("div",{className:"container relative px-6 pt-20",children:[h.jsx("div",{className:"w-[220px] h-[180px] sm:w-[320px] sm:h-[250px] md:w-[460px] md:h-[345px] lg:w-[580px] lg:h-[435px] xl:w-[660px] xl:h-[495px] overflow-hidden -ml-4 md:-ml-10 lg:-ml-16 -mb-[60px] sm:-mb-[80px] md:-mb-[105px] lg:-mb-[135px] xl:-mb-[155px]",children:h.jsx("video",{src:"/images/dmm-logo-animation.mp4",autoPlay:!0,muted:!0,playsInline:!0,onEnded:f=>f.currentTarget.pause(),style:{mixBlendMode:"screen"},className:"w-full h-full object-cover object-[center_47%]"})}),h.jsxs(pe.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1,ease:[.16,1,.3,1]},className:"max-w-4xl",children:[h.jsxs("h1",{className:"text-4xl sm:text-5xl md:text-7xl lg:text-8xl font-display font-bold leading-[1.1] tracking-tighter mb-6",children:["The ",h.jsx("span",{className:"text-primary italic font-light pr-2",children:"Force"})," Behind",h.jsx("br",{}),"Your Brand."]}),h.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-2xl mb-10 font-light",children:"We are the unseen creative force behind your growth. Commanding, atmospheric, and precise."}),h.jsxs("div",{className:"flex flex-wrap gap-4",children:[h.jsx("a",{href:a5,target:"_blank",rel:"noopener noreferrer",children:h.jsx(bi,{size:"lg",className:"rounded-full px-8 bg-white text-black hover:bg-white/90",children:"Book a Consultation"})}),h.jsx(dt,{href:"/work",children:h.jsx(bi,{size:"lg",variant:"outline",className:"rounded-full px-8 border-border hover:bg-secondary",children:"View Our Work"})})]})]})]})]}),h.jsx("section",{className:"pt-20 pb-16 md:py-32 bg-background relative z-20",children:h.jsxs("div",{className:"container mx-auto px-6",children:[h.jsxs(pe.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},className:"max-w-4xl mx-auto text-center",children:[h.jsx("h2",{className:"text-primary font-mono text-sm tracking-widest uppercase mb-6",children:"Why We Exist"}),h.jsx("p",{className:"text-3xl md:text-5xl font-display font-medium leading-tight text-white",children:"Pretty videos are easy. Results are not. That's why we exist."}),h.jsx("p",{className:"mt-8 text-lg text-muted-foreground max-w-2xl mx-auto",children:"Most brands can create content. Few know how to turn that content into measurable growth. We combine strategy, creative production, and performance tracking to turn attention into real business results."})]}),h.jsx("div",{className:"mt-10 md:mt-16 max-w-5xl mx-auto",children:h.jsx("div",{className:"relative w-full aspect-video rounded-xl overflow-hidden bg-black border border-border/50",children:t?h.jsx("iframe",{src:o5,title:"Dark Matter Media brand film",allow:"accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture; fullscreen",allowFullScreen:!0,className:"absolute inset-0 w-full h-full border-0"}):h.jsx(Hw,{poster:r5,title:"Dark Matter Media brand film",onPlay:u,className:"relative w-full h-full bg-black cursor-pointer group focus:outline-none",imageClassName:"absolute inset-0 w-full h-full object-cover pointer-events-none scale-[1.9]"})})})]})}),h.jsxs("section",{className:"py-24 bg-secondary/30 overflow-hidden",children:[h.jsx("div",{className:"container mx-auto px-6",children:h.jsxs("div",{className:"flex justify-between items-end mb-16",children:[h.jsx("div",{children:h.jsx("h2",{className:"text-3xl md:text-5xl font-display font-bold",children:"Capabilities"})}),h.jsx(dt,{href:"/services",children:h.jsx(bi,{variant:"link",className:"text-primary hover:text-primary/80 hidden md:inline-flex",children:"View all services â"})})]})}),h.jsx("div",{className:"w-full flex justify-center",children:h.jsxs("div",{className:"relative w-1/2 overflow-hidden",children:[h.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-16 z-10 bg-gradient-to-r from-secondary/30 to-transparent"}),h.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-16 z-10 bg-gradient-to-l from-secondary/30 to-transparent"}),h.jsx("div",{className:"flex animate-marquee gap-6 w-max",children:[...rx,...rx].map((f,m)=>h.jsxs("div",{className:"bg-card border border-border/50 rounded-2xl hover:border-primary/50 transition-colors group overflow-hidden flex-shrink-0 w-72",children:[h.jsx("div",{className:"w-full h-48 overflow-hidden",children:h.jsx("img",{src:f.img,alt:`${f.title} in Amarillo, TX - Dark Matter Media`,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),h.jsxs("div",{className:"p-6",children:[h.jsx("h3",{className:"text-lg font-bold mb-2",children:f.title}),h.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:f.desc})]})]},m))})]})}),h.jsx("div",{className:"container mx-auto px-6",children:h.jsx("div",{className:"mt-10 text-center md:hidden",children:h.jsx(dt,{href:"/services",children:h.jsx(bi,{variant:"outline",className:"rounded-full",children:"View all services"})})})})]}),h.jsx("section",{className:"py-32 bg-background",children:h.jsxs("div",{className:"container mx-auto px-6",children:[h.jsxs(pe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"text-center mb-16",children:[h.jsx("h2",{className:"text-primary font-mono text-sm tracking-widest uppercase mb-4",children:"What Clients Say"}),h.jsx("p",{className:"text-3xl md:text-5xl font-display font-bold",children:"Results that speak."})]}),h.jsx(pe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6,delay:.15},className:"max-w-3xl mx-auto",children:h.jsx(l5,{})})]})})]})}const u5=[{id:"video",title:"Video Production",desc:"Your story deserves more than average. We produce high-impact video and visual content that connects, inspires, and drives action. Every detail is intentional. Every moment is designed to resonate.",img:"/images/service-video-production.jpg"},{id:"social",title:"Social Media Management",desc:"Strategic social management with seamless cross-platform deployment, engineered to amplify reach, unify your brand voice, and convert attention into momentum.",img:"/images/service-social.jpg"},{id:"web",title:"Web Design & App Dev",desc:"Your brand has a story. We design immersive web experiences and powerful applications that bring it to life through intentional structure, refined visuals, and a seamless user journey that turns visitors into loyal customers.",img:"/images/service-web.jpg"},{id:"print",title:"Promotional Print",desc:"From business cards to banners and apparel - everything your brand needs to be seen in the physical world.",img:"/images/service-print.jpg"}];function f5(){return h.jsxs(is,{children:[h.jsx(ss,{title:"Services - Web Design, Video Production & More in Amarillo, TX",description:"Dark Matter Media offers web design, app development, video production, social media management, and promotional print for Amarillo and Texas Panhandle businesses.",path:"/services",appendSiteName:!1}),h.jsx("section",{className:"pt-40 pb-20 px-6",children:h.jsxs("div",{className:"container mx-auto",children:[h.jsxs(pe.div,{initial:{opacity:0,y:20}
17,animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl mb-24",children:[h.jsx("h1",{className:"text-5xl md:text-7xl font-display font-bold mb-6",children:"Our Services."}),h.jsx("p",{className:"text-xl text-muted-foreground",children:"We engineer attention into momentum. Discover how we build and scale brands."})]}),h.jsx("div",{className:"space-y-32",children:u5.map((t,i)=>h.jsxs(pe.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},className:`flex flex-col ${i%2===1?"md:flex-row-reverse":"md:flex-row"} gap-12 lg:gap-24 items-center`,children:[h.jsx("div",{className:"flex-1 w-full relative",children:h.jsxs("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden group",children:[h.jsx("img",{src:t.img,alt:`${t.title} services in Amarillo, TX - Dark Matter Media`,className:"w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-transparent to-transparent opacity-60"})]})}),h.jsxs("div",{className:"flex-1",children:[h.jsxs("div",{className:"text-primary font-mono text-sm tracking-widest uppercase mb-4",children:["0",i+1]}),h.jsx("h2",{className:"text-3xl md:text-5xl font-display font-bold mb-6",children:t.title}),h.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:t.desc}),h.jsxs("div",{className:"mt-8 pt-8 border-t border-border/50",children:[h.jsx("h4",{className:"font-bold mb-4 uppercase tracking-wider text-xs",children:"What you get"}),h.jsxs("ul",{className:"space-y-2 text-muted-foreground text-sm",children:[h.jsxs("li",{className:"flex items-center gap-3",children:[h.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),"Custom Strategy"]}),h.jsxs("li",{className:"flex items-center gap-3",children:[h.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),"High-End Production"]}),h.jsxs("li",{className:"flex items-center gap-3",children:[h.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),"Performance Tracking"]})]})]}),h.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row gap-4",children:[h.jsx(dt,{href:"/work",className:"inline-flex items-center justify-center gap-2 px-6 py-3 rounded-full border border-primary text-primary font-semibold text-sm hover:bg-primary hover:text-primary-foreground transition-all duration-300 w-full sm:w-auto",children:"View Our Work"}),h.jsx("a",{href:"https://clienthub.getjobber.com/hubs/30088af2-b6d9-4ba7-b3b7-22c926a1f1b2/public/requests/4602840/new",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-6 py-3 rounded-full bg-primary text-primary-foreground font-semibold text-sm hover:opacity-90 transition-all duration-300 w-full sm:w-auto",children:"Book a Consultation"})]})]})]},t.id))})]})})]})}const d5=["All","Video Production","Promotional Print"],h5=[{id:1,title:"Bomb City Brawl",client:"Dark Matter Media",category:"Video Production",youtubeId:"v5smcGKqcaw",poster:"/images/posters/bomb-city-brawl.jpg",type:"video"},{id:2,title:"DC Caliche",client:"Dark Matter Media",category:"Video Production",youtubeId:"9Xx_2wXoyEc",poster:"/images/posters/dc-caliche.jpg",type:"video"},{id:7,title:"Priority Roofing",client:"Dark Matter Media",category:"Video Production",youtubeId:"_ILnznQlOuY",poster:"/images/posters/priority-roofing.jpg",type:"video"},{id:8,title:"Public Plumbing",client:"Dark Matter Media",category:"Video Production",youtubeId:"ItOdqujL0k8",poster:"/images/posters/public-plumbing.jpg",type:"video"},{id:10,title:"Reanne at 35 Stone Bluff",client:"Yellow City Real Estate",category:"Video Production",youtubeId:"lkcc7Xr-cbU",poster:"https://img.youtube.com/vi/lkcc7Xr-cbU/hqdefault.jpg",type:"video"},{id:12,title:"One Maxor Plaza",client:"Commercial Real Estate",category:"Video Production",youtubeId:"GTIBggRI8Fo",poster:"https://img.youtube.com/vi/GTIBggRI8Fo/hqdefault.jpg",type:"video"},{id:13,title:"Jordon Snider's Ride",client:"Local Legends",category:"Video Production",youtubeId:"P3t-4d0SrHc",poster:"https://img.youtube.com/vi/P3t-4d0SrHc/hqdefault.jpg",type:"video"},{id:14,title:"Life Cycle TV Spot",client:"Dark Matter Media",category:"Video Production",youtubeId:"Ta_bEU2HTpc",poster:"https://img.youtube.com/vi/Ta_bEU2HTpc/hqdefault.jpg",type:"video"},{id:15,title:"Business Cards",client:"Apex, Sticky Chikky, Dark Matter",category:"Promotional Print",img:"/images/print-business-cards.jpg",type:"image"},{id:16,title:"Event Flag",client:"Priority Roofing",category:"Promotional Print",img:"/images/print-priority-flag.jpg",type:"image"},{id:17,title:"Die-Cut Yard Sign",client:"Gravity House Roofing",category:"Promotional Print",img:"/images/print-gravity-house.jpg",type:"image"},{id:18,title:"Custom Apparel",client:"Zeus's Handyman Services",category:"Promotional Print",img:"/images/print-zeus-shirts.jpg",type:"image"}];function m5({project:t,onClose:i}){return S.useEffect(()=>{const a=r=>{r.key==="Escape"&&i()};return document.addEventListener("keydown",a),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",a),document.body.style.overflow=""}},[i]),h.jsx(pe.div,{initial:{opacity:0}
17,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-[9999] flex items-center justify-center p-4 bg-black/95",onClick:a=>{a.target===a.currentTarget&&i()},children:h.jsxs(pe.div,{initial:{scale:.92,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.92,opacity:0},transition:{duration:.25},className:"relative w-full max-w-lg",children:[h.jsx("button",{onClick:i,className:"absolute -top-8 right-0 text-white/50 hover:text-white text-sm font-mono transition-colors",children:"â close"}),h.jsx("div",{className:"relative w-full aspect-[9/16] rounded-xl overflow-hidden bg-black",children:h.jsx("iframe",{src:`https://www.youtube.com/embed/${t.youtubeId}?autoplay=1&rel=0&playsinline=1&modestbranding=1`,title:t.title,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full border-0"})}),h.jsx("p",{className:"text-center text-white/35 text-xs font-mono mt-3",children:t.title})]})})}function p5({project:t}){return h.jsxs(pe.div,{layout:!0,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.4},className:"group",children:[h.jsxs("div",{className:"relative aspect-video rounded-xl overflow-hidden mb-4 bg-card border border-border",children:[h.jsx("img",{src:t.img,alt:t.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),h.jsx("div",{className:"absolute top-3 left-3",children:h.jsx("span",{className:"px-3 py-1 rounded-full text-xs font-mono bg-background/80 backdrop-blur-sm text-primary border border-primary/20",children:t.category})})]}),h.jsx("p",{className:`text-xl font-bold font-display mb-1 ${t.placeholder?"text-muted-foreground":""}`,children:t.title}),h.jsx("p",{className:"text-sm text-muted-foreground",children:t.client})]})}function g5(){const[t,i]=S.useState("All"),[a,r]=S.useState(null),l=h5.filter(y=>t==="All"||y.category===t),u=l.filter(y=>y.category==="Video Production"),f=l.filter(y=>y.category==="Promotional Print"),m=l.filter(y=>y.category!=="Video Production"&&y.category!=="Promotional Print"),g=t==="All"||t==="Video Production",p=t==="All"||t==="Promotional Print";return h.jsxs(is,{children:[h.jsx(ss,{title:"Our Work - Video Production, Web Design & Print in Amarillo, TX",description:"See Dark Matter Media's portfolio of video productions, web design projects, social media campaigns, and promotional print for Amarillo and Texas Panhandle clients.",path:"/work",appendSiteName:!1}),h.jsx(Cr,{children:a&&h.jsx(m5,{project:a,onClose:()=>r(null)})}),h.jsx("section",{className:"pt-40 pb-24 px-6",children:h.jsxs("div",{className:"container mx-auto",children:[h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"mb-16 text-center max-w-2xl mx-auto",children:[h.jsx("h1",{className:"text-5xl md:text-7xl font-display font-bold mb-6",children:"Our Work."}),h.jsx("p",{className:"text-xl text-muted-foreground",children:"A selection of our best productions, campaigns, and digital experiences - each one built to capture attention and drive results."})]}),h.jsx("div",{className:"flex gap-3 mb-16 overflow-x-auto pb-2 scrollbar-hide justify-center flex-wrap",children:d5.map(y=>h.jsx("button",{onClick:()=>i(y),className:`px-5 py-2 rounded-full font-medium text-sm whitespace-nowrap transition-all ${t===y?"bg-primary text-primary-foreground":"bg-secondary text-secondary-foreground hover:bg-secondary/80"}`,children:y},y))}),g&&u.length>0&&h.jsxs("div",{className:"mb-20",children:[t==="All"&&h.jsx("p",{className:"text-sm font-mono text-primary/80 tracking-widest uppercase mb-8",children:"Video Production"}),h.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4 md:gap-6",children:u.map((y,x)=>!y.placeholder&&!!y.youtubeId?h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:x*.06},className:"flex flex-col gap-3",children:[h.jsx(Hw,{poster:y.poster,title:y.title,onPlay:()=>r(y),className:"relative w-full aspect-[9/16] rounded-xl overflow-hidden bg-black cursor-pointer group focus:outline-none"}),h.jsxs("div",{children:[h.jsx("p",{className:"font-bold text-sm",children:y.title}),h.jsx("p",{className:"text-xs text-muted-foreground",children:y.client})]})]},y.id):h.jsxs(pe.div,{initial:{opacity:0,y:20}
17,animate:{opacity:1,y:0},transition:{duration:.4,delay:x*.06},className:"flex flex-col gap-3",children:[h.jsx("div",{className:"relative w-full aspect-[9/16] rounded-xl overflow-hidden bg-card border border-border/40 flex items-center justify-center",children:h.jsxs("div",{className:"flex flex-col items-center gap-3 px-4",children:[h.jsx("div",{className:"w-12 h-12 rounded-full border border-primary/30 flex items-center justify-center",children:h.jsx("div",{className:"w-0 h-0 border-t-[7px] border-t-transparent border-b-[7px] border-b-transparent border-l-[12px] border-l-primary/40 ml-1"})}),h.jsx("p",{className:"text-xs font-mono text-muted-foreground/50 tracking-widest uppercase text-center",children:"Coming soon"})]})}),h.jsx("p",{className:"font-bold text-sm text-muted-foreground/60",children:y.title}),h.jsx("p",{className:"text-xs text-muted-foreground/40 -mt-2",children:y.client})]},y.id))})]}),p&&f.length>0&&h.jsxs("div",{className:"mb-20",children:[t==="All"&&h.jsx("p",{className:"text-sm font-mono text-primary/80 tracking-widest uppercase mb-8",children:"Promotional Print"}),h.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6",children:f.map((y,x)=>h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:x*.06},className:"flex flex-col gap-3 group",children:[h.jsx("div",{className:"relative w-full aspect-square rounded-xl overflow-hidden bg-card border border-border/20",children:h.jsx("img",{src:y.img,alt:y.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105",loading:"lazy"})}),h.jsxs("div",{children:[h.jsx("p",{className:"font-bold text-sm",children:y.title}),h.jsx("p",{className:"text-xs text-muted-foreground",children:y.client})]})]},y.id))})]}),m.length>0&&h.jsxs("div",{children:[t==="All"&&h.jsx("p",{className:"text-sm font-mono text-primary/80 tracking-widest uppercase mb-8",children:"Campaigns & Web"}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:m.map(y=>h.jsx(p5,{project:y},y.id))})]})]})})]})}const y5=[{name:"Jordon Snider",role:"Founder",img:"/images/team-jordon.jpg",bio:"Jordon is the driving force behind Dark Matter Media. With deep roots in digital strategy and brand development, he founded the agency on a simple conviction: authentic storytelling paired with sharp execution creates unstoppable momentum. He works closely with every client to understand their people first - then engineers the growth that follows. When Jordon isn't building brands, he's studying the systems that make markets move."},{name:"Riley Knavel",role:"Visual Storyteller & Social Architect",img:"/images/team-riley.jpg",bio:"Riley has an eye for the moments that matter and the instincts to turn them into content that resonates. With a background in photography and a natural feel for social media dynamics, Riley crafts visual narratives that don't just look good - they stop the scroll, spark emotion, and build communities. From behind the lens to behind the strategy, Riley makes brands impossible to ignore."},{name:"Dani Bickford",role:"Client Relations Specialist",img:"/images/team-dani.jpg",bio:"Dani specializes in the art and science of keeping people engaged. She understands that capturing attention is just the first chapter - holding it, nurturing it, and converting followers into loyal advocates is where real growth happens. With a sharp analytical mind and a creative approach to engagement, Dani builds the systems and strategies that keep audiences coming back long after the first impression."},{name:"Raven Jackson",role:"Digital Experience Engineer",img:"/images/team-raven.jpg",bio:"Raven builds the digital worlds where brands live. Combining a developer's precision with a designer's sensibility, Raven creates websites and applications that are as beautiful as they are functional. Whether it's a custom web platform or a full mobile app experience, every pixel serves a purpose and every interaction feels effortless. Raven believes great technology should disappear - leaving only the experience."}];function v5(){const[t,i]=S.useState(null);return h.jsxs(is,{children:[h.jsx(ss,{title:"About Dark Matter Media - Amarillo, TX Marketing Agency",de
17scription:"Meet the team behind Dark Matter Media - the creative force engineering brand growth for businesses in Amarillo and across the Texas Panhandle.",path:"/about",appendSiteName:!1}),h.jsx("section",{className:"pt-40 pb-20 px-6",children:h.jsxs("div",{className:"container mx-auto",children:[h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl mb-24",children:[h.jsx("h1",{className:"text-5xl md:text-7xl font-display font-bold mb-6",children:"About Us."}),h.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground font-light leading-relaxed",children:"At Dark Matter Media, we believe great marketing starts with understanding people. We work closely with businesses to create content, build websites, and develop digital systems that help them stand out, connect with their audience, and grow."})]}),h.jsxs("div",{className:"mb-32",children:[h.jsx("h2",{className:"text-3xl font-display font-bold mb-12",children:"The Team"}),h.jsx("div",{className:"grid grid-cols-2 md:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-8",children:y5.map((a,r)=>h.jsx(pe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:r*.2},className:"group cursor-pointer",onClick:()=>i(a),children:h.jsxs("div",{className:"aspect-[3/4] rounded-2xl overflow-hidden bg-card mb-6 border border-border relative transition-all duration-300 group-hover:border-primary/50 group-hover:shadow-[0_0_30px_rgba(0,183,255,0.1)]",children:[h.jsx("img",{src:a.img,alt:`${a.name} - ${a.role} at Dark Matter Media, Amarillo TX`,className:"w-full h-full object-cover object-top transition-transform duration-1000 group-hover:scale-105"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background to-transparent opacity-80"}),h.jsxs("div",{className:"absolute bottom-3 left-3 right-3 sm:bottom-6 sm:left-6 sm:right-6",children:[h.jsx("h3",{className:"text-base sm:text-2xl font-display font-bold mb-1 leading-tight",children:a.name}),h.jsx("p",{className:"text-primary font-mono text-[10px] sm:text-xs uppercase tracking-wide sm:tracking-widest line-clamp-2",children:a.role})]}),h.jsx("div",{className:"absolute top-4 right-4 opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:h.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/20 border border-primary/40 flex items-center justify-center backdrop-blur-sm",children:h.jsx("span",{className:"text-primary text-xs font-bold",children:"+"})})})]})},a.name))})]})]})}),h.jsx(Cr,{children:t&&h.jsxs(h.Fragment,{children:[h.jsx(pe.div,{initial:{opacity:0}
17,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 bg-background/80 backdrop-blur-sm z-50",onClick:()=>i(null)}),h.jsx(pe.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{duration:.3,ease:[.16,1,.3,1]},className:"fixed inset-0 z-50 flex items-center justify-center p-6 pointer-events-none",children:h.jsxs("div",{className:"relative bg-card border border-border rounded-3xl overflow-hidden max-w-2xl w-full shadow-2xl pointer-events-auto",onClick:a=>a.stopPropagation(),children:[h.jsx("button",{onClick:()=>i(null),className:"absolute top-5 right-5 z-10 w-9 h-9 rounded-full bg-background/60 border border-border flex items-center justify-center hover:bg-secondary transition-colors",children:h.jsx(Ch,{className:"w-4 h-4"})}),h.jsxs("div",{className:"flex flex-col md:flex-row",children:[h.jsxs("div",{className:"w-full md:w-56 shrink-0 aspect-[3/2] sm:aspect-[3/4] md:aspect-auto relative max-h-[220px] sm:max-h-none",children:[h.jsx("img",{src:t.img,alt:t.name,className:"w-full h-full object-cover object-top"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent to-card hidden md:block"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-card to-transparent md:hidden"})]}),h.jsxs("div",{className:"p-8 flex flex-col justify-center",children:[h.jsx("p",{className:"text-primary font-mono text-xs uppercase tracking-widest mb-3",children:t.role}),h.jsx("h2",{className:"text-3xl font-display font-bold mb-6",children:t.name}),h.jsx("p",{className:"text-muted-foreground leading-relaxed text-base",children:t.bio})]})]})]})})]})})]})}const x5=[{id:"core",name:"CORE",highlight:!1,features:["8 photo / graphic posts per month","4 produced videos (reels) per month","1 on-site shoot per month","1 strategy session per month (30 min)","Custom website","Ad management up to $1,000/mo","7 business days scheduling notice","1 revision round per deliverable"]},{id:"pro",name:"PRO",highlight:!0,badge:"Most Popular",features:["12 photo / graphic posts per month","6 produced videos (reels) per month","1 long-form video per month","2 on-site shoots per month","1 strategy session per month (60 min)","Custom website + custom mobile app","Ad management up to $3,000/mo","5 business days scheduling notice","2 revision rounds per deliverable","1 rush request per month included"]},{id:"elite",name:"ELITE",highlight:!1,features:["20 photo / graphic posts per month","8 produced videos (reels) per month","2 long-form videos per month","4 on-site shoots per month","1 strategy session per month (90 min)","Custom website + custom mobile app","Ad management - unlimited spend","3 business days scheduling, priority","2 revision rounds per deliverable","2 rush requests per month included"]}];function b5(){return S.useEffect(()=>{const t="ghl-form-embed",i=document.getElementById(t);i&&i.remove();const a=document.createElement("script");return a.id=t,a.src="https://link.msgsndr.com/js/form_embed.js",a.async=!0,document.body.appendChild(a),()=>{a.remove()}},[]),h.jsxs(is,{showCta:!1,children:[h.jsx(ss,{title:"Contact Dark Matter Media | Amarillo, TX Marketing Agency",description:"Ready to grow your brand in Amarillo or the Texas Panhandle? Contact Dark Matter Media to book a free consultation and start your next project.",path:"/contact",appendSiteName:!1}),h.jsx("section",{className:"pt-32 pb-16 px-6",children:h.jsx("div",{className:"container mx-auto",children:h.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 xl:gap-20 items-start",children:[h.jsxs(pe.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.6},children:[h.jsx("p",{className:"text-sm font-mono text-primary uppercase tracking-widest mb-4",children:"Let's Work Together"}),h.jsxs("h1",{className:"text-5xl md:text-6xl xl:text-7xl font-display font-bold mb-6 leading-tight",children:["Start a",h.jsx("br",{}),"Project."]}),h.jsx("p",{className:"text-lg text-muted-foreground max-w-sm leading-relaxed",children:"Ready to transform your brand? Tell us about your goals and we'll help you get there."})]}),h.jsxs(pe.div,{initial:{opacity:0,x:20}
17,animate:{opacity:1,x:0},transition:{duration:.6,delay:.15},className:"space-y-7 lg:pt-4",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"text-sm font-mono text-primary uppercase tracking-widest mb-2",children:"Visit Us"}),h.jsxs("p",{className:"text-lg",children:["316 SW 6th Ave",h.jsx("br",{}),"Amarillo, TX 79101"]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-sm font-mono text-primary uppercase tracking-widest mb-2",children:"Contact"}),h.jsxs("p",{className:"text-lg",children:[h.jsx("a",{href:"tel:8064772042",className:"hover:text-primary transition-colors",children:"(806) 477-2042"}),h.jsx("br",{}),h.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors",children:"[email protected]"})]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-sm font-mono text-primary uppercase tracking-widest mb-2",children:"Hours"}),h.jsx("p",{className:"text-lg",children:"MonâFri 8amâ9pm"})]})]})]})})}),h.jsx("section",{className:"py-16 px-6",children:h.jsxs("div",{className:"container mx-auto",children:[h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center mb-12",children:[h.jsx("p",{className:"text-sm font-mono text-primary uppercase tracking-widest mb-3",children:"Transparent Pricing"}),h.jsx("h2",{className:"text-4xl md:text-5xl font-display font-bold mb-4",children:"Our Packages"}),h.jsx("p",{className:"text-lg text-muted-foreground max-w-xl mx-auto",children:"Choose the tier that fits where you are. Every package is built to grow with you."})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:x5.map((t,i)=>h.jsxs(pe.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1+i*.1},className:["relative flex flex-col rounded-2xl p-8",t.highlight?"bg-card border-2 border-primary shadow-[0_0_32px_rgba(0,183,255,0.18)]":"bg-card border border-border/50"].join(" "),children:[t.badge&&h.jsx("span",{className:"absolute -top-3.5 left-1/2 -translate-x-1/2 bg-primary text-primary-foreground text-xs font-mono font-semibold uppercase tracking-widest px-4 py-1 rounded-full whitespace-nowrap",children:t.badge}),h.jsxs("div",{className:"mb-6",children:[h.jsx("h3",{className:"text-4xl md:text-5xl font-display font-bold tracking-tight w-full mb-4",children:t.name}),h.jsxs("div",{className:"flex flex-col gap-2",children:[h.jsx("div",{className:"border border-border/40 rounded-lg px-4 py-2.5",children:h.jsx("span",{className:"text-xs font-mono text-primary uppercase tracking-widest shrink-0",children:"3 MONTH TERM"})}),h.jsx("div",{className:"border border-border/40 rounded-lg px-4 py-2.5",children:h.jsx("span",{className:"text-xs font-mono text-primary uppercase tracking-widest shrink-0",children:"6 MONTH TERM"})})]})]}),h.jsx("ul",{className:"space-y-3 flex-1 mb-8",children:t.features.map(a=>h.jsxs("li",{className:"flex items-start gap-3 text-sm leading-snug",children:[h.jsx(FN,{className:"mt-0.5 shrink-0 text-primary",size:15}),h.jsx("span",{className:"text-muted-foreground",children:a})]},a))}),h.jsx("a",{href:"#get-in-touch",className:["inline-flex items-center justify-center rounded-md text-sm font-medium min-h-10 px-6 transition-colors",t.highlight?"bg-primary text-primary-foreground border border-primary-border hover-elevate":"border border-border/70 text-foreground hover:border-primary hover:text-primary"].join(" "),children:"Get Started"})]},t.id))})]})}),h.jsx("section",{id:"get-in-touch",className:"pb-24 px-6",children:h.jsx("div",{className:"container mx-auto",children:h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"bg-card border border-border/50 rounded-2xl p-8 md:p-10 max-w-3xl mx-auto",children:[h.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold mb-6",children:"Get in Touch"}),h.jsx("div",{className:"w-full",style:{minHeight:912,background:"transparent"},children:h.jsx("iframe",{src:"https://api.leadconnectorhq.com/widget/form/dhunPrwdbpZ2TwMS8hQr",style:{width:"100%",height:"100%",minHeight:912,border:"none",borderRadius:"8px",background:"transparent",backgroundColor:"transparent",overflow:"hidden"},id:"inline-dhunPrwdbpZ2TwMS8hQr",allowTransparency:!0,scrolling:"no","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"SMS CONSENT FORM","data-height":"912","data-layout-iframe-id":"inline-dhunPrwdbpZ2TwMS8hQr","data-form-id":"dhunPrwdbpZ2TwMS8hQr",title:"SMS CONSENT FORM"})})]})})})]})}const qw=S.forwardRef(({className:t,...i},a)=>h.jsx("div",{ref:a,className:At("rounded-xl border bg-card text-card-foreground shadow",t),...i}));
17qw.displayName="Card";const w5=S.forwardRef(({className:t,...i},a)=>h.jsx("div",{ref:a,className:At("flex flex-col space-y-1.5 p-6",t),...i}));w5.displayName="CardHeader";const S5=S.forwardRef(({className:t,...i},a)=>h.jsx("div",{ref:a,className:At("font-semibold leading-none tracking-tight",t),...i}));S5.displayName="CardTitle";const T5=S.forwardRef(({className:t,...i},a)=>h.jsx("div",{ref:a,className:At("text-sm text-muted-foreground",t),...i}));T5.displayName="CardDescription";const Yw=S.forwardRef(({className:t,...i},a)=>h.jsx("div",{ref:a,className:At("p-6 pt-0",t),...i}));Yw.displayName="CardContent";const A5=S.forwardRef(({className:t,...i},a)=>h.jsx("div",{ref:a,className:At("flex items-center p-6 pt-0",t),...i}));A5.displayName="CardFooter";function E5(){return h.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:h.jsx(qw,{className:"w-full max-w-md mx-4",children:h.jsxs(Yw,{className:"pt-6",children:[h.jsxs("div",{className:"flex mb-4 gap-2",children:[h.jsx(QN,{className:"h-8 w-8 text-red-500"}),h.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),h.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const j5=Array.from({length:36},(t,i)=>({id:i,angle:i/36*360,radius:1,size:i%5===0?3:i%3===0?2:1.2,opacity:i%5===0?.9:i%3===0?.6:.35,glow:i%5===0})),M5=Array.from({length:18},(t,i)=>({id:i,angle:i/18*360,size:1+i%3*.5,opacity:.2+i%4*.1}));function If({tiltX:t,size:i,duration:a,reverse:r,color:l,glowIntensity:u,borderWidth:f=1}){return h.jsx(pe.div,{className:"absolute rounded-full",style:{width:i,height:i,top:"50%",left:"50%",marginTop:-i/2,marginLeft:-i/2,rotateX:t,border:`${f}px solid ${l}`,boxShadow:`0 0 ${u}px ${l}, inset 0 0 ${u*.5}px ${l}`},animate:{rotateZ:r?-360:360},transition:{duration:a,repeat:1/0,ease:"linear"}})}function C5({tiltX:t,size:i,duration:a,reverse:r,color:l}){const u=i/2;return h.jsx(pe.div,{className:"absolute",style:{width:i,height:i,top:"50%",left:"50%",marginTop:-i/2,marginLeft:-i/2,rotateX:t},animate:{rotateZ:r?-360:360},transition:{duration:a,repeat:1/0,ease:"linear"},children:j5.map(f=>{const m=f.angle*Math.PI/180,g=Math.cos(m)*u+u-f.size/2,p=Math.sin(m)*u+u-f.size/2;return h.jsx("div",{className:"absolute rounded-full",style:{width:f.size,height:f.size,left:g,top:p,background:l,opacity:f.opacity,boxShadow:f.glow?`0 0 6px ${l}, 0 0 12px ${l}`:void 0}},f.id)})})}function R5({size:t=640}){return h.jsxs("div",{className:"pointer-events-none select-none",style:{width:t,height:t,position:"relative"},children:[h.jsx("div",{className:"absolute inset-0 rounded-full",style:{background:"radial-gradient(ellipse at center, rgba(0,183,255,0.10) 0%, rgba(0,80,160,0.06) 30%, rgba(0,20,50,0.04) 55%, transparent 72%)"}}),h.jsx("div",{className:"absolute rounded-full",style:{inset:t*.08,background:"radial-gradient(ellipse at center, transparent 40%, rgba(0,183,255,0.04) 65%, transparent 80%)",borderRadius:"50%"}}),h.jsx(pe.img,{src:"/images/dmm-logo.png",alt:"",className:"absolute object-contain",style:{inset:t*.18,width:t*.64,height:t*.64,opacity:.08,filter:"brightness(1.4) blur(0.5px)"},animate:{rotate:360},transition:{duration:90,repeat:1/0,ease:"linear"}}),h.jsx(pe.div,{className:"absolute rounded-full",style:{inset:"38%",background:"radial-gradient(ellipse at center, rgba(0,183,255,0.18) 0%, rgba(0,100,200,0.08) 50%, transparent 80%)",filter:"blur(8px)"},animate:{scale:[1,1.12,1],opacity:[.7,1,.7]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}}),h.jsx(If,{tiltX:72,size:t*.88,duration:60,color:"rgba(0,183,255,0.08)",glowIntensity:8,borderWidth:1}),h.jsx(If,{tiltX:74,size:t*.68,duration:35,reverse:!0,color:"rgba(0,183,255,0.20)",glowIntensity:18,borderWidth:1}),h.jsx(If,{tiltX:76,size:t*.5,duration:22,color:"rgba(80,220,255,0.35)",glowIntensity:28,borderWidth:2}),h.jsx(C5,{tiltX:74,size:t*.68,duration:28,reverse:!0,color:"rgba(0,183,255,0.85)"}),h.jsx(pe.div,{className:"absolute",style:{width:t*.9,height:t*.9,top:"50%",left:"50%",marginTop:-(t*.9)/2,marginLeft:-(t*.9)/2,rotateX:70},animate:{rotateZ:360},transition:{duration:80,repeat:1/0,ease:"linear"},children:M5.map(i=>{const a=t*.9/2,r=i.angle*Math.PI/180,l=Math.cos(r)*a+a-i.size/2,u=Math.sin(r)*a+a-i.size/2;return h.jsx("div",{className:"absolute rounded-full bg-white",style:{width:i.size,height:i.size,left:l,top:u,opacity:i.opacity}},i.id)})}),h.jsx("div",{className:"absolute left-1/2",style:{width:1,top:"10%",bottom:"10%",transform:"translateX(-50%)",background:"linear-gradient(to bottom, transparent, rgba(0,183,255,0.25) 30%, rgba(0,183,255,0.4) 50%, rgba(0,183,255,0.25) 70%, transparent)",filter:"blur(2px)"}})]})}function N5(){return h.jsx("div",{className:"min-h-screen bg-[#08090C] flex flex-col items-center justify-center px-6 text-white",children:h.jsxs("div",{className:"text-center space-y-6 max-w-sm",children:[h.jsx("div",{className:"h-14 w-14 mx-auto opacity-80",children:h.jsx(R5,{})}),h.jsxs("div",{className:"space-y-2",children:[h.jsx("p",{className:"text-xs font-mono text-[#00BFFF] uppercase tracking-widest",children:"Client Portal"}),h.jsx("h1",{className:"text-3xl font-bold",children:"Coming Soon"}),h.jsx("p",{className:"text-muted-foreground",children:"We're finishing up your client portal. Check back soon to manage your account, invoices, and more."})]}),h.jsx("div",{className:"pt-2",children:h.jsx(dt,{href:"/",children:h.jsx("span",{className:"text-sm text-[#00BFFF] hover:underline cursor-pointer",children:"â Back to Dark Matter Media"})})})]})})}function D5(){return h.jsxs(is,{children:[h.jsx(ss,{title:"Privacy Policy | Dark Matter Media",description:"Dark Matter Media's privacy policy - how we
17collect, use, and protect your personal information.",path:"/privacy-policy",appendSiteName:!1}),h.jsx("section",{className:"pt-40 pb-24 px-6",children:h.jsx("div",{className:"container mx-auto max-w-3xl",children:h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[h.jsx("p",{className:"text-primary font-mono text-sm tracking-widest uppercase mb-4",children:"Legal"}),h.jsx("h1",{className:"text-5xl md:text-6xl font-display font-bold mb-4",children:"Privacy Policy"}),h.jsx("p",{className:"text-muted-foreground mb-16",children:"Effective Date: September 24, 2026"}),h.jsxs("div",{className:"prose prose-invert prose-lg max-w-none space-y-10 text-muted-foreground leading-relaxed",children:[h.jsx("p",{children:'Dark Matter Media ("we," "us," or "our") respects your privacy and is committed to protecting the personal information you share with us. This Privacy Policy explains what information we collect, how we use it, and the choices you have. By using our website or services, you agree to the practices described here.'}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Information We Collect"}),h.jsx("p",{className:"mb-4",children:"We may collect the following information when you contact us, request a quote, or use our services:"}),h.jsx("ul",{className:"space-y-2 list-none pl-0",children:["Contact details such as your name, phone number, email address, and business name.","Information you submit through forms on our website.","Communications between you and Dark Matter Media, including calls, texts, and emails.","Technical data such as your IP address, browser type, and pages visited, collected through cookies and similar technologies."].map(t=>h.jsxs("li",{className:"flex items-start gap-3",children:[h.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),t]},t))})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"How We Use Your Information"}),h.jsx("p",{className:"mb-4",children:"We use the information we collect to:"}),h.jsx("ul",{className:"space-y-2 list-none pl-0",children:["Respond to your inquiries and provide the services you request.","Send appointment confirmations, follow-ups, and service updates.","Send marketing communications where you have consented to receive them.","Improve our website, services, and customer experience.","Comply with legal obligations.","Measure the performance of our advertising and improve how we reach potential customers."].map(t=>h.jsxs("li",{className:"flex items-start gap-3",children:[h.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),t]},t))})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"SMS and Text Messaging"}),h.jsx("p",{className:"mb-4",children:"If you opt in to receive text messages from Dark Matter Media, the following applies:"}),h.jsx("ul",{className:"space-y-2 list-none pl-0 mb-4",children:["We send text messages only to contacts who have provided express consent, typically through a checkbox on our website form or by contacting us directly.","Message types may include appointment confirmations, follow-ups, service updates, and occasional promotional offers.","Message frequency varies. Message and data rates may apply.","You can opt out at any time by replying STOP. For help, reply HELP."].map(t=>h.jsxs("li",{className:"flex items-start gap-3",children:[h.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),t]},t))}),h.jsx("p",{className:"font-semibold text-foreground",children:"No mobile information will be shared with third parties or affiliates for marketing or promotional purposes. Text messaging originator opt-in data and consent will not be shared with any third parties for any purpose."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"How We Share Information"}),h.jsx("p",{className:"mb-4",children:"We do not sell, rent, or trade your personal information. We may share information only:"}),h.jsx("ul",{className:"space-y-2 list-none pl-0 mb-4",children:["With service providers who help us operate our business, under confidentiality obligations, and never for their own marketing.","When required by law, regulation, or legal process.","To protect the rights, safety, or property of Dark Matter Media, our clients, or others."].map(t=>h.jsxs("li",{className:"flex items-start gap-3",children:[h.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),t]},t))}),h.jsx("p",{className:"mb-4",children:"We never sell, rent, or trade your personal information, and we never share mobile opt-in or SMS consent data with any third party for their own marketing or promotional purposes. We never share SMS opt-in or consent data with anyone."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Cookies and Tracking"}),h.jsx("p",{children:"Our website may use cookies and similar technologies to understand how visitors use the site and to improve performance. You can adjust your browser settings to refuse cookies, though some features of the site may not function properly as a result."}),h.jsxs("p",{className:"mt-4",children:["We use Google Analytics to understand how visitors use our website. Google Analytics uses cookies to collect information such as the pages you visit, how long you stay, and how you arrived at our site. This information is reported to us in aggregate and is not used to identify you personally. You can learn how Google uses this information at"," ",h.jsx("a",{href:"https://policies.google.com/technologies/partner-sites",className:"text-primary hover:underline",children:"https://policies.google.com/technologies/partner-sites"})," ","and you can opt out using the Google Analytics Opt-out Browser Add-on at"," ",h.jsx("a",{href:"https://tools.google.com/dlpage/gaoptout",className:"text-primary hover:underline",children:"https://tools.google.com/dlpage/gaoptout"}),"."]})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Data Security"}),h.jsx("p",{children:"We use reasonable administrative, technical, and physical safeguards to protect your information. No method of transmission or storage is completely secure, so we cannot guarantee absolute security."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Your Choices"}),h.jsx("p",{className:"mb-4",children:"You may:"}),h.jsx("ul",{className:"space-y-2 list-none pl-0",children:["Opt out of text messages at any time by replying STOP.","Unsubscribe from marketing emails using the link provided in any message.","Request access to, correction of, or deleti
17on of your personal information by contacting us using the details below."].map(t=>h.jsxs("li",{className:"flex items-start gap-3",children:[h.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),t]},t))})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Children's Privacy"}),h.jsx("p",{children:"Our services are not directed to individuals under 18, and we do not knowingly collect personal information from children."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Changes to This Policy"}),h.jsx("p",{children:"We may update this Privacy Policy from time to time. The updated version will be posted on this page with a revised effective date."})]}),h.jsxs("div",{className:"border-t border-border/40 pt-10",children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Contact Us"}),h.jsx("p",{className:"mb-4",children:"If you have questions about this Privacy Policy, contact us at:"}),h.jsxs("div",{className:"space-y-1",children:[h.jsx("p",{className:"font-semibold text-foreground",children:"Dark Matter Media"}),h.jsx("p",{children:"316 SW 6th Ave, Amarillo, TX 79101"}),h.jsx("p",{children:h.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})}),h.jsx("p",{children:h.jsx("a",{href:"tel:8064772042",className:"text-primary hover:underline",children:"(806) 477-2042"})}),h.jsx("p",{children:h.jsx("a",{href:"https://darkmattermedia.ai",className:"text-primary hover:underline",children:"darkmattermedia.ai"})})]})]})]})]})})})]})}function O5(){return h.jsxs(is,{children:[h.jsx(ss,{title:"Terms of Service | Dark Matter Media",description:"Dark Matter Media's terms of service - the rules and guidelines governing use of our website and services.",path:"/terms-of-service",appendSiteName:!1}),h.jsx("section",{className:"pt-40 pb-24 px-6",children:h.jsx("div",{className:"container mx-auto max-w-3xl",children:h.jsxs(pe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[h.jsx("p",{className:"text-primary font-mono text-sm tracking-widest uppercase mb-4",children:"Legal"}),h.jsx("h1",{className:"text-5xl md:text-6xl font-display font-bold mb-4",children:"Terms of Service"}),h.jsx("p",{className:"text-muted-foreground mb-16",children:"Effective Date: June 25, 2025"}),h.jsxs("div",{className:"prose prose-invert prose-lg max-w-none space-y-10 text-muted-foreground leading-relaxed",children:[h.jsx("p",{children:'Welcome to Dark Matter Media. These Terms of Service ("Terms") govern your use of our website and services. By accessing our website, submitting a form, or using our services, you agree to these Terms. If you do not agree, please do not use our website or services.'}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Services"}),h.jsx("p",{children:"Dark Matter Media provides marketing and media services, which may include video production, social media management, advertising management, and web, app, and print services. The specific scope of any engagement is defined in a separate agreement or proposal."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Communications and SMS Consent"}),h.jsx("p",{className:"mb-4",children:"By providing your phone number and opting in through our website form or by contacting us directly, you consent to receive communications from Dark Matter Media, including calls, emails, and text messages."}),h.jsx("ul",{className:"space-y-2 list-none pl-0",children:["Text message types may include appointment confirmations, follow-ups, service updates, and occasional promotional offers.","Message frequency varies. Message and data rates may apply.","Reply STOP to unsubscribe at any time. Reply HELP for help.","Carriers are not liable for delayed or undelivered messages.","You must be 18 years of age or older to use this SMS service.","Consent to receive marketing text messages is not a condition of purchasing any goods or services."].map(t=>h.jsxs("li",{className:"flex items-start gap-3",children:[h.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),t]},t))})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"User Responsibilities"}),h.jsx("p",{className:"mb-4",children:"When using our website and services, you agree to:"}),h.jsx("ul",{className:"space-y-2 list-none pl-0",children:["Provide accurate and current information.","Use our website and services only for lawful purposes.","Not interfere with or disrupt the website, services, or related systems."].map(t=>h.jsxs("li",{className:"flex items-start gap-3",children:[h.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),t]},t))})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Intellectual Property"}),h.jsx("p",{children:"All content on this website, including text, graphics, logos, and media, is the property of Dark Matter Media or its licensors and is protected by applicable intellectual property laws. You may not reproduce, distribute, or create derivative works without our written permission."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Third-Party Links"}),h.jsx("p",{children:"Our website may contain links to third-party sites. We are not responsible for the content, policies, or practices of those sites."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Disclaimers"}),h.jsx("p",{children:'Our website and services are provided "as is" and "as available" without warranties of any kind, whether express or implied, to the fullest extent permitted by law. We do not warrant that the website will be uninterrupted, error-free, or secure.'})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Limitation of Liability"}),h.jsx("p",{children:"To the fullest extent permitted by law, Dark Matter Media will not be liable for any indirect, incidental, special, or consequential damages arising from your use of our website or services."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Indemnification"}),h.jsx("p",{children:"You agree to indemnify and hold harmless Dark Matter Media from any claims, damages, or expenses arising from your violation of these Terms or your misuse of our website or services."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Governing Law"}),h.jsx("p",{children:"These Terms are governed by the laws of the State of Texas, without regard to its conflict of laws principles. Any disputes arising under these Terms will be handled in the courts located in Texas."})]}),h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Changes to These Terms"}),h.jsx("p",{children:"We may update these Terms from time to time. The updated version will be posted on this page with a revised effective date. Continued use of our website or services after changes are posted means you accept the updated Terms."})]}),h.jsxs("div",{className:"border-t border-border/40 pt-10",children:[h.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mb-4",children:"Contact Us"}),h.jsx("p",{className:"mb-4",children:"If you have questions about these Terms, contact us at:"}),h.jsxs("div",{className:"space-y-1",children:[h.jsx("p",{className:"font-semibold text-foreground",children:"Dark Matter Media"}),h.jsx("p",{children:"316 SW 6th Ave, Amarillo, TX 79101"}),h.jsx("p",{children:h.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})}),h.jsx("p",{children:h.jsx("a",{href:"tel:8064772042",className:"text-primary hover:underline",children:"(806) 477-2042"})}),h.jsx("p",{children:h.jsx("a",{href:"https://darkmattermedia.ai",className:"text-primary hover:underline",children:"darkmattermedia.ai"})})]})]})]})]})})})]})}const _5=new yA;function k5(){const[t]=qd();return S.useEffect(()=>{window.scrollTo(0,0);try{ic(window.location.hostname)&&typeof window.gtag=="function"&&window.gtag("event","page_view",{page_path:t})}catch{}},[t]),null}function P5(){const[t]=qd();return t.startsWith("/portal")?h.jsx(N5,{}):h.jsx(Cr,{mode:"wait",initial:!1,children:h.jsx(C3,{children:h.jsxs(q2,{location:t,children:[h.jsx(mi,{path:"/",component:c5}),h.jsx(mi,{path:"/services",component:f5}),h.jsx(mi,{path:"/work",component:g5}),h.jsx(mi,{path:"/about",component:v5}
17),h.jsx(mi,{path:"/contact",component:b5}),h.jsx(mi,{path:"/privacy-policy",component:D5}),h.jsx(mi,{path:"/terms-of-service",component:O5}),h.jsx(mi,{component:E5})]})},t)})}function L5(){return h.jsx(xA,{client:_5,children:h.jsx(A3,{children:h.jsxs(O3,{children:[h.jsxs(yx,{base:"/".replace(/\/$/,""),children:[h.jsx(k5,{}),h.jsx(P5,{})]}),h.jsx(GD,{})]})})})}function V5(){if(!ic(window.location.hostname))return;window.dataLayer=window.dataLayer||[],window.gtag=(...i)=>{window.dataLayer.push(i)},window.gtag("js",new Date),window.gtag("config",kl.analyticsId,{send_page_view:!1});const t=document.createElement("script");t.async=!0,t.src=`https://www.googletagmanager.com/gtag/js?id=${kl.analyticsId}`,document.head.appendChild(t)}V5();w2.createRoot(document.getElementById("root")).render(h.jsx(L5,{}));
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.