PageSourceSearch

https://m-1-v-hasanluongo.replit.app/assets/index-5j2-arOk.js

js m-1-v-hasanluongo.replit.app collected 2026-10-03 03:55:34 UTC 450,737 bytes, 97 lines download raw bytes

vendor: 4,240 bytes, lines 1-17
1function hE(n,i){for(var s=0;s<i.length;s++){const o=i[s];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in n)){const f=Object.getOwnPropertyDescriptor(o,l);f&&Object.defineProperty(n,l,f.get?f:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(n,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"]'))o(l);new MutationObserver(l=>{for(const f of l)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function s(l){const f={};return l.integrity&&(f.integrity=l.integrity),l.referrerPolicy&&(f.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?f.credentials="include":l.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(l){if(l.ep)return;l.ep=!0;const f=s(l);fetch(l.href,f)}})();function y0(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Qc={exports:{}},Zs={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var lg;function mE(){if(lg)return Zs;lg=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(o,l,f){var d=null;if(f!==void 0&&(d=""+f),l.key!==void 0&&(d=""+l.key),"key"in l){f={};for(var h in l)h!=="key"&&(f[h]=l[h])}else f=l;return l=f.ref,{$$typeof:n,type:o,key:d,ref:l!==void 0?l:null,props:f}}return Zs.Fragment=i,Zs.jsx=s,Zs.jsxs=s,Zs}var ug;function pE(){return ug||(ug=1,Qc.exports=mE()),Qc.exports}var E=pE(),Fc={exports:{}},$s={},Zc={exports:{}},$c={};/**
10 * @license React
11 * scheduler.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var cg;function yE(){return cg||(cg=1,(function(n){function i(_,Y){var H=_.length;_.push(Y);t:for(;0<H;){var at=H-1>>>1,ut=_[at];if(0<l(ut,Y))_[at]=Y,_[H]=ut,H=at;else break t}}function s(_){return _.length===0?null:_[0]}function o(_){if(_.length===0)return null;var Y=_[0],H=_.pop();if(H!==Y){_[0]=H;t:for(var at=0,ut=_.length,D=ut>>>1;at<D;){var K=2*(at+1)-1,$=_[K],J=K+1,ct=_[J];if(0>l($,H))J<ut&&0>l(ct,$)?(_[at]=ct,_[J]=H,at=J):(_[at]=$,_[K]=H,at=K);else if(J<ut&&0>l(ct,H))_[at]=ct,_[J]=H,at=J;else break t}}return Y}function l(_,Y){var H=_.sortIndex-Y.sortIndex;return H!==0?H:_.id-Y.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var p=[],m=[],y=1,v=null,x=3,T=!1,C=!1,w=!1,M=!1,N=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function q(_){for(var Y=s(m);Y!==null;){if(Y.callback===null)o(m);else if(Y.startTime<=_)o(m),Y.sortIndex=Y.expirationTime,i(p,Y);else break;Y=s(m)}}function G(_){if(w=!1,q(_),!C)if(s(p)!==null)C=!0,Z||(Z=!0,pt());else{var Y=s(m);Y!==null&&dt(G,Y.startTime-_)}}var Z=!1,P=-1,V=5,I=-1;function et(){return M?!0:!(n.unstable_now()-I<V)}function ht(){if(M=!1,Z){var _=n.unstable_now();I=_;var Y=!0;try{t:{C=!1,w&&(w=!1,U(P),P=-1),T=!0;var H=x;try{e:{for(q(_),v=s(p);v!==null&&!(v.expirationTime>_&&et());){var at=v.callback;if(typeof at=="function"){v.callback=null,x=v.priorityLevel;var ut=at(v.expirationTime<=_);if(_=n.unstable_now(),typeof ut=="function"){v.callback=ut,q(_),Y=!0;break e}v===s(p)&&o(p),q(_)}else o(p);v=s(p)}if(v!==null)Y=!0;else{var D=s(m);D!==null&&dt(G,D.startTime-_),Y=!1}}break t}finally{v=null,x=H,T=!1}Y=void 0}}finally{Y?pt():Z=!1}}}var pt;if(typeof j=="function")pt=function(){j(ht)};else if(typeof MessageChannel<"u"){var wt=new MessageChannel,W=wt.port2;wt.port1.onmessage=ht,pt=function(){W.postMessage(null)}}else pt=function(){N(ht,0)};
vendor: 18,642 bytes, lines 17-43
17function dt(_,Y){P=N(function(){_(n.unstable_now())},Y)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(_){_.callback=null},n.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"):V=0<_?Math.floor(1e3/_):5},n.unstable_getCurrentPriorityLevel=function(){return x},n.unstable_next=function(_){switch(x){case 1:case 2:case 3:var Y=3;break;default:Y=x}var H=x;x=Y;try{return _()}finally{x=H}},n.unstable_requestPaint=function(){M=!0},n.unstable_runWithPriority=function(_,Y){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var H=x;x=_;try{return Y()}finally{x=H}},n.unstable_scheduleCallback=function(_,Y,H){var at=n.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?at+H:at):H=at,_){case 1:var ut=-1;break;case 2:ut=250;break;case 5:ut=1073741823;break;case 4:ut=1e4;break;default:ut=5e3}return ut=H+ut,_={id:y++,callback:Y,priorityLevel:_,startTime:H,expirationTime:ut,sortIndex:-1},H>at?(_.sortIndex=H,i(m,_),s(p)===null&&_===s(m)&&(w?(U(P),P=-1):w=!0,dt(G,H-at))):(_.sortIndex=ut,i(p,_),C||T||(C=!0,Z||(Z=!0,pt()))),_},n.unstable_shouldYield=et,n.unstable_wrapCallback=function(_){var Y=x;return function(){var H=x;x=Y;try{return _.apply(this,arguments)}finally{x=H}}}})($c)),$c}var fg;function gE(){return fg||(fg=1,Zc.exports=yE()),Zc.exports}var Jc={exports:{}},mt={};/**
18 * @license React
19 * react.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var dg;function vE(){if(dg)return mt;dg=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),x=Symbol.iterator;function T(D){return D===null||typeof D!="object"?null:(D=x&&D[x]||D["@@iterator"],typeof D=="function"?D:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,M={};function N(D,K,$){this.props=D,this.context=K,this.refs=M,this.updater=$||C}N.prototype.isReactComponent={},N.prototype.setState=function(D,K){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,K,"setState")},N.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function U(){}U.prototype=N.prototype;function j(D,K,$){this.props=D,this.context=K,this.refs=M,this.updater=$||C}var q=j.prototype=new U;q.constructor=j,w(q,N.prototype),q.isPureReactComponent=!0;var G=Array.isArray;function Z(){}var P={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function I(D,K,$){var J=$.ref;return{$$typeof:n,type:D,key:K,ref:J!==void 0?J:null,props:$}}function et(D,K){return I(D.type,K,D.props)}function ht(D){return typeof D=="object"&&D!==null&&D.$$typeof===n}function pt(D){var K={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function($){return K[$]})}var wt=/\/+/g;function W(D,K){return typeof D=="object"&&D!==null&&D.key!=null?pt(""+D.key):K.toString(36)}function dt(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(Z,Z):(D.status="pending",D.then(function(K){D.status==="pending"&&(D.status="fulfilled",D.value=K)},function(K){D.status==="pending"&&(D.status="rejected",D.reason=K)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function _(D,K,$,J,ct){var yt=typeof D;(yt==="undefined"||yt==="boolean")&&(D=null);var rt=!1;if(D===null)rt=!0;else switch(yt){case"bigint":case"string":case"number":rt=!0;break;case"object":switch(D.$$typeof){case n:case i:rt=!0;break;case y:return rt=D._init,_(rt(D._payload),K,$,J,ct)}}if(rt)return ct=ct(D),rt=J===""?"."+W(D,0):J,G(ct)?($="",rt!=null&&($=rt.replace(wt,"$&/")+"/"),_(ct,K,$,"",function(Ue){return Ue})):ct!=null&&(ht(ct)&&(ct=et(ct,$+(ct.key==null||D&&D.key===ct.key?"":(""+ct.key).replace(wt,"$&/")+"/")+rt)),K.push(ct)),1;rt=0;var Yt=J===""?".":J+":";if(G(D))for(var Nt=0;Nt<D.length;Nt++)J=D[Nt],yt=Yt+W(J,Nt),rt+=_(J,K,$,yt,ct);else if(Nt=T(D),typeof Nt=="function")for(D=Nt.call(D),Nt=0;!(J=D.next()).done;)J=J.value,yt=Yt+W(J,Nt++),rt+=_(J,K,$,yt,ct);else if(yt==="object"){if(typeof D.then=="function")return _(dt(D),K,$,J,ct);throw K=String(D),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return rt}function Y(D,K,$){if(D==null)return D;var J=[],ct=0;return _(D,J,"","",function(yt){return K.call($,yt,ct++)}),J}function H(D){if(D._status===-1){var K=D._result;K=K(),K.then(function($){(D._status===0||D._status===-1)&&(D._status=1,D._result=$)},function($){(D._status===0||D._status===-1)&&(D._status=2,D._result=$)}),D._status===-1&&(D._status=0,D._result=K)}if(D._status===1)return D._result.default;throw D._result}var at=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},ut={map:Y,forEach:function(D,K,$){Y(D,function(){K.apply(this,arguments)},$)},count:function(D){var K=0;return Y(D,function(){K++}),K},toArray:function(D){return Y(D,function(K){return K})||[]},only:function(D){if(!ht(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return mt.Activity=v,mt.Children=ut,mt.Component=N,mt.Fragment=s,mt.Profiler=l,mt.PureComponent=j,mt.StrictMode=o,mt.Suspense=p,mt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,mt.__COMPILER_RUNTIME={__proto__:null,c:function(D){return P.H.useMemoCache(D)}},mt.cache=function(D){return function(){return D.apply(null,arguments)}},mt.cacheSignal=function(){return null},mt.cloneElement=function(D,K,$){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var J=w({},D.props),ct=D.key;if(K!=null)for(yt in K.key!==void 0&&(ct=""+K.key),K)!V.call(K,yt)||yt==="key"||yt==="__self"||yt==="__source"||yt==="ref"&&K.ref===void 0||(J[yt]=K[yt]);var yt=arguments.length-2;if(yt===1)J.children=$;else if(1<yt){for(var rt=Array(yt),Yt=0;Yt<yt;Yt++)rt[Yt]=arguments[Yt+2];J.children=rt}return I(D.type,ct,J)},mt.createContext=function(D){return D={$$typeof:d,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:f,_context:D},D},mt.createElement=function(D,K,$){var J,ct={},yt=null;if(K!=null)for(J in K.key!==void 0&&(yt=""+K.key),K)V.call(K,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ct[J]=K[J]);var rt=arguments.length-2;if(rt===1)ct.children=$;else if(1<rt){for(var Yt=Array(rt),Nt=0;Nt<rt;Nt++)Yt[Nt]=arguments[Nt+2];ct.children=Yt}if(D&&D.defaultProps)for(J in rt=D.defaultProps,rt)ct[J]===void 0&&(ct[J]=rt[J]);return I(D,yt,ct)},mt.createRef=function(){return{current:null}},mt.forwardRef=function(D){return{$$typeof:h,render:D}},mt.isValidElement=ht,mt.lazy=function(D){return{$$typeof:y,_payload:{_status:-1,_result:D},_init:H}},mt.memo=function(D,K){return{$$typeof:m,type:D,compare:K===void 0?null:K}},mt.startTransition=function(D){var K=P.T,$={};P.T=$;try{var J=D(),ct=P.S;ct!==null&&ct($,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(Z,at)}catch(yt){at(yt)}finally{K!==null&&$.types!==null&&(K.types=$.types),P.T=K}},mt.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},mt.use=function(D){return P.H.use(D)},mt.useActionState=function(D,K,$){return P.H.useActionState(D,K,$)},mt.useCallback=function(D,K){return P.H.useCallback(D,K)},mt.useContext=function(D){return P.H.useContext(D)},mt.useDebugValue=function(){},mt.useDeferredValue=function(D,K){return P.H.useDeferredValue(D,K)},mt.useEffect=function(D,K){return P.H.useEffect(D,K)},mt.useEffectEvent=function(D){return P.H.useEffectEvent(D)},mt.useId=function(){return P.H.useId()},mt.useImperativeHandle=function(D,K,$){return P.H.useImperativeHandle(D,K,$)},mt.useInsertionEffect=function(D,K){return P.H.useInsertionEffect(D,K)},mt.useLayoutEffect=function(D,K){return P.H.useLayoutEffect(D,K)},mt.useMemo=function(D,K){return P.H.useMemo(D,K)},mt.useOptimistic=function(D,K){return P.H.useOptimistic(D,K)},mt.useReducer=function(D,K,$){return P.H.useReducer(D,K,$)},mt.useRef=function(D){return P.H.useRef(D)},mt.useState=function(D){return P.H.useState(D)},mt.useSyncExternalStore=function(D,K,$){return P.H.useSyncExternalStore(D,K,$)},mt.useTransition=function(){return P.H.useTransition()},mt.version="19.2.0",mt}var hg;function ml(){return hg||(hg=1,Jc.exports=vE()),Jc.exports}var Wc={exports:{}},ue={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var mg;function bE(){if(mg)return ue;mg=1;var n=ml();function i(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var o={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},l=Symbol.for("react.portal");function f(p,m,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:v==null?null:""+v,children:p,containerInfo:m,implementation:y}}var d=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ue.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ue.createPortal=function(p,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return f(p,m,null,y)},ue.flushSync=function(p){var m=d.T,y=o.p;try{if(d.T=null,o.p=2,p)return p()}finally{d.T=m,o.p=y,o.d.f()}},ue.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,o.d.C(p,m))},ue.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},ue.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var y=m.as,v=h(y,m.crossOrigin),x=typeof m.integrity=="string"?m.integrity:void 0,T=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?o.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:v,integrity:x,fetchPriority:T}):y==="script"&&o.d.X(p,{crossOrigin:v,integrity:x,fetchPriority:T,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ue.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=h(m.as,m.crossOrigin);o.d.M(p,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&o.d.M(p)},ue.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,v=h(y,m.crossOrigin);o.d.L(p,y,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ue.preloadModule=function(p,m){if(typeof p=="string")if(m){var y=h(m.as,m.crossOrigin);o.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else o.d.m(p)},ue.requestFormReset=function(p){o.d.r(p)},ue.unstable_batchedUpdates=function(p,m){return p(m)},ue.useFormState=function(p,m,y){return d.H.useFormState(p,m,y)},ue.useFormStatus=function(){return d.H.useHostTransitionStatus()},ue.version="19.2.0",ue}var pg;function g0(){if(pg)return Wc.exports;pg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Wc.exports=bE(),Wc.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var yg;function xE(){if(yg)return $s;yg=1;var n=gE(),i=ml(),s=g0();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function d(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function h(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(f(t)!==t)throw Error(o(188))}function m(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(o(188));return e!==t?null:t}for(var a=t,r=e;;){var u=a.return;if(u===null)break;var c=u.alternate;if(c===null){if(r=u.return,r!==null){a=r;continue}break}if(u.child===c.child){for(c=u.child;c;){if(c===a)return p(u),t;if(c===r)return p(u),e;c=c.sibling}throw Error(o(188))}if(a.return!==r.return)a=u,r=c;else{for(var g=!1,b=u.child;b;){if(b===a){g=!0,a=u,r=c;break}if(b===r){g=!0,r=u,a=c;break}b=b.sibling}if(!g){for(b=c.child;b;){if(b===a){g=!0,a=c,r=u;break}if(b===r){g=!0,r=c,a=u;break}b=b.sibling}if(!g)throw Error(o(189))}}if(a.alternate!==r)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?t:e}function y(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=y(t),e!==null)return e;t=t.sibling}return null}var v=Object.assign,x=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),j=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),et=Symbol.for("react.memo_cache_sentinel"),ht=Symbol.iterator;function pt(t){return t===null||typeof t!="object"?null:(t=ht&&t[ht]||t["@@iterator"],typeof t=="function"?t:null)}var wt=Symbol.for("react.client.reference");function W(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===wt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case w:return"Fragment";case N:return"Profiler";case M:return"StrictMode";case G:return"Suspense";case Z:return"SuspenseList";case I:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case C:return"Portal";case j:return t.displayName||"Context";case U:return(t._context.displayName||"Context")+".Consumer";case q:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case P:return e=t.displayName||null,e!==null?e:W(t.type)||"Memo";case V:e=t._payload,t=t._init;try{return W(t(e))}catch{}}return null}var dt=Array.isArray,_=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H={pending:!1,data:null,method:null,action:null},at=[],ut=-1;function D(t){return{current:t}}function K(t){0>ut||(t.current=at[ut],at[ut]=null,ut--)}function $(t,e){ut++,at[ut]=t.current,t.current=e}var J=D(null),ct=D(null),yt=D(null),rt=D(null);function Yt(t,e){switch($(yt,e),$(ct,t),$(J,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Ny(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Ny(e),t=jy(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}K(J),$(J,t)}function Nt(){K(J),K(ct),K(yt)}function Ue(t){t.memoizedState!==null&&$(rt,t);var e=J.current,a=jy(e,t.type);e!==a&&($(ct,t),$(J,a))}function on(t){ct.current===t&&(K(J),K(ct)),rt.current===t&&(K(rt),Xs._currentValue=H)}var ln,Ai;function Ci(t){if(ln===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);ln=e&&e[1]||"",Ai=-1<a.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+ln+t+Ai}var Rl=!1;function Nl(t,e){if(!t||Rl)return"";Rl=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(e){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(k){var B=k}Reflect.construct(t,[],F)}else{try{F.call()}catch(k){B=k}t.call(F.prototype)}}else{try{throw Error()}catch(k){B=k}(F=t())&&typeof F.catch=="function"&&F.catch(function(){})}}
vendor: 12,115 bytes, lines 43-48
43catch(k){if(k&&B&&typeof k.stack=="string")return[k.stack,B.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=r.DetermineComponentFrameRoot(),g=c[0],b=c[1];if(g&&b){var A=g.split(`
44`),L=b.split(`
45`);for(u=r=0;r<A.length&&!A[r].includes("DetermineComponentFrameRoot");)r++;for(;u<L.length&&!L[u].includes("DetermineComponentFrameRoot");)u++;if(r===A.length||u===L.length)for(r=A.length-1,u=L.length-1;1<=r&&0<=u&&A[r]!==L[u];)u--;for(;1<=r&&0<=u;r--,u--)if(A[r]!==L[u]){if(r!==1||u!==1)do if(r--,u--,0>u||A[r]!==L[u]){var X=`
46`+A[r].replace(" at new "," at ");return t.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",t.displayName)),X}while(1<=r&&0<=u);break}}}finally{Rl=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?Ci(a):""}function YS(t,e){switch(t.tag){case 26:case 27:case 5:return Ci(t.type);case 16:return Ci("Lazy");case 13:return t.child!==e&&e!==null?Ci("Suspense Fallback"):Ci("Suspense");case 19:return Ci("SuspenseList");case 0:case 15:return Nl(t.type,!1);case 11:return Nl(t.type.render,!1);case 1:return Nl(t.type,!0);case 31:return Ci("Activity");default:return""}}function lh(t){try{var e="",a=null;do e+=YS(t,a),a=t,t=t.return;while(t);return e}catch(r){return`
47Error generating stack: `+r.message+`
48`+r.stack}}var jl=Object.prototype.hasOwnProperty,_l=n.unstable_scheduleCallback,zl=n.unstable_cancelCallback,XS=n.unstable_shouldYield,KS=n.unstable_requestPaint,we=n.unstable_now,QS=n.unstable_getCurrentPriorityLevel,uh=n.unstable_ImmediatePriority,ch=n.unstable_UserBlockingPriority,Er=n.unstable_NormalPriority,FS=n.unstable_LowPriority,fh=n.unstable_IdlePriority,ZS=n.log,$S=n.unstable_setDisableYieldValue,is=null,Ae=null;function Yn(t){if(typeof ZS=="function"&&$S(t),Ae&&typeof Ae.setStrictMode=="function")try{Ae.setStrictMode(is,t)}catch{}}var Ce=Math.clz32?Math.clz32:IS,JS=Math.log,WS=Math.LN2;function IS(t){return t>>>=0,t===0?32:31-(JS(t)/WS|0)|0}var wr=256,Ar=262144,Cr=4194304;function Mi(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Mr(t,e,a){var r=t.pendingLanes;if(r===0)return 0;var u=0,c=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var b=r&134217727;return b!==0?(r=b&~c,r!==0?u=Mi(r):(g&=b,g!==0?u=Mi(g):a||(a=b&~t,a!==0&&(u=Mi(a))))):(b=r&~c,b!==0?u=Mi(b):g!==0?u=Mi(g):a||(a=r&~t,a!==0&&(u=Mi(a)))),u===0?0:e!==0&&e!==u&&(e&c)===0&&(c=u&-u,a=e&-e,c>=a||c===32&&(a&4194048)!==0)?e:u}function as(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function t1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 dh(){var t=Cr;return Cr<<=1,(Cr&62914560)===0&&(Cr=4194304),t}function Ll(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function ss(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function e1(t,e,a,r,u,c){var g=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var b=t.entanglements,A=t.expirationTimes,L=t.hiddenUpdates;for(a=g&~a;0<a;){var X=31-Ce(a),F=1<<X;b[X]=0,A[X]=-1;var B=L[X];if(B!==null)for(L[X]=null,X=0;X<B.length;X++){var k=B[X];k!==null&&(k.lane&=-536870913)}a&=~F}r!==0&&hh(t,r,0),c!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=c&~(g&~e))}function hh(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var r=31-Ce(e);t.entangledLanes|=e,t.entanglements[r]=t.entanglements[r]|1073741824|a&261930}function mh(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var r=31-Ce(a),u=1<<r;u&e|t[r]&e&&(t[r]|=e),a&=~u}}function ph(t,e){var a=e&-e;return a=(a&42)!==0?1:Vl(a),(a&(t.suspendedLanes|e))!==0?0:a}function Vl(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ul(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function yh(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:eg(t.type))}function gh(t,e){var a=Y.p;try{return Y.p=t,e()}finally{Y.p=a}}var Xn=Math.random().toString(36).slice(2),ie="__reactFiber$"+Xn,me="__reactProps$"+Xn,Ii="__reactContainer$"+Xn,Bl="__reactEvents$"+Xn,n1="__reactListeners$"+Xn,i1="__reactHandles$"+Xn,vh="__reactResources$"+Xn,rs="__reactMarker$"+Xn;function Pl(t){delete t[ie],delete t[me],delete t[Bl],delete t[n1],delete t[i1]}function ta(t){var e=t[ie];if(e)return e;for(var a=t.parentNode;a;){if(e=a[Ii]||a[ie]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=Py(t);t!==null;){if(a=t[ie])return a;t=Py(t)}return e}t=a,a=t.parentNode}return null}function ea(t){if(t=t[ie]||t[Ii]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function os(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function na(t){var e=t[vh];return e||(e=t[vh]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ee(t){t[rs]=!0}var bh=new Set,xh={};function Di(t,e){ia(t,e),ia(t+"Capture",e)}function ia(t,e){for(xh[t]=e,t=0;t<e.length;t++)bh.add(e[t])}var a1=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]*$"),Sh={},Th={};function s1(t){return jl.call(Th,t)?!0:jl.call(Sh,t)?!1:a1.test(t)?Th[t]=!0:(Sh[t]=!0,!1)}function Dr(t,e,a){if(s1(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var r=e.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function Or(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+a)}}function Sn(t,e,a,r){if(r===null)t.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+r)}}function Be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Eh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function r1(t,e,a){var r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var u=r.get,c=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(g){a=""+g,c.call(this,g)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(g){a=""+g},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Hl(t){if(!t._valueTracker){var e=Eh(t)?"checked":"value";t._valueTracker=r1(t,e,""+t[e])}}function wh(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),r="";return t&&(r=Eh(t)?t.checked?"true":"false":t.value),t=r,t!==a?(e.setValue(t),!0):!1}function Rr(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var o1=/[\n"\\]/g;function Pe(t){return t.replace(o1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function kl(t,e,a,r,u,c,g,b){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.type=g:t.removeAttribute("type"),e!=null?g==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Be(e)):t.value!==""+Be(e)&&(t.value=""+Be(e)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),e!=null?ql(t,g,Be(e)):a!=null?ql(t,g,Be(a)):r!=null&&t.removeAttribute("value"),u==null&&c!=null&&(t.defaultChecked=!!c),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.name=""+Be(b):t.removeAttribute("name")}function Ah(t,e,a,r,u,c,g,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||a!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){Hl(t);return}a=a!=null?""+Be(a):"",e=e!=null?""+Be(e):a,b||e===t.value||(t.value=e),t.defaultValue=e}r=r??u,r=typeof r!="function"&&typeof r!="symbol"&&!!r,t.checked=b?t.checked:!!r,t.defaultChecked=!!r,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.name=g),Hl(t)}function ql(t,e,a){e==="number"&&Rr(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function aa(t,e,a,r){if(t=t.options,e){e={};for(var u=0;u<a.length;u++)e["$"+a[u]]=!0;for(a=0;a<t.length;a++)u=e.hasOwnProperty("$"+t[a].value),t[a].selected!==u&&(t[a].selected=u),u&&r&&(t[a].defaultSelected=!0)}else{for(a=""+Be(a),e=null,u=0;u<t.length;u++){if(t[u].value===a){t[u].selected=!0,r&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function Ch(t,e,a){if(e!=null&&(e=""+Be(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+Be(a):""}function Mh(t,e,a,r){if(e==null){if(r!=null){if(a!=null)throw Error(o(92));if(dt(r)){if(1<r.length)throw Error(o(93));r=r[0]}a=r}a==null&&(a=""),e=a}a=Be(e),t.defaultValue=a,r=t.textContent,r===a&&r!==""&&r!==null&&(t.value=r),Hl(t)}function sa(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var l1=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 Dh(t,e,a){var r=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?r?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":r?t.setProperty(e,a):typeof a!="number"||a===0||l1.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a
vendor: 5,735 bytes, line 48
48).trim():t[e]=a+"px"}function Oh(t,e,a){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,a!=null){for(var r in a)!a.hasOwnProperty(r)||e!=null&&e.hasOwnProperty(r)||(r.indexOf("--")===0?t.setProperty(r,""):r==="float"?t.cssFloat="":t[r]="");for(var u in e)r=e[u],e.hasOwnProperty(u)&&a[u]!==r&&Dh(t,u,r)}else for(var c in e)e.hasOwnProperty(c)&&Dh(t,c,e[c])}function Gl(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var u1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),c1=/^[\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 Nr(t){return c1.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Tn(){}var Yl=null;function Xl(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ra=null,oa=null;function Rh(t){var e=ea(t);if(e&&(t=e.stateNode)){var a=t[me]||null;t:switch(t=e.stateNode,e.type){case"input":if(kl(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Pe(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var r=a[e];if(r!==t&&r.form===t.form){var u=r[me]||null;if(!u)throw Error(o(90));kl(r,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<a.length;e++)r=a[e],r.form===t.form&&wh(r)}break t;case"textarea":Ch(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&aa(t,!!a.multiple,e,!1)}}}var Kl=!1;function Nh(t,e,a){if(Kl)return t(e,a);Kl=!0;try{var r=t(e);return r}finally{if(Kl=!1,(ra!==null||oa!==null)&&(bo(),ra&&(e=ra,t=oa,oa=ra=null,Rh(e),t)))for(e=0;e<t.length;e++)Rh(t[e])}}function ls(t,e){var a=t.stateNode;if(a===null)return null;var r=a[me]||null;if(r===null)return null;a=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!r;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(o(231,e,typeof a));return a}var En=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ql=!1;if(En)try{var us={};Object.defineProperty(us,"passive",{get:function(){Ql=!0}}),window.addEventListener("test",us,us),window.removeEventListener("test",us,us)}catch{Ql=!1}var Kn=null,Fl=null,jr=null;function jh(){if(jr)return jr;var t,e=Fl,a=e.length,r,u="value"in Kn?Kn.value:Kn.textContent,c=u.length;for(t=0;t<a&&e[t]===u[t];t++);var g=a-t;for(r=1;r<=g&&e[a-r]===u[c-r];r++);return jr=u.slice(t,1<r?1-r:void 0)}function _r(t){var e=t.keyCode;
vendor: 5,454 bytes, line 48
48return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function zr(){return!0}function _h(){return!1}function pe(t){function e(a,r,u,c,g){this._reactName=a,this._targetInst=u,this.type=r,this.nativeEvent=c,this.target=g,this.currentTarget=null;for(var b in t)t.hasOwnProperty(b)&&(a=t[b],this[b]=a?a(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?zr:_h,this.isPropagationStopped=_h,this}return v(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=zr)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=zr)},persist:function(){},isPersistent:zr}),e}var Oi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lr=pe(Oi),cs=v({},Oi,{view:0,detail:0}),f1=pe(cs),Zl,$l,fs,Vr=v({},cs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wl,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==fs&&(fs&&t.type==="mousemove"?(Zl=t.screenX-fs.screenX,$l=t.screenY-fs.screenY):$l=Zl=0,fs=t),Zl)},movementY:function(t){return"movementY"in t?t.movementY:$l}}),zh=pe(Vr),d1=v({},Vr,{dataTransfer:0}),h1=pe(d1),m1=v({},cs,{relatedTarget:0}),Jl=pe(m1),p1=v({},Oi,{animationName:0,elapsedTime:0,pseudoElement:0}),y1=pe(p1),g1=v({},Oi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),v1=pe(g1),b1=v({},Oi,{data:0}),Lh=pe(b1),x1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S1={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"},T1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E1(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=T1[t])?!!e[t]:!1}function Wl(){return E1}var w1=v({},cs,{key:function(t){if(t.key){var e=x1[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=_r(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?S1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wl,charCode:function(t){return t.type==="keypress"?_r(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?_r(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),A1=pe(w1),C1=v({},Vr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vh=pe(C1),M1=v({},cs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wl}),D1=pe(M1),O1=v({},Oi,{propertyName:0,elapsedTime:0,pseudoElement:0}),R1=pe(O1),N1=v({},Vr,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),j1=pe(N1),_1=v({},Oi,{newState:0,oldState:0}),z1=pe(_1),L1=[9,13,27,32],Il=En&&"CompositionEvent"in window,ds=null;En&&"documentMode"in document&&(ds=document.documentMode);var V1=En&&"TextEvent"in window&&!ds,Uh=En&&(!Il||ds&&8<ds&&11>=ds),Bh=" ",Ph=!1;function Hh(t,e){switch(t){case"keyup":return L1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var la=!1;function U1(t,e){switch(t){case"compositionend":return kh(e);case"keypress":return e.which!==32?null:(Ph=!0,Bh);case"textInput":return t=e.data,t===Bh&&Ph?null:t;default:return null}}function B1(t,e){if(la)return t==="compositionend"||!Il&&Hh(t,e)?(t=jh(),jr=Fl=Kn=null,la=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Uh&&e.locale!=="ko"?null:e.data;default:return null}}var P1={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 qh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!P1[t.type]:e==="textarea"}function Gh(t,e,a,r){ra?oa?oa.push(r):oa=[r]:ra=r,e=Co(e,"onChange"),0<e.length&&(a=new Lr("onChange","change",null,a,r),t.push({event:a,listeners:e}))}var hs=null,ms=null;function H1(t){Ay(t,0)}function Ur(t){var e=os(t);
vendor: 6,051 bytes, line 48
48if(wh(e))return t}function Yh(t,e){if(t==="change")return e}var Xh=!1;if(En){var tu;if(En){var eu="oninput"in document;if(!eu){var Kh=document.createElement("div");Kh.setAttribute("oninput","return;"),eu=typeof Kh.oninput=="function"}tu=eu}else tu=!1;Xh=tu&&(!document.documentMode||9<document.documentMode)}function Qh(){hs&&(hs.detachEvent("onpropertychange",Fh),ms=hs=null)}function Fh(t){if(t.propertyName==="value"&&Ur(ms)){var e=[];Gh(e,ms,t,Xl(t)),Nh(H1,e)}}function k1(t,e,a){t==="focusin"?(Qh(),hs=e,ms=a,hs.attachEvent("onpropertychange",Fh)):t==="focusout"&&Qh()}function q1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ur(ms)}function G1(t,e){if(t==="click")return Ur(e)}function Y1(t,e){if(t==="input"||t==="change")return Ur(e)}function X1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Me=typeof Object.is=="function"?Object.is:X1;function ps(t,e){if(Me(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),r=Object.keys(e);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var u=a[r];if(!jl.call(e,u)||!Me(t[u],e[u]))return!1}return!0}function Zh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function $h(t,e){var a=Zh(t);t=0;for(var r;a;){if(a.nodeType===3){if(r=t+a.textContent.length,t<=e&&r>=e)return{node:a,offset:e-t};t=r}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Zh(a)}}function Jh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Jh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Wh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Rr(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=Rr(t.document)}return e}function nu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var K1=En&&"documentMode"in document&&11>=document.documentMode,ua=null,iu=null,ys=null,au=!1;function Ih(t,e,a){var r=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;au||ua==null||ua!==Rr(r)||(r=ua,"selectionStart"in r&&nu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ys&&ps(ys,r)||(ys=r,r=Co(iu,"onSelect"),0<r.length&&(e=new Lr("onSelect","select",null,e,a),t.push({event:e,listeners:r}),e.target=ua)))}function Ri(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var ca={animationend:Ri("Animation","AnimationEnd"),animationiteration:Ri("Animation","AnimationIteration"),animationstart:Ri("Animation","AnimationStart"),transitionrun:Ri("Transition","TransitionRun"),transitionstart:Ri("Transition","TransitionStart"),transitioncancel:Ri("Transition","TransitionCancel"),transitionend:Ri("Transition","TransitionEnd")},su={},tm={};En&&(tm=document.createElement("div").style,"AnimationEvent"in window||(delete ca.animationend.animation,delete ca.animationiteration.animation,delete ca.animationstart.animation),"TransitionEvent"in window||delete ca.transitionend.transition);function Ni(t){if(su[t])return su[t];if(!ca[t])return t;var e=ca[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in tm)return su[t]=e[a];return t}var em=Ni("animationend"),nm=Ni("animationiteration"),im=Ni("animationstart"),Q1=Ni("transitionrun"),F1=Ni("transitionstart"),Z1=Ni("transitioncancel"),am=Ni("transitionend"),sm=new Map,ru="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ru.push("scrollEnd");function Ie(t,e){sm.set(t,e),Di(e,[t])}var Br=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},He=[],fa=0,ou=0;function Pr(){for(var t=fa,e=ou=fa=0;e<t;){var a=He[e];He[e++]=null;var r=He[e];He[e++]=null;var u=He[e];He[e++]=null;var c=He[e];if(He[e++]=null,r!==null&&u!==null){var g=r.pending;g===null?u.next=u:(u.next=g.next,g.next=u),r.pending=u}c!==0&&rm(a,u,c)}}function Hr(t,e,a,r){He[fa++]=t,He[fa++]=e,He[fa++]=a,He[fa++]=r,ou|=r,t.lanes|=r,t=t.alternate,t!==null&&(t.lanes|=r)}function lu(t,e,a,r){return Hr(t,e,a,r),kr(t)}function ji(t,e){return Hr(t,null,null,e),kr(t)}function rm(t,e,a){t.lanes|=a;var r=t.alternate;r!==null&&(r.lanes|=a);for(var u=!1,c=t.return;c!==null;)c.childLanes|=a,r=c.alternate,r!==null&&(r.childLanes|=a),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(u=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,u&&e!==null&&(u=31-Ce(a),t=c.hiddenUpdates,r=t[u],r===null?t[u]=[e]:r.push(e),e.lane=a|536870912),c):null}function kr(t){if(50<Bs)throw Bs=0,gc=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var da={};function $1(t,e,a,r){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 18,683 bytes, line 48
48ype=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function De(t,e,a,r){return new $1(t,e,a,r)}function uu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function wn(t,e){var a=t.alternate;return a===null?(a=De(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function om(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function qr(t,e,a,r,u,c){var g=0;if(r=t,typeof t=="function")uu(t)&&(g=1);else if(typeof t=="string")g=eE(t,a,J.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case I:return t=De(31,a,e,u),t.elementType=I,t.lanes=c,t;case w:return _i(a.children,u,c,e);case M:g=8,u|=24;break;case N:return t=De(12,a,e,u|2),t.elementType=N,t.lanes=c,t;case G:return t=De(13,a,e,u),t.elementType=G,t.lanes=c,t;case Z:return t=De(19,a,e,u),t.elementType=Z,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case j:g=10;break t;case U:g=9;break t;case q:g=11;break t;case P:g=14;break t;case V:g=16,r=null;break t}g=29,a=Error(o(130,t===null?"null":typeof t,"")),r=null}return e=De(g,a,e,u),e.elementType=t,e.type=r,e.lanes=c,e}function _i(t,e,a,r){return t=De(7,t,r,e),t.lanes=a,t}function cu(t,e,a){return t=De(6,t,null,e),t.lanes=a,t}function lm(t){var e=De(18,null,null,0);return e.stateNode=t,e}function fu(t,e,a){return e=De(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var um=new WeakMap;function ke(t,e){if(typeof t=="object"&&t!==null){var a=um.get(t);return a!==void 0?a:(e={value:t,source:e,stack:lh(e)},um.set(t,e),e)}return{value:t,source:e,stack:lh(e)}}var ha=[],ma=0,Gr=null,gs=0,qe=[],Ge=0,Qn=null,un=1,cn="";function An(t,e){ha[ma++]=gs,ha[ma++]=Gr,Gr=t,gs=e}function cm(t,e,a){qe[Ge++]=un,qe[Ge++]=cn,qe[Ge++]=Qn,Qn=t;var r=un;t=cn;var u=32-Ce(r)-1;r&=~(1<<u),a+=1;var c=32-Ce(e)+u;if(30<c){var g=u-u%5;c=(r&(1<<g)-1).toString(32),r>>=g,u-=g,un=1<<32-Ce(e)+u|a<<u|r,cn=c+t}else un=1<<c|a<<u|r,cn=t}function du(t){t.return!==null&&(An(t,1),cm(t,1,0))}function hu(t){for(;t===Gr;)Gr=ha[--ma],ha[ma]=null,gs=ha[--ma],ha[ma]=null;for(;t===Qn;)Qn=qe[--Ge],qe[Ge]=null,cn=qe[--Ge],qe[Ge]=null,un=qe[--Ge],qe[Ge]=null}function fm(t,e){qe[Ge++]=un,qe[Ge++]=cn,qe[Ge++]=Qn,un=e.id,cn=e.overflow,Qn=t}var ae=null,Vt=null,At=!1,Fn=null,Ye=!1,mu=Error(o(519));function Zn(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw vs(ke(e,t)),mu}function dm(t){var e=t.stateNode,a=t.type,r=t.memoizedProps;switch(e[ie]=t,e[me]=r,a){case"dialog":St("cancel",e),St("close",e);break;case"iframe":case"object":case"embed":St("load",e);break;case"video":case"audio":for(a=0;a<Hs.length;a++)St(Hs[a],e);break;case"source":St("error",e);break;case"img":case"image":case"link":St("error",e),St("load",e);break;case"details":St("toggle",e);break;case"input":St("invalid",e),Ah(e,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":St("invalid",e);break;case"textarea":St("invalid",e),Mh(e,r.value,r.defaultValue,r.children)}a=r.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||r.suppressHydrationWarning===!0||Oy(e.textContent,a)?(r.popover!=null&&(St("beforetoggle",e),St("toggle",e)),r.onScroll!=null&&St("scroll",e),r.onScrollEnd!=null&&St("scrollend",e),r.onClick!=null&&(e.onclick=Tn),e=!0):e=!1,e||Zn(t,!0)}function hm(t){for(ae=t.return;ae;)switch(ae.tag){case 5:case 31:case 13:Ye=!1;return;case 27:case 3:Ye=!0;return;default:ae=ae.return}}function pa(t){if(t!==ae)return!1;if(!At)return hm(t),At=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||jc(t.type,t.memoizedProps)),a=!a),a&&Vt&&Zn(t),hm(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Vt=By(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Vt=By(t)}else e===27?(e=Vt,ui(t.type)?(t=Uc,Uc=null,Vt=t):Vt=e):Vt=ae?Ke(t.stateNode.nextSibling):null;return!0}function zi(){Vt=ae=null,At=!1}function pu(){var t=Fn;return t!==null&&(be===null?be=t:be.push.apply(be,t),Fn=null),t}function vs(t){Fn===null?Fn=[t]:Fn.push(t)}var yu=D(null),Li=null,Cn=null;function $n(t,e,a){$(yu,e._currentValue),e._currentValue=a}function Mn(t){t._currentValue=yu.current,K(yu)}function gu(t,e,a){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===a)break;t=t.return}}function vu(t,e,a,r){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var c=u.dependencies;if(c!==null){var g=u.child;c=c.firstContext;t:for(;c!==null;){var b=c;c=u;for(var A=0;A<e.length;A++)if(b.context===e[A]){c.lanes|=a,b=c.alternate,b!==null&&(b.lanes|=a),gu(c.return,a,t),r||(g=null);break t}c=b.next}}else if(u.tag===18){if(g=u.return,g===null)throw Error(o(341));g.lanes|=a,c=g.alternate,c!==null&&(c.lanes|=a),gu(g,a,t),g=null}else g=u.child;if(g!==null)g.return=u;else for(g=u;g!==null;){if(g===t){g=null;break}if(u=g.sibling,u!==null){u.return=g.return,g=u;break}g=g.return}u=g}}function ya(t,e,a,r){t=null;for(var u=e,c=!1;u!==null;){if(!c){if((u.flags&524288)!==0)c=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var g=u.alternate;if(g===null)throw Error(o(387));if(g=g.memoizedProps,g!==null){var b=u.type;Me(u.pendingProps.value,g.value)||(t!==null?t.push(b):t=[b])}}else if(u===rt.current){if(g=u.alternate,g===null)throw Error(o(387));g.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Xs):t=[Xs])}u=u.return}t!==null&&vu(e,t,a,r),e.flags|=262144}function Yr(t){for(t=t.firstContext;t!==null;){if(!Me(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Vi(t){Li=t,Cn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function se(t){return mm(Li,t)}function Xr(t,e){return Li===null&&Vi(t),mm(t,e)}function mm(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Cn===null){if(t===null)throw Error(o(308));Cn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Cn=Cn.next=e;return a}var J1=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,r){t.push(r)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},W1=n.unstable_scheduleCallback,I1=n.unstable_NormalPriority,Ft={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bu(){return{controller:new J1,data:new Map,refCount:0}}function bs(t){t.refCount--,t.refCount===0&&W1(I1,function(){t.controller.abort()})}var xs=null,xu=0,ga=0,va=null;function tT(t,e){if(xs===null){var a=xs=[];xu=0,ga=Ec(),va={status:"pending",value:void 0,then:function(r){a.push(r)}}}return xu++,e.then(pm,pm),e}function pm(){if(--xu===0&&xs!==null){va!==null&&(va.status="fulfilled");var t=xs;xs=null,ga=0,va=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function eT(t,e){var a=[],r={status:"pending",value:null,reason:null,then:function(u){a.push(u)}};return t.then(function(){r.status="fulfilled",r.value=e;for(var u=0;u<a.length;u++)(0,a[u])(e)},function(u){for(r.status="rejected",r.reason=u,u=0;u<a.length;u++)(0,a[u])(void 0)}),r}var ym=_.S;_.S=function(t,e){Ip=we(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&tT(t,e),ym!==null&&ym(t,e)};var Ui=D(null);function Su(){var t=Ui.current;return t!==null?t:Lt.pooledCache}function Kr(t,e){e===null?$(Ui,Ui.current):$(Ui,e.pool)}function gm(){var t=Su();return t===null?null:{parent:Ft._currentValue,pool:t}}var ba=Error(o(460)),Tu=Error(o(474)),Qr=Error(o(542)),Fr={then:function(){}};function vm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function bm(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(Tn,Tn),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Sm(t),t;default:if(typeof e.status=="string")e.then(Tn,Tn);else{if(t=Lt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(r){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=r}},function(r){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=r}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Sm(t),t}throw Pi=e,ba}}function Bi(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Pi=a,ba):a}}var Pi=null;function xm(){if(Pi===null)throw Error(o(459));var t=Pi;return Pi=null,t}function Sm(t){if(t===ba||t===Qr)throw Error(o(483))}var xa=null,Ss=0;function Zr(t){var e=Ss;return Ss+=1,xa===null&&(xa=[]),bm(xa,t,e)}function Ts(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function $r(t,e){throw e.$$typeof===x?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Tm(t){function e(R,O){if(t){var z=R.deletions;z===null?(R.deletions=[O],R.flags|=16):z.push(O)}}function a(R,O){if(!t)return null;for(;O!==null;)e(R,O),O=O.sibling;return null}function r(R){for(var O=new Map;R!==null;)R.key!==null?O.set(R.key,R):O.set(R.index,R),R=R.sibling;return O}function u(R,O){return R=wn(R,O),R.index=0,R.sibling=null,R}function c(R,O,z){return R.index=z,t?(z=R.alternate,z!==null?(z=z.index,z<O?(R.flags|=67108866,O):z):(R.flags|=67108866,O)):(R.flags|=1048576,O)}function g(R){return t&&R.alternate===null&&(R.flags|=67108866),R}function b(R,O,z,Q){return O===null||O.tag!==6?(O=cu(z,R.mode,Q),O.return=R,O):(O=u(O,z),O.return=R,O)}function A(R,O,z,Q){var ot=z.type;return ot===w?X(R,O,z.props.children,Q,z.key):O!==null&&(O.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===V&&Bi(ot)===O.type)?(O=u(O,z.props),Ts(O,z),O.return=R,O):(O=qr(z.type,z.key,z.props,null,R.mode,Q),Ts(O,z),O.return=R,O)}function L(R,O,z,Q){return O===null||O.tag!==4||O.stateNode.containerInfo!==z.containerInfo||O.stateNode.implementation!==z.implementation?(O=fu(z,R.mode,Q),O.return=R,O):(O=u(O,z.children||[]),O.return=R,O)}function X(R,O,z,Q,ot){return O===null||O.tag!==7?(O=_i(z,R.mode,Q,ot),O.return=R,O):(O=u(O,z),O.return=R,O)}function F(R,O,z){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=cu(""+O,R.mode,z),O.return=R,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case T:return z=qr(O.type,O.key,O.props,null,R.mode,z),Ts(z,O),z.return=R,z;case C:return O=fu(O,R.mode,z),O.return=R,O;case V:return O=Bi(O),F(R,O,z)}if(dt(O)||pt(O))return O=_i(O,R.mode,z,null),O.return=R,O;if(typeof O.then=="function")return F(R,Zr(O),z);if(O.$$typeof===j)return F(R,Xr(R,O),z);$r(R,O)}return null}function B(R,O,z,Q){var ot=O!==null?O.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return ot!==null?null:b(R,O,""+z,Q);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case T:return z.key===ot?A(R,O,z,Q):null;case C:return z.key===ot?L(R,O,z,Q):null;case V:return z=Bi(z),B(R,O,z,Q)}if(dt(z)||pt(z))return ot!==null?null:X(R,O,z,Q,null);if(typeof z.then=="function")return B(R,O,Zr(z),Q);if(z.$$typeof===j)return B(R,O,Xr(R,z),Q);$r(R,z)}return null}function k(R,O,z,Q,ot){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return R=R.get(z)||null,b(O,R,""+Q,ot);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case T:return R=R.get(Q.key===null?z:Q.key)||null,A(O,R,Q,ot);case C:return R=R.get(Q.key===null?z:Q.key)||null,L(O,R,Q,ot);case V:return Q=Bi(Q),k(R,O,z,Q,ot)}if(dt(Q)||pt(Q))return R=R.get(z)||null,X(O,R,Q,ot,null);if(typeof Q.then=="function")return k(R,O,z,Zr(Q),ot);if(Q.$$typeof===j)return k(R,O,z,Xr(O,Q),ot);$r(O,Q)}return null}function tt(R,O,z,Q){for(var ot=null,Ct=null,st=O,vt=O=0,Et=null;st!==null&&vt<z.length;vt++){st.index>vt?(Et=st,st=null):Et=st.sibling;var Mt=B(R,st,z[vt],Q);if(Mt===null){st===null&&(st=Et);break}t&&st&&Mt.alternate===null&&e(R,st),O=c(Mt,O,vt),Ct===null?ot=Mt:Ct.sibling=Mt,Ct=Mt,st=Et}if(vt===z.length)return a(R,st),At&&An(R,vt),ot;if(st===null){for(;vt<z.length;vt++)st=F(R,z[vt],Q),st!==null&&(O=c(st,O,vt),Ct===null?ot=st:Ct.sibling=st,Ct=st);return At&&An(R,vt),ot}for(st=r(st);vt<z.length;vt++)Et=k(st,R,vt,z[vt],Q),Et!==null&&(t&&Et.alternate!==null&&st.delete(Et.key===null?vt:Et.key),O=c(Et,O,vt),Ct===null?ot=Et:Ct.sibling=Et,Ct=Et);return t&&st.forEach(function(mi){return e(R,mi)}),At&&An(R,vt),ot}function lt(R,O,z,Q){if(z==null)throw Error(o(151));for(var ot=null,Ct=null,st=O,vt=O=0,Et=null,Mt=z.next();st!==null&&!Mt.done;vt++,Mt=z.next()){st.index>vt?(Et=st,st=null):Et=st.sibling;var mi=B(R,st,Mt.value,Q);if(mi===null){st===null&&(st=Et);break}t&&st&&mi.alternate===null&&e(R,st),O=c(mi,O,vt),Ct===null?ot=mi:Ct.sibling=mi,Ct=mi,st=Et}if(Mt.done)return a(R,st),At&&An(R,vt),ot;if(st===null){for(;!Mt.done;vt++,Mt=z.next())Mt=F(R,Mt.value,Q),Mt!==null&&(O=c(Mt,O,vt),Ct===null?ot=Mt:Ct.sibling=Mt,Ct=Mt);return At&&An(R,vt),ot}for(st=r(st);!Mt.done;vt++,Mt=z.next())Mt=k(st,R,vt,Mt.value,Q),Mt!==null&&(t&&Mt.alternate!==null&&st.delete(Mt.key===null?vt:Mt.key),O=c(Mt,O,vt),Ct===null?ot=Mt:Ct.sibling=Mt,Ct=Mt);return t&&st.forEach(function(dE){return e(R,dE)}),At&&An(R,vt),ot}function zt(R,O,z,Q){if(typeof z=="object"&&z!==null&&z.type===w&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case T:t:{for(var ot=z.key;O!==null;){if(O.key===ot){if(ot=z.type,ot===w){if(O.tag===7){a(R,O.sibling),Q=u(O,z.props.children),Q.return=R,R=Q;break t}}else if(O.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===V&&Bi(ot)===O.type){a(R,O.sibling),Q=u(O,z.props),Ts(Q,z),Q.return=R,R=Q;break t}a(R,O);break}else e(R,O);O=O.sibling}z.type===w?(Q=_i(z.props.children,R.mode,Q,z.key),Q.return=R,R=Q):(Q=qr(z.type,z.key,z.props,null,R.mode,Q),Ts(Q,z),Q.return=R,R=Q)}return g(R);case C:t:{for(ot=z.key;O!==null;){if(O.key===ot)if(O.tag===4&&O.stateNode.containerInfo===z.containerInfo&&O.stateNode.implementation===z.implementation){a(R,O.sibling),Q=u(O,z.children||[]),Q.return=R,R=Q;break t}else{a(R,O);break}else e(R,O);O=O.sibling}Q=fu(z,R.mode,Q),Q.return=R,R=Q}return g(R);case V:return z=Bi(z),zt(R,O,z,Q)}if(dt(z))return tt(R,O,z,Q);if(pt(z)){if(ot=pt(z),typeof ot!="function")throw Error(o(150));return z=ot.call(z),lt(R,O,z,Q)}if(typeof z.then=="function")return zt(R,O,Zr(z),Q);if(z.$$typeof===j)return zt(R,O,Xr(R,z),Q);$r(R,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,O!==null&&O.tag===6?(a(R,O.sibling),Q=u(O,z),Q.return=R,R=Q):(a(R,O),Q=cu(z,R.mode,Q),Q.return=R,R=Q),g(R)):a(R,O)}return function(R,O,z,Q){try{Ss=0;var ot=zt(R,O,z,Q);return xa=null,ot}catch(st){if(st===ba||st===Qr)throw st;var Ct=De(29,st,null,R.mode);return Ct.lanes=Q,Ct.return=R,Ct}finally{}}}var Hi=Tm(!0),Em=Tm(!1),Jn=!1;function Eu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wu(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Wn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function In(t,e,a){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,(Dt&2)!==0){var u=r.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),r.pending=e,e=kr(t),rm(t,null,a),e}return Hr(t,r,e,a),kr(t)}function Es(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var r=e.lanes;r&=t.pendingLanes,a|=r,e.lanes=a,mh(t,a)}}function Au(t,e){var a=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,a===r)){var u=null,c=null;if(a=a.firstBaseUpdate,a!==null){do{var g={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};c===null?u=c=g:c=c.next=g,a=a.next}while(a!==null);c===null?u=c=e:c=c.next=e}else u=c=e;a={baseState:r.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:r.shared,callbacks:r.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var Cu=!1;function ws(){if(Cu){var t=va;if(t!==null)throw t}}function As(t,e,a,r){Cu=!1;var u=t.updateQueue;Jn=!1;var c=u.firstBaseUpdate,g=u.lastBaseUpdate,b=u.shared.pending;if(b!==null){u.shared.pending=null;var A=b,L=A.next;A.next=null,g===null?c=L:g.next=L,g=A;var X=t.alternate;X!==null&&(X=X.updateQueue,b=X.lastBaseUpdate,b!==g&&(b===null?X.firstBaseUpdate=L:b.next=L,X.lastBaseUpdate=A))}if(c!==null){var F=u.baseState;g=0,X=L=A=null,b=c;do{var B=b.lane&-536870913,k=B!==b.lane;if(k?(Tt&B)===B:(r&B)===B){B!==0&&B===ga&&(Cu=!0),X!==null&&(X=X.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});t:{var tt=t,lt=b;B=e;var zt=a;switch(lt.tag){case 1:if(tt=lt.payload,typeof tt=="function"){F=tt.call(zt,F,B);break t}F=tt;break t;case 3:tt.flags=tt.flags&-65537|128;case 0:if(tt=lt.payload,B=typeof tt=="function"?tt.call(zt,F,B):tt,B==null)break t;F=v({},F,B);break t;case 2:Jn=!0}}B=b.callback,B!==null&&(t.flags|=64,k&&(t.flags|=8192),k=u.callbacks,k===null?u.callbacks=[B]:k.push(B))}else k={lane:B,tag:b.tag,payload:b.payload,callback:b.callback,next:null},X===null?(L=X=k,A=F):X=X.next=k,g|=B;if(b=b.next,b===null){if(b=u.shared.pending,b===null)break;k=b,b=k.next,k.next=null,u.lastBaseUpdate=k,u.shared.pending=null}}while(!0);X===null&&(A=F),u.baseState=A,u.firstBaseUpdate=L,u.lastBaseUpdate=X,c===null&&(u.shared.lanes=0),ai|=g,t.lanes=g,t.memoizedState=F}}function wm(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function Am(t,e){var a=t.callbacks;
vendor: 5,138 bytes, line 48
48if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)wm(a[t],e)}var Sa=D(null),Jr=D(0);function Cm(t,e){t=Vn,$(Jr,t),$(Sa,e),Vn=t|e.baseLanes}function Mu(){$(Jr,Vn),$(Sa,Sa.current)}function Du(){Vn=Jr.current,K(Sa),K(Jr)}var Oe=D(null),Xe=null;function ti(t){var e=t.alternate;$(Xt,Xt.current&1),$(Oe,t),Xe===null&&(e===null||Sa.current!==null||e.memoizedState!==null)&&(Xe=t)}function Ou(t){$(Xt,Xt.current),$(Oe,t),Xe===null&&(Xe=t)}function Mm(t){t.tag===22?($(Xt,Xt.current),$(Oe,t),Xe===null&&(Xe=t)):ei()}function ei(){$(Xt,Xt.current),$(Oe,Oe.current)}function Re(t){K(Oe),Xe===t&&(Xe=null),K(Xt)}var Xt=D(0);function Wr(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Lc(a)||Vc(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Dn=0,gt=null,jt=null,Zt=null,Ir=!1,Ta=!1,ki=!1,to=0,Cs=0,Ea=null,nT=0;function kt(){throw Error(o(321))}function Ru(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!Me(t[a],e[a]))return!1;return!0}function Nu(t,e,a,r,u,c){return Dn=c,gt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,_.H=t===null||t.memoizedState===null?cp:Ku,ki=!1,c=a(r,u),ki=!1,Ta&&(c=Om(e,a,r,u)),Dm(t),c}function Dm(t){_.H=Os;var e=jt!==null&&jt.next!==null;if(Dn=0,Zt=jt=gt=null,Ir=!1,Cs=0,Ea=null,e)throw Error(o(300));t===null||$t||(t=t.dependencies,t!==null&&Yr(t)&&($t=!0))}function Om(t,e,a,r){gt=t;var u=0;do{if(Ta&&(Ea=null),Cs=0,Ta=!1,25<=u)throw Error(o(301));if(u+=1,Zt=jt=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}_.H=fp,c=e(a,r)}while(Ta);return c}function iT(){var t=_.H,e=t.useState()[0];return e=typeof e.then=="function"?Ms(e):e,t=t.useState()[0],(jt!==null?jt.memoizedState:null)!==t&&(gt.flags|=1024),e}function ju(){var t=to!==0;return to=0,t}function _u(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function zu(t){if(Ir){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ir=!1}Dn=0,Zt=jt=gt=null,Ta=!1,Cs=to=0,Ea=null}function fe(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zt===null?gt.memoizedState=Zt=t:Zt=Zt.next=t,Zt}function Kt(){if(jt===null){var t=gt.alternate;t=t!==null?t.memoizedState:null}else t=jt.next;var e=Zt===null?gt.memoizedState:Zt.next;if(e!==null)Zt=e,jt=t;else{if(t===null)throw gt.alternate===null?Error(o(467)):Error(o(310));jt=t,t={memoizedState:jt.memoizedState,baseState:jt.baseState,baseQueue:jt.baseQueue,queue:jt.queue,next:null},Zt===null?gt.memoizedState=Zt=t:Zt=Zt.next=t}return Zt}function eo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ms(t){var e=Cs;return Cs+=1,Ea===null&&(Ea=[]),t=bm(Ea,t,e),e=gt,(Zt===null?e.memoizedState:Zt.next)===null&&(e=e.alternate,_.H=e===null||e.memoizedState===null?cp:Ku),t}function no(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ms(t);if(t.$$typeof===j)return se(t)}throw Error(o(438,String(t)))}function Lu(t){var e=null,a=gt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var r=gt.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(e={data:r.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=eo(),gt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),r=0;r<t;r++)a[r]=et;return e.index++,a}function On(t,e){return typeof e=="function"?e(t):e}function io(t){var e=Kt();return Vu(e,jt,t)}function Vu(t,e,a){var r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=a;var u=t.baseQueue,c=r.pending;if(c!==null){if(u!==null){var g=u.next;u.next=c.next,c.next=g}e.baseQueue=u=c,r.pending=null}if(c=t.baseState,u===null)t.memoizedState=c;else{e=u.next;var b=g=null,A=null,L=e,X=!1;do{var F=L.lane&-536870913;if(F!==L.lane?(Tt&F)===F:(Dn&F)===F){var B=L.revertLane;if(B===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),F===ga&&(X=!0);else if((Dn&B)===B){L=L.next,B===ga&&(X=!0);continue}else F={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(b=A=F,g=c):A=A.next=F,gt.lanes|=B,ai|=B;F=L.action,ki&&a(c,F),c=L.hasEagerState?L.eagerState:a(c,F)}else B={lane:F,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(b=A=B,g=c):A=A.next=B,gt.lanes|=F,ai|=F;L=L.next}while(L!==null&&L!==e);if(A===null?g=c:A.next=b,!Me(c,t.memoizedState)&&($t=!0,X&&(a=va,a!==null)))throw a;t.memoizedState=c,t.baseState=g,t.baseQueue=A,r.lastRenderedState=c}
vendor: 14,525 bytes, line 48
48return u===null&&(r.lanes=0),[t.memoizedState,r.dispatch]}function Uu(t){var e=Kt(),a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=t;var r=a.dispatch,u=a.pending,c=e.memoizedState;if(u!==null){a.pending=null;var g=u=u.next;do c=t(c,g.action),g=g.next;while(g!==u);Me(c,e.memoizedState)||($t=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),a.lastRenderedState=c}return[c,r]}function Rm(t,e,a){var r=gt,u=Kt(),c=At;if(c){if(a===void 0)throw Error(o(407));a=a()}else a=e();var g=!Me((jt||u).memoizedState,a);if(g&&(u.memoizedState=a,$t=!0),u=u.queue,Hu(_m.bind(null,r,u,t),[t]),u.getSnapshot!==e||g||Zt!==null&&Zt.memoizedState.tag&1){if(r.flags|=2048,wa(9,{destroy:void 0},jm.bind(null,r,u,a,e),null),Lt===null)throw Error(o(349));c||(Dn&127)!==0||Nm(r,e,a)}return a}function Nm(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=gt.updateQueue,e===null?(e=eo(),gt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function jm(t,e,a,r){e.value=a,e.getSnapshot=r,zm(e)&&Lm(t)}function _m(t,e,a){return a(function(){zm(e)&&Lm(t)})}function zm(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Me(t,a)}catch{return!0}}function Lm(t){var e=ji(t,2);e!==null&&xe(e,t,2)}function Bu(t){var e=fe();if(typeof t=="function"){var a=t;if(t=a(),ki){Yn(!0);try{a()}finally{Yn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:t},e}function Vm(t,e,a,r){return t.baseState=a,Vu(t,jt,typeof r=="function"?r:On)}function aT(t,e,a,r,u){if(ro(t))throw Error(o(485));if(t=e.action,t!==null){var c={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){c.listeners.push(g)}};_.T!==null?a(!0):c.isTransition=!1,r(c),a=e.pending,a===null?(c.next=e.pending=c,Um(e,c)):(c.next=a.next,e.pending=a.next=c)}}function Um(t,e){var a=e.action,r=e.payload,u=t.state;if(e.isTransition){var c=_.T,g={};_.T=g;try{var b=a(u,r),A=_.S;A!==null&&A(g,b),Bm(t,e,b)}catch(L){Pu(t,e,L)}finally{c!==null&&g.types!==null&&(c.types=g.types),_.T=c}}else try{c=a(u,r),Bm(t,e,c)}catch(L){Pu(t,e,L)}}function Bm(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(r){Pm(t,e,r)},function(r){return Pu(t,e,r)}):Pm(t,e,a)}function Pm(t,e,a){e.status="fulfilled",e.value=a,Hm(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,Um(t,a)))}function Pu(t,e,a){var r=t.pending;if(t.pending=null,r!==null){r=r.next;do e.status="rejected",e.reason=a,Hm(e),e=e.next;while(e!==r)}t.action=null}function Hm(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function km(t,e){return e}function qm(t,e){if(At){var a=Lt.formState;if(a!==null){t:{var r=gt;if(At){if(Vt){e:{for(var u=Vt,c=Ye;u.nodeType!==8;){if(!c){u=null;break e}if(u=Ke(u.nextSibling),u===null){u=null;break e}}c=u.data,u=c==="F!"||c==="F"?u:null}if(u){Vt=Ke(u.nextSibling),r=u.data==="F!";break t}}Zn(r)}r=!1}r&&(e=a[0])}}return a=fe(),a.memoizedState=a.baseState=e,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:km,lastRenderedState:e},a.queue=r,a=op.bind(null,gt,r),r.dispatch=a,r=Bu(!1),c=Xu.bind(null,gt,!1,r.queue),r=fe(),u={state:e,dispatch:null,action:t,pending:null},r.queue=u,a=aT.bind(null,gt,u,c,a),u.dispatch=a,r.memoizedState=t,[e,a,!1]}function Gm(t){var e=Kt();return Ym(e,jt,t)}function Ym(t,e,a){if(e=Vu(t,e,km)[0],t=io(On)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var r=Ms(e)}catch(g){throw g===ba?Qr:g}else r=e;e=Kt();var u=e.queue,c=u.dispatch;return a!==e.memoizedState&&(gt.flags|=2048,wa(9,{destroy:void 0},sT.bind(null,u,a),null)),[r,c,t]}function sT(t,e){t.action=e}function Xm(t){var e=Kt(),a=jt;if(a!==null)return Ym(e,a,t);Kt(),e=e.memoizedState,a=Kt();var r=a.queue.dispatch;return a.memoizedState=t,[e,r,!1]}function wa(t,e,a,r){return t={tag:t,create:a,deps:r,inst:e,next:null},e=gt.updateQueue,e===null&&(e=eo(),gt.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(r=a.next,a.next=t,t.next=r,e.lastEffect=t),t}function Km(){return Kt().memoizedState}function ao(t,e,a,r){var u=fe();gt.flags|=t,u.memoizedState=wa(1|e,{destroy:void 0},a,r===void 0?null:r)}function so(t,e,a,r){var u=Kt();r=r===void 0?null:r;var c=u.memoizedState.inst;jt!==null&&r!==null&&Ru(r,jt.memoizedState.deps)?u.memoizedState=wa(e,c,a,r):(gt.flags|=t,u.memoizedState=wa(1|e,c,a,r))}function Qm(t,e){ao(8390656,8,t,e)}function Hu(t,e){so(2048,8,t,e)}function rT(t){gt.flags|=4;var e=gt.updateQueue;if(e===null)e=eo(),gt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Fm(t){var e=Kt().memoizedState;return rT({ref:e,nextImpl:t}),function(){if((Dt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function Zm(t,e){return so(4,2,t,e)}function $m(t,e){return so(4,4,t,e)}function Jm(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Wm(t,e,a){a=a!=null?a.concat([t]):null,so(4,4,Jm.bind(null,e,t),a)}function ku(){}function Im(t,e){var a=Kt();e=e===void 0?null:e;var r=a.memoizedState;return e!==null&&Ru(e,r[1])?r[0]:(a.memoizedState=[t,e],t)}function tp(t,e){var a=Kt();e=e===void 0?null:e;var r=a.memoizedState;if(e!==null&&Ru(e,r[1]))return r[0];if(r=t(),ki){Yn(!0);try{t()}finally{Yn(!1)}}return a.memoizedState=[r,e],r}function qu(t,e,a){return a===void 0||(Dn&1073741824)!==0&&(Tt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=ey(),gt.lanes|=t,ai|=t,a)}function ep(t,e,a,r){return Me(a,e)?a:Sa.current!==null?(t=qu(t,a,r),Me(t,e)||($t=!0),t):(Dn&42)===0||(Dn&1073741824)!==0&&(Tt&261930)===0?($t=!0,t.memoizedState=a):(t=ey(),gt.lanes|=t,ai|=t,e)}function np(t,e,a,r,u){var c=Y.p;Y.p=c!==0&&8>c?c:8;var g=_.T,b={};_.T=b,Xu(t,!1,e,a);try{var A=u(),L=_.S;if(L!==null&&L(b,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var X=eT(A,r);Ds(t,e,X,_e(t))}else Ds(t,e,r,_e(t))}catch(F){Ds(t,e,{then:function(){},status:"rejected",reason:F},_e())}finally{Y.p=c,g!==null&&b.types!==null&&(g.types=b.types),_.T=g}}function oT(){}function Gu(t,e,a,r){if(t.tag!==5)throw Error(o(476));var u=ip(t).queue;np(t,u,e,H,a===null?oT:function(){return ap(t),a(r)})}function ip(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:H,baseState:H,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:H},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function ap(t){var e=ip(t);e.next===null&&(e=t.alternate.memoizedState),Ds(t,e.next.queue,{},_e())}function Yu(){return se(Xs)}function sp(){return Kt().memoizedState}function rp(){return Kt().memoizedState}function lT(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=_e();t=Wn(a);var r=In(e,t,a);r!==null&&(xe(r,e,a),Es(r,e,a)),e={cache:bu()},t.payload=e;return}e=e.return}}function uT(t,e,a){var r=_e();a={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ro(t)?lp(e,a):(a=lu(t,e,a,r),a!==null&&(xe(a,t,r),up(a,e,r)))}function op(t,e,a){var r=_e();Ds(t,e,a,r)}function Ds(t,e,a,r){var u={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(ro(t))lp(e,u);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var g=e.lastRenderedState,b=c(g,a);if(u.hasEagerState=!0,u.eagerState=b,Me(b,g))return Hr(t,e,u,0),Lt===null&&Pr(),!1}catch{}finally{}if(a=lu(t,e,u,r),a!==null)return xe(a,t,r),up(a,e,r),!0}return!1}function Xu(t,e,a,r){if(r={lane:2,revertLane:Ec(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ro(t)){if(e)throw Error(o(479))}else e=lu(t,a,r,2),e!==null&&xe(e,t,2)}function ro(t){var e=t.alternate;return t===gt||e!==null&&e===gt}function lp(t,e){Ta=Ir=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function up(t,e,a){if((a&4194048)!==0){var r=e.lanes;r&=t.pendingLanes,a|=r,e.lanes=a,mh(t,a)}}var Os={readContext:se,use:no,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useLayoutEffect:kt,useInsertionEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useSyncExternalStore:kt,useId:kt,useHostTransitionStatus:kt,useFormState:kt,useActionState:kt,useOptimistic:kt,useMemoCache:kt,useCacheRefresh:kt};Os.useEffectEvent=kt;var cp={readContext:se,use:no,useCallback:function(t,e){return fe().memoizedState=[t,e===void 0?null:e],t},useContext:se,useEffect:Qm,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,ao(4194308,4,Jm.bind(null,e,t),a)},useLayoutEffect:function(t,e){return ao(4194308,4,t,e)},useInsertionEffect:function(t,e){ao(4,2,t,e)},useMemo:function(t,e){var a=fe();e=e===void 0?null:e;var r=t();if(ki){Yn(!0);try{t()}finally{Yn(!1)}}return a.memoizedState=[r,e],r},useReducer:function(t,e,a){var r=fe();if(a!==void 0){var u=a(e);if(ki){Yn(!0);try{a(e)}finally{Yn(!1)}}}else u=e;return r.memoizedState=r.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},r.queue=t,t=t.dispatch=uT.bind(null,gt,t),[r.memoizedState,t]},useRef:function(t){var e=fe();return t={current:t},e.memoizedState=t},useState:function(t){t=Bu(t);var e=t.queue,a=op.bind(null,gt,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:ku,useDeferredValue:function(t,e){var a=fe();return qu(a,t,e)},useTransition:function(){var t=Bu(!1);return t=np.bind(null,gt,t.queue,!0,!1),fe().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var r=gt,u=fe();if(At){if(a===void 0)throw Error(o(407));a=a()}else{if(a=e(),Lt===null)throw Error(o(349));(Tt&127)!==0||Nm(r,e,a)}u.memoizedState=a;var c={value:a,getSnapshot:e};return u.queue=c,Qm(_m.bind(null,r,c,t),[t]),r.flags|=2048,wa(9,{destroy:void 0},jm.bind(null,r,c,a,e),null),a},useId:function(){var t=fe(),e=Lt.identifierPrefix;if(At){var a=cn,r=un;a=(r&~(1<<32-Ce(r)-1)).toString(32)+a,e="_"+e+"R_"+a,a=to++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=nT++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Yu,useFormState:qm,useActionState:qm,useOptimistic:function(t){var e=fe();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Xu.bind(null,gt,!0,a),a.dispatch=e,[t,e]},useMemoCache:Lu,useCacheRefresh:function(){return fe().memoizedState=lT.bind(null,gt)},useEffectEvent:function(t){var e=fe(),a={impl:t};return e.memoizedState=a,function(){if((Dt&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}},Ku={readContext:se,use:no,useCallback:Im,useContext:se,useEffect:Hu,useImperativeHandle:Wm,useInsertionEffect:Zm,useLayoutEffect:$m,useMemo:tp,useReducer:io,useRef:Km,useState:function(){return io(On)},useDebugValue:ku,useDeferredValue:function(t,e){var a=Kt();return ep(a,jt.memoizedState,t,e)},useTransition:function(){var t=io(On)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:Ms(t),e]},useSyncExternalStore:Rm,useId:sp,useHostTransitionStatus:Yu,useFormState:Gm,useActionState:Gm,useOptimistic:function(t,e){var a=Kt();return Vm(a,jt,t,e)},useMemoCache:Lu,useCacheRefresh:rp};Ku.useEffectEvent=Fm;var fp={readContext:se,use:no,useCallback:Im,useContext:se,useEffect:Hu,useImperativeHandle:Wm,useInsertionEffect:Zm,useLayoutEffect:$m,useMemo:tp,useReducer:Uu,useRef:Km,useState:function(){return Uu(On)},useDebugValue:ku,useDeferredValue:function(t,e){var a=Kt();return jt===null?qu(a,t,e):ep(a,jt.memoizedState,t,e)},useTransition:function(){var t=Uu(On)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:Ms(t),e]},useSyncExternalStore:Rm,useId:sp,useHostTransitionStatus:Yu,useFormState:Xm,useActionState:Xm,useOptimistic:function(t,e){var a=Kt();return jt!==null?Vm(a,jt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Lu,useCacheRefresh:rp};fp.useEffectEvent=Fm;function Qu(t,e,a,r){e=t.memoizedState,a=a(r,e),a=a==null?e:v({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Fu={enqueueSetState:function(t,e,a){t=t._reactInternals;var r=_e(),u=Wn(r);u.payload=e,a!=null&&(u.callback=a),e=In(t,u,r),e!==null&&(xe(e,t,r),Es(e,t,r))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var r=_e(),u=Wn(r);u.tag=1,u.payload=e,a!=null&&(u.callback=a),e=In(t,u,r),e!==null&&(xe(e,t,r),Es(e,t,r))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=_e(),r=Wn(a);r.tag=2,e!=null&&(r.callback=e),e=In(t,r,a),e!==null&&(xe(e,t,a),Es(e,t,a))}};function dp(t,e,a,r,u,c,g){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(r,c,g):e.prototype&&e.prototype.isPureReactComponent?!ps(a,r)||!ps(u,c):!0}function hp(t,e,a,r){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,r),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,r),e.state!==t&&Fu.enqueueReplaceState(e,e.state,null)}function qi(t,e){var a=e;if("ref"in e){a={};for(var r in e)r!=="ref"&&(a[r]=e[r])}if(t=t.defaultProps){a===e&&(a=v({},a));for(var u in t)a[u]===void 0&&(a[u]=t[u])}return a}function mp(t){Br(t)}function pp(t){console.error(t)}function yp(t){Br(t)}function oo(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(r){setTimeout(function(){throw r})}}function gp(t,e,a){try{var r=t.onCaughtError;r(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Zu(t,e,a){return a=Wn(a),a.tag=3,a.payload={element:null},a.callback=function(){oo(t,e)},a}function vp(t){return t=Wn(t),t.tag=3,t}function bp(t,e,a,r){var u=a.type.getDerivedStateFromError;if(typeof u=="function"){var c=r.value;t.payload=function(){return u(c)},t.callback=function(){gp(e,a,r)}}var g=a.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(t.callback=function(){gp(e,a,r),typeof u!="function"&&(si===null?si=new Set([this]):si.add(this));var b=r.stack;this.componentDidCatch(r.value,{componentStack:b!==null?b:""})})}function cT(t,e,a,r,u){if(a.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(e=a.alternate,e!==null&&ya(e,a,u,!0),a=Oe.current,a!==null){switch(a.tag){case 31:case 13:return Xe===null?xo():a.alternate===null&&qt===0&&(qt=3),a.flags&=-257,a.flags|=65536,a.lanes=u,r===Fr?a.flags|=16384:(e
vendor: 7,475 bytes, line 48
48=a.updateQueue,e===null?a.updateQueue=new Set([r]):e.add(r),xc(t,r,u)),!1;case 22:return a.flags|=65536,r===Fr?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([r])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([r]):a.add(r)),xc(t,r,u)),!1}throw Error(o(435,a.tag))}return xc(t,r,u),xo(),!1}if(At)return e=Oe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,r!==mu&&(t=Error(o(422),{cause:r}),vs(ke(t,a)))):(r!==mu&&(e=Error(o(423),{cause:r}),vs(ke(e,a))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,r=ke(r,a),u=Zu(t.stateNode,r,u),Au(t,u),qt!==4&&(qt=2)),!1;var c=Error(o(520),{cause:r});if(c=ke(c,a),Us===null?Us=[c]:Us.push(c),qt!==4&&(qt=2),e===null)return!0;r=ke(r,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=u&-u,a.lanes|=t,t=Zu(a.stateNode,r,t),Au(a,t),!1;case 1:if(e=a.type,c=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(si===null||!si.has(c))))return a.flags|=65536,u&=-u,a.lanes|=u,u=vp(u),bp(u,t,a,r),Au(a,u),!1}a=a.return}while(a!==null);return!1}var $u=Error(o(461)),$t=!1;function re(t,e,a,r){e.child=t===null?Em(e,null,a,r):Hi(e,t.child,a,r)}function xp(t,e,a,r,u){a=a.render;var c=e.ref;if("ref"in r){var g={};for(var b in r)b!=="ref"&&(g[b]=r[b])}else g=r;return Vi(e),r=Nu(t,e,a,g,c,u),b=ju(),t!==null&&!$t?(_u(t,e,u),Rn(t,e,u)):(At&&b&&du(e),e.flags|=1,re(t,e,r,u),e.child)}function Sp(t,e,a,r,u){if(t===null){var c=a.type;return typeof c=="function"&&!uu(c)&&c.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=c,Tp(t,e,c,r,u)):(t=qr(a.type,null,r,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!ac(t,u)){var g=c.memoizedProps;if(a=a.compare,a=a!==null?a:ps,a(g,r)&&t.ref===e.ref)return Rn(t,e,u)}return e.flags|=1,t=wn(c,r),t.ref=e.ref,t.return=e,e.child=t}function Tp(t,e,a,r,u){if(t!==null){var c=t.memoizedProps;if(ps(c,r)&&t.ref===e.ref)if($t=!1,e.pendingProps=r=c,ac(t,u))(t.flags&131072)!==0&&($t=!0);else return e.lanes=t.lanes,Rn(t,e,u)}return Ju(t,e,a,r,u)}function Ep(t,e,a,r){var u=r.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|a:a,t!==null){for(r=e.child=t.child,u=0;r!==null;)u=u|r.lanes|r.childLanes,r=r.sibling;r=u&~c}else r=0,e.child=null;return wp(t,e,c,a,r)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Kr(e,c!==null?c.cachePool:null),c!==null?Cm(e,c):Mu(),Mm(e);else return r=e.lanes=536870912,wp(t,e,c!==null?c.baseLanes|a:a,a,r)}else c!==null?(Kr(e,c.cachePool),Cm(e,c),ei(),e.memoizedState=null):(t!==null&&Kr(e,null),Mu(),ei());return re(t,e,u,a),e.child}function Rs(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function wp(t,e,a,r,u){var c=Su();return c=c===null?null:{parent:Ft._currentValue,pool:c},e.memoizedState={baseLanes:a,cachePool:c},t!==null&&Kr(e,null),Mu(),Mm(e),t!==null&&ya(t,e,r,!0),e.childLanes=u,null}function lo(t,e){return e=co({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Ap(t,e,a){return Hi(e,t.child,null,a),t=lo(e,e.pendingProps),t.flags|=2,Re(e),e.memoizedState=null,t}function fT(t,e,a){var r=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(At){if(r.mode==="hidden")return t=lo(e,r),e.lanes=536870912,Rs(null,t);if(Ou(e),(t=Vt)?(t=Uy(t,Ye),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Qn!==null?{id:un,overflow:cn}:null,retryLane:536870912,hydrationErrors:null},a=lm(t),a.return=e,e.child=a,ae=e,Vt=null)):t=null,t===null)throw Zn(e);return e.lanes=536870912,null}return lo(e,r)}var c=t.memoizedState;if(c!==null){var g=c.dehydrated;if(Ou(e),u)if(e.flags&256)e.flags&=-257,e=Ap(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if($t||ya(t,e,a,!1),u=(a&t.childLanes)!==0,$t||u){if(r=Lt,r!==null&&(g=ph(r,a),g!==0&&g!==c.retryLane))throw c.retryLane=g,ji(t,g),xe(r,t,g),$u;xo(),e=Ap(t,e,a)}else t=c.treeContext,Vt=Ke(g.nextSibling),ae=e,At=!0,Fn=null,Ye=!1,t!==null&&fm(e,t),e=lo(e,r),e.flags|=4096;return e}return t=wn(t.child,{mode:r.mode,children:r.children}),t.ref=e.ref,e.child=t,t.return=e,t}function uo(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Ju(t,e,a,r,u){return Vi(e),a=Nu(t,e,a,r,void 0,u),r=ju(),t!==null&&!$t?(_u(t,e,u),Rn(t,e,u)):(At&&r&&du(e),e.flags|=1,re(t,e,a,u),e.child)}function Cp(t,e,a,r,u,c){return Vi(e),e.updateQueue=null,a=Om(e,r,a,u),Dm(t),r=ju(),t!==null&&!$t?(_u(t,e,c),Rn(t,e,c)):(At&&r&&du(e),e.flags|=1,re(t,e,a,c),e.child)}function Mp(t,e,a,r,u){if(Vi(e),e.stateNode===null){var c=da,g=a.contextType;typeof g=="object"&&g!==null&&(c=se(g)),c=new a(r,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Fu,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=r,c.state=e.memoizedState,c.refs={},Eu(e),g=a.contextType,c.context=typeof g=="object"&&g!==null?se(g):da,c.state=e.memoizedState,g=a.getDerivedStateFromProps,typeof g=="function"&&(Qu(e,a,g,r),c.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(g=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),g!==c.state&&Fu.enqueueReplaceState(c,c.state,null),As(e,r,c,u),ws(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),r=!0}else if(t===null){c=e.stateNode;var b=e.memoizedProps,A=qi(a,b);c.props=A;var L=c.context,X=a.contextType;g=da,typeof X=="object"&&X!==null&&(g=se(X));var F=a.getDerivedStateFromProps;X=typeof F=="function"||typeof c.getSnapshotBeforeUpdate=="function",b=e.pendingProps!==b,X||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(b||L!==g)&&hp(e,c,r,g),Jn=!1;var B=e.memoizedState;c.state=B,As(e,r,c,u),ws(),L=e.memoizedState,b||B!==L||Jn?(typeof F=="function"&&(Qu(e,a,F,r),L=e.memoizedState),(A=Jn||dp(e,a,A,r,B,L,g))?(X||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=L),c.props=r,c.state=L,c.context=g,r=A):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{c=e.stateNode,wu(t,e),g=e.memoizedProps,X=qi(a,g),c.props=X,F=e.pendingProps,B=c.context,L=a.contextType,A=da,typeof L=="object"&&L!==null&&(A=se(L)),b=a.getDerivedStateFromProps,(L=typeof b=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g!==F||B!==A)&&hp(e,c,r,A),Jn=!1,B=e.memoizedState,c.state=B,As(e,r,c,u),ws();var k=e.memoizedState;
vendor: 1,579 bytes, line 48
48g!==F||B!==k||Jn||t!==null&&t.dependencies!==null&&Yr(t.dependencies)?(typeof b=="function"&&(Qu(e,a,b,r),k=e.memoizedState),(X=Jn||dp(e,a,X,r,B,k,A)||t!==null&&t.dependencies!==null&&Yr(t.dependencies))?(L||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(r,k,A),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(r,k,A)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=k),c.props=r,c.state=k,c.context=A,r=X):(typeof c.componentDidUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&B===t.memoizedState||(e.flags|=1024),r=!1)}return c=r,uo(t,e),r=(e.flags&128)!==0,c||r?(c=e.stateNode,a=r&&typeof a.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&r?(e.child=Hi(e,t.child,null,u),e.child=Hi(e,null,a,u)):re(t,e,a,u),e.memoizedState=c.state,t=e.child):t=Rn(t,e,u),t}function Dp(t,e,a,r){return zi(),e.flags|=256,re(t,e,a,r),e.child}var Wu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Iu(t){return{baseLanes:t,cachePool:gm()}}function tc(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=je),t}
vendor: 2,006 bytes, line 48
48function Op(t,e,a){var r=e.pendingProps,u=!1,c=(e.flags&128)!==0,g;if((g=c)||(g=t!==null&&t.memoizedState===null?!1:(Xt.current&2)!==0),g&&(u=!0,e.flags&=-129),g=(e.flags&32)!==0,e.flags&=-33,t===null){if(At){if(u?ti(e):ei(),(t=Vt)?(t=Uy(t,Ye),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Qn!==null?{id:un,overflow:cn}:null,retryLane:536870912,hydrationErrors:null},a=lm(t),a.return=e,e.child=a,ae=e,Vt=null)):t=null,t===null)throw Zn(e);return Vc(t)?e.lanes=32:e.lanes=536870912,null}var b=r.children;return r=r.fallback,u?(ei(),u=e.mode,b=co({mode:"hidden",children:b},u),r=_i(r,u,a,null),b.return=e,r.return=e,b.sibling=r,e.child=b,r=e.child,r.memoizedState=Iu(a),r.childLanes=tc(t,g,a),e.memoizedState=Wu,Rs(null,r)):(ti(e),ec(e,b))}var A=t.memoizedState;if(A!==null&&(b=A.dehydrated,b!==null)){if(c)e.flags&256?(ti(e),e.flags&=-257,e=nc(t,e,a)):e.memoizedState!==null?(ei(),e.child=t.child,e.flags|=128,e=null):(ei(),b=r.fallback,u=e.mode,r=co({mode:"visible",children:r.children},u),b=_i(b,u,a,null),b.flags|=2,r.return=e,b.return=e,r.sibling=b,e.child=r,Hi(e,t.child,null,a),r=e.child,r.memoizedState=Iu(a),r.childLanes=tc(t,g,a),e.memoizedState=Wu,e=Rs(null,r));else if(ti(e),Vc(b)){if(g=b.nextSibling&&b.nextSibling.dataset,g)var L=g.dgst;g=L,r=Error(o(419)),r.stack="",r.digest=g,vs({value:r,source:null,stack:null}),e=nc(t,e,a)}else if($t||ya(t,e,a,!1),g=(a&t.childLanes)!==0,$t||g){if(g=Lt,g!==null&&(r=ph(g,a),r!==0&&r!==A.retryLane))throw A.retryLane=r,ji(t,r),xe(g,t,r),$u;Lc(b)||xo(),e=nc(t,e,a)}else Lc(b)?(e.flags|=192,e.child=t.child,e=null):(t=A.treeContext,Vt=Ke(b.nextSibling),ae=e,At=!0,Fn=null,Ye=!1,t!==null&&fm(e,t),e=ec(e,r.children),e.flags|=4096);return e}return u?(ei(),b=r.fallback,u=e.mode,A=t.child,L=A.sibling,r=wn(A,{mode:"hidden",children:r.children}),r.subtreeFlags=A.subtreeFlags&65011712,L!==null?b=wn(L,b):(b=_i(b,u,a,null),b.flags|=2),b.return=e,r.return=e,r.sibling=b,e.child=r,Rs(null,r),r=e.child,b=t.child.memoizedState,b
vendor: 8,923 bytes, line 48
48===null?b=Iu(a):(u=b.cachePool,u!==null?(A=Ft._currentValue,u=u.parent!==A?{parent:A,pool:A}:u):u=gm(),b={baseLanes:b.baseLanes|a,cachePool:u}),r.memoizedState=b,r.childLanes=tc(t,g,a),e.memoizedState=Wu,Rs(t.child,r)):(ti(e),a=t.child,t=a.sibling,a=wn(a,{mode:"visible",children:r.children}),a.return=e,a.sibling=null,t!==null&&(g=e.deletions,g===null?(e.deletions=[t],e.flags|=16):g.push(t)),e.child=a,e.memoizedState=null,a)}function ec(t,e){return e=co({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function co(t,e){return t=De(22,t,null,e),t.lanes=0,t}function nc(t,e,a){return Hi(e,t.child,null,a),t=ec(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Rp(t,e,a){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),gu(t.return,e,a)}function ic(t,e,a,r,u,c){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:u,treeForkCount:c}:(g.isBackwards=e,g.rendering=null,g.renderingStartTime=0,g.last=r,g.tail=a,g.tailMode=u,g.treeForkCount=c)}function Np(t,e,a){var r=e.pendingProps,u=r.revealOrder,c=r.tail;r=r.children;var g=Xt.current,b=(g&2)!==0;if(b?(g=g&1|2,e.flags|=128):g&=1,$(Xt,g),re(t,e,r,a),r=At?gs:0,!b&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Rp(t,a,e);else if(t.tag===19)Rp(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(a=e.child,u=null;a!==null;)t=a.alternate,t!==null&&Wr(t)===null&&(u=a),a=a.sibling;a=u,a===null?(u=e.child,e.child=null):(u=a.sibling,a.sibling=null),ic(e,!1,u,a,c,r);break;case"backwards":case"unstable_legacy-backwards":for(a=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&Wr(t)===null){e.child=u;break}t=u.sibling,u.sibling=a,a=u,u=t}ic(e,!0,a,null,c,r);break;case"together":ic(e,!1,null,null,void 0,r);break;default:e.memoizedState=null}return e.child}function Rn(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),ai|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(ya(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,a=wn(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=wn(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function ac(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Yr(t)))}function dT(t,e,a){switch(e.tag){case 3:Yt(e,e.stateNode.containerInfo),$n(e,Ft,t.memoizedState.cache),zi();break;case 27:case 5:Ue(e);break;case 4:Yt(e,e.stateNode.containerInfo);break;case 10:$n(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Ou(e),null;break;case 13:var r=e.memoizedState;if(r!==null)return r.dehydrated!==null?(ti(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Op(t,e,a):(ti(e),t=Rn(t,e,a),t!==null?t.sibling:null);ti(e);break;case 19:var u=(t.flags&128)!==0;if(r=(a&e.childLanes)!==0,r||(ya(t,e,a,!1),r=(a&e.childLanes)!==0),u){if(r)return Np(t,e,a);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),$(Xt,Xt.current),r)break;return null;case 22:return e.lanes=0,Ep(t,e,a,e.pendingProps);case 24:$n(e,Ft,t.memoizedState.cache)}return Rn(t,e,a)}function jp(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)$t=!0;else{if(!ac(t,a)&&(e.flags&128)===0)return $t=!1,dT(t,e,a);$t=(t.flags&131072)!==0}else $t=!1,At&&(e.flags&1048576)!==0&&cm(e,gs,e.index);switch(e.lanes=0,e.tag){case 16:t:{var r=e.pendingProps;if(t=Bi(e.elementType),e.type=t,typeof t=="function")uu(t)?(r=qi(t,r),e.tag=1,e=Mp(null,e,t,r,a)):(e.tag=0,e=Ju(null,e,t,r,a));else{if(t!=null){var u=t.$$typeof;if(u===q){e.tag=11,e=xp(null,e,t,r,a);break t}else if(u===P){e.tag=14,e=Sp(null,e,t,r,a);break t}}throw e=W(t)||t,Error(o(306,e,""))}}return e;case 0:return Ju(t,e,e.type,e.pendingProps,a);case 1:return r=e.type,u=qi(r,e.pendingProps),Mp(t,e,r,u,a);case 3:t:{if(Yt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));r=e.pendingProps;var c=e.memoizedState;u=c.element,wu(t,e),As(e,r,null,a);var g=e.memoizedState;if(r=g.cache,$n(e,Ft,r),r!==c.cache&&vu(e,[Ft],a,!0),ws(),r=g.element,c.isDehydrated)if(c={element:r,isDehydrated:!1,cache:g.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=Dp(t,e,r,a);break t}else if(r!==u){u=ke(Error(o(424)),e),vs(u),e=Dp(t,e,r,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Vt=Ke(t.firstChild),ae=e,At=!0,Fn=null,Ye=!0,a=Em(e,null,r,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(zi(),r===u){e=Rn(t,e,a);break t}re(t,e,r,a)}e=e.child}return e;case 26:return uo(t,e),t===null?(a=Gy(e.type,null,e.pendingProps,null))?e.memoizedState=a:At||(a=e.type,t=e.pendingProps,r=Mo(yt.current).createElement(a),r[ie]=e,r[me]=t,oe(r,a,t),ee(r),e.stateNode=r):e.memoizedState=Gy(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ue(e),t===null&&At&&(r=e.stateNode=Hy(e.type,e.pendingProps,yt.current),ae=e,Ye=!0,u=Vt,ui(e.type)?(Uc=u,Vt=Ke(r.firstChild)):Vt=u),re(t,e,e.pendingProps.children,a),uo(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&At&&((u=r=Vt)&&(r=qT(r,e.type,e.pendingProps,Ye),r!==null?(e.stateNode=r,ae=e,Vt=Ke(r.firstChild),Ye=!1,u=!0):u=!1),u||Zn(e)),Ue(e),u=e.type,c=e.pendingProps,g=t!==null?t.memoizedProps:null,r=c.children,jc(u,c)?r=null:g!==null&&jc(u,g)&&(e.flags|=32),e.memoizedState!==null&&(u=Nu(t,e,iT,null,null,a),Xs._currentValue=u),uo(t,e),re(t,e,r,a),e.child;case 6:return t===null&&At&&((t=a=Vt)&&(a=GT(a,e.pendingProps,Ye),a!==null?(e.stateNode=a,ae=e,Vt=null,t=!0):t=!1),t||Zn(e)),null;case 13:return Op(t,e,a);case 4:return Yt(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Hi(e,null,r,a):re(t,e,r,a),e.child;case 11:return xp(t,e,e.type,e.pendingProps,a);case 7:return re(t,e,e.pendingProps,a),e.child;case 8:return re(t,e,e.pendingProps.children,a),e.child;case 12:return re(t,e,e.pendingProps.children,a),e.child;case 10:return r=e.pendingProps,$n(e,e.type,r.value),re(t,e,r.children,a),e.child;case 9:return u=e.type._context,r=e.pendingProps.children,Vi(e),u=se(u),r=r(u),e.flags|=1,re(t,e,r,a),e.child;case 14:return Sp(t,e,e.type,e.pendingProps,a);case 15:return Tp(t,e,e.type,e.pendingProps,a);case 19:return Np(t,e,a);case 31:return fT(t,e,a);case 22:return Ep(t,e,a,e.pendingProps);case 24:return Vi(e),r=se(Ft),t===null?(u=Su(),u===null&&(u=Lt,c=bu(),u.pooledCache=c,c.refCount++,c!==null&&(u.pooledCacheLanes|=a),u=c),e.memoizedState={parent:r,cache:u},Eu(e),$n(e,Ft,u)):((t.lanes&a)!==0&&(wu(t,e),As(e,null,null,a),ws()),u=t.memoizedState,c=e.memoizedState,u.parent!==r?(u={parent:r,cache:r},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),$n(e,Ft,r)):(r=c.cache,$n(e,Ft,r),r!==u.cache&&vu(e,[Ft],a,!0))),re(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function Nn(t){t.flags|=4}function sc(t,e,a,r,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(sy())t.flags|=8192;else throw Pi=Fr,Tu}else t.flags&=-16777217}function _p(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Fy(e))if(sy())t.flags|=8192;else throw Pi=Fr,Tu}function fo(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?dh():536870912,t.lanes|=e,Da|=e)}function Ns(t,e){if(!At)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Ut(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,r=0;if(e)for(var u=t.child;u!==null;)a|=u.lanes|u.childLanes,r|=u.subtreeFlags&65011712,r|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)a|=u.lanes|u.childLanes,r|=u.subtreeFlags,r|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=r,t.childLanes=a,e}function hT(t,e,a){var r=e.pendingProps;switch(hu(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ut(e),null;case 1:return Ut(e),null;case 3:return a=e.stateNode,r=null,t!==null&&(r=t.memoizedState.cache),e.memoizedState.cache!==r&&(e.flags|=2048),Mn(Ft),Nt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(pa(e)?Nn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,pu())),Ut(e),null;case 26:var u=e.type,c=e.memoizedState;return t===null?(Nn(e),c!==null?(Ut(e),_p(e,c)):(Ut(e),sc(e,u,null,r,a))):c?c!==t.memoizedState?(Nn(e),Ut
vendor: 6,470 bytes, line 48
48(e),_p(e,c)):(Ut(e),e.flags&=-16777217):(t=t.memoizedProps,t!==r&&Nn(e),Ut(e),sc(e,u,t,r,a)),null;case 27:if(on(e),a=yt.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==r&&Nn(e);else{if(!r){if(e.stateNode===null)throw Error(o(166));return Ut(e),null}t=J.current,pa(e)?dm(e):(t=Hy(u,r,a),e.stateNode=t,Nn(e))}return Ut(e),null;case 5:if(on(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==r&&Nn(e);else{if(!r){if(e.stateNode===null)throw Error(o(166));return Ut(e),null}if(c=J.current,pa(e))dm(e);else{var g=Mo(yt.current);switch(c){case 1:c=g.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:c=g.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":c=g.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":c=g.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":c=g.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof r.is=="string"?g.createElement("select",{is:r.is}):g.createElement("select"),r.multiple?c.multiple=!0:r.size&&(c.size=r.size);break;default:c=typeof r.is=="string"?g.createElement(u,{is:r.is}):g.createElement(u)}}c[ie]=e,c[me]=r;t:for(g=e.child;g!==null;){if(g.tag===5||g.tag===6)c.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break t;for(;g.sibling===null;){if(g.return===null||g.return===e)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}e.stateNode=c;t:switch(oe(c,u,r),u){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}r&&Nn(e)}}return Ut(e),sc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==r&&Nn(e);else{if(typeof r!="string"&&e.stateNode===null)throw Error(o(166));if(t=yt.current,pa(e)){if(t=e.stateNode,a=e.memoizedProps,r=null,u=ae,u!==null)switch(u.tag){case 27:case 5:r=u.memoizedProps}t[ie]=e,t=!!(t.nodeValue===a||r!==null&&r.suppressHydrationWarning===!0||Oy(t.nodeValue,a)),t||Zn(e,!0)}else t=Mo(t).createTextNode(r),t[ie]=e,e.stateNode=t}return Ut(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(r=pa(e),a!==null){if(t===null){if(!r)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[ie]=e}else zi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ut(e),t=!1}else a=pu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Re(e),e):(Re(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Ut(e),null;case 13:if(r=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=pa(e),r!==null&&r.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[ie]=e}else zi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ut(e),u=!1}else u=pu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(Re(e),e):(Re(e),null)}return Re(e),(e.flags&128)!==0?(e.lanes=a,e):(a=r!==null,t=t!==null&&t.memoizedState!==null,a&&(r=e.child,u=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(u=r.alternate.memoizedState.cachePool.pool),c=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),c!==u&&(r.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),fo(e,e.updateQueue),Ut(e),null);case 4:return Nt(),t===null&&Mc(e.stateNode.containerInfo),Ut(e),null;case 10:return Mn(e.type),Ut(e),null;case 19:if(K(Xt),r=e.memoizedState,r===null)return Ut(e),null;if(u=(e.flags&128)!==0,c=r.rendering,c===null)if(u)Ns(r,!1);else{if(qt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=Wr(t),c!==null){for(e.flags|=128,Ns(r,!1),t=c.updateQueue,e.updateQueue=t,fo(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)om(a,t),a=a.sibling;return $(Xt,Xt.current&1|2),At&&An(e,r.treeForkCount),e.child}t=t.sibling}r.tail!==null&&we()>go&&(e.flags|=128,u=!0,Ns(r,!1),e.lanes=4194304)}else{if(!u)if(t=Wr(c),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,fo(e,t),Ns(r,!0),r.tail===null&&r.tailMode==="hidden"&&!c.alternate&&!At)return Ut(e),null}else 2*we()-r.renderingStartTime>go&&a!==536870912&&(e.flags|=128,u=!0,Ns(r,!1),e.lanes=4194304);r.isBackwards?(c.sibling=e.child,e.child=c):(t=r.last,t!==null?t.sibling=c:e.child=c,r.last=c)}return r.tail!==null?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.renderingStartTime=we(),t.sibling=null,a=Xt.current,$(Xt,u?a&1|2:a&1),At&&An(e,r.treeForkCount),t):(Ut(e),null);case 22:case 23:return Re(e),Du(),r=e.memoizedState!==null,t!==null?t.memoizedState!==null!==r&&(e.flags|=8192):r&&(e.flags|=8192),r?(a&536870912)!==0&&(e.flags&128)===0&&(Ut(e),e.subtreeFlags&6&&(e.flags|=8192)):Ut(e),a=e.updateQueue,a!==null&&fo(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),r=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),r!==a&&(e.flags|=2048),t!==null&&K(Ui),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Mn(Ft),Ut(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function mT(t,e){switch(hu(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Mn(Ft),Nt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return on(e),null;case 31:if(e.memoizedState!==null){if(Re(e),e.alternate===null)throw Error(o(340));zi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Re(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));zi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return K(Xt),null;case 4:return Nt(),null;case 10:return Mn(e.type),null;case 22:case 23:return Re(e),Du(),t!==null&&K(Ui),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Mn(Ft),null;case 25:return null;default:return null}}function zp(t,e){switch(hu(e),e.tag){case 3:Mn(Ft),Nt();break;case 26:case 27:case 5:on(e);break;case 4:Nt();break;case 31:e.memoizedState!==null&&Re(e);break;case 13:Re(e);break;case 19:K(Xt);break;case 10:Mn(e.type);break;case 22:case 23:Re(e),Du(),t!==null&&K(Ui);break;case 24:Mn(Ft)}}
vendor: 19,848 bytes, line 48
48function js(t,e){try{var a=e.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var u=r.next;a=u;do{if((a.tag&t)===t){r=void 0;var c=a.create,g=a.inst;r=c(),g.destroy=r}a=a.next}while(a!==u)}}catch(b){Rt(e,e.return,b)}}function ni(t,e,a){try{var r=e.updateQueue,u=r!==null?r.lastEffect:null;if(u!==null){var c=u.next;r=c;do{if((r.tag&t)===t){var g=r.inst,b=g.destroy;if(b!==void 0){g.destroy=void 0,u=e;var A=a,L=b;try{L()}catch(X){Rt(u,A,X)}}}r=r.next}while(r!==c)}}catch(X){Rt(e,e.return,X)}}function Lp(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Am(e,a)}catch(r){Rt(t,t.return,r)}}}function Vp(t,e,a){a.props=qi(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(r){Rt(t,e,r)}}function _s(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var r=t.stateNode;break;case 30:r=t.stateNode;break;default:r=t.stateNode}typeof a=="function"?t.refCleanup=a(r):a.current=r}}catch(u){Rt(t,e,u)}}function fn(t,e){var a=t.ref,r=t.refCleanup;if(a!==null)if(typeof r=="function")try{r()}catch(u){Rt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(u){Rt(t,e,u)}else a.current=null}function Up(t){var e=t.type,a=t.memoizedProps,r=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break t;case"img":a.src?r.src=a.src:a.srcSet&&(r.srcset=a.srcSet)}}catch(u){Rt(t,t.return,u)}}function rc(t,e,a){try{var r=t.stateNode;VT(r,t.type,a,e),r[me]=e}catch(u){Rt(t,t.return,u)}}function Bp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ui(t.type)||t.tag===4}function oc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Bp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ui(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function lc(t,e,a){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=Tn));else if(r!==4&&(r===27&&ui(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(lc(t,e,a),t=t.sibling;t!==null;)lc(t,e,a),t=t.sibling}function ho(t,e,a){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(r!==4&&(r===27&&ui(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(ho(t,e,a),t=t.sibling;t!==null;)ho(t,e,a),t=t.sibling}function Pp(t){var e=t.stateNode,a=t.memoizedProps;try{for(var r=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);oe(e,r,a),e[ie]=t,e[me]=a}catch(c){Rt(t,t.return,c)}}var jn=!1,Jt=!1,uc=!1,Hp=typeof WeakSet=="function"?WeakSet:Set,ne=null;function pT(t,e){if(t=t.containerInfo,Rc=zo,t=Wh(t),nu(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var u=r.anchorOffset,c=r.focusNode;r=r.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break t}var g=0,b=-1,A=-1,L=0,X=0,F=t,B=null;e:for(;;){for(var k;F!==a||u!==0&&F.nodeType!==3||(b=g+u),F!==c||r!==0&&F.nodeType!==3||(A=g+r),F.nodeType===3&&(g+=F.nodeValue.length),(k=F.firstChild)!==null;)B=F,F=k;for(;;){if(F===t)break e;if(B===a&&++L===u&&(b=g),B===c&&++X===r&&(A=g),(k=F.nextSibling)!==null)break;F=B,B=F.parentNode}F=k}a=b===-1||A===-1?null:{start:b,end:A}}else a=null}a=a||{start:0,end:0}}else a=null;for(Nc={focusedElem:t,selectionRange:a},zo=!1,ne=e;ne!==null;)if(e=ne,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ne=t;else for(;ne!==null;){switch(e=ne,c=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)u=t[a],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,a=e,u=c.memoizedProps,c=c.memoizedState,r=a.stateNode;try{var tt=qi(a.type,u);t=r.getSnapshotBeforeUpdate(tt,c),r.__reactInternalSnapshotBeforeUpdate=t}catch(lt){Rt(a,a.return,lt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)zc(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":zc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=e.sibling,t!==null){t.return=e.return,ne=t;break}ne=e.return}}function kp(t,e,a){var r=a.flags;switch(a.tag){case 0:case 11:case 15:zn(t,a),r&4&&js(5,a);break;case 1:if(zn(t,a),r&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(g){Rt(a,a.return,g)}else{var u=qi(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(g){Rt(a,a.return,g)}}r&64&&Lp(a),r&512&&_s(a,a.return);break;case 3:if(zn(t,a),r&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{Am(t,e)}catch(g){Rt(a,a.return,g)}}break;case 27:e===null&&r&4&&Pp(a);case 26:case 5:zn(t,a),e===null&&r&4&&Up(a),r&512&&_s(a,a.return);break;case 12:zn(t,a);break;case 31:zn(t,a),r&4&&Yp(t,a);break;case 13:zn(t,a),r&4&&Xp(t,a),r&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=wT.bind(null,a),YT(t,a))));break;case 22:if(r=a.memoizedState!==null||jn,!r){e=e!==null&&e.memoizedState!==null||Jt,u=jn;var c=Jt;jn=r,(Jt=e)&&!c?Ln(t,a,(a.subtreeFlags&8772)!==0):zn(t,a),jn=u,Jt=c}break;case 30:break;default:zn(t,a)}}function qp(t){var e=t.alternate;e!==null&&(t.alternate=null,qp(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Pl(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Bt=null,ye=!1;function _n(t,e,a){for(a=a.child;a!==null;)Gp(t,e,a),a=a.sibling}function Gp(t,e,a){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(is,a)}catch{}switch(a.tag){case 26:Jt||fn(a,e),_n(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Jt||fn(a,e);var r=Bt,u=ye;ui(a.type)&&(Bt=a.stateNode,ye=!1),_n(t,e,a),qs(a.stateNode),Bt=r,ye=u;break;case 5:Jt||fn(a,e);case 6:if(r=Bt,u=ye,Bt=null,_n(t,e,a),Bt=r,ye=u,Bt!==null)if(ye)try{(Bt.nodeType===9?Bt.body:Bt.nodeName==="HTML"?Bt.ownerDocument.body:Bt).removeChild(a.stateNode)}catch(c){Rt(a,e,c)}else try{Bt.removeChild(a.stateNode)}catch(c){Rt(a,e,c)}break;case 18:Bt!==null&&(ye?(t=Bt,Ly(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Va(t)):Ly(Bt,a.stateNode));break;case 4:r=Bt,u=ye,Bt=a.stateNode.containerInfo,ye=!0,_n(t,e,a),Bt=r,ye=u;break;case 0:case 11:case 14:case 15:ni(2,a,e),Jt||ni(4,a,e),_n(t,e,a);break;case 1:Jt||(fn(a,e),r=a.stateNode,typeof r.componentWillUnmount=="function"&&Vp(a,e,r)),_n(t,e,a);break;case 21:_n(t,e,a);break;case 22:Jt=(r=Jt)||a.memoizedState!==null,_n(t,e,a),Jt=r;break;default:_n(t,e,a)}}function Yp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Va(t)}catch(a){Rt(e,e.return,a)}}}function Xp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Va(t)}catch(a){Rt(e,e.return,a)}}function yT(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Hp),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Hp),e;default:throw Error(o(435,t.tag))}}function mo(t,e){var a=yT(t);e.forEach(function(r){if(!a.has(r)){a.add(r);var u=AT.bind(null,t,r);r.then(u,u)}})}function ge(t,e){var a=e.deletions;if(a!==null)for(var r=0;r<a.length;r++){var u=a[r],c=t,g=e,b=g;t:for(;b!==null;){switch(b.tag){case 27:if(ui(b.type)){Bt=b.stateNode,ye=!1;break t}break;case 5:Bt=b.stateNode,ye=!1;break t;case 3:case 4:Bt=b.stateNode.containerInfo,ye=!0;break t}b=b.return}if(Bt===null)throw Error(o(160));Gp(c,g,u),Bt=null,ye=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Kp(e,t),e=e.sibling}var tn=null;function Kp(t,e){var a=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ge(e,t),ve(t),r&4&&(ni(3,t,t.return),js(3,t),ni(5,t,t.return));break;case 1:ge(e,t),ve(t),r&512&&(Jt||a===null||fn(a,a.return)),r&64&&jn&&(t=t.updateQueue,t!==null&&(r=t.callbacks,r!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?r:a.concat(r))));break;case 26:var u=tn;if(ge(e,t),ve(t),r&512&&(Jt||a===null||fn(a,a.return)),r&4){var c=a!==null?a.memoizedState:null;if(r=t.memoizedState,a===null)if(r===null)if(t.stateNode===null){t:{r=t.type,a=t.memoizedProps,u=u.ownerDocument||u;e:switch(r){case"title":c=u.getElementsByTagName("title")[0],(!c||c[rs]||c[ie]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=u.createElement(r),u.head.insertBefore(c,u.querySelector("head > title"))),oe(c,r,a),c[ie]=t,ee(c),r=c;break t;case"link":var g=Ky("link","href",u).get(r+(a.href||""));if(g){for(var b=0;b<g.length;b++)if(c=g[b],c.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&c.getAttribute("rel")===(a.rel==null?null:a.rel)&&c.getAttribute("title")===(a.title==null?null:a.title)&&c.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){g.splice(b,1);break e}}c=u.createElement(r),oe(c,r,a),u.head.appendChild(c);break;case"meta":if(g=Ky("meta","content",u).get(r+(a.content||""))){for(b=0;b<g.length;b++)if(c=g[b],c.getAttribute("content")===(a.content==null?null:""+a.content)&&c.getAttribute("name")===(a.name==null?null:a.name)&&c.getAttribute("property")===(a.property==null?null:a.property)&&c.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&c.getAttribute("charset")===(a.charSet==null?null:a.charSet)){g.splice(b,1);break e}}c=u.createElement(r),oe(c,r,a),u.head.appendChild(c);break;default:throw Error(o(468,r))}c[ie]=t,ee(c),r=c}t.stateNode=r}else Qy(u,t.type,t.stateNode);else t.stateNode=Xy(u,r,t.memoizedProps);else c!==r?(c===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):c.count--,r===null?Qy(u,t.type,t.stateNode):Xy(u,r,t.memoizedProps)):r===null&&t.stateNode!==null&&rc(t,t.memoizedProps,a.memoizedProps)}break;case 27:ge(e,t),ve(t),r&512&&(Jt||a===null||fn(a,a.return)),a!==null&&r&4&&rc(t,t.memoizedProps,a.memoizedProps);break;case 5:if(ge(e,t),ve(t),r&512&&(Jt||a===null||fn(a,a.return)),t.flags&32){u=t.stateNode;try{sa(u,"")}catch(tt){Rt(t,t.return,tt)}}r&4&&t.stateNode!=null&&(u=t.memoizedProps,rc(t,u,a!==null?a.memoizedProps:u)),r&1024&&(uc=!0);break;case 6:if(ge(e,t),ve(t),r&4){if(t.stateNode===null)throw Error(o(162));r=t.memoizedProps,a=t.stateNode;try{a.nodeValue=r}catch(tt){Rt(t,t.return,tt)}}break;case 3:if(Ro=null,u=tn,tn=Do(e.containerInfo),ge(e,t),tn=u,ve(t),r&4&&a!==null&&a.memoizedState.isDehydrated)try{Va(e.containerInfo)}catch(tt){Rt(t,t.return,tt)}uc&&(uc=!1,Qp(t));break;case 4:r=tn,tn=Do(t.stateNode.containerInfo),ge(e,t),ve(t),tn=r;break;case 12:ge(e,t),ve(t);break;case 31:ge(e,t),ve(t),r&4&&(r=t.updateQueue,r!==null&&(t.updateQueue=null,mo(t,r)));break;case 13:ge(e,t),ve(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(yo=we()),r&4&&(r=t.updateQueue,r!==null&&(t.updateQueue=null,mo(t,r)));break;case 22:u=t.memoizedState!==null;var A=a!==null&&a.memoizedState!==null,L=jn,X=Jt;if(jn=L||u,Jt=X||A,ge(e,t),Jt=X,jn=L,ve(t),r&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(a===null||A||jn||Jt||Gi(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){A=a=e;try{if(c=A.stateNode,u)g=c.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{b=A.stateNode;var F=A.memoizedProps.style,B=F!=null&&F.hasOwnProperty("display")?F.display:null;b.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(tt){Rt(A,A.return,tt)}}}else if(e.tag===6){if(a===null){A=e;try{A.stateNode.nodeValue=u?"":A.memoizedProps}catch(tt){Rt(A,A.return,tt)}}}else if(e.tag===18){if(a===null){A=e;try{var k=A.stateNode;u?Vy(k,!0):Vy(A.stateNode,!1)}catch(tt){Rt(A,A.return,tt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;a===e&&(a=null),e=e.return}a===e&&(a=null),e.sibling.return=e.return,e=e.sibling}r&4&&(r=t.updateQueue,r!==null&&(a=r.retryQueue,a!==null&&(r.retryQueue=null,mo(t,a))));break;case 19:ge(e,t),ve(t),r&4&&(r=t.updateQueue,r!==null&&(t.updateQueue=null,mo(t,r)));break;case 30:break;case 21:break;default:ge(e,t),ve(t)}}function ve(t){var e=t.flags;if(e&2){try{for(var a,r=t.return;r!==null;){if(Bp(r)){a=r;break}r=r.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var u=a.stateNode,c=oc(t);ho(t,c,u);break;case 5:var g=a.stateNode;a.flags&32&&(sa(g,""),a.flags&=-33);var b=oc(t);ho(t,b,g);break;case 3:case 4:var A=a.stateNode.containerInfo,L=oc(t);lc(t,L,A);break;default:throw Error(o(161))}}catch(X){Rt(t,t.return,X)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Qp(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Qp(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function zn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)kp(t,e.alternate,e),e=e.sibling}function Gi(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:ni(4,e,e.return),Gi(e);break;case 1:fn(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&Vp(e,e.return,a),Gi(e);break;case 27:qs(e.stateNode);case 26:case 5:fn(e,e.return),Gi(e);break;case 22:e.memoizedState===null&&Gi(e);break;case 30:Gi(e);break;default:Gi(e)}t=t.sibling}}function Ln(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var r=e.alternate,u=t,c=e,g=c.flags;switch(c.tag){case 0:case 11:case 15:Ln(u,c,a),js(4,c);break;case 1:if(Ln(u,c,a),r=c,u=r.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(L){Rt(r,r.return,L)}if(r=c,u=r.updateQueue,u!==null){var b=r.stateNode;try{var A=u.shared.hiddenCallbacks;if(A!==null)for(u.shared.hiddenCallbacks=null,u=0;u<A.length;u++)wm(A[u],b)}catch(L){Rt(r,r.return,L)}}a&&g&64&&Lp(c),_s(c,c.return);break;case 27:Pp(c);case 26:case 5:Ln(u,c,a),a&&r===null&&g&4&&Up(c),_s(c,c.return);break;case 12:Ln(u,c,a);break;case 31:Ln(u,c,a),a&&g&4&&Yp(u,c);break;case 13:Ln(u,c,a),a&&g&4&&Xp(u,c);break;case 22:c.memoizedState===null&&Ln(u,c,a),_s(c,c.return);break;case 30:break;default:Ln(u,c,a)}e=e.sibling}}function cc(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&bs(a))}function fc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&bs(t))}function en(t,e,a,r){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fp(t,e,a,r),e=e.sibling}function Fp(t,e,a,r){var u=e.flags;switch(e.tag){case 0:case 11:case 15:en(t,e,a,r),u&2048&&js(9,e);break;case 1:en(t,e,a,r);break;case 3:en(t,e,a,r),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&bs(t)));break;case 12:if(u&2048){en(t,e,a,r),t=e.stateNode;try{var c=e.memoizedProps,g=c.id,b=c.onPostCommit;typeof b=="function"&&b(g,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){Rt(e,e.return,A)}}else en(t,e,a,r);break;case 31:en(t,e,a,r);break;case 13:en(t,e,a,r);break;case 23:break;case 22:c=e.stateNode,g=e.alternate,e.memoizedState!==null?c._visibility&2?en(t,e,a,r):zs(t,e):c._visibility&2?en(t,e,a,r):(c._visibility|=2,Aa(t,e,a,r,(e.subtreeFlags&10256)!==0||!1)),u&2048&&cc(g,e);break;case 24:en(t,e,a,r),u&2048&&fc(e.alternate,e);break;default:en(t,e,a,r)}}function Aa(t,e,a,r,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,g=e,b=a,A=r,L=g.flags;switch(g.tag){case 0:case 11:case 15:Aa(c,g,b,A,u),js(8,g);break;case 23:break;case 22:var X=g.stateNode;g.memoizedState!==null?X._visibility&2?Aa(c,g,b,A,u):zs(c,g):(X._visibility|=2,Aa(c,g,b,A,u)),u&&L&2048&&cc(g.alternate,g);break;case 24:Aa(c,g,b,A,u),u&&L&2048&&fc(g.alternate,g);break;default:Aa(c,g,b,A,u)}e=e.sibling}}function zs(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,r=e,u=r.flags;switch(r.tag){case 22:zs(a,r),u&2048&&cc(r.alternate,r);break;case 24:zs(a,r),u&2048&&fc(r.alternate,r);break;default:zs(a,r)}e=e.sibling}}var Ls=8192;function Ca(t,e,a){if(t.subtreeFlags&Ls)for(t=t.child;t!==null;)Zp(t,e,a),t=t.sibling}function Zp(t,e,a){switch(t.tag){case 26:Ca(t,e,a),t.flags&Ls&&t.memoizedState!==null&&nE(a,tn,t.memoizedState,t.memoizedProps);break;case 5:Ca(t,e,a);break;case 3:case 4:var r=tn;tn=Do(t.stateNode.containerInfo),Ca(t,e,a),tn=r;break;case 22:t.memoizedState===null&&(r=t.alternate,r!==null&&r.memoizedState!==null?(r=Ls,Ls=16777216,Ca(t,e,a),Ls=r):Ca(t,e,a));break;default:Ca(t,e,a)}}function $p(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Vs(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var r=e[a];ne=r,Wp(r,t)}$p(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Jp(t),t=t.sibling}function Jp(t){switch(t.tag){case 0:case 11:case 15:Vs(t),t.flags&2048&&ni(9,t,t.return);break;case 3:Vs(t);break;case 12:Vs(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,po(t)):Vs(t);break;default:Vs(t)}}function po(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var r=e[a];ne=r,Wp(r,t)}$p(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:ni(8,e,e.return),po(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,po(e));break;default:po(e)}t=t.sibling}}function Wp(t,e){for(;ne!==null;){var a=ne;switch(a.tag){case 0:case 11:case 15:ni(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var r=a.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:bs(a.memoizedState.cache)}if(r=a.child,r!==null)r.return=a,ne=r;else t:for(a=t;ne!==null;){r=ne;var u=r.sibling,c=r.return;if(qp(r),r===a){ne=null;break t}if(u!==null){u.return=c,ne=u;break t}ne=c}}}var gT={getCacheForType:function(t){var e=se(Ft),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return se(Ft).controller.signal}},vT=typeof WeakMap=="function"?WeakMap:Map,Dt=0,Lt=null,xt=null,Tt=0,Ot=0,Ne=null,ii=!1,Ma=!1,dc=!1,Vn=0,qt=0,ai=0,Yi=0,hc=0,je=0,Da=0,Us=null,be=null,mc=!1,yo=0,Ip=0,go=1/0,vo=null,si=null,It=0,ri=null,Oa=null,Un=0,pc=0,yc=null,ty=null,Bs=0,gc=null;function _e(){return(Dt&2)!==0&&Tt!==0?Tt&-Tt:_.T!==null?Ec():yh()}function ey(){if(je===0)if((Tt&536870912)===0||At){var t=Ar;Ar<<=1,(Ar&3932160)===0&&(Ar=262144),je=t}else je=536870912;return t=Oe.current,t!==null&&(t.flags|=32),je}function xe(t,e,a){(t===Lt&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)&&(Ra(t,0),oi(t,Tt,je,!1)),ss(t,a),((Dt&2)===0||t!==Lt)&&(t===Lt&&((Dt&2)===0&&(Yi|=a),qt===4&&oi(t,Tt,je,!1)),dn(t))}function ny(t,e,a){if((Dt&6)!==0)throw Error(o(327));var r=!a&&(e&127)===0&&(e&t.expiredLanes)===0||as(t,e),u=r?ST(t,e):bc(t,e,!0),c=r;do{if(u===0){Ma&&!r&&oi(t,e,0,!1);break}else{if(a=t.current.alternate,c&&!bT(a)){u=bc(t,e,!1),c=!1;continue}if(u===2){if(c=e,t.errorRecoveryDisabledLanes&c)var g=0;
vendor: 22,372 bytes, lines 48-49
48else g=t.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){e=g;t:{var b=t;u=Us;var A=b.current.memoizedState.isDehydrated;if(A&&(Ra(b,g).flags|=256),g=bc(b,g,!1),g!==2){if(dc&&!A){b.errorRecoveryDisabledLanes|=c,Yi|=c,u=4;break t}c=be,be=u,c!==null&&(be===null?be=c:be.push.apply(be,c))}u=g}if(c=!1,u!==2)continue}}if(u===1){Ra(t,0),oi(t,e,0,!0);break}t:{switch(r=t,c=u,c){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:oi(r,e,je,!ii);break t;case 2:be=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(u=yo+300-we(),10<u)){if(oi(r,e,je,!ii),Mr(r,0,!0)!==0)break t;Un=e,r.timeoutHandle=_y(iy.bind(null,r,a,be,vo,mc,e,je,Yi,Da,ii,c,"Throttled",-0,0),u);break t}iy(r,a,be,vo,mc,e,je,Yi,Da,ii,c,null,-0,0)}}break}while(!0);dn(t)}function iy(t,e,a,r,u,c,g,b,A,L,X,F,B,k){if(t.timeoutHandle=-1,F=e.subtreeFlags,F&8192||(F&16785408)===16785408){F={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Tn},Zp(e,c,F);var tt=(c&62914560)===c?yo-we():(c&4194048)===c?Ip-we():0;if(tt=iE(F,tt),tt!==null){Un=c,t.cancelPendingCommit=tt(fy.bind(null,t,e,c,a,r,u,g,b,A,X,F,null,B,k)),oi(t,c,g,!L);return}}fy(t,e,c,a,r,u,g,b,A)}function bT(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var r=0;r<a.length;r++){var u=a[r],c=u.getSnapshot;u=u.value;try{if(!Me(c(),u))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function oi(t,e,a,r){e&=~hc,e&=~Yi,t.suspendedLanes|=e,t.pingedLanes&=~e,r&&(t.warmLanes|=e),r=t.expirationTimes;for(var u=e;0<u;){var c=31-Ce(u),g=1<<c;r[c]=-1,u&=~g}a!==0&&hh(t,a,e)}function bo(){return(Dt&6)===0?(Ps(0),!1):!0}function vc(){if(xt!==null){if(Ot===0)var t=xt.return;else t=xt,Cn=Li=null,zu(t),xa=null,Ss=0,t=xt;for(;t!==null;)zp(t.alternate,t),t=t.return;xt=null}}function Ra(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,PT(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Un=0,vc(),Lt=t,xt=a=wn(t.current,null),Tt=e,Ot=0,Ne=null,ii=!1,Ma=as(t,e),dc=!1,Da=je=hc=Yi=ai=qt=0,be=Us=null,mc=!1,(e&8)!==0&&(e|=e&32);var r=t.entangledLanes;if(r!==0)for(t=t.entanglements,r&=e;0<r;){var u=31-Ce(r),c=1<<u;e|=t[u],r&=~c}return Vn=e,Pr(),a}function ay(t,e){gt=null,_.H=Os,e===ba||e===Qr?(e=xm(),Ot=3):e===Tu?(e=xm(),Ot=4):Ot=e===$u?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ne=e,xt===null&&(qt=1,oo(t,ke(e,t.current)))}function sy(){var t=Oe.current;return t===null?!0:(Tt&4194048)===Tt?Xe===null:(Tt&62914560)===Tt||(Tt&536870912)!==0?t===Xe:!1}function ry(){var t=_.H;return _.H=Os,t===null?Os:t}function oy(){var t=_.A;return _.A=gT,t}function xo(){qt=4,ii||(Tt&4194048)!==Tt&&Oe.current!==null||(Ma=!0),(ai&134217727)===0&&(Yi&134217727)===0||Lt===null||oi(Lt,Tt,je,!1)}function bc(t,e,a){var r=Dt;Dt|=2;var u=ry(),c=oy();(Lt!==t||Tt!==e)&&(vo=null,Ra(t,e)),e=!1;var g=qt;t:do try{if(Ot!==0&&xt!==null){var b=xt,A=Ne;switch(Ot){case 8:vc(),g=6;break t;case 3:case 2:case 9:case 6:Oe.current===null&&(e=!0);var L=Ot;if(Ot=0,Ne=null,Na(t,b,A,L),a&&Ma){g=0;break t}break;default:L=Ot,Ot=0,Ne=null,Na(t,b,A,L)}}xT(),g=qt;break}catch(X){ay(t,X)}while(!0);return e&&t.shellSuspendCounter++,Cn=Li=null,Dt=r,_.H=u,_.A=c,xt===null&&(Lt=null,Tt=0,Pr()),g}function xT(){for(;xt!==null;)ly(xt)}function ST(t,e){var a=Dt;Dt|=2;var r=ry(),u=oy();Lt!==t||Tt!==e?(vo=null,go=we()+500,Ra(t,e)):Ma=as(t,e);t:do try{if(Ot!==0&&xt!==null){e=xt;var c=Ne;e:switch(Ot){case 1:Ot=0,Ne=null,Na(t,e,c,1);break;case 2:case 9:if(vm(c)){Ot=0,Ne=null,uy(e);break}e=function(){Ot!==2&&Ot!==9||Lt!==t||(Ot=7),dn(t)},c.then(e,e);break t;case 3:Ot=7;break t;case 4:Ot=5;break t;case 7:vm(c)?(Ot=0,Ne=null,uy(e)):(Ot=0,Ne=null,Na(t,e,c,7));break;case 5:var g=null;switch(xt.tag){case 26:g=xt.memoizedState;case 5:case 27:var b=xt;if(g?Fy(g):b.stateNode.complete){Ot=0,Ne=null;var A=b.sibling;if(A!==null)xt=A;else{var L=b.return;L!==null?(xt=L,So(L)):xt=null}break e}}Ot=0,Ne=null,Na(t,e,c,5);break;case 6:Ot=0,Ne=null,Na(t,e,c,6);break;case 8:vc(),qt=6;break t;default:throw Error(o(462))}}TT();break}catch(X){ay(t,X)}while(!0);return Cn=Li=null,_.H=r,_.A=u,Dt=a,xt!==null?0:(Lt=null,Tt=0,Pr(),qt)}function TT(){for(;xt!==null&&!XS();)ly(xt)}function ly(t){var e=jp(t.alternate,t,Vn);t.memoizedProps=t.pendingProps,e===null?So(t):xt=e}function uy(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=Cp(a,e,e.pendingProps,e.type,void 0,Tt);break;case 11:e=Cp(a,e,e.pendingProps,e.type.render,e.ref,Tt);break;case 5:zu(e);default:zp(a,e),e=xt=om(e,Vn),e=jp(a,e,Vn)}t.memoizedProps=t.pendingProps,e===null?So(t):xt=e}function Na(t,e,a,r){Cn=Li=null,zu(e),xa=null,Ss=0;var u=e.return;try{if(cT(t,u,e,a,Tt)){qt=1,oo(t,ke(a,t.current)),xt=null;return}}catch(c){if(u!==null)throw xt=u,c;qt=1,oo(t,ke(a,t.current)),xt=null;return}e.flags&32768?(At||r===1?t=!0:Ma||(Tt&536870912)!==0?t=!1:(ii=t=!0,(r===2||r===9||r===3||r===6)&&(r=Oe.current,r!==null&&r.tag===13&&(r.flags|=16384))),cy(e,t)):So(e)}function So(t){var e=t;do{if((e.flags&32768)!==0){cy(e,ii);return}t=e.return;var a=hT(e.alternate,e,Vn);if(a!==null){xt=a;return}if(e=e.sibling,e!==null){xt=e;return}xt=e=t}while(e!==null);qt===0&&(qt=5)}function cy(t,e){do{var a=mT(t.alternate,t);if(a!==null){a.flags&=32767,xt=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){xt=t;return}xt=t=a}while(t!==null);qt=6,xt=null}function fy(t,e,a,r,u,c,g,b,A){t.cancelPendingCommit=null;do To();while(It!==0);if((Dt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));if(c=e.lanes|e.childLanes,c|=ou,e1(t,a,c,g,b,A),t===Lt&&(xt=Lt=null,Tt=0),Oa=e,ri=t,Un=a,pc=c,yc=u,ty=r,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,CT(Er,function(){return yy(),null})):(t.callbackNode=null,t.callbackPriority=0),r=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||r){r=_.T,_.T=null,u=Y.p,Y.p=2,g=Dt,Dt|=4;try{pT(t,e,a)}finally{Dt=g,Y.p=u,_.T=r}}It=1,dy(),hy(),my()}}function dy(){if(It===1){It=0;var t=ri,e=Oa,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=_.T,_.T=null;var r=Y.p;Y.p=2;var u=Dt;Dt|=4;try{Kp(e,t);var c=Nc,g=Wh(t.containerInfo),b=c.focusedElem,A=c.selectionRange;if(g!==b&&b&&b.ownerDocument&&Jh(b.ownerDocument.documentElement,b)){if(A!==null&&nu(b)){var L=A.start,X=A.end;if(X===void 0&&(X=L),"selectionStart"in b)b.selectionStart=L,b.selectionEnd=Math.min(X,b.value.length);else{var F=b.ownerDocument||document,B=F&&F.defaultView||window;if(B.getSelection){var k=B.getSelection(),tt=b.textContent.length,lt=Math.min(A.start,tt),zt=A.end===void 0?lt:Math.min(A.end,tt);!k.extend&&lt>zt&&(g=zt,zt=lt,lt=g);var R=$h(b,lt),O=$h(b,zt);if(R&&O&&(k.rangeCount!==1||k.anchorNode!==R.node||k.anchorOffset!==R.offset||k.focusNode!==O.node||k.focusOffset!==O.offset)){var z=F.createRange();z.setStart(R.node,R.offset),k.removeAllRanges(),lt>zt?(k.addRange(z),k.extend(O.node,O.offset)):(z.setEnd(O.node,O.offset),k.addRange(z))}}}}for(F=[],k=b;k=k.parentNode;)k.nodeType===1&&F.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<F.length;b++){var Q=F[b];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}zo=!!Rc,Nc=Rc=null}finally{Dt=u,Y.p=r,_.T=a}}t.current=e,It=2}}function hy(){if(It===2){It=0;var t=ri,e=Oa,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=_.T,_.T=null;var r=Y.p;Y.p=2;var u=Dt;Dt|=4;try{kp(t,e.alternate,e)}finally{Dt=u,Y.p=r,_.T=a}}It=3}}function my(){if(It===4||It===3){It=0,KS();var t=ri,e=Oa,a=Un,r=ty;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?It=5:(It=0,Oa=ri=null,py(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(si=null),Ul(a),e=e.stateNode,Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot(is,e,void 0,(e.current.flags&128)===128)}catch{}if(r!==null){e=_.T,u=Y.p,Y.p=2,_.T=null;try{for(var c=t.onRecoverableError,g=0;g<r.length;g++){var b=r[g];c(b.value,{componentStack:b.stack})}}finally{_.T=e,Y.p=u}}(Un&3)!==0&&To(),dn(t),u=t.pendingLanes,(a&261930)!==0&&(u&42)!==0?t===gc?Bs++:(Bs=0,gc=t):Bs=0,Ps(0)}}function py(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,bs(e)))}function To(){return dy(),hy(),my(),yy()}function yy(){if(It!==5)return!1;var t=ri,e=pc;pc=0;var a=Ul(Un),r=_.T,u=Y.p;try{Y.p=32>a?32:a,_.T=null,a=yc,yc=null;var c=ri,g=Un;if(It=0,Oa=ri=null,Un=0,(Dt&6)!==0)throw Error(o(331));var b=Dt;if(Dt|=4,Jp(c.current),Fp(c,c.current,g,a),Dt=b,Ps(0,!1),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot(is,c)}catch{}return!0}finally{Y.p=u,_.T=r,py(t,e)}}function gy(t,e,a){e=ke(a,e),e=Zu(t.stateNode,e,2),t=In(t,e,2),t!==null&&(ss(t,2),dn(t))}function Rt(t,e,a){if(t.tag===3)gy(t,t,a);else for(;e!==null;){if(e.tag===3){gy(e,t,a);break}else if(e.tag===1){var r=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(si===null||!si.has(r))){t=ke(a,t),a=vp(2),r=In(e,a,2),r!==null&&(bp(a,r,e,t),ss(r,2),dn(r));break}}e=e.return}}function xc(t,e,a){var r=t.pingCache;if(r===null){r=t.pingCache=new vT;var u=new Set;r.set(e,u)}else u=r.get(e),u===void 0&&(u=new Set,r.set(e,u));u.has(a)||(dc=!0,u.add(a),t=ET.bind(null,t,e,a),e.then(t,t))}function ET(t,e,a){var r=t.pingCache;r!==null&&r.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Lt===t&&(Tt&a)===a&&(qt===4||qt===3&&(Tt&62914560)===Tt&&300>we()-yo?(Dt&2)===0&&Ra(t,0):hc|=a,Da===Tt&&(Da=0)),dn(t)}function vy(t,e){e===0&&(e=dh()),t=ji(t,e),t!==null&&(ss(t,e),dn(t))}function wT(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),vy(t,a)}function AT(t,e){var a=0;switch(t.tag){case 31:case 13:var r=t.stateNode,u=t.memoizedState;u!==null&&(a=u.retryLane);break;case 19:r=t.stateNode;break;case 22:r=t.stateNode._retryCache;break;default:throw Error(o(314))}r!==null&&r.delete(e),vy(t,a)}function CT(t,e){return _l(t,e)}var Eo=null,ja=null,Sc=!1,wo=!1,Tc=!1,li=0;function dn(t){t!==ja&&t.next===null&&(ja===null?Eo=ja=t:ja=ja.next=t),wo=!0,Sc||(Sc=!0,DT())}function Ps(t,e){if(!Tc&&wo){Tc=!0;do for(var a=!1,r=Eo;r!==null;){if(t!==0){var u=r.pendingLanes;if(u===0)var c=0;else{var g=r.suspendedLanes,b=r.pingedLanes;c=(1<<31-Ce(42|t)+1)-1,c&=u&~(g&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,Ty(r,c))}else c=Tt,c=Mr(r,r===Lt?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(c&3)===0||as(r,c)||(a=!0,Ty(r,c));r=r.next}while(a);Tc=!1}}function MT(){by()}function by(){wo=Sc=!1;var t=0;li!==0&&BT()&&(t=li);for(var e=we(),a=null,r=Eo;r!==null;){var u=r.next,c=xy(r,e);c===0?(r.next=null,a===null?Eo=u:a.next=u,u===null&&(ja=a)):(a=r,(t!==0||(c&3)!==0)&&(wo=!0)),r=u}It!==0&&It!==5||Ps(t),li!==0&&(li=0)}function xy(t,e){for(var a=t.suspendedLanes,r=t.pingedLanes,u=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var g=31-Ce(c),b=1<<g,A=u[g];A===-1?((b&a)===0||(b&r)!==0)&&(u[g]=t1(b,e)):A<=e&&(t.expiredLanes|=b),c&=~b}if(e=Lt,a=Tt,a=Mr(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),r=t.callbackNode,a===0||t===e&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)return r!==null&&r!==null&&zl(r),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||as(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(r!==null&&zl(r),Ul(a)){case 2:case 8:a=ch;break;case 32:a=Er;break;case 268435456:a=fh;break;default:a=Er}return r=Sy.bind(null,t),a=_l(a,r),t.callbackPriority=e,t.callbackNode=a,e}return r!==null&&r!==null&&zl(r),t.callbackPriority=2,t.callbackNode=null,2}function Sy(t,e){if(It!==0&&It!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(To()&&t.callbackNode!==a)return null;var r=Tt;return r=Mr(t,t===Lt?r:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),r===0?null:(ny(t,r,e),xy(t,we()),t.callbackNode!=null&&t.callbackNode===a?Sy.bind(null,t):null)}function Ty(t,e){if(To())return null;ny(t,e,!0)}function DT(){HT(function(){(Dt&6)!==0?_l(uh,MT):by()})}function Ec(){if(li===0){var t=ga;t===0&&(t=wr,wr<<=1,(wr&261888)===0&&(wr=256)),li=t}return li}function Ey(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Nr(""+t)}function wy(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function OT(t,e,a,r,u){if(e==="submit"&&a&&a.stateNode===u){var c=Ey((u[me]||null).action),g=r.submitter;g&&(e=(e=g[me]||null)?Ey(e.formAction):g.getAttribute("formAction"),e!==null&&(c=e,g=null));var b=new Lr("action","action",null,r,u);t.push({event:b,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(li!==0){var A=g?wy(u,g):new FormData(u);Gu(a,{pending:!0,data:A,method:u.method,action:c},null,A)}}else typeof c=="function"&&(b.preventDefault(),A=g?wy(u,g):new FormData(u),Gu(a,{pending:!0,data:A,method:u.method,action:c},c,A))},currentTarget:u}]})}}for(var wc=0;wc<ru.length;wc++){var Ac=ru[wc],RT=Ac.toLowerCase(),NT=Ac[0].toUpperCase()+Ac.slice(1);Ie(RT,"on"+NT)}Ie(em,"onAnimationEnd"),Ie(nm,"onAnimationIteration"),Ie(im,"onAnimationStart"),Ie("dblclick","onDoubleClick"),Ie("focusin","onFocus"),Ie("focusout","onBlur"),Ie(Q1,"onTransitionRun"),Ie(F1,"onTransitionStart"),Ie(Z1,"onTransitionCancel"),Ie(am,"onTransitionEnd"),ia("onMouseEnter",["mouseout","mouseover"]),ia("onMouseLeave",["mouseout","mouseover"]),ia("onPointerEnter",["pointerout","pointerover"]),ia("onPointerLeave",["pointerout","pointerover"]),Di("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Di("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Di("onBeforeInput",["compositionend","keypress","textInput","paste"]),Di("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hs="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(" "),jT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Hs));function Ay(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var r=t[a],u=r.event;r=r.listeners;t:{var c=void 0;if(e)for(var g=r.length-1;0<=g;g--){var b=r[g],A=b.instance,L=b.currentTarget;if(b=b.listener,A!==c&&u.isPropagationStopped())break t;c=b,u.currentTarget=L;try{c(u)}catch(X){Br(X)}u.currentTarget=null,c=A}else for(g=0;g<r.length;g++){if(b=r[g],A=b.instance,L=b.currentTarget,b=b.listener,A!==c&&u.isPropagationStopped())break t;c=b,u.currentTarget=L;try{c(u)}catch(X){Br(X)}u.currentTarget=null,c=A}}}}function St(t,e){var a=e[Bl];a===void 0&&(a=e[Bl]=new Set);var r=t+"__bubble";a.has(r)||(Cy(e,t,2,!1),a.add(r))}function Cc(t,e,a){var r=0;e&&(r|=4),Cy(a,t,r,e)}var Ao="_reactListening"+Math.random().toString(36).slice(2);function Mc(t){if(!t[Ao]){t[Ao]=!0,bh.forEach(function(a){a!=="selectionchange"&&(jT.has(a)||Cc(a,!1,t),Cc(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ao]||(e[Ao]=!0,Cc("selectionchange",!1,e))}}function Cy(t,e,a,r){switch(eg(e)){case 2:var u=rE;break;case 8:u=oE;break;default:u=qc}a=u.bind(null,e,a,t),u=void 0,!Ql||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),r?u!==void 0?t.addEventListener(e,a,{capture:!0,passive:u}):t.addEventListener(e,a,!0):u!==void 0?t.addEventListener(e,a,{passive:u}):t.addEventListener(e,a,!1)}function Dc(t,e,a,r,u){var c=r;if((e&1)===0&&(e&2)===0&&r!==null)t:for(;;){if(r===null)return;var g=r.tag;if(g===3||g===4){var b=r.stateNode.containerInfo;if(b===u)break;if(g===4)for(g=r.return;g!==null;){var A=g.tag;if((A===3||A===4)&&g.stateNode.containerInfo===u)return;g=g.return}for(;b!==null;){if(g=ta(b),g===null)return;if(A=g.tag,A===5||A===6||A===26||A===27){r=c=g;continue t}b=b.parentNode}}r=r.return}Nh(function(){var L=c,X=Xl(a),F=[];t:{var B=sm.get(t);if(B!==void 0){var k=Lr,tt=t;switch(t){case"keypress":if(_r(a)===0)break t;case"keydown":case"keyup":k=A1;break;case"focusin":tt="focus",k=Jl;break;case"focusout":tt="blur",k=Jl;break;case"beforeblur":case"afterblur":k=Jl;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=zh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=h1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=D1;break;case em:case nm:case im:k=y1;break;case am:k=R1;break;case"scroll":case"scrollend":k=f1;break;case"wheel":k=j1;break;case"copy":case"cut":case"paste":k=v1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=Vh;break;case"toggle":case"beforetoggle":k=z1}var lt=(e&4)!==0,zt=!lt&&(t==="scroll"||t==="scrollend"),R=lt?B!==null?B+"Capture":null:B;lt=[];for(var O=L,z;O!==null;){var Q=O;if(z=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||z===null||R===null||(Q=ls(O,R),Q!=null&&lt.push(ks(O,Q,z))),zt)break;O=O.return}0<lt.length&&(B=new k(B,tt,null,a,X),F.push({event:B,listeners:lt}))}}if((e&7)===0){t:{if(B=t==="mouseover"||t==="pointerover",k=t==="mouseout"||t==="pointerout",B&&a!==Yl&&(tt=a.relatedTarget||a.fromElement)&&(ta(tt)||tt[Ii]))break t;if((k||B)&&(B=X.window===X?X:(B=X.ownerDocument)?B.defaultView||B.parentWindow:window,k?(tt=a.relatedTarget||a.toElement,k=L,tt=tt?ta(tt):null,tt!==null&&(zt=f(tt),lt=tt.tag,tt!==zt||lt!==5&&lt!==27&&lt!==6)&&(tt=null)):(k=null,tt=L),k!==tt)){if(lt=zh,Q="onMouseLeave",R="onMouseEnter",O="mouse",(t==="pointerout"||t==="pointerover")&&(lt=Vh,Q="onPointerLeave",R="onPointerEnter",O="pointer"),zt=k==null?B:os(k),z=tt==null?B:os(tt),B=new lt(Q,O+"leave",k,a,X),B.target=zt,B.relatedTarget=z,Q=null,ta(X)===L&&(lt=new lt(R,O+"enter",tt,a,X),lt.target=z,lt.relatedTarget=zt,Q=lt),zt=Q,k&&tt)e:{for(lt=_T,R=k,O=tt,z=0,Q=R;Q;Q=lt(Q))z++;Q=0;for(var ot=O;ot;ot=lt(ot))Q++;for(;0<z-Q;)R=lt(R),z--;for(;0<Q-z;)O=lt(O),Q--;for(;z--;){if(R===O||O!==null&&R===O.alternate){lt=R;break e}R=lt(R),O=lt(O)}lt=null}else lt=null;k!==null&&My(F,B,k,lt,!1),tt!==null&&zt!==null&&My(F,zt,tt,lt,!0)}}t:{if(B=L?os(L):window,k=B.nodeName&&B.nodeName.toLowerCase(),k==="select"||k==="input"&&B.type==="file")var Ct=Yh;else if(qh(B))if(Xh)Ct=Y1;else{Ct=q1;var st=k1}else k=B.nodeName,!k||k.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?L&&Gl(L.elementType)&&(Ct=Yh):Ct=G1;if(Ct&&(Ct=Ct(t,L))){Gh(F,Ct,a,X);break t}st&&st(t,B,L),t==="focusout"&&L&&B.type==="number"&&L.memoizedProps.value!=null&&ql(B,"number",B.value)}switch(st=L?os(L):window,t){case"focusin":(qh(st)||st.contentEditable==="true")&&(ua=st,iu=L,ys=null);break;case"focusout":ys=iu=ua=null;break;case"mousedown":au=!0;break;case"contextmenu":case"mouseup":case"dragend":au=!1,Ih(F,a,X);break;case"selectionchange":if(K1)break;case"keydown":case"keyup":Ih(F,a,X)}var vt;if(Il)t:{switch(t){case"compositionstart":var Et="onCompositionStart";break t;case"compositionend":Et="onCompositionEnd";break t;case"compositionupdate":Et="onCompositionUpdate";break t}Et=void 0}else la?Hh(t,a)&&(Et="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(Et="onCompositionStart");Et&&(Uh&&a.locale!=="ko"&&(la||Et!=="onCompositionStart"?Et==="onCompositionEnd"&&la&&(vt=jh()):(Kn=X,Fl="value"in Kn?Kn.value:Kn.textContent,la=!0)),st=Co(L,Et),0<st.length&&(Et=new Lh(Et,t,null,a,X),F.push({event:Et,listeners:st}),vt?Et.data=vt:(vt=kh(a),vt!==null&&(Et.data=vt)))),(vt=V1?U1(t,a):B1(t,a))&&(Et=Co(L,"onBeforeInput"),0<Et.length&&(st=new Lh("onBeforeInput","beforeinput",null,a,X),F.push({event:st,listeners:Et}),st.data=vt)),OT(F,t,L,a,X)}Ay(F,e)})}function ks(t,e,a){return{instance:t,listener:e,currentTarget:a}}function Co(t,e){for(var a=e+"Capture",r=[];t!==null;){var u=t,c=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||c===null||(u=ls(t,a),u!=null&&r.unshift(ks(t,u,c)),u=ls(t,e),u!=null&&r.push(ks(t,u,c))),t.tag===3)return r;t=t.return}return[]}function _T(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function My(t,e,a,r,u){for(var c=e._reactName,g=[];a!==null&&a!==r;){var b=a,A=b.alternate,L=b.stateNode;if(b=b.tag,A!==null&&A===r)break;b!==5&&b!==26&&b!==27||L===null||(A=L,u?(L=ls(a,c),L!=null&&g.unshift(ks(a,L,A))):u||(L=ls(a,c),L!=null&&g.push(ks(a,L,A)))),a=a.return}g.length!==0&&t.push({event:e,listeners:g})}var zT=/\r\n?/g,LT=/\u0000|\uFFFD/g;function Dy(t){return(typeof t=="string"?t:""+t).replace(zT,`
49`).replace(LT,"")}function Oy(t,e){return e=Dy(e),Dy(t)===e}function _t(t,e,a,r,u,c){switch(a){case"children":typeof r=="string"?e==="body"||e==="textarea"&&r===""||sa(t,r):(typeof r=="number"||typeof r=="bigint")&&e!=="body"&&sa(t,""+r);break;case"className":Or(t,"class",r);break;case"tabIndex":Or(t,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Or(t,a,r);break;case"style":Oh(t,r,c);break;case"data":if(e!=="object"){Or(t,"data",r);break}case"src":case"href":if(r===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){t.removeAttribute(a);break}r=Nr(""+r),t.setAttribute(a,r);break;case"action":case"formAction":if(typeof r=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(a==="formAction"?(e!=="input"&&_t(t,e,"name",u.name,u,null),_t(t,e,"formEncType",u.formEncType,u,null),_t(t,e,"formMethod",u.formMethod,u,null),_t(t,e,"formTarget",u.formTarget,u,null)):(_t(t,e,"encType",u.encType,u,null),_t(t,e,"method",u.method,u,
vendor: 4,286 bytes, line 49
49null),_t(t,e,"target",u.target,u,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){t.removeAttribute(a);break}r=Nr(""+r),t.setAttribute(a,r);break;case"onClick":r!=null&&(t.onclick=Tn);break;case"onScroll":r!=null&&St("scroll",t);break;case"onScrollEnd":r!=null&&St("scrollend",t);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(a=r.__html,a!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=a}}break;case"multiple":t.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":t.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){t.removeAttribute("xlink:href");break}a=Nr(""+r),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(a,""+r):t.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":r===!0?t.setAttribute(a,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(a,r):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?t.setAttribute(a,r):t.removeAttribute(a);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?t.removeAttribute(a):t.setAttribute(a,r);break;case"popover":St("beforetoggle",t),St("toggle",t),Dr(t,"popover",r);break;case"xlinkActuate":Sn(t,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Sn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Sn(t,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Sn(t,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Sn(t,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Sn(t,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Sn(t,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Sn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Sn(t,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Dr(t,"is",r);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=u1.get(a)||a,Dr(t,a,r))}}function Oc(t,e,a,r,u,c){switch(a){case"style":Oh(t,r,c);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(a=r.__html,a!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=a}}break;case"children":typeof r=="string"?sa(t,r):(typeof r=="number"||typeof r=="bigint")&&sa(t,""+r);break;case"onScroll":r!=null&&St("scroll",t);break;case"onScrollEnd":r!=null&&St("scrollend",t);break;case"onClick":r!=null&&(t.onclick=Tn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!xh.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(u=a.endsWith("Capture"),e=a.slice(2,u?a.length-7:void 0),c=t[me]||null,c=c!=null?c[a]:null,typeof c=="function"&&t.removeEventListener(e,c,u),typeof r=="function")){typeof c!="function"&&c!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,r,u);break t}a in t?t[a]=r:r===!0?t.setAttribute(a,""):Dr(t,a,r)}}}function oe(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",t),St("load",t);
vendor: 9,195 bytes, line 49
49var r=!1,u=!1,c;for(c in a)if(a.hasOwnProperty(c)){var g=a[c];if(g!=null)switch(c){case"src":r=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:_t(t,e,c,g,a,null)}}u&&_t(t,e,"srcSet",a.srcSet,a,null),r&&_t(t,e,"src",a.src,a,null);return;case"input":St("invalid",t);var b=c=g=u=null,A=null,L=null;for(r in a)if(a.hasOwnProperty(r)){var X=a[r];if(X!=null)switch(r){case"name":u=X;break;case"type":g=X;break;case"checked":A=X;break;case"defaultChecked":L=X;break;case"value":c=X;break;case"defaultValue":b=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(o(137,e));break;default:_t(t,e,r,X,a,null)}}Ah(t,c,b,A,L,g,u,!1);return;case"select":St("invalid",t),r=g=c=null;for(u in a)if(a.hasOwnProperty(u)&&(b=a[u],b!=null))switch(u){case"value":c=b;break;case"defaultValue":g=b;break;case"multiple":r=b;default:_t(t,e,u,b,a,null)}e=c,a=g,t.multiple=!!r,e!=null?aa(t,!!r,e,!1):a!=null&&aa(t,!!r,a,!0);return;case"textarea":St("invalid",t),c=u=r=null;for(g in a)if(a.hasOwnProperty(g)&&(b=a[g],b!=null))switch(g){case"value":r=b;break;case"defaultValue":u=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(91));break;default:_t(t,e,g,b,a,null)}Mh(t,r,u,c);return;case"option":for(A in a)if(a.hasOwnProperty(A)&&(r=a[A],r!=null))switch(A){case"selected":t.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:_t(t,e,A,r,a,null)}return;case"dialog":St("beforetoggle",t),St("toggle",t),St("cancel",t),St("close",t);break;case"iframe":case"object":St("load",t);break;case"video":case"audio":for(r=0;r<Hs.length;r++)St(Hs[r],t);break;case"image":St("error",t),St("load",t);break;case"details":St("toggle",t);break;case"embed":case"source":case"link":St("error",t),St("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in a)if(a.hasOwnProperty(L)&&(r=a[L],r!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:_t(t,e,L,r,a,null)}return;default:if(Gl(e)){for(X in a)a.hasOwnProperty(X)&&(r=a[X],r!==void 0&&Oc(t,e,X,r,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(r=a[b],r!=null&&_t(t,e,b,r,a,null))}function VT(t,e,a,r){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,c=null,g=null,b=null,A=null,L=null,X=null;for(k in a){var F=a[k];if(a.hasOwnProperty(k)&&F!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":A=F;default:r.hasOwnProperty(k)||_t(t,e,k,null,r,F)}}for(var B in r){var k=r[B];if(F=a[B],r.hasOwnProperty(B)&&(k!=null||F!=null))switch(B){case"type":c=k;break;case"name":u=k;break;case"checked":L=k;break;case"defaultChecked":X=k;break;case"value":g=k;break;case"defaultValue":b=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,e));break;default:k!==F&&_t(t,e,B,k,r,F)}}kl(t,g,b,A,L,X,c,u);return;case"select":k=g=b=B=null;for(c in a)if(A=a[c],a.hasOwnProperty(c)&&A!=null)switch(c){case"value":break;case"multiple":k=A;default:r.hasOwnProperty(c)||_t(t,e,c,null,r,A)}for(u in r)if(c=r[u],A=a[u],r.hasOwnProperty(u)&&(c!=null||A!=null))switch(u){case"value":B=c;break;case"defaultValue":b=c;break;case"multiple":g=c;default:c!==A&&_t(t,e,u,c,r,A)}e=b,a=g,r=k,B!=null?aa(t,!!a,B,!1):!!r!=!!a&&(e!=null?aa(t,!!a,e,!0):aa(t,!!a,a?[]:"",!1));return;case"textarea":k=B=null;for(b in a)if(u=a[b],a.hasOwnProperty(b)&&u!=null&&!r.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:_t(t,e,b,null,r,u)}for(g in r)if(u=r[g],c=a[g],r.hasOwnProperty(g)&&(u!=null||c!=null))switch(g){case"value":B=u;break;case"defaultValue":k=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==c&&_t(t,e,g,u,r,c)}Ch(t,B,k);return;case"option":for(var tt in a)if(B=a[tt],a.hasOwnProperty(tt)&&B!=null&&!r.hasOwnProperty(tt))switch(tt){case"selected":t.selected=!1;break;default:_t(t,e,tt,null,r,B)}for(A in r)if(B=r[A],k=a[A],r.hasOwnProperty(A)&&B!==k&&(B!=null||k!=null))switch(A){case"selected":t.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:_t(t,e,A,B,r,k)}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 lt in a)B=a[lt],a.hasOwnProperty(lt)&&B!=null&&!r.hasOwnProperty(lt)&&_t(t,e,lt,null,r,B);for(L in r)if(B=r[L],k=a[L],r.hasOwnProperty(L)&&B!==k&&(B!=null||k!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,e));break;default:_t(t,e,L,B,r,k)}return;default:if(Gl(e)){for(var zt in a)B=a[zt],a.hasOwnProperty(zt)&&B!==void 0&&!r.hasOwnProperty(zt)&&Oc(t,e,zt,void 0,r,B);for(X in r)B=r[X],k=a[X],!r.hasOwnProperty(X)||B===k||B===void 0&&k===void 0||Oc(t,e,X,B,r,k);return}}for(var R in a)B=a[R],a.hasOwnProperty(R)&&B!=null&&!r.hasOwnProperty(R)&&_t(t,e,R,null,r,B);for(F in r)B=r[F],k=a[F],!r.hasOwnProperty(F)||B===k||B==null&&k==null||_t(t,e,F,B,r,k)}function Ry(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function UT(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),r=0;r<a.length;r++){var u=a[r],c=u.transferSize,g=u.initiatorType,b=u.duration;if(c&&b&&Ry(g)){for(g=0,b=u.responseEnd,r+=1;r<a.length;r++){var A=a[r],L=A.startTime;if(L>b)break;var X=A.transferSize,F=A.initiatorType;X&&Ry(F)&&(A=A.responseEnd,g+=X*(A<b?1:(b-L)/(A-L)))}if(--r,e+=8*(c+g)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Rc=null,Nc=null;function Mo(t){return t.nodeType===9?t:t.ownerDocument}function Ny(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function jy(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function jc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var _c=null;function BT(){var t=window.event;return t&&t.type==="popstate"?t===_c?!1:(_c=t,!0):(_c=null,!1)}var _y=typeof setTimeout=="function"?setTimeout:void 0,PT=typeof clearTimeout=="function"?clearTimeout:void 0,zy=typeof Promise=="function"?Promise:void 0,HT=typeof queueMicrotask=="function"?queueMicrotask:typeof zy<"u"?function(t){return zy.resolve(null).then(t).catch(kT)}:_y;function kT(t){setTimeout(function(){throw t})}function ui(t){return t==="head"}function Ly(t,e){var a=e,r=0;do{var u=a.nextSibling;if(t.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"||a==="/&"){if(r===0){t.removeChild(u),Va(e);return}r--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")r++;else if(a==="html")qs(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,qs(a);for(var c=a.firstChild;c;){var g=c.nextSibling,b=c.nodeName;c[rs]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=g}}else a==="body"&&qs(t.ownerDocument.body);a=u}while(a);Va(e)}function Vy(t,e){var a=t;t=0;do{var r=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),r&&r.nodeType===8)if(a=r.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=r}while(a)}function zc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":zc(a),Pl(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function qT(t,e,a,r){for(;t.nodeType===1;){var u=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!r&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(r){if(!t[rs])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;
vendor: 10,643 bytes, line 49
49if(t=Ke(t.nextSibling),t===null)break}return null}function GT(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Ke(t.nextSibling),t===null))return null;return t}function Uy(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ke(t.nextSibling),t===null))return null;return t}function Lc(t){return t.data==="$?"||t.data==="$~"}function Vc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function YT(t,e){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||a.readyState!=="loading")e();else{var r=function(){e(),a.removeEventListener("DOMContentLoaded",r)};a.addEventListener("DOMContentLoaded",r),t._reactRetry=r}}function Ke(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Uc=null;function By(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Ke(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function Py(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(e===0)return t;e--}else a!=="/$"&&a!=="/&"||e++}t=t.previousSibling}return null}function Hy(t,e,a){switch(e=Mo(a),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function qs(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Pl(t)}var Qe=new Map,ky=new Set;function Do(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Bn=Y.d;Y.d={f:XT,r:KT,D:QT,C:FT,L:ZT,m:$T,X:WT,S:JT,M:IT};function XT(){var t=Bn.f(),e=bo();return t||e}function KT(t){var e=ea(t);e!==null&&e.tag===5&&e.type==="form"?ap(e):Bn.r(t)}var _a=typeof document>"u"?null:document;function qy(t,e,a){var r=_a;if(r&&typeof e=="string"&&e){var u=Pe(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),ky.has(u)||(ky.add(u),t={rel:t,crossOrigin:a,href:e},r.querySelector(u)===null&&(e=r.createElement("link"),oe(e,"link",t),ee(e),r.head.appendChild(e)))}}function QT(t){Bn.D(t),qy("dns-prefetch",t,null)}function FT(t,e){Bn.C(t,e),qy("preconnect",t,e)}function ZT(t,e,a){Bn.L(t,e,a);var r=_a;if(r&&t&&e){var u='link[rel="preload"][as="'+Pe(e)+'"]';e==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+Pe(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+Pe(a.imageSizes)+'"]')):u+='[href="'+Pe(t)+'"]';var c=u;switch(e){case"style":c=za(t);break;case"script":c=La(t)}Qe.has(c)||(t=v({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Qe.set(c,t),r.querySelector(u)!==null||e==="style"&&r.querySelector(Gs(c))||e==="script"&&r.querySelector(Ys(c))||(e=r.createElement("link"),oe(e,"link",t),ee(e),r.head.appendChild(e)))}}function $T(t,e){Bn.m(t,e);var a=_a;if(a&&t){var r=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Pe(r)+'"][href="'+Pe(t)+'"]',c=u;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=La(t)}if(!Qe.has(c)&&(t=v({rel:"modulepreload",href:t},e),Qe.set(c,t),a.querySelector(u)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ys(c)))return}r=a.createElement("link"),oe(r,"link",t),ee(r),a.head.appendChild(r)}}}function JT(t,e,a){Bn.S(t,e,a);var r=_a;if(r&&t){var u=na(r).hoistableStyles,c=za(t);e=e||"default";var g=u.get(c);if(!g){var b={loading:0,preload:null};if(g=r.querySelector(Gs(c)))b.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Qe.get(c))&&Bc(t,a);var A=g=r.createElement("link");ee(A),oe(A,"link",t),A._p=new Promise(function(L,X){A.onload=L,A.onerror=X}),A.addEventListener("load",function(){b.loading|=1}),A.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Oo(g,e,r)}g={type:"stylesheet",instance:g,count:1,state:b},u.set(c,g)}}}function WT(t,e){Bn.X(t,e);var a=_a;if(a&&t){var r=na(a).hoistableScripts,u=La(t),c=r.get(u);c||(c=a.querySelector(Ys(u)),c||(t=v({src:t,async:!0},e),(e=Qe.get(u))&&Pc(t,e),c=a.createElement("script"),ee(c),oe(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},r.set(u,c))}}function IT(t,e){Bn.M(t,e);var a=_a;if(a&&t){var r=na(a).hoistableScripts,u=La(t),c=r.get(u);c||(c=a.querySelector(Ys(u)),c||(t=v({src:t,async:!0,type:"module"},e),(e=Qe.get(u))&&Pc(t,e),c=a.createElement("script"),ee(c),oe(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},r.set(u,c))}}function Gy(t,e,a,r){var u=(u=yt.current)?Do(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=za(a.href),a=na(u).hoistableStyles,r=a.get(e),r||(r={type:"style",instance:null,count:0,state:null},a.set(e,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=za(a.href);var c=na(u).hoistableStyles,g=c.get(t);if(g||(u=u.ownerDocument||u,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,g),(c=u.querySelector(Gs(t)))&&!c._p&&(g.instance=c,g.state.loading=5),Qe.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Qe.set(t,a),c||tE(u,t,a,g.state))),e&&r===null)throw Error(o(528,""));return g}if(e&&r!==null)throw Error(o(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=La(a),a=na(u).hoistableScripts,r=a.get(e),r||(r={type:"script",instance:null,count:0,state:null},a.set(e,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function za(t){return'href="'+Pe(t)+'"'}function Gs(t){return'link[rel="stylesheet"]['+t+"]"}function Yy(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function tE(t,e,a,r){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?r.loading=1:(e=t.createElement("link"),r.preload=e,e.addEventListener("load",function(){return r.loading|=1}),e.addEventListener("error",function(){return r.loading|=2}),oe(e,"link",a),ee(e),t.head.appendChild(e))}function La(t){return'[src="'+Pe(t)+'"]'}function Ys(t){return"script[async]"+t}function Xy(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var r=t.querySelector('style[data-href~="'+Pe(a.href)+'"]');if(r)return e.instance=r,ee(r),r;var u=v({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return r=(t.ownerDocument||t).createElement("style"),ee(r),oe(r,"style",u),Oo(r,a.precedence,t),e.instance=r;case"stylesheet":u=za(a.href);var c=t.querySelector(Gs(u));if(c)return e.state.loading|=4,e.instance=c,ee(c),c;r=Yy(a),(u=Qe.get(u))&&Bc(r,u),c=(t.ownerDocument||t).createElement("link"),ee(c);var g=c;return g._p=new Promise(function(b,A){g.onload=b,g.onerror=A}),oe(c,"link",r),e.state.loading|=4,Oo(c,a.precedence,t),e.instance=c;case"script":return c=La(a.src),(u=t.querySelector(Ys(c)))?(e.instance=u,ee(u),u):(r=a,(u=Qe.get(c))&&(r=v({},a),Pc(r,u)),t=t.ownerDocument||t,u=t.createElement("script"),ee(u),oe(u,"link",r),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(r=e.instance,e.state.loading|=4,Oo(r,a.precedence,t));return e.instance}function Oo(t,e,a){for(var r=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=r.length?r[r.length-1]:null,c=u,g=0;g<r.length;g++){var b=r[g];if(b.dataset.precedence===e)c=b;else if(c!==u)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Bc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Pc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ro=null;function Ky(t,e,a){if(Ro===null){var r=new Map,u=Ro=new Map;u.set(a,r)}else u=Ro,r=u.get(a),r||(r=new Map,u.set(a,r));if(r.has(t))return r;for(r.set(t,null),a=a.getElementsByTagName(t),u=0;u<a.length;u++){var c=a[u];if(!(c[rs]||c[ie]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var g=c.getAttribute(e)||"";g=t+g;var b=r.get(g);b?b.push(c):r.set(g,[c])}}return r}function Qy(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function eE(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Fy(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function nE(t,e,a,r){if(a.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var u=za(r.href),c=e.querySelector(Gs(u));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=No.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=c,ee(c);return}c=e.ownerDocument||e,r=Yy(r),(u=Qe.get(u))&&Bc(r,u),c=c.createElement("link"),ee(c);var g=c;g._p=new Promise(function(b,A){g.onload=b,g.onerror=A}),oe(c,"link",r),a.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=No.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Hc=0;function iE(t,e){return t.stylesheets&&t.count===0&&_o(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var r=setTimeout(function(){if(t.stylesheets&&_o(t,t.stylesheets),t.unsuspend){var c=t.unsu
vendor: 10,505 bytes, line 49
49spend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&Hc===0&&(Hc=62500*UT());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&_o(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>Hc?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(r),clearTimeout(u)}}:null}function No(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)_o(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var jo=null;function _o(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,jo=new Map,e.forEach(aE,t),jo=null,No.call(t))}function aE(t,e){if(!(e.state.loading&4)){var a=jo.get(t);if(a)var r=a.get(null);else{a=new Map,jo.set(t,a);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<u.length;c++){var g=u[c];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(a.set(g.dataset.precedence,g),r=g)}r&&a.set(null,r)}u=e.instance,g=u.getAttribute("data-precedence"),c=a.get(g)||r,c===r&&a.set(null,u),a.set(g,u),this.count++,r=No.bind(this),u.addEventListener("load",r),u.addEventListener("error",r),c?c.parentNode.insertBefore(u,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var Xs={$$typeof:j,Provider:null,Consumer:null,_currentValue:H,_currentValue2:H,_threadCount:0};function sE(t,e,a,r,u,c,g,b,A){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ll(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ll(0),this.hiddenUpdates=Ll(null),this.identifierPrefix=r,this.onUncaughtError=u,this.onCaughtError=c,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Zy(t,e,a,r,u,c,g,b,A,L,X,F){return t=new sE(t,e,a,g,A,L,X,F,b),e=1,c===!0&&(e|=24),c=De(3,null,null,e),t.current=c,c.stateNode=t,e=bu(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:r,isDehydrated:a,cache:e},Eu(c),t}function $y(t){return t?(t=da,t):da}function Jy(t,e,a,r,u,c){u=$y(u),r.context===null?r.context=u:r.pendingContext=u,r=Wn(e),r.payload={element:a},c=c===void 0?null:c,c!==null&&(r.callback=c),a=In(t,r,e),a!==null&&(xe(a,t,e),Es(a,t,e))}function Wy(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function kc(t,e){Wy(t,e),(t=t.alternate)&&Wy(t,e)}function Iy(t){if(t.tag===13||t.tag===31){var e=ji(t,67108864);e!==null&&xe(e,t,67108864),kc(t,67108864)}}function tg(t){if(t.tag===13||t.tag===31){var e=_e();e=Vl(e);var a=ji(t,e);a!==null&&xe(a,t,e),kc(t,e)}}var zo=!0;function rE(t,e,a,r){var u=_.T;_.T=null;var c=Y.p;try{Y.p=2,qc(t,e,a,r)}finally{Y.p=c,_.T=u}}function oE(t,e,a,r){var u=_.T;_.T=null;var c=Y.p;try{Y.p=8,qc(t,e,a,r)}finally{Y.p=c,_.T=u}}function qc(t,e,a,r){if(zo){var u=Gc(r);if(u===null)Dc(t,e,r,Lo,a),ng(t,r);else if(uE(u,t,e,a,r))r.stopPropagation();else if(ng(t,r),e&4&&-1<lE.indexOf(t)){for(;u!==null;){var c=ea(u);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var g=Mi(c.pendingLanes);if(g!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;g;){var A=1<<31-Ce(g);b.entanglements[1]|=A,g&=~A}dn(c),(Dt&6)===0&&(go=we()+500,Ps(0))}}break;case 31:case 13:b=ji(c,2),b!==null&&xe(b,c,2),bo(),kc(c,2)}if(c=Gc(r),c===null&&Dc(t,e,r,Lo,a),c===u)break;u=c}u!==null&&r.stopPropagation()}else Dc(t,e,r,null,a)}}function Gc(t){return t=Xl(t),Yc(t)}var Lo=null;function Yc(t){if(Lo=null,t=ta(t),t!==null){var e=f(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=d(e),t!==null)return t;t=null}else if(a===31){if(t=h(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Lo=t,null}function eg(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(QS()){case uh:return 2;case ch:return 8;case Er:case FS:return 32;case fh:return 268435456;default:return 32}default:return 32}}var Xc=!1,ci=null,fi=null,di=null,Ks=new Map,Qs=new Map,hi=[],lE="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 ng(t,e){switch(t){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":fi=null;break;case"mouseover":case"mouseout":di=null;break;case"pointerover":case"pointerout":Ks.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qs.delete(e.pointerId)}}function Fs(t,e,a,r,u,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:a,eventSystemFlags:r,nativeEvent:c,targetContainers:[u]},e!==null&&(e=ea(e),e!==null&&Iy(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function uE(t,e,a,r,u){switch(e){case"focusin":return ci=Fs(ci,t,e,a,r,u),!0;case"dragenter":return fi=Fs(fi,t,e,a,r,u),!0;case"mouseover":return di=Fs(di,t,e,a,r,u),!0;case"pointerover":var c=u.pointerId;return Ks.set(c,Fs(Ks.get(c)||null,t,e,a,r,u)),!0;case"gotpointercapture":return c=u.pointerId,Qs.set(c,Fs(Qs.get(c)||null,t,e,a,r,u)),!0}return!1}function ig(t){var e=ta(t.target);if(e!==null){var a=f(e);if(a!==null){if(e=a.tag,e===13){if(e=d(a),e!==null){t.blockedOn=e,gh(t.priority,function(){tg(a)});return}}else if(e===31){if(e=h(a),e!==null){t.blockedOn=e,gh(t.priority,function(){tg(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Vo(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Gc(t.nativeEvent);if(a===null){a=t.nativeEvent;var r=new a.constructor(a.type,a);Yl=r,a.target.dispatchEvent(r),Yl=null}else return e=ea(a),e!==null&&Iy(e),t.blockedOn=a,!1;e.shift()}return!0}function ag(t,e,a){Vo(t)&&a.delete(e)}function cE(){Xc=!1,ci!==null&&Vo(ci)&&(ci=null),fi!==null&&Vo(fi)&&(fi=null),di!==null&&Vo(di)&&(di=null),Ks.forEach(ag),Qs.forEach(ag)}function Uo(t,e){t.blockedOn===e&&(t.blockedOn=null,Xc||(Xc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,cE)))}var Bo=null;function sg(t){Bo!==t&&(Bo=t,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Bo===t&&(Bo=null);for(var e=0;e<t.length;e+=3){var a=t[e],r=t[e+1],u=t[e+2];if(typeof r!="function"){if(Yc(r||a)===null)continue;break}var c=ea(a);c!==null&&(t.splice(e,3),e-=3,Gu(c,{pending:!0,data:u,method:a.method,action:r},r,u))}}))}function Va(t){function e(A){return Uo(A,t)}ci!==null&&Uo(ci,t),fi!==null&&Uo(fi,t),di!==null&&Uo(di,t),Ks.forEach(e),Qs.forEach(e);for(var a=0;a<hi.length;a++){var r=hi[a];r.blockedOn===t&&(r.blockedOn=null)}for(;0<hi.length&&(a=hi[0],a.blockedOn===null);)ig(a),a.blockedOn===null&&hi.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(r=0;r<a.length;r+=3){var u=a[r],c=a[r+1],g=u[me]||null;if(typeof c=="function")g||sg(a);else if(g){var b=null;if(c&&c.hasAttribute("formAction")){if(u=c,g=c[me]||null)b=g.formAction;else if(Yc(u)!==null)continue}else b=g.action;typeof b=="function"?a[r+1]=b:(a.splice(r,3),r-=3),sg(a)}}}function rg(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(g){return u=g})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),r||setTimeout(a,20)}function a(){if(!r&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){r=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function Kc(t){this._internalRoot=t}Po.prototype.render=Kc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var a=e.current,r=_e();Jy(a,r,t,e,null,null)},Po.prototype.unmount=Kc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Jy(t.current,2,null,t,null,null),bo(),e[Ii]=null}};function Po(t){this._internalRoot=t}Po.prototype.unstable_scheduleHydration=function(t){if(t){var e=yh();t={blockedOn:null,target:t,priority:e};for(var a=0;a<hi.length&&e!==0&&e<hi[a].priority;a++);hi.splice(a,0,t),a===0&&ig(t)}};var og=i.version;if(og!=="19.2.0")throw Error(o(527,og,"19.2.0"));Y.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=m(e),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var fE={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.0"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ho=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ho.isDisabled&&Ho.supportsFiber)try{is=Ho.inject(fE),Ae=Ho}catch{}}return $s.createRoot=function(t,e){if(!l(t))throw Error(o(299));var a=!1,r="",u=mp,c=pp,g=yp;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(r=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(g=e.onRecoverableError)),e=Zy(t,1,!1,null,null,a,r,null,u,c,g,rg),t[Ii]=e.current,Mc(t),new Kc(e)},$s.hydrateRoot=function(t,e,a){if(!l(t))throw Error(o(299));var r=!1,u="",c=mp,g=pp,b=yp,A=null;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.formState!==void 0&&(A=a.formState)),e=Zy(t,1,!0,e,a??null,r,u,A,c,g,b,rg),e.context=$y(null),a=e.current,r=_e(),r=Vl(r),u=Wn(r),u.callback=null,In(a,u,r),a=r,e.current.lanes=a,ss(e,a),dn(e),t[Ii]=e.current,Mc(t),new Po(e)},$s.version="19.2.0",$s}var gg;function SE(){if(gg)return Fc.exports;gg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Fc.exports=xE(),Fc.exports}var TE=SE();function EE(n,i){if(n instanceof RegExp)return{keys:!1,pattern:n};var s,o,l,f,d=[],h="",p=n.split("/");for(p[0]||p.shift();l=p.shift();)s=l[0],s==="*"?(d.push(s),h+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):s===":"?(o=l.indexOf("?",1),f=l.indexOf(".",1),d.push(l.substring(1,~o?o:~f?f:l.length)),h+=~o&&!~f?"(?:/([^/]+?))?":"/([^/]+?)",~f&&(h+=(~o?"?":"")+"\\"+l.substring(f))):h+="/"+l;return{keys:d,pattern:new RegExp("^"+h+(i?"(?=$|/)":"/?$"),"i")}}var S=ml();const yi=y0(S),wE=hE({__proto__:null,default:yi},[S]);var Ic={exports:{}},tf={};/**
50 * @license React
51 * use-sync-external-store-shim.production.js
52 *
53 * Copyright (c) Meta Platforms, Inc. and affiliates.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE file in the root directory of this source tree.
57 */var vg;function AE(){if(vg)return tf;vg=1;var n=ml();function i(v,x){return v===x&&(v!==0||1/v===1/x)||v!==v&&x!==x}var s=typeof Object.is=="function"?Object.is:i,o=n.useState,l=n.useEffect,f=n.useLayoutEffect,d=n.useDebugValue;function h(v,x){var T=x(),C=o({inst:{value:T,getSnapshot:x}}),w=C[0].inst,M=C[1];return f(function(){w.value=T,w.getSnapshot=x,p(w)&&M({inst:w})},[v,T,x]),l(function(){return p(w)&&M({inst:w}),v(function(){p(w)&&M({inst:w})})},[v]),d(T),T}function p(v){var x=v.getSnapshot;v=v.value;try{var T=x();return!s(v,T)}catch{return!0}}function m(v,x){return x()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?m:h;return tf.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:y,tf}var bg;function CE(){return bg||(bg=1,Ic.exports=AE()),Ic.exports}var ME=CE();const DE=wE.useInsertionEffect,OE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RE=OE?S.useLayoutEffect:S.useEffect,NE=DE||RE,v0=n=>{const i=S.useRef([n,(...s)=>i[0](...s)]).current;return NE(()=>{i[0]=n}),i[1]},jE="popstate",ud="pushState",cd="replaceState",_E="hashchange",xg=[jE,ud,cd,_E],zE=n=>{for(const i of xg)addEventListener(i,n);return()=>{for(const i of xg)removeEventListener(i,n)}},b0=(n,i)=>ME.useSyncExternalStore(zE,n,i),LE=()=>location.search,VE=({ssrSearch:n=""}={})=>b0(LE,()=>n),Sg=()=>location.pathname,UE=({ssrPath:n}={})=>b0(Sg,n?()=>n:Sg),BE=(n,{replace:i=!1,state:s=null}={})=>history[i?cd:ud](s,"",n),PE=(n={})=>[UE(n),BE],Tg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Tg]>"u"){for(const n of[ud,cd]){const i=history[n];history[n]=function(){const s=i.apply(this,arguments),o=new Event(n);return o.arguments=arguments,dispatchEvent(o),s}}Object.defineProperty(window,Tg,{value:!0})}const HE=(n,i)=>i.toLowerCase().indexOf(n.toLowerCase())?"~"+i:i.slice(n.length)||"/",x0=(n="")=>n==="/"?"":n,kE=(n,i)=>n[0]==="~"?n.slice(1):x0(i)+n,qE=(n="",i)=>HE(Eg(x0(n)),Eg(i)),Eg=n=>{try{return decodeURI(n)}catch{return n}},S0={hook:PE,searchHook:VE,parser:EE,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:n=>n},T0=S.createContext(S0),pl=()=>S.useContext(T0),E0={},w0=S.createContext(E0),GE=()=>S.useContext(w0),fd=n=>{const[i,s]=n.hook(n);return[qE(n.base,i),v0((o,l)=>s(kE(o,n.base),l))]},A0=(n,i,s,o)=>{const{pattern:l,keys:f}=i instanceof RegExp?{keys:!1,pattern:i}:n(i||"*",o),d=l.exec(s)||[],[h,...p]=d;return h!==void 0?[!0,(()=>{const m=f!==!1?Object.fromEntries(f.map((v,x)=>[v,p[x]])):d.groups;let y={...p};return m&&Object.assign(y,m),y})(),...o?[h]:[]]:[!1,null]},YE=({children:n,...i})=>{const s=pl(),o=i.hook?S0:s;let l=o;const[f,d]=i.ssrPath?.split("?")??[];d&&(i.ssrSearch=d,i.ssrPath=f),i.hrefs=i.hrefs??i.hook?.hrefs;let h=S.useRef({}),p=h.current,m=p;for(let y in o){const v=y==="base"?o[y]+(i[y]||""):i[y]||o[y];p===m&&v!==m[y]&&(h.current=m={...m}),m[y]=v,v!==o[y]&&(l=m)}return S.createElement(T0.Provider,{value:l,children:n})},wg=({children:n,component:i},s)=>i?S.createElement(i,{params:s}):typeof n=="function"?n(s):n,XE=n=>
57{let i=S.useRef(E0),s=i.current;for(const o in n)n[o]!==s[o]&&(s=n);return Object.keys(n).length===0&&(s=n),i.current=s},ef=({path:n,nest:i,match:s,...o})=>{const l=pl(),[f]=fd(l),[d,h,p]=s??A0(l.parser,n,f,i),m=XE({...GE(),...h});if(!d)return null;const y=p?S.createElement(YE,{base:p},wg(o,m)):wg(o,m);return S.createElement(w0.Provider,{value:m,children:y})},KE=S.forwardRef((n,i)=>{const s=pl(),[o,l]=fd(s),{to:f="",href:d=f,onClick:h,asChild:p,children:m,className:y,replace:v,state:x,...T}=n,C=v0(M=>{M.ctrlKey||M.metaKey||M.altKey||M.shiftKey||M.button!==0||(h?.(M),M.defaultPrevented||(M.preventDefault(),l(d,n)))}),w=s.hrefs(d[0]==="~"?d.slice(1):s.base+d,s);return p&&S.isValidElement(m)?S.cloneElement(m,{onClick:C,href:w}):S.createElement("a",{...T,onClick:C,href:w,className:y?.call?y(o===d):y,children:m,ref:i})}),C0=n=>Array.isArray(n)?n.flatMap(i=>C0(i&&i.type===S.Fragment?i.props.children:i)):[n],QE=({children:n,location:i})=>{const s=pl(),[o]=fd(s);for(const l of C0(n)){let f=0;if(S.isValidElement(l)&&(f=A0(s.parser,l.props.path,i||o,l.props.nest))[0])return S.cloneElement(l,{match:f})}return null};var yl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gl=typeof window>"u"||"Deno"in globalThis;function an(){}function FE(n,i){return typeof n=="function"?n(i):n}function ZE(n){return typeof n=="number"&&n>=0&&n!==1/0}function $E(n,i){return Math.max(n+(i||0)-Date.now(),0)}function Ag(n,i){return typeof n=="function"?n(i):n}function JE(n,i){return typeof n=="function"?n(i):n}function Cg(n,i){const{type:s="all",exact:o,fetchStatus:l,predicate:f,queryKey:d,stale:h}=n;if(d){if(o){if(i.queryHash!==dd(d,i.options))return!1}else if(!or(i.queryKey,d))return!1}if(s!=="all"){const p=i.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof h=="boolean"&&i.isStale()!==h||l&&l!==i.state.fetchStatus||f&&!f(i))}function Mg(n,i){const{exact:s,status:o,predicate:l,mutationKey:f}=n;if(f){if(!i.options.mutationKey)return!1;if(s){if(rr(i.options.mutationKey)!==rr(f))return!1}else if(!or(i.options.mutationKey,f))return!1}return!(o&&i.state.status!==o||l&&!l(i))}function dd(n,i){return(i?.queryKeyHashFn||rr)(n)}function rr(n){return JSON.stringify(n,(i,s)=>Df(s)?Object.keys(s).sort().reduce((o,l)=>(o[l]=s[l],o),{}):s)}function or(n,i){return n===i?!0:typeof n!=typeof i?!1:n&&i&&typeof n=="object"&&typeof i=="object"?!Object.keys(i).some(s=>!or(n[s],i[s])):!1}function M0(n,i){if(n===i)return n;const s=Dg(n)&&Dg(i);if(s||Df(n)&&Df(i)){const o=s?n:Object.keys(n),l=o.length,f=s?i:Object.keys(i),d=f.length,h=s?[]:{};let p=0;for(let m=0;m<d;m++){const y=s?m:f[m];(!s&&o.includes(y)||s)&&n[y]===void 0&&i[y]===void 0?(h[y]=void 0,p++):(h[y]=M0(n[y],i[y]),h[y]===n[y]&&n[y]!==void 0&&p++)}return l===d&&p===l?n:h}return i}function Dg(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function Df(n){if(!Og(n))return!1;const i=n.constructor;if(i===void 0)return!0;const s=i.prototype;return!(!Og(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function Og(n){return Object.prototype.toString.call(n)==="[object Object]"}function WE(n){return new Promise(i=>{setTimeout(i,n)})}function IE(n,i,s){return typeof s.structuralSharing=="function"?s.structuralSharing(n,i):s.structuralSharing!==!1?M0(n,i):i}function tw(n,i,s=0){const o=[...n,i];return s&&o.length>s?o.slice(1):o}function ew(n,i,s=0){const o=[i,...n];return s&&o.length>s?o.slice(0,-1):o}var hd=Symbol();function D0(n,i){return!n.queryFn&&i?.initialPromise?()=>i.initialPromise:!n.queryFn||n.queryFn===hd?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}var nw=class extends yl{#t;#e;#n;constructor(){super(),this.#n=n=>{if(!gl&&window.addEventListener){const i=()=>n();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(n){this.#t!==n&&(this.#t=n,this.onFocus())}onFocus(){const n=this.isFocused();
vendor: 18,225 bytes, line 57
57this.listeners.forEach(i=>{i(n)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},O0=new nw,iw=class extends yl{#t=!0;#e;#n;constructor(){super(),this.#n=n=>{if(!gl&&window.addEventListener){const i=()=>n(!0),s=()=>n(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(this.setOnline.bind(this))}setOnline(n){this.#t!==n&&(this.#t=n,this.listeners.forEach(s=>{s(n)}))}isOnline(){return this.#t}},al=new iw;function aw(){let n,i;const s=new Promise((l,f)=>{n=l,i=f});s.status="pending",s.catch(()=>{});function o(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{o({status:"fulfilled",value:l}),n(l)},s.reject=l=>{o({status:"rejected",reason:l}),i(l)},s}function sw(n){return Math.min(1e3*2**n,3e4)}function R0(n){return(n??"online")==="online"?al.isOnline():!0}var N0=class extends Error{constructor(n){super("CancelledError"),this.revert=n?.revert,this.silent=n?.silent}};function nf(n){return n instanceof N0}function j0(n){let i=!1,s=0,o=!1,l;const f=aw(),d=w=>{o||(x(new N0(w)),n.abort?.())},h=()=>{i=!0},p=()=>{i=!1},m=()=>O0.isFocused()&&(n.networkMode==="always"||al.isOnline())&&n.canRun(),y=()=>R0(n.networkMode)&&n.canRun(),v=w=>{o||(o=!0,n.onSuccess?.(w),l?.(),f.resolve(w))},x=w=>{o||(o=!0,n.onError?.(w),l?.(),f.reject(w))},T=()=>new Promise(w=>{l=M=>{(o||m())&&w(M)},n.onPause?.()}).then(()=>{l=void 0,o||n.onContinue?.()}),C=()=>{if(o)return;let w;const M=s===0?n.initialPromise:void 0;try{w=M??n.fn()}catch(N){w=Promise.reject(N)}Promise.resolve(w).then(v).catch(N=>{if(o)return;const U=n.retry??(gl?0:3),j=n.retryDelay??sw,q=typeof j=="function"?j(s,N):j,G=U===!0||typeof U=="number"&&s<U||typeof U=="function"&&U(s,N);if(i||!G){x(N);return}s++,n.onFail?.(s,N),WE(q).then(()=>m()?void 0:T()).then(()=>{i?x(N):C()})})};return{promise:f,cancel:d,continue:()=>(l?.(),f),cancelRetry:h,continueRetry:p,canStart:y,start:()=>(y()?C():T().then(C),f)}}function rw(){let n=[],i=0,s=h=>{h()},o=h=>{h()},l=h=>setTimeout(h,0);const f=h=>{i?n.push(h):l(()=>{s(h)})},d=()=>{const h=n;n=[],h.length&&l(()=>{o(()=>{h.forEach(p=>{s(p)})})})};return{batch:h=>{let p;i++;try{p=h()}finally{i--,i||d()}return p},batchCalls:h=>(...p)=>{f(()=>{h(...p)})},schedule:f,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{o=h},setScheduler:h=>{l=h}}}var de=rw(),_0=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ZE(this.gcTime)&&(this.#t=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(gl?1/0:300*1e3))}clearGcTimeout(){this.#t&&(clearTimeout(this.#t),this.#t=void 0)}},ow=class extends _0{#t;#e;#n;#i;#r;#s;constructor(n){super(),this.#s=!1,this.#r=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.#n=n.cache,this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.#t=uw(this.options),this.state=n.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(n){this.options={...this.#r,...n},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(n,i){const s=IE(this.state.data,n,this.options);return this.#a({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(n,i){this.#a({type:"setState",state:n,setStateOptions:i})}cancel(n){const i=this.#i?.promise;return this.#i?.cancel(n),i?i.then(an).catch(an):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(n=>JE(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===hd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(n=0){return this.state.isInvalidated||this.state.data===void 0||!$E(this.state.dataUpdatedAt,n)}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(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(i=>i!==n),this.observers.length||(this.#i&&(this.#s?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}fetch(n,i){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(n&&this.setOptions(n),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const s=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#s=!0,s.signal)})},l=()=>{const h=D0(this.options,i),p={queryKey:this.queryKey,meta:this.meta};return o(p),this.#s=!1,this.options.persister?this.options.persister(h,p,this):h(p)},f={fetchOptions:i,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};o(f),this.options.behavior?.onFetch(f,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#a({type:"fetch",meta:f.fetchOptions?.meta});const d=h=>{nf(h)&&h.silent||this.#a({type:"error",error:h}),nf(h)||(this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this)),this.scheduleGc()};return this.#i=j0({initialPromise:i?.initialPromise,fn:f.fetchFn,abort:s.abort.bind(s),onSuccess:h=>{if(h===void 0){d(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(p){d(p);return}this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),this.scheduleGc()},onError:d,onFail:(h,p)=>{this.#a({type:"failed",failureCount:h,error:p})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0}),this.#i.start()}#a(n){const i=s=>{switch(n.type){case"failed":return{...s,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...lw(s.data,this.options),fetchMeta:n.meta??null};case"success":return{...s,data:n.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:n.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=n.error;return nf(o)&&o.revert&&this.#e?{...this.#e,fetchStatus:"idle"}:{...s,error:o,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...n.state}}};this.state=i(this.state),de.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:n})})}};function lw(n,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R0(i.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function uw(n){const i=typeof n.initialData=="function"?n.initialData():n.initialData,s=i!==void 0,o=s?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var cw=class extends yl{constructor(n={}){super(),this.config=n,this.#t=new Map}#t;build(n,i,s){const o=i.queryKey,l=i.queryHash??dd(o,i);let f=this.get(l);return f||(f=new ow({cache:this,queryKey:o,queryHash:l,options:n.defaultQueryOptions(i),state:s,defaultOptions:n.getQueryDefaults(o)}),this.add(f)),f}add(n){this.#t.has(n.queryHash)||(this.#t.set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const i=this.#t.get(n.queryHash);i&&(n.destroy(),i===n&&this.#t.delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){de.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return this.#t.get(n)}getAll(){return[...this.#t.values()]}find(n){const i={exact:!0,...n};return this.getAll().find(s=>Cg(i,s))}findAll(n={}){const i=this.getAll();return Object.keys(n).length>0?i.filter(s=>Cg(n,s)):i}notify(n){de.batch(()=>{this.listeners.forEach(i=>{i(n)})})}onFocus(){de.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){de.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},fw=class extends _0{#t;#e;#n;constructor(n){super(),this.mutationId=n.mutationId,this.#e=n.mutationCache,this.#t=[],this.state=n.state||dw(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){this.#t.includes(n)||(this.#t.push(n),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.#t=this.#t.filter(i=>i!==n),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#e.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(n){this.#n=j0({fn:()=>this.options.mutationFn?this.options.mutationFn(n):Promise.reject(new Error("No mutationFn found")),onFail:(o,l)=>{this.#i({type:"failed",failureCount:o,error:l})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});const i=this.state.status==="pending",s=!this.#n.canStart();try{if(!i){this.#i({type:"pending",variables:n,isPaused:s}),await this.#e.config.onMutate?.(n,this);const l=await this.options.onMutate?.(n);l!==this.state.context&&this.#i({type:"pending",context:l,variables:n,isPaused:s})}const o=await this.#n.start();return await this.#e.config.onSuccess?.(o,n,this.state.context,this),await this.options.onSuccess?.(o,n,this.state.context),await this.#e.config.onSettled?.(o,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(o,null,n,this.state.context),this.#i({type:"success",data:o}),o}catch(o){try{throw await this.#e.config.onError?.(o,n,this.state.context,this),await this.options.onError?.(o,n,this.state.context),await this.#e.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,o,n,this.state.context),o}finally{this.#i({type:"error",error:o})}}finally{this.#e.runNext(this)}}#i(n){const i=s=>{switch(n.type){case"failed":return{...s,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...s,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:n.error,failureCount:s.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=i(this.state),de.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(n)}),this.#e.notify({mutation:this,type:"updated",action:n})})}};function dw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hw=class extends yl{constructor(n={}){super(),this.config=n,this.#t=new Map,this.#e=Date.now()}#t;#e;build(n,i,s){const o=new fw({mutationCache:this,mutationId:++this.#e,options:n.defaultMutationOptions(i),state:s});return this.add(o),o}add(n){const i=ko(n),s=this.#t.get(i)??[];s.push(n),this.#t.set(i,s),this.notify({type:"added",mutation:n})}remove(n){const i=ko(n);if(this.#t.has(i)){const s=this.#t.get(i)?.filter(o=>o!==n);s&&(s.length===0?this.#t.delete(i):this.#t.set(i,s))}this.notify({type:"removed",mutation:n})}canRun(n){const i=this.#t.get(ko(n))?.find(s=>s.state.status==="pending");return!i||i===n}runNext(n){return this.#t.get(ko(n))?.find(s=>s!==n&&s.state.isPaused)?.continue()??Promise.resolve()}clear(){de.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}getAll(){return[...this.#t.values()].flat()}find(n){const i={exact:!0,...n};return this.getAll().find(s=>Mg(i,s))}findAll(n={}){return this.getAll().filter(i=>Mg(n,i))}notify(n){de.batch(()=>{this.listeners.forEach(i=>{i(n)})})}resumePausedMutations(){const n=this.getAll().filter(i=>i.state.isPaused);return de.batch(()=>Promise.all(n.map(i=>i.continue().catch(an))))}};function ko(n){return n.options.scope?.id??String(n.mutationId)}function Rg(n){return{onFetch:(i,s)=>{const o=i.options,l=i.fetchOptions?.meta?.fetchMore?.direction,f=i.state.data?.pages||[],d=i.state.data?.pageParams||[];let h={pages:[],pageParams:[]},p=0;const m=async()=>{let y=!1;const v=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(i.signal.aborted?y=!0:i.signal.addEventListener("abort",()=>{y=!0}),i.signal)})},x=D0(i.options,i.fetchOptions),T=async(C,w,M)=>{if(y)return Promise.reject();if(w==null&&C.pages.length)return Promise.resolve(C);const N={queryKey:i.queryKey,pageParam:w,direction:M?"backward":"forward",meta:i.options.meta};v(N);const U=await x(N),{maxPages:j}=i.options,q=M?ew:tw;return{pages:q(C.pages,U,j),pageParams:q(C.pageParams,w,j)}};if(l&&f.length){const C=l==="backward",w=C?mw:Ng,M={pages:f,pageParams:d},N=w(o,M);h=await T(M,N,C)}else{const C=n??f.length;do{const w=p===0?d[0]??o.initialPageParam:Ng(o,h);if(p>0&&w==null)break;h=await T(h,w),p++}while(p<C)}return h};i.options.persister?i.fetchFn=()=>i.options.persister?.(m,{queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=m}}}function Ng(n,{pages:i,pageParams:s}){const o=i.length-1;return i.length>0?n.getNextPageParam(i[o],i,s[o],s):void 0}function mw(n,{pages:i,pageParams:s}){return i.length>0?n.getPreviousPageParam?.(i[0],i,s[0],s):void 0}var pw=class{#t;#e;#n;#i;#r;#s;#a;#o;constructor(n={}){this.#t=n.queryCache||new cw,this.#e=n.mutationCache||new hw,this.#n=n.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#a=O0.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#o=al.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#a?.(),this.#a=void 0,this.#o?.(),this.#o=void 0)}isFetching(n){return this.#t.findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return this.#e.findAll({...n,status:"pending"}).length}getQueryData(n){const i=this.defaultQueryOptions({queryKey:n});return this.#t.get(i.queryHash)?.state.data}ensureQueryData(n){const i=this.getQueryData(n.queryKey);if(i===void 0)return this.fetchQuery(n);{const s=this.defaultQueryOptions(n),o=this.#t.build(this,s);return n.revalidateIfStale&&o.isStaleByTime(Ag(s.staleTime,o))&&this.prefetchQuery(s),Promise.resolve(i)}}getQueriesData(n){return this.#t.findAll(n).map(({queryKey:i,state:s})=>{const o=s.data;return[i,o]})}setQueryData(n,i,s){const o=this.defaultQueryOptions({queryKey:n}),f=this.#t.get(o.queryHash)?.state.data,d=FE(i,f);if(d!==void 0)return this.#t.build(this,o).setData(d,{...s,manual:!0})}setQueriesData(n,i,s){return de.batch(()=>this.#t.findAll(n).map(({queryKey:o})=>[o,this.setQueryData(o,i,s)]))}getQueryState(n){const i=this.defaultQueryOptions({queryKey:n});return this.#t.get(i.queryHash)?.state}removeQueries(n){const i=this.#t;de.batch(()=>{i.findAll(n).forEach(s=>{i.remove(s)})})}resetQueries(n,i){const s=this.#t,o={type:"active",...n};return de.batch(()=>(s.findAll(n).forEach(l=>{l.reset()}),this.refetchQueries(o,i)))}cancelQueries(n={},i={}){const s={revert:!0,...i},o=de.batch(()=>this.#t.findAll(n).map(l=>l.cancel(s)));return Promise.all(o).then(an).catch(an)}invalidateQueries(n={},i={}){return de.batch(()=>{if(this.#t.findAll(n).forEach(o=>{o.invalidate()}),n.refetchType==="none")return Promise.resolve();const s={...n,type:n.refetchType??n.type??"active"};return this.refetchQueries(s,i)})}refetchQueries(n={},i){const s={...i,cancelRefetch:i?.cancelRefetch??!0},o=de.batch(()=>this.#t.findAll(n).filter(l=>!l.isDisabled()).map(l=>{let f=l.fetch(void 0,s);return s.throwOnError||(f=f.catch(an)),l.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(o).then(an)}fetchQuery(n){const i=this.defaultQueryOptions(n);i.retry===void 0&&(i.retry=!1);const s=this.#t.build(this,i);return s.isStaleByTime(Ag(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(an).catch(an)}fetchInfiniteQuery(n){return n.behavior=Rg(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(an).catch(an)}ensureInfiniteQueryData(n){return n.behavior=Rg(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return al.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(n){this.#n=n}setQueryDefaults(n,i){this.#i.set(rr(n),{queryKey:n,defaultOptions:i})}getQueryDefaults(n){const i=[...this.#i.values()];let s={};
57return i.forEach(o=>{or(n,o.queryKey)&&(s={...s,...o.defaultOptions})}),s}setMutationDefaults(n,i){this.#r.set(rr(n),{mutationKey:n,defaultOptions:i})}getMutationDefaults(n){const i=[...this.#r.values()];let s={};return i.forEach(o=>{or(n,o.mutationKey)&&(s={...s,...o.defaultOptions})}),s}defaultQueryOptions(n){if(n._defaulted)return n;const i={...this.#n.queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return i.queryHash||(i.queryHash=dd(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.enabled!==!0&&i.queryFn===hd&&(i.enabled=!1),i}defaultMutationOptions(n){return n?._defaulted?n:{...this.#n.mutations,...n?.mutationKey&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},yw=S.createContext(void 0),gw=({client:n,children:i})=>(S.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),E.jsx(yw.Provider,{value:n,children:i}));async function vw(n){if(!n.ok){const i=await n.text()||n.statusText;throw new Error(`${n.status}: ${i}`)}}const bw=({on401:n})=>async({queryKey:i})=>{const s=await fetch(i.join("/"),{credentials:"include"});return await vw(s),await s.json()},xw=new pw({defaultOptions:{queries:{queryFn:bw({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),Sw=1,Tw=1e6;let af=0;function Ew(){return af=(af+1)%Number.MAX_SAFE_INTEGER,af.toString()}const sf=new Map,jg=n=>{if(sf.has(n))return;const i=setTimeout(()=>{sf.delete(n),tr({type:"REMOVE_TOAST",toastId:n})},Tw);sf.set(n,i)},ww=(n,i)=>{switch(i.type){case"ADD_TOAST":return{...n,toasts:[i.toast,...n.toasts].slice(0,Sw)};case"UPDATE_TOAST":return{...n,toasts:n.toasts.map(s=>s.id===i.toast.id?{...s,...i.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=i;return s?jg(s):n.toasts.forEach(o=>{jg(o.id)}),{...n,toasts:n.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return i.toastId===void 0?{...n,toasts:[]}:{...n,toasts:n.toasts.filter(s=>s.id!==i.toastId)}}},Jo=[];let Wo={toasts:[]};function tr(n){Wo=ww(Wo,n),Jo.forEach(i=>{i(Wo)})}function Aw({...n}){const i=Ew(),s=l=>tr({type:"UPDATE_TOAST",toast:{...l,id:i}}),o=()=>tr({type:"DISMISS_TOAST",toastId:i});return tr({type:"ADD_TOAST",toast:{...n,id:i,open:!0,onOpenChange:l=>{l||o()}}}),{id:i,dismiss:o,update:s}}function z0(){const[n,i]=S.useState(Wo);return S.useEffect(()=>(Jo.push(i),()=>{const s=Jo.indexOf(i);s>-1&&Jo.splice(s,1)}),[n]),{...n,toast:Aw,dismiss:s=>tr({type:"DISMISS_TOAST",toastId:s})}}var yr=g0();const L0=y0(yr);function Le(n,i,{checkForDefaultPrevented:s=!0}={}){return function(l){if(n?.(l),s===!1||!l.defaultPrevented)return i?.(l)}}function _g(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function md(...n){return i=>{let s=!1;const o=n.map(l=>{const f=_g(l,i);return!s&&typeof f=="function"&&(s=!0),f});if(s)return()=>{for(let l=0;l<o.length;l++){const f=o[l];typeof f=="function"?f():_g(n[l],null)}}}}function Te(...n){return S.useCallback(md(...n),n)}function vl(n,i=[]){let s=[];function o(f,d){const h=S.createContext(d),p=s.length;s=[...s,d];const m=v=>{const{scope:x,children:T,...C}=v,w=x?.[n]?.[p]||h,M=S.useMemo(()=>C,Object.values(C));return E.jsx(w.Provider,{value:M,children:T})};m.displayName=f+"Provider";function y(v,x){const T=x?.[n]?.[p]||h,C=S.useContext(T);if(C)return C;if(d!==void 0)return d;throw new Error(`\`${v}\` must be used within \`${f}\``)}return[m,y]}const l=()=>{const f=s.map(d=>S.createContext(d));return function(h){const p=h?.[n]||f;return S.useMemo(()=>({[`__scope${n}`]:{...h,[n]:p}}),[h,p])}};return l.scopeName=n,[o,Cw(l,...i)]}function Cw(...n){const i=n[0];if(n.length===1)return i;const s=()=>{const o=n.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(f){const d=o.reduce((h,{useScope:p,scopeName:m})=>{const v=p(f)[`__scope${m}`];return{...h,...v}},{});return S.useMemo(()=>({[`__scope${i.scopeName}`]:d}),[d])}};return s.scopeName=i.scopeName,s}function Of(n){const i=Mw(n),s=S.forwardRef((o,l)=>{const{children:f,...d}=o,h=S.Children.toArray(f),p=h.find(Ow);if(p){const m=p.props.children,y=h.map(v=>v===p?S.Children.count(m)>1?S.Children.only(null):S.isValidElement(m)?m.props.children:null:v);return E.jsx(i,{...d,ref:l,children:S.isValidElement(m)?S.cloneElement(m,void 0,y):null})}return E.jsx(i,{...d,ref:l,children:f})});return s.displayName=`${n}.Slot`,s}function Mw(n){const i=S.forwardRef((s,o)=>{const{children:l,...f}=s;if(S.isValidElement(l)){const d=Nw(l),h=Rw(f,l.props);return l.type!==S.Fragment&&(h.ref=o?md(o,d):d),S.cloneElement(l,h)}return S.Children.count(l)>1?S.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var Dw=Symbol("radix.slottable");function Ow(n){return S.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Dw}function Rw(n,i){const s={...i};for(const o in i){const l=n[o],f=i[o];/^on[A-Z]/.test(o)?l&&f?s[o]=(...h)=>{f(...h),l(...h)}:l&&(s[o]=l):o==="style"?s[o]={...l,...f}
vendor: 4,420 bytes, line 57
57:o==="className"&&(s[o]=[l,f].filter(Boolean).join(" "))}return{...n,...s}}function Nw(n){let i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=Object.getOwnPropertyDescriptor(n,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function jw(n){const i=n+"CollectionProvider",[s,o]=vl(i),[l,f]=s(i,{collectionRef:{current:null},itemMap:new Map}),d=w=>{const{scope:M,children:N}=w,U=yi.useRef(null),j=yi.useRef(new Map).current;return E.jsx(l,{scope:M,itemMap:j,collectionRef:U,children:N})};d.displayName=i;const h=n+"CollectionSlot",p=Of(h),m=yi.forwardRef((w,M)=>{const{scope:N,children:U}=w,j=f(h,N),q=Te(M,j.collectionRef);return E.jsx(p,{ref:q,children:U})});m.displayName=h;const y=n+"CollectionItemSlot",v="data-radix-collection-item",x=Of(y),T=yi.forwardRef((w,M)=>{const{scope:N,children:U,...j}=w,q=yi.useRef(null),G=Te(M,q),Z=f(y,N);return yi.useEffect(()=>(Z.itemMap.set(q,{ref:q,...j}),()=>void Z.itemMap.delete(q))),E.jsx(x,{[v]:"",ref:G,children:U})});T.displayName=y;function C(w){const M=f(n+"CollectionConsumer",w);return yi.useCallback(()=>{const U=M.collectionRef.current;if(!U)return[];const j=Array.from(U.querySelectorAll(`[${v}]`));return Array.from(M.itemMap.values()).sort((Z,P)=>j.indexOf(Z.ref.current)-j.indexOf(P.ref.current))},[M.collectionRef,M.itemMap])}return[{Provider:d,Slot:m,ItemSlot:T},C,o]}var _w=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],bn=_w.reduce((n,i)=>{const s=Of(`Primitive.${i}`),o=S.forwardRef((l,f)=>{const{asChild:d,...h}=l,p=d?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(p,{...h,ref:f})});return o.displayName=`Primitive.${i}`,{...n,[i]:o}},{});function V0(n,i){n&&yr.flushSync(()=>n.dispatchEvent(i))}function We(n){const i=S.useRef(n);return S.useEffect(()=>{i.current=n}),S.useMemo(()=>(...s)=>i.current?.(...s),[])}function U0(n,i=globalThis?.document){const s=We(n);S.useEffect(()=>{const o=l=>{l.key==="Escape"&&s(l)};return i.addEventListener("keydown",o,{capture:!0}),()=>i.removeEventListener("keydown",o,{capture:!0})},[s,i])}var zw="DismissableLayer",Rf="dismissableLayer.update",Lw="dismissableLayer.pointerDownOutside",Vw="dismissableLayer.focusOutside",zg,B0=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),P0=S.forwardRef((n,i)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:f,onInteractOutside:d,onDismiss:h,...p}=n,m=S.useContext(B0),[y,v]=S.useState(null),x=y?.ownerDocument??globalThis?.document,[,T]=S.useState({}),C=Te(i,P=>v(P)),w=Array.from(m.layers),[M]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),N=w.indexOf(M),U=y?w.indexOf(y):-1,j=m.layersWithOutsidePointerEventsDisabled.size>0,q=U>=N,G=Bw(P=>{const V=P.target,I=[...m.branches].some(et=>et.contains(V));!q||I||(l?.(P),d?.(P),P.defaultPrevented||h?.())},x),Z=Pw(P=>{const V=P.target;[...m.branches].some(et=>et.contains(V))||(f?.(P),d?.(P),P.defaultPrevented||h?.())},x);return U0(P=>{U===m.layers.size-1&&(o?.(P),!P.defaultPrevented&&h&&(P.preventDefault(),h()))},x),S.useEffect(()=>{if(y)return s&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(zg=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(y)),m.layers.add(y),Lg(),()=>{s&&m.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=zg)}},[y,x,s,m]),S.useEffect(()=>()=>{y&&(m.layers.delete(y),m.layersWithOutsidePointerEventsDisabled.delete(y),Lg())},[y,m]),S.useEffect(()=>{const P=()=>T({});return document.addEventListener(Rf,P),()=>document.removeEventListener(Rf,P)},[]),E.jsx(bn.div,{...p,ref:C,style:{pointerEvents:j?q?"auto":"none":void 0,...n.style},onFocusCapture:Le(n.onFocusCapture,Z.onFocusCapture),onBlurCapture:Le(n.onBlurCapture,Z.onBlurCapture),onPointerDownCapture:Le(n.onPointerDownCapture,G.onPointerDownCapture)})});P0.displayName=zw;var Uw="DismissableLayerBranch",H0=S.forwardRef((n,i)=>{const s=S.useContext(B0),o=S.useRef(null),l=Te(i,o);return S.useEffect(()=>{const f=o.current;if(f)return s.branches.add(f),()=>{s.branches.delete(f)}},[s.branches]),E.jsx(bn.div,{...n,ref:l})});H0.displayName=Uw;function Bw(n,i=globalThis?.document){const s=We(n),o=S.useRef(!1),l=S.useRef(()=>{});return S.useEffect(()=>{const f=h=>
57{if(h.target&&!o.current){let p=function(){k0(Lw,s,m,{discrete:!0})};const m={originalEvent:h};h.pointerType==="touch"?(i.removeEventListener("click",l.current),l.current=p,i.addEventListener("click",l.current,{once:!0})):p()}else i.removeEventListener("click",l.current);o.current=!1},d=window.setTimeout(()=>{i.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(d),i.removeEventListener("pointerdown",f),i.removeEventListener("click",l.current)}},[i,s]),{onPointerDownCapture:()=>o.current=!0}}function Pw(n,i=globalThis?.document){const s=We(n),o=S.useRef(!1);return S.useEffect(()=>{const l=f=>{f.target&&!o.current&&k0(Vw,s,{originalEvent:f},{discrete:!1})};return i.addEventListener("focusin",l),()=>i.removeEventListener("focusin",l)},[i,s]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Lg(){const n=new CustomEvent(Rf);document.dispatchEvent(n)}function k0(n,i,s,{discrete:o}){const l=s.originalEvent.target,f=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:s});i&&l.addEventListener(n,i,{once:!0}),o?V0(l,f):l.dispatchEvent(f)}var Hw=P0,kw=H0,gn=globalThis?.document?S.useLayoutEffect:()=>{},qw="Portal",q0=S.forwardRef((n,i)=>{const{container:s,...o}=n,[l,f]=S.useState(!1);gn(()=>f(!0),[]);const d=s||l&&globalThis?.document?.body;return d?L0.createPortal(E.jsx(bn.div,{...o,ref:i}),d):null});q0.displayName=qw;function Gw(n,i){return S.useReducer((s,o)=>i[s][o]??s,n)}var G0=n=>{const{present:i,children:s}=n,o=Yw(i),l=typeof s=="function"?s({present:o.isPresent}):S.Children.only(s),f=Te(o.ref,Xw(l));return typeof s=="function"||o.isPresent?S.cloneElement(l,{ref:f}):null};G0.displayName="Presence";function Yw(n){const[i,s]=S.useState(),o=S.useRef({}),l=S.useRef(n),f=S.useRef("none"),d=n?"mounted":"unmounted",[h,p]=Gw(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const m=qo(o.current);f.current=h==="mounted"?m:"none"},[h]),gn(()=>{const m=o.current,y=l.current;if(y!==n){const x=f.current,T=qo(m);n?p("MOUNT"):T==="none"||m?.display==="none"?p("UNMOUNT"):p(y&&x!==T?"ANIMATION_OUT":"UNMOUNT"),l.current=n}},[n,p]),gn(()=>{if(i){let m;const y=i.ownerDocument.defaultView??window,v=T=>{const w=qo(o.current).includes(T.animationName);if(T.target===i&&w&&(p("ANIMATION_END"),!l.current)){const M=i.style.animationFillMode;i.style.animationFillMode="forwards",m=y.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=M)})}},x=T=>{T.target===i&&(f.current=qo(o.current))};return i.addEventListener("animationstart",x),i.addEventListener("animationcancel",v),i.addEventListener("animationend",v),()=>{y.clearTimeout(m),i.removeEventListener("animationstart",x),i.removeEventListener("animationcancel",v),i.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:S.useCallback(m=>{m&&(o.current=getComputedStyle(m)),s(m)},[])}}function qo(n){return n?.animationName||"none"}function Xw(n){let i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=Object.getOwnPropertyDescriptor(n,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function Kw({prop:n,defaultProp:i,onChange:s=()=>{}}){const[o,l]=Qw({defaultProp:i,onChange:s}),f=n!==void 0,d=f?n:o,h=We(s),p=S.useCallback(m=>{if(f){const v=typeof m=="function"?m(n):m;v!==n&&h(v)}else l(m)},[f,n,l,h]);return[d,p]}function Qw({defaultProp:n,onChange:i}){const s=S.useState(n),[o]=s,l=S.useRef(o),f=We(i);return S.useEffect(()=>{l.current!==o&&(f(o),l.current=o)},[o,l,f]),s}var Fw="VisuallyHidden",pd=S.forwardRef((n,i)=>E.jsx(bn.span,{...n,ref:i,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...n.style}}));pd.displayName=Fw;var yd="ToastProvider",[gd,Zw,$w]=jw("Toast"),[Y0]=vl("Toast",[$w]),[Jw,bl]=Y0(yd),X0=n=>{const{__scopeToast:i,label:s="Notification",duration:o=5e3,swipeDirection:l="right",swipeThreshold:f=50,children:d}=n,[h,p]=S.useState(null),[m,y]=S.useState(0),v=S.useRef(!1),x=S.useRef(!1);return s.trim()||console.error(`Invalid prop \`label\` supplied to \`${yd}\`. Expected non-empty \`string\`.`),E.jsx(gd.Provider,{scope:i,children:E.jsx(Jw,{scope:i,label:s,duration:o,swipeDirection:l,swipeThreshold:f,toastCount:m,viewport:h,onViewportChange:p,onToastAdd:S.useCallback(()=>y(T=>T+1),[]),onToastRemove:S.useCallback(()=>y(T=>T-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:x,children:d})})};X0.displayName=yd;var K0="ToastViewport",Ww=["F8"],Nf="toast.viewportPause",jf="toast.viewportResume",Q0=S.forwardRef((n,i)=>{const{__scopeToast:s,hotkey:o=Ww,label:l="Notifications ({hotkey})",...f}=n,d=bl(K0,s),h=Zw(s),p=S.useRef(null),m=S.useRef(null),y=S.useRef(null),v=S.useRef(null),x=Te(i,v,d.onViewportChange),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),C=d.toastCount>0;S.useEffect(()=>{const M=N=>{o.length!==0&&o.every(j=>N[j]||N.code===j)&&v.current?.focus()};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[o]),S.useEffect(()=>{const M=p.current,N=v.current;if(C&&M&&N){const U=()=>
vendor: 7,302 bytes, line 57
57{if(!d.isClosePausedRef.current){const Z=new CustomEvent(Nf);N.dispatchEvent(Z),d.isClosePausedRef.current=!0}},j=()=>{if(d.isClosePausedRef.current){const Z=new CustomEvent(jf);N.dispatchEvent(Z),d.isClosePausedRef.current=!1}},q=Z=>{!M.contains(Z.relatedTarget)&&j()},G=()=>{M.contains(document.activeElement)||j()};return M.addEventListener("focusin",U),M.addEventListener("focusout",q),M.addEventListener("pointermove",U),M.addEventListener("pointerleave",G),window.addEventListener("blur",U),window.addEventListener("focus",j),()=>{M.removeEventListener("focusin",U),M.removeEventListener("focusout",q),M.removeEventListener("pointermove",U),M.removeEventListener("pointerleave",G),window.removeEventListener("blur",U),window.removeEventListener("focus",j)}}},[C,d.isClosePausedRef]);const w=S.useCallback(({tabbingDirection:M})=>{const U=h().map(j=>{const q=j.ref.current,G=[q,...fA(q)];return M==="forwards"?G:G.reverse()});return(M==="forwards"?U.reverse():U).flat()},[h]);return S.useEffect(()=>{const M=v.current;if(M){const N=U=>{const j=U.altKey||U.ctrlKey||U.metaKey;if(U.key==="Tab"&&!j){const G=document.activeElement,Z=U.shiftKey;if(U.target===M&&Z){m.current?.focus();return}const I=w({tabbingDirection:Z?"backwards":"forwards"}),et=I.findIndex(ht=>ht===G);rf(I.slice(et+1))?U.preventDefault():Z?m.current?.focus():y.current?.focus()}};return M.addEventListener("keydown",N),()=>M.removeEventListener("keydown",N)}},[h,w]),E.jsxs(kw,{ref:p,role:"region","aria-label":l.replace("{hotkey}",T),tabIndex:-1,style:{pointerEvents:C?void 0:"none"},children:[C&&E.jsx(_f,{ref:m,onFocusFromOutsideViewport:()=>{const M=w({tabbingDirection:"forwards"});rf(M)}}),E.jsx(gd.Slot,{scope:s,children:E.jsx(bn.ol,{tabIndex:-1,...f,ref:x})}),C&&E.jsx(_f,{ref:y,onFocusFromOutsideViewport:()=>{const M=w({tabbingDirection:"backwards"});rf(M)}})]})});Q0.displayName=K0;var F0="ToastFocusProxy",_f=S.forwardRef((n,i)=>{const{__scopeToast:s,onFocusFromOutsideViewport:o,...l}=n,f=bl(F0,s);return E.jsx(pd,{"aria-hidden":!0,tabIndex:0,...l,ref:i,style:{position:"fixed"},onFocus:d=>{const h=d.relatedTarget;!f.viewport?.contains(h)&&o()}})});_f.displayName=F0;var xl="Toast",Iw="toast.swipeStart",tA="toast.swipeMove",eA="toast.swipeCancel",nA="toast.swipeEnd",Z0=S.forwardRef((n,i)=>{const{forceMount:s,open:o,defaultOpen:l,onOpenChange:f,...d}=n,[h=!0,p]=Kw({prop:o,defaultProp:l,onChange:f});return E.jsx(G0,{present:s||h,children:E.jsx(sA,{open:h,...d,ref:i,onClose:()=>p(!1),onPause:We(n.onPause),onResume:We(n.onResume),onSwipeStart:Le(n.onSwipeStart,m=>{m.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Le(n.onSwipeMove,m=>{const{x:y,y:v}=m.detail.delta;m.currentTarget.setAttribute("data-swipe","move"),m.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),m.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Le(n.onSwipeCancel,m=>{m.currentTarget.setAttribute("data-swipe","cancel"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),m.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Le(n.onSwipeEnd,m=>{const{x:y,y:v}=m.detail.delta;m.currentTarget.setAttribute("data-swipe","end"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),m.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),m.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),m.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),p(!1)})})})});Z0.displayName=xl;var[iA,aA]=Y0(xl,{onClose(){}}),sA=S.forwardRef((n,i)=>{const{__scopeToast:s,type:o="foreground",duration:l,open:f,onClose:d,onEscapeKeyDown:h,onPause:p,onResume:m,onSwipeStart:y,onSwipeMove:v,onSwipeCancel:x,onSwipeEnd:T,...C}=n,w=bl(xl,s),[M,N]=S.useState(null),U=Te(i,W=>N(W)),j=S.useRef(null),q=S.useRef(null),G=l||w.duration,Z=S.useRef(0),P=S.useRef(G),V=S.useRef(0),{onToastAdd:I,onToastRemove:et}=w,ht=We(()=>{M?.contains(document.activeElement)&&w.viewport?.focus(),d()}),pt=S.useCallback(W=>{!W||W===1/0||(window.clearTimeout(V.current),Z.current=new Date().getTime(),V.current=window.setTimeout(ht,W))},[ht]);S.useEffect(()=>{const W=w.viewport;if(W){const dt=()=>{pt(P.current),m?.()},_=()=>{const Y=new Date().getTime()-Z.current;P.current=P.current-Y,window.clearTimeout(V.current),p?.()};return W.addEventListener(Nf,_),W.addEventListener(jf,dt),()=>{W.removeEventListener(Nf,_),W.removeEventListener(jf,dt)}}},[w.viewport,G,p,m,pt]),S.useEffect(()=>{f&&!w.isClosePausedRef.current&&pt(G)},[f,G,w.isClosePausedRef,pt]),S.useEffect(()=>(I(),()=>et()),[I,et]);const wt=S.useMemo(()=>M?nb(M):null,[M]);return w.viewport?E.jsxs(E.Fragment,{children:[wt&&E.jsx(rA,{__scopeToast:s,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0,children:wt}),E.jsx(iA,{scope:s,onClose:ht,children:yr.createPortal(E.jsx(gd.ItemSlot,{scope:s,children:E.jsx(Hw,{asChild:!0,onEscapeKeyDown:Le(h,()=>{w.isFocusedToastEscapeKeyDownRef.current||ht(),w.isFocusedToastEscapeKeyDownRef.current=!1}),children:E.jsx(bn.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":f?"open":"closed","data-swipe-direction":w.swipeDirection,...C,ref:U,style:{userSelect:"none",touchAction:"none",...n.style},onKeyDown:Le(n.onKeyDown,W=>{W.key==="Escape"&&(h?.(W.nativeEvent),W.nativeEvent.defaultPrevented||(w.isFocusedToastEscapeKeyDownRef.current=!0,ht()))}),onPointerDown:Le(n.onPointerDown,W=>{W.button===0&&(j.current={x:W.clientX,y:W.clientY})}),onPointerMove:Le(n.onPointerMove,W=>{if(!j.current)return;const dt=W.clientX-j.current.x,_=W.clientY-j.current.y,Y=!!q.current,H=["left","right"].includes(w.swipeDirection),at=["left","up"].includes(w.swipeDirection)?Math.min:Math.max,ut=H?at(0,dt):0,D=H?0:at(0,_),K=W.pointerType==="touch"?10:2,$={x:ut,y:D},J={originalEvent:W,delta:$};Y?(q.current=$,Go(tA,v,J,{discrete:!1})):Vg($,w.swipeDirection,K)?(q.current=$,Go(Iw,y,J,{discrete:!1}),W.target.setPointerCapture(W.pointerId)):(Math.abs(dt)>K||Math.abs(_)>K)&&(j.current=null)}),onPointerUp:Le(n.onPointerUp,W=>{const dt=q.current,_=W.target;if(_.hasPointerCapture(W.pointerId)&&_.releasePointerCapture(W.pointerId),q.current=null,j.current=null,dt){const Y=W.currentTarget,H={originalEvent:W,delta:dt};Vg(dt,w.swipeDirection,w.swipeThreshold)?Go(nA,T,H,{discrete:!0}):Go(eA,x,H,{discrete:!0}),Y.addEventListener("click",at=>at.preventDefault(),{once:!0})}})})})}),w.viewport)})]}):null}),rA=n=>{const{__scopeToast:i,children:s,...o}=n,l=bl(xl,i),[f,d]=S.useState(!1),[h,p]=S.useState(!1);return uA(()=>d(!0)),S.useEffect(()=>{const m=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(m)},[]),h?null:E.jsx(q0,{asChild:!0,children:E.jsx(pd,{...o,children:f&&E.jsxs(E.Fragment,{children:[l.label," ",s]})})})},oA="ToastTitle",$0=S.forwardRef((n,i)=>{const{__scopeToast:s,...o}=n;return E.jsx(bn.div,{...o,ref:i})});$0.displayName=oA;var lA="ToastDescription",J0=S.forwardRef((n,i)=>{const{__scopeToast:s,...o}=n;return E.jsx(bn.div,{...o,ref:i})});J0.displayName=lA;var W0="ToastAction",I0=S.forwardRef((n,i)=>{const{altText:s,...o}=n;return s.trim()?E.jsx(eb,{altText:s,asChild:!0,children:E.jsx(vd,{...o,ref:i}
vendor: 5,984 bytes, lines 57-97
57)}):(console.error(`Invalid prop \`altText\` supplied to \`${W0}\`. Expected non-empty \`string\`.`),null)});I0.displayName=W0;var tb="ToastClose",vd=S.forwardRef((n,i)=>{const{__scopeToast:s,...o}=n,l=aA(tb,s);return E.jsx(eb,{asChild:!0,children:E.jsx(bn.button,{type:"button",...o,ref:i,onClick:Le(n.onClick,l.onClose)})})});vd.displayName=tb;var eb=S.forwardRef((n,i)=>{const{__scopeToast:s,altText:o,...l}=n;return E.jsx(bn.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...l,ref:i})});function nb(n){const i=[];return Array.from(n.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&i.push(o.textContent),cA(o)){const l=o.ariaHidden||o.hidden||o.style.display==="none",f=o.dataset.radixToastAnnounceExclude==="";if(!l)if(f){const d=o.dataset.radixToastAnnounceAlt;d&&i.push(d)}else i.push(...nb(o))}}),i}function Go(n,i,s,{discrete:o}){const l=s.originalEvent.currentTarget,f=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:s});i&&l.addEventListener(n,i,{once:!0}),o?V0(l,f):l.dispatchEvent(f)}var Vg=(n,i,s=0)=>{const o=Math.abs(n.x),l=Math.abs(n.y),f=o>l;return i==="left"||i==="right"?f&&o>s:!f&&l>s};function uA(n=()=>{}){const i=We(n);gn(()=>{let s=0,o=0;return s=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(s),window.cancelAnimationFrame(o)}},[i])}function cA(n){return n.nodeType===n.ELEMENT_NODE}function fA(n){const i=[],s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const l=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||l?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)i.push(s.currentNode);return i}function rf(n){const i=document.activeElement;return n.some(s=>s===i?!0:(s.focus(),document.activeElement!==i))}var dA=X0,ib=Q0,ab=Z0,sb=$0,rb=J0,ob=I0,lb=vd;function ub(n){var i,s,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var l=n.length;for(i=0;i<l;i++)n[i]&&(s=ub(n[i]))&&(o&&(o+=" "),o+=s)}else for(s in n)n[s]&&(o&&(o+=" "),o+=s);return o}function cb(){for(var n,i,s=0,o="",l=arguments.length;s<l;s++)(n=arguments[s])&&(i=ub(n))&&(o&&(o+=" "),o+=i);return o}const Ug=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Bg=cb,hA=(n,i)=>s=>{var o;if(i?.variants==null)return Bg(n,s?.class,s?.className);const{variants:l,defaultVariants:f}=i,d=Object.keys(l).map(m=>{const y=s?.[m],v=f?.[m];if(y===null)return null;const x=Ug(y)||Ug(v);return l[m][x]}),h=s&&Object.entries(s).reduce((m,y)=>{let[v,x]=y;return x===void 0||(m[v]=x),m},{}),p=i==null||(o=i.compoundVariants)===null||o===void 0?void 0:o.reduce((m,y)=>{let{class:v,className:x,...T}=y;return Object.entries(T).every(C=>{let[w,M]=C;return Array.isArray(M)?M.includes({...f,...h}[w]):{...f,...h}[w]===M})?[...m,v,x]:m},[]);return Bg(n,d,p,s?.class,s?.className)};/**
58 * @license lucide-react v0.545.0 - ISC
59 *
60 * This source code is licensed under the ISC license.
61 * See the LICENSE file in the root directory of this source tree.
62 */const mA=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),pA=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,o)=>o?o.toUpperCase():s.toLowerCase()),Pg=n=>{const i=pA(n);return i.charAt(0).toUpperCase()+i.slice(1)},fb=(...n)=>n.filter((i,s,o)=>!!i&&i.trim()!==""&&o.indexOf(i)===s).join(" ").trim(),yA=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
63 * @license lucide-react v0.545.0 - ISC
64 *
65 * This source code is licensed under the ISC license.
66 * See the LICENSE file in the root directory of this source tree.
67 */var gA={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"};/**
68 * @license lucide-react v0.545.0 - ISC
69 *
70 * This source code is licensed under the ISC license.
71 * See the LICENSE file in the root directory of this source tree.
72 */const vA=S.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:f,iconNode:d,...h},p)=>S.createElement("svg",{ref:p,...gA,width:i,height:i,stroke:n,strokeWidth:o?Number(s)*24/Number(i):s,className:fb("lucide",l),...!f&&!yA(h)&&{"aria-hidden":"true"},...h},[...d.map(([m,y])=>S.createElement(m,y)),...Array.isArray(f)?f:[f]]));/**
73 * @license lucide-react v0.545.0 - ISC
74 *
75 * This source code is licensed under the ISC license.
76 * See the LICENSE file in the root directory of this source tree.
77 */const Sl=(n,i)=>{const s=S.forwardRef(({className:o,...l},f)=>S.createElement(vA,{ref:f,iconNode:i,className:fb(`lucide-${mA(Pg(n))}`,`lucide-${n}`,o),...l}));return s.displayName=Pg(n),s};/**
78 * @license lucide-react v0.545.0 - ISC
79 *
80 * This source code is licensed under the ISC license.
81 * See the LICENSE file in the root directory of this source tree.
82 */const bA=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],xA=Sl("arrow-up-right",bA);/**
83 * @license lucide-react v0.545.0 - ISC
84 *
85 * This source code is licensed under the ISC license.
86 * See the LICENSE file in the root directory of this source tree.
87 */const SA=[["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"}]],TA=Sl("circle-alert",SA);/**
88 * @license lucide-react v0.545.0 - ISC
89 *
90 * This source code is licensed under the ISC license.
91 * See the LICENSE file in the root directory of this source tree.
92 */const EA=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Hg=Sl("map-pin",EA);/**
93 * @license lucide-react v0.545.0 - ISC
94 *
95 * This source code is licensed under the ISC license.
96 * See the LICENSE file in the root directory of this source tree.
97 */const wA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 7,495 bytes, line 97
97],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],AA=Sl("x",wA),bd="-",CA=n=>{const i=DA(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:d=>{const h=d.split(bd);return h[0]===""&&h.length!==1&&h.shift(),db(h,i)||MA(d)},getConflictingClassGroupIds:(d,h)=>{const p=s[d]||[];return h&&o[d]?[...p,...o[d]]:p}}},db=(n,i)=>{if(n.length===0)return i.classGroupId;const s=n[0],o=i.nextPart.get(s),l=o?db(n.slice(1),o):void 0;if(l)return l;if(i.validators.length===0)return;const f=n.join(bd);return i.validators.find(({validator:d})=>d(f))?.classGroupId},kg=/^\[(.+)\]$/,MA=n=>{if(kg.test(n)){const i=kg.exec(n)[1],s=i?.substring(0,i.indexOf(":"));if(s)return"arbitrary.."+s}},DA=n=>{const{theme:i,classGroups:s}=n,o={nextPart:new Map,validators:[]};for(const l in s)zf(s[l],o,l,i);return o},zf=(n,i,s,o)=>{n.forEach(l=>{if(typeof l=="string"){const f=l===""?i:qg(i,l);f.classGroupId=s;return}if(typeof l=="function"){if(OA(l)){zf(l(o),i,s,o);return}i.validators.push({validator:l,classGroupId:s});return}Object.entries(l).forEach(([f,d])=>{zf(d,qg(i,f),s,o)})})},qg=(n,i)=>{let s=n;return i.split(bd).forEach(o=>{s.nextPart.has(o)||s.nextPart.set(o,{nextPart:new Map,validators:[]}),s=s.nextPart.get(o)}),s},OA=n=>n.isThemeGetter,RA=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,s=new Map,o=new Map;const l=(f,d)=>{s.set(f,d),i++,i>n&&(i=0,o=s,s=new Map)};return{get(f){let d=s.get(f);if(d!==void 0)return d;if((d=o.get(f))!==void 0)return l(f,d),d},set(f,d){s.has(f)?s.set(f,d):l(f,d)}}},Lf="!",Vf=":",NA=Vf.length,jA=n=>{const{prefix:i,experimentalParseClassName:s}=n;let o=l=>{const f=[];let d=0,h=0,p=0,m;for(let C=0;C<l.length;C++){let w=l[C];if(d===0&&h===0){if(w===Vf){f.push(l.slice(p,C)),p=C+NA;continue}if(w==="/"){m=C;continue}}w==="["?d++:w==="]"?d--:w==="("?h++:w===")"&&h--}const y=f.length===0?l:l.substring(p),v=_A(y),x=v!==y,T=m&&m>p?m-p:void 0;return{modifiers:f,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:T}};if(i){const l=i+Vf,f=o;o=d=>d.startsWith(l)?f(d.substring(l.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(s){const l=o;o=f=>s({className:f,parseClassName:l})}return o},_A=n=>n.endsWith(Lf)?n.substring(0,n.length-1):n.startsWith(Lf)?n.substring(1):n,zA=n=>{const i=Object.fromEntries(n.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const l=[];let f=[];return o.forEach(d=>{d[0]==="["||i[d]?(l.push(...f.sort(),d),f=[]):f.push(d)}),l.push(...f.sort()),l}},LA=n=>({cache:RA(n.cacheSize),parseClassName:jA(n),sortModifiers:zA(n),...CA(n)}),VA=/\s+/,UA=(n,i)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:f}=i,d=[],h=n.trim().split(VA);let p="";for(let m=h.length-1;m>=0;m-=1){const y=h[m],{isExternal:v,modifiers:x,hasImportantModifier:T,baseClassName:C,maybePostfixModifierPosition:w}=s(y);if(v){p=y+(p.length>0?" "+p:p);continue}let M=!!w,N=o(M?C.substring(0,w):C);if(!N){if(!M){p=y+(p.length>0?" "+p:p);continue}if(N=o(C),!N){p=y+(p.length>0?" "+p:p);continue}M=!1}const U=f(x).join(":"),j=T?U+Lf:U,q=j+N;if(d.includes(q))continue;d.push(q);const G=l(N,M);for(let Z=0;Z<G.length;++Z){const P=G[Z];d.push(j+P)}p=y+(p.length>0?" "+p:p)}return p};function BA(){let n=0,i,s,o="";for(;n<arguments.length;)(i=arguments[n++])&&(s=hb(i))&&(o&&(o+=" "),o+=s);return o}const hb=n=>{if(typeof n=="string")return n;let i,s="";for(let o=0;o<n.length;o++)n[o]&&(i=hb(n[o]))&&(s&&(s+=" "),s+=i);return s};function PA(n,...i){let s,o,l,f=d;function d(p){const m=i.reduce((y,v)=>v(y),n());return s=LA(m),o=s.cache.get,l=s.cache.set,f=h,h(p)}function h(p){const m=o(p);if(m)return m;const y=UA(p,s);return l(p,y),y}return function(){return f(BA.apply(null,arguments))}}const te=n=>{const i=s=>s[n]||[];return i.isThemeGetter=!0,i},mb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,pb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,HA=/^\d+\/\d+$/,kA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qA=/\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$/,GA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,YA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ua=n=>HA.test(n),bt=n=>!!n&&!Number.isNaN(Number(n)),pi=n=>!!n&&Number.isInteger(Number(n)),of=n=>n.endsWith("%")&&bt(n.slice(0,-1)),Pn=n=>kA.test(n),KA=()=>!0,QA=n=>qA.test(n)&&!GA.test(n),yb=()=>!1,FA=n=>YA.test(n),ZA=n=>XA.test(n),$A=n=>!nt(n)&&!it(n),JA=n=>$a(n,bb,yb),nt=n=>mb.test(n),Xi=n=>$a(n,xb,QA),lf=n=>$a(n,nC,bt),Gg=n=>$a(n,gb,yb),WA=n=>$a(n,vb,ZA),Yo=n=>$a(n,Sb,FA),it=n=>pb.test(n),Js=n=>Ja(n,xb),IA=n=>Ja(n,iC),Yg=n=>Ja(n,gb),tC=n=>Ja(n,bb),eC=n=>Ja(n,vb),Xo=n=>Ja(n,Sb,!0),$a=(n,i,s)=>{const o=mb.exec(n);return o?o[1]?i(o[1]):s(o[2]):!1},Ja=(n,i,s=!1)=>{const o=pb.exec(n);return o?o[1]?i(o[1]):s:!1},gb=n=>n==="position"||n==="percentage",vb=n=>n==="image"||n==="url",bb=n=>n==="length"||n==="size"||n==="bg-size",xb=n=>n==="length",nC=n=>n==="number",iC=n=>n==="family-name",Sb=n=>n==="shadow",aC=()=>{const n=te("color"),i=te("font"),s=te("text"),o=te("font-weight"),l=te("tracking"),f=te("leading"),d=te("breakpoint"),h=te("container"),p=te("spacing"),m=te("radius"),y=te("shadow"),v=te("inset-shadow"),x=te("text-shadow"),T=te("drop-shadow"),C=te("blur"),w=te("perspective"),M=te("aspect"),N=te("ease"),U=te("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...q(),it,nt],Z=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],V=()=>[it,nt,p],I=()=>[Ua,"full","auto",...V()],et=()=>[pi,"none","subgrid",it,nt],ht=()=>["auto",{span:["full",pi,it,nt]},pi,it,nt],pt=()=>[pi,"auto",it,nt],wt=()=>["auto","min","max","fr",it,nt],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],dt=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...V()],Y=()=>[Ua,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],H=()=>[n,it,nt],at=()=>[...q(),Yg,Gg,{position:[it,nt]}],ut=()=>["no-repeat",{repeat:["","x","y","space","round"]}],D=()=>["auto","cover","contain",tC,JA,{size:[it,nt]}],K=()=>[of,Js,Xi],$=()=>["","none","full",m,it,nt],J=()=>["",bt,Js,Xi],ct=()=>["solid","dashed","dotted","double"],yt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],rt=()=>[bt,of,Yg,Gg],Yt=()=>["","none",C,it,nt],Nt=()=>["none",bt,it,nt],Ue=()=>["none",bt,it,nt],on=()=>[bt,it,nt],ln=()=>[Ua,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Pn],breakpoint:[Pn],color:[KA],container:[Pn],"drop-shadow":[Pn],ease:["in","out","in-out"],font:[$A],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Pn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Pn],shadow:[Pn],spacing:["px",bt],text:[Pn],"text-shadow":[Pn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ua,nt,it,M]}
vendor: 17,288 bytes, line 97
97],container:["container"],columns:[{columns:[bt,nt,it,h]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:G()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[pi,"auto",it,nt]}],basis:[{basis:[Ua,"full","auto",h,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,Ua,"auto","initial","none",nt]}],grow:[{grow:["",bt,it,nt]}],shrink:[{shrink:["",bt,it,nt]}],order:[{order:[pi,"first","last","none",it,nt]}],"grid-cols":[{"grid-cols":et()}],"col-start-end":[{col:ht()}],"col-start":[{"col-start":pt()}],"col-end":[{"col-end":pt()}],"grid-rows":[{"grid-rows":et()}],"row-start-end":[{row:ht()}],"row-start":[{"row-start":pt()}],"row-end":[{"row-end":pt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":wt()}],"auto-rows":[{"auto-rows":wt()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...dt(),"normal"]}],"justify-self":[{"justify-self":["auto",...dt()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...dt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...dt(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...dt(),"baseline"]}],"place-self":[{"place-self":["auto",...dt()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],w:[{w:[h,"screen",...Y()]}],"min-w":[{"min-w":[h,"screen","none",...Y()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",s,Js,Xi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,it,lf]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",of,nt]}],"font-family":[{font:[IA,nt,i]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,it,nt]}],"line-clamp":[{"line-clamp":[bt,"none",it,lf]}],leading:[{leading:[f,...V()]}],"list-image":[{"list-image":["none",it,nt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",it,nt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:H()}],"text-color":[{text:H()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ct(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",it,Xi]}],"text-decoration-color":[{decoration:H()}],"underline-offset":[{"underline-offset":[bt,"auto",it,nt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",it,nt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",it,nt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:at()}],"bg-repeat":[{bg:ut()}],"bg-size":[{bg:D()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pi,it,nt],radial:["",it,nt],conic:[pi,it,nt]},eC,WA]}],"bg-color":[{bg:H()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:H()}],"gradient-via":[{via:H()}],"gradient-to":[{to:H()}],rounded:[{rounded:$()}],"rounded-s":[{"rounded-s":$()}],"rounded-e":[{"rounded-e":$()}],"rounded-t":[{"rounded-t":$()}],"rounded-r":[{"rounded-r":$()}],"rounded-b":[{"rounded-b":$()}],"rounded-l":[{"rounded-l":$()}],"rounded-ss":[{"rounded-ss":$()}],"rounded-se":[{"rounded-se":$()}],"rounded-ee":[{"rounded-ee":$()}],"rounded-es":[{"rounded-es":$()}],"rounded-tl":[{"rounded-tl":$()}],"rounded-tr":[{"rounded-tr":$()}],"rounded-br":[{"rounded-br":$()}],"rounded-bl":[{"rounded-bl":$()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ct(),"hidden","none"]}],"divide-style":[{divide:[...ct(),"hidden","none"]}],"border-color":[{border:H()}],"border-color-x":[{"border-x":H()}],"border-color-y":[{"border-y":H()}],"border-color-s":[{"border-s":H()}],"border-color-e":[{"border-e":H()}],"border-color-t":[{"border-t":H()}],"border-color-r":[{"border-r":H()}],"border-color-b":[{"border-b":H()}],"border-color-l":[{"border-l":H()}],"divide-color":[{divide:H()}],"outline-style":[{outline:[...ct(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,it,nt]}],"outline-w":[{outline:["",bt,Js,Xi]}],"outline-color":[{outline:H()}],shadow:[{shadow:["","none",y,Xo,Yo]}],"shadow-color":[{shadow:H()}],"inset-shadow":[{"inset-shadow":["none",v,Xo,Yo]}],"inset-shadow-color":[{"inset-shadow":H()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:H()}],"ring-offset-w":[{"ring-offset":[bt,Xi]}],"ring-offset-color":[{"ring-offset":H()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":H()}],"text-shadow":[{"text-shadow":["none",x,Xo,Yo]}],"text-shadow-color":[{"text-shadow":H()}],opacity:[{opacity:[bt,it,nt]}],"mix-blend":[{"mix-blend":[...yt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":yt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":rt()}],"mask-image-linear-to-pos":[{"mask-linear-to":rt()}],"mask-image-linear-from-color":[{"mask-linear-from":H()}],"mask-image-linear-to-color":[{"mask-linear-to":H()}],"mask-image-t-from-pos":[{"mask-t-from":rt()}],"mask-image-t-to-pos":[{"mask-t-to":rt()}],"mask-image-t-from-color":[{"mask-t-from":H()}],"mask-image-t-to-color":[{"mask-t-to":H()}],"mask-image-r-from-pos":[{"mask-r-from":rt()}],"mask-image-r-to-pos":[{"mask-r-to":rt()}],"mask-image-r-from-color":[{"mask-r-from":H()}],"mask-image-r-to-color":[{"mask-r-to":H()}],"mask-image-b-from-pos":[{"mask-b-from":rt()}],"mask-image-b-to-pos":[{"mask-b-to":rt()}],"mask-image-b-from-color":[{"mask-b-from":H()}],"mask-image-b-to-color":[{"mask-b-to":H()}],"mask-image-l-from-pos":[{"mask-l-from":rt()}],"mask-image-l-to-pos":[{"mask-l-to":rt()}],"mask-image-l-from-color":[{"mask-l-from":H()}],"mask-image-l-to-color":[{"mask-l-to":H()}],"mask-image-x-from-pos":[{"mask-x-from":rt()}],"mask-image-x-to-pos":[{"mask-x-to":rt()}],"mask-image-x-from-color":[{"mask-x-from":H()}],"mask-image-x-to-color":[{"mask-x-to":H()}],"mask-image-y-from-pos":[{"mask-y-from":rt()}],"mask-image-y-to-pos":[{"mask-y-to":rt()}],"mask-image-y-from-color":[{"mask-y-from":H()}],"mask-image-y-to-color":[{"mask-y-to":H()}],"mask-image-radial":[{"mask-radial":[it,nt]}],"mask-image-radial-from-pos":[{"mask-radial-from":rt()}],"mask-image-radial-to-pos":[{"mask-radial-to":rt()}],"mask-image-radial-from-color":[{"mask-radial-from":H()}],"mask-image-radial-to-color":[{"mask-radial-to":H()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":q()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":rt()}],"mask-image-conic-to-pos":[{"mask-conic-to":rt()}],"mask-image-conic-from-color":[{"mask-conic-from":H()}],"mask-image-conic-to-color":[{"mask-conic-to":H()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:at()}],"mask-repeat":[{mask:ut()}],"mask-size":[{mask:D()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",it,nt]}],filter:[{filter:["","none",it,nt]}],blur:[{blur:Yt()}],brightness:[{brightness:[bt,it,nt]}],contrast:[{contrast:[bt,it,nt]}],"drop-shadow":[{"drop-shadow":["","none",T,Xo,Yo]}],"drop-shadow-color":[{"drop-shadow":H()}],grayscale:[{grayscale:["",bt,it,nt]}],"hue-rotate":[{"hue-rotate":[bt,it,nt]}],invert:[{invert:["",bt,it,nt]}],saturate:[{saturate:[bt,it,nt]}],sepia:[{sepia:["",bt,it,nt]}],"backdrop-filter":[{"backdrop-filter":["","none",it,nt]}],"backdrop-blur":[{"backdrop-blur":Yt()}],"backdrop-brightness":[{"backdrop-brightness":[bt,it,nt]}],"backdrop-contrast":[{"backdrop-contrast":[bt,it,nt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,it,nt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,it,nt]}],"backdrop-invert":[{"backdrop-invert":["",bt,it,nt]}],"backdrop-opacity":[{"backdrop-opacity":[bt,it,nt]}],"backdrop-saturate":[{"backdrop-saturate":[bt,it,nt]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,it,nt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",it,nt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",it,nt]}],ease:[{ease:["linear","initial",N,it,nt]}],delay:[{delay:[bt,it,nt]}],animate:[{animate:["none",U,it,nt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,it,nt]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:Nt()}],"rotate-x":[{"rotate-x":Nt()}],"rotate-y":[{"rotate-y":Nt()}],"rotate-z":[{"rotate-z":Nt()}],scale:[{scale:Ue()}],"scale-x":[{"scale-x":Ue()}],"scale-y":[{"scale-y":Ue()}],"scale-z":[{"scale-z":Ue()}],"scale-3d":["scale-3d"],skew:[{skew:on()}],"skew-x":[{"skew-x":on()}],"skew-y":[{"skew-y":on()}],transform:[{transform:[it,nt,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ln()}],"translate-x":[{"translate-x":ln()}],"translate-y":[{"translate-y":ln()}],"translate-z":[{"translate-z":ln()}],"translate-none":["translate-none"],accent:[{accent:H()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:H()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",it,nt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",it,nt]}],fill:[{fill:["none",...H()]}],"stroke-w":[{stroke:[bt,Js,Xi,lf]}],stroke:[{stroke:["none",...H()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}
97,sC=PA(aC);function Ee(...n){return sC(cb(n))}const rC=dA,Tb=S.forwardRef(({className:n,...i},s)=>E.jsx(ib,{ref:s,className:Ee("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]",n),...i}));Tb.displayName=ib.displayName;const oC=hA("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"}}),Eb=S.forwardRef(({className:n,variant:i,...s},o)=>E.jsx(ab,{ref:o,className:Ee(oC({variant:i}),n),...s}));Eb.displayName=ab.displayName;const lC=S.forwardRef(({className:n,...i},s)=>E.jsx(ob,{ref:s,className:Ee("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",n),...i}));lC.displayName=ob.displayName;const wb=S.forwardRef(({className:n,...i},s)=>E.jsx(lb,{ref:s,className:Ee("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n),"toast-close":"",...i,children:E.jsx(AA,{className:"h-4 w-4"})}));wb.displayName=lb.displayName;const Ab=S.forwardRef(({className:n,...i},s)=>E.jsx(sb,{ref:s,className:Ee("text-sm font-semibold",n),...i}));Ab.displayName=sb.displayName;const Cb=S.forwardRef(({className:n,...i},s)=>E.jsx(rb,{ref:s,className:Ee("text-sm opacity-90",n),...i}));Cb.displayName=rb.displayName;function uC(){const{toasts:n}=z0();return E.jsxs(rC,{children:[n.map(function({id:i,title:s,description:o,action:l,...f}){return E.jsxs(Eb,{...f,children:[E.jsxs("div",{className:"grid gap-1",children:[s&&E.jsx(Ab,{children:s}),o&&E.jsx(Cb,{children:o})]}),l,E.jsx(wb,{})]},i)}),E.jsx(Tb,{})]})}function Ba(n,i,{checkForDefaultPrevented:s=!0}={}){return function(l){if(n?.(l),s===!1||!l.defaultPrevented)return i?.(l)}}function uf(n,i,{checkForDefaultPrevented:s=!0}={}){return function(l){if(n?.(l),s===!1||!l.defaultPrevented)return i?.(l)}}function cC(n){const i=fC(n),s=S.forwardRef((o,l)=>{const{children:f,...d}=o,h=S.Children.toArray(f),p=h.find(hC);if(p){const m=p.props.children,y=h.map(v=>v===p?S.Children.count(m)>1?S.Children.only(null):S.isValidElement(m)?m.props.children:null:v);return E.jsx(i,{...d,ref:l,children:S.isValidElement(m)?S.cloneElement(m,void 0,y):null})}return E.jsx(i,{...d,ref:l,children:f})});return s.displayName=`${n}.Slot`,s}function fC(n){const i=S.forwardRef((s,o)=>{const{children:l,...f}=s;if(S.isValidElement(l)){const d=pC(l),h=mC(f,l.props);return l.type!==S.Fragment&&(h.ref=o?md(o,d):d),S.cloneElement(l,h)}return S.Children.count(l)>1?S.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var dC=Symbol("radix.slottable");function hC(n){return S.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===dC}function mC(n,i){const s={...i};for(const o in i){const l=n[o],f=i[o];/^on[A-Z]/.test(o)?l&&f?s[o]=(...h)=>{const p=f(...h);return l(...h),p}:l&&(s[o]=l):o==="style"?s[o]={...l,...f}
vendor: 4,190 bytes, line 97
97:o==="className"&&(s[o]=[l,f].filter(Boolean).join(" "))}return{...n,...s}}function pC(n){let i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=Object.getOwnPropertyDescriptor(n,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var yC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ei=yC.reduce((n,i)=>{const s=cC(`Primitive.${i}`),o=S.forwardRef((l,f)=>{const{asChild:d,...h}=l,p=d?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(p,{...h,ref:f})});return o.displayName=`Primitive.${i}`,{...n,[i]:o}},{});function gC(n,i){n&&yr.flushSync(()=>n.dispatchEvent(i))}var vC="DismissableLayer",Uf="dismissableLayer.update",bC="dismissableLayer.pointerDownOutside",xC="dismissableLayer.focusOutside",Xg,Mb=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Db=S.forwardRef((n,i)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:f,onInteractOutside:d,onDismiss:h,...p}=n,m=S.useContext(Mb),[y,v]=S.useState(null),x=y?.ownerDocument??globalThis?.document,[,T]=S.useState({}),C=Te(i,P=>v(P)),w=Array.from(m.layers),[M]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),N=w.indexOf(M),U=y?w.indexOf(y):-1,j=m.layersWithOutsidePointerEventsDisabled.size>0,q=U>=N,G=EC(P=>{const V=P.target,I=[...m.branches].some(et=>et.contains(V));!q||I||(l?.(P),d?.(P),P.defaultPrevented||h?.())},x),Z=wC(P=>{const V=P.target;[...m.branches].some(et=>et.contains(V))||(f?.(P),d?.(P),P.defaultPrevented||h?.())},x);return U0(P=>{U===m.layers.size-1&&(o?.(P),!P.defaultPrevented&&h&&(P.preventDefault(),h()))},x),S.useEffect(()=>{if(y)return s&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Xg=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(y)),m.layers.add(y),Kg(),()=>{s&&m.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=Xg)}},[y,x,s,m]),S.useEffect(()=>()=>{y&&(m.layers.delete(y),m.layersWithOutsidePointerEventsDisabled.delete(y),Kg())},[y,m]),S.useEffect(()=>{const P=()=>T({});return document.addEventListener(Uf,P),()=>document.removeEventListener(Uf,P)},[]),E.jsx(Ei.div,{...p,ref:C,style:{pointerEvents:j?q?"auto":"none":void 0,...n.style},onFocusCapture:uf(n.onFocusCapture,Z.onFocusCapture),onBlurCapture:uf(n.onBlurCapture,Z.onBlurCapture),onPointerDownCapture:uf(n.onPointerDownCapture,G.onPointerDownCapture)})});Db.displayName=vC;var SC="DismissableLayerBranch",TC=S.forwardRef((n,i)=>{const s=S.useContext(Mb),o=S.useRef(null),l=Te(i,o);return S.useEffect(()=>{const f=o.current;if(f)return s.branches.add(f),()=>{s.branches.delete(f)}},[s.branches]),E.jsx(Ei.div,{...n,ref:l})});TC.displayName=SC;function EC(n,i=globalThis?.document){const s=We(n),o=S.useRef(!1),l=S.useRef(()=>{});return S.useEffect(()=>{const f=h=>{if(h.target&&!o.current){let p=function(){Ob(bC,s,m,{discrete:!0})};const m={originalEvent:h};h.pointerType==="touch"?(i.removeEventListener("click",l.current),l.current=p,i.addEventListener("click",l.current,{once:!0})):p()}else i.removeEventListener("click",l.current);o.current=!1},d=window.setTimeout(()=>{i.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(d),i.removeEventListener("pointerdown",f),i.removeEventListener("click",l.current)}},[i,s]),{onPointerDownCapture:()=>o.current=!0}}function wC(n,i=globalThis?.document){const s=We(n),o=S.useRef(!1);return S.useEffect(()=>{const l=f=>{f.target&&!o.current&&Ob(xC,s,{originalEvent:f},{discrete:!1})};return i.addEventListener("focusin",l),()=>i.removeEventListener("focusin",l)},[i,s]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Kg(){const n=new CustomEvent(Uf);document.dispatchEvent(n)}function Ob(n,i,s,{discrete:o}){const l=s.originalEvent.target,f=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:s});i&&l.addEventListener(n,i,{once:!0}),o?gC(l,f):l.dispatchEvent(f)}const AC=["top","right","bottom","left"],bi=Math.min,ze=Math.max,sl=Math.round,Ko=Math.floor,mn=n=>({x:n,y:n}
vendor: 16,331 bytes, line 97
97),CC={left:"right",right:"left",bottom:"top",top:"bottom"},MC={start:"end",end:"start"};function Bf(n,i,s){return ze(n,bi(i,s))}function Hn(n,i){return typeof n=="function"?n(i):n}function kn(n){return n.split("-")[0]}function Wa(n){return n.split("-")[1]}function xd(n){return n==="x"?"y":"x"}function Sd(n){return n==="y"?"height":"width"}const DC=new Set(["top","bottom"]);function hn(n){return DC.has(kn(n))?"y":"x"}function Td(n){return xd(hn(n))}function OC(n,i,s){s===void 0&&(s=!1);const o=Wa(n),l=Td(n),f=Sd(l);let d=l==="x"?o===(s?"end":"start")?"right":"left":o==="start"?"bottom":"top";return i.reference[f]>i.floating[f]&&(d=rl(d)),[d,rl(d)]}function RC(n){const i=rl(n);return[Pf(n),i,Pf(i)]}function Pf(n){return n.replace(/start|end/g,i=>MC[i])}const Qg=["left","right"],Fg=["right","left"],NC=["top","bottom"],jC=["bottom","top"];function _C(n,i,s){switch(n){case"top":case"bottom":return s?i?Fg:Qg:i?Qg:Fg;case"left":case"right":return i?NC:jC;default:return[]}}function zC(n,i,s,o){const l=Wa(n);let f=_C(kn(n),s==="start",o);return l&&(f=f.map(d=>d+"-"+l),i&&(f=f.concat(f.map(Pf)))),f}function rl(n){return n.replace(/left|right|bottom|top/g,i=>CC[i])}function LC(n){return{top:0,right:0,bottom:0,left:0,...n}}function Rb(n){return typeof n!="number"?LC(n):{top:n,right:n,bottom:n,left:n}}function ol(n){const{x:i,y:s,width:o,height:l}=n;return{width:o,height:l,top:s,left:i,right:i+o,bottom:s+l,x:i,y:s}}function Zg(n,i,s){let{reference:o,floating:l}=n;const f=hn(i),d=Td(i),h=Sd(d),p=kn(i),m=f==="y",y=o.x+o.width/2-l.width/2,v=o.y+o.height/2-l.height/2,x=o[h]/2-l[h]/2;let T;switch(p){case"top":T={x:y,y:o.y-l.height};break;case"bottom":T={x:y,y:o.y+o.height};break;case"right":T={x:o.x+o.width,y:v};break;case"left":T={x:o.x-l.width,y:v};break;default:T={x:o.x,y:o.y}}switch(Wa(i)){case"start":T[d]-=x*(s&&m?-1:1);break;case"end":T[d]+=x*(s&&m?-1:1);break}return T}const VC=async(n,i,s)=>{const{placement:o="bottom",strategy:l="absolute",middleware:f=[],platform:d}=s,h=f.filter(Boolean),p=await(d.isRTL==null?void 0:d.isRTL(i));let m=await d.getElementRects({reference:n,floating:i,strategy:l}),{x:y,y:v}=Zg(m,o,p),x=o,T={},C=0;for(let w=0;w<h.length;w++){const{name:M,fn:N}=h[w],{x:U,y:j,data:q,reset:G}=await N({x:y,y:v,initialPlacement:o,placement:x,strategy:l,middlewareData:T,rects:m,platform:d,elements:{reference:n,floating:i}});y=U??y,v=j??v,T={...T,[M]:{...T[M],...q}},G&&C<=50&&(C++,typeof G=="object"&&(G.placement&&(x=G.placement),G.rects&&(m=G.rects===!0?await d.getElementRects({reference:n,floating:i,strategy:l}):G.rects),{x:y,y:v}=Zg(m,x,p)),w=-1)}return{x:y,y:v,placement:x,strategy:l,middlewareData:T}};async function lr(n,i){var s;i===void 0&&(i={});const{x:o,y:l,platform:f,rects:d,elements:h,strategy:p}=n,{boundary:m="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:x=!1,padding:T=0}=Hn(i,n),C=Rb(T),M=h[x?v==="floating"?"reference":"floating":v],N=ol(await f.getClippingRect({element:(s=await(f.isElement==null?void 0:f.isElement(M)))==null||s?M:M.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(h.floating)),boundary:m,rootBoundary:y,strategy:p})),U=v==="floating"?{x:o,y:l,width:d.floating.width,height:d.floating.height}:d.reference,j=await(f.getOffsetParent==null?void 0:f.getOffsetParent(h.floating)),q=await(f.isElement==null?void 0:f.isElement(j))?await(f.getScale==null?void 0:f.getScale(j))||{x:1,y:1}:{x:1,y:1},G=ol(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:U,offsetParent:j,strategy:p}):U);return{top:(N.top-G.top+C.top)/q.y,bottom:(G.bottom-N.bottom+C.bottom)/q.y,left:(N.left-G.left+C.left)/q.x,right:(G.right-N.right+C.right)/q.x}}const UC=n=>({name:"arrow",options:n,async fn(i){const{x:s,y:o,placement:l,rects:f,platform:d,elements:h,middlewareData:p}=i,{element:m,padding:y=0}=Hn(n,i)||{};if(m==null)return{};const v=Rb(y),x={x:s,y:o},T=Td(l),C=Sd(T),w=await d.getDimensions(m),M=T==="y",N=M?"top":"left",U=M?"bottom":"right",j=M?"clientHeight":"clientWidth",q=f.reference[C]+f.reference[T]-x[T]-f.floating[C],G=x[T]-f.reference[T],Z=await(d.getOffsetParent==null?void 0:d.getOffsetParent(m));let P=Z?Z[j]:0;(!P||!await(d.isElement==null?void 0:d.isElement(Z)))&&(P=h.floating[j]||f.floating[C]);const V=q/2-G/2,I=P/2-w[C]/2-1,et=bi(v[N],I),ht=bi(v[U],I),pt=et,wt=P-w[C]-ht,W=P/2-w[C]/2+V,dt=Bf(pt,W,wt),_=!p.arrow&&Wa(l)!=null&&W!==dt&&f.reference[C]/2-(W<pt?et:ht)-w[C]/2<0,Y=_?W<pt?W-pt:W-wt:0;return{[T]:x[T]+Y,data:{[T]:dt,centerOffset:W-dt-Y,..._&&{alignmentOffset:Y}},reset:_}}}),BC=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(i){var s,o;const{placement:l,middlewareData:f,rects:d,initialPlacement:h,platform:p,elements:m}=i,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:x,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:w=!0,...M}=Hn(n,i);if((s=f.arrow)!=null&&s.alignmentOffset)return{};const N=kn(l),U=hn(h),j=kn(h)===h,q=await(p.isRTL==null?void 0:p.isRTL(m.floating)),G=x||(j||!w?[rl(h)]:RC(h)),Z=C!=="none";!x&&Z&&G.push(...zC(h,w,C,q));const P=[h,...G],V=await lr(i,M),I=[];let et=((o=f.flip)==null?void 0:o.overflows)||[];if(y&&I.push(V[N]),v){const W=OC(l,d,q);I.push(V[W[0]],V[W[1]])}if(et=[...et,{placement:l,overflows:I}],!I.every(W=>W<=0)){var ht,pt;const W=(((ht=f.flip)==null?void 0:ht.index)||0)+1,dt=P[W];if(dt&&(!(v==="alignment"?U!==hn(dt):!1)||et.every(H=>hn(H.placement)===U?H.overflows[0]>0:!0)))return{data:{index:W,overflows:et},reset:{placement:dt}};let _=(pt=et.filter(Y=>Y.overflows[0]<=0).sort((Y,H)=>Y.overflows[1]-H.overflows[1])[0])==null?void 0:pt.placement;if(!_)switch(T){case"bestFit":{var wt;const Y=(wt=et.filter(H=>{if(Z){const at=hn(H.placement);return at===U||at==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(at=>at>0).reduce((at,ut)=>at+ut,0)]).sort((H,at)=>H[1]-at[1])[0])==null?void 0:wt[0];Y&&(_=Y);break}case"initialPlacement":_=h;break}if(l!==_)return{reset:{placement:_}}}return{}}}};function $g(n,i){return{top:n.top-i.height,right:n.right-i.width,bottom:n.bottom-i.height,left:n.left-i.width}}function Jg(n){return AC.some(i=>n[i]>=0)}const PC=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(i){const{rects:s}=i,{strategy:o="referenceHidden",...l}=Hn(n,i);switch(o){case"referenceHidden":{const f=await lr(i,{...l,elementContext:"reference"}),d=$g(f,s.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:Jg(d)}}}case"escaped":{const f=await lr(i,{...l,altBoundary:!0}),d=$g(f,s.floating);return{data:{escapedOffsets:d,escaped:Jg(d)}}}default:return{}}}}},Nb=new Set(["left","top"]);async function HC(n,i){const{placement:s,platform:o,elements:l}=n,f=await(o.isRTL==null?void 0:o.isRTL(l.floating)),d=kn(s),h=Wa(s),p=hn(s)==="y",m=Nb.has(d)?-1:1,y=f&&p?-1:1,v=Hn(i,n);let{mainAxis:x,crossAxis:T,alignmentAxis:C}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return h&&typeof C=="number"&&(T=h==="end"?C*-1:C),p?{x:T*y,y:x*m}:{x:x*m,y:T*y}}const kC=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(i){var s,o;const{x:l,y:f,placement:d,middlewareData:h}=i,p=await HC(i,n);return d===((s=h.offset)==null?void 0:s.placement)&&(o=h.arrow)!=null&&o.alignmentOffset?{}:{x:l+p.x,y:f+p.y,data:{...p,placement:d}}}}},qC=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(i){const{x:s,y:o,placement:l}=i,{mainAxis:f=!0,crossAxis:d=!1,limiter:h={fn:M=>{let{x:N,y:U}=M;return{x:N,y:U}}},...p}=Hn(n,i),m={x:s,y:o},y=await lr(i,p),v=hn(kn(l)),x=xd(v);let T=m[x],C=m[v];if(f){const M=x==="y"?"top":"left",N=x==="y"?"bottom":"right",U=T+y[M],j=T-y[N];T=Bf(U,T,j)}if(d){const M=v==="y"?"top":"left",N=v==="y"?"bottom":"right",U=C+y[M],j=C-y[N];C=Bf(U,C,j)}const w=h.fn({...i,[x]:T,[v]:C});return{...w,data:{x:w.x-s,y:w.y-o,enabled:{[x]:f,[v]:d}}}}}},GC=function(n){return n===void 0&&(n={}),{options:n,fn(i){const{x:s,y:o,placement:l,rects:f,middlewareData:d}=i,{offset:h=0,mainAxis:p=!0,crossAxis:m=!0}=Hn(n,i),y={x:s,y:o},v=hn(l),x=xd(v);let T=y[x],C=y[v];const w=Hn(h,i),M=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(p){const j=x==="y"?"height":"width",q=f.reference[x]-f.floating[j]+M.mainAxis,G=f.reference[x]+f.reference[j]-M.mainAxis;T<q?T=q:T>G&&(T=G)}if(m){var N,U;const j=x==="y"?"width":"height",q=Nb.has(kn(l)),G=f.reference[v]-f.floating[j]+(q&&((N=d.offset)==null?void 0:N[v])||0)+(q?0:M.crossAxis),Z=f.reference[v]+f.reference[j]+(q?0:((U=d.offset)==null?void 0:U[v])||0)-(q?M.crossAxis:0);C<G?C=G:C>Z&&(C=Z)}return{[x]:T,[v]:C}}}},YC=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(i){var s,o;const{placement:l,rects:f,platform:d,elements:h}=i,{apply:p=()=>{},...m}=Hn(n,i),y=await lr(i,m),v=kn(l),x=Wa(l),T=hn(l)==="y",{width:C,height:w}=f.floating;let M,N;v==="top"||v==="bottom"?(M=v,N=x===(await(d.isRTL==null?void 0:d.isRTL(h.floating))?"start":"end")?"left":"right"):(N=v,M=x==="end"?"top":"bottom");const U=w-y.top-y.bottom,j=C-y.left-y.right,q=bi(w-y[M],U),G=bi(C-y[N],j),Z=!i.middlewareData.shift;let P=q,V=G;if((s=i.middlewareData.shift)!=null&&s.enabled.x&&(V=j),(o=i.middlewareData.shift)!=null&&o.enabled.y&&(P=U),Z&&!x){const et=ze(y.left,0),ht=ze(y.right,0),pt=ze(y.top,0),wt=ze(y.bottom,0);T?V=C-2*(et!==0||ht!==0?et+ht:ze(y.left,y.right)):P=w-2*(pt!==0||wt!==0?pt+wt:ze(y.top,y.bottom))}await p({...i,availableWidth:V,availableHeight:P});const I=await d.getDimensions(h.floating);return C!==I.width||w!==I.height?{reset:{rects:!0}}:{}}}};function Tl(){return typeof window<"u"}function Ia(n){return jb(n)?(n.nodeName||"").toLowerCase():"#document"}function Ve(n){var i;return(n==null||(i=n.ownerDocument)==null?void 0:i.defaultView)||window}function xn(n){var i;return(i=(jb(n)?n.ownerDocument:n.document)||window.document)==null?void 0:i.documentElement}function jb(n){return Tl()?n instanceof Node||n instanceof Ve(n).Node:!1}function sn(n){return Tl()?n instanceof Element||n instanceof Ve(n).Element:!1}function vn(n){return Tl()?n instanceof HTMLElement||n instanceof Ve(n).HTMLElement:!1}function Wg(n){return!Tl()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Ve(n).ShadowRoot}const XC=new Set(["inline","contents"]);function gr(n){const{overflow:i,overflowX:s,overflowY:o,display:l}=rn(n);return/auto|scroll|overlay|hidden|clip/.test(i+o+s)&&!XC.has(l)}const KC=new Set(["table","td","th"]);function QC(n){return KC.has(Ia(n))}const FC=[":popover-open",":modal"];function El(n){return FC.some(i=>{try{return n.matches(i)}catch{return!1}})}const ZC=["transform","translate","scale","rotate","perspective"],$C=["transform","translate","scale","rotate","perspective","filter"],JC=["paint","layout","strict","content"];function Ed(n){const i=wd(),s=sn(n)?rn(n):n;return ZC.some(o=>s[o]?s[o]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!i&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!i&&(s.filter?s.filter!=="none":!1)||$C.some(o=>(s.willChange||"").includes(o))||JC.some(o=>(s.contain||"").includes(o))}function WC(n){let i=xi(n);for(;vn(i)&&!Ka(i);){if(Ed(i))return i;if(El(i))return null;i=xi(i)}return null}function wd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const IC=new Set(["html","body","#document"]);function Ka(n){return IC.has(Ia(n))}function rn(n){return Ve(n).getComputedStyle(n)}function wl(n){return sn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function xi(n){if(Ia(n)==="html")return n;const i=n.assignedSlot||n.parentNode||Wg(n)&&n.host||xn(n);return Wg(i)?i.host:i}function _b(n){const i=xi(n);return Ka(i)?n.ownerDocument?n.ownerDocument.body:n.body:vn(i)&&gr(i)?i:_b(i)}function ur(n,i,s){var o;i===void 0&&(i=[]),s===void 0&&(s=!0);const l=_b(n),f=l===((o=n.ownerDocument)==null?void 0:o.body),d=Ve(l);if(f){const h=Hf(d);return i.concat(d,d.visualViewport||[],gr(l)?l:[],h&&s?ur(h):[])}return i.concat(l,ur(l,[],s))}function Hf(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function zb(n){const i=rn(n);let s=parseFloat(i.width)||0,o=parseFloat(i.height)||0;const l=vn(n),f=l?n.offsetWidth:s,d=l?n.offsetHeight:o,h=sl(s)!==f||sl(o)!==d;return h&&(s=f,o=d),{width:s,height:o,$:h}}function Ad(n){return sn(n)?n:n.contextElement}function Ya(n){const i=Ad(n);if(!vn(i))return mn(1);const s=i.getBoundingClientRect(),{width:o,height:l,$:f}=zb(i);let d=(f?sl(s.width):s.width)/o,h=(f?sl(s.height):s.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!h||!Number.isFinite(h))&&(h=1),{x:d,y:h}}const tM=mn(0);function Lb(n){const i=Ve(n);return!wd()||!i.visualViewport?tM:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function eM(n,i,s){return i===void 0&&(i=!1),!s||i&&s!==Ve(n)?!1:i}function Wi(n,i,s,o){i===void 0&&(i=!1),s===void 0&&(s=!1);const l=n.getBoundingClientRect(),f=Ad(n);let d=mn(1);i&&(o?sn(o)&&(d=Ya(o)):d=Ya(n));const h=eM(f,s,o)?Lb(f):mn(0);let p=(l.left+h.x)/d.x,m=(l.top+h.y)/d.y,y=l.width/d.x,v=l.height/d.y;if(f){const x=Ve(f),T=o&&sn(o)?Ve(o):o;let C=x,w=Hf(C);for(;w&&o&&T!==C;){const M=Ya(w),N=w.getBoundingClientRect(),U=rn(w),j=N.left+(w.clientLeft+parseFloat(U.paddingLeft))*M.x,q=N.top+(w.clientTop+parseFloat(U.paddingTop))*M.y;p*=M.x,m*=M.y,y*=M.x,v*=M.y,p+=j,m+=q,C=Ve(w),w=Hf(C)}}return ol({width:y,height:v,x:p,y:m})}function Al(n,i){const s=wl(n).scrollLeft;return i?i.left+s:Wi(xn(n)).left+s}function Vb(n,i){const s=n.getBoundingClientRect(),o=s.left+i.scrollLeft-Al(n,s),l=s.top+i.scrollTop;return{x:o,y:l}}function nM(n){let{elements:i,rect:s,offsetParent:o,strategy:l}=n;const f=l==="fixed",d=xn(o),h=i?El(i.floating):!1;if(o===d||h&&f)return s;let p={scrollLeft:0,scrollTop:0},m=mn(1);const y=mn(0),v=vn(o);if((v||!v&&!f)&&((Ia(o)!=="body"||gr(d))&&(p=wl(o)),vn(o))){const T=Wi(o);m=Ya(o),y.x=T.x+o.clientLeft,y.y=T.y+o.clientTop}const x=d&&!v&&!f?Vb(d,p):mn(0);return{width:s.width*m.x,height:s.height*m.y,x:s.x*m.x-p.scrollLeft*m.x+y.x+x.x,y:s.y*m.y-p.scrollTop*m.y+y.y+x.y}}function iM(n){return Array.from(n.getClientRects())}function aM(n){const i=xn(n),s=wl(n),o=n.ownerDocument.body,l=ze(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),f=ze(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight);let d=-s.scrollLeft+Al(n);const h=-s.scrollTop;return rn(o).direction==="rtl"&&(d+=ze(i.clientWidth,o.clientWidth)-l),{width:l,height:f,x:d,y:h}}const Ig=25;function sM(n,i){const s=Ve(n),o=xn(n),l=s.visualViewport;let f=o.clientWidth,d=o.clientHeight,h=0,p=0;if(l){f=l.width,d=l.height;const y=wd();(!y||y&&i==="fixed")&&(h=l.offsetLeft,p=l.offsetTop)}const m=Al(o);if(m<=0){const y=o.ownerDocument,v=y.body,x=getComputedStyle(v),T=y.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,C=Math.abs(o.clientWidth-v.clientWidth-T);C<=Ig&&(f-=C)}else m<=Ig&&(f+=m);return{width:f,height:d,x:h,y:p}}const rM=new Set(["absolute","fixed"]);function oM(n,i){const s=Wi(n,!0,i==="fixed"),o=s.top+n.clientTop,l=s.left+n.clientLeft,f=vn(n)?Ya(n):mn(1),d=n.clientWidth*f.x,h=n.clientHeight*f.y,p=l*f.x,m=o*f.y;return{width:d,height:h,x:p,y:m}}function tv(n,i,s){let o;if(i==="viewport")o=sM(n,s);else if(i==="document")o=aM(xn(n));else if(sn(i))o=oM(i,s);else{const l=Lb(n);o={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return ol(o)}function Ub(n,i){const s=xi(n);return s===i||!sn(s)||Ka(s)?!1:rn(s).position==="fixed"||Ub(s,i)}function lM(n,i){const s=i.get(n);if(s)return s;let o=ur(n,[],!1).filter(h=>sn(h)&&Ia(h)!=="body"),l=null;const f=rn(n).position==="fixed";let d=f?xi(n):n;for(;sn(d)&&!Ka(d);){const h=rn(d),p=Ed(d);!p&&h.position==="fixed"&&(l=null),(f?!p&&!l:!p&&h.position==="static"&&!!l&&rM.has(l.position)||gr(d)&&!p&&Ub(n,d))?o=o.filter(y=>y!==d):l=h,d=xi(d)}return i.set(n,o),o}function uM(n){let{element:i,boundary:s,rootBoundary:o,strategy:l}=n;const d=[...s==="clippingAncestors"?El(i)?[]:lM(i,this._c):[].concat(s),o],h=d[0],p=d.reduce((m,y)=>{const v=tv(i,y,l);return m.top=ze(v.top,m.top),m.right=bi(v.right,m.right),m.bottom=bi(v.bottom,m.bottom),m.left=ze(v.left,m.left),m},tv(i,h,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function cM(n){const{width:i,height:s}=zb(n);return{width:i,height:s}}
vendor: 4,572 bytes, line 97
97function fM(n,i,s){const o=vn(i),l=xn(i),f=s==="fixed",d=Wi(n,!0,f,i);let h={scrollLeft:0,scrollTop:0};const p=mn(0);function m(){p.x=Al(l)}if(o||!o&&!f)if((Ia(i)!=="body"||gr(l))&&(h=wl(i)),o){const T=Wi(i,!0,f,i);p.x=T.x+i.clientLeft,p.y=T.y+i.clientTop}else l&&m();f&&!o&&l&&m();const y=l&&!o&&!f?Vb(l,h):mn(0),v=d.left+h.scrollLeft-p.x-y.x,x=d.top+h.scrollTop-p.y-y.y;return{x:v,y:x,width:d.width,height:d.height}}function cf(n){return rn(n).position==="static"}function ev(n,i){if(!vn(n)||rn(n).position==="fixed")return null;if(i)return i(n);let s=n.offsetParent;return xn(n)===s&&(s=s.ownerDocument.body),s}function Bb(n,i){const s=Ve(n);if(El(n))return s;if(!vn(n)){let l=xi(n);for(;l&&!Ka(l);){if(sn(l)&&!cf(l))return l;l=xi(l)}return s}let o=ev(n,i);for(;o&&QC(o)&&cf(o);)o=ev(o,i);return o&&Ka(o)&&cf(o)&&!Ed(o)?s:o||WC(n)||s}const dM=async function(n){const i=this.getOffsetParent||Bb,s=this.getDimensions,o=await s(n.floating);return{reference:fM(n.reference,await i(n.floating),n.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function hM(n){return rn(n).direction==="rtl"}const mM={convertOffsetParentRelativeRectToViewportRelativeRect:nM,getDocumentElement:xn,getClippingRect:uM,getOffsetParent:Bb,getElementRects:dM,getClientRects:iM,getDimensions:cM,getScale:Ya,isElement:sn,isRTL:hM};function Pb(n,i){return n.x===i.x&&n.y===i.y&&n.width===i.width&&n.height===i.height}function pM(n,i){let s=null,o;const l=xn(n);function f(){var h;clearTimeout(o),(h=s)==null||h.disconnect(),s=null}function d(h,p){h===void 0&&(h=!1),p===void 0&&(p=1),f();const m=n.getBoundingClientRect(),{left:y,top:v,width:x,height:T}=m;if(h||i(),!x||!T)return;const C=Ko(v),w=Ko(l.clientWidth-(y+x)),M=Ko(l.clientHeight-(v+T)),N=Ko(y),j={rootMargin:-C+"px "+-w+"px "+-M+"px "+-N+"px",threshold:ze(0,bi(1,p))||1};let q=!0;function G(Z){const P=Z[0].intersectionRatio;if(P!==p){if(!q)return d();P?d(!1,P):o=setTimeout(()=>{d(!1,1e-7)},1e3)}P===1&&!Pb(m,n.getBoundingClientRect())&&d(),q=!1}try{s=new IntersectionObserver(G,{...j,root:l.ownerDocument})}catch{s=new IntersectionObserver(G,j)}s.observe(n)}return d(!0),f}function yM(n,i,s,o){o===void 0&&(o={});const{ancestorScroll:l=!0,ancestorResize:f=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:p=!1}=o,m=Ad(n),y=l||f?[...m?ur(m):[],...ur(i)]:[];y.forEach(N=>{l&&N.addEventListener("scroll",s,{passive:!0}),f&&N.addEventListener("resize",s)});const v=m&&h?pM(m,s):null;let x=-1,T=null;d&&(T=new ResizeObserver(N=>{let[U]=N;U&&U.target===m&&T&&(T.unobserve(i),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var j;(j=T)==null||j.observe(i)})),s()}),m&&!p&&T.observe(m),T.observe(i));let C,w=p?Wi(n):null;p&&M();function M(){const N=Wi(n);w&&!Pb(w,N)&&s(),w=N,C=requestAnimationFrame(M)}return s(),()=>{var N;y.forEach(U=>{l&&U.removeEventListener("scroll",s),f&&U.removeEventListener("resize",s)}),v?.(),(N=T)==null||N.disconnect(),T=null,p&&cancelAnimationFrame(C)}}const gM=kC,vM=qC,bM=BC,xM=YC,SM=PC,nv=UC,TM=GC,EM=(n,i,s)=>{const o=new Map,l={platform:mM,...s},f={...l.platform,_c:o};return VC(n,i,{...l,platform:f})};var wM=typeof document<"u",AM=function(){},Io=wM?S.useLayoutEffect:AM;function ll(n,i){if(n===i)return!0;if(typeof n!=typeof i)return!1;if(typeof n=="function"&&n.toString()===i.toString())return!0;let s,o,l;if(n&&i&&typeof n=="object"){if(Array.isArray(n)){if(s=n.length,s!==i.length)return!1;for(o=s;o--!==0;)if(!ll(n[o],i[o]))return!1;return!0}if(l=Object.keys(n),s=l.length,s!==Object.keys(i).length)return!1;for(o=s;o--!==0;)if(!{}.hasOwnProperty.call(i,l[o]))return!1;for(o=s;o--!==0;){const f=l[o];if(!(f==="_owner"&&n.$$typeof)&&!ll(n[f],i[f]))return!1}return!0}return n!==n&&i!==i}function Hb(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function iv(n,i){const s=Hb(n);return Math.round(i*s)/s}function ff(n){const i=S.useRef(n);return Io(()=>{i.current=n}),i}function CM(n){n===void 0&&(n={});const{placement:i="bottom",strategy:s="absolute",middleware:o=[],platform:l,elements:{reference:f,floating:d}={},transform:h=!0,whileElementsMounted:p,open:m}=n,[y,v]=S.useState({x:0,y:0,strategy:s,placement:i,middlewareData:{},isPositioned:!1}),[x,T]=S.useState(o);ll(x,o)||T(o);const[C,w]=S.useState(null),[M,N]=S.useState(null),U=S.useCallback(H=>{H!==Z.current&&(Z.current=H,w(H))},[]),j=S.useCallback(H=>{H!==P.current&&(P.current=H,N(H))},[]),q=f||C,G=d||M,Z=S.useRef(null),P=S.useRef(null),V=S.useRef(y),I=p!=null,et=ff(p),ht=ff(l),pt=ff(m),wt=S.useCallback(()=>
vendor: 4,973 bytes, line 97
97{if(!Z.current||!P.current)return;const H={placement:i,strategy:s,middleware:x};ht.current&&(H.platform=ht.current),EM(Z.current,P.current,H).then(at=>{const ut={...at,isPositioned:pt.current!==!1};W.current&&!ll(V.current,ut)&&(V.current=ut,yr.flushSync(()=>{v(ut)}))})},[x,i,s,ht,pt]);Io(()=>{m===!1&&V.current.isPositioned&&(V.current.isPositioned=!1,v(H=>({...H,isPositioned:!1})))},[m]);const W=S.useRef(!1);Io(()=>(W.current=!0,()=>{W.current=!1}),[]),Io(()=>{if(q&&(Z.current=q),G&&(P.current=G),q&&G){if(et.current)return et.current(q,G,wt);wt()}},[q,G,wt,et,I]);const dt=S.useMemo(()=>({reference:Z,floating:P,setReference:U,setFloating:j}),[U,j]),_=S.useMemo(()=>({reference:q,floating:G}),[q,G]),Y=S.useMemo(()=>{const H={position:s,left:0,top:0};if(!_.floating)return H;const at=iv(_.floating,y.x),ut=iv(_.floating,y.y);return h?{...H,transform:"translate("+at+"px, "+ut+"px)",...Hb(_.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:at,top:ut}},[s,h,_.floating,y.x,y.y]);return S.useMemo(()=>({...y,update:wt,refs:dt,elements:_,floatingStyles:Y}),[y,wt,dt,_,Y])}const MM=n=>{function i(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:n,fn(s){const{element:o,padding:l}=typeof n=="function"?n(s):n;return o&&i(o)?o.current!=null?nv({element:o.current,padding:l}).fn(s):{}:o?nv({element:o,padding:l}).fn(s):{}}}},DM=(n,i)=>({...gM(n),options:[n,i]}),OM=(n,i)=>({...vM(n),options:[n,i]}),RM=(n,i)=>({...TM(n),options:[n,i]}),NM=(n,i)=>({...bM(n),options:[n,i]}),jM=(n,i)=>({...xM(n),options:[n,i]}),_M=(n,i)=>({...SM(n),options:[n,i]}),zM=(n,i)=>({...MM(n),options:[n,i]});var LM="Arrow",kb=S.forwardRef((n,i)=>{const{children:s,width:o=10,height:l=5,...f}=n;return E.jsx(Ei.svg,{...f,ref:i,width:o,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?s:E.jsx("polygon",{points:"0,0 30,0 15,10"})})});kb.displayName=LM;var VM=kb;function UM(n){const[i,s]=S.useState(void 0);return gn(()=>{if(n){s({width:n.offsetWidth,height:n.offsetHeight});const o=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const f=l[0];let d,h;if("borderBoxSize"in f){const p=f.borderBoxSize,m=Array.isArray(p)?p[0]:p;d=m.inlineSize,h=m.blockSize}else d=n.offsetWidth,h=n.offsetHeight;s({width:d,height:h})});return o.observe(n,{box:"border-box"}),()=>o.unobserve(n)}else s(void 0)},[n]),i}var qb="Popper",[Gb,Yb]=vl(qb),[f3,Xb]=Gb(qb),Kb="PopperAnchor",Qb=S.forwardRef((n,i)=>{const{__scopePopper:s,virtualRef:o,...l}=n,f=Xb(Kb,s),d=S.useRef(null),h=Te(i,d),p=S.useRef(null);return S.useEffect(()=>{const m=p.current;p.current=o?.current||d.current,m!==p.current&&f.onAnchorChange(p.current)}),o?null:E.jsx(Ei.div,{...l,ref:h})});Qb.displayName=Kb;var Cd="PopperContent",[BM,PM]=Gb(Cd),Fb=S.forwardRef((n,i)=>{const{__scopePopper:s,side:o="bottom",sideOffset:l=0,align:f="center",alignOffset:d=0,arrowPadding:h=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:x=!1,updatePositionStrategy:T="optimized",onPlaced:C,...w}=n,M=Xb(Cd,s),[N,U]=S.useState(null),j=Te(i,rt=>U(rt)),[q,G]=S.useState(null),Z=UM(q),P=Z?.width??0,V=Z?.height??0,I=o+(f!=="center"?"-"+f:""),et=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ht=Array.isArray(m)?m:[m],pt=ht.length>0,wt={padding:et,boundary:ht.filter(kM),altBoundary:pt},{refs:W,floatingStyles:dt,placement:_,isPositioned:Y,middlewareData:H}=CM({strategy:"fixed",placement:I,whileElementsMounted:(...rt)=>yM(...rt,{animationFrame:T==="always"}),elements:{reference:M.anchor},middleware:[DM({mainAxis:l+V,alignmentAxis:d}),p&&OM({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?RM():void 0,...wt}),p&&NM({...wt}),jM({...wt,apply:({elements:rt,rects:Yt,availableWidth:Nt,availableHeight:Ue})=>{const{width:on,height:ln}=Yt.reference,Ai=rt.floating.style;Ai.setProperty("--radix-popper-available-width",`${Nt}px`),Ai.setProperty("--radix-popper-available-height",`${Ue}px`),Ai.setProperty("--radix-popper-anchor-width",`${on}px`),Ai.setProperty("--radix-popper-anchor-height",`${ln}px`)}}),q&&zM({element:q,padding:h}),qM({arrowWidth:P,arrowHeight:V}),x&&_M({strategy:"referenceHidden",...wt})]}),[at,ut]=Jb(_),D=We(C);gn(()=>{Y&&D?.()},[Y,D]);const K=H.arrow?.x,$=H.arrow?.y,J=H.arrow?.centerOffset!==0,[ct,yt]=S.useState();return gn(()=>{N&&yt(window.getComputedStyle(N).zIndex)},[N]),E.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...dt,transform:Y?dt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ct,"--radix-popper-transform-origin":[H.transformOrigin?.x,H.transformOrigin?.y].join(" "),...H.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:E.jsx(BM,{scope:s,placedSide:at,onArrowChange:G,arrowX:K,arrowY:$,shouldHideArrow:J,children:E.jsx(Ei.div,{"data-side":at,"data-align":ut,...w,ref:j,style:{...w.style,animation:Y?void 0:"none"}})})})});Fb.displayName=Cd;var Zb="PopperArrow",HM={top:"bottom",right:"left",bottom:"top",left:"r
97ight"},$b=S.forwardRef(function(i,s){const{__scopePopper:o,...l}=i,f=PM(Zb,o),d=HM[f.placedSide];return E.jsx("span",{ref:f.onArrowChange,style:{position:"absolute",left:f.arrowX,top:f.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[f.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[f.placedSide],visibility:f.shouldHideArrow?"hidden":void 0},children:E.jsx(VM,{...l,ref:s,style:{...l.style,display:"block"}})})});$b.displayName=Zb;function kM(n){return n!==null}var qM=n=>({name:"transformOrigin",options:n,fn(i){const{placement:s,rects:o,middlewareData:l}=i,d=l.arrow?.centerOffset!==0,h=d?0:n.arrowWidth,p=d?0:n.arrowHeight,[m,y]=Jb(s),v={start:"0%",center:"50%",end:"100%"}[y],x=(l.arrow?.x??0)+h/2,T=(l.arrow?.y??0)+p/2;let C="",w="";return m==="bottom"?(C=d?v:`${x}px`,w=`${-p}px`):m==="top"?(C=d?v:`${x}px`,w=`${o.floating.height+p}px`):m==="right"?(C=`${-p}px`,w=d?v:`${T}px`):m==="left"&&(C=`${o.floating.width+p}px`,w=d?v:`${T}px`),{data:{x:C,y:w}}}});function Jb(n){const[i,s="center"]=n.split("-");return[i,s]}var GM=Qb,YM=Fb,XM=$b,KM="Portal",Wb=S.forwardRef((n,i)=>{const{container:s,...o}=n,[l,f]=S.useState(!1);gn(()=>f(!0),[]);const d=s||l&&globalThis?.document?.body;return d?L0.createPortal(E.jsx(Ei.div,{...o,ref:i}),d):null});Wb.displayName=KM;function QM(n,i){return S.useReducer((s,o)=>i[s][o]??s,n)}var Md=n=>{const{present:i,children:s}=n,o=FM(i),l=typeof s=="function"?s({present:o.isPresent}):S.Children.only(s),f=Te(o.ref,ZM(l));return typeof s=="function"||o.isPresent?S.cloneElement(l,{ref:f}):null};Md.displayName="Presence";function FM(n){const[i,s]=S.useState(),o=S.useRef(null),l=S.useRef(n),f=S.useRef("none"),d=n?"mounted":"unmounted",[h,p]=QM(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const m=Qo(o.current);f.current=h==="mounted"?m:"none"},[h]),gn(()=>{const m=o.current,y=l.current;if(y!==n){const x=f.current,T=Qo(m);n?p("MOUNT"):T==="none"||m?.display==="none"?p("UNMOUNT"):p(y&&x!==T?"ANIMATION_OUT":"UNMOUNT"),l.current=n}},[n,p]),gn(()=>{if(i){let m;const y=i.ownerDocument.defaultView??window,v=T=>{const w=Qo(o.current).includes(CSS.escape(T.animationName));if(T.target===i&&w&&(p("ANIMATION_END"),!l.current)){const M=i.style.animationFillMode;i.style.animationFillMode="forwards",m=y.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=M)})}},x=T=>{T.target===i&&(f.current=Qo(o.current))};return i.addEventListener("animationstart",x),i.addEventListener("animationcancel",v),i.addEventListener("animationend",v),()=>{y.clearTimeout(m),i.removeEventListener("animationstart",x),i.removeEventListener("animationcancel",v),i.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:S.useCallback(m=>{o.current=m?getComputedStyle(m):null,s(m)},[])}}function Qo(n){return n?.animationName||"none"}function ZM(n){let i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=Object.getOwnPropertyDescriptor(n,"ref")?.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var $M=Symbol("radix.slottable");function JM(n){const i=({children:s})=>E.jsx(E.Fragment,{children:s});return i.displayName=`${n}.Slottable`,i.__radixId=$M,i}var WM=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"}),IM="VisuallyHidden",Ib=S.forwardRef((n,i)=>E.jsx(Ei.span,{...n,ref:i,style:{...WM,...n.style}}));Ib.displayName=IM;var tD=Ib,[Cl]=vl("Tooltip",[Yb]),Dd=Yb(),tx="TooltipProvider",eD=700,av="tooltip.open",[nD,ex]=Cl(tx),nx=n=>{const{__scopeTooltip:i,delayDuration:s=eD,skipDelayDuration:o=300,disableHoverableContent:l=!1,children:f}=n,d=S.useRef(!0),h=S.useRef(!1),p=S.useRef(0);return S.useEffect(()=>{const m=p.current;return()=>window.clearTimeout(m)},[]),E.jsx(nD,{scope:i,isOpenDelayedRef:d,delayDuration:s,onOpen:S.useCallback(()=>{window.clearTimeout(p.current),d.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>d.current=!0,o)},[o]),isPointerInTransitRef:h,onPointerInTransitChange:S.useCallback(m=>{h.current=m},[]),disableHoverableContent:l,children:f})};nx.displayName=tx;var ix="Tooltip",[d3,vr]=Cl(ix),kf="TooltipTrigger",iD=S.forwardRef((n,i)=>{const{__scopeTooltip:s,...o}=n,l=vr(kf,s),f=ex(kf,s),d=Dd(s),h=S.useRef(null),p=Te(i,h,l.onTriggerChange),m=S.useRef(!1),y=S.useRef(!1),v=S.useCallback(()=>m.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),E.jsx(GM,{asChild:!0,...d,children:E.jsx(Ei.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...o,ref:p,onPointerMove:Ba(n.onPointerMove,x=>{x.pointerType!=="touch"&&!y.current&&!f.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:Ba(n.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:Ba(n.onPointerDown,()=>{l.open&&l.onClose(),m.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:Ba(n.onFocus,()=>{m.current||l.onOpen()}),onBlur:Ba(n.onBlur,l.onClose),onClick:Ba(n.onClick,l.onClose)})})});iD.displayName=kf;var Od="TooltipPortal",[aD,sD]=Cl(Od,{forceMount:void 0}),ax=n=>{const{__scopeTooltip:i,forceMount:s,children:o,container:l}=n,f=vr(Od,i);return E.jsx(aD,{scope:i,forceMount:s,children:E.jsx(Md,{present:s||f.open,children:E.jsx(Wb,{asChild:!0,container:l,children:o})})})};ax.displayName=Od;var Qa="TooltipContent",sx=S.forwardRef((n,i)=>{const s=sD(Qa,n.__scopeTooltip),{forceMount:o=s.forceMount,side:l="top",...f}=n,d=vr(Qa,n.__scopeTooltip);return E.jsx(Md,{present:o||d.open,children:d.disableHoverableContent?E.jsx(rx,{side:l,...f,ref:i}):E.jsx(rD,{side:l,...f,ref:i})})}),rD=S.forwardRef((n,i)=>{const s=vr(Qa,n.__scopeTooltip),o=ex(Qa,n.__scopeTooltip),l=S.useRef(null),f=Te(i,l),[d,h]=S.useState(null),{trigger:p,onClose:m}=s,y=l.current,{onPointerInTransitChange:v}=o,x=S.useCallback(()=>{h(null),v(!1)},[v]),T=S.useCallback((C,w)=>{const M=C.currentTarget,N={x:C.clientX,y:C.clientY},U=fD(N,M.getBoundingClientRect()),j=dD(N,U),q=hD(w.getBoundingClientRect()),G=pD([...j,...q]);h(G),v(!0)},[v]);return S.useEffect(()=>()=>x(),[x]),S.useEffect(()=>{if(p&&y){const C=M=>T(M,y),w=M=>T(M,p);return p.addEventListener("pointerleave",C),y.addEventListener("pointerleave",w),()=>{p.removeEventListener("pointerleave",C),y.removeEventListener("pointerleave",w)}}},[p,y,T,x]),S.useEffect(()=>{if(d){const C=w=>{const M=w.target,N={x:w.clientX,y:w.clientY},U=p?.contains(M)||y?.contains(M),j=!mD(N,d);U?x():j&&(x(),m())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[p,y,d,m,x]),E.jsx(rx,{...n,ref:f})}),[oD,lD]=Cl(ix,{isInside:!1}),uD=JM("TooltipContent"),rx=S.forwardRef((n,i)=>{const{__scopeTooltip:s,children:o,"aria-label":l,onEscapeKeyDown:f,onPointerDownOutside:d,...h}=n,p=vr(Qa,s),m=Dd(s),{onClose:y}=p;return S.useEffect(()=>(document.addEventListener(av,y),()=>document.removeEventListener(av,y)),[y]),S.useEffect(()=>
vendor: 4,817 bytes, line 97
97{if(p.trigger){const v=x=>{x.target?.contains(p.trigger)&&y()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[p.trigger,y]),E.jsx(Db,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:f,onPointerDownOutside:d,onFocusOutside:v=>v.preventDefault(),onDismiss:y,children:E.jsxs(YM,{"data-state":p.stateAttribute,...m,...h,ref:i,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[E.jsx(uD,{children:o}),E.jsx(oD,{scope:s,isInside:!0,children:E.jsx(tD,{id:p.contentId,role:"tooltip",children:l||o})})]})})});sx.displayName=Qa;var ox="TooltipArrow",cD=S.forwardRef((n,i)=>{const{__scopeTooltip:s,...o}=n,l=Dd(s);return lD(ox,s).isInside?null:E.jsx(XM,{...l,...o,ref:i})});cD.displayName=ox;function fD(n,i){const s=Math.abs(i.top-n.y),o=Math.abs(i.bottom-n.y),l=Math.abs(i.right-n.x),f=Math.abs(i.left-n.x);switch(Math.min(s,o,l,f)){case f:return"left";case l:return"right";case s:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function dD(n,i,s=5){const o=[];switch(i){case"top":o.push({x:n.x-s,y:n.y+s},{x:n.x+s,y:n.y+s});break;case"bottom":o.push({x:n.x-s,y:n.y-s},{x:n.x+s,y:n.y-s});break;case"left":o.push({x:n.x+s,y:n.y-s},{x:n.x+s,y:n.y+s});break;case"right":o.push({x:n.x-s,y:n.y-s},{x:n.x-s,y:n.y+s});break}return o}function hD(n){const{top:i,right:s,bottom:o,left:l}=n;return[{x:l,y:i},{x:s,y:i},{x:s,y:o},{x:l,y:o}]}function mD(n,i){const{x:s,y:o}=n;let l=!1;for(let f=0,d=i.length-1;f<i.length;d=f++){const h=i[f],p=i[d],m=h.x,y=h.y,v=p.x,x=p.y;y>o!=x>o&&s<(v-m)*(o-y)/(x-y)+m&&(l=!l)}return l}function pD(n){const i=n.slice();return i.sort((s,o)=>s.x<o.x?-1:s.x>o.x?1:s.y<o.y?-1:s.y>o.y?1:0),yD(i)}function yD(n){if(n.length<=1)return n.slice();const i=[];for(let o=0;o<n.length;o++){const l=n[o];for(;i.length>=2;){const f=i[i.length-1],d=i[i.length-2];if((f.x-d.x)*(l.y-d.y)>=(f.y-d.y)*(l.x-d.x))i.pop();else break}i.push(l)}i.pop();const s=[];for(let o=n.length-1;o>=0;o--){const l=n[o];for(;s.length>=2;){const f=s[s.length-1],d=s[s.length-2];if((f.x-d.x)*(l.y-d.y)>=(f.y-d.y)*(l.x-d.x))s.pop();else break}s.push(l)}return s.pop(),i.length===1&&s.length===1&&i[0].x===s[0].x&&i[0].y===s[0].y?i:i.concat(s)}var gD=nx,vD=ax,lx=sx;const bD=gD,xD=S.forwardRef(({className:n,sideOffset:i=4,...s},o)=>E.jsx(vD,{children:E.jsx(lx,{ref:o,sideOffset:i,className:Ee("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]",n),...s})}));xD.displayName=lx.displayName;const ux=S.forwardRef(({className:n,...i},s)=>E.jsx("div",{ref:s,className:Ee("rounded-xl border bg-card text-card-foreground shadow",n),...i}));ux.displayName="Card";const SD=S.forwardRef(({className:n,...i},s)=>E.jsx("div",{ref:s,className:Ee("flex flex-col space-y-1.5 p-6",n),...i}));SD.displayName="CardHeader";const TD=S.forwardRef(({className:n,...i},s)=>E.jsx("div",{ref:s,className:Ee("font-semibold leading-none tracking-tight",n),...i}));TD.displayName="CardTitle";const ED=S.forwardRef(({className:n,...i},s)=>E.jsx("div",{ref:s,className:Ee("text-sm text-muted-foreground",n),...i}));ED.displayName="CardDescription";const cx=S.forwardRef(({className:n,...i},s)=>E.jsx("div",{ref:s,className:Ee("p-6 pt-0",n),...i}));cx.displayName="CardContent";const wD=S.forwardRef(({className:n,...i},s)=>E.jsx("div",{ref:s,className:Ee("flex items-center p-6 pt-0",n),...i}));wD.displayName="CardFooter";function AD(){return E.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:E.jsx(ux,{className:"w-full max-w-md mx-4",children:E.jsxs(cx,{className:"pt-6",children:[E.jsxs("div",{className:"flex mb-4 gap-2",children:[E.jsx(TA,{className:"h-8 w-8 text-red-500"}),E.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),E.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const fx=S.createContext({});function CD(n){const i=S.useRef(null);return i.current===null&&(i.current=n()),i.current}const Rd=typeof window<"u",MD=Rd?S.useLayoutEffect:S.useEffect,Nd=S.createContext(null);
vendor: 39,752 bytes, line 97
97function jd(n,i){n.indexOf(i)===-1&&n.push(i)}function _d(n,i){const s=n.indexOf(i);s>-1&&n.splice(s,1)}const qn=(n,i,s)=>s>i?i:s<n?n:s;let zd=()=>{};const Gn={},dx=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function hx(n){return typeof n=="object"&&n!==null}const mx=n=>/^0[^.\s]+$/u.test(n);function Ld(n){let i;return()=>(i===void 0&&(i=n()),i)}const Je=n=>n,DD=(n,i)=>s=>i(n(s)),br=(...n)=>n.reduce(DD),cr=(n,i,s)=>{const o=i-n;return o===0?1:(s-n)/o};class Vd{constructor(){this.subscriptions=[]}add(i){return jd(this.subscriptions,i),()=>_d(this.subscriptions,i)}notify(i,s,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](i,s,o);else for(let f=0;f<l;f++){const d=this.subscriptions[f];d&&d(i,s,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const pn=n=>n*1e3,$e=n=>n/1e3;function px(n,i){return i?n*(1e3/i):0}const yx=(n,i,s)=>(((1-3*s+3*i)*n+(3*s-6*i))*n+3*i)*n,OD=1e-7,RD=12;function ND(n,i,s,o,l){let f,d,h=0;do d=i+(s-i)/2,f=yx(d,o,l)-n,f>0?s=d:i=d;while(Math.abs(f)>OD&&++h<RD);return d}function xr(n,i,s,o){if(n===i&&s===o)return Je;const l=f=>ND(f,0,1,n,s);return f=>f===0||f===1?f:yx(l(f),i,o)}const gx=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,vx=n=>i=>1-n(1-i),bx=xr(.33,1.53,.69,.99),Ud=vx(bx),xx=gx(Ud),Sx=n=>(n*=2)<1?.5*Ud(n):.5*(2-Math.pow(2,-10*(n-1))),Bd=n=>1-Math.sin(Math.acos(n)),Tx=vx(Bd),Ex=gx(Bd),jD=xr(.42,0,1,1),_D=xr(0,0,.58,1),wx=xr(.42,0,.58,1),zD=n=>Array.isArray(n)&&typeof n[0]!="number",Ax=n=>Array.isArray(n)&&typeof n[0]=="number",LD={linear:Je,easeIn:jD,easeInOut:wx,easeOut:_D,circIn:Bd,circInOut:Ex,circOut:Tx,backIn:Ud,backInOut:xx,backOut:bx,anticipate:Sx},VD=n=>typeof n=="string",sv=n=>{if(Ax(n)){zd(n.length===4);const[i,s,o,l]=n;return xr(i,s,o,l)}else if(VD(n))return LD[n];return n},Fo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function UD(n,i){let s=new Set,o=new Set,l=!1,f=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(y){d.has(y)&&(m.schedule(y),n()),y(h)}const m={schedule:(y,v=!1,x=!1)=>{const C=x&&l?s:o;return v&&d.add(y),C.has(y)||C.add(y),y},cancel:y=>{o.delete(y),d.delete(y)},process:y=>{if(h=y,l){f=!0;return}l=!0,[s,o]=[o,s],s.forEach(p),s.clear(),l=!1,f&&(f=!1,m.process(y))}};return m}const BD=40;function Cx(n,i){let s=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},f=()=>s=!0,d=Fo.reduce((j,q)=>(j[q]=UD(f),j),{}),{setup:h,read:p,resolveKeyframes:m,preUpdate:y,update:v,preRender:x,render:T,postRender:C}=d,w=()=>{const j=Gn.useManualTiming?l.timestamp:performance.now();s=!1,Gn.useManualTiming||(l.delta=o?1e3/60:Math.max(Math.min(j-l.timestamp,BD),1)),l.timestamp=j,l.isProcessing=!0,h.process(l),p.process(l),m.process(l),y.process(l),v.process(l),x.process(l),T.process(l),C.process(l),l.isProcessing=!1,s&&i&&(o=!1,n(w))},M=()=>{s=!0,o=!0,l.isProcessing||n(w)};return{schedule:Fo.reduce((j,q)=>{const G=d[q];return j[q]=(Z,P=!1,V=!1)=>(s||M(),G.schedule(Z,P,V)),j},{}),cancel:j=>{for(let q=0;q<Fo.length;q++)d[Fo[q]].cancel(j)},state:l,steps:d}}const{schedule:Pt,cancel:Si,state:le,steps:df}=Cx(typeof requestAnimationFrame<"u"?requestAnimationFrame:Je,!0);let tl;function PD(){tl=void 0}const Se={now:()=>(tl===void 0&&Se.set(le.isProcessing||Gn.useManualTiming?le.timestamp:performance.now()),tl),set:n=>{tl=n,queueMicrotask(PD)}},Mx=n=>i=>typeof i=="string"&&i.startsWith(n),Pd=Mx("--"),HD=Mx("var(--"),Hd=n=>HD(n)?kD.test(n.split("/*")[0].trim()):!1,kD=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ts={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},fr={...ts,transform:n=>qn(0,1,n)},Zo={...ts,default:1},er=n=>Math.round(n*1e5)/1e5,kd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function qD(n){return n==null}const GD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qd=(n,i)=>s=>!!(typeof s=="string"&&GD.test(s)&&s.startsWith(n)||i&&!qD(s)&&Object.prototype.hasOwnProperty.call(s,i)),Dx=(n,i,s)=>o=>{if(typeof o!="string")return o;const[l,f,d,h]=o.match(kd);return{[n]:parseFloat(l),[i]:parseFloat(f),[s]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},YD=n=>qn(0,255,n),hf={...ts,transform:n=>Math.round(YD(n))},Fi={test:qd("rgb","red"),parse:Dx("red","green","blue"),transform:({red:n,green:i,blue:s,alpha:o=1})=>"rgba("+hf.transform(n)+", "+hf.transform(i)+", "+hf.transform(s)+", "+er(fr.transform(o))+")"};function XD(n){let i="",s="",o="",l="";return n.length>5?(i=n.substring(1,3),s=n.substring(3,5),o=n.substring(5,7),l=n.substring(7,9)):(i=n.substring(1,2),s=n.substring(2,3),o=n.substring(3,4),l=n.substring(4,5),i+=i,s+=s,o+=o,l+=l),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const qf={test:qd("#"),parse:XD,transform:Fi.transform},Sr=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),gi=Sr("deg"),yn=Sr("%"),ft=Sr("px"),KD=Sr("vh"),QD=Sr("vw"),rv={...yn,parse:n=>yn.parse(n)/100,transform:n=>yn.transform(n*100)},Pa={test:qd("hsl","hue"),parse:Dx("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:s,alpha:o=1})=>"hsla("+Math.round(n)+", "+yn.transform(er(i))+", "+yn.transform(er(s))+", "+er(fr.transform(o))+")"},Wt={test:n=>Fi.test(n)||qf.test(n)||Pa.test(n),parse:n=>Fi.test(n)?Fi.parse(n):Pa.test(n)?Pa.parse(n):qf.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Fi.transform(n):Pa.transform(n),getAnimatableNone:n=>{const i=Wt.parse(n);return i.alpha=0,Wt.transform(i)}},FD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ZD(n){return isNaN(n)&&typeof n=="string"&&(n.match(kd)?.length||0)+(n.match(FD)?.length||0)>0}const Ox="number",Rx="color",$D="var",JD="var(",ov="${}",WD=/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 dr(n){const i=n.toString(),s=[],o={color:[],number:[],var:[]},l=[];let f=0;const h=i.replace(WD,p=>(Wt.test(p)?(o.color.push(f),l.push(Rx),s.push(Wt.parse(p))):p.startsWith(JD)?(o.var.push(f),l.push($D),s.push(p)):(o.number.push(f),l.push(Ox),s.push(parseFloat(p))),++f,ov)).split(ov);return{values:s,split:h,indexes:o,types:l}}function Nx(n){return dr(n).values}function jx(n){const{split:i,types:s}=dr(n),o=i.length;return l=>{let f="";for(let d=0;d<o;d++)if(f+=i[d],l[d]!==void 0){const h=s[d];h===Ox?f+=er(l[d]):h===Rx?f+=Wt.transform(l[d]):f+=l[d]}return f}}const ID=n=>typeof n=="number"?0:Wt.test(n)?Wt.getAnimatableNone(n):n;function tO(n){const i=Nx(n);return jx(n)(i.map(ID))}const Ti={test:ZD,parse:Nx,createTransformer:jx,getAnimatableNone:tO};function mf(n,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?n+(i-n)*6*s:s<1/2?i:s<2/3?n+(i-n)*(2/3-s)*6:n}function eO({hue:n,saturation:i,lightness:s,alpha:o}){n/=360,i/=100,s/=100;let l=0,f=0,d=0;if(!i)l=f=d=s;else{const h=s<.5?s*(1+i):s+i-s*i,p=2*s-h;l=mf(p,h,n+1/3),f=mf(p,h,n),d=mf(p,h,n-1/3)}return{red:Math.round(l*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:o}}function ul(n,i){return s=>s>0?i:n}const Ht=(n,i,s)=>n+(i-n)*s,pf=(n,i,s)=>{const o=n*n,l=s*(i*i-o)+o;return l<0?0:Math.sqrt(l)},nO=[qf,Fi,Pa],iO=n=>nO.find(i=>i.test(n));function lv(n){const i=iO(n);if(!i)return!1;let s=i.parse(n);return i===Pa&&(s=eO(s)),s}const uv=(n,i)=>{const s=lv(n),o=lv(i);if(!s||!o)return ul(n,i);const l={...s};return f=>(l.red=pf(s.red,o.red,f),l.green=pf(s.green,o.green,f),l.blue=pf(s.blue,o.blue,f),l.alpha=Ht(s.alpha,o.alpha,f),Fi.transform(l))},Gf=new Set(["none","hidden"]);function aO(n,i){return Gf.has(n)?s=>s<=0?n:i:s=>s>=1?i:n}function sO(n,i){return s=>Ht(n,i,s)}function Gd(n){return typeof n=="number"?sO:typeof n=="string"?Hd(n)?ul:Wt.test(n)?uv:lO:Array.isArray(n)?_x:typeof n=="object"?Wt.test(n)?uv:rO:ul}function _x(n,i){const s=[...n],o=s.length,l=n.map((f,d)=>Gd(f)(f,i[d]));return f=>{for(let d=0;d<o;d++)s[d]=l[d](f);return s}}function rO(n,i){const s={...n,...i},o={};for(const l in s)n[l]!==void 0&&i[l]!==void 0&&(o[l]=Gd(n[l])(n[l],i[l]));return l=>{for(const f in o)s[f]=o[f](l);return s}}function oO(n,i){const s=[],o={color:0,var:0,number:0};for(let l=0;l<i.values.length;l++){const f=i.types[l],d=n.indexes[f][o[f]],h=n.values[d]??0;s[l]=h,o[f]++}return s}const lO=(n,i)=>{const s=Ti.createTransformer(i),o=dr(n),l=dr(i);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?Gf.has(n)&&!l.values.length||Gf.has(i)&&!o.values.length?aO(n,i):br(_x(oO(o,l),l.values),s):ul(n,i)};function zx(n,i,s){return typeof n=="number"&&typeof i=="number"&&typeof s=="number"?Ht(n,i,s):Gd(n)(n,i)}const uO=n=>{const i=({timestamp:s})=>n(s);return{start:(s=!0)=>Pt.update(i,s),stop:()=>Si(i),now:()=>le.isProcessing?le.timestamp:Se.now()}},Lx=(n,i,s=10)=>{let o="";const l=Math.max(Math.round(i/s),2);for(let f=0;f<l;f++)o+=Math.round(n(f/(l-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},cl=2e4;function Yd(n){let i=0;const s=50;let o=n.next(i);for(;!o.done&&i<cl;)i+=s,o=n.next(i);return i>=cl?1/0:i}function cO(n,i=100,s){const o=s({...n,keyframes:[0,i]}),l=Math.min(Yd(o),cl);return{type:"keyframes",ease:f=>o.next(l*f).value/i,duration:$e(l)}}const fO=5;function Vx(n,i,s){const o=Math.max(i-fO,0);return px(s-n(o),i-o)}const Gt={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},yf=.001;function dO({duration:n=Gt.duration,bounce:i=Gt.bounce,velocity:s=Gt.velocity,mass:o=Gt.mass}){let l,f,d=1-i;d=qn(Gt.minDamping,Gt.maxDamping,d),n=qn(Gt.minDuration,Gt.maxDuration,$e(n)),d<1?(l=m=>{const y=m*d,v=y*n,x=y-s,T=Yf(m,d),C=Math.exp(-v);return yf-x/T*C},f=m=>{const v=m*d*n,x=v*s+s,T=Math.pow(d,2)*Math.pow(m,2)*n,C=Math.exp(-v),w=Yf(Math.pow(m,2),d);return(-l(m)+yf>0?-1:1)*((x-T)*C)/w}):(l=m=>{const y=Math.exp(-m*n),v=(m-s)*n+1;return-yf+y*v},f=m=>{const y=Math.exp(-m*n),v=(s-m)*(n*n);return y*v});const h=5/n,p=mO(l,f,h);if(n=pn(n),isNaN(p))return{stiffness:Gt.stiffness,damping:Gt.damping,duration:n};{const m=Math.pow(p,2)*o;return{stiffness:m,damping:d*2*Math.sqrt(o*m),duration:n}}}const hO=12;function mO(n,i,s){let o=s;for(let l=1;l<hO;l++)o=o-n(o)/i(o);return o}function Yf(n,i){return n*Math.sqrt(1-i*i)}const pO=["duration","bounce"],yO=["stiffness","damping","mass"];function cv(n,i){return i.some(s=>n[s]!==void 0)}function gO(n){let i={velocity:Gt.velocity,stiffness:Gt.stiffness,damping:Gt.damping,mass:Gt.mass,isResolvedFromDuration:!1,...n};if(!cv(n,yO)&&cv(n,pO))if(n.visualDuration){const s=n.visualDuration,o=2*Math.PI/(s*1.2),l=o*o,f=2*qn(.05,1,1-(n.bounce||0))*Math.sqrt(l);i={...i,mass:Gt.mass,stiffness:l,damping:f}}else{const s=dO(n);i={...i,...s,mass:Gt.mass},i.isResolvedFromDuration=!0}return i}function fl(n=Gt.visualDuration,i=Gt.bounce){const s=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:o,restDelta:l}=s;const f=s.keyframes[0],d=s.keyframes[s.keyframes.length-1],h={done:!1,value:f},{stiffness:p,damping:m,mass:y,duration:v,velocity:x,isResolvedFromDuration:T}=gO({...s,velocity:-$e(s.velocity||0)}),C=x||0,w=m/(2*Math.sqrt(p*y)),M=d-f,N=$e(Math.sqrt(p/y)),U=Math.abs(M)<5;o||(o=U?Gt.restSpeed.granular:Gt.restSpeed.default),l||(l=U?Gt.restDelta.granular:Gt.restDelta.default);let j;if(w<1){const G=Yf(N,w);j=Z=>{const P=Math.exp(-w*N*Z);return d-P*((C+w*N*M)/G*Math.sin(G*Z)+M*Math.cos(G*Z))}}else if(w===1)j=G=>d-Math.exp(-N*G)*(M+(C+N*M)*G);else{const G=N*Math.sqrt(w*w-1);j=Z=>{const P=Math.exp(-w*N*Z),V=Math.min(G*Z,300);return d-P*((C+w*N*M)*Math.sinh(V)+G*M*Math.cosh(V))/G}}const q={calculatedDuration:T&&v||null,next:G=>{const Z=j(G);if(T)h.done=G>=v;else{let P=G===0?C:0;w<1&&(P=G===0?pn(C):Vx(j,G,Z));const V=Math.abs(P)<=o,I=Math.abs(d-Z)<=l;h.done=V&&I}return h.value=h.done?d:Z,h},toString:()=>{const G=Math.min(Yd(q),cl),Z=Lx(P=>q.next(G*P).value,G,30);return G+"ms "+Z},toTransition:()=>{}};return q}fl.applyToOptions=n=>{const i=cO(n,100,fl);return n.ease=i.ease,n.duration=pn(i.duration),n.type="keyframes",n};function Xf({keyframes:n,velocity:i=0,power:s=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:f=500,modifyTarget:d,min:h,max:p,restDelta:m=.5,restSpeed:y}){const v=n[0],x={done:!1,value:v},T=V=>h!==void 0&&V<h||p!==void 0&&V>p,C=V=>h===void 0?p:p===void 0||Math.abs(h-V)<Math.abs(p-V)?h:p;let w=s*i;const M=v+w,N=d===void 0?M:d(M);N!==M&&(w=N-v);const U=V=>-w*Math.exp(-V/o),j=V=>N+U(V),q=V=>{const I=U(V),et=j(V);x.done=Math.abs(I)<=m,x.value=x.done?N:et};let G,Z;const P=V=>{T(x.value)&&(G=V,Z=fl({keyframes:[x.value,C(x.value)],velocity:Vx(j,V,x.value),damping:l,stiffness:f,restDelta:m,restSpeed:y}))};return P(0),{calculatedDuration:null,next:V=>{let I=!1;return!Z&&G===void 0&&(I=!0,q(V),P(V)),G!==void 0&&V>=G?Z.next(V-G):(!I&&q(V),x)}}}function vO(n,i,s){const o=[],l=s||Gn.mix||zx,f=n.length-1;for(let d=0;d<f;d++){let h=l(n[d],n[d+1]);if(i){const p=Array.isArray(i)?i[d]||Je:i;h=br(p,h)}o.push(h)}return o}function bO(n,i,{clamp:s=!0,ease:o,mixer:l}={}){const f=n.length;if(zd(f===i.length),f===1)return()=>i[0];if(f===2&&i[0]===i[1])return()=>i[1];const d=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),i=[...i].reverse());const h=vO(i,o,l),p=h.length,m=y=>{if(d&&y<n[0])return i[0];let v=0;if(p>1)for(;v<n.length-2&&!(y<n[v+1]);v++);const x=cr(n[v],n[v+1],y);return h[v](x)};return s?y=>m(qn(n[0],n[f-1],y)):m}function xO(n,i){const s=n[n.length-1];for(let o=1;o<=i;o++){const l=cr(0,i,o);n.push(Ht(s,1,l))}}function SO(n){const i=[0];return xO(i,n.length-1),i}function TO(n,i){return n.map(s=>s*i)}function EO(n,i){return n.map(()=>i||wx).splice(0,n.length-1)}function nr({duration:n=300,keyframes:i,times:s,ease:o="easeInOut"}){const l=zD(o)?o.map(sv):sv(o),f={done:!1,value:i[0]},d=TO(s&&s.length===i.length?s:SO(i),n),h=bO(d,i,{ease:Array.isArray(l)?l:EO(i,l)});return{calculatedDuration:n,next:p=>(f.value=h(p),f.done=p>=n,f)}}const wO=n=>n!==null;function Xd(n,{repeat:i,repeatType:s="loop"},o,l=1){const f=n.filter(wO),h=l<0||i&&s!=="loop"&&i%2===1?0:f.length-1;return!h||o===void 0?f[h]:o}const AO={decay:Xf,inertia:Xf,tween:nr,keyframes:nr,spring:fl};function Ux(n){typeof n.type=="string"&&(n.type=AO[n.type])}class Kd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const CO=n=>n/100;class Qd extends Kd{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Se.now()&&this.tick(Se.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;Ux(i);const{type:s=nr,repeat:o=0,repeatDelay:l=0,repeatType:f,velocity:d=0}=i;let{keyframes:h}=i;const p=s||nr;p!==nr&&typeof h[0]!="number"&&(this.mixKeyframes=br(CO,zx(h[0],h[1])),h=[0,100]);const m=p({...i,keyframes:h});f==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...h].reverse(),velocity:-d})),m.calculatedDuration===null&&(m.calculatedDuration=Yd(m));const{calculatedDuration:y}=m;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(o+1)-l,this.generator=m}updateTime(i){const s=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(i,s=!1){const{generator:o,totalDuration:l,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return o.next(0);const{delay:m=0,keyframes:y,repeat:v,repeatType:x,repeatDelay:T,type:C,onUpdate:w,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-l/this.speed,this.startTime)),s?this.currentTime=i:this.updateTime(i);const N=this.currentTime-m*(this.playbackSpeed>=0?1:-1),U=this.playbackSpeed>=0?N<0:N>l;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let j=this.currentTime,q=o;if(v){const V=Math.min(this.currentTime,l)/h;let I=Math.floor(V),et=V%1;!et&&V>=1&&(et=1),et===1&&I--,I=Math.min(I,v+1),!!(I%2)&&(x==="reverse"?(et=1-et,T&&(et-=T/h)):x==="mirror"&&(q=d)),j=qn(0,1,et)*h}const G=U?{done:!1,value:y[0]}:q.next(j);f&&(G.value=f(G.value));let{done:Z}=G;!U&&p!==null&&(Z=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Z);return P&&C!==Xf&&(G.value=Xd(y,this.options,M,this.speed)),w&&w(G.value),P&&this.finish(),G}then(i,s){return this.finished.then(i,s)}get duration(){return $e(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+$e(i)}get time(){return $e(this.currentTime)}set time(i){i=pn(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(i){this.updateTime(Se.now());const s=this.playbackSpeed!==i;this.playbackSpeed=i,s&&(this.time=$e(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=uO,startTime:s}=this.options;this.driver||(this.driver=i(l=>this.tick(l))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=s??o),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(Se.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function MO(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const Zi=n=>n*180/Math.PI,Kf=n=>{const i=Zi(Math.atan2(n[1],n[0]));return Qf(i)},DO={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:Kf,rotateZ:Kf,skewX:n=>Zi(Math.atan(n[1])),skewY:n=>Zi(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},Qf=n=>(n=n%360,n<0&&(n+=360),n),fv=Kf,dv=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),hv=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),OO={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:dv,scaleY:hv,scale:n=>(dv(n)+hv(n))/2,rotateX:n=>Qf(Zi(Math.atan2(n[6],n[5]))),rotateY:n=>Qf(Zi(Math.atan2(-n[2],n[0]))),rotateZ:fv,rotate:fv,skewX:n=>Zi(Math.atan(n[4])),skewY:n=>Zi(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Ff(n){return n.includes("scale")?1:0}function Zf(n,i){if(!n||n==="none")return Ff(i);const s=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,l;if(s)o=OO,l=s;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=DO,l=h}if(!l)return Ff(i);const f=o[i],d=l[1].split(",").map(NO);return typeof f=="function"?f(d):d[f]}const RO=(n,i)=>{const{transform:s="none"}=getComputedStyle(n);return Zf(s,i)};function NO(n){return parseFloat(n.trim())}const es=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ns=new Set(es),mv=n=>n===ts||n===ft,jO=new Set(["x","y","z"]),_O=es.filter(n=>!jO.has(n));function zO(n){const i=[];return _O.forEach(s=>{const o=n.getValue(s);o!==void 0&&(i.push([s,o.get()]),o.set(s.startsWith("scale")?1:0))}),i}const $i={width:({x:n},{paddingLeft:i="0",paddingRight:s="0"})=>n.max-n.min-parseFloat(i)-parseFloat(s),height:({y:n},{paddingTop:i="0",paddingBottom:s="0"})=>n.max-n.min-parseFloat(i)-parseFloat(s),top:(n,{top:i})=>parseFloat(i),left:(n,{left:i})=>parseFloat(i),bottom:({y:n},{top:i})=>parseFloat(i)+(n.max-n.min),right:({x:n},{left:i})=>parseFloat(i)+(n.max-n.min),x:(n,{transform:i})=>Zf(i,"x"),y:(n,{transform:i})=>Zf(i,"y")};$i.translateX=$i.x;$i.translateY=$i.y;const Ji=new Set;let $f=!1,Jf=!1,Wf=!1;function Bx(){if(Jf){const n=Array.from(Ji).filter(o=>o.needsMeasurement),i=new Set(n.map(o=>o.element)),s=new Map;i.forEach(o=>{const l=zO(o);l.length&&(s.set(o,l),o.render())}),n.forEach(o=>o.measureInitialState()),i.forEach(o=>{o.render();const l=s.get(o);l&&l.forEach(([f,d])=>{o.getValue(f)?.set(d)})}),n.forEach(o=>o.measureEndState()),n.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Jf=!1,$f=!1,Ji.forEach(n=>n.complete(Wf)),Ji.clear()}function Px(){Ji.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Jf=!0)})}function LO(){Wf=!0,Px(),Bx(),Wf=!1}class Fd{constructor(i,s,o,l,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=o,this.motionValue=l,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Ji.add(this),$f||($f=!0,Pt.read(Px),Pt.resolveKeyframes(Bx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:o,motionValue:l}=this;if(i[0]===null){const f=l?.get(),d=i[i.length-1];if(f!==void 0)i[0]=f;else if(o&&s){const h=o.readValue(s,d);h!=null&&(i[0]=h)}i[0]===void 0&&(i[0]=d),l&&f===void 0&&l.set(i[0])}MO(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),Ji.delete(this)}cancel(){this.state==="scheduled"&&(Ji.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const VO=n=>n.startsWith("--");function UO(n,i,s){VO(i)?n.style.setProperty(i,s):n.style[i]=s}const BO=Ld(()=>window.ScrollTimeline!==void 0),PO={};function HO(n,i){const s=Ld(n);return()=>PO[i]??s()}const Hx=HO(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Is=([n,i,s,o])=>`cubic-bezier(${n}, ${i}, ${s}, ${o})`,pv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Is([0,.65,.55,1]),circOut:Is([.55,0,1,.45]),backIn:Is([.31,.01,.66,-.59]),backOut:Is([.33,1.53,.69,.99])};function kx(n,i){if(n)return typeof n=="function"?Hx()?Lx(n,i):"ease-out":Ax(n)?Is(n):Array.isArray(n)?n.map(s=>kx(s,i)||pv.easeOut):pv[n]}function kO(n,i,s,{delay:o=0,duration:l=300,repeat:f=0,repeatType:d="loop",ease:h="easeOut",times:p}={},m=void 0){const y={[i]:s};p&&(y.offset=p);const v=kx(h,l);Array.isArray(v)&&(y.easing=v);const x={delay:o,duration:l,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return m&&(x.pseudoElement=m),n.animate(y,x)}function qx(n){return typeof n=="function"&&"applyToOptions"in n}function qO({type:n,...i}){return qx(n)&&Hx()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class GO extends Kd{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,!i)return;const{element:s,name:o,keyframes:l,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:h,onComplete:p}=i;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=i,zd(typeof i.type!="string");const m=qO(i);this.animation=kO(s,o,l,m,f),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const y=Xd(l,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(y):UO(s,o,y),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return $e(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+$e(i)}get time(){return $e(Number(this.animation.currentTime)||0)}set time(i){this.finishedTime=null,this.animation.currentTime=pn(i)}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(i){this.animation.startTime=i}attachTimeline({timeline:i,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&BO()?(this.animation.timeline=i,Je):s(this)}}const Gx={anticipate:Sx,backInOut:xx,circInOut:Ex};function YO(n){return n in Gx}function XO(n){typeof n.ease=="string"&&YO(n.ease)&&(n.ease=Gx[n.ease])}const yv=10;class KO extends GO{constructor(i){XO(i),Ux(i),super(i),i.startTime&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:o,onComplete:l,element:f,...d}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const h=new Qd({...d,autoplay:!1}),p=pn(this.finishedTime??this.time);s.setWithVelocity(h.sample(p-yv).value,h.sample(p).value,yv),h.stop()}}const gv=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(Ti.test(n)||n==="0")&&!n.startsWith("url("));function QO(n){const i=n[0];if(n.length===1)return!0;for(let s=0;s<n.length;s++)if(n[s]!==i)return!0}function FO(n,i,s,o){const l=n[0];if(l===null)return!1;if(i==="display"||i==="visibility")return!0;const f=n[n.length-1],d=gv(l,i),h=gv(f,i);return!d||!h?!1:QO(n)||(s==="spring"||qx(s))&&o}function If(n){n.duration=0,n.type="keyframes"}const ZO=new Set(["opacity","clipPath","filter","transform"]),$O=Ld(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function JO(n){const{motionValue:i,name:s,repeatDelay:o,repeatType:l,damping:f,type:d}=n;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:m}=i.owner.getProps();return $O()&&s&&ZO.has(s)&&(s!=="transform"||!m)&&!p&&!o&&l!=="mirror"&&f!==0&&d!=="inertia"}const WO=40;class IO extends Kd{constructor({autoplay:i=!0,delay:s=0,type:o="keyframes",repeat:l=0,repeatDelay:f=0,repeatType:d="loop",keyframes:h,name:p,motionValue:m,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Se.now();const x={autoplay:i,delay:s,type:o,repeat:l,repeatDelay:f,repeatType:d,name:p,motionValue:m,element:y,...v},T=y?.KeyframeResolver||Fd;this.keyframeResolver=new T(h,(C,w,M)=>this.onKeyframesResolved(C,w,x,!M),p,m,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,s,o,l){this.keyframeResolver=void 0;const{name:f,type:d,velocity:h,delay:p,isHandoff:m,onUpdate:y}=o;this.resolvedAt=Se.now(),FO(i,f,d,h)||((Gn.instantAnimations||!p)&&y?.(Xd(i,o,s)),i[0]=i[i.length-1],If(o),o.repeat=0);const x={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>WO?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...o,keyframes:i},T=!m&&JO(x)?new KO({...x,element:x.motionValue.owner.current}):new Qd(x);T.finished.then(()=>this.notifyFinished()).catch(Je),this.pendingTimeline&&(this.stopTimeline=T.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=T}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),LO()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const tR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function eR(n){const i=tR.exec(n);if(!i)return[,];const[,s,o,l]=i;return[`--${s??o}`,l]}function Yx(n,i,s=1){const[o,l]=eR(n);if(!o)return;const f=window.getComputedStyle(i).getPropertyValue(o);if(f){const d=f.trim();return dx(d)?parseFloat(d):d}return Hd(l)?Yx(l,i,s+1):l}function Zd(n,i){return n?.[i]??n?.default??n}const Xx=new Set(["width","height","top","left","right","bottom",...es]),nR={test:n=>n==="auto",parse:n=>n},Kx=n=>i=>i.test(n),Qx=[ts,ft,yn,gi,QD,KD,nR],vv=n=>Qx.find(Kx(n));function iR(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||mx(n):!0}const aR=new Set(["brightness","contrast","saturate","opacity"]);function sR(n){const[i,s]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[o]=s.match(kd)||[];if(!o)return n;const l=s.replace(o,"");let f=aR.has(i)?1:0;return o!==s&&(f*=100),i+"("+f+l+")"}const rR=/\b([a-z-]*)\(.*?\)/gu,td={...Ti,getAnimatableNone:n=>{const i=n.match(rR);return i?i.map(sR).join(" "):n}},bv={...ts,transform:Math.round},oR={rotate:gi,rotateX:gi,rotateY:gi,rotateZ:gi,scale:Zo,scaleX:Zo,scaleY:Zo,scaleZ:Zo,skew:gi,skewX:gi,skewY:gi,distance:ft,translateX:ft,translateY:ft,translateZ:ft,x:ft,y:ft,z:ft,perspective:ft,transformPerspective:ft,opacity:fr,originX:rv,originY:rv,originZ:ft},$d={borderWidth:ft,borderTopWidth:ft,borderRightWidth:ft,borderBottomWidth:ft,borderLeftWidth:ft,borderRadius:ft,radius:ft,borderTopLeftRadius:ft,borderTopRightRadius:ft,borderBottomRightRadius:ft,borderBottomLeftRadius:ft,width:ft,maxWidth:ft,height:ft,maxHeight:ft,top:ft,right:ft,bottom:ft,left:ft,padding:ft,paddingTop:ft,paddingRight:ft,paddingBottom:ft,paddingLeft:ft,margin:ft,marginTop:ft,marginRight:ft,marginBottom:ft,marginLeft:ft,backgroundPositionX:ft,backgroundPositionY:ft,...oR,zIndex:bv,fillOpacity:fr,strokeOpacity:fr,numOctaves:bv},lR={...$d,color:Wt,backgroundColor:Wt,outlineColor:Wt,fill:Wt,stroke:Wt,borderColor:Wt,borderTopColor:Wt,borderRightColor:Wt,borderBottomColor:Wt,borderLeftColor:Wt,filter:td,WebkitFilter:td},Fx=n=>lR[n];function Zx(n,i){let s=Fx(n);return s!==td&&(s=Ti),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const uR=new Set(["auto","none","0"]);function cR(n,i,s){let o=0,l;for(;o<n.length&&!l;){const f=n[o];typeof f=="string"&&!uR.has(f)&&dr(f).values.length&&(l=n[o]),o++}if(l&&s)for(const f of i)n[f]=Zx(s,l)}class fR extends Fd{constructor(i,s,o,l,f){super(i,s,o,l,f,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:o}=this;if(!s||!s.current)return;super.readKeyframes();for(let p=0;p<i.length;p++){let m=i[p];if(typeof m=="string"&&(m=m.trim(),Hd(m))){const y=Yx(m,s.current);y!==void 0&&(i[p]=y),p===i.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Xx.has(o)||i.length!==2)return;const[l,f]=i,d=vv(l),h=vv(f);if(d!==h)if(mv(d)&&mv(h))for(let p=0;p<i.length;p++){const m=i[p];typeof m=="string"&&(i[p]=parseFloat(m))}else $i[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,o=[];for(let l=0;l<i.length;l++)(i[l]===null||iR(i[l]))&&o.push(l);o.length&&cR(i,o,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:o}=this;if(!i||!i.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=$i[o](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&i.getValue(o,l).jump(l,!1)}measureEndState(){const{element:i,name:s,unresolvedKeyframes:o}=this;if(!i||!i.current)return;const l=i.getValue(s);l&&l.jump(this.measuredOrigin,!1);const f=o.length-1,d=o[f];o[f]=$i[s](i.measureViewportBox(),window.getComputedStyle(i.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,p])=>{i.getValue(h).set(p)}),this.resolveNoneKeyframes()}}function dR(n,i,s){if(n instanceof EventTarget)return[n];if(typeof n=="string"){let o=document;const l=s?.[n]??o.querySelectorAll(n);return l?Array.from(l):[]}return Array.from(n)}const $x=(n,i)=>i&&typeof n=="number"?i.transform(n):n;function hR(n){return hx(n)&&"offsetHeight"in n}const xv=30,mR=n=>!isNaN(parseFloat(n));class pR{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const l=Se.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=Se.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=mR(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,s){this.events[i]||(this.events[i]=new Vd);const o=this.events[i].add(s);return i==="change"?()=>{o(),Pt.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,s,o){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-o}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=Se.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>xv)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,xv);return px(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Fa(n,i){return new pR(n,i)}const{schedule:Jd}=Cx(queueMicrotask,!1),nn={x:!1,y:!1};function Jx(){return nn.x||nn.y}function yR(n){return n==="x"||n==="y"?nn[n]?null:(nn[n]=!0,()=>{nn[n]=!1}):nn.x||nn.y?null:(nn.x=nn.y=!0,()=>{nn.x=nn.y=!1})}function Wx(n,i){const s=dR(n),o=new AbortController,l={passive:!0,...i,signal:o.signal};return[s,l,()=>o.abort()]}function Sv(n){return!(n.pointerType==="touch"||Jx())}function gR(n,i,s={}){const[o,l,f]=Wx(n,s),d=h=>{if(!Sv(h))return;const{target:p}=h,m=i(p,h);if(typeof m!="function"||!p)return;const y=v=>{Sv(v)&&(m(v),p.removeEventListener("pointerleave",y))};p.addEventListener("pointerleave",y,l)};return o.forEach(h=>{h.addEventListener("pointerenter",d,l)}),f}const Ix=(n,i)=>i?n===i?!0:Ix(n,i.parentElement):!1,Wd=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,vR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function bR(n){return vR.has(n.tagName)||n.tabIndex!==-1}const el=new WeakSet;function Tv(n){return i=>{i.key==="Enter"&&n(i)}}function gf(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const xR=(n,i)=>{const s=n.currentTarget;if(!s)return;const o=Tv(()=>{if(el.has(s))return;gf(s,"down");const l=Tv(()=>{gf(s,"up")}),f=()=>gf(s,"cancel");s.addEventListener("keyup",l,i),s.addEventListener("blur",f,i)});s.addEventListener("keydown",o,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",o),i)};function Ev(n){return Wd(n)&&!Jx()}function SR(n,i,s={}){const[o,l,f]=Wx(n,s),d=h=>{const p=h.currentTarget;if(!Ev(h))return;el.add(p);const m=i(p,h),y=(T,C)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),el.has(p)&&el.delete(p),Ev(T)&&typeof m=="function"&&m(T,{success:C})},v=T=>{y(T,p===window||p===document||s.useGlobalTarget||Ix(p,T.target))},x=T=>{y(T,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",x,l)};return o.forEach(h=>{(s.useGlobalTarget?window:h).addEventListener("pointerdown",d,l),hR(h)&&(h.addEventListener("focus",m=>xR(m,l)),!bR(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),f}function tS(n){return hx(n)&&"ownerSVGElement"in n}function TR(n){return tS(n)&&n.tagName==="svg"}const ce=n=>!!(n&&n.getVelocity),ER=[...Qx,Wt,Ti],wR=n=>ER.find(Kx(n)),eS=S.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function AR(n=!0){const i=S.useContext(Nd);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:o,register:l}=i,f=S.useId();S.useEffect(()=>{if(n)return l(f)},[n]);const d=S.useCallback(()=>n&&o&&o(f),[f,o,n]);return!s&&o?[!1,d]:[!0]}const nS=S.createContext({strict:!1}),wv={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"]},Za={};for(const n in wv)Za[n]={isEnabled:i=>wv[n].some(s=>!!i[s])};function CR(n){for(const i in n)Za[i]={...Za[i],...n[i]}}const MR=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function dl(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||MR.has(n)}let iS=n=>
vendor: 8,303 bytes, line 97
97!dl(n);function DR(n){typeof n=="function"&&(iS=i=>i.startsWith("on")?!dl(i):n(i))}try{DR(require("@emotion/is-prop-valid").default)}catch{}function OR(n,i,s){const o={};for(const l in n)l==="values"&&typeof n.values=="object"||(iS(l)||s===!0&&dl(l)||!i&&!dl(l)||n.draggable&&l.startsWith("onDrag"))&&(o[l]=n[l]);return o}const Ml=S.createContext({});function Dl(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function hr(n){return typeof n=="string"||Array.isArray(n)}const Id=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],th=["initial",...Id];function Ol(n){return Dl(n.animate)||th.some(i=>hr(n[i]))}function aS(n){return!!(Ol(n)||n.variants)}function RR(n,i){if(Ol(n)){const{initial:s,animate:o}=n;return{initial:s===!1||hr(s)?s:void 0,animate:hr(o)?o:void 0}}return n.inherit!==!1?i:{}}function NR(n){const{initial:i,animate:s}=RR(n,S.useContext(Ml));return S.useMemo(()=>({initial:i,animate:s}),[Av(i),Av(s)])}function Av(n){return Array.isArray(n)?n.join(" "):n}const mr={};function jR(n){for(const i in n)mr[i]=n[i],Pd(i)&&(mr[i].isCSSVariable=!0)}function sS(n,{layout:i,layoutId:s}){return ns.has(n)||n.startsWith("origin")||(i||s!==void 0)&&(!!mr[n]||n==="opacity")}const _R={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},zR=es.length;function LR(n,i,s){let o="",l=!0;for(let f=0;f<zR;f++){const d=es[f],h=n[d];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(d.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||s){const m=$x(h,$d[d]);if(!p){l=!1;const y=_R[d]||d;o+=`${y}(${m}) `}s&&(i[d]=m)}}return o=o.trim(),s?o=s(i,l?"":o):l&&(o="none"),o}function eh(n,i,s){const{style:o,vars:l,transformOrigin:f}=n;let d=!1,h=!1;for(const p in i){const m=i[p];if(ns.has(p)){d=!0;continue}else if(Pd(p)){l[p]=m;continue}else{const y=$x(m,$d[p]);p.startsWith("origin")?(h=!0,f[p]=y):o[p]=y}}if(i.transform||(d||s?o.transform=LR(i,n.transform,s):o.transform&&(o.transform="none")),h){const{originX:p="50%",originY:m="50%",originZ:y=0}=f;o.transformOrigin=`${p} ${m} ${y}`}}const nh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rS(n,i,s){for(const o in i)!ce(i[o])&&!sS(o,s)&&(n[o]=i[o])}function VR({transformTemplate:n},i){return S.useMemo(()=>{const s=nh();return eh(s,i,n),Object.assign({},s.vars,s.style)},[i])}function UR(n,i){const s=n.style||{},o={};return rS(o,s,n),Object.assign(o,VR(n,i)),o}function BR(n,i){const s={},o=UR(n,i);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(s.tabIndex=0),s.style=o,s}const PR={offset:"stroke-dashoffset",array:"stroke-dasharray"},HR={offset:"strokeDashoffset",array:"strokeDasharray"};function kR(n,i,s=1,o=0,l=!0){n.pathLength=1;const f=l?PR:HR;n[f.offset]=ft.transform(-o);const d=ft.transform(i),h=ft.transform(s);n[f.array]=`${d} ${h}`}function oS(n,{attrX:i,attrY:s,attrScale:o,pathLength:l,pathSpacing:f=1,pathOffset:d=0,...h},p,m,y){if(eh(n,h,m),p){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:x}=n;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=y?.transformBox??"fill-box",delete v.transformBox),i!==void 0&&(v.x=i),s!==void 0&&(v.y=s),o!==void 0&&(v.scale=o),l!==void 0&&kR(v,l,f,d,!1)}const lS=()=>({...nh(),attrs:{}}),uS=n=>typeof n=="string"&&n.toLowerCase()==="svg";function qR(n,i,s,o){const l=S.useMemo(()=>{const f=lS();return oS(f,i,uS(o),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[i]);if(n.style){const f={};rS(f,n.style,n),l.style={...f,...l.style}}return l}const GR=["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 ih(n){return typeof n!="string"||n.includes("-")?!1:!!(GR.indexOf(n)>-1||/[A-Z]/u.test(n))}function YR(n,i,s,{latestValues:o},l,f=!1){const h=(ih(n)?qR:BR)(i,o,l,n),p=OR(i,typeof n=="string",f),m=n!==S.Fragment?{...p,...h,ref:s}:{},{children:y}=i,v=S.useMemo(()=>ce(y)?y.get():y,[y]);return S.createElement(n,{...m,children:v})}function Cv(n){const i=[{},{}];return n?.values.forEach((s,o)=>{i[0][o]=s.get(),i[1][o]=s.getVelocity()}),i}function ah(n,i,s,o){if(typeof i=="function"){const[l,f]=Cv(o);i=i(s!==void 0?s:n.custom,l,f)}if(typeof i=="string"&&(i=n.variants&&n.variants[i]),typeof i=="function"){const[l,f]=Cv(o);i=i(s!==void 0?s:n.custom,l,f)}return i}function nl(n){return ce(n)?n.get():n}function XR({scrapeMotionValuesFromProps:n,createRenderState:i},s,o,l){return{latestValues:KR(s,o,l,n),renderState:i()}}function KR(n,i,s,o){const l={},f=o(n,{});for(const x in f)l[x]=nl(f[x]);let{initial:d,animate:h}=n;const p=Ol(n),m=aS(n);i&&m&&!p&&n.inherit!==!1&&(d===void 0&&(d=i.initial),h===void 0&&(h=i.animate));let y=s?s.initial===!1:!1;y=y||d===!1;const v=y?h:d;if(v&&typeof v!="boolean"&&!Dl(v)){const x=Array.isArray(v)?v:[v];for(let T=0;T<x.length;T++){const C=ah(n,x[T]);if(C){const{transitionEnd:w,transition:M,...N}=C;for(const U in N){let j=N[U];if(Array.isArray(j)){const q=y?j.length-1:0;j=j[q]}j!==null&&(l[U]=j)}for(const U in w)l[U]=w[U]}}}return l}const cS=n=>(i,s)=>{const o=S.useContext(Ml),l=S.useContext(Nd),f=()=>XR(n,i,o,l);return s?f():CD(f)};function sh(n,i,s){const{style:o}=n,l={};for(const f in o)(ce(o[f])||i.style&&ce(i.style[f])||sS(f,n)||s?.getValue(f)?.liveStyle!==void 0)&&(l[f]=o[f]);return l}const QR=cS({scrapeMotionValuesFromProps:sh,createRenderState:nh});function fS(n,i,s){const o=sh(n,i,s);for(const l in n)if(ce(n[l])||ce(i[l])){const f=es.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[f]=n[l]}return o}const FR=cS({scrapeMotionValuesFromProps:fS,createRenderState:lS}),ZR=Symbol.for("motionComponentSymbol");function Ha(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function $R(n,i,s){return S.useCallback(o=>{o&&n.onMount&&n.onMount(o),i&&(o?i.mount(o):i.unmount()),s&&(typeof s=="function"?s(o):Ha(s)&&(s.current=o))},[i])}const rh=n=>n.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),JR="framerAppearId",dS="data-"+rh(JR),hS=S.createContext({});function WR(n,i,s,o,l){const{visualElement:f}=S.useContext(Ml),d=S.useContext(nS),h=S.useContext(Nd),p=S.useContext(eS).reducedMotion,m=S.useRef(null);o=o||d.renderer,!m.current&&o&&(m.current=o(n,{visualState:i,parent:f,props:s,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:p}));const y=m.current,v=S.useContext(hS);y&&!y.projection&&l&&(y.type==="html"||y.type==="svg")&&IR(m.current,s,l,v);const x=S.useRef(!1);S.useInsertionEffect(()=>{y&&x.current&&y.update(s,h)});const T=s[dS],C=S.useRef(!!T&&!window.MotionHandoffIsComplete?.(T)&&window.MotionHasOptimisedAnimation?.(T));return MD(()=>{y&&(x.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),C.current&&y.animationState&&y.animationState.animateChanges())}),S.useEffect(()=>{y&&(!C.current&&y.animationState&&y.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(T)}),C.current=!1),y.enteringChildren=void 0)}),y}function IR(n,i,s,o){const{layoutId:l,layout:f,drag:d,dragConstraints:h,layoutScroll:p,layoutRoot:m,layoutCrossfade:y}=i;n.projection=new s(n.latestValues,i["data-framer-portal-id"]?void 0:mS(n.parent)),n.projection.setOptions({layoutId:l,layout:f,alwaysMeasureLayout:!!d||h&&Ha(h),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:o,crossfade:y,layoutScroll:p,layoutRoot:m})}function mS(n){if(n)return n.options.allowProjection!==!1?n.projection:mS(n.parent)}function vf(n,{forwardMotionProps:i=!1}={},s,o){s&&CR(s);const l=ih(n)?FR:QR;function f(h,p){let m;const y={...S.useContext(eS),...h,layoutId:t2(h)},{isStatic:v}=y,x=NR(h),T=l(h,v);if(!v&&Rd){e2();const C=n2(y);m=C.MeasureLayout,x.visualElement=WR(n,T,y,o,C.ProjectionNode)}return E.jsxs(Ml.Provider,{value:x,children:[m&&x.visualElement?E.jsx(m,{visualElement:x.visualElement,...y}
vendor: 35,124 bytes, line 97
97):null,YR(n,h,$R(T,x.visualElement,p),T,v,i)]})}f.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const d=S.forwardRef(f);return d[ZR]=n,d}function t2({layoutId:n}){const i=S.useContext(fx).id;return i&&n!==void 0?i+"-"+n:n}function e2(n,i){S.useContext(nS).strict}function n2(n){const{drag:i,layout:s}=Za;if(!i&&!s)return{};const o={...i,...s};return{MeasureLayout:i?.isEnabled(n)||s?.isEnabled(n)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function i2(n,i){if(typeof Proxy>"u")return vf;const s=new Map,o=(f,d)=>vf(f,d,n,i),l=(f,d)=>o(f,d);return new Proxy(l,{get:(f,d)=>d==="create"?o:(s.has(d)||s.set(d,vf(d,void 0,n,i)),s.get(d))})}function pS({top:n,left:i,right:s,bottom:o}){return{x:{min:i,max:s},y:{min:n,max:o}}}function a2({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function s2(n,i){if(!i)return n;const s=i({x:n.left,y:n.top}),o=i({x:n.right,y:n.bottom});return{top:s.y,left:s.x,bottom:o.y,right:o.x}}function bf(n){return n===void 0||n===1}function ed({scale:n,scaleX:i,scaleY:s}){return!bf(n)||!bf(i)||!bf(s)}function Qi(n){return ed(n)||yS(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function yS(n){return Mv(n.x)||Mv(n.y)}function Mv(n){return n&&n!=="0%"}function hl(n,i,s){const o=n-s,l=i*o;return s+l}function Dv(n,i,s,o,l){return l!==void 0&&(n=hl(n,l,o)),hl(n,s,o)+i}function nd(n,i=0,s=1,o,l){n.min=Dv(n.min,i,s,o,l),n.max=Dv(n.max,i,s,o,l)}function gS(n,{x:i,y:s}){nd(n.x,i.translate,i.scale,i.originPoint),nd(n.y,s.translate,s.scale,s.originPoint)}const Ov=.999999999999,Rv=1.0000000000001;function r2(n,i,s,o=!1){const l=s.length;if(!l)return;i.x=i.y=1;let f,d;for(let h=0;h<l;h++){f=s[h],d=f.projectionDelta;const{visualElement:p}=f.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&f.options.layoutScroll&&f.scroll&&f!==f.root&&qa(n,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),d&&(i.x*=d.x.scale,i.y*=d.y.scale,gS(n,d)),o&&Qi(f.latestValues)&&qa(n,f.latestValues))}i.x<Rv&&i.x>Ov&&(i.x=1),i.y<Rv&&i.y>Ov&&(i.y=1)}function ka(n,i){n.min=n.min+i,n.max=n.max+i}function Nv(n,i,s,o,l=.5){const f=Ht(n.min,n.max,l);nd(n,i,s,f,o)}function qa(n,i){Nv(n.x,i.x,i.scaleX,i.scale,i.originX),Nv(n.y,i.y,i.scaleY,i.scale,i.originY)}function vS(n,i){return pS(s2(n.getBoundingClientRect(),i))}function o2(n,i,s){const o=vS(n,s),{scroll:l}=i;return l&&(ka(o.x,l.offset.x),ka(o.y,l.offset.y)),o}const jv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ga=()=>({x:jv(),y:jv()}),_v=()=>({min:0,max:0}),Qt=()=>({x:_v(),y:_v()}),id={current:null},bS={current:!1};function l2(){if(bS.current=!0,!!Rd)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>id.current=n.matches;n.addEventListener("change",i),i()}else id.current=!1}const u2=new WeakMap;function c2(n,i,s){for(const o in i){const l=i[o],f=s[o];if(ce(l))n.addValue(o,l);else if(ce(f))n.addValue(o,Fa(l,{owner:n}));else if(f!==l)if(n.hasValue(o)){const d=n.getValue(o);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{const d=n.getStaticValue(o);n.addValue(o,Fa(d!==void 0?d:l,{owner:n}))}}for(const o in s)i[o]===void 0&&n.removeValue(o);return i}const zv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class f2{scrapeMotionValuesFromProps(i,s,o){return{}}constructor({parent:i,props:s,presenceContext:o,reducedMotionConfig:l,blockInitialAnimation:f,visualState:d},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Fd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const x=Se.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,Pt.render(this.render,!1,!0))};const{latestValues:p,renderState:m}=d;this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=m,this.parent=i,this.props=s,this.presenceContext=o,this.depth=i?i.depth+1:0,this.reducedMotionConfig=l,this.options=h,this.blockInitialAnimation=!!f,this.isControllingVariants=Ol(s),this.isVariantNode=aS(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(s,{},this);for(const x in v){const T=v[x];p[x]!==void 0&&ce(T)&&T.set(p[x])}}mount(i){this.current=i,u2.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,o)=>this.bindToMotionValue(o,s)),bS.current||l2(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:id.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Si(this.notifyUpdate),Si(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,s){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const o=ns.has(i);o&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",d=>{this.latestValues[i]=d,this.props.onUpdate&&Pt.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{l(),f&&f(),s.owner&&s.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Za){const s=Za[i];if(!s)continue;const{isEnabled:o,Feature:l}=s;if(!this.features[i]&&l&&o(this.props)&&(this.features[i]=new l(this)),this.features[i]){const f=this.features[i];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Qt()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let o=0;o<zv.length;o++){const l=zv[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const f="on"+l,d=i[f];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=c2(this,this.scrapeMotionValuesFromProps(i,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const o=this.values.get(i);s!==o&&(o&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let o=this.values.get(i);return o===void 0&&s!==void 0&&(o=Fa(s===null?void 0:s,{owner:this}),this.addValue(i,o)),o}readValue(i,s){let o=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return o!=null&&(typeof o=="string"&&(dx(o)||mx(o))?o=parseFloat(o):!wR(o)&&Ti.test(s)&&(o=Zx(i,s)),this.setBaseTarget(i,ce(o)?o.get():o)),ce(o)?o.get():o}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){const{initial:s}=this.props;let o;if(typeof s=="string"||typeof s=="object"){const f=ah(this.props,s,this.presenceContext?.custom);f&&(o=f[i])}if(s&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,i);return l!==void 0&&!ce(l)?l:this.initialValues[i]!==void 0&&o===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new Vd),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){Jd.render(this.render)}}class xS extends f2{constructor(){super(...arguments),this.KeyframeResolver=fR}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){return i.style?i.style[s]:void 0}removeValueFromRenderState(i,{vars:s,style:o}){delete s[i],delete o[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;ce(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function SS(n,{style:i,vars:s},o,l){const f=n.style;let d;for(d in i)f[d]=i[d];l?.applyProjectionStyles(f,o);for(d in s)f.setProperty(d,s[d])}function d2(n){return window.getComputedStyle(n)}class h2 extends xS{constructor(){super(...arguments),this.type="html",this.renderInstance=SS}readValueFromInstance(i,s){if(ns.has(s))return this.projection?.isProjecting?Ff(s):RO(i,s);{const o=d2(i),l=(Pd(s)?o.getPropertyValue(s):o[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(i,{transformPagePoint:s}){return vS(i,s)}build(i,s,o){eh(i,s,o.transformTemplate)}scrapeMotionValuesFromProps(i,s,o){return sh(i,s,o)}}const TS=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"]);function m2(n,i,s,o){SS(n,i,void 0,o);for(const l in i.attrs)n.setAttribute(TS.has(l)?l:rh(l),i.attrs[l])}class p2 extends xS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Qt}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(ns.has(s)){const o=Fx(s);return o&&o.default||0}return s=TS.has(s)?s:rh(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,o){return fS(i,s,o)}build(i,s,o){oS(i,s,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(i,s,o,l){m2(i,s,o,l)}mount(i){this.isSVGTag=uS(i.tagName),super.mount(i)}}const y2=(n,i)=>ih(n)?new p2(i):new h2(i,{allowProjection:n!==S.Fragment});function Xa(n,i,s){const o=n.getProps();return ah(o,i,s!==void 0?s:o.custom,n)}const ad=n=>Array.isArray(n);function g2(n,i,s){n.hasValue(i)?n.getValue(i).set(s):n.addValue(i,Fa(s))}function v2(n){return ad(n)?n[n.length-1]||0:n}function b2(n,i){const s=Xa(n,i);let{transitionEnd:o={},transition:l={},...f}=s||{};f={...f,...o};for(const d in f){const h=v2(f[d]);g2(n,d,h)}}function x2(n){return!!(ce(n)&&n.add)}function sd(n,i){const s=n.getValue("willChange");if(x2(s))return s.add(i);if(!s&&Gn.WillChange){const o=new Gn.WillChange("auto");n.addValue("willChange",o),o.add(i)}}function ES(n){return n.props[dS]}const S2=n=>n!==null;function T2(n,{repeat:i,repeatType:s="loop"},o){const l=n.filter(S2),f=i&&s!=="loop"&&i%2===1?0:l.length-1;return l[f]}const E2={type:"spring",stiffness:500,damping:25,restSpeed:10},w2=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),A2={type:"keyframes",duration:.8},C2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},M2=(n,{keyframes:i})=>i.length>2?A2:ns.has(n)?n.startsWith("scale")?w2(i[1]):E2:C2;function D2({when:n,delay:i,delayChildren:s,staggerChildren:o,staggerDirection:l,repeat:f,repeatType:d,repeatDelay:h,from:p,elapsed:m,...y}){return!!Object.keys(y).length}const oh=(n,i,s,o={},l,f)=>d=>{const h=Zd(o,n)||{},p=h.delay||o.delay||0;let{elapsed:m=0}=o;m=m-pn(p);const y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...h,delay:-m,onUpdate:x=>{i.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:i,element:f?void 0:l};D2(h)||Object.assign(y,M2(n,y)),y.duration&&(y.duration=pn(y.duration)),y.repeatDelay&&(y.repeatDelay=pn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(If(y),y.delay===0&&(v=!0)),(Gn.instantAnimations||Gn.skipAnimations)&&(v=!0,If(y),y.delay=0),y.allowFlatten=!h.type&&!h.ease,v&&!f&&i.get()!==void 0){const x=T2(y.keyframes,h);if(x!==void 0){Pt.update(()=>{y.onUpdate(x),y.onComplete()});return}}return h.isSync?new Qd(y):new IO(y)};function O2({protectedKeys:n,needsAnimating:i},s){const o=n.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,o}function wS(n,i,{delay:s=0,transitionOverride:o,type:l}={}){let{transition:f=n.getDefaultTransition(),transitionEnd:d,...h}=i;o&&(f=o);const p=[],m=l&&n.animationState&&n.animationState.getState()[l];for(const y in h){const v=n.getValue(y,n.latestValues[y]??null),x=h[y];if(x===void 0||m&&O2(m,y))continue;const T={delay:s,...Zd(f||{},y)},C=v.get();if(C!==void 0&&!v.isAnimating&&!Array.isArray(x)&&x===C&&!T.velocity)continue;let w=!1;if(window.MotionHandoffAnimation){const N=ES(n);if(N){const U=window.MotionHandoffAnimation(N,y,Pt);U!==null&&(T.startTime=U,w=!0)}}sd(n,y),v.start(oh(y,v,x,n.shouldReduceMotion&&Xx.has(y)?{type:!1}:T,n,w));const M=v.animation;M&&p.push(M)}return d&&Promise.all(p).then(()=>{Pt.update(()=>{d&&b2(n,d)})}),p}function AS(n,i,s,o=0,l=1){const f=Array.from(n).sort((m,y)=>m.sortNodePosition(y)).indexOf(i),d=n.size,h=(d-1)*o;return typeof s=="function"?s(f,d):l===1?f*o:h-f*o}function rd(n,i,s={}){const o=Xa(n,i,s.type==="exit"?n.presenceContext?.custom:void 0);let{transition:l=n.getDefaultTransition()||{}}=o||{};s.transitionOverride&&(l=s.transitionOverride);const f=o?()=>Promise.all(wS(n,o,s)):()=>Promise.resolve(),d=n.variantChildren&&n.variantChildren.size?(p=0)=>{const{delayChildren:m=0,staggerChildren:y,staggerDirection:v}=l;return R2(n,i,p,m,y,v,s)}:()=>Promise.resolve(),{when:h}=l;if(h){const[p,m]=h==="beforeChildren"?[f,d]:[d,f];return p().then(()=>m())}else return Promise.all([f(),d(s.delay)])}function R2(n,i,s=0,o=0,l=0,f=1,d){const h=[];for(const p of n.variantChildren)p.notify("AnimationStart",i),h.push(rd(p,i,{...d,delay:s+(typeof o=="function"?0:o)+AS(n.variantChildren,p,o,l,f)}).then(()=>p.notify("AnimationComplete",i)));return Promise.all(h)}function N2(n,i,s={}){n.notify("AnimationStart",i);let o;if(Array.isArray(i)){const l=i.map(f=>rd(n,f,s));o=Promise.all(l)}else if(typeof i=="string")o=rd(n,i,s);else{const l=typeof i=="function"?Xa(n,i,s.custom):i;o=Promise.all(wS(n,l,s))}return o.then(()=>{n.notify("AnimationComplete",i)})}function CS(n,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==n.length)return!1;for(let o=0;o<s;o++)if(i[o]!==n[o])return!1;return!0}const j2=th.length;function MS(n){if(!n)return;if(!n.isControllingVariants){const s=n.parent?MS(n.parent)||{}:{};return n.props.initial!==void 0&&(s.initial=n.props.initial),s}const i={};for(let s=0;s<j2;s++){const o=th[s],l=n.props[o];(hr(l)||l===!1)&&(i[o]=l)}return i}const _2=[...Id].reverse(),z2=Id.length;function L2(n){return i=>Promise.all(i.map(({animation:s,options:o})=>N2(n,s,o)))}function V2(n){let i=L2(n),s=Lv(),o=!0;const l=p=>(m,y)=>{const v=Xa(n,y,p==="exit"?n.presenceContext?.custom:void 0);if(v){const{transition:x,transitionEnd:T,...C}=v;m={...m,...C,...T}}return m};function f(p){i=p(n)}function d(p){const{props:m}=n,y=MS(n.parent)||{},v=[],x=new Set;let T={},C=1/0;for(let M=0;M<z2;M++){const N=_2[M],U=s[N],j=m[N]!==void 0?m[N]:y[N],q=hr(j),G=N===p?U.isActive:null;G===!1&&(C=M);let Z=j===y[N]&&j!==m[N]&&q;if(Z&&o&&n.manuallyAnimateOnMount&&(Z=!1),U.protectedKeys={...T},!U.isActive&&G===null||!j&&!U.prevProp||Dl(j)||typeof j=="boolean")continue;const P=U2(U.prevProp,j);let V=P||N===p&&U.isActive&&!Z&&q||M>C&&q,I=!1;const et=Array.isArray(j)?j:[j];let ht=et.reduce(l(N),{});G===!1&&(ht={});const{prevResolvedValues:pt={}}=U,wt={...pt,...ht},W=Y=>{V=!0,x.has(Y)&&(I=!0,x.delete(Y)),U.needsAnimating[Y]=!0;const H=n.getValue(Y);H&&(H.liveStyle=!1)};for(const Y in wt){const H=ht[Y],at=pt[Y];if(T.hasOwnProperty(Y))continue;let ut=!1;ad(H)&&ad(at)?ut=!CS(H,at):ut=H!==at,ut?H!=null?W(Y):x.add(Y):H!==void 0&&x.has(Y)?W(Y):U.protectedKeys[Y]=!0}U.prevProp=j,U.prevResolvedValues=ht,U.isActive&&(T={...T,...ht}),o&&n.blockInitialAnimation&&(V=!1);const dt=Z&&P;V&&(!dt||I)&&v.push(...et.map(Y=>{const H={type:N};if(typeof Y=="string"&&o&&!dt&&n.manuallyAnimateOnMount&&n.parent){const{parent:at}=n,ut=Xa(at,Y);if(at.enteringChildren&&ut){const{delayChildren:D}=ut.transition||{};H.delay=AS(at.enteringChildren,n,D)}}return{animation:Y,options:H}}))}if(x.size){const M={};if(typeof m.initial!="boolean"){const N=Xa(n,Array.isArray(m.initial)?m.initial[0]:m.initial);N&&N.transition&&(M.transition=N.transition)}x.forEach(N=>{const U=n.getBaseTarget(N),j=n.getValue(N);j&&(j.liveStyle=!0),M[N]=U??null}),v.push({animation:M})}let w=!!v.length;return o&&(m.initial===!1||m.initial===m.animate)&&!n.manuallyAnimateOnMount&&(w=!1),o=!1,w?i(v):Promise.resolve()}function h(p,m){if(s[p].isActive===m)return Promise.resolve();n.variantChildren?.forEach(v=>v.animationState?.setActive(p,m)),s[p].isActive=m;const y=d(p);for(const v in s)s[v].protectedKeys={};return y}return{animateChanges:d,setActive:h,setAnimateFunction:f,getState:()=>s,reset:()=>{s=Lv()}}}function U2(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!CS(i,n):!1}function Ki(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Lv(){return{animate:Ki(!0),whileInView:Ki(),whileHover:Ki(),whileTap:Ki(),whileDrag:Ki(),whileFocus:Ki(),exit:Ki()}}class wi{constructor(i){this.isMounted=!1,this.node=i}update(){}}class B2 extends wi{constructor(i){super(i),i.animationState||(i.animationState=V2(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Dl(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let P2=0;class H2 extends wi{constructor(){super(...arguments),this.id=P2++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===o)return;const l=this.node.animationState.setActive("exit",!i);s&&!i&&l.then(()=>{s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const k2={animation:{Feature:B2},exit:{Feature:H2}};function pr(n,i,s,o={passive:!0}){return n.addEventListener(i,s,o),()=>n.removeEventListener(i,s)}function Tr(n){return{point:{x:n.pageX,y:n.pageY}}}const q2=n=>i=>Wd(i)&&n(i,Tr(i));function ir(n,i,s,o){return pr(n,i,q2(s),o)}const DS=1e-4,G2=1-DS,Y2=1+DS,OS=.01,X2=0-OS,K2=0+OS;function he(n){return n.max-n.min}function Q2(n,i,s){return Math.abs(n-i)<=s}function Vv(n,i,s,o=.5){n.origin=o,n.originPoint=Ht(i.min,i.max,n.origin),n.scale=he(s)/he(i),n.translate=Ht(s.min,s.max,n.origin)-n.originPoint,(n.scale>=G2&&n.scale<=Y2||isNaN(n.scale))&&(n.scale=1),(n.translate>=X2&&n.translate<=K2||isNaN(n.translate))&&(n.translate=0)}function ar(n,i,s,o){Vv(n.x,i.x,s.x,o?o.originX:void 0),Vv(n.y,i.y,s.y,o?o.originY:void 0)}function Uv(n,i,s){n.min=s.min+i.min,n.max=n.min+he(i)}function F2(n,i,s){Uv(n.x,i.x,s.x),Uv(n.y,i.y,s.y)}function Bv(n,i,s){n.min=i.min-s.min,n.max=n.min+he(i)}function sr(n,i,s){Bv(n.x,i.x,s.x),Bv(n.y,i.y,s.y)}function Ze(n){return[n("x"),n("y")]}const RS=({current:n})=>n?n.ownerDocument.defaultView:null,Pv=(n,i)=>Math.abs(n-i);function Z2(n,i){const s=Pv(n.x,i.x),o=Pv(n.y,i.y);return Math.sqrt(s**2+o**2)}class NS{constructor(i,s,{transformPagePoint:o,contextWindow:l=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Sf(this.lastMoveEventInfo,this.history),T=this.startEvent!==null,C=Z2(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!T&&!C)return;const{point:w}=x,{timestamp:M}=le;this.history.push({...w,timestamp:M});const{onStart:N,onMove:U}=this.handlers;T||(N&&N(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),U&&U(this.lastMoveEvent,x)},this.handlePointerMove=(x,T)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=xf(T,this.transformPagePoint),Pt.update(this.updatePoint,!0)},this.handlePointerUp=(x,T)=>{this.end();const{onEnd:C,onSessionEnd:w,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=Sf(x.type==="pointercancel"?this.lastMoveEventInfo:xf(T,this.transformPagePoint),this.history);this.startEvent&&C&&C(x,N),w&&w(x,N)},!Wd(i))return;this.dragSnapToOrigin=f,this.handlers=s,this.transformPagePoint=o,this.distanceThreshold=d,this.contextWindow=l||window;const h=Tr(i),p=xf(h,this.transformPagePoint),{point:m}=p,{timestamp:y}=le;this.history=[{...m,timestamp:y}];const{onSessionStart:v}=s;v&&v(i,Sf(p,this.history)),this.removeListeners=br(ir(this.contextWindow,"pointermove",this.handlePointerMove),ir(this.contextWindow,"pointerup",this.handlePointerUp),ir(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),Si(this.updatePoint)}}function xf(n,i){return i?{point:i(n.point)}:n}function Hv(n,i){return{x:n.x-i.x,y:n.y-i.y}}function Sf({point:n},i){return{point:n,delta:Hv(n,jS(i)),offset:Hv(n,$2(i)),velocity:J2(i,.1)}}function $2(n){return n[0]}function jS(n){return n[n.length-1]}function J2(n,i){if(n.length<2)return{x:0,y:0};let s=n.length-1,o=null;const l=jS(n);for(;s>=0&&(o=n[s],!(l.timestamp-o.timestamp>pn(i)));)s--;if(!o)return{x:0,y:0};const f=$e(l.timestamp-o.timestamp);if(f===0)return{x:0,y:0};const d={x:(l.x-o.x)/f,y:(l.y-o.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function W2(n,{min:i,max:s},o){return i!==void 0&&n<i?n=o?Ht(i,n,o.min):Math.max(n,i):s!==void 0&&n>s&&(n=o?Ht(s,n,o.max):Math.min(n,s)),n}function kv(n,i,s){return{min:i!==void 0?n.min+i:void 0,max:s!==void 0?n.max+s-(n.max-n.min):void 0}}function I2(n,{top:i,left:s,bottom:o,right:l}){return{x:kv(n.x,s,l),y:kv(n.y,i,o)}}function qv(n,i){let s=i.min-n.min,o=i.max-n.max;return i.max-i.min<n.max-n.min&&([s,o]=[o,s]),{min:s,max:o}}function tN(n,i){return{x:qv(n.x,i.x),y:qv(n.y,i.y)}}function eN(n,i){let s=.5;const o=he(n),l=he(i);return l>o?s=cr(i.min,i.max-o,n.min):o>l&&(s=cr(n.min,n.max-l,i.min)),qn(0,1,s)}function nN(n,i){const s={};return i.min!==void 0&&(s.min=i.min-n.min),i.max!==void 0&&(s.max=i.max-n.min),s}const od=.35;function iN(n=od){return n===!1?n=0:n===!0&&(n=od),{x:Gv(n,"left","right"),y:Gv(n,"top","bottom")}}function Gv(n,i,s){return{min:Yv(n,i),max:Yv(n,s)}}function Yv(n,i){return typeof n=="number"?n:n[i]||0}const aN=new WeakMap;class sN{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=Qt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:s=!1,distanceThreshold:o}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const f=v=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(Tr(v).point)},d=(v,x)=>{const{drag:T,dragPropagation:C,onDragStart:w}=this.getProps();if(T&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=yR(T),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ze(N=>{let U=this.getAxisMotionValue(N).get()||0;if(yn.test(U)){const{projection:j}=this.visualElement;if(j&&j.layout){const q=j.layout.layoutBox[N];q&&(U=he(q)*(parseFloat(U)/100))}}this.originPoint[N]=U}),w&&Pt.postRender(()=>w(v,x)),sd(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:T,dragDirectionLock:C,onDirectionLock:w,onDrag:M}=this.getProps();if(!T&&!this.openDragLock)return;const{offset:N}=x;if(C&&this.currentDirection===null){this.currentDirection=rN(N),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",x.point,N),this.updateAxis("y",x.point,N),this.visualElement.render(),M&&M(v,x)},p=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>Ze(v=>this.getAnimationState(v)==="paused"&&this.getAxisMotionValue(v).animation?.play()),{dragSnapToOrigin:y}=this.getProps();this.panSession=new NS(i,{onSessionStart:f,onStart:d,onMove:h,onSessionEnd:p,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:o,contextWindow:RS(this.visualElement)})}stop(i,s){const o=i||this.latestPointerEvent,l=s||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!l||!o)return;const{velocity:d}=l;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&Pt.postRender(()=>h(o,l))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(i,s,o){const{drag:l}=this.getProps();if(!o||!$o(i,l,this.currentDirection))return;const f=this.getAxisMotionValue(i);let d=this.originPoint[i]+o[i];this.constraints&&this.constraints[i]&&(d=W2(d,this.constraints[i],this.elastic[i])),f.set(d)}resolveConstraints(){const{dragConstraints:i,dragElastic:s}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;i&&Ha(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&o?this.constraints=I2(o.layoutBox,i):this.constraints=!1,this.elastic=iN(s),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Ze(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=nN(o.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!Ha(i))return!1;const o=i.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const f=o2(o,l.root,this.visualElement.getTransformPagePoint());let d=tN(l.layout.layoutBox,f);if(s){const h=s(a2(d));this.hasMutatedConstraints=!!h,h&&(d=pS(h))}return d}startAnimation(i){const{drag:s,dragMomentum:o,dragElastic:l,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},m=Ze(y=>{if(!$o(y,s,this.currentDirection))return;let v=p&&p[y]||{};d&&(v={min:0,max:0});const x=l?200:1e6,T=l?40:1e7,C={type:"inertia",velocity:o?i[y]:0,bounceStiffness:x,bounceDamping:T,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(y,C)});return Promise.all(m).then(h)}startAxisValueAnimation(i,s){const o=this.getAxisMotionValue(i);return sd(this.visualElement,i),o.start(oh(i,o,0,s,this.visualElement,!1))}stopAnimation(){Ze(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){Ze(i=>this.getAxisMotionValue(i).animation?.pause())}getAnimationState(i){return this.getAxisMotionValue(i).animation?.state}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,o=this.visualElement.getProps(),l=o[s];return l||this.visualElement.getValue(i,(o.initial?o.initial[i]:void 0)||0)}snapToCursor(i){Ze(s=>{const{drag:o}=this.getProps();if(!$o(s,o,this.currentDirection))return;const{projection:l}=this.visualElement,f=this.getAxisMotionValue(s);if(l&&l.layout){const{min:d,max:h}=l.layout.layoutBox[s];f.set(i[s]-Ht(d,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:o}=this.visualElement;if(!Ha(s)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Ze(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const p=h.get();l[d]=eN({min:p,max:p},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Ze(d=>{if(!$o(d,i,null))return;const h=this.getAxisMotionValue(d),{min:p,max:m}=this.constraints[d];h.set(Ht(p,m,l[d]))})}addListeners(){if(!this.visualElement.current)return;aN.set(this.visualElement,this);const i=this.visualElement.current,s=ir(i,"pointerdown",p=>{const{drag:m,dragListener:y=!0}=this.getProps();m&&y&&this.start(p)}),o=()=>{const{dragConstraints:p}=this.getProps();Ha(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,f=l.addEventListener("measure",o);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Pt.read(o);const d=pr(window,"resize",()=>this.scalePositionWithinConstraints()),h=l.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:m})=>{this.isDragging&&m&&(Ze(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[y].translate))}),this.visualElement.render())}));return()=>{d(),s(),f(),h&&h()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:f=!1,dragElastic:d=od,dragMomentum:h=!0}=i;return{...i,drag:s,dragDirectionLock:o,dragPropagation:l,dragConstraints:f,dragElastic:d,dragMomentum:h}}}function $o(n,i,s){return(i===!0||i===n)&&(s===null||s===n)}function rN(n,i=10){let s=null;return Math.abs(n.y)>i?s="y":Math.abs(n.x)>i&&(s="x"),s}class oN extends wi{constructor(i){super(i),this.removeGroupControls=Je,this.removeListeners=Je,this.controls=new sN(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Je}unmount(){this.removeGroupControls(),this.removeListeners()}}const Xv=n=>(i,s)=>{n&&Pt.postRender(()=>n(i,s))};class lN extends wi{constructor(){super(...arguments),this.removePointerDownListener=Je}onPointerDown(i){this.session=new NS(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:RS(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:Xv(i),onStart:Xv(s),onMove:o,onEnd:(f,d)=>{delete this.session,l&&Pt.postRender(()=>l(f,d))}}}mount(){this.removePointerDownListener=ir(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const il={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Kv(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const Ws={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(ft.test(n))n=parseFloat(n);else return n;const s=Kv(n,i.target.x),o=Kv(n,i.target.y);return`${s}% ${o}%`}},uN={correct:(n,{treeScale:i,projectionDelta:s})=>{const o=n,l=Ti.parse(n);if(l.length>5)return o;const f=Ti.createTransformer(n),d=typeof l[0]!="number"?1:0,h=s.x.scale*i.x,p=s.y.scale*i.y;l[0+d]/=h,l[1+d]/=p;const m=Ht(h,p,.5);return typeof l[2+d]=="number"&&(l[2+d]/=m),typeof l[3+d]=="number"&&(l[3+d]/=m),f(l)}};let Tf=!1;class cN extends S.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:o,layoutId:l}=this.props,{projection:f}=i;jR(fN),f&&(s.group&&s.group.add(f),o&&o.register&&l&&o.register(f),Tf&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,onExitComplete:()=>this.safeToRemove()})),il.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:o,drag:l,isPresent:f}=this.props,{projection:d}=o;return d&&(d.isPresent=f,Tf=!0,l||i.layoutDependency!==s||s===void 0||i.isPresent!==f?d.willUpdate():this.safeToRemove(),i.isPresent!==f&&(f?d.promote():d.relegate()||Pt.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),Jd.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:o}=this.props,{projection:l}=i;Tf=!0,l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function _S(n){const[i,s]=AR(),o=S.useContext(fx);return E.jsx(cN,{...n,layoutGroup:o,switchLayoutGroup:S.useContext(hS),isPresent:i,safeToRemove:s})}const fN={borderRadius:{...Ws,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ws,borderTopRightRadius:Ws,borderBottomLeftRadius:Ws,borderBottomRightRadius:Ws,boxShadow:uN};function dN(n,i,s){const o=ce(n)?n:Fa(n);return o.start(oh("",o,i,s)),o.animation}const hN=(n,i)=>n.depth-i.depth;class mN{constructor(){this.children=[],this.isDirty=!1}add(i){jd(this.children,i),this.isDirty=!0}remove(i){_d(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(hN),this.isDirty=!1,this.children.forEac
vendor: 5,073 bytes, line 97
97h(i)}}function pN(n,i){const s=Se.now(),o=({timestamp:l})=>{const f=l-s;f>=i&&(Si(o),n(f-i))};return Pt.setup(o,!0),()=>Si(o)}const zS=["TopLeft","TopRight","BottomLeft","BottomRight"],yN=zS.length,Qv=n=>typeof n=="string"?parseFloat(n):n,Fv=n=>typeof n=="number"||ft.test(n);function gN(n,i,s,o,l,f){l?(n.opacity=Ht(0,s.opacity??1,vN(o)),n.opacityExit=Ht(i.opacity??1,0,bN(o))):f&&(n.opacity=Ht(i.opacity??1,s.opacity??1,o));for(let d=0;d<yN;d++){const h=`border${zS[d]}Radius`;let p=Zv(i,h),m=Zv(s,h);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||Fv(p)===Fv(m)?(n[h]=Math.max(Ht(Qv(p),Qv(m),o),0),(yn.test(m)||yn.test(p))&&(n[h]+="%")):n[h]=m}(i.rotate||s.rotate)&&(n.rotate=Ht(i.rotate||0,s.rotate||0,o))}function Zv(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const vN=LS(0,.5,Tx),bN=LS(.5,.95,Je);function LS(n,i,s){return o=>o<n?0:o>i?1:s(cr(n,i,o))}function $v(n,i){n.min=i.min,n.max=i.max}function Fe(n,i){$v(n.x,i.x),$v(n.y,i.y)}function Jv(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}function Wv(n,i,s,o,l){return n-=i,n=hl(n,1/s,o),l!==void 0&&(n=hl(n,1/l,o)),n}function xN(n,i=0,s=1,o=.5,l,f=n,d=n){if(yn.test(i)&&(i=parseFloat(i),i=Ht(d.min,d.max,i/100)-d.min),typeof i!="number")return;let h=Ht(f.min,f.max,o);n===f&&(h-=i),n.min=Wv(n.min,i,s,h,l),n.max=Wv(n.max,i,s,h,l)}function Iv(n,i,[s,o,l],f,d){xN(n,i[s],i[o],i[l],i.scale,f,d)}const SN=["x","scaleX","originX"],TN=["y","scaleY","originY"];function t0(n,i,s,o){Iv(n.x,i,SN,s?s.x:void 0,o?o.x:void 0),Iv(n.y,i,TN,s?s.y:void 0,o?o.y:void 0)}function e0(n){return n.translate===0&&n.scale===1}function VS(n){return e0(n.x)&&e0(n.y)}function n0(n,i){return n.min===i.min&&n.max===i.max}function EN(n,i){return n0(n.x,i.x)&&n0(n.y,i.y)}function i0(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function US(n,i){return i0(n.x,i.x)&&i0(n.y,i.y)}function a0(n){return he(n.x)/he(n.y)}function s0(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}class wN{constructor(){this.members=[]}add(i){jd(this.members,i),i.scheduleRender()}remove(i){if(_d(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){const s=this.members.findIndex(l=>i===l);if(s===0)return!1;let o;for(let l=s;l>=0;l--){const f=this.members[l];if(f.isPresent!==!1){o=f;break}}return o?(this.promote(o),!0):!1}promote(i,s){const o=this.lead;if(i!==o&&(this.prevLead=o,this.lead=i,i.show(),o)){o.instance&&o.scheduleRender(),i.scheduleRender(),i.resumeFrom=o,s&&(i.resumeFrom.preserveOpacity=!0),o.snapshot&&(i.snapshot=o.snapshot,i.snapshot.latestValues=o.animationValues||o.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:l}=i.options;l===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:s,resumingFrom:o}=i;s.onExitComplete&&s.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function AN(n,i,s){let o="";const l=n.x.translate/i.x,f=n.y.translate/i.y,d=s?.z||0;if((l||f||d)&&(o=`translate3d(${l}px, ${f}px, ${d}px) `),(i.x!==1||i.y!==1)&&(o+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:m,rotate:y,rotateX:v,rotateY:x,skewX:T,skewY:C}=s;m&&(o=`perspective(${m}px) ${o}`),y&&(o+=`rotate(${y}deg) `),v&&(o+=`rotateX(${v}deg) `),x&&(o+=`rotateY(${x}deg) `),T&&(o+=`skewX(${T}deg) `),C&&(o+=`skewY(${C}deg) `)}const h=n.x.scale*i.x,p=n.y.scale*i.y;return(h!==1||p!==1)&&(o+=`scale(${h}, ${p})`),o||"none"}const Ef=["","X","Y","Z"],CN=1e3;let MN=0;function wf(n,i,s,o){const{latestValues:l}=i;l[n]&&(s[n]=l[n],i.setStaticValue(n,0),o&&(o[n]=0))}function BS(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const s=ES(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(s,"transform",Pt,!(l||f))}const{parent:o}=n;o&&!o.hasCheckedOptimisedAppear&&BS(o)}function PS({attachResizeListener:n,defaultParent:i,measureScroll:s,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(d={},h=i?.()){this.id=MN++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 4,304 bytes, line 97
97{this.projectionUpdateScheduled=!1,this.nodes.forEach(RN),this.nodes.forEach(zN),this.nodes.forEach(LN),this.nodes.forEach(NN)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new mN)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new Vd),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const p=this.eventHandlers.get(d);p&&p.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=tS(d)&&!TR(d),this.instance=d;const{layoutId:h,layout:p,visualElement:m}=this.options;if(m&&!m.current&&m.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),n){let y,v=0;const x=()=>this.root.updateBlockedByResize=!1;Pt.read(()=>{v=window.innerWidth}),n(d,()=>{const T=window.innerWidth;T!==v&&(v=T,this.root.updateBlockedByResize=!0,y&&y(),y=pN(x,250),il.hasAnimatedSinceResize&&(il.hasAnimatedSinceResize=!1,this.nodes.forEach(l0)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&m&&(h||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:T})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||m.getDefaultTransition()||HN,{onLayoutAnimationStart:w,onLayoutAnimationComplete:M}=m.getProps(),N=!this.targetLayout||!US(this.targetLayout,T),U=!v&&x;if(this.options.layoutRoot||this.resumeFrom||U||v&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const j={...Zd(C,"layout"),onPlay:w,onComplete:M};(m.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j),this.setAnimationOrigin(y,U)}else v||l0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=T})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Si(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(VN),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&BS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(o0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(_N),this.nodes.forEach(DN),this.nodes.forEach(ON)):this.nodes.forEach(o0),this.clearAllSnapshots();const h=Se.now();le.delta=qn(0,1e3/60,h-le.timestamp),le.timestamp=h,le.isProcessing=!0,df.update.process(le),df.preRender.process(le),df.render.process(le),le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Jd.read(this.scheduleUpdate))}
vendor: 6,064 bytes, line 97
97clearAllSnapshots(){this.nodes.forEach(jN),this.sharedNodes.forEach(UN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Pt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Pt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!he(this.snapshot.measuredBox.x)&&!he(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Qt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!VS(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,y=m!==this.prevTransformTemplateValue;d&&this.instance&&(h||Qi(this.latestValues)||y)&&(l(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return d&&(p=this.removeTransform(p)),kN(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return Qt();const h=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(qN))){const{scroll:m}=this.root;m&&(ka(h.x,m.offset.x),ka(h.y,m.offset.y))}return h}removeElementScroll(d){const h=Qt();if(Fe(h,d),this.scroll?.wasRoot)return h;for(let p=0;p<this.path.length;p++){const m=this.path[p],{scroll:y,options:v}=m;m!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&Fe(h,d),ka(h.x,y.offset.x),ka(h.y,y.offset.y))}return h}applyTransform(d,h=!1){const p=Qt();Fe(p,d);for(let m=0;m<this.path.length;m++){const y=this.path[m];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&qa(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),Qi(y.latestValues)&&qa(p,y.latestValues)}return Qi(this.latestValues)&&qa(p,this.latestValues),p}removeTransform(d){const h=Qt();Fe(h,d);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!m.instance||!Qi(m.latestValues))continue;ed(m.latestValues)&&m.updateSnapshot();const y=Qt(),v=m.measurePageBox();Fe(y,v),t0(h,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,y)}return Qi(this.latestValues)&&t0(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==le.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!(!this.layout||!(y||v))){if(this.resolvedRelativeTargetAt=le.timestamp,!this.targetDelta&&!this.relativeTarget){const x=this.getClosestProjectingParent();x&&x.layout&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qt(),this.relativeTargetOrigin=Qt(),sr(this.relativeTargetOrigin,this.layout.layoutBox,x.layout.layoutBox),Fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Qt(),this.targetWithTransforms=Qt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),F2(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Fe(this.target,this.layout.layoutBox),gS(this.target,this.targetDelta)):Fe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const x=this.getClosestProjectingParent();x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qt(),this.relativeTargetOrigin=Qt(),sr(this.relativeTargetOrigin,this.target,x.target),Fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ed(this.parent.latestValues)||yS(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const d=this.getLead(),h=!!this.resumingFrom||this!==d;let p=!0;
vendor: 8,819 bytes, line 97
97if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===le.timestamp&&(p=!1),p)return;const{layout:m,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||y))return;Fe(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;r2(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Qt());const{target:T}=d;if(!T){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Jv(this.prevProjectionDelta.x,this.projectionDelta.x),Jv(this.prevProjectionDelta.y,this.projectionDelta.y)),ar(this.projectionDelta,this.layoutCorrected,T,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!s0(this.projectionDelta.x,this.prevProjectionDelta.x)||!s0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",T))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ga(),this.projectionDelta=Ga(),this.projectionDeltaWithTransform=Ga()}setAnimationOrigin(d,h=!1){const p=this.snapshot,m=p?p.latestValues:{},y={...this.latestValues},v=Ga();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=Qt(),T=p?p.source:void 0,C=this.layout?this.layout.source:void 0,w=T!==C,M=this.getStack(),N=!M||M.members.length<=1,U=!!(w&&!N&&this.options.crossfade===!0&&!this.path.some(PN));this.animationProgress=0;let j;this.mixTargetDelta=q=>{const G=q/1e3;u0(v.x,d.x,G),u0(v.y,d.y,G),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sr(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),BN(this.relativeTarget,this.relativeTargetOrigin,x,G),j&&EN(this.relativeTarget,j)&&(this.isProjectionDirty=!1),j||(j=Qt()),Fe(j,this.relativeTarget)),w&&(this.animationValues=y,gN(y,m,this.latestValues,G,U,N)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=G},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Si(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Pt.update(()=>{il.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Fa(0)),this.currentAnimation=dN(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(CN),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:p,layout:m,latestValues:y}=d;if(!(!h||!p||!m)){if(this!==d&&this.layout&&m&&HS(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||Qt();const v=he(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+v;const x=he(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+x}Fe(h,p),qa(h,y),ar(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new wN),this.sharedNodes.get(d).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const m={};p.z&&wf("z",d,m,this.animationValues);for(let y=0;y<Ef.length;y++)wf(`rotate${Ef[y]}`,d,m,this.animationValues),wf(`skew${Ef[y]}`,d,m,this.animationValues);d.render();for(const y in m)d.setStaticValue(y,m[y]),this.animationValues&&(this.animationValues[y]=m[y]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=nl(h?.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=nl(h?.pointerEvents)||""),this.hasProjected&&!Qi(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const y=m.animationValues||m.latestValues;this.applyTransformsToTarget();let v=AN(this.projectionDeltaWithTransform,this.treeScale,y);p&&(v=p(y,v)),d.transform=v;const{x,y:T}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${T.origin*100}% 0`,m.animationValues?d.opacity=m===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:d.opacity=m===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const C in mr){if(y[C]===void 0)continue;const{correct:w,applyTo:M,isCSSVariable:N}=mr[C],U=v==="none"?y[C]:w(y[C],m);if(M){const j=M.length;for(let q=0;q<j;q++)d[M[q]]=U}else N?this.options.visualElement.renderState.vars[C]=U:d[C]=U}this.options.layoutId&&(d.pointerEvents=m===this?nl(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(r0),this.root.sharedNodes.clear()}}}function DN(n){n.updateLayout()}function ON(n){const i=n.resumeFrom?.snapshot||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:o}=n.layout,{animationType:l}=n.options,f=i.source!==n.layout.source;l==="size"?Ze(y=>{const v=f?i.measuredBox[y]:i.layoutBox[y],x=he(v);v.min=s[y].min,v.max=v.min+x}):HS(l,i.layoutBox,s)&&Ze(y=>{const v=f?i.measuredBox[y]:i.layoutBox[y],x=he(s[y]);v.max=v.min+x,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[y].max=n.relativeTarget[y].min+x)});const d=Ga();ar(d,s,i.layoutBox);const h=Ga();f?ar(h,n.applyTransform(o,!0),i.measuredBox):ar(h,s,i.layoutBox);const p=!VS(d);let m=!1;if(!n.resumeFrom){const y=n.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:x}=y;if(v&&x){const T=Qt();sr(T,i.layoutBox,v.layoutBox);const C=Qt();sr(C,s,x.layoutBox),US(T,C)||(m=!0),y.options.layoutRoot&&(n.relativeTarget=C,n.relativeTargetOrigin=T,n.relativeParent=y)}}}n.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:h,layoutDelta:d,hasLayoutChanged:p,hasRelativeLayoutChanged:m})}else if(n.isLead()){const{onExitComplete:s}=n.options;s&&s()}n.options.transition=void 0}function RN(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}
vendor: 4,603 bytes, line 97
97function NN(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function jN(n){n.clearSnapshot()}function r0(n){n.clearMeasurements()}function o0(n){n.isLayoutDirty=!1}function _N(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function l0(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function zN(n){n.resolveTargetDelta()}function LN(n){n.calcProjection()}function VN(n){n.resetSkewAndRotation()}function UN(n){n.removeLeadSnapshot()}function u0(n,i,s){n.translate=Ht(i.translate,0,s),n.scale=Ht(i.scale,1,s),n.origin=i.origin,n.originPoint=i.originPoint}function c0(n,i,s,o){n.min=Ht(i.min,s.min,o),n.max=Ht(i.max,s.max,o)}function BN(n,i,s,o){c0(n.x,i.x,s.x,o),c0(n.y,i.y,s.y,o)}function PN(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const HN={duration:.45,ease:[.4,0,.1,1]},f0=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),d0=f0("applewebkit/")&&!f0("chrome/")?Math.round:Je;function h0(n){n.min=d0(n.min),n.max=d0(n.max)}function kN(n){h0(n.x),h0(n.y)}function HS(n,i,s){return n==="position"||n==="preserve-aspect"&&!Q2(a0(i),a0(s),.2)}function qN(n){return n!==n.root&&n.scroll?.wasRoot}const GN=PS({attachResizeListener:(n,i)=>pr(n,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Af={current:void 0},kS=PS({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Af.current){const n=new GN({});n.mount(window),n.setOptions({layoutScroll:!0}),Af.current=n}return Af.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),YN={pan:{Feature:lN},drag:{Feature:oN,ProjectionNode:kS,MeasureLayout:_S}};function m0(n,i,s){const{props:o}=n;n.animationState&&o.whileHover&&n.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,f=o[l];f&&Pt.postRender(()=>f(i,Tr(i)))}class XN extends wi{mount(){const{current:i}=this.node;i&&(this.unmount=gR(i,(s,o)=>(m0(this.node,o,"Start"),l=>m0(this.node,l,"End"))))}unmount(){}}class KN extends wi{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=br(pr(this.node.current,"focus",()=>this.onFocus()),pr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function p0(n,i,s){const{props:o}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&o.whileTap&&n.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),f=o[l];f&&Pt.postRender(()=>f(i,Tr(i)))}class QN extends wi{mount(){const{current:i}=this.node;i&&(this.unmount=SR(i,(s,o)=>(p0(this.node,o,"Start"),(l,{success:f})=>p0(this.node,l,f?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ld=new WeakMap,Cf=new WeakMap,FN=n=>{const i=ld.get(n.target);i&&i(n)},ZN=n=>{n.forEach(FN)};function $N({root:n,...i}){const s=n||document;Cf.has(s)||Cf.set(s,{});const o=Cf.get(s),l=JSON.stringify(i);return o[l]||(o[l]=new IntersectionObserver(ZN,{root:n,...i})),o[l]}function JN(n,i,s){const o=$N(i);return ld.set(n,s),o.observe(n),()=>{ld.delete(n),o.unobserve(n)}}const WN={some:0,all:1};class IN extends wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:s,margin:o,amount:l="some",once:f}=i,d={root:s?s.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:WN[l]},h=p=>{const{isIntersecting:m}=p;if(this.isInView===m||(this.isInView=m,f&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),x=m?y:v;x&&x(p)};return JN(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(t3(i,s))&&this.startObserver()}unmount(){}}function t3({viewport:n={}},{viewport:i={}}={}){return s=>n[s]!==i[s]}const e3={inView:{Feature:IN},tap:{Feature:QN}
97,focus:{Feature:KN},hover:{Feature:XN}},n3={layout:{ProjectionNode:kS,MeasureLayout:_S}},i3={...k2,...e3,...YN,...n3},vi=i2(i3,y2);function qS(){const[n,i]=S.useState(!1);return S.useEffect(()=>{const s=()=>{i(window.scrollY>50)};return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]),E.jsx("nav",{className:Ee("fixed top-0 w-full z-50 transition-all duration-300 border-b border-transparent",n?"bg-background/90 backdrop-blur-md border-border py-4":"bg-transparent py-6"),children:E.jsxs("div",{className:"container mx-auto px-6 flex items-center justify-between",children:[E.jsxs(KE,{href:"/",className:"flex items-center gap-2 group","data-testid":"link-home",children:[E.jsx("span",{className:"font-serif text-2xl font-bold tracking-tight text-foreground group-hover:text-primary transition-colors",children:"M1V"}),E.jsx("span",{className:"font-serif text-sm tracking-wide text-muted-foreground group-hover:text-primary/80 transition-colors",children:"- MistOne Ventures"})]}),E.jsx("a",{href:"/contact",className:"text-sm font-bold bg-primary text-primary-foreground px-5 py-2.5 rounded-none hover:bg-primary/90 transition-colors","data-testid":"link-contact",children:"PING M1V"})]})})}const a3="/assets/abstract_cityscape_of_cape_town_and_la_combined-DYcEfmY-.png";function GS(){return E.jsxs("footer",{className:"relative bg-card border-t border-border pt-20 pb-10 overflow-hidden",children:[E.jsx("div",{className:"absolute inset-0 opacity-5 pointer-events-none",children:E.jsx("img",{src:a3,alt:"",className:"w-full h-full object-cover"})}),E.jsx("div",{className:"container mx-auto px-6 relative z-10",children:E.jsxs("div",{className:"grid md:grid-cols-3 gap-12 mb-16",children:[E.jsxs("div",{children:[E.jsxs("h3",{className:"font-serif text-2xl font-bold mb-6",children:["MistOne ",E.jsx("span",{className:"text-primary",children:"Ventures"})]}),E.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed max-w-xs",children:"Backing AI builders for the brave new world."})]}),E.jsxs("div",{children:[E.jsx("h4",{className:"font-serif text-lg font-semibold mb-6 text-primary",children:"Locations"}),E.jsxs("div",{className:"space-y-4",children:[E.jsxs("div",{className:"flex items-start gap-3",children:[E.jsx(Hg,{className:"w-5 h-5 text-primary mt-1"}),E.jsxs("div",{children:[E.jsx("p",{className:"font-medium",children:"Los Angeles (HQ)"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"California, USA"})]})]}),E.jsxs("div",{className:"flex items-start gap-3",children:[E.jsx(Hg,{className:"w-5 h-5 text-primary mt-1"}),E.jsxs("div",{children:[E.jsx("p",{className:"font-medium",children:"Cape Town"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"South Africa"})]})]})]})]}),E.jsxs("div",{children:[E.jsx("h4",{className:"font-serif text-lg font-semibold mb-6 text-primary",children:"Connect"}),E.jsx("a",{href:"https://www.linkedin.com/in/hasanluongo/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-muted-foreground hover:text-primary transition-colors mb-4",children:"LinkedIn"}),E.jsxs("p",{className:"text-sm text-muted-foreground mt-4",children:["© ",new Date().getFullYear()," MistOne Ventures. All rights reserved."]})]})]})})]})}const s3={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},r3={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.2}}};function o3(){return E.jsxs("div",{className:"min-h-screen bg-background text-foreground selection:bg-primary selection:text-primary-foreground",children:[E.jsx(qS,{}),E.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden pt-20",children:[E.jsxs("div",{className:"absolute inset-0 z-0",children:[E.jsx("img",{src:"/hero-bg.png",alt:"Rocket Launch",className:"w-full h-full object-cover opacity-90"}),E.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-trans
97parent to-transparent"}),E.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/20 to-transparent"}),E.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse at center, transparent 30%, rgba(5,10,30,0.75) 100%)"}}),E.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse 60% 70% at 50% 55%, rgba(30,60,120,0.18) 0%, transparent 70%)"}}),E.jsx("div",{className:"aurora-overlay absolute inset-0"})]}),E.jsx("div",{className:"container mx-auto px-6 relative z-10 text-center",children:E.jsx(vi.div,{initial:"hidden",animate:"visible",variants:r3,className:"max-w-4xl mx-auto",children:E.jsx(vi.h1,{variants:s3,className:"font-serif text-5xl md:text-7xl lg:text-8xl font-bold leading-tight mb-8",children:E.jsx("span",{className:"hero-text-shimmer",children:"Backing builders of the brave new world."})})})})]}),E.jsx("section",{id:"portfolio",className:"py-24 bg-background",children:E.jsxs("div",{className:"container mx-auto px-6",children:[E.jsx(vi.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex flex-col md:flex-row justify-between items-end mb-16 gap-6",children:E.jsxs("div",{children:[E.jsx("h2",{className:"font-serif text-4xl md:text-5xl font-bold mb-4",children:"Portfolio"}),E.jsx("p",{className:"text-muted-foreground max-w-lg",children:"Backing the most ambitious founders building in emerging markets."})]})}),E.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[E.jsx(Mf,{name:"Equal",category:"Retail / Commodities",link:"https://equalgold.com",logo:"/equal-wordmark.png",logoClass:"w-36 h-auto max-h-12 object-contain"}),E.jsx(Mf,{name:"Chipper Cash",category:"Fintech / Payments",link:"https://chippercash.com",logo:"/chipper-logo.svg"}),E.jsx(Mf,{name:"Stitch",category:"Fintech / Payments",link:"https://stitch.money",logo:"/stitch-logo.svg"})]})]})}),E.jsx("section",{id:"about",className:"py-24 bg-background relative",children:E.jsx("div",{className:"container mx-auto px-6",children:E.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[E.jsxs(vi.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative",children:[E.jsx("div",{className:"absolute inset-0 border-8 border-primary/10 z-0"}),E.jsx("img",{src:"/hasan-portrait.jpg",alt:"Hasan Luongo",className:"relative z-10 w-full object-cover grayscale hover:grayscale-0 transition-all duration-700 shadow-2xl"}),E.jsxs("div",{className:"absolute bottom-8 left-8 z-20 bg-background/90 backdrop-blur p-6 border-l-4 border-primary max-w-xs",children:[E.jsx("p",{className:"font-serif text-xl font-bold",children:"Hasan Luongo"}),E.jsx("p",{className:"text-sm text-primary uppercase tracking-wider mt-1",children:"Founding Partner"})]})]}),E.jsxs(vi.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[E.jsxs("h2",{className:"font-serif text-4xl md:text-5xl font-bold mb-8",children:["Growth ",E.jsx("span",{className:"text-primary",children:"Mindset"})]}),E.jsxs("div",{className:"space-y-6 text-muted-foreground text-lg leading-relaxed",children:[E.jsx("p",{children:"Hasan is Founding Partner at M1V and a General Partner at Resilience17, with end-to-end responsibility of the firm's investment portfolio."}),E.jsx("p",{children:"Over the last 15 years, he's built technology companies in different industries that have launched in 1000's of markets across the US, Africa, and EU, and produced two significant exits."}),E.jsxs("p",{children:["Before joining Resilience17, Hasan was VP Growth & Marketing at ",E.jsx("span",{className:"text-white font-medium",children:"Chipper Cash"}),", a consumer crossborder fintech. Chipper grew to +6m users globally and is presently valued over $1B."]}),E.jsxs("p",{children:["He led Marketing at ",E.jsx("span",{className:"text-white font-medium",children:"Voicea"})," (acquired by Cisco for +$200M) and was VP of Growth at ",E.jsx("span",{className:"text-white font-medium",children:"Honey"})," (acquired by PayPal for $3B)."]})]})]})]})})}),E.jsx("section",{id:"track-record",className:"py-32 bg-card border-y border-border",children:E.jsxs("div",{className:"container mx-auto px-6",children:[E.jsx("div",{className:"text-center mb-16",children:E.jsx("h3",{className:"text-sm font-bold uppercase tracking-widest text-primary mb-3",children:"Exits"})}),E.jsxs("div",{className:"flex flex-wrap justify-center items-center gap-16 md:gap-20 opacity-70",children:[E.jsx("img",{src:"/honey-logo.svg",alt:"Honey",className:"h-10 md:h-16 grayscale hover:grayscale-0 transition-all duration-300 object-contain"}),E.jsx("img",{src:"/paypal-logo.svg",alt:"PayPal",className:"h-10 md:h-16 grayscale hover:grayscale-0 transition-all duration-300 object-contain"}),E.jsx("div",{className:"h-10 md:h-16 flex items-center font-bold text-2xl md:text-3xl font-serif tracking-tight text-white/70 hover:text-white transition-all duration-300",children:"Voicea"}),E.jsx("img",{src:"/cisco-logo.svg",alt:"Cisco",className:"h-8 md:h-14 grayscale hover:grayscale-0 transition-all duration-300 object-contain"})]})]})}),E.jsx("section",{className:"py-24 bg-background text-center",children:E.jsx("div",{className:"container mx-auto px-6",children:E.jsxs(vi.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[E.jsx("h2",{className:"font-serif text-4xl md:text-5xl font-bold mb-6",children:"Building something new?"}),E.jsx("p",{className:"text-muted-foreground text-lg mb-10 max-w-md mx-auto",children:"We back the most ambitious founders early. Tell us what you're building."}),E.jsx("a",{href:"/contact",className:"inline-block px-10 py-4 bg-primary text-primary-foreground font-bold uppercase text-sm tracking-widest hover:bg-primary/90 transition-colors","data-testid":"link-cta-ping",children:"PING M1V"})]})})}),E.jsx(GS,{})]})}function Mf({name:n,category:i,link:s,logo:o,logoClass:l}){return E.jsxs(vi.a,{href:s,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},whileHover:{y:-5},className:"group relative flex flex-col items-center justify-center text-center bg-card border border-border p-12 hover:border-primary/50 transition-all duration-300 min-h-[320px]",children:[E.jsx("div",{className:"absolute top-4 right-4 opacity-0 group-hover:opacity-100 transition-opacity",children:E.jsx(xA,{className:"w-6 h-6 text-primary"})}),E.jsx("div",{className:"mb-6 group-hover:scale-110 transition-transform duration-500",children:E.jsx("img",{src:o,alt:n,className:l??"w-36 h-auto max-h-12 object-contain"})}),E.jsx("div",{children:E.jsx("span",{className:"text-xs font-bold tracking-widest uppercase text-primary block",children:i})})]})}function l3(){const{toast:n}=z0(),[i,s]=S.useState(!1),[o,l]=S.useState({name:"",email:"",company:"",message:"",productLink:"",deckLink:""}),[f,d]=S.useState(null),[h,p]=S.useState("upload"),[m,y]=S.useState({}),[v,x]=S.useState({}),T=350,C=P=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(P);S.useEffect(()=>{const P={};m.email&&o.email&&!C(o.email)&&(P.email="Please enter a valid email address"),m.message&&o.message.length>T&&(P.message=`Pitch must be ${T} characters or less (${o.message.length}/${T})`),x(P)},[o,m]);const w=P=>
97{const{name:V,value:I}=P.target;l(et=>({...et,[V]:I})),(V==="email"||V==="message")&&y(et=>({...et,[V]:!0}))},M=P=>{const{name:V}=P.target;y(I=>({...I,[V]:!0}))},N=P=>{const V=P.target.files?.[0];if(x(et=>({...et,deck:""})),!V){d(null);return}if(V.type!=="application/pdf"){x(et=>({...et,deck:"Please upload a PDF file only"})),d(null),P.target.value="";return}const I=51*1024*1024;if(V.size>I){x(et=>({...et,deck:"Please upload a PDF file under 51MB"})),d(null),P.target.value="";return}d(V)},U=async P=>{if(P.preventDefault(),y({email:!0,message:!0}),!C(o.email)){x(V=>({...V,email:"Please enter a valid email address"}));return}if(o.message.length>T){x(V=>({...V,message:`Pitch must be ${T} characters or less`}));return}s(!0);try{const V=new FormData;if(V.append("name",o.name),V.append("email",o.email),V.append("company",o.company),V.append("message",o.message),V.append("link1",o.productLink),V.append("link2",h==="link"?o.deckLink:""),h==="upload"&&f&&V.append("deck",f),!(await fetch("/api/contact",{method:"POST",body:V})).ok)throw new Error("Failed to submit form");n({title:"Success",description:"Thank you for reaching out. We'll get back to you soon."}),l({name:"",email:"",company:"",message:"",productLink:"",deckLink:""}),d(null),y({}),x({})}catch{n({title:"Error",description:"Something went wrong. Please try again.",variant:"destructive"})}finally{s(!1)}},j="w-full px-4 py-3 bg-card border text-foreground placeholder:text-muted-foreground focus:outline-none transition-colors",q=P=>`${j} ${v[P]?"border-red-500 focus:border-red-500":"border-border focus:border-primary"}`,G=o.message.length,Z=G>T;return E.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[E.jsx(qS,{}),E.jsx("section",{className:"py-32 pt-40",children:E.jsx("div",{className:"container mx-auto px-6 max-w-2xl",children:E.jsxs(vi.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[E.jsx("h1",{className:"font-serif text-4xl md:text-5xl font-bold mb-4",children:"PING"}),E.jsx("p",{className:"text-muted-foreground text-lg mb-12",children:"Building something new?"}),E.jsxs("form",{onSubmit:U,className:"space-y-6",children:[E.jsxs("div",{children:[E.jsx("label",{htmlFor:"name",className:"block text-sm font-medium mb-2",children:"Name"}),E.jsx("input",{type:"text",id:"name",name:"name",value:o.name,onChange:w,onBlur:M,required:!0,className:q("name"),placeholder:"Your name","data-testid":"input-name"})]}),E.jsxs("div",{children:[E.jsx("label",{htmlFor:"email",className:"block text-sm font-medium mb-2",children:"Email"}),E.jsx("input",{type:"email",id:"email",name:"email",value:o.email,onChange:w,onBlur:M,required:!0,className:q("email"),placeholder:"[email protected]","data-testid":"input-email"}),v.email&&E.jsx("p",{className:"mt-1 text-sm text-red-500","data-testid":"error-email",children:v.email})]}),E.jsxs("div",{children:[E.jsx("label",{htmlFor:"company",className:"block text-sm font-medium mb-2",children:"Company"}),E.jsx("input",{type:"text",id:"company",name:"company",value:o.company,onChange:w,onBlur:M,className:q("company"),placeholder:"Your company","data-testid":"input-company"})]}),E.jsxs("div",{children:[E.jsxs("div",{className:"flex justify-between items-center mb-2",children:[E.jsx("label",{htmlFor:"message",className:"block text-sm font-medium",children:"Pitch"}),E.jsxs("span",{className:`text-xs ${Z?"text-red-500":"text-muted-foreground"}`,children:[G,"/",T]})]}),E.jsx("textarea",{id:"message",name:"message",value:o.message,onChange:w,onBlur:M,required:!0,rows:6,maxLength:T,className:`${q("message")} resize-none`,placeholder:"Tell us about what you're building...","data-testid":"textarea-message"}),v.message&&E.jsx("p",{className:"mt-1 text-sm text-red-500","data-testid":"error-message",children:v.message})]}),E.jsxs("div",{children:[E.jsx("label",{htmlFor:"productLink",className:"block text-sm font-medium mb-2",children:"Product / Website"}),E.jsx("input",{type:"url",id:"productLink",name:"productLink",value:o.productLink,onChange:w,onBlur:M,className:q("productLink"),placeholder:"https://...","data-testid":"input-product-link"})]}),E.jsxs("div",{children:[E.jsxs("div",{className:"flex justify-between items-center mb-3",children:[E.jsxs("label",{className:"block text-sm font-medium",children:["Deck ",E.jsx("span",{className:"text-muted-foreground font-normal",children:"(Optional)"})]}),E.jsxs("div",{className:"flex border border-border text-xs",children:[E.jsx("button",{type:"button",onClick:()=>p("upload"),className:`px-3 py-1 transition-colors ${h==="upload"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,"data-testid":"button-deck-upload",children:"Upload file"}),E.jsx("button",{type:"button",onClick:()=>
97p("link"),className:`px-3 py-1 transition-colors ${h==="link"?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,"data-testid":"button-deck-link",children:"Link"})]})]}),h==="upload"?E.jsx("input",{type:"file",id:"deck",onChange:N,accept:".pdf",className:q("deck"),"data-testid":"input-deck-file"}):E.jsx("input",{type:"url",id:"deckLink",name:"deckLink",value:o.deckLink,onChange:w,onBlur:M,className:q("deckLink"),placeholder:"https://drive.google.com/...","data-testid":"input-deck-link"}),v.deck&&E.jsx("p",{className:"mt-1 text-sm text-red-500","data-testid":"error-deck",children:v.deck})]}),E.jsx("button",{type:"submit",disabled:i,className:"w-full px-6 py-4 bg-primary text-primary-foreground font-bold uppercase text-sm tracking-wide hover:bg-primary/90 disabled:opacity-50 disabled:cursor-not-allowed transition-colors","data-testid":"button-submit",children:i?"Sending...":"PING US"})]})]})})}),E.jsx(GS,{})]})}function u3(){return E.jsxs(QE,{children:[E.jsx(ef,{path:"/",component:o3}),E.jsx(ef,{path:"/contact",component:l3}),E.jsx(ef,{component:AD})]})}function c3(){return E.jsx(gw,{client:xw,children:E.jsxs(bD,{children:[E.jsx(uC,{}),E.jsx(u3,{})]})})}TE.createRoot(document.getElementById("root")).render(E.jsx(c3,{}));

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.