Repository navigation
Expand file tree
/
Copy pathcarousel.bundle.js
More file actions
200 lines (194 loc) · 349 KB
/
Copy pathcarousel.bundle.js
File metadata and controls
200 lines (194 loc) · 349 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
(()=>{var Sb=Object.create;var sg=Object.defineProperty;var Cb=Object.getOwnPropertyDescriptor;var vb=Object.getOwnPropertyNames;var Ib=Object.getPrototypeOf,bb=Object.prototype.hasOwnProperty;var Jt=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(a){throw t=0,a}};var Ab=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of vb(t))!bb.call(e,r)&&r!==a&&sg(e,r,{get:()=>t[r],enumerable:!(o=Cb(t,r))||o.enumerable});return e};var V=(e,t,a)=>(a=e!=null?Sb(Ib(e)):{},Ab(t||!e||!e.__esModule?sg(a,"default",{value:e,enumerable:!0}):a,e));var Lg=Jt(R=>{"use strict";var qd=Symbol.for("react.transitional.element"),Tb=Symbol.for("react.portal"),Mb=Symbol.for("react.fragment"),wb=Symbol.for("react.strict_mode"),Db=Symbol.for("react.profiler"),Bb=Symbol.for("react.consumer"),Rb=Symbol.for("react.context"),Eb=Symbol.for("react.forward_ref"),Ob=Symbol.for("react.suspense"),kb=Symbol.for("react.memo"),mg=Symbol.for("react.lazy"),Pb=Symbol.for("react.activity"),ug=Symbol.iterator;function Vb(e){return e===null||typeof e!="object"?null:(e=ug&&e[ug]||e["@@iterator"],typeof e=="function"?e:null)}var pg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hg=Object.assign,gg={};function kr(e,t,a){this.props=e,this.context=t,this.refs=gg,this.updater=a||pg}kr.prototype.isReactComponent={};kr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xg(){}xg.prototype=kr.prototype;function Fd(e,t,a){this.props=e,this.context=t,this.refs=gg,this.updater=a||pg}var Hd=Fd.prototype=new xg;Hd.constructor=Fd;hg(Hd,kr.prototype);Hd.isPureReactComponent=!0;var fg=Array.isArray;function zd(){}var te={H:null,A:null,T:null,S:null},yg=Object.prototype.hasOwnProperty;function Nd(e,t,a){var o=a.ref;return{$$typeof:qd,type:e,key:t,ref:o!==void 0?o:null,props:a}}function Ub(e,t){return Nd(e.type,t,e.props)}function Gd(e){return typeof e=="object"&&e!==null&&e.$$typeof===qd}function zb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var dg=/\/+/g;function Ud(e,t){return typeof e=="object"&&e!==null&&e.key!=null?zb(""+e.key):t.toString(36)}function qb(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(zd,zd):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Or(e,t,a,o,r){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var n=!1;if(e===null)n=!0;else switch(l){case"bigint":case"string":case"number":n=!0;break;case"object":switch(e.$$typeof){case qd:case Tb:n=!0;break;case mg:return n=e._init,Or(n(e._payload),t,a,o,r)}}if(n)return r=r(e),n=o===""?"."+Ud(e,0):o,fg(r)?(a="",n!=null&&(a=n.replace(dg,"$&/")+"/"),Or(r,t,a,"",function(u){return u})):r!=null&&(Gd(r)&&(r=Ub(r,a+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(dg,"$&/")+"/")+n)),t.push(r)),1;n=0;var i=o===""?".":o+":";if(fg(e))for(var s=0;s<e.length;s++)o=e[s],l=i+Ud(o,s),n+=Or(o,t,a,l,r);else if(s=Vb(e),typeof s=="function")for(e=s.call(e),s=0;!(o=e.next()).done;)o=o.value,l=i+Ud(o,s++),n+=Or(o,t,a,l,r);else if(l==="object"){if(typeof e.then=="function")return Or(qb(e),t,a,o,r);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return n}function ms(e,t,a){if(e==null)return e;var o=[],r=0;return Or(e,o,"","",function(l){return t.call(a,l,r++)}),o}function Fb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var cg=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Hb={map:ms,forEach:function(e,t,a){ms(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return ms(e,function(){t++}),t},toArray:function(e){return ms(e,function(t){return t})||[]},only:function(e){if(!Gd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};R.Activity=Pb;R.Children=Hb;R.Component=kr;R.Fragment=Mb;R.Profiler=Db;R.PureComponent=Fd;R.StrictMode=wb;R.Suspense=Ob;R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=te;R.__COMPILER_RUNTIME={__proto__:null,c:function(e){return te.H.useMemoCache(e)}};R.cache=function(e){return function(){return e.apply(null,arguments)}};R.cacheSignal=function(){return null};R.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=hg({},e.props),r=e.key;if(t!=null)for(l in t.key!==void 0&&(r=""+t.key),t)!yg.call(t,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&t.ref===void 0||(o[l]=t[l]);var l=arguments.length-2;if(l===1)o.children=a;else if(1<l){for(var n=Array(l),i=0;i<l;i++)n[i]=arguments[i+2];o.children=n}return Nd(e.type,r,o)};R.createContext=function(e){return e={$$typeof:Rb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Bb,_context:e},e};R.createElement=function(e,t,a){var o,r={},l=null;if(t!=null)for(o in t.key!==void 0&&(l=""+t.key),t)yg.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(r[o]=t[o]);var n=arguments.length-2;if(n===1)r.children=a;else if(1<n){for(var i=Array(n),s=0;s<n;s++)i[s]=arguments[s+2];r.children=i}if(e&&e.defaultProps)for(o in n=e.defaultProps,n)r[o]===void 0&&(r[o]=n[o]);return Nd(e,l,r)};R.createRef=function(){return{current:null}};R.forwardRef=function(e){return{$$typeof:Eb,render:e}};R.isValidElement=Gd;R.lazy=function(e){return{$$typeof:mg,_payload:{_status:-1,_result:e},_init:Fb}};R.memo=function(e,t){return{$$typeof:kb,type:e,compare:t===void 0?null:t}};R.startTransition=function(e){var t=te.T,a={};te.T=a;try{var o=e(),r=te.S;r!==null&&r(a,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(zd,cg)}catch(l){cg(l)}finally{t!==null&&a.types!==null&&(t.types=a.types),te.T=t}};R.unstable_useCacheRefresh=function(){return te.H.useCacheRefresh()};R.use=function(e){return te.H.use(e)};R.useActionState=function(e,t,a){return te.H.useActionState(e,t,a)};R.useCallback=function(e,t){return te.H.useCallback(e,t)};R.useContext=function(e){return te.H.useContext(e)};R.useDebugValue=function(){};R.useDeferredValue=function(e,t){return te.H.useDeferredValue(e,t)};R.useEffect=function(e,t){return te.H.useEffect(e,t)};R.useEffectEvent=function(e){return te.H.useEffectEvent(e)};R.useId=function(){return te.H.useId()};R.useImperativeHandle=function(e,t,a){return te.H.useImperativeHandle(e,t,a)};R.useInsertionEffect=function(e,t){return te.H.useInsertionEffect(e,t)};R.useLayoutEffect=function(e,t){return te.H.useLayoutEffect(e,t)};R.useMemo=function(e,t){return te.H.useMemo(e,t)};R.useOptimistic=function(e,t){return te.H.useOptimistic(e,t)};R.useReducer=function(e,t,a){return te.H.useReducer(e,t,a)};R.useRef=function(e){return te.H.useRef(e)};R.useState=function(e){return te.H.useState(e)};R.useSyncExternalStore=function(e,t,a){return te.H.useSyncExternalStore(e,t,a)};R.useTransition=function(){return te.H.useTransition()};R.version="19.2.8"});var F=Jt((n2,Sg)=>{"use strict";Sg.exports=Lg()});var Bg=Jt(le=>{"use strict";function Yd(e,t){var a=e.length;e.push(t);e:for(;0<a;){var o=a-1>>>1,r=e[o];if(0<ps(r,t))e[o]=t,e[a]=r,a=o;else break e}}function $t(e){return e.length===0?null:e[0]}function gs(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var o=0,r=e.length,l=r>>>1;o<l;){var n=2*(o+1)-1,i=e[n],s=n+1,u=e[s];if(0>ps(i,a))s<r&&0>ps(u,i)?(e[o]=u,e[s]=a,o=s):(e[o]=i,e[n]=a,o=n);else if(s<r&&0>ps(u,a))e[o]=u,e[s]=a,o=s;else break e}}return t}function ps(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}le.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Cg=performance,le.unstable_now=function(){return Cg.now()}):(_d=Date,vg=_d.now(),le.unstable_now=function(){return _d.now()-vg});var Cg,_d,vg,ma=[],Ya=[],Nb=1,Tt=null,Ge=3,Kd=!1,ln=!1,nn=!1,Zd=!1,Ag=typeof setTimeout=="function"?setTimeout:null,Tg=typeof clearTimeout=="function"?clearTimeout:null,Ig=typeof setImmediate<"u"?setImmediate:null;function hs(e){for(var t=$t(Ya);t!==null;){if(t.callback===null)gs(Ya);else if(t.startTime<=e)gs(Ya),t.sortIndex=t.expirationTime,Yd(ma,t);else break;t=$t(Ya)}}function Qd(e){if(nn=!1,hs(e),!ln)if($t(ma)!==null)ln=!0,Vr||(Vr=!0,Pr());else{var t=$t(Ya);t!==null&&Wd(Qd,t.startTime-e)}}var Vr=!1,sn=-1,Mg=5,wg=-1;function Dg(){return Zd?!0:!(le.unstable_now()-wg<Mg)}function jd(){if(Zd=!1,Vr){var e=le.unstable_now();wg=e;var t=!0;try{e:{ln=!1,nn&&(nn=!1,Tg(sn),sn=-1),Kd=!0;var a=Ge;try{t:{for(hs(e),Tt=$t(ma);Tt!==null&&!(Tt.expirationTime>e&&Dg());){var o=Tt.callback;if(typeof o=="function"){Tt.callback=null,Ge=Tt.priorityLevel;var r=o(Tt.expirationTime<=e);if(e=le.unstable_now(),typeof r=="function"){Tt.callback=r,hs(e),t=!0;break t}Tt===$t(ma)&&gs(ma),hs(e)}else gs(ma);Tt=$t(ma)}if(Tt!==null)t=!0;else{var l=$t(Ya);l!==null&&Wd(Qd,l.startTime-e),t=!1}}break e}finally{Tt=null,Ge=a,Kd=!1}t=void 0}}finally{t?Pr():Vr=!1}}}var Pr;typeof Ig=="function"?Pr=function(){Ig(jd)}:typeof MessageChannel<"u"?(Xd=new MessageChannel,bg=Xd.port2,Xd.port1.onmessage=jd,Pr=function(){bg.postMessage(null)}):Pr=function(){Ag(jd,0)};var Xd,bg;function Wd(e,t){sn=Ag(function(){e(le.unstable_now())},t)}le.unstable_IdlePriority=5;le.unstable_ImmediatePriority=1;le.unstable_LowPriority=4;le.unstable_NormalPriority=3;le.unstable_Profiling=null;le.unstable_UserBlockingPriority=2;le.unstable_cancelCallback=function(e){e.callback=null};le.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Mg=0<e?Math.floor(1e3/e):5};le.unstable_getCurrentPriorityLevel=function(){return Ge};le.unstable_next=function(e){switch(Ge){case 1:case 2:case 3:var t=3;break;default:t=Ge}var a=Ge;Ge=t;try{return e()}finally{Ge=a}};le.unstable_requestPaint=function(){Zd=!0};le.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Ge;Ge=e;try{return t()}finally{Ge=a}};le.unstable_scheduleCallback=function(e,t,a){var o=le.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?o+a:o):a=o,e){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=a+r,e={id:Nb++,callback:t,priorityLevel:e,startTime:a,expirationTime:r,sortIndex:-1},a>o?(e.sortIndex=a,Yd(Ya,e),$t(ma)===null&&e===$t(Ya)&&(nn?(Tg(sn),sn=-1):nn=!0,Wd(Qd,a-o))):(e.sortIndex=r,Yd(ma,e),ln||Kd||(ln=!0,Vr||(Vr=!0,Pr()))),e};le.unstable_shouldYield=Dg;le.unstable_wrapCallback=function(e){var t=Ge;return function(){var a=Ge;Ge=t;try{return e.apply(this,arguments)}finally{Ge=a}}}});var Eg=Jt((s2,Rg)=>{"use strict";Rg.exports=Bg()});var kg=Jt(Qe=>{"use strict";var Gb=F();function Og(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Ka(){}var Ze={d:{f:Ka,r:function(){throw Error(Og(522))},D:Ka,C:Ka,L:Ka,m:Ka,X:Ka,S:Ka,M:Ka},p:0,findDOMNode:null},_b=Symbol.for("react.portal");function jb(e,t,a){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_b,key:o==null?null:""+o,children:e,containerInfo:t,implementation:a}}var un=Gb.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function xs(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Qe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ze;Qe.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Og(299));return jb(e,t,null,a)};Qe.flushSync=function(e){var t=un.T,a=Ze.p;try{if(un.T=null,Ze.p=2,e)return e()}finally{un.T=t,Ze.p=a,Ze.d.f()}};Qe.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Ze.d.C(e,t))};Qe.prefetchDNS=function(e){typeof e=="string"&&Ze.d.D(e)};Qe.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,o=xs(a,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,l=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?Ze.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:o,integrity:r,fetchPriority:l}):a==="script"&&Ze.d.X(e,{crossOrigin:o,integrity:r,fetchPriority:l,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Qe.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=xs(t.as,t.crossOrigin);Ze.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Ze.d.M(e)};Qe.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,o=xs(a,t.crossOrigin);Ze.d.L(e,a,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Qe.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=xs(t.as,t.crossOrigin);Ze.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Ze.d.m(e)};Qe.requestFormReset=function(e){Ze.d.r(e)};Qe.unstable_batchedUpdates=function(e,t){return e(t)};Qe.useFormState=function(e,t,a){return un.H.useFormState(e,t,a)};Qe.useFormStatus=function(){return un.H.useHostTransitionStatus()};Qe.version="19.2.8"});var Ug=Jt((f2,Vg)=>{"use strict";function Pg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pg)}catch(e){console.error(e)}}Pg(),Vg.exports=kg()});var ZS=Jt(Nu=>{"use strict";var Be=Eg(),uy=F(),Xb=Ug();function b(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function fy(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zn(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function dy(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function cy(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function zg(e){if(Zn(e)!==e)throw Error(b(188))}function Yb(e){var t=e.alternate;if(!t){if(t=Zn(e),t===null)throw Error(b(188));return t!==e?null:e}for(var a=e,o=t;;){var r=a.return;if(r===null)break;var l=r.alternate;if(l===null){if(o=r.return,o!==null){a=o;continue}break}if(r.child===l.child){for(l=r.child;l;){if(l===a)return zg(r),e;if(l===o)return zg(r),t;l=l.sibling}throw Error(b(188))}if(a.return!==o.return)a=r,o=l;else{for(var n=!1,i=r.child;i;){if(i===a){n=!0,a=r,o=l;break}if(i===o){n=!0,o=r,a=l;break}i=i.sibling}if(!n){for(i=l.child;i;){if(i===a){n=!0,a=l,o=r;break}if(i===o){n=!0,o=l,a=r;break}i=i.sibling}if(!n)throw Error(b(189))}}if(a.alternate!==o)throw Error(b(190))}if(a.tag!==3)throw Error(b(188));return a.stateNode.current===a?e:t}function my(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=my(e),t!==null)return t;e=e.sibling}return null}var re=Object.assign,Kb=Symbol.for("react.element"),ys=Symbol.for("react.transitional.element"),xn=Symbol.for("react.portal"),Nr=Symbol.for("react.fragment"),py=Symbol.for("react.strict_mode"),Rc=Symbol.for("react.profiler"),hy=Symbol.for("react.consumer"),Ca=Symbol.for("react.context"),Tm=Symbol.for("react.forward_ref"),Ec=Symbol.for("react.suspense"),Oc=Symbol.for("react.suspense_list"),Mm=Symbol.for("react.memo"),Za=Symbol.for("react.lazy"),kc=Symbol.for("react.activity"),Zb=Symbol.for("react.memo_cache_sentinel"),qg=Symbol.iterator;function fn(e){return e===null||typeof e!="object"?null:(e=qg&&e[qg]||e["@@iterator"],typeof e=="function"?e:null)}var Qb=Symbol.for("react.client.reference");function Pc(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Qb?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nr:return"Fragment";case Rc:return"Profiler";case py:return"StrictMode";case Ec:return"Suspense";case Oc:return"SuspenseList";case kc:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case xn:return"Portal";case Ca:return e.displayName||"Context";case hy:return(e._context.displayName||"Context")+".Consumer";case Tm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mm:return t=e.displayName||null,t!==null?t:Pc(e.type)||"Memo";case Za:t=e._payload,e=e._init;try{return Pc(e(t))}catch{}}return null}var yn=Array.isArray,D=uy.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_=Xb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,jo={pending:!1,data:null,method:null,action:null},Vc=[],Gr=-1;function ra(e){return{current:e}}function Ve(e){0>Gr||(e.current=Vc[Gr],Vc[Gr]=null,Gr--)}function $(e,t){Gr++,Vc[Gr]=e.current,e.current=t}var oa=ra(null),Pn=ra(null),no=ra(null),Ws=ra(null);function Js(e,t){switch($(no,t),$(Pn,e),$(oa,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Xx(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Xx(t),e=PS(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ve(oa),$(oa,e)}function il(){Ve(oa),Ve(Pn),Ve(no)}function Uc(e){e.memoizedState!==null&&$(Ws,e);var t=oa.current,a=PS(t,e.type);t!==a&&($(Pn,e),$(oa,a))}function $s(e){Pn.current===e&&(Ve(oa),Ve(Pn)),Ws.current===e&&(Ve(Ws),Xn._currentValue=jo)}var Jd,Fg;function Ho(e){if(Jd===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Jd=t&&t[1]||"",Fg=-1<a.stack.indexOf(`
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Jd+e+Fg}var $d=!1;function ec(e,t){if(!e||$d)return"";$d=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(h){var c=h}Reflect.construct(e,[],d)}else{try{d.call()}catch(h){c=h}e.call(d.prototype)}}else{try{throw Error()}catch(h){c=h}(d=e())&&typeof d.catch=="function"&&d.catch(function(){})}}catch(h){if(h&&c&&typeof h.stack=="string")return[h.stack,c.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=o.DetermineComponentFrameRoot(),n=l[0],i=l[1];if(n&&i){var s=n.split(`
`),u=i.split(`
`);for(r=o=0;o<s.length&&!s[o].includes("DetermineComponentFrameRoot");)o++;for(;r<u.length&&!u[r].includes("DetermineComponentFrameRoot");)r++;if(o===s.length||r===u.length)for(o=s.length-1,r=u.length-1;1<=o&&0<=r&&s[o]!==u[r];)r--;for(;1<=o&&0<=r;o--,r--)if(s[o]!==u[r]){if(o!==1||r!==1)do if(o--,r--,0>r||s[o]!==u[r]){var f=`
`+s[o].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),f}while(1<=o&&0<=r);break}}}finally{$d=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ho(a):""}function Wb(e,t){switch(e.tag){case 26:case 27:case 5:return Ho(e.type);case 16:return Ho("Lazy");case 13:return e.child!==t&&t!==null?Ho("Suspense Fallback"):Ho("Suspense");case 19:return Ho("SuspenseList");case 0:case 15:return ec(e.type,!1);case 11:return ec(e.type.render,!1);case 1:return ec(e.type,!0);case 31:return Ho("Activity");default:return""}}function Hg(e){try{var t="",a=null;do t+=Wb(e,a),a=e,e=e.return;while(e);return t}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}var zc=Object.prototype.hasOwnProperty,wm=Be.unstable_scheduleCallback,tc=Be.unstable_cancelCallback,Jb=Be.unstable_shouldYield,$b=Be.unstable_requestPaint,gt=Be.unstable_now,eA=Be.unstable_getCurrentPriorityLevel,gy=Be.unstable_ImmediatePriority,xy=Be.unstable_UserBlockingPriority,eu=Be.unstable_NormalPriority,tA=Be.unstable_LowPriority,yy=Be.unstable_IdlePriority,aA=Be.log,oA=Be.unstable_setDisableYieldValue,Qn=null,xt=null;function to(e){if(typeof aA=="function"&&oA(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(Qn,e)}catch{}}var yt=Math.clz32?Math.clz32:nA,rA=Math.log,lA=Math.LN2;function nA(e){return e>>>=0,e===0?32:31-(rA(e)/lA|0)|0}var Ls=256,Ss=262144,Cs=4194304;function No(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Tu(e,t,a){var o=e.pendingLanes;if(o===0)return 0;var r=0,l=e.suspendedLanes,n=e.pingedLanes;e=e.warmLanes;var i=o&134217727;return i!==0?(o=i&~l,o!==0?r=No(o):(n&=i,n!==0?r=No(n):a||(a=i&~e,a!==0&&(r=No(a))))):(i=o&~l,i!==0?r=No(i):n!==0?r=No(n):a||(a=o&~e,a!==0&&(r=No(a)))),r===0?0:t!==0&&t!==r&&(t&l)===0&&(l=r&-r,a=t&-t,l>=a||l===32&&(a&4194048)!==0)?t:r}function Wn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function iA(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 Ly(){var e=Cs;return Cs<<=1,(Cs&62914560)===0&&(Cs=4194304),e}function ac(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Jn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function sA(e,t,a,o,r,l){var n=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var i=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(a=n&~a;0<a;){var f=31-yt(a),d=1<<f;i[f]=0,s[f]=-1;var c=u[f];if(c!==null)for(u[f]=null,f=0;f<c.length;f++){var h=c[f];h!==null&&(h.lane&=-536870913)}a&=~d}o!==0&&Sy(e,o,0),l!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=l&~(n&~t))}function Sy(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-yt(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|a&261930}function Cy(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var o=31-yt(a),r=1<<o;r&t|e[o]&t&&(e[o]|=t),a&=~r}}function vy(e,t){var a=t&-t;return a=(a&42)!==0?1:Dm(a),(a&(e.suspendedLanes|t))!==0?0:a}function Dm(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Bm(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Iy(){var e=_.p;return e!==0?e:(e=window.event,e===void 0?32:XS(e.type))}function Ng(e,t){var a=_.p;try{return _.p=e,t()}finally{_.p=a}}var So=Math.random().toString(36).slice(2),qe="__reactFiber$"+So,nt="__reactProps$"+So,yl="__reactContainer$"+So,qc="__reactEvents$"+So,uA="__reactListeners$"+So,fA="__reactHandles$"+So,Gg="__reactResources$"+So,$n="__reactMarker$"+So;function Rm(e){delete e[qe],delete e[nt],delete e[qc],delete e[uA],delete e[fA]}function _r(e){var t=e[qe];if(t)return t;for(var a=e.parentNode;a;){if(t=a[yl]||a[qe]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Wx(e);e!==null;){if(a=e[qe])return a;e=Wx(e)}return t}e=a,a=e.parentNode}return null}function Ll(e){if(e=e[qe]||e[yl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ln(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(b(33))}function el(e){var t=e[Gg];return t||(t=e[Gg]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Pe(e){e[$n]=!0}var by=new Set,Ay={};function tr(e,t){sl(e,t),sl(e+"Capture",t)}function sl(e,t){for(Ay[e]=t,e=0;e<t.length;e++)by.add(t[e])}var dA=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]*$"),_g={},jg={};function cA(e){return zc.call(jg,e)?!0:zc.call(_g,e)?!1:dA.test(e)?jg[e]=!0:(_g[e]=!0,!1)}function Vs(e,t,a){if(cA(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function vs(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function pa(e,t,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+o)}}function wt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ty(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mA(e,t,a){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var r=o.get,l=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(n){a=""+n,l.call(this,n)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(n){a=""+n},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fc(e){if(!e._valueTracker){var t=Ty(e)?"checked":"value";e._valueTracker=mA(e,t,""+e[t])}}function My(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),o="";return e&&(o=Ty(e)?e.checked?"true":"false":e.value),e=o,e!==a?(t.setValue(e),!0):!1}function tu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var pA=/[\n"\\]/g;function Rt(e){return e.replace(pA,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Hc(e,t,a,o,r,l,n,i){e.name="",n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"?e.type=n:e.removeAttribute("type"),t!=null?n==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+wt(t)):e.value!==""+wt(t)&&(e.value=""+wt(t)):n!=="submit"&&n!=="reset"||e.removeAttribute("value"),t!=null?Nc(e,n,wt(t)):a!=null?Nc(e,n,wt(a)):o!=null&&e.removeAttribute("value"),r==null&&l!=null&&(e.defaultChecked=!!l),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.name=""+wt(i):e.removeAttribute("name")}function wy(e,t,a,o,r,l,n,i){if(l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(e.type=l),t!=null||a!=null){if(!(l!=="submit"&&l!=="reset"||t!=null)){Fc(e);return}a=a!=null?""+wt(a):"",t=t!=null?""+wt(t):a,i||t===e.value||(e.value=t),e.defaultValue=t}o=o??r,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=i?e.checked:!!o,e.defaultChecked=!!o,n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(e.name=n),Fc(e)}function Nc(e,t,a){t==="number"&&tu(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function tl(e,t,a,o){if(e=e.options,t){t={};for(var r=0;r<a.length;r++)t["$"+a[r]]=!0;for(a=0;a<e.length;a++)r=t.hasOwnProperty("$"+e[a].value),e[a].selected!==r&&(e[a].selected=r),r&&o&&(e[a].defaultSelected=!0)}else{for(a=""+wt(a),t=null,r=0;r<e.length;r++){if(e[r].value===a){e[r].selected=!0,o&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Dy(e,t,a){if(t!=null&&(t=""+wt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+wt(a):""}function By(e,t,a,o){if(t==null){if(o!=null){if(a!=null)throw Error(b(92));if(yn(o)){if(1<o.length)throw Error(b(93));o=o[0]}a=o}a==null&&(a=""),t=a}a=wt(t),e.defaultValue=a,o=e.textContent,o===a&&o!==""&&o!==null&&(e.value=o),Fc(e)}function ul(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var hA=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 Xg(e,t,a){var o=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,a):typeof a!="number"||a===0||hA.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Ry(e,t,a){if(t!=null&&typeof t!="object")throw Error(b(62));if(e=e.style,a!=null){for(var o in a)!a.hasOwnProperty(o)||t!=null&&t.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var r in t)o=t[r],t.hasOwnProperty(r)&&a[r]!==o&&Xg(e,r,o)}else for(var l in t)t.hasOwnProperty(l)&&Xg(e,l,t[l])}function Em(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var gA=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"]]),xA=/^[\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 Us(e){return xA.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function va(){}var Gc=null;function Om(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jr=null,al=null;function Yg(e){var t=Ll(e);if(t&&(e=t.stateNode)){var a=e[nt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Hc(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Rt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var o=a[t];if(o!==e&&o.form===e.form){var r=o[nt]||null;if(!r)throw Error(b(90));Hc(o,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<a.length;t++)o=a[t],o.form===e.form&&My(o)}break e;case"textarea":Dy(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&tl(e,!!a.multiple,t,!1)}}}var oc=!1;function Ey(e,t,a){if(oc)return e(t,a);oc=!0;try{var o=e(t);return o}finally{if(oc=!1,(jr!==null||al!==null)&&(zu(),jr&&(t=jr,e=al,al=jr=null,Yg(t),e)))for(t=0;t<e.length;t++)Yg(e[t])}}function Vn(e,t){var a=e.stateNode;if(a===null)return null;var o=a[nt]||null;if(o===null)return null;a=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(b(231,t,typeof a));return a}var Ma=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_c=!1;if(Ma)try{Ur={},Object.defineProperty(Ur,"passive",{get:function(){_c=!0}}),window.addEventListener("test",Ur,Ur),window.removeEventListener("test",Ur,Ur)}catch{_c=!1}var Ur,ao=null,km=null,zs=null;function Oy(){if(zs)return zs;var e,t=km,a=t.length,o,r="value"in ao?ao.value:ao.textContent,l=r.length;for(e=0;e<a&&t[e]===r[e];e++);var n=a-e;for(o=1;o<=n&&t[a-o]===r[l-o];o++);return zs=r.slice(e,1<o?1-o:void 0)}function qs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Is(){return!0}function Kg(){return!1}function it(e){function t(a,o,r,l,n){this._reactName=a,this._targetInst=r,this.type=o,this.nativeEvent=l,this.target=n,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(a=e[i],this[i]=a?a(l):l[i]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?Is:Kg,this.isPropagationStopped=Kg,this}return re(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Is)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Is)},persist:function(){},isPersistent:Is}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mu=it(ar),ei=re({},ar,{view:0,detail:0}),yA=it(ei),rc,lc,dn,wu=re({},ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&e.type==="mousemove"?(rc=e.screenX-dn.screenX,lc=e.screenY-dn.screenY):lc=rc=0,dn=e),rc)},movementY:function(e){return"movementY"in e?e.movementY:lc}}),Zg=it(wu),LA=re({},wu,{dataTransfer:0}),SA=it(LA),CA=re({},ei,{relatedTarget:0}),nc=it(CA),vA=re({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),IA=it(vA),bA=re({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),AA=it(bA),TA=re({},ar,{data:0}),Qg=it(TA),MA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wA={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"},DA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function BA(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=DA[e])?!!t[e]:!1}function Pm(){return BA}var RA=re({},ei,{key:function(e){if(e.key){var t=MA[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wA[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pm,charCode:function(e){return e.type==="keypress"?qs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),EA=it(RA),OA=re({},wu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wg=it(OA),kA=re({},ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pm}),PA=it(kA),VA=re({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),UA=it(VA),zA=re({},wu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qA=it(zA),FA=re({},ar,{newState:0,oldState:0}),HA=it(FA),NA=[9,13,27,32],Vm=Ma&&"CompositionEvent"in window,vn=null;Ma&&"documentMode"in document&&(vn=document.documentMode);var GA=Ma&&"TextEvent"in window&&!vn,ky=Ma&&(!Vm||vn&&8<vn&&11>=vn),Jg=" ",$g=!1;function Py(e,t){switch(e){case"keyup":return NA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xr=!1;function _A(e,t){switch(e){case"compositionend":return Vy(t);case"keypress":return t.which!==32?null:($g=!0,Jg);case"textInput":return e=t.data,e===Jg&&$g?null:e;default:return null}}function jA(e,t){if(Xr)return e==="compositionend"||!Vm&&Py(e,t)?(e=Oy(),zs=km=ao=null,Xr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ky&&t.locale!=="ko"?null:t.data;default:return null}}var XA={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 ex(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!XA[e.type]:t==="textarea"}function Uy(e,t,a,o){jr?al?al.push(o):al=[o]:jr=o,t=Lu(t,"onChange"),0<t.length&&(a=new Mu("onChange","change",null,a,o),e.push({event:a,listeners:t}))}var In=null,Un=null;function YA(e){ES(e,0)}function Du(e){var t=Ln(e);if(My(t))return e}function tx(e,t){if(e==="change")return t}var zy=!1;Ma&&(Ma?(As="oninput"in document,As||(ic=document.createElement("div"),ic.setAttribute("oninput","return;"),As=typeof ic.oninput=="function"),bs=As):bs=!1,zy=bs&&(!document.documentMode||9<document.documentMode));var bs,As,ic;function ax(){In&&(In.detachEvent("onpropertychange",qy),Un=In=null)}function qy(e){if(e.propertyName==="value"&&Du(Un)){var t=[];Uy(t,Un,e,Om(e)),Ey(YA,t)}}function KA(e,t,a){e==="focusin"?(ax(),In=t,Un=a,In.attachEvent("onpropertychange",qy)):e==="focusout"&&ax()}function ZA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Du(Un)}function QA(e,t){if(e==="click")return Du(t)}function WA(e,t){if(e==="input"||e==="change")return Du(t)}function JA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var St=typeof Object.is=="function"?Object.is:JA;function zn(e,t){if(St(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var r=a[o];if(!zc.call(t,r)||!St(e[r],t[r]))return!1}return!0}function ox(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rx(e,t){var a=ox(e);e=0;for(var o;a;){if(a.nodeType===3){if(o=e+a.textContent.length,e<=t&&o>=t)return{node:a,offset:t-e};e=o}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=ox(a)}}function Fy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Hy(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=tu(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=tu(e.document)}return t}function Um(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var $A=Ma&&"documentMode"in document&&11>=document.documentMode,Yr=null,jc=null,bn=null,Xc=!1;function lx(e,t,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Xc||Yr==null||Yr!==tu(o)||(o=Yr,"selectionStart"in o&&Um(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),bn&&zn(bn,o)||(bn=o,o=Lu(jc,"onSelect"),0<o.length&&(t=new Mu("onSelect","select",null,t,a),e.push({event:t,listeners:o}),t.target=Yr)))}function Fo(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Kr={animationend:Fo("Animation","AnimationEnd"),animationiteration:Fo("Animation","AnimationIteration"),animationstart:Fo("Animation","AnimationStart"),transitionrun:Fo("Transition","TransitionRun"),transitionstart:Fo("Transition","TransitionStart"),transitioncancel:Fo("Transition","TransitionCancel"),transitionend:Fo("Transition","TransitionEnd")},sc={},Ny={};Ma&&(Ny=document.createElement("div").style,"AnimationEvent"in window||(delete Kr.animationend.animation,delete Kr.animationiteration.animation,delete Kr.animationstart.animation),"TransitionEvent"in window||delete Kr.transitionend.transition);function or(e){if(sc[e])return sc[e];if(!Kr[e])return e;var t=Kr[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Ny)return sc[e]=t[a];return e}var Gy=or("animationend"),_y=or("animationiteration"),jy=or("animationstart"),eT=or("transitionrun"),tT=or("transitionstart"),aT=or("transitioncancel"),Xy=or("transitionend"),Yy=new Map,Yc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Yc.push("scrollEnd");function Xt(e,t){Yy.set(e,t),tr(t,[e])}var au=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Mt=[],Zr=0,zm=0;function Bu(){for(var e=Zr,t=zm=Zr=0;t<e;){var a=Mt[t];Mt[t++]=null;var o=Mt[t];Mt[t++]=null;var r=Mt[t];Mt[t++]=null;var l=Mt[t];if(Mt[t++]=null,o!==null&&r!==null){var n=o.pending;n===null?r.next=r:(r.next=n.next,n.next=r),o.pending=r}l!==0&&Ky(a,r,l)}}function Ru(e,t,a,o){Mt[Zr++]=e,Mt[Zr++]=t,Mt[Zr++]=a,Mt[Zr++]=o,zm|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function qm(e,t,a,o){return Ru(e,t,a,o),ou(e)}function rr(e,t){return Ru(e,null,null,t),ou(e)}function Ky(e,t,a){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a);for(var r=!1,l=e.return;l!==null;)l.childLanes|=a,o=l.alternate,o!==null&&(o.childLanes|=a),l.tag===22&&(e=l.stateNode,e===null||e._visibility&1||(r=!0)),e=l,l=l.return;return e.tag===3?(l=e.stateNode,r&&t!==null&&(r=31-yt(a),e=l.hiddenUpdates,o=e[r],o===null?e[r]=[t]:o.push(t),t.lane=a|536870912),l):null}function ou(e){if(50<On)throw On=0,pm=null,Error(b(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Qr={};function oT(e,t,a,o){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pt(e,t,a,o){return new oT(e,t,a,o)}function Fm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ba(e,t){var a=e.alternate;return a===null?(a=pt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Zy(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Fs(e,t,a,o,r,l){var n=0;if(o=e,typeof e=="function")Fm(e)&&(n=1);else if(typeof e=="string")n=n1(e,a,oa.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case kc:return e=pt(31,a,t,r),e.elementType=kc,e.lanes=l,e;case Nr:return Xo(a.children,r,l,t);case py:n=8,r|=24;break;case Rc:return e=pt(12,a,t,r|2),e.elementType=Rc,e.lanes=l,e;case Ec:return e=pt(13,a,t,r),e.elementType=Ec,e.lanes=l,e;case Oc:return e=pt(19,a,t,r),e.elementType=Oc,e.lanes=l,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ca:n=10;break e;case hy:n=9;break e;case Tm:n=11;break e;case Mm:n=14;break e;case Za:n=16,o=null;break e}n=29,a=Error(b(130,e===null?"null":typeof e,"")),o=null}return t=pt(n,a,t,r),t.elementType=e,t.type=o,t.lanes=l,t}function Xo(e,t,a,o){return e=pt(7,e,o,t),e.lanes=a,e}function uc(e,t,a){return e=pt(6,e,null,t),e.lanes=a,e}function Qy(e){var t=pt(18,null,null,0);return t.stateNode=e,t}function fc(e,t,a){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var nx=new WeakMap;function Et(e,t){if(typeof e=="object"&&e!==null){var a=nx.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Hg(t)},nx.set(e,t),t)}return{value:e,source:t,stack:Hg(t)}}var Wr=[],Jr=0,ru=null,qn=0,Dt=[],Bt=0,go=null,ea=1,ta="";function La(e,t){Wr[Jr++]=qn,Wr[Jr++]=ru,ru=e,qn=t}function Wy(e,t,a){Dt[Bt++]=ea,Dt[Bt++]=ta,Dt[Bt++]=go,go=e;var o=ea;e=ta;var r=32-yt(o)-1;o&=~(1<<r),a+=1;var l=32-yt(t)+r;if(30<l){var n=r-r%5;l=(o&(1<<n)-1).toString(32),o>>=n,r-=n,ea=1<<32-yt(t)+r|a<<r|o,ta=l+e}else ea=1<<l|a<<r|o,ta=e}function Hm(e){e.return!==null&&(La(e,1),Wy(e,1,0))}function Nm(e){for(;e===ru;)ru=Wr[--Jr],Wr[Jr]=null,qn=Wr[--Jr],Wr[Jr]=null;for(;e===go;)go=Dt[--Bt],Dt[Bt]=null,ta=Dt[--Bt],Dt[Bt]=null,ea=Dt[--Bt],Dt[Bt]=null}function Jy(e,t){Dt[Bt++]=ea,Dt[Bt++]=ta,Dt[Bt++]=go,ea=t.id,ta=t.overflow,go=e}var Fe=null,oe=null,H=!1,io=null,Ot=!1,Kc=Error(b(519));function xo(e){var t=Error(b(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Fn(Et(t,e)),Kc}function ix(e){var t=e.stateNode,a=e.type,o=e.memoizedProps;switch(t[qe]=e,t[nt]=o,a){case"dialog":U("cancel",t),U("close",t);break;case"iframe":case"object":case"embed":U("load",t);break;case"video":case"audio":for(a=0;a<_n.length;a++)U(_n[a],t);break;case"source":U("error",t);break;case"img":case"image":case"link":U("error",t),U("load",t);break;case"details":U("toggle",t);break;case"input":U("invalid",t),wy(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":U("invalid",t);break;case"textarea":U("invalid",t),By(t,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||o.suppressHydrationWarning===!0||kS(t.textContent,a)?(o.popover!=null&&(U("beforetoggle",t),U("toggle",t)),o.onScroll!=null&&U("scroll",t),o.onScrollEnd!=null&&U("scrollend",t),o.onClick!=null&&(t.onclick=va),t=!0):t=!1,t||xo(e,!0)}function sx(e){for(Fe=e.return;Fe;)switch(Fe.tag){case 5:case 31:case 13:Ot=!1;return;case 27:case 3:Ot=!0;return;default:Fe=Fe.return}}function zr(e){if(e!==Fe)return!1;if(!H)return sx(e),H=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Lm(e.type,e.memoizedProps)),a=!a),a&&oe&&xo(e),sx(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(317));oe=Qx(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(317));oe=Qx(e)}else t===27?(t=oe,Co(e.type)?(e=Im,Im=null,oe=e):oe=t):oe=Fe?Pt(e.stateNode.nextSibling):null;return!0}function Qo(){oe=Fe=null,H=!1}function dc(){var e=io;return e!==null&&(rt===null?rt=e:rt.push.apply(rt,e),io=null),e}function Fn(e){io===null?io=[e]:io.push(e)}var Zc=ra(null),lr=null,Ia=null;function Wa(e,t,a){$(Zc,t._currentValue),t._currentValue=a}function Aa(e){e._currentValue=Zc.current,Ve(Zc)}function Qc(e,t,a){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===a)break;e=e.return}}function Wc(e,t,a,o){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var l=r.dependencies;if(l!==null){var n=r.child;l=l.firstContext;e:for(;l!==null;){var i=l;l=r;for(var s=0;s<t.length;s++)if(i.context===t[s]){l.lanes|=a,i=l.alternate,i!==null&&(i.lanes|=a),Qc(l.return,a,e),o||(n=null);break e}l=i.next}}else if(r.tag===18){if(n=r.return,n===null)throw Error(b(341));n.lanes|=a,l=n.alternate,l!==null&&(l.lanes|=a),Qc(n,a,e),n=null}else n=r.child;if(n!==null)n.return=r;else for(n=r;n!==null;){if(n===e){n=null;break}if(r=n.sibling,r!==null){r.return=n.return,n=r;break}n=n.return}r=n}}function Sl(e,t,a,o){e=null;for(var r=t,l=!1;r!==null;){if(!l){if((r.flags&524288)!==0)l=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var n=r.alternate;if(n===null)throw Error(b(387));if(n=n.memoizedProps,n!==null){var i=r.type;St(r.pendingProps.value,n.value)||(e!==null?e.push(i):e=[i])}}else if(r===Ws.current){if(n=r.alternate,n===null)throw Error(b(387));n.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(Xn):e=[Xn])}r=r.return}e!==null&&Wc(t,e,a,o),t.flags|=262144}function lu(e){for(e=e.firstContext;e!==null;){if(!St(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Wo(e){lr=e,Ia=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function He(e){return $y(lr,e)}function Ts(e,t){return lr===null&&Wo(e),$y(e,t)}function $y(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Ia===null){if(e===null)throw Error(b(308));Ia=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ia=Ia.next=t;return a}var rT=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},lT=Be.unstable_scheduleCallback,nT=Be.unstable_NormalPriority,Ie={$$typeof:Ca,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Gm(){return{controller:new rT,data:new Map,refCount:0}}function ti(e){e.refCount--,e.refCount===0&&lT(nT,function(){e.controller.abort()})}var An=null,Jc=0,fl=0,ol=null;function iT(e,t){if(An===null){var a=An=[];Jc=0,fl=pp(),ol={status:"pending",value:void 0,then:function(o){a.push(o)}}}return Jc++,t.then(ux,ux),t}function ux(){if(--Jc===0&&An!==null){ol!==null&&(ol.status="fulfilled");var e=An;An=null,fl=0,ol=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function sT(e,t){var a=[],o={status:"pending",value:null,reason:null,then:function(r){a.push(r)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var r=0;r<a.length;r++)(0,a[r])(t)},function(r){for(o.status="rejected",o.reason=r,r=0;r<a.length;r++)(0,a[r])(void 0)}),o}var fx=D.S;D.S=function(e,t){mS=gt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&iT(e,t),fx!==null&&fx(e,t)};var Yo=ra(null);function _m(){var e=Yo.current;return e!==null?e:Q.pooledCache}function Hs(e,t){t===null?$(Yo,Yo.current):$(Yo,t.pool)}function eL(){var e=_m();return e===null?null:{parent:Ie._currentValue,pool:e}}var Cl=Error(b(460)),jm=Error(b(474)),Eu=Error(b(542)),nu={then:function(){}};function dx(e){return e=e.status,e==="fulfilled"||e==="rejected"}function tL(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(va,va),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,mx(e),e;default:if(typeof t.status=="string")t.then(va,va);else{if(e=Q,e!==null&&100<e.shellSuspendCounter)throw Error(b(482));e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=o}},function(o){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,mx(e),e}throw Ko=t,Cl}}function Go(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Ko=a,Cl):a}}var Ko=null;function cx(){if(Ko===null)throw Error(b(459));var e=Ko;return Ko=null,e}function mx(e){if(e===Cl||e===Eu)throw Error(b(483))}var rl=null,Hn=0;function Ms(e){var t=Hn;return Hn+=1,rl===null&&(rl=[]),tL(rl,e,t)}function cn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ws(e,t){throw t.$$typeof===Kb?Error(b(525)):(e=Object.prototype.toString.call(t),Error(b(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function aL(e){function t(p,m){if(e){var g=p.deletions;g===null?(p.deletions=[m],p.flags|=16):g.push(m)}}function a(p,m){if(!e)return null;for(;m!==null;)t(p,m),m=m.sibling;return null}function o(p){for(var m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function r(p,m){return p=ba(p,m),p.index=0,p.sibling=null,p}function l(p,m,g){return p.index=g,e?(g=p.alternate,g!==null?(g=g.index,g<m?(p.flags|=67108866,m):g):(p.flags|=67108866,m)):(p.flags|=1048576,m)}function n(p){return e&&p.alternate===null&&(p.flags|=67108866),p}function i(p,m,g,y){return m===null||m.tag!==6?(m=uc(g,p.mode,y),m.return=p,m):(m=r(m,g),m.return=p,m)}function s(p,m,g,y){var I=g.type;return I===Nr?f(p,m,g.props.children,y,g.key):m!==null&&(m.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===Za&&Go(I)===m.type)?(m=r(m,g.props),cn(m,g),m.return=p,m):(m=Fs(g.type,g.key,g.props,null,p.mode,y),cn(m,g),m.return=p,m)}function u(p,m,g,y){return m===null||m.tag!==4||m.stateNode.containerInfo!==g.containerInfo||m.stateNode.implementation!==g.implementation?(m=fc(g,p.mode,y),m.return=p,m):(m=r(m,g.children||[]),m.return=p,m)}function f(p,m,g,y,I){return m===null||m.tag!==7?(m=Xo(g,p.mode,y,I),m.return=p,m):(m=r(m,g),m.return=p,m)}function d(p,m,g){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=uc(""+m,p.mode,g),m.return=p,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ys:return g=Fs(m.type,m.key,m.props,null,p.mode,g),cn(g,m),g.return=p,g;case xn:return m=fc(m,p.mode,g),m.return=p,m;case Za:return m=Go(m),d(p,m,g)}if(yn(m)||fn(m))return m=Xo(m,p.mode,g,null),m.return=p,m;if(typeof m.then=="function")return d(p,Ms(m),g);if(m.$$typeof===Ca)return d(p,Ts(p,m),g);ws(p,m)}return null}function c(p,m,g,y){var I=m!==null?m.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return I!==null?null:i(p,m,""+g,y);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ys:return g.key===I?s(p,m,g,y):null;case xn:return g.key===I?u(p,m,g,y):null;case Za:return g=Go(g),c(p,m,g,y)}if(yn(g)||fn(g))return I!==null?null:f(p,m,g,y,null);if(typeof g.then=="function")return c(p,m,Ms(g),y);if(g.$$typeof===Ca)return c(p,m,Ts(p,g),y);ws(p,g)}return null}function h(p,m,g,y,I){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return p=p.get(g)||null,i(m,p,""+y,I);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ys:return p=p.get(y.key===null?g:y.key)||null,s(m,p,y,I);case xn:return p=p.get(y.key===null?g:y.key)||null,u(m,p,y,I);case Za:return y=Go(y),h(p,m,g,y,I)}if(yn(y)||fn(y))return p=p.get(g)||null,f(m,p,y,I,null);if(typeof y.then=="function")return h(p,m,g,Ms(y),I);if(y.$$typeof===Ca)return h(p,m,g,Ts(m,y),I);ws(m,y)}return null}function x(p,m,g,y){for(var I=null,T=null,C=m,v=m=0,M=null;C!==null&&v<g.length;v++){C.index>v?(M=C,C=null):M=C.sibling;var A=c(p,C,g[v],y);if(A===null){C===null&&(C=M);break}e&&C&&A.alternate===null&&t(p,C),m=l(A,m,v),T===null?I=A:T.sibling=A,T=A,C=M}if(v===g.length)return a(p,C),H&&La(p,v),I;if(C===null){for(;v<g.length;v++)C=d(p,g[v],y),C!==null&&(m=l(C,m,v),T===null?I=C:T.sibling=C,T=C);return H&&La(p,v),I}for(C=o(C);v<g.length;v++)M=h(C,p,v,g[v],y),M!==null&&(e&&M.alternate!==null&&C.delete(M.key===null?v:M.key),m=l(M,m,v),T===null?I=M:T.sibling=M,T=M);return e&&C.forEach(function(B){return t(p,B)}),H&&La(p,v),I}function L(p,m,g,y){if(g==null)throw Error(b(151));for(var I=null,T=null,C=m,v=m=0,M=null,A=g.next();C!==null&&!A.done;v++,A=g.next()){C.index>v?(M=C,C=null):M=C.sibling;var B=c(p,C,A.value,y);if(B===null){C===null&&(C=M);break}e&&C&&B.alternate===null&&t(p,C),m=l(B,m,v),T===null?I=B:T.sibling=B,T=B,C=M}if(A.done)return a(p,C),H&&La(p,v),I;if(C===null){for(;!A.done;v++,A=g.next())A=d(p,A.value,y),A!==null&&(m=l(A,m,v),T===null?I=A:T.sibling=A,T=A);return H&&La(p,v),I}for(C=o(C);!A.done;v++,A=g.next())A=h(C,p,v,A.value,y),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?v:A.key),m=l(A,m,v),T===null?I=A:T.sibling=A,T=A);return e&&C.forEach(function(ee){return t(p,ee)}),H&&La(p,v),I}function S(p,m,g,y){if(typeof g=="object"&&g!==null&&g.type===Nr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case ys:e:{for(var I=g.key;m!==null;){if(m.key===I){if(I=g.type,I===Nr){if(m.tag===7){a(p,m.sibling),y=r(m,g.props.children),y.return=p,p=y;break e}}else if(m.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===Za&&Go(I)===m.type){a(p,m.sibling),y=r(m,g.props),cn(y,g),y.return=p,p=y;break e}a(p,m);break}else t(p,m);m=m.sibling}g.type===Nr?(y=Xo(g.props.children,p.mode,y,g.key),y.return=p,p=y):(y=Fs(g.type,g.key,g.props,null,p.mode,y),cn(y,g),y.return=p,p=y)}return n(p);case xn:e:{for(I=g.key;m!==null;){if(m.key===I)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){a(p,m.sibling),y=r(m,g.children||[]),y.return=p,p=y;break e}else{a(p,m);break}else t(p,m);m=m.sibling}y=fc(g,p.mode,y),y.return=p,p=y}return n(p);case Za:return g=Go(g),S(p,m,g,y)}if(yn(g))return x(p,m,g,y);if(fn(g)){if(I=fn(g),typeof I!="function")throw Error(b(150));return g=I.call(g),L(p,m,g,y)}if(typeof g.then=="function")return S(p,m,Ms(g),y);if(g.$$typeof===Ca)return S(p,m,Ts(p,g),y);ws(p,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,m!==null&&m.tag===6?(a(p,m.sibling),y=r(m,g),y.return=p,p=y):(a(p,m),y=uc(g,p.mode,y),y.return=p,p=y),n(p)):a(p,m)}return function(p,m,g,y){try{Hn=0;var I=S(p,m,g,y);return rl=null,I}catch(C){if(C===Cl||C===Eu)throw C;var T=pt(29,C,null,p.mode);return T.lanes=y,T.return=p,T}}}var Jo=aL(!0),oL=aL(!1),Qa=!1;function Xm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $c(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function so(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function uo(e,t,a){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(G&2)!==0){var r=o.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),o.pending=t,t=ou(e),Ky(e,null,a),t}return Ru(e,o,t,a),ou(e)}function Tn(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,Cy(e,a)}}function cc(e,t){var a=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var r=null,l=null;if(a=a.firstBaseUpdate,a!==null){do{var n={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};l===null?r=l=n:l=l.next=n,a=a.next}while(a!==null);l===null?r=l=t:l=l.next=t}else r=l=t;a={baseState:o.baseState,firstBaseUpdate:r,lastBaseUpdate:l,shared:o.shared,callbacks:o.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var em=!1;function Mn(){if(em){var e=ol;if(e!==null)throw e}}function wn(e,t,a,o){em=!1;var r=e.updateQueue;Qa=!1;var l=r.firstBaseUpdate,n=r.lastBaseUpdate,i=r.shared.pending;if(i!==null){r.shared.pending=null;var s=i,u=s.next;s.next=null,n===null?l=u:n.next=u,n=s;var f=e.alternate;f!==null&&(f=f.updateQueue,i=f.lastBaseUpdate,i!==n&&(i===null?f.firstBaseUpdate=u:i.next=u,f.lastBaseUpdate=s))}if(l!==null){var d=r.baseState;n=0,f=u=s=null,i=l;do{var c=i.lane&-536870913,h=c!==i.lane;if(h?(q&c)===c:(o&c)===c){c!==0&&c===fl&&(em=!0),f!==null&&(f=f.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{var x=e,L=i;c=t;var S=a;switch(L.tag){case 1:if(x=L.payload,typeof x=="function"){d=x.call(S,d,c);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=L.payload,c=typeof x=="function"?x.call(S,d,c):x,c==null)break e;d=re({},d,c);break e;case 2:Qa=!0}}c=i.callback,c!==null&&(e.flags|=64,h&&(e.flags|=8192),h=r.callbacks,h===null?r.callbacks=[c]:h.push(c))}else h={lane:c,tag:i.tag,payload:i.payload,callback:i.callback,next:null},f===null?(u=f=h,s=d):f=f.next=h,n|=c;if(i=i.next,i===null){if(i=r.shared.pending,i===null)break;h=i,i=h.next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}while(!0);f===null&&(s=d),r.baseState=s,r.firstBaseUpdate=u,r.lastBaseUpdate=f,l===null&&(r.shared.lanes=0),Lo|=n,e.lanes=n,e.memoizedState=d}}function rL(e,t){if(typeof e!="function")throw Error(b(191,e));e.call(t)}function lL(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)rL(a[e],t)}var dl=ra(null),iu=ra(0);function px(e,t){e=Ra,$(iu,e),$(dl,t),Ra=e|t.baseLanes}function tm(){$(iu,Ra),$(dl,dl.current)}function Ym(){Ra=iu.current,Ve(dl),Ve(iu)}var Ct=ra(null),kt=null;function Ja(e){var t=e.alternate;$(ye,ye.current&1),$(Ct,e),kt===null&&(t===null||dl.current!==null||t.memoizedState!==null)&&(kt=e)}function am(e){$(ye,ye.current),$(Ct,e),kt===null&&(kt=e)}function nL(e){e.tag===22?($(ye,ye.current),$(Ct,e),kt===null&&(kt=e)):$a(e)}function $a(){$(ye,ye.current),$(Ct,Ct.current)}function mt(e){Ve(Ct),kt===e&&(kt=null),Ve(ye)}var ye=ra(0);function su(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Cm(a)||vm(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var wa=0,O=null,Z=null,Ce=null,uu=!1,ll=!1,$o=!1,fu=0,Nn=0,nl=null,uT=0;function me(){throw Error(b(321))}function Km(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!St(e[a],t[a]))return!1;return!0}function Zm(e,t,a,o,r,l){return wa=l,O=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?UL:np,$o=!1,l=a(o,r),$o=!1,ll&&(l=sL(t,a,o,r)),iL(e),l}function iL(e){D.H=Gn;var t=Z!==null&&Z.next!==null;if(wa=0,Ce=Z=O=null,uu=!1,Nn=0,nl=null,t)throw Error(b(300));e===null||be||(e=e.dependencies,e!==null&&lu(e)&&(be=!0))}function sL(e,t,a,o){O=e;var r=0;do{if(ll&&(nl=null),Nn=0,ll=!1,25<=r)throw Error(b(301));if(r+=1,Ce=Z=null,e.updateQueue!=null){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,l.memoCache!=null&&(l.memoCache.index=0)}D.H=zL,l=t(a,o)}while(ll);return l}function fT(){var e=D.H,t=e.useState()[0];return t=typeof t.then=="function"?ai(t):t,e=e.useState()[0],(Z!==null?Z.memoizedState:null)!==e&&(O.flags|=1024),t}function Qm(){var e=fu!==0;return fu=0,e}function Wm(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Jm(e){if(uu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}uu=!1}wa=0,Ce=Z=O=null,ll=!1,Nn=fu=0,nl=null}function We(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ce===null?O.memoizedState=Ce=e:Ce=Ce.next=e,Ce}function Le(){if(Z===null){var e=O.alternate;e=e!==null?e.memoizedState:null}else e=Z.next;var t=Ce===null?O.memoizedState:Ce.next;if(t!==null)Ce=t,Z=e;else{if(e===null)throw O.alternate===null?Error(b(467)):Error(b(310));Z=e,e={memoizedState:Z.memoizedState,baseState:Z.baseState,baseQueue:Z.baseQueue,queue:Z.queue,next:null},Ce===null?O.memoizedState=Ce=e:Ce=Ce.next=e}return Ce}function Ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ai(e){var t=Nn;return Nn+=1,nl===null&&(nl=[]),e=tL(nl,e,t),t=O,(Ce===null?t.memoizedState:Ce.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?UL:np),e}function ku(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ai(e);if(e.$$typeof===Ca)return He(e)}throw Error(b(438,String(e)))}function $m(e){var t=null,a=O.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var o=O.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ou(),O.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),o=0;o<e;o++)a[o]=Zb;return t.index++,a}function Da(e,t){return typeof t=="function"?t(e):t}function Ns(e){var t=Le();return ep(t,Z,e)}function ep(e,t,a){var o=e.queue;if(o===null)throw Error(b(311));o.lastRenderedReducer=a;var r=e.baseQueue,l=o.pending;if(l!==null){if(r!==null){var n=r.next;r.next=l.next,l.next=n}t.baseQueue=r=l,o.pending=null}if(l=e.baseState,r===null)e.memoizedState=l;else{t=r.next;var i=n=null,s=null,u=t,f=!1;do{var d=u.lane&-536870913;if(d!==u.lane?(q&d)===d:(wa&d)===d){var c=u.revertLane;if(c===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===fl&&(f=!0);else if((wa&c)===c){u=u.next,c===fl&&(f=!0);continue}else d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(i=s=d,n=l):s=s.next=d,O.lanes|=c,Lo|=c;d=u.action,$o&&a(l,d),l=u.hasEagerState?u.eagerState:a(l,d)}else c={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(i=s=c,n=l):s=s.next=c,O.lanes|=d,Lo|=d;u=u.next}while(u!==null&&u!==t);if(s===null?n=l:s.next=i,!St(l,e.memoizedState)&&(be=!0,f&&(a=ol,a!==null)))throw a;e.memoizedState=l,e.baseState=n,e.baseQueue=s,o.lastRenderedState=l}return r===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function mc(e){var t=Le(),a=t.queue;if(a===null)throw Error(b(311));a.lastRenderedReducer=e;var o=a.dispatch,r=a.pending,l=t.memoizedState;if(r!==null){a.pending=null;var n=r=r.next;do l=e(l,n.action),n=n.next;while(n!==r);St(l,t.memoizedState)||(be=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),a.lastRenderedState=l}return[l,o]}function uL(e,t,a){var o=O,r=Le(),l=H;if(l){if(a===void 0)throw Error(b(407));a=a()}else a=t();var n=!St((Z||r).memoizedState,a);if(n&&(r.memoizedState=a,be=!0),r=r.queue,tp(cL.bind(null,o,r,e),[e]),r.getSnapshot!==t||n||Ce!==null&&Ce.memoizedState.tag&1){if(o.flags|=2048,cl(9,{destroy:void 0},dL.bind(null,o,r,a,t),null),Q===null)throw Error(b(349));l||(wa&127)!==0||fL(o,t,a)}return a}function fL(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=O.updateQueue,t===null?(t=Ou(),O.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function dL(e,t,a,o){t.value=a,t.getSnapshot=o,mL(t)&&pL(e)}function cL(e,t,a){return a(function(){mL(t)&&pL(e)})}function mL(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!St(e,a)}catch{return!0}}function pL(e){var t=rr(e,2);t!==null&<(t,e,2)}function om(e){var t=We();if(typeof e=="function"){var a=e;if(e=a(),$o){to(!0);try{a()}finally{to(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:e},t}function hL(e,t,a,o){return e.baseState=a,ep(e,Z,typeof o=="function"?o:Da)}function dT(e,t,a,o,r){if(Vu(e))throw Error(b(485));if(e=t.action,e!==null){var l={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(n){l.listeners.push(n)}};D.T!==null?a(!0):l.isTransition=!1,o(l),a=t.pending,a===null?(l.next=t.pending=l,gL(t,l)):(l.next=a.next,t.pending=a.next=l)}}function gL(e,t){var a=t.action,o=t.payload,r=e.state;if(t.isTransition){var l=D.T,n={};D.T=n;try{var i=a(r,o),s=D.S;s!==null&&s(n,i),hx(e,t,i)}catch(u){rm(e,t,u)}finally{l!==null&&n.types!==null&&(l.types=n.types),D.T=l}}else try{l=a(r,o),hx(e,t,l)}catch(u){rm(e,t,u)}}function hx(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){gx(e,t,o)},function(o){return rm(e,t,o)}):gx(e,t,a)}function gx(e,t,a){t.status="fulfilled",t.value=a,xL(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,gL(e,a)))}function rm(e,t,a){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=a,xL(t),t=t.next;while(t!==o)}e.action=null}function xL(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function yL(e,t){return t}function xx(e,t){if(H){var a=Q.formState;if(a!==null){e:{var o=O;if(H){if(oe){t:{for(var r=oe,l=Ot;r.nodeType!==8;){if(!l){r=null;break t}if(r=Pt(r.nextSibling),r===null){r=null;break t}}l=r.data,r=l==="F!"||l==="F"?r:null}if(r){oe=Pt(r.nextSibling),o=r.data==="F!";break e}}xo(o)}o=!1}o&&(t=a[0])}}return a=We(),a.memoizedState=a.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yL,lastRenderedState:t},a.queue=o,a=kL.bind(null,O,o),o.dispatch=a,o=om(!1),l=lp.bind(null,O,!1,o.queue),o=We(),r={state:t,dispatch:null,action:e,pending:null},o.queue=r,a=dT.bind(null,O,r,l,a),r.dispatch=a,o.memoizedState=e,[t,a,!1]}function yx(e){var t=Le();return LL(t,Z,e)}function LL(e,t,a){if(t=ep(e,t,yL)[0],e=Ns(Da)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=ai(t)}catch(n){throw n===Cl?Eu:n}else o=t;t=Le();var r=t.queue,l=r.dispatch;return a!==t.memoizedState&&(O.flags|=2048,cl(9,{destroy:void 0},cT.bind(null,r,a),null)),[o,l,e]}function cT(e,t){e.action=t}function Lx(e){var t=Le(),a=Z;if(a!==null)return LL(t,a,e);Le(),t=t.memoizedState,a=Le();var o=a.queue.dispatch;return a.memoizedState=e,[t,o,!1]}function cl(e,t,a,o){return e={tag:e,create:a,deps:o,inst:t,next:null},t=O.updateQueue,t===null&&(t=Ou(),O.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(o=a.next,a.next=e,e.next=o,t.lastEffect=e),e}function SL(){return Le().memoizedState}function Gs(e,t,a,o){var r=We();O.flags|=e,r.memoizedState=cl(1|t,{destroy:void 0},a,o===void 0?null:o)}function Pu(e,t,a,o){var r=Le();o=o===void 0?null:o;var l=r.memoizedState.inst;Z!==null&&o!==null&&Km(o,Z.memoizedState.deps)?r.memoizedState=cl(t,l,a,o):(O.flags|=e,r.memoizedState=cl(1|t,l,a,o))}function Sx(e,t){Gs(8390656,8,e,t)}function tp(e,t){Pu(2048,8,e,t)}function mT(e){O.flags|=4;var t=O.updateQueue;if(t===null)t=Ou(),O.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function CL(e){var t=Le().memoizedState;return mT({ref:t,nextImpl:e}),function(){if((G&2)!==0)throw Error(b(440));return t.impl.apply(void 0,arguments)}}function vL(e,t){return Pu(4,2,e,t)}function IL(e,t){return Pu(4,4,e,t)}function bL(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function AL(e,t,a){a=a!=null?a.concat([e]):null,Pu(4,4,bL.bind(null,t,e),a)}function ap(){}function TL(e,t){var a=Le();t=t===void 0?null:t;var o=a.memoizedState;return t!==null&&Km(t,o[1])?o[0]:(a.memoizedState=[e,t],e)}function ML(e,t){var a=Le();t=t===void 0?null:t;var o=a.memoizedState;if(t!==null&&Km(t,o[1]))return o[0];if(o=e(),$o){to(!0);try{e()}finally{to(!1)}}return a.memoizedState=[o,t],o}function op(e,t,a){return a===void 0||(wa&1073741824)!==0&&(q&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=hS(),O.lanes|=e,Lo|=e,a)}function wL(e,t,a,o){return St(a,t)?a:dl.current!==null?(e=op(e,a,o),St(e,t)||(be=!0),e):(wa&42)===0||(wa&1073741824)!==0&&(q&261930)===0?(be=!0,e.memoizedState=a):(e=hS(),O.lanes|=e,Lo|=e,t)}function DL(e,t,a,o,r){var l=_.p;_.p=l!==0&&8>l?l:8;var n=D.T,i={};D.T=i,lp(e,!1,t,a);try{var s=r(),u=D.S;if(u!==null&&u(i,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var f=sT(s,o);Dn(e,t,f,Lt(e))}else Dn(e,t,o,Lt(e))}catch(d){Dn(e,t,{then:function(){},status:"rejected",reason:d},Lt())}finally{_.p=l,n!==null&&i.types!==null&&(n.types=i.types),D.T=n}}function pT(){}function lm(e,t,a,o){if(e.tag!==5)throw Error(b(476));var r=BL(e).queue;DL(e,r,t,jo,a===null?pT:function(){return RL(e),a(o)})}function BL(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:jo,baseState:jo,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:jo},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function RL(e){var t=BL(e);t.next===null&&(t=e.alternate.memoizedState),Dn(e,t.next.queue,{},Lt())}function rp(){return He(Xn)}function EL(){return Le().memoizedState}function OL(){return Le().memoizedState}function hT(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Lt();e=so(a);var o=uo(t,e,a);o!==null&&(lt(o,t,a),Tn(o,t,a)),t={cache:Gm()},e.payload=t;return}t=t.return}}function gT(e,t,a){var o=Lt();a={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Vu(e)?PL(t,a):(a=qm(e,t,a,o),a!==null&&(lt(a,e,o),VL(a,t,o)))}function kL(e,t,a){var o=Lt();Dn(e,t,a,o)}function Dn(e,t,a,o){var r={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Vu(e))PL(t,r);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var n=t.lastRenderedState,i=l(n,a);if(r.hasEagerState=!0,r.eagerState=i,St(i,n))return Ru(e,t,r,0),Q===null&&Bu(),!1}catch{}if(a=qm(e,t,r,o),a!==null)return lt(a,e,o),VL(a,t,o),!0}return!1}function lp(e,t,a,o){if(o={lane:2,revertLane:pp(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Vu(e)){if(t)throw Error(b(479))}else t=qm(e,a,o,2),t!==null&<(t,e,2)}function Vu(e){var t=e.alternate;return e===O||t!==null&&t===O}function PL(e,t){ll=uu=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function VL(e,t,a){if((a&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,Cy(e,a)}}var Gn={readContext:He,use:ku,useCallback:me,useContext:me,useEffect:me,useImperativeHandle:me,useLayoutEffect:me,useInsertionEffect:me,useMemo:me,useReducer:me,useRef:me,useState:me,useDebugValue:me,useDeferredValue:me,useTransition:me,useSyncExternalStore:me,useId:me,useHostTransitionStatus:me,useFormState:me,useActionState:me,useOptimistic:me,useMemoCache:me,useCacheRefresh:me};Gn.useEffectEvent=me;var UL={readContext:He,use:ku,useCallback:function(e,t){return We().memoizedState=[e,t===void 0?null:t],e},useContext:He,useEffect:Sx,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Gs(4194308,4,bL.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Gs(4194308,4,e,t)},useInsertionEffect:function(e,t){Gs(4,2,e,t)},useMemo:function(e,t){var a=We();t=t===void 0?null:t;var o=e();if($o){to(!0);try{e()}finally{to(!1)}}return a.memoizedState=[o,t],o},useReducer:function(e,t,a){var o=We();if(a!==void 0){var r=a(t);if($o){to(!0);try{a(t)}finally{to(!1)}}}else r=t;return o.memoizedState=o.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},o.queue=e,e=e.dispatch=gT.bind(null,O,e),[o.memoizedState,e]},useRef:function(e){var t=We();return e={current:e},t.memoizedState=e},useState:function(e){e=om(e);var t=e.queue,a=kL.bind(null,O,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:ap,useDeferredValue:function(e,t){var a=We();return op(a,e,t)},useTransition:function(){var e=om(!1);return e=DL.bind(null,O,e.queue,!0,!1),We().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var o=O,r=We();if(H){if(a===void 0)throw Error(b(407));a=a()}else{if(a=t(),Q===null)throw Error(b(349));(q&127)!==0||fL(o,t,a)}r.memoizedState=a;var l={value:a,getSnapshot:t};return r.queue=l,Sx(cL.bind(null,o,l,e),[e]),o.flags|=2048,cl(9,{destroy:void 0},dL.bind(null,o,l,a,t),null),a},useId:function(){var e=We(),t=Q.identifierPrefix;if(H){var a=ta,o=ea;a=(o&~(1<<32-yt(o)-1)).toString(32)+a,t="_"+t+"R_"+a,a=fu++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=uT++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:rp,useFormState:xx,useActionState:xx,useOptimistic:function(e){var t=We();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=lp.bind(null,O,!0,a),a.dispatch=t,[e,t]},useMemoCache:$m,useCacheRefresh:function(){return We().memoizedState=hT.bind(null,O)},useEffectEvent:function(e){var t=We(),a={impl:e};return t.memoizedState=a,function(){if((G&2)!==0)throw Error(b(440));return a.impl.apply(void 0,arguments)}}},np={readContext:He,use:ku,useCallback:TL,useContext:He,useEffect:tp,useImperativeHandle:AL,useInsertionEffect:vL,useLayoutEffect:IL,useMemo:ML,useReducer:Ns,useRef:SL,useState:function(){return Ns(Da)},useDebugValue:ap,useDeferredValue:function(e,t){var a=Le();return wL(a,Z.memoizedState,e,t)},useTransition:function(){var e=Ns(Da)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:ai(e),t]},useSyncExternalStore:uL,useId:EL,useHostTransitionStatus:rp,useFormState:yx,useActionState:yx,useOptimistic:function(e,t){var a=Le();return hL(a,Z,e,t)},useMemoCache:$m,useCacheRefresh:OL};np.useEffectEvent=CL;var zL={readContext:He,use:ku,useCallback:TL,useContext:He,useEffect:tp,useImperativeHandle:AL,useInsertionEffect:vL,useLayoutEffect:IL,useMemo:ML,useReducer:mc,useRef:SL,useState:function(){return mc(Da)},useDebugValue:ap,useDeferredValue:function(e,t){var a=Le();return Z===null?op(a,e,t):wL(a,Z.memoizedState,e,t)},useTransition:function(){var e=mc(Da)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:ai(e),t]},useSyncExternalStore:uL,useId:EL,useHostTransitionStatus:rp,useFormState:Lx,useActionState:Lx,useOptimistic:function(e,t){var a=Le();return Z!==null?hL(a,Z,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:$m,useCacheRefresh:OL};zL.useEffectEvent=CL;function pc(e,t,a,o){t=e.memoizedState,a=a(o,t),a=a==null?t:re({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var nm={enqueueSetState:function(e,t,a){e=e._reactInternals;var o=Lt(),r=so(o);r.payload=t,a!=null&&(r.callback=a),t=uo(e,r,o),t!==null&&(lt(t,e,o),Tn(t,e,o))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var o=Lt(),r=so(o);r.tag=1,r.payload=t,a!=null&&(r.callback=a),t=uo(e,r,o),t!==null&&(lt(t,e,o),Tn(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Lt(),o=so(a);o.tag=2,t!=null&&(o.callback=t),t=uo(e,o,a),t!==null&&(lt(t,e,a),Tn(t,e,a))}};function Cx(e,t,a,o,r,l,n){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,l,n):t.prototype&&t.prototype.isPureReactComponent?!zn(a,o)||!zn(r,l):!0}function vx(e,t,a,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,o),t.state!==e&&nm.enqueueReplaceState(t,t.state,null)}function er(e,t){var a=t;if("ref"in t){a={};for(var o in t)o!=="ref"&&(a[o]=t[o])}if(e=e.defaultProps){a===t&&(a=re({},a));for(var r in e)a[r]===void 0&&(a[r]=e[r])}return a}function qL(e){au(e)}function FL(e){console.error(e)}function HL(e){au(e)}function du(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(o){setTimeout(function(){throw o})}}function Ix(e,t,a){try{var o=e.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function im(e,t,a){return a=so(a),a.tag=3,a.payload={element:null},a.callback=function(){du(e,t)},a}function NL(e){return e=so(e),e.tag=3,e}function GL(e,t,a,o){var r=a.type.getDerivedStateFromError;if(typeof r=="function"){var l=o.value;e.payload=function(){return r(l)},e.callback=function(){Ix(t,a,o)}}var n=a.stateNode;n!==null&&typeof n.componentDidCatch=="function"&&(e.callback=function(){Ix(t,a,o),typeof r!="function"&&(fo===null?fo=new Set([this]):fo.add(this));var i=o.stack;this.componentDidCatch(o.value,{componentStack:i!==null?i:""})})}function xT(e,t,a,o,r){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=a.alternate,t!==null&&Sl(t,a,r,!0),a=Ct.current,a!==null){switch(a.tag){case 31:case 13:return kt===null?gu():a.alternate===null&&pe===0&&(pe=3),a.flags&=-257,a.flags|=65536,a.lanes=r,o===nu?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([o]):t.add(o),Ac(e,o,r)),!1;case 22:return a.flags|=65536,o===nu?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([o]):a.add(o)),Ac(e,o,r)),!1}throw Error(b(435,a.tag))}return Ac(e,o,r),gu(),!1}if(H)return t=Ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,o!==Kc&&(e=Error(b(422),{cause:o}),Fn(Et(e,a)))):(o!==Kc&&(t=Error(b(423),{cause:o}),Fn(Et(t,a))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,o=Et(o,a),r=im(e.stateNode,o,r),cc(e,r),pe!==4&&(pe=2)),!1;var l=Error(b(520),{cause:o});if(l=Et(l,a),En===null?En=[l]:En.push(l),pe!==4&&(pe=2),t===null)return!0;o=Et(o,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=r&-r,a.lanes|=e,e=im(a.stateNode,o,e),cc(a,e),!1;case 1:if(t=a.type,l=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||l!==null&&typeof l.componentDidCatch=="function"&&(fo===null||!fo.has(l))))return a.flags|=65536,r&=-r,a.lanes|=r,r=NL(r),GL(r,e,a,o),cc(a,r),!1}a=a.return}while(a!==null);return!1}var ip=Error(b(461)),be=!1;function ze(e,t,a,o){t.child=e===null?oL(t,null,a,o):Jo(t,e.child,a,o)}function bx(e,t,a,o,r){a=a.render;var l=t.ref;if("ref"in o){var n={};for(var i in o)i!=="ref"&&(n[i]=o[i])}else n=o;return Wo(t),o=Zm(e,t,a,n,l,r),i=Qm(),e!==null&&!be?(Wm(e,t,r),Ba(e,t,r)):(H&&i&&Hm(t),t.flags|=1,ze(e,t,o,r),t.child)}function Ax(e,t,a,o,r){if(e===null){var l=a.type;return typeof l=="function"&&!Fm(l)&&l.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=l,_L(e,t,l,o,r)):(e=Fs(a.type,null,o,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!sp(e,r)){var n=l.memoizedProps;if(a=a.compare,a=a!==null?a:zn,a(n,o)&&e.ref===t.ref)return Ba(e,t,r)}return t.flags|=1,e=ba(l,o),e.ref=t.ref,e.return=t,t.child=e}function _L(e,t,a,o,r){if(e!==null){var l=e.memoizedProps;if(zn(l,o)&&e.ref===t.ref)if(be=!1,t.pendingProps=o=l,sp(e,r))(e.flags&131072)!==0&&(be=!0);else return t.lanes=e.lanes,Ba(e,t,r)}return sm(e,t,a,o,r)}function jL(e,t,a,o){var r=o.children,l=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(l=l!==null?l.baseLanes|a:a,e!==null){for(o=t.child=e.child,r=0;o!==null;)r=r|o.lanes|o.childLanes,o=o.sibling;o=r&~l}else o=0,t.child=null;return Tx(e,t,l,a,o)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Hs(t,l!==null?l.cachePool:null),l!==null?px(t,l):tm(),nL(t);else return o=t.lanes=536870912,Tx(e,t,l!==null?l.baseLanes|a:a,a,o)}else l!==null?(Hs(t,l.cachePool),px(t,l),$a(t),t.memoizedState=null):(e!==null&&Hs(t,null),tm(),$a(t));return ze(e,t,r,a),t.child}function Sn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Tx(e,t,a,o,r){var l=_m();return l=l===null?null:{parent:Ie._currentValue,pool:l},t.memoizedState={baseLanes:a,cachePool:l},e!==null&&Hs(t,null),tm(),nL(t),e!==null&&Sl(e,t,o,!0),t.childLanes=r,null}function _s(e,t){return t=cu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Mx(e,t,a){return Jo(t,e.child,null,a),e=_s(t,t.pendingProps),e.flags|=2,mt(t),t.memoizedState=null,e}function yT(e,t,a){var o=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(H){if(o.mode==="hidden")return e=_s(t,o),t.lanes=536870912,Sn(null,e);if(am(t),(e=oe)?(e=US(e,Ot),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:go!==null?{id:ea,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},a=Qy(e),a.return=t,t.child=a,Fe=t,oe=null)):e=null,e===null)throw xo(t);return t.lanes=536870912,null}return _s(t,o)}var l=e.memoizedState;if(l!==null){var n=l.dehydrated;if(am(t),r)if(t.flags&256)t.flags&=-257,t=Mx(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(b(558));else if(be||Sl(e,t,a,!1),r=(a&e.childLanes)!==0,be||r){if(o=Q,o!==null&&(n=vy(o,a),n!==0&&n!==l.retryLane))throw l.retryLane=n,rr(e,n),lt(o,e,n),ip;gu(),t=Mx(e,t,a)}else e=l.treeContext,oe=Pt(n.nextSibling),Fe=t,H=!0,io=null,Ot=!1,e!==null&&Jy(t,e),t=_s(t,o),t.flags|=4096;return t}return e=ba(e.child,{mode:o.mode,children:o.children}),e.ref=t.ref,t.child=e,e.return=t,e}function js(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(b(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function sm(e,t,a,o,r){return Wo(t),a=Zm(e,t,a,o,void 0,r),o=Qm(),e!==null&&!be?(Wm(e,t,r),Ba(e,t,r)):(H&&o&&Hm(t),t.flags|=1,ze(e,t,a,r),t.child)}function wx(e,t,a,o,r,l){return Wo(t),t.updateQueue=null,a=sL(t,o,a,r),iL(e),o=Qm(),e!==null&&!be?(Wm(e,t,l),Ba(e,t,l)):(H&&o&&Hm(t),t.flags|=1,ze(e,t,a,l),t.child)}function Dx(e,t,a,o,r){if(Wo(t),t.stateNode===null){var l=Qr,n=a.contextType;typeof n=="object"&&n!==null&&(l=He(n)),l=new a(o,l),t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=nm,t.stateNode=l,l._reactInternals=t,l=t.stateNode,l.props=o,l.state=t.memoizedState,l.refs={},Xm(t),n=a.contextType,l.context=typeof n=="object"&&n!==null?He(n):Qr,l.state=t.memoizedState,n=a.getDerivedStateFromProps,typeof n=="function"&&(pc(t,a,n,o),l.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&nm.enqueueReplaceState(l,l.state,null),wn(t,o,l,r),Mn(),l.state=t.memoizedState),typeof l.componentDidMount=="function"&&(t.flags|=4194308),o=!0}else if(e===null){l=t.stateNode;var i=t.memoizedProps,s=er(a,i);l.props=s;var u=l.context,f=a.contextType;n=Qr,typeof f=="object"&&f!==null&&(n=He(f));var d=a.getDerivedStateFromProps;f=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(i||u!==n)&&vx(t,l,o,n),Qa=!1;var c=t.memoizedState;l.state=c,wn(t,o,l,r),Mn(),u=t.memoizedState,i||c!==u||Qa?(typeof d=="function"&&(pc(t,a,d,o),u=t.memoizedState),(s=Qa||Cx(t,a,s,o,c,u,n))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=u),l.props=o,l.state=u,l.context=n,o=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{l=t.stateNode,$c(e,t),n=t.memoizedProps,f=er(a,n),l.props=f,d=t.pendingProps,c=l.context,u=a.contextType,s=Qr,typeof u=="object"&&u!==null&&(s=He(u)),i=a.getDerivedStateFromProps,(u=typeof i=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(n!==d||c!==s)&&vx(t,l,o,s),Qa=!1,c=t.memoizedState,l.state=c,wn(t,o,l,r),Mn();var h=t.memoizedState;n!==d||c!==h||Qa||e!==null&&e.dependencies!==null&&lu(e.dependencies)?(typeof i=="function"&&(pc(t,a,i,o),h=t.memoizedState),(f=Qa||Cx(t,a,f,o,c,h,s)||e!==null&&e.dependencies!==null&&lu(e.dependencies))?(u||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(o,h,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(o,h,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||n===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=h),l.props=o,l.state=h,l.context=s,o=f):(typeof l.componentDidUpdate!="function"||n===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),o=!1)}return l=o,js(e,t),o=(t.flags&128)!==0,l||o?(l=t.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:l.render(),t.flags|=1,e!==null&&o?(t.child=Jo(t,e.child,null,r),t.child=Jo(t,null,a,r)):ze(e,t,a,r),t.memoizedState=l.state,e=t.child):e=Ba(e,t,r),e}function Bx(e,t,a,o){return Qo(),t.flags|=256,ze(e,t,a,o),t.child}var hc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function gc(e){return{baseLanes:e,cachePool:eL()}}function xc(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=ht),e}function XL(e,t,a){var o=t.pendingProps,r=!1,l=(t.flags&128)!==0,n;if((n=l)||(n=e!==null&&e.memoizedState===null?!1:(ye.current&2)!==0),n&&(r=!0,t.flags&=-129),n=(t.flags&32)!==0,t.flags&=-33,e===null){if(H){if(r?Ja(t):$a(t),(e=oe)?(e=US(e,Ot),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:go!==null?{id:ea,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},a=Qy(e),a.return=t,t.child=a,Fe=t,oe=null)):e=null,e===null)throw xo(t);return vm(e)?t.lanes=32:t.lanes=536870912,null}var i=o.children;return o=o.fallback,r?($a(t),r=t.mode,i=cu({mode:"hidden",children:i},r),o=Xo(o,r,a,null),i.return=t,o.return=t,i.sibling=o,t.child=i,o=t.child,o.memoizedState=gc(a),o.childLanes=xc(e,n,a),t.memoizedState=hc,Sn(null,o)):(Ja(t),um(t,i))}var s=e.memoizedState;if(s!==null&&(i=s.dehydrated,i!==null)){if(l)t.flags&256?(Ja(t),t.flags&=-257,t=yc(e,t,a)):t.memoizedState!==null?($a(t),t.child=e.child,t.flags|=128,t=null):($a(t),i=o.fallback,r=t.mode,o=cu({mode:"visible",children:o.children},r),i=Xo(i,r,a,null),i.flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,Jo(t,e.child,null,a),o=t.child,o.memoizedState=gc(a),o.childLanes=xc(e,n,a),t.memoizedState=hc,t=Sn(null,o));else if(Ja(t),vm(i)){if(n=i.nextSibling&&i.nextSibling.dataset,n)var u=n.dgst;n=u,o=Error(b(419)),o.stack="",o.digest=n,Fn({value:o,source:null,stack:null}),t=yc(e,t,a)}else if(be||Sl(e,t,a,!1),n=(a&e.childLanes)!==0,be||n){if(n=Q,n!==null&&(o=vy(n,a),o!==0&&o!==s.retryLane))throw s.retryLane=o,rr(e,o),lt(n,e,o),ip;Cm(i)||gu(),t=yc(e,t,a)}else Cm(i)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,oe=Pt(i.nextSibling),Fe=t,H=!0,io=null,Ot=!1,e!==null&&Jy(t,e),t=um(t,o.children),t.flags|=4096);return t}return r?($a(t),i=o.fallback,r=t.mode,s=e.child,u=s.sibling,o=ba(s,{mode:"hidden",children:o.children}),o.subtreeFlags=s.subtreeFlags&65011712,u!==null?i=ba(u,i):(i=Xo(i,r,a,null),i.flags|=2),i.return=t,o.return=t,o.sibling=i,t.child=o,Sn(null,o),o=t.child,i=e.child.memoizedState,i===null?i=gc(a):(r=i.cachePool,r!==null?(s=Ie._currentValue,r=r.parent!==s?{parent:s,pool:s}:r):r=eL(),i={baseLanes:i.baseLanes|a,cachePool:r}),o.memoizedState=i,o.childLanes=xc(e,n,a),t.memoizedState=hc,Sn(e.child,o)):(Ja(t),a=e.child,e=a.sibling,a=ba(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a)}function um(e,t){return t=cu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function cu(e,t){return e=pt(22,e,null,t),e.lanes=0,e}function yc(e,t,a){return Jo(t,e.child,null,a),e=um(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Rx(e,t,a){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Qc(e.return,t,a)}function Lc(e,t,a,o,r,l){var n=e.memoizedState;n===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:r,treeForkCount:l}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=o,n.tail=a,n.tailMode=r,n.treeForkCount=l)}function YL(e,t,a){var o=t.pendingProps,r=o.revealOrder,l=o.tail;o=o.children;var n=ye.current,i=(n&2)!==0;if(i?(n=n&1|2,t.flags|=128):n&=1,$(ye,n),ze(e,t,o,a),o=H?qn:0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Rx(e,a,t);else if(e.tag===19)Rx(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(a=t.child,r=null;a!==null;)e=a.alternate,e!==null&&su(e)===null&&(r=a),a=a.sibling;a=r,a===null?(r=t.child,t.child=null):(r=a.sibling,a.sibling=null),Lc(t,!1,r,a,l,o);break;case"backwards":case"unstable_legacy-backwards":for(a=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&su(e)===null){t.child=r;break}e=r.sibling,r.sibling=a,a=r,r=e}Lc(t,!0,a,null,l,o);break;case"together":Lc(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function Ba(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Lo|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Sl(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(b(153));if(t.child!==null){for(e=t.child,a=ba(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=ba(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function sp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&lu(e)))}function LT(e,t,a){switch(t.tag){case 3:Js(t,t.stateNode.containerInfo),Wa(t,Ie,e.memoizedState.cache),Qo();break;case 27:case 5:Uc(t);break;case 4:Js(t,t.stateNode.containerInfo);break;case 10:Wa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,am(t),null;break;case 13:var o=t.memoizedState;if(o!==null)return o.dehydrated!==null?(Ja(t),t.flags|=128,null):(a&t.child.childLanes)!==0?XL(e,t,a):(Ja(t),e=Ba(e,t,a),e!==null?e.sibling:null);Ja(t);break;case 19:var r=(e.flags&128)!==0;if(o=(a&t.childLanes)!==0,o||(Sl(e,t,a,!1),o=(a&t.childLanes)!==0),r){if(o)return YL(e,t,a);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),$(ye,ye.current),o)break;return null;case 22:return t.lanes=0,jL(e,t,a,t.pendingProps);case 24:Wa(t,Ie,e.memoizedState.cache)}return Ba(e,t,a)}function KL(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)be=!0;else{if(!sp(e,a)&&(t.flags&128)===0)return be=!1,LT(e,t,a);be=(e.flags&131072)!==0}else be=!1,H&&(t.flags&1048576)!==0&&Wy(t,qn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var o=t.pendingProps;if(e=Go(t.elementType),t.type=e,typeof e=="function")Fm(e)?(o=er(e,o),t.tag=1,t=Dx(null,t,e,o,a)):(t.tag=0,t=sm(null,t,e,o,a));else{if(e!=null){var r=e.$$typeof;if(r===Tm){t.tag=11,t=bx(null,t,e,o,a);break e}else if(r===Mm){t.tag=14,t=Ax(null,t,e,o,a);break e}}throw t=Pc(e)||e,Error(b(306,t,""))}}return t;case 0:return sm(e,t,t.type,t.pendingProps,a);case 1:return o=t.type,r=er(o,t.pendingProps),Dx(e,t,o,r,a);case 3:e:{if(Js(t,t.stateNode.containerInfo),e===null)throw Error(b(387));o=t.pendingProps;var l=t.memoizedState;r=l.element,$c(e,t),wn(t,o,null,a);var n=t.memoizedState;if(o=n.cache,Wa(t,Ie,o),o!==l.cache&&Wc(t,[Ie],a,!0),Mn(),o=n.element,l.isDehydrated)if(l={element:o,isDehydrated:!1,cache:n.cache},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){t=Bx(e,t,o,a);break e}else if(o!==r){r=Et(Error(b(424)),t),Fn(r),t=Bx(e,t,o,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,oe=Pt(e.firstChild),Fe=t,H=!0,io=null,Ot=!0,a=oL(t,null,o,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Qo(),o===r){t=Ba(e,t,a);break e}ze(e,t,o,a)}t=t.child}return t;case 26:return js(e,t),e===null?(a=$x(t.type,null,t.pendingProps,null))?t.memoizedState=a:H||(a=t.type,e=t.pendingProps,o=Su(no.current).createElement(a),o[qe]=t,o[nt]=e,Ne(o,a,e),Pe(o),t.stateNode=o):t.memoizedState=$x(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Uc(t),e===null&&H&&(o=t.stateNode=zS(t.type,t.pendingProps,no.current),Fe=t,Ot=!0,r=oe,Co(t.type)?(Im=r,oe=Pt(o.firstChild)):oe=r),ze(e,t,t.pendingProps.children,a),js(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&H&&((r=o=oe)&&(o=YT(o,t.type,t.pendingProps,Ot),o!==null?(t.stateNode=o,Fe=t,oe=Pt(o.firstChild),Ot=!1,r=!0):r=!1),r||xo(t)),Uc(t),r=t.type,l=t.pendingProps,n=e!==null?e.memoizedProps:null,o=l.children,Lm(r,l)?o=null:n!==null&&Lm(r,n)&&(t.flags|=32),t.memoizedState!==null&&(r=Zm(e,t,fT,null,null,a),Xn._currentValue=r),js(e,t),ze(e,t,o,a),t.child;case 6:return e===null&&H&&((e=a=oe)&&(a=KT(a,t.pendingProps,Ot),a!==null?(t.stateNode=a,Fe=t,oe=null,e=!0):e=!1),e||xo(t)),null;case 13:return XL(e,t,a);case 4:return Js(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Jo(t,null,o,a):ze(e,t,o,a),t.child;case 11:return bx(e,t,t.type,t.pendingProps,a);case 7:return ze(e,t,t.pendingProps,a),t.child;case 8:return ze(e,t,t.pendingProps.children,a),t.child;case 12:return ze(e,t,t.pendingProps.children,a),t.child;case 10:return o=t.pendingProps,Wa(t,t.type,o.value),ze(e,t,o.children,a),t.child;case 9:return r=t.type._context,o=t.pendingProps.children,Wo(t),r=He(r),o=o(r),t.flags|=1,ze(e,t,o,a),t.child;case 14:return Ax(e,t,t.type,t.pendingProps,a);case 15:return _L(e,t,t.type,t.pendingProps,a);case 19:return YL(e,t,a);case 31:return yT(e,t,a);case 22:return jL(e,t,a,t.pendingProps);case 24:return Wo(t),o=He(Ie),e===null?(r=_m(),r===null&&(r=Q,l=Gm(),r.pooledCache=l,l.refCount++,l!==null&&(r.pooledCacheLanes|=a),r=l),t.memoizedState={parent:o,cache:r},Xm(t),Wa(t,Ie,r)):((e.lanes&a)!==0&&($c(e,t),wn(t,null,null,a),Mn()),r=e.memoizedState,l=t.memoizedState,r.parent!==o?(r={parent:o,cache:o},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Wa(t,Ie,o)):(o=l.cache,Wa(t,Ie,o),o!==r.cache&&Wc(t,[Ie],a,!0))),ze(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(b(156,t.tag))}function ha(e){e.flags|=4}function Sc(e,t,a,o,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(yS())e.flags|=8192;else throw Ko=nu,jm}else e.flags&=-16777217}function Ex(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!HS(t))if(yS())e.flags|=8192;else throw Ko=nu,jm}function Ds(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ly():536870912,e.lanes|=t,ml|=t)}function mn(e,t){if(!H)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function ae(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,o=0;if(t)for(var r=e.child;r!==null;)a|=r.lanes|r.childLanes,o|=r.subtreeFlags&65011712,o|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)a|=r.lanes|r.childLanes,o|=r.subtreeFlags,o|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=o,e.childLanes=a,t}function ST(e,t,a){var o=t.pendingProps;switch(Nm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ae(t),null;case 1:return ae(t),null;case 3:return a=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Aa(Ie),il(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(zr(t)?ha(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,dc())),ae(t),null;case 26:var r=t.type,l=t.memoizedState;return e===null?(ha(t),l!==null?(ae(t),Ex(t,l)):(ae(t),Sc(t,r,null,o,a))):l?l!==e.memoizedState?(ha(t),ae(t),Ex(t,l)):(ae(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&ha(t),ae(t),Sc(t,r,e,o,a)),null;case 27:if($s(t),a=no.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&ha(t);else{if(!o){if(t.stateNode===null)throw Error(b(166));return ae(t),null}e=oa.current,zr(t)?ix(t,e):(e=zS(r,o,a),t.stateNode=e,ha(t))}return ae(t),null;case 5:if($s(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&ha(t);else{if(!o){if(t.stateNode===null)throw Error(b(166));return ae(t),null}if(l=oa.current,zr(t))ix(t,l);else{var n=Su(no.current);switch(l){case 1:l=n.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:l=n.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":l=n.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":l=n.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":l=n.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof o.is=="string"?n.createElement("select",{is:o.is}):n.createElement("select"),o.multiple?l.multiple=!0:o.size&&(l.size=o.size);break;default:l=typeof o.is=="string"?n.createElement(r,{is:o.is}):n.createElement(r)}}l[qe]=t,l[nt]=o;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)l.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=l;e:switch(Ne(l,r,o),r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&ha(t)}}return ae(t),Sc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&ha(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error(b(166));if(e=no.current,zr(t)){if(e=t.stateNode,a=t.memoizedProps,o=null,r=Fe,r!==null)switch(r.tag){case 27:case 5:o=r.memoizedProps}e[qe]=t,e=!!(e.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||kS(e.nodeValue,a)),e||xo(t,!0)}else e=Su(e).createTextNode(o),e[qe]=t,t.stateNode=e}return ae(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(o=zr(t),a!==null){if(e===null){if(!o)throw Error(b(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(557));e[qe]=t}else Qo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ae(t),e=!1}else a=dc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(mt(t),t):(mt(t),null);if((t.flags&128)!==0)throw Error(b(558))}return ae(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=zr(t),o!==null&&o.dehydrated!==null){if(e===null){if(!r)throw Error(b(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(b(317));r[qe]=t}else Qo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ae(t),r=!1}else r=dc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(mt(t),t):(mt(t),null)}return mt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=o!==null,e=e!==null&&e.memoizedState!==null,a&&(o=t.child,r=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(r=o.alternate.memoizedState.cachePool.pool),l=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool),l!==r&&(o.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Ds(t,t.updateQueue),ae(t),null);case 4:return il(),e===null&&hp(t.stateNode.containerInfo),ae(t),null;case 10:return Aa(t.type),ae(t),null;case 19:if(Ve(ye),o=t.memoizedState,o===null)return ae(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)mn(o,!1);else{if(pe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=su(e),l!==null){for(t.flags|=128,mn(o,!1),e=l.updateQueue,t.updateQueue=e,Ds(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Zy(a,e),a=a.sibling;return $(ye,ye.current&1|2),H&&La(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&>()>pu&&(t.flags|=128,r=!0,mn(o,!1),t.lanes=4194304)}else{if(!r)if(e=su(l),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Ds(t,e),mn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!H)return ae(t),null}else 2*gt()-o.renderingStartTime>pu&&a!==536870912&&(t.flags|=128,r=!0,mn(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(e=o.last,e!==null?e.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=gt(),e.sibling=null,a=ye.current,$(ye,r?a&1|2:a&1),H&&La(t,o.treeForkCount),e):(ae(t),null);case 22:case 23:return mt(t),Ym(),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(a&536870912)!==0&&(t.flags&128)===0&&(ae(t),t.subtreeFlags&6&&(t.flags|=8192)):ae(t),a=t.updateQueue,a!==null&&Ds(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==a&&(t.flags|=2048),e!==null&&Ve(Yo),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Aa(Ie),ae(t),null;case 25:return null;case 30:return null}throw Error(b(156,t.tag))}function CT(e,t){switch(Nm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Aa(Ie),il(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return $s(t),null;case 31:if(t.memoizedState!==null){if(mt(t),t.alternate===null)throw Error(b(340));Qo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(mt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(b(340));Qo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ve(ye),null;case 4:return il(),null;case 10:return Aa(t.type),null;case 22:case 23:return mt(t),Ym(),e!==null&&Ve(Yo),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Aa(Ie),null;case 25:return null;default:return null}}function ZL(e,t){switch(Nm(t),t.tag){case 3:Aa(Ie),il();break;case 26:case 27:case 5:$s(t);break;case 4:il();break;case 31:t.memoizedState!==null&&mt(t);break;case 13:mt(t);break;case 19:Ve(ye);break;case 10:Aa(t.type);break;case 22:case 23:mt(t),Ym(),e!==null&&Ve(Yo);break;case 24:Aa(Ie)}}function oi(e,t){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var r=o.next;a=r;do{if((a.tag&e)===e){o=void 0;var l=a.create,n=a.inst;o=l(),n.destroy=o}a=a.next}while(a!==r)}}catch(i){X(t,t.return,i)}}function yo(e,t,a){try{var o=t.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var l=r.next;o=l;do{if((o.tag&e)===e){var n=o.inst,i=n.destroy;if(i!==void 0){n.destroy=void 0,r=t;var s=a,u=i;try{u()}catch(f){X(r,s,f)}}}o=o.next}while(o!==l)}}catch(f){X(t,t.return,f)}}function QL(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{lL(t,a)}catch(o){X(e,e.return,o)}}}function WL(e,t,a){a.props=er(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(o){X(e,t,o)}}function Bn(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof a=="function"?e.refCleanup=a(o):a.current=o}}catch(r){X(e,t,r)}}function aa(e,t){var a=e.ref,o=e.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(r){X(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(r){X(e,t,r)}else a.current=null}function JL(e){var t=e.type,a=e.memoizedProps,o=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break e;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(r){X(e,e.return,r)}}function Cc(e,t,a){try{var o=e.stateNode;HT(o,e.type,a,t),o[nt]=t}catch(r){X(e,e.return,r)}}function $L(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Co(e.type)||e.tag===4}function vc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$L(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Co(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fm(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=va));else if(o!==4&&(o===27&&Co(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(fm(e,t,a),e=e.sibling;e!==null;)fm(e,t,a),e=e.sibling}function mu(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(o!==4&&(o===27&&Co(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(mu(e,t,a),e=e.sibling;e!==null;)mu(e,t,a),e=e.sibling}function eS(e){var t=e.stateNode,a=e.memoizedProps;try{for(var o=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Ne(t,o,a),t[qe]=e,t[nt]=a}catch(l){X(e,e.return,l)}}var Sa=!1,ve=!1,Ic=!1,Ox=typeof WeakSet=="function"?WeakSet:Set,ke=null;function vT(e,t){if(e=e.containerInfo,xm=bu,e=Hy(e),Um(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var r=o.anchorOffset,l=o.focusNode;o=o.focusOffset;try{a.nodeType,l.nodeType}catch{a=null;break e}var n=0,i=-1,s=-1,u=0,f=0,d=e,c=null;t:for(;;){for(var h;d!==a||r!==0&&d.nodeType!==3||(i=n+r),d!==l||o!==0&&d.nodeType!==3||(s=n+o),d.nodeType===3&&(n+=d.nodeValue.length),(h=d.firstChild)!==null;)c=d,d=h;for(;;){if(d===e)break t;if(c===a&&++u===r&&(i=n),c===l&&++f===o&&(s=n),(h=d.nextSibling)!==null)break;d=c,c=d.parentNode}d=h}a=i===-1||s===-1?null:{start:i,end:s}}else a=null}a=a||{start:0,end:0}}else a=null;for(ym={focusedElem:e,selectionRange:a},bu=!1,ke=t;ke!==null;)if(t=ke,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ke=e;else for(;ke!==null;){switch(t=ke,l=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)r=e[a],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&l!==null){e=void 0,a=t,r=l.memoizedProps,l=l.memoizedState,o=a.stateNode;try{var x=er(a.type,r);e=o.getSnapshotBeforeUpdate(x,l),o.__reactInternalSnapshotBeforeUpdate=e}catch(L){X(a,a.return,L)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Sm(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Sm(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(b(163))}if(e=t.sibling,e!==null){e.return=t.return,ke=e;break}ke=t.return}}function tS(e,t,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:xa(e,a),o&4&&oi(5,a);break;case 1:if(xa(e,a),o&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(n){X(a,a.return,n)}else{var r=er(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(n){X(a,a.return,n)}}o&64&&QL(a),o&512&&Bn(a,a.return);break;case 3:if(xa(e,a),o&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{lL(e,t)}catch(n){X(a,a.return,n)}}break;case 27:t===null&&o&4&&eS(a);case 26:case 5:xa(e,a),t===null&&o&4&&JL(a),o&512&&Bn(a,a.return);break;case 12:xa(e,a);break;case 31:xa(e,a),o&4&&rS(e,a);break;case 13:xa(e,a),o&4&&lS(e,a),o&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=RT.bind(null,a),ZT(e,a))));break;case 22:if(o=a.memoizedState!==null||Sa,!o){t=t!==null&&t.memoizedState!==null||ve,r=Sa;var l=ve;Sa=o,(ve=t)&&!l?ya(e,a,(a.subtreeFlags&8772)!==0):xa(e,a),Sa=r,ve=l}break;case 30:break;default:xa(e,a)}}function aS(e){var t=e.alternate;t!==null&&(e.alternate=null,aS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Rm(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ne=null,ot=!1;function ga(e,t,a){for(a=a.child;a!==null;)oS(e,t,a),a=a.sibling}function oS(e,t,a){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(Qn,a)}catch{}switch(a.tag){case 26:ve||aa(a,t),ga(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ve||aa(a,t);var o=ne,r=ot;Co(a.type)&&(ne=a.stateNode,ot=!1),ga(e,t,a),kn(a.stateNode),ne=o,ot=r;break;case 5:ve||aa(a,t);case 6:if(o=ne,r=ot,ne=null,ga(e,t,a),ne=o,ot=r,ne!==null)if(ot)try{(ne.nodeType===9?ne.body:ne.nodeName==="HTML"?ne.ownerDocument.body:ne).removeChild(a.stateNode)}catch(l){X(a,t,l)}else try{ne.removeChild(a.stateNode)}catch(l){X(a,t,l)}break;case 18:ne!==null&&(ot?(e=ne,Kx(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),xl(e)):Kx(ne,a.stateNode));break;case 4:o=ne,r=ot,ne=a.stateNode.containerInfo,ot=!0,ga(e,t,a),ne=o,ot=r;break;case 0:case 11:case 14:case 15:yo(2,a,t),ve||yo(4,a,t),ga(e,t,a);break;case 1:ve||(aa(a,t),o=a.stateNode,typeof o.componentWillUnmount=="function"&&WL(a,t,o)),ga(e,t,a);break;case 21:ga(e,t,a);break;case 22:ve=(o=ve)||a.memoizedState!==null,ga(e,t,a),ve=o;break;default:ga(e,t,a)}}function rS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xl(e)}catch(a){X(t,t.return,a)}}}function lS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xl(e)}catch(a){X(t,t.return,a)}}function IT(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ox),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ox),t;default:throw Error(b(435,e.tag))}}function Bs(e,t){var a=IT(e);t.forEach(function(o){if(!a.has(o)){a.add(o);var r=ET.bind(null,e,o);o.then(r,r)}})}function tt(e,t){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var r=a[o],l=e,n=t,i=n;e:for(;i!==null;){switch(i.tag){case 27:if(Co(i.type)){ne=i.stateNode,ot=!1;break e}break;case 5:ne=i.stateNode,ot=!1;break e;case 3:case 4:ne=i.stateNode.containerInfo,ot=!0;break e}i=i.return}if(ne===null)throw Error(b(160));oS(l,n,r),ne=null,ot=!1,l=r.alternate,l!==null&&(l.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)nS(t,e),t=t.sibling}var jt=null;function nS(e,t){var a=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:tt(t,e),at(e),o&4&&(yo(3,e,e.return),oi(3,e),yo(5,e,e.return));break;case 1:tt(t,e),at(e),o&512&&(ve||a===null||aa(a,a.return)),o&64&&Sa&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?o:a.concat(o))));break;case 26:var r=jt;if(tt(t,e),at(e),o&512&&(ve||a===null||aa(a,a.return)),o&4){var l=a!==null?a.memoizedState:null;if(o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null){e:{o=e.type,a=e.memoizedProps,r=r.ownerDocument||r;t:switch(o){case"title":l=r.getElementsByTagName("title")[0],(!l||l[$n]||l[qe]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=r.createElement(o),r.head.insertBefore(l,r.querySelector("head > title"))),Ne(l,o,a),l[qe]=e,Pe(l),o=l;break e;case"link":var n=ty("link","href",r).get(o+(a.href||""));if(n){for(var i=0;i<n.length;i++)if(l=n[i],l.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&l.getAttribute("rel")===(a.rel==null?null:a.rel)&&l.getAttribute("title")===(a.title==null?null:a.title)&&l.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){n.splice(i,1);break t}}l=r.createElement(o),Ne(l,o,a),r.head.appendChild(l);break;case"meta":if(n=ty("meta","content",r).get(o+(a.content||""))){for(i=0;i<n.length;i++)if(l=n[i],l.getAttribute("content")===(a.content==null?null:""+a.content)&&l.getAttribute("name")===(a.name==null?null:a.name)&&l.getAttribute("property")===(a.property==null?null:a.property)&&l.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&l.getAttribute("charset")===(a.charSet==null?null:a.charSet)){n.splice(i,1);break t}}l=r.createElement(o),Ne(l,o,a),r.head.appendChild(l);break;default:throw Error(b(468,o))}l[qe]=e,Pe(l),o=l}e.stateNode=o}else ay(r,e.type,e.stateNode);else e.stateNode=ey(r,o,e.memoizedProps);else l!==o?(l===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):l.count--,o===null?ay(r,e.type,e.stateNode):ey(r,o,e.memoizedProps)):o===null&&e.stateNode!==null&&Cc(e,e.memoizedProps,a.memoizedProps)}break;case 27:tt(t,e),at(e),o&512&&(ve||a===null||aa(a,a.return)),a!==null&&o&4&&Cc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(tt(t,e),at(e),o&512&&(ve||a===null||aa(a,a.return)),e.flags&32){r=e.stateNode;try{ul(r,"")}catch(x){X(e,e.return,x)}}o&4&&e.stateNode!=null&&(r=e.memoizedProps,Cc(e,r,a!==null?a.memoizedProps:r)),o&1024&&(Ic=!0);break;case 6:if(tt(t,e),at(e),o&4){if(e.stateNode===null)throw Error(b(162));o=e.memoizedProps,a=e.stateNode;try{a.nodeValue=o}catch(x){X(e,e.return,x)}}break;case 3:if(Ks=null,r=jt,jt=Cu(t.containerInfo),tt(t,e),jt=r,at(e),o&4&&a!==null&&a.memoizedState.isDehydrated)try{xl(t.containerInfo)}catch(x){X(e,e.return,x)}Ic&&(Ic=!1,iS(e));break;case 4:o=jt,jt=Cu(e.stateNode.containerInfo),tt(t,e),at(e),jt=o;break;case 12:tt(t,e),at(e);break;case 31:tt(t,e),at(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Bs(e,o)));break;case 13:tt(t,e),at(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Uu=gt()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Bs(e,o)));break;case 22:r=e.memoizedState!==null;var s=a!==null&&a.memoizedState!==null,u=Sa,f=ve;if(Sa=u||r,ve=f||s,tt(t,e),ve=f,Sa=u,at(e),o&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(a===null||s||Sa||ve||_o(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){s=a=t;try{if(l=s.stateNode,r)n=l.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{i=s.stateNode;var d=s.memoizedProps.style,c=d!=null&&d.hasOwnProperty("display")?d.display:null;i.style.display=c==null||typeof c=="boolean"?"":(""+c).trim()}}catch(x){X(s,s.return,x)}}}else if(t.tag===6){if(a===null){s=t;try{s.stateNode.nodeValue=r?"":s.memoizedProps}catch(x){X(s,s.return,x)}}}else if(t.tag===18){if(a===null){s=t;try{var h=s.stateNode;r?Zx(h,!0):Zx(s.stateNode,!1)}catch(x){X(s,s.return,x)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(a=o.retryQueue,a!==null&&(o.retryQueue=null,Bs(e,a))));break;case 19:tt(t,e),at(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Bs(e,o)));break;case 30:break;case 21:break;default:tt(t,e),at(e)}}function at(e){var t=e.flags;if(t&2){try{for(var a,o=e.return;o!==null;){if($L(o)){a=o;break}o=o.return}if(a==null)throw Error(b(160));switch(a.tag){case 27:var r=a.stateNode,l=vc(e);mu(e,l,r);break;case 5:var n=a.stateNode;a.flags&32&&(ul(n,""),a.flags&=-33);var i=vc(e);mu(e,i,n);break;case 3:case 4:var s=a.stateNode.containerInfo,u=vc(e);fm(e,u,s);break;default:throw Error(b(161))}}catch(f){X(e,e.return,f)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function iS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;iS(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)tS(e,t.alternate,t),t=t.sibling}function _o(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:yo(4,t,t.return),_o(t);break;case 1:aa(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&WL(t,t.return,a),_o(t);break;case 27:kn(t.stateNode);case 26:case 5:aa(t,t.return),_o(t);break;case 22:t.memoizedState===null&&_o(t);break;case 30:_o(t);break;default:_o(t)}e=e.sibling}}function ya(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var o=t.alternate,r=e,l=t,n=l.flags;switch(l.tag){case 0:case 11:case 15:ya(r,l,a),oi(4,l);break;case 1:if(ya(r,l,a),o=l,r=o.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(u){X(o,o.return,u)}if(o=l,r=o.updateQueue,r!==null){var i=o.stateNode;try{var s=r.shared.hiddenCallbacks;if(s!==null)for(r.shared.hiddenCallbacks=null,r=0;r<s.length;r++)rL(s[r],i)}catch(u){X(o,o.return,u)}}a&&n&64&&QL(l),Bn(l,l.return);break;case 27:eS(l);case 26:case 5:ya(r,l,a),a&&o===null&&n&4&&JL(l),Bn(l,l.return);break;case 12:ya(r,l,a);break;case 31:ya(r,l,a),a&&n&4&&rS(r,l);break;case 13:ya(r,l,a),a&&n&4&&lS(r,l);break;case 22:l.memoizedState===null&&ya(r,l,a),Bn(l,l.return);break;case 30:break;default:ya(r,l,a)}t=t.sibling}}function up(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&ti(a))}function fp(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ti(e))}function _t(e,t,a,o){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)sS(e,t,a,o),t=t.sibling}function sS(e,t,a,o){var r=t.flags;switch(t.tag){case 0:case 11:case 15:_t(e,t,a,o),r&2048&&oi(9,t);break;case 1:_t(e,t,a,o);break;case 3:_t(e,t,a,o),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ti(e)));break;case 12:if(r&2048){_t(e,t,a,o),e=t.stateNode;try{var l=t.memoizedProps,n=l.id,i=l.onPostCommit;typeof i=="function"&&i(n,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(s){X(t,t.return,s)}}else _t(e,t,a,o);break;case 31:_t(e,t,a,o);break;case 13:_t(e,t,a,o);break;case 23:break;case 22:l=t.stateNode,n=t.alternate,t.memoizedState!==null?l._visibility&2?_t(e,t,a,o):Rn(e,t):l._visibility&2?_t(e,t,a,o):(l._visibility|=2,Fr(e,t,a,o,(t.subtreeFlags&10256)!==0||!1)),r&2048&&up(n,t);break;case 24:_t(e,t,a,o),r&2048&&fp(t.alternate,t);break;default:_t(e,t,a,o)}}function Fr(e,t,a,o,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var l=e,n=t,i=a,s=o,u=n.flags;switch(n.tag){case 0:case 11:case 15:Fr(l,n,i,s,r),oi(8,n);break;case 23:break;case 22:var f=n.stateNode;n.memoizedState!==null?f._visibility&2?Fr(l,n,i,s,r):Rn(l,n):(f._visibility|=2,Fr(l,n,i,s,r)),r&&u&2048&&up(n.alternate,n);break;case 24:Fr(l,n,i,s,r),r&&u&2048&&fp(n.alternate,n);break;default:Fr(l,n,i,s,r)}t=t.sibling}}function Rn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,o=t,r=o.flags;switch(o.tag){case 22:Rn(a,o),r&2048&&up(o.alternate,o);break;case 24:Rn(a,o),r&2048&&fp(o.alternate,o);break;default:Rn(a,o)}t=t.sibling}}var Cn=8192;function qr(e,t,a){if(e.subtreeFlags&Cn)for(e=e.child;e!==null;)uS(e,t,a),e=e.sibling}function uS(e,t,a){switch(e.tag){case 26:qr(e,t,a),e.flags&Cn&&e.memoizedState!==null&&i1(a,jt,e.memoizedState,e.memoizedProps);break;case 5:qr(e,t,a);break;case 3:case 4:var o=jt;jt=Cu(e.stateNode.containerInfo),qr(e,t,a),jt=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Cn,Cn=16777216,qr(e,t,a),Cn=o):qr(e,t,a));break;default:qr(e,t,a)}}function fS(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function pn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a];ke=o,cS(o,e)}fS(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)dS(e),e=e.sibling}function dS(e){switch(e.tag){case 0:case 11:case 15:pn(e),e.flags&2048&&yo(9,e,e.return);break;case 3:pn(e);break;case 12:pn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Xs(e)):pn(e);break;default:pn(e)}}function Xs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a];ke=o,cS(o,e)}fS(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:yo(8,t,t.return),Xs(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Xs(t));break;default:Xs(t)}e=e.sibling}}function cS(e,t){for(;ke!==null;){var a=ke;switch(a.tag){case 0:case 11:case 15:yo(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var o=a.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:ti(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,ke=o;else e:for(a=e;ke!==null;){o=ke;var r=o.sibling,l=o.return;if(aS(o),o===a){ke=null;break e}if(r!==null){r.return=l,ke=r;break e}ke=l}}}var bT={getCacheForType:function(e){var t=He(Ie),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return He(Ie).controller.signal}},AT=typeof WeakMap=="function"?WeakMap:Map,G=0,Q=null,z=null,q=0,j=0,ct=null,oo=!1,vl=!1,dp=!1,Ra=0,pe=0,Lo=0,Zo=0,cp=0,ht=0,ml=0,En=null,rt=null,dm=!1,Uu=0,mS=0,pu=1/0,hu=null,fo=null,De=0,co=null,pl=null,Ta=0,cm=0,mm=null,pS=null,On=0,pm=null;function Lt(){return(G&2)!==0&&q!==0?q&-q:D.T!==null?pp():Iy()}function hS(){if(ht===0)if((q&536870912)===0||H){var e=Ss;Ss<<=1,(Ss&3932160)===0&&(Ss=262144),ht=e}else ht=536870912;return e=Ct.current,e!==null&&(e.flags|=32),ht}function lt(e,t,a){(e===Q&&(j===2||j===9)||e.cancelPendingCommit!==null)&&(hl(e,0),ro(e,q,ht,!1)),Jn(e,a),((G&2)===0||e!==Q)&&(e===Q&&((G&2)===0&&(Zo|=a),pe===4&&ro(e,q,ht,!1)),la(e))}function gS(e,t,a){if((G&6)!==0)throw Error(b(327));var o=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Wn(e,t),r=o?wT(e,t):bc(e,t,!0),l=o;do{if(r===0){vl&&!o&&ro(e,t,0,!1);break}else{if(a=e.current.alternate,l&&!TT(a)){r=bc(e,t,!1),l=!1;continue}if(r===2){if(l=t,e.errorRecoveryDisabledLanes&l)var n=0;else n=e.pendingLanes&-536870913,n=n!==0?n:n&536870912?536870912:0;if(n!==0){t=n;e:{var i=e;r=En;var s=i.current.memoizedState.isDehydrated;if(s&&(hl(i,n).flags|=256),n=bc(i,n,!1),n!==2){if(dp&&!s){i.errorRecoveryDisabledLanes|=l,Zo|=l,r=4;break e}l=rt,rt=r,l!==null&&(rt===null?rt=l:rt.push.apply(rt,l))}r=n}if(l=!1,r!==2)continue}}if(r===1){hl(e,0),ro(e,t,0,!0);break}e:{switch(o=e,l=r,l){case 0:case 1:throw Error(b(345));case 4:if((t&4194048)!==t)break;case 6:ro(o,t,ht,!oo);break e;case 2:rt=null;break;case 3:case 5:break;default:throw Error(b(329))}if((t&62914560)===t&&(r=Uu+300-gt(),10<r)){if(ro(o,t,ht,!oo),Tu(o,0,!0)!==0)break e;Ta=t,o.timeoutHandle=VS(kx.bind(null,o,a,rt,hu,dm,t,ht,Zo,ml,oo,l,"Throttled",-0,0),r);break e}kx(o,a,rt,hu,dm,t,ht,Zo,ml,oo,l,null,-0,0)}}break}while(!0);la(e)}function kx(e,t,a,o,r,l,n,i,s,u,f,d,c,h){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)===16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:va},uS(t,l,d);var x=(l&62914560)===l?Uu-gt():(l&4194048)===l?mS-gt():0;if(x=s1(d,x),x!==null){Ta=l,e.cancelPendingCommit=x(Vx.bind(null,e,t,l,a,o,r,n,i,s,f,d,null,c,h)),ro(e,l,n,!u);return}}Vx(e,t,l,a,o,r,n,i,s)}function TT(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var r=a[o],l=r.getSnapshot;r=r.value;try{if(!St(l(),r))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ro(e,t,a,o){t&=~cp,t&=~Zo,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var r=t;0<r;){var l=31-yt(r),n=1<<l;o[l]=-1,r&=~n}a!==0&&Sy(e,a,t)}function zu(){return(G&6)===0?(ri(0,!1),!1):!0}function mp(){if(z!==null){if(j===0)var e=z.return;else e=z,Ia=lr=null,Jm(e),rl=null,Hn=0,e=z;for(;e!==null;)ZL(e.alternate,e),e=e.return;z=null}}function hl(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,_T(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Ta=0,mp(),Q=e,z=a=ba(e.current,null),q=t,j=0,ct=null,oo=!1,vl=Wn(e,t),dp=!1,ml=ht=cp=Zo=Lo=pe=0,rt=En=null,dm=!1,(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var r=31-yt(o),l=1<<r;t|=e[r],o&=~l}return Ra=t,Bu(),a}function xS(e,t){O=null,D.H=Gn,t===Cl||t===Eu?(t=cx(),j=3):t===jm?(t=cx(),j=4):j=t===ip?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ct=t,z===null&&(pe=1,du(e,Et(t,e.current)))}function yS(){var e=Ct.current;return e===null?!0:(q&4194048)===q?kt===null:(q&62914560)===q||(q&536870912)!==0?e===kt:!1}function LS(){var e=D.H;return D.H=Gn,e===null?Gn:e}function SS(){var e=D.A;return D.A=bT,e}function gu(){pe=4,oo||(q&4194048)!==q&&Ct.current!==null||(vl=!0),(Lo&134217727)===0&&(Zo&134217727)===0||Q===null||ro(Q,q,ht,!1)}function bc(e,t,a){var o=G;G|=2;var r=LS(),l=SS();(Q!==e||q!==t)&&(hu=null,hl(e,t)),t=!1;var n=pe;e:do try{if(j!==0&&z!==null){var i=z,s=ct;switch(j){case 8:mp(),n=6;break e;case 3:case 2:case 9:case 6:Ct.current===null&&(t=!0);var u=j;if(j=0,ct=null,$r(e,i,s,u),a&&vl){n=0;break e}break;default:u=j,j=0,ct=null,$r(e,i,s,u)}}MT(),n=pe;break}catch(f){xS(e,f)}while(!0);return t&&e.shellSuspendCounter++,Ia=lr=null,G=o,D.H=r,D.A=l,z===null&&(Q=null,q=0,Bu()),n}function MT(){for(;z!==null;)CS(z)}function wT(e,t){var a=G;G|=2;var o=LS(),r=SS();Q!==e||q!==t?(hu=null,pu=gt()+500,hl(e,t)):vl=Wn(e,t);e:do try{if(j!==0&&z!==null){t=z;var l=ct;t:switch(j){case 1:j=0,ct=null,$r(e,t,l,1);break;case 2:case 9:if(dx(l)){j=0,ct=null,Px(t);break}t=function(){j!==2&&j!==9||Q!==e||(j=7),la(e)},l.then(t,t);break e;case 3:j=7;break e;case 4:j=5;break e;case 7:dx(l)?(j=0,ct=null,Px(t)):(j=0,ct=null,$r(e,t,l,7));break;case 5:var n=null;switch(z.tag){case 26:n=z.memoizedState;case 5:case 27:var i=z;if(n?HS(n):i.stateNode.complete){j=0,ct=null;var s=i.sibling;if(s!==null)z=s;else{var u=i.return;u!==null?(z=u,qu(u)):z=null}break t}}j=0,ct=null,$r(e,t,l,5);break;case 6:j=0,ct=null,$r(e,t,l,6);break;case 8:mp(),pe=6;break e;default:throw Error(b(462))}}DT();break}catch(f){xS(e,f)}while(!0);return Ia=lr=null,D.H=o,D.A=r,G=a,z!==null?0:(Q=null,q=0,Bu(),pe)}function DT(){for(;z!==null&&!Jb();)CS(z)}function CS(e){var t=KL(e.alternate,e,Ra);e.memoizedProps=e.pendingProps,t===null?qu(e):z=t}function Px(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=wx(a,t,t.pendingProps,t.type,void 0,q);break;case 11:t=wx(a,t,t.pendingProps,t.type.render,t.ref,q);break;case 5:Jm(t);default:ZL(a,t),t=z=Zy(t,Ra),t=KL(a,t,Ra)}e.memoizedProps=e.pendingProps,t===null?qu(e):z=t}function $r(e,t,a,o){Ia=lr=null,Jm(t),rl=null,Hn=0;var r=t.return;try{if(xT(e,r,t,a,q)){pe=1,du(e,Et(a,e.current)),z=null;return}}catch(l){if(r!==null)throw z=r,l;pe=1,du(e,Et(a,e.current)),z=null;return}t.flags&32768?(H||o===1?e=!0:vl||(q&536870912)!==0?e=!1:(oo=e=!0,(o===2||o===9||o===3||o===6)&&(o=Ct.current,o!==null&&o.tag===13&&(o.flags|=16384))),vS(t,e)):qu(t)}function qu(e){var t=e;do{if((t.flags&32768)!==0){vS(t,oo);return}e=t.return;var a=ST(t.alternate,t,Ra);if(a!==null){z=a;return}if(t=t.sibling,t!==null){z=t;return}z=t=e}while(t!==null);pe===0&&(pe=5)}function vS(e,t){do{var a=CT(e.alternate,e);if(a!==null){a.flags&=32767,z=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){z=e;return}z=e=a}while(e!==null);pe=6,z=null}function Vx(e,t,a,o,r,l,n,i,s){e.cancelPendingCommit=null;do Fu();while(De!==0);if((G&6)!==0)throw Error(b(327));if(t!==null){if(t===e.current)throw Error(b(177));if(l=t.lanes|t.childLanes,l|=zm,sA(e,a,l,n,i,s),e===Q&&(z=Q=null,q=0),pl=t,co=e,Ta=a,cm=l,mm=r,pS=o,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,OT(eu,function(){return MS(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,r=_.p,_.p=2,n=G,G|=4;try{vT(e,t,a)}finally{G=n,_.p=r,D.T=o}}De=1,IS(),bS(),AS()}}function IS(){if(De===1){De=0;var e=co,t=pl,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=D.T,D.T=null;var o=_.p;_.p=2;var r=G;G|=4;try{nS(t,e);var l=ym,n=Hy(e.containerInfo),i=l.focusedElem,s=l.selectionRange;if(n!==i&&i&&i.ownerDocument&&Fy(i.ownerDocument.documentElement,i)){if(s!==null&&Um(i)){var u=s.start,f=s.end;if(f===void 0&&(f=u),"selectionStart"in i)i.selectionStart=u,i.selectionEnd=Math.min(f,i.value.length);else{var d=i.ownerDocument||document,c=d&&d.defaultView||window;if(c.getSelection){var h=c.getSelection(),x=i.textContent.length,L=Math.min(s.start,x),S=s.end===void 0?L:Math.min(s.end,x);!h.extend&&L>S&&(n=S,S=L,L=n);var p=rx(i,L),m=rx(i,S);if(p&&m&&(h.rangeCount!==1||h.anchorNode!==p.node||h.anchorOffset!==p.offset||h.focusNode!==m.node||h.focusOffset!==m.offset)){var g=d.createRange();g.setStart(p.node,p.offset),h.removeAllRanges(),L>S?(h.addRange(g),h.extend(m.node,m.offset)):(g.setEnd(m.node,m.offset),h.addRange(g))}}}}for(d=[],h=i;h=h.parentNode;)h.nodeType===1&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<d.length;i++){var y=d[i];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}bu=!!xm,ym=xm=null}finally{G=r,_.p=o,D.T=a}}e.current=t,De=2}}function bS(){if(De===2){De=0;var e=co,t=pl,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=D.T,D.T=null;var o=_.p;_.p=2;var r=G;G|=4;try{tS(e,t.alternate,t)}finally{G=r,_.p=o,D.T=a}}De=3}}function AS(){if(De===4||De===3){De=0,$b();var e=co,t=pl,a=Ta,o=pS;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?De=5:(De=0,pl=co=null,TS(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(fo=null),Bm(a),t=t.stateNode,xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(Qn,t,void 0,(t.current.flags&128)===128)}catch{}if(o!==null){t=D.T,r=_.p,_.p=2,D.T=null;try{for(var l=e.onRecoverableError,n=0;n<o.length;n++){var i=o[n];l(i.value,{componentStack:i.stack})}}finally{D.T=t,_.p=r}}(Ta&3)!==0&&Fu(),la(e),r=e.pendingLanes,(a&261930)!==0&&(r&42)!==0?e===pm?On++:(On=0,pm=e):On=0,ri(0,!1)}}function TS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ti(t)))}function Fu(){return IS(),bS(),AS(),MS()}function MS(){if(De!==5)return!1;var e=co,t=cm;cm=0;var a=Bm(Ta),o=D.T,r=_.p;try{_.p=32>a?32:a,D.T=null,a=mm,mm=null;var l=co,n=Ta;if(De=0,pl=co=null,Ta=0,(G&6)!==0)throw Error(b(331));var i=G;if(G|=4,dS(l.current),sS(l,l.current,n,a),G=i,ri(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(Qn,l)}catch{}return!0}finally{_.p=r,D.T=o,TS(e,t)}}function Ux(e,t,a){t=Et(a,t),t=im(e.stateNode,t,2),e=uo(e,t,2),e!==null&&(Jn(e,2),la(e))}function X(e,t,a){if(e.tag===3)Ux(e,e,a);else for(;t!==null;){if(t.tag===3){Ux(t,e,a);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(fo===null||!fo.has(o))){e=Et(a,e),a=NL(2),o=uo(t,a,2),o!==null&&(GL(a,o,t,e),Jn(o,2),la(o));break}}t=t.return}}function Ac(e,t,a){var o=e.pingCache;if(o===null){o=e.pingCache=new AT;var r=new Set;o.set(t,r)}else r=o.get(t),r===void 0&&(r=new Set,o.set(t,r));r.has(a)||(dp=!0,r.add(a),e=BT.bind(null,e,t,a),t.then(e,e))}function BT(e,t,a){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Q===e&&(q&a)===a&&(pe===4||pe===3&&(q&62914560)===q&&300>gt()-Uu?(G&2)===0&&hl(e,0):cp|=a,ml===q&&(ml=0)),la(e)}function wS(e,t){t===0&&(t=Ly()),e=rr(e,t),e!==null&&(Jn(e,t),la(e))}function RT(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),wS(e,a)}function ET(e,t){var a=0;switch(e.tag){case 31:case 13:var o=e.stateNode,r=e.memoizedState;r!==null&&(a=r.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(b(314))}o!==null&&o.delete(t),wS(e,a)}function OT(e,t){return wm(e,t)}var xu=null,Hr=null,hm=!1,yu=!1,Tc=!1,lo=0;function la(e){e!==Hr&&e.next===null&&(Hr===null?xu=Hr=e:Hr=Hr.next=e),yu=!0,hm||(hm=!0,PT())}function ri(e,t){if(!Tc&&yu){Tc=!0;do for(var a=!1,o=xu;o!==null;){if(!t)if(e!==0){var r=o.pendingLanes;if(r===0)var l=0;else{var n=o.suspendedLanes,i=o.pingedLanes;l=(1<<31-yt(42|e)+1)-1,l&=r&~(n&~i),l=l&201326741?l&201326741|1:l?l|2:0}l!==0&&(a=!0,zx(o,l))}else l=q,l=Tu(o,o===Q?l:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(l&3)===0||Wn(o,l)||(a=!0,zx(o,l));o=o.next}while(a);Tc=!1}}function kT(){DS()}function DS(){yu=hm=!1;var e=0;lo!==0&>()&&(e=lo);for(var t=gt(),a=null,o=xu;o!==null;){var r=o.next,l=BS(o,t);l===0?(o.next=null,a===null?xu=r:a.next=r,r===null&&(Hr=a)):(a=o,(e!==0||(l&3)!==0)&&(yu=!0)),o=r}De!==0&&De!==5||ri(e,!1),lo!==0&&(lo=0)}function BS(e,t){for(var a=e.suspendedLanes,o=e.pingedLanes,r=e.expirationTimes,l=e.pendingLanes&-62914561;0<l;){var n=31-yt(l),i=1<<n,s=r[n];s===-1?((i&a)===0||(i&o)!==0)&&(r[n]=iA(i,t)):s<=t&&(e.expiredLanes|=i),l&=~i}if(t=Q,a=q,a=Tu(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,a===0||e===t&&(j===2||j===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&tc(o),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Wn(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(o!==null&&tc(o),Bm(a)){case 2:case 8:a=xy;break;case 32:a=eu;break;case 268435456:a=yy;break;default:a=eu}return o=RS.bind(null,e),a=wm(a,o),e.callbackPriority=t,e.callbackNode=a,t}return o!==null&&o!==null&&tc(o),e.callbackPriority=2,e.callbackNode=null,2}function RS(e,t){if(De!==0&&De!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Fu()&&e.callbackNode!==a)return null;var o=q;return o=Tu(e,e===Q?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(gS(e,o,t),BS(e,gt()),e.callbackNode!=null&&e.callbackNode===a?RS.bind(null,e):null)}function zx(e,t){if(Fu())return null;gS(e,t,!0)}function PT(){jT(function(){(G&6)!==0?wm(gy,kT):DS()})}function pp(){if(lo===0){var e=fl;e===0&&(e=Ls,Ls<<=1,(Ls&261888)===0&&(Ls=256)),lo=e}return lo}function qx(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Us(""+e)}function Fx(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function VT(e,t,a,o,r){if(t==="submit"&&a&&a.stateNode===r){var l=qx((r[nt]||null).action),n=o.submitter;n&&(t=(t=n[nt]||null)?qx(t.formAction):n.getAttribute("formAction"),t!==null&&(l=t,n=null));var i=new Mu("action","action",null,o,r);e.push({event:i,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(lo!==0){var s=n?Fx(r,n):new FormData(r);lm(a,{pending:!0,data:s,method:r.method,action:l},null,s)}}else typeof l=="function"&&(i.preventDefault(),s=n?Fx(r,n):new FormData(r),lm(a,{pending:!0,data:s,method:r.method,action:l},l,s))},currentTarget:r}]})}}for(Rs=0;Rs<Yc.length;Rs++)Es=Yc[Rs],Hx=Es.toLowerCase(),Nx=Es[0].toUpperCase()+Es.slice(1),Xt(Hx,"on"+Nx);var Es,Hx,Nx,Rs;Xt(Gy,"onAnimationEnd");Xt(_y,"onAnimationIteration");Xt(jy,"onAnimationStart");Xt("dblclick","onDoubleClick");Xt("focusin","onFocus");Xt("focusout","onBlur");Xt(eT,"onTransitionRun");Xt(tT,"onTransitionStart");Xt(aT,"onTransitionCancel");Xt(Xy,"onTransitionEnd");sl("onMouseEnter",["mouseout","mouseover"]);sl("onMouseLeave",["mouseout","mouseover"]);sl("onPointerEnter",["pointerout","pointerover"]);sl("onPointerLeave",["pointerout","pointerover"]);tr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));tr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));tr("onBeforeInput",["compositionend","keypress","textInput","paste"]);tr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));tr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));tr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _n="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),UT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(_n));function ES(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var o=e[a],r=o.event;o=o.listeners;e:{var l=void 0;if(t)for(var n=o.length-1;0<=n;n--){var i=o[n],s=i.instance,u=i.currentTarget;if(i=i.listener,s!==l&&r.isPropagationStopped())break e;l=i,r.currentTarget=u;try{l(r)}catch(f){au(f)}r.currentTarget=null,l=s}else for(n=0;n<o.length;n++){if(i=o[n],s=i.instance,u=i.currentTarget,i=i.listener,s!==l&&r.isPropagationStopped())break e;l=i,r.currentTarget=u;try{l(r)}catch(f){au(f)}r.currentTarget=null,l=s}}}}function U(e,t){var a=t[qc];a===void 0&&(a=t[qc]=new Set);var o=e+"__bubble";a.has(o)||(OS(t,e,2,!1),a.add(o))}function Mc(e,t,a){var o=0;t&&(o|=4),OS(a,e,o,t)}var Os="_reactListening"+Math.random().toString(36).slice(2);function hp(e){if(!e[Os]){e[Os]=!0,by.forEach(function(a){a!=="selectionchange"&&(UT.has(a)||Mc(a,!1,e),Mc(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Os]||(t[Os]=!0,Mc("selectionchange",!1,t))}}function OS(e,t,a,o){switch(XS(t)){case 2:var r=d1;break;case 8:r=c1;break;default:r=Lp}a=r.bind(null,t,a,e),r=void 0,!_c||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),o?r!==void 0?e.addEventListener(t,a,{capture:!0,passive:r}):e.addEventListener(t,a,!0):r!==void 0?e.addEventListener(t,a,{passive:r}):e.addEventListener(t,a,!1)}function wc(e,t,a,o,r){var l=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var n=o.tag;if(n===3||n===4){var i=o.stateNode.containerInfo;if(i===r)break;if(n===4)for(n=o.return;n!==null;){var s=n.tag;if((s===3||s===4)&&n.stateNode.containerInfo===r)return;n=n.return}for(;i!==null;){if(n=_r(i),n===null)return;if(s=n.tag,s===5||s===6||s===26||s===27){o=l=n;continue e}i=i.parentNode}}o=o.return}Ey(function(){var u=l,f=Om(a),d=[];e:{var c=Yy.get(e);if(c!==void 0){var h=Mu,x=e;switch(e){case"keypress":if(qs(a)===0)break e;case"keydown":case"keyup":h=EA;break;case"focusin":x="focus",h=nc;break;case"focusout":x="blur",h=nc;break;case"beforeblur":case"afterblur":h=nc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Zg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=SA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=PA;break;case Gy:case _y:case jy:h=IA;break;case Xy:h=UA;break;case"scroll":case"scrollend":h=yA;break;case"wheel":h=qA;break;case"copy":case"cut":case"paste":h=AA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Wg;break;case"toggle":case"beforetoggle":h=HA}var L=(t&4)!==0,S=!L&&(e==="scroll"||e==="scrollend"),p=L?c!==null?c+"Capture":null:c;L=[];for(var m=u,g;m!==null;){var y=m;if(g=y.stateNode,y=y.tag,y!==5&&y!==26&&y!==27||g===null||p===null||(y=Vn(m,p),y!=null&&L.push(jn(m,y,g))),S)break;m=m.return}0<L.length&&(c=new h(c,x,null,a,f),d.push({event:c,listeners:L}))}}if((t&7)===0){e:{if(c=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",c&&a!==Gc&&(x=a.relatedTarget||a.fromElement)&&(_r(x)||x[yl]))break e;if((h||c)&&(c=f.window===f?f:(c=f.ownerDocument)?c.defaultView||c.parentWindow:window,h?(x=a.relatedTarget||a.toElement,h=u,x=x?_r(x):null,x!==null&&(S=Zn(x),L=x.tag,x!==S||L!==5&&L!==27&&L!==6)&&(x=null)):(h=null,x=u),h!==x)){if(L=Zg,y="onMouseLeave",p="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(L=Wg,y="onPointerLeave",p="onPointerEnter",m="pointer"),S=h==null?c:Ln(h),g=x==null?c:Ln(x),c=new L(y,m+"leave",h,a,f),c.target=S,c.relatedTarget=g,y=null,_r(f)===u&&(L=new L(p,m+"enter",x,a,f),L.target=g,L.relatedTarget=S,y=L),S=y,h&&x)t:{for(L=zT,p=h,m=x,g=0,y=p;y;y=L(y))g++;y=0;for(var I=m;I;I=L(I))y++;for(;0<g-y;)p=L(p),g--;for(;0<y-g;)m=L(m),y--;for(;g--;){if(p===m||m!==null&&p===m.alternate){L=p;break t}p=L(p),m=L(m)}L=null}else L=null;h!==null&&Gx(d,c,h,L,!1),x!==null&&S!==null&&Gx(d,S,x,L,!0)}}e:{if(c=u?Ln(u):window,h=c.nodeName&&c.nodeName.toLowerCase(),h==="select"||h==="input"&&c.type==="file")var T=tx;else if(ex(c))if(zy)T=WA;else{T=ZA;var C=KA}else h=c.nodeName,!h||h.toLowerCase()!=="input"||c.type!=="checkbox"&&c.type!=="radio"?u&&Em(u.elementType)&&(T=tx):T=QA;if(T&&(T=T(e,u))){Uy(d,T,a,f);break e}C&&C(e,c,u),e==="focusout"&&u&&c.type==="number"&&u.memoizedProps.value!=null&&Nc(c,"number",c.value)}switch(C=u?Ln(u):window,e){case"focusin":(ex(C)||C.contentEditable==="true")&&(Yr=C,jc=u,bn=null);break;case"focusout":bn=jc=Yr=null;break;case"mousedown":Xc=!0;break;case"contextmenu":case"mouseup":case"dragend":Xc=!1,lx(d,a,f);break;case"selectionchange":if($A)break;case"keydown":case"keyup":lx(d,a,f)}var v;if(Vm)e:{switch(e){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else Xr?Py(e,a)&&(M="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(M="onCompositionStart");M&&(ky&&a.locale!=="ko"&&(Xr||M!=="onCompositionStart"?M==="onCompositionEnd"&&Xr&&(v=Oy()):(ao=f,km="value"in ao?ao.value:ao.textContent,Xr=!0)),C=Lu(u,M),0<C.length&&(M=new Qg(M,e,null,a,f),d.push({event:M,listeners:C}),v?M.data=v:(v=Vy(a),v!==null&&(M.data=v)))),(v=GA?_A(e,a):jA(e,a))&&(M=Lu(u,"onBeforeInput"),0<M.length&&(C=new Qg("onBeforeInput","beforeinput",null,a,f),d.push({event:C,listeners:M}),C.data=v)),VT(d,e,u,a,f)}ES(d,t)})}function jn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Lu(e,t){for(var a=t+"Capture",o=[];e!==null;){var r=e,l=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||l===null||(r=Vn(e,a),r!=null&&o.unshift(jn(e,r,l)),r=Vn(e,t),r!=null&&o.push(jn(e,r,l))),e.tag===3)return o;e=e.return}return[]}function zT(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Gx(e,t,a,o,r){for(var l=t._reactName,n=[];a!==null&&a!==o;){var i=a,s=i.alternate,u=i.stateNode;if(i=i.tag,s!==null&&s===o)break;i!==5&&i!==26&&i!==27||u===null||(s=u,r?(u=Vn(a,l),u!=null&&n.unshift(jn(a,u,s))):r||(u=Vn(a,l),u!=null&&n.push(jn(a,u,s)))),a=a.return}n.length!==0&&e.push({event:t,listeners:n})}var qT=/\r\n?/g,FT=/\u0000|\uFFFD/g;function _x(e){return(typeof e=="string"?e:""+e).replace(qT,`
`).replace(FT,"")}function kS(e,t){return t=_x(t),_x(e)===t}function K(e,t,a,o,r,l){switch(a){case"children":typeof o=="string"?t==="body"||t==="textarea"&&o===""||ul(e,o):(typeof o=="number"||typeof o=="bigint")&&t!=="body"&&ul(e,""+o);break;case"className":vs(e,"class",o);break;case"tabIndex":vs(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":vs(e,a,o);break;case"style":Ry(e,o,l);break;case"data":if(t!=="object"){vs(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Us(""+o),e.setAttribute(a,o);break;case"action":case"formAction":if(typeof o=="function"){e.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 l=="function"&&(a==="formAction"?(t!=="input"&&K(e,t,"name",r.name,r,null),K(e,t,"formEncType",r.formEncType,r,null),K(e,t,"formMethod",r.formMethod,r,null),K(e,t,"formTarget",r.formTarget,r,null)):(K(e,t,"encType",r.encType,r,null),K(e,t,"method",r.method,r,null),K(e,t,"target",r.target,r,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Us(""+o),e.setAttribute(a,o);break;case"onClick":o!=null&&(e.onclick=va);break;case"onScroll":o!=null&&U("scroll",e);break;case"onScrollEnd":o!=null&&U("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(b(61));if(a=o.__html,a!=null){if(r.children!=null)throw Error(b(60));e.innerHTML=a}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}a=Us(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""+o):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":o===!0?e.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,o):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(a,o):e.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(a):e.setAttribute(a,o);break;case"popover":U("beforetoggle",e),U("toggle",e),Vs(e,"popover",o);break;case"xlinkActuate":pa(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":pa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":pa(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":pa(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":pa(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":pa(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":pa(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":pa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":pa(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Vs(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=gA.get(a)||a,Vs(e,a,o))}}function gm(e,t,a,o,r,l){switch(a){case"style":Ry(e,o,l);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(b(61));if(a=o.__html,a!=null){if(r.children!=null)throw Error(b(60));e.innerHTML=a}}break;case"children":typeof o=="string"?ul(e,o):(typeof o=="number"||typeof o=="bigint")&&ul(e,""+o);break;case"onScroll":o!=null&&U("scroll",e);break;case"onScrollEnd":o!=null&&U("scrollend",e);break;case"onClick":o!=null&&(e.onclick=va);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ay.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(r=a.endsWith("Capture"),t=a.slice(2,r?a.length-7:void 0),l=e[nt]||null,l=l!=null?l[a]:null,typeof l=="function"&&e.removeEventListener(t,l,r),typeof o=="function")){typeof l!="function"&&l!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,o,r);break e}a in e?e[a]=o:o===!0?e.setAttribute(a,""):Vs(e,a,o)}}}function Ne(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":U("error",e),U("load",e);var o=!1,r=!1,l;for(l in a)if(a.hasOwnProperty(l)){var n=a[l];if(n!=null)switch(l){case"src":o=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:K(e,t,l,n,a,null)}}r&&K(e,t,"srcSet",a.srcSet,a,null),o&&K(e,t,"src",a.src,a,null);return;case"input":U("invalid",e);var i=l=n=r=null,s=null,u=null;for(o in a)if(a.hasOwnProperty(o)){var f=a[o];if(f!=null)switch(o){case"name":r=f;break;case"type":n=f;break;case"checked":s=f;break;case"defaultChecked":u=f;break;case"value":l=f;break;case"defaultValue":i=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(b(137,t));break;default:K(e,t,o,f,a,null)}}wy(e,l,i,s,u,n,r,!1);return;case"select":U("invalid",e),o=n=l=null;for(r in a)if(a.hasOwnProperty(r)&&(i=a[r],i!=null))switch(r){case"value":l=i;break;case"defaultValue":n=i;break;case"multiple":o=i;default:K(e,t,r,i,a,null)}t=l,a=n,e.multiple=!!o,t!=null?tl(e,!!o,t,!1):a!=null&&tl(e,!!o,a,!0);return;case"textarea":U("invalid",e),l=r=o=null;for(n in a)if(a.hasOwnProperty(n)&&(i=a[n],i!=null))switch(n){case"value":o=i;break;case"defaultValue":r=i;break;case"children":l=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(b(91));break;default:K(e,t,n,i,a,null)}By(e,o,r,l);return;case"option":for(s in a)a.hasOwnProperty(s)&&(o=a[s],o!=null)&&(s==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":K(e,t,s,o,a,null));return;case"dialog":U("beforetoggle",e),U("toggle",e),U("cancel",e),U("close",e);break;case"iframe":case"object":U("load",e);break;case"video":case"audio":for(o=0;o<_n.length;o++)U(_n[o],e);break;case"image":U("error",e),U("load",e);break;case"details":U("toggle",e);break;case"embed":case"source":case"link":U("error",e),U("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in a)if(a.hasOwnProperty(u)&&(o=a[u],o!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:K(e,t,u,o,a,null)}return;default:if(Em(t)){for(f in a)a.hasOwnProperty(f)&&(o=a[f],o!==void 0&&gm(e,t,f,o,a,void 0));return}}for(i in a)a.hasOwnProperty(i)&&(o=a[i],o!=null&&K(e,t,i,o,a,null))}function HT(e,t,a,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,l=null,n=null,i=null,s=null,u=null,f=null;for(h in a){var d=a[h];if(a.hasOwnProperty(h)&&d!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":s=d;default:o.hasOwnProperty(h)||K(e,t,h,null,o,d)}}for(var c in o){var h=o[c];if(d=a[c],o.hasOwnProperty(c)&&(h!=null||d!=null))switch(c){case"type":l=h;break;case"name":r=h;break;case"checked":u=h;break;case"defaultChecked":f=h;break;case"value":n=h;break;case"defaultValue":i=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(b(137,t));break;default:h!==d&&K(e,t,c,h,o,d)}}Hc(e,n,i,s,u,f,l,r);return;case"select":h=n=i=c=null;for(l in a)if(s=a[l],a.hasOwnProperty(l)&&s!=null)switch(l){case"value":break;case"multiple":h=s;default:o.hasOwnProperty(l)||K(e,t,l,null,o,s)}for(r in o)if(l=o[r],s=a[r],o.hasOwnProperty(r)&&(l!=null||s!=null))switch(r){case"value":c=l;break;case"defaultValue":i=l;break;case"multiple":n=l;default:l!==s&&K(e,t,r,l,o,s)}t=i,a=n,o=h,c!=null?tl(e,!!a,c,!1):!!o!=!!a&&(t!=null?tl(e,!!a,t,!0):tl(e,!!a,a?[]:"",!1));return;case"textarea":h=c=null;for(i in a)if(r=a[i],a.hasOwnProperty(i)&&r!=null&&!o.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:K(e,t,i,null,o,r)}for(n in o)if(r=o[n],l=a[n],o.hasOwnProperty(n)&&(r!=null||l!=null))switch(n){case"value":c=r;break;case"defaultValue":h=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(b(91));break;default:r!==l&&K(e,t,n,r,o,l)}Dy(e,c,h);return;case"option":for(var x in a)c=a[x],a.hasOwnProperty(x)&&c!=null&&!o.hasOwnProperty(x)&&(x==="selected"?e.selected=!1:K(e,t,x,null,o,c));for(s in o)c=o[s],h=a[s],o.hasOwnProperty(s)&&c!==h&&(c!=null||h!=null)&&(s==="selected"?e.selected=c&&typeof c!="function"&&typeof c!="symbol":K(e,t,s,c,o,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var L in a)c=a[L],a.hasOwnProperty(L)&&c!=null&&!o.hasOwnProperty(L)&&K(e,t,L,null,o,c);for(u in o)if(c=o[u],h=a[u],o.hasOwnProperty(u)&&c!==h&&(c!=null||h!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(b(137,t));break;default:K(e,t,u,c,o,h)}return;default:if(Em(t)){for(var S in a)c=a[S],a.hasOwnProperty(S)&&c!==void 0&&!o.hasOwnProperty(S)&&gm(e,t,S,void 0,o,c);for(f in o)c=o[f],h=a[f],!o.hasOwnProperty(f)||c===h||c===void 0&&h===void 0||gm(e,t,f,c,o,h);return}}for(var p in a)c=a[p],a.hasOwnProperty(p)&&c!=null&&!o.hasOwnProperty(p)&&K(e,t,p,null,o,c);for(d in o)c=o[d],h=a[d],!o.hasOwnProperty(d)||c===h||c==null&&h==null||K(e,t,d,c,o,h)}function jx(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function NT(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var r=a[o],l=r.transferSize,n=r.initiatorType,i=r.duration;if(l&&i&&jx(n)){for(n=0,i=r.responseEnd,o+=1;o<a.length;o++){var s=a[o],u=s.startTime;if(u>i)break;var f=s.transferSize,d=s.initiatorType;f&&jx(d)&&(s=s.responseEnd,n+=f*(s<i?1:(i-u)/(s-u)))}if(--o,t+=8*(l+n)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var xm=null,ym=null;function Su(e){return e.nodeType===9?e:e.ownerDocument}function Xx(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function PS(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Lm(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Dc=null;function GT(){var e=window.event;return e&&e.type==="popstate"?e===Dc?!1:(Dc=e,!0):(Dc=null,!1)}var VS=typeof setTimeout=="function"?setTimeout:void 0,_T=typeof clearTimeout=="function"?clearTimeout:void 0,Yx=typeof Promise=="function"?Promise:void 0,jT=typeof queueMicrotask=="function"?queueMicrotask:typeof Yx<"u"?function(e){return Yx.resolve(null).then(e).catch(XT)}:VS;function XT(e){setTimeout(function(){throw e})}function Co(e){return e==="head"}function Kx(e,t){var a=t,o=0;do{var r=a.nextSibling;if(e.removeChild(a),r&&r.nodeType===8)if(a=r.data,a==="/$"||a==="/&"){if(o===0){e.removeChild(r),xl(t);return}o--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")o++;else if(a==="html")kn(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,kn(a);for(var l=a.firstChild;l;){var n=l.nextSibling,i=l.nodeName;l[$n]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&l.rel.toLowerCase()==="stylesheet"||a.removeChild(l),l=n}}else a==="body"&&kn(e.ownerDocument.body);a=r}while(a);xl(t)}function Zx(e,t){var a=e;e=0;do{var o=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=o}while(a)}function Sm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Sm(a),Rm(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function YT(e,t,a,o){for(;e.nodeType===1;){var r=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[$n])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(l=e.getAttribute("rel"),l==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(l!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(l=e.getAttribute("src"),(l!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&l&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var l=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===l)return e}else return e;if(e=Pt(e.nextSibling),e===null)break}return null}function KT(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Pt(e.nextSibling),e===null))return null;return e}function US(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Pt(e.nextSibling),e===null))return null;return e}function Cm(e){return e.data==="$?"||e.data==="$~"}function vm(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ZT(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var o=function(){t(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function Pt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Im=null;function Qx(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Pt(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Wx(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function zS(e,t,a){switch(t=Su(a),e){case"html":if(e=t.documentElement,!e)throw Error(b(452));return e;case"head":if(e=t.head,!e)throw Error(b(453));return e;case"body":if(e=t.body,!e)throw Error(b(454));return e;default:throw Error(b(451))}}function kn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Rm(e)}var Vt=new Map,Jx=new Set;function Cu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ea=_.d;_.d={f:QT,r:WT,D:JT,C:$T,L:e1,m:t1,X:o1,S:a1,M:r1};function QT(){var e=Ea.f(),t=zu();return e||t}function WT(e){var t=Ll(e);t!==null&&t.tag===5&&t.type==="form"?RL(t):Ea.r(e)}var Il=typeof document>"u"?null:document;function qS(e,t,a){var o=Il;if(o&&typeof t=="string"&&t){var r=Rt(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof a=="string"&&(r+='[crossorigin="'+a+'"]'),Jx.has(r)||(Jx.add(r),e={rel:e,crossOrigin:a,href:t},o.querySelector(r)===null&&(t=o.createElement("link"),Ne(t,"link",e),Pe(t),o.head.appendChild(t)))}}function JT(e){Ea.D(e),qS("dns-prefetch",e,null)}function $T(e,t){Ea.C(e,t),qS("preconnect",e,t)}function e1(e,t,a){Ea.L(e,t,a);var o=Il;if(o&&e&&t){var r='link[rel="preload"][as="'+Rt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(r+='[imagesrcset="'+Rt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(r+='[imagesizes="'+Rt(a.imageSizes)+'"]')):r+='[href="'+Rt(e)+'"]';var l=r;switch(t){case"style":l=gl(e);break;case"script":l=bl(e)}Vt.has(l)||(e=re({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Vt.set(l,e),o.querySelector(r)!==null||t==="style"&&o.querySelector(li(l))||t==="script"&&o.querySelector(ni(l))||(t=o.createElement("link"),Ne(t,"link",e),Pe(t),o.head.appendChild(t)))}}function t1(e,t){Ea.m(e,t);var a=Il;if(a&&e){var o=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Rt(o)+'"][href="'+Rt(e)+'"]',l=r;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=bl(e)}if(!Vt.has(l)&&(e=re({rel:"modulepreload",href:e},t),Vt.set(l,e),a.querySelector(r)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ni(l)))return}o=a.createElement("link"),Ne(o,"link",e),Pe(o),a.head.appendChild(o)}}}function a1(e,t,a){Ea.S(e,t,a);var o=Il;if(o&&e){var r=el(o).hoistableStyles,l=gl(e);t=t||"default";var n=r.get(l);if(!n){var i={loading:0,preload:null};if(n=o.querySelector(li(l)))i.loading=5;else{e=re({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Vt.get(l))&&gp(e,a);var s=n=o.createElement("link");Pe(s),Ne(s,"link",e),s._p=new Promise(function(u,f){s.onload=u,s.onerror=f}),s.addEventListener("load",function(){i.loading|=1}),s.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Ys(n,t,o)}n={type:"stylesheet",instance:n,count:1,state:i},r.set(l,n)}}}function o1(e,t){Ea.X(e,t);var a=Il;if(a&&e){var o=el(a).hoistableScripts,r=bl(e),l=o.get(r);l||(l=a.querySelector(ni(r)),l||(e=re({src:e,async:!0},t),(t=Vt.get(r))&&xp(e,t),l=a.createElement("script"),Pe(l),Ne(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},o.set(r,l))}}function r1(e,t){Ea.M(e,t);var a=Il;if(a&&e){var o=el(a).hoistableScripts,r=bl(e),l=o.get(r);l||(l=a.querySelector(ni(r)),l||(e=re({src:e,async:!0,type:"module"},t),(t=Vt.get(r))&&xp(e,t),l=a.createElement("script"),Pe(l),Ne(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},o.set(r,l))}}function $x(e,t,a,o){var r=(r=no.current)?Cu(r):null;if(!r)throw Error(b(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=gl(a.href),a=el(r).hoistableStyles,o=a.get(t),o||(o={type:"style",instance:null,count:0,state:null},a.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=gl(a.href);var l=el(r).hoistableStyles,n=l.get(e);if(n||(r=r.ownerDocument||r,n={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},l.set(e,n),(l=r.querySelector(li(e)))&&!l._p&&(n.instance=l,n.state.loading=5),Vt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Vt.set(e,a),l||l1(r,e,a,n.state))),t&&o===null)throw Error(b(528,""));return n}if(t&&o!==null)throw Error(b(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=bl(a),a=el(r).hoistableScripts,o=a.get(t),o||(o={type:"script",instance:null,count:0,state:null},a.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,e))}}function gl(e){return'href="'+Rt(e)+'"'}function li(e){return'link[rel="stylesheet"]['+e+"]"}function FS(e){return re({},e,{"data-precedence":e.precedence,precedence:null})}function l1(e,t,a,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=1:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=1}),t.addEventListener("error",function(){return o.loading|=2}),Ne(t,"link",a),Pe(t),e.head.appendChild(t))}function bl(e){return'[src="'+Rt(e)+'"]'}function ni(e){return"script[async]"+e}function ey(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+Rt(a.href)+'"]');if(o)return t.instance=o,Pe(o),o;var r=re({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),Pe(o),Ne(o,"style",r),Ys(o,a.precedence,e),t.instance=o;case"stylesheet":r=gl(a.href);var l=e.querySelector(li(r));if(l)return t.state.loading|=4,t.instance=l,Pe(l),l;o=FS(a),(r=Vt.get(r))&&gp(o,r),l=(e.ownerDocument||e).createElement("link"),Pe(l);var n=l;return n._p=new Promise(function(i,s){n.onload=i,n.onerror=s}),Ne(l,"link",o),t.state.loading|=4,Ys(l,a.precedence,e),t.instance=l;case"script":return l=bl(a.src),(r=e.querySelector(ni(l)))?(t.instance=r,Pe(r),r):(o=a,(r=Vt.get(l))&&(o=re({},a),xp(o,r)),e=e.ownerDocument||e,r=e.createElement("script"),Pe(r),Ne(r,"link",o),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(b(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(o=t.instance,t.state.loading|=4,Ys(o,a.precedence,e));return t.instance}function Ys(e,t,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=o.length?o[o.length-1]:null,l=r,n=0;n<o.length;n++){var i=o[n];if(i.dataset.precedence===t)l=i;else if(l!==r)break}l?l.parentNode.insertBefore(e,l.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function gp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function xp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ks=null;function ty(e,t,a){if(Ks===null){var o=new Map,r=Ks=new Map;r.set(a,o)}else r=Ks,o=r.get(a),o||(o=new Map,r.set(a,o));if(o.has(e))return o;for(o.set(e,null),a=a.getElementsByTagName(e),r=0;r<a.length;r++){var l=a[r];if(!(l[$n]||l[qe]||e==="link"&&l.getAttribute("rel")==="stylesheet")&&l.namespaceURI!=="http://www.w3.org/2000/svg"){var n=l.getAttribute(t)||"";n=e+n;var i=o.get(n);i?i.push(l):o.set(n,[l])}}return o}function ay(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function n1(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function HS(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function i1(e,t,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var r=gl(o.href),l=t.querySelector(li(r));if(l){t=l._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=vu.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=l,Pe(l);return}l=t.ownerDocument||t,o=FS(o),(r=Vt.get(r))&&gp(o,r),l=l.createElement("link"),Pe(l);var n=l;n._p=new Promise(function(i,s){n.onload=i,n.onerror=s}),Ne(l,"link",o),a.instance=l}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=vu.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Bc=0;function s1(e,t){return e.stylesheets&&e.count===0&&Zs(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var o=setTimeout(function(){if(e.stylesheets&&Zs(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4+t);0<e.imgBytes&&Bc===0&&(Bc=62500*NT());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zs(e,e.stylesheets),e.unsuspend)){var l=e.unsuspend;e.unsuspend=null,l()}},(e.imgBytes>Bc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(r)}}:null}function vu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zs(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Iu=null;function Zs(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Iu=new Map,t.forEach(u1,e),Iu=null,vu.call(e))}function u1(e,t){if(!(t.state.loading&4)){var a=Iu.get(e);if(a)var o=a.get(null);else{a=new Map,Iu.set(e,a);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<r.length;l++){var n=r[l];(n.nodeName==="LINK"||n.getAttribute("media")!=="not all")&&(a.set(n.dataset.precedence,n),o=n)}o&&a.set(null,o)}r=t.instance,n=r.getAttribute("data-precedence"),l=a.get(n)||o,l===o&&a.set(null,r),a.set(n,r),this.count++,o=vu.bind(this),r.addEventListener("load",o),r.addEventListener("error",o),l?l.parentNode.insertBefore(r,l.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var Xn={$$typeof:Ca,Provider:null,Consumer:null,_currentValue:jo,_currentValue2:jo,_threadCount:0};function f1(e,t,a,o,r,l,n,i,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ac(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ac(0),this.hiddenUpdates=ac(null),this.identifierPrefix=o,this.onUncaughtError=r,this.onCaughtError=l,this.onRecoverableError=n,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function NS(e,t,a,o,r,l,n,i,s,u,f,d){return e=new f1(e,t,a,n,s,u,f,d,i),t=1,l===!0&&(t|=24),l=pt(3,null,null,t),e.current=l,l.stateNode=e,t=Gm(),t.refCount++,e.pooledCache=t,t.refCount++,l.memoizedState={element:o,isDehydrated:a,cache:t},Xm(l),e}function GS(e){return e?(e=Qr,e):Qr}function _S(e,t,a,o,r,l){r=GS(r),o.context===null?o.context=r:o.pendingContext=r,o=so(t),o.payload={element:a},l=l===void 0?null:l,l!==null&&(o.callback=l),a=uo(e,o,t),a!==null&&(lt(a,e,t),Tn(a,e,t))}function oy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function yp(e,t){oy(e,t),(e=e.alternate)&&oy(e,t)}function jS(e){if(e.tag===13||e.tag===31){var t=rr(e,67108864);t!==null&<(t,e,67108864),yp(e,67108864)}}function ry(e){if(e.tag===13||e.tag===31){var t=Lt();t=Dm(t);var a=rr(e,t);a!==null&<(a,e,t),yp(e,t)}}var bu=!0;function d1(e,t,a,o){var r=D.T;D.T=null;var l=_.p;try{_.p=2,Lp(e,t,a,o)}finally{_.p=l,D.T=r}}function c1(e,t,a,o){var r=D.T;D.T=null;var l=_.p;try{_.p=8,Lp(e,t,a,o)}finally{_.p=l,D.T=r}}function Lp(e,t,a,o){if(bu){var r=bm(o);if(r===null)wc(e,t,o,Au,a),ly(e,o);else if(p1(r,e,t,a,o))o.stopPropagation();else if(ly(e,o),t&4&&-1<m1.indexOf(e)){for(;r!==null;){var l=Ll(r);if(l!==null)switch(l.tag){case 3:if(l=l.stateNode,l.current.memoizedState.isDehydrated){var n=No(l.pendingLanes);if(n!==0){var i=l;for(i.pendingLanes|=2,i.entangledLanes|=2;n;){var s=1<<31-yt(n);i.entanglements[1]|=s,n&=~s}la(l),(G&6)===0&&(pu=gt()+500,ri(0,!1))}}break;case 31:case 13:i=rr(l,2),i!==null&<(i,l,2),zu(),yp(l,2)}if(l=bm(o),l===null&&wc(e,t,o,Au,a),l===r)break;r=l}r!==null&&o.stopPropagation()}else wc(e,t,o,null,a)}}function bm(e){return e=Om(e),Sp(e)}var Au=null;function Sp(e){if(Au=null,e=_r(e),e!==null){var t=Zn(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=dy(t),e!==null)return e;e=null}else if(a===31){if(e=cy(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Au=e,null}function XS(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eA()){case gy:return 2;case xy:return 8;case eu:case tA:return 32;case yy:return 268435456;default:return 32}default:return 32}}var Am=!1,mo=null,po=null,ho=null,Yn=new Map,Kn=new Map,eo=[],m1="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 ly(e,t){switch(e){case"focusin":case"focusout":mo=null;break;case"dragenter":case"dragleave":po=null;break;case"mouseover":case"mouseout":ho=null;break;case"pointerover":case"pointerout":Yn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kn.delete(t.pointerId)}}function hn(e,t,a,o,r,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:a,eventSystemFlags:o,nativeEvent:l,targetContainers:[r]},t!==null&&(t=Ll(t),t!==null&&jS(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function p1(e,t,a,o,r){switch(t){case"focusin":return mo=hn(mo,e,t,a,o,r),!0;case"dragenter":return po=hn(po,e,t,a,o,r),!0;case"mouseover":return ho=hn(ho,e,t,a,o,r),!0;case"pointerover":var l=r.pointerId;return Yn.set(l,hn(Yn.get(l)||null,e,t,a,o,r)),!0;case"gotpointercapture":return l=r.pointerId,Kn.set(l,hn(Kn.get(l)||null,e,t,a,o,r)),!0}return!1}function YS(e){var t=_r(e.target);if(t!==null){var a=Zn(t);if(a!==null){if(t=a.tag,t===13){if(t=dy(a),t!==null){e.blockedOn=t,Ng(e.priority,function(){ry(a)});return}}else if(t===31){if(t=cy(a),t!==null){e.blockedOn=t,Ng(e.priority,function(){ry(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=bm(e.nativeEvent);if(a===null){a=e.nativeEvent;var o=new a.constructor(a.type,a);Gc=o,a.target.dispatchEvent(o),Gc=null}else return t=Ll(a),t!==null&&jS(t),e.blockedOn=a,!1;t.shift()}return!0}function ny(e,t,a){Qs(e)&&a.delete(t)}function h1(){Am=!1,mo!==null&&Qs(mo)&&(mo=null),po!==null&&Qs(po)&&(po=null),ho!==null&&Qs(ho)&&(ho=null),Yn.forEach(ny),Kn.forEach(ny)}function ks(e,t){e.blockedOn===t&&(e.blockedOn=null,Am||(Am=!0,Be.unstable_scheduleCallback(Be.unstable_NormalPriority,h1)))}var Ps=null;function iy(e){Ps!==e&&(Ps=e,Be.unstable_scheduleCallback(Be.unstable_NormalPriority,function(){Ps===e&&(Ps=null);for(var t=0;t<e.length;t+=3){var a=e[t],o=e[t+1],r=e[t+2];if(typeof o!="function"){if(Sp(o||a)===null)continue;break}var l=Ll(a);l!==null&&(e.splice(t,3),t-=3,lm(l,{pending:!0,data:r,method:a.method,action:o},o,r))}}))}function xl(e){function t(s){return ks(s,e)}mo!==null&&ks(mo,e),po!==null&&ks(po,e),ho!==null&&ks(ho,e),Yn.forEach(t),Kn.forEach(t);for(var a=0;a<eo.length;a++){var o=eo[a];o.blockedOn===e&&(o.blockedOn=null)}for(;0<eo.length&&(a=eo[0],a.blockedOn===null);)YS(a),a.blockedOn===null&&eo.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var r=a[o],l=a[o+1],n=r[nt]||null;if(typeof l=="function")n||iy(a);else if(n){var i=null;if(l&&l.hasAttribute("formAction")){if(r=l,n=l[nt]||null)i=n.formAction;else if(Sp(r)!==null)continue}else i=n.action;typeof i=="function"?a[o+1]=i:(a.splice(o,3),o-=3),iy(a)}}}function KS(){function e(l){l.canIntercept&&l.info==="react-transition"&&l.intercept({handler:function(){return new Promise(function(n){return r=n})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var l=navigation.currentEntry;l&&l.url!=null&&navigation.navigate(l.url,{state:l.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function Cp(e){this._internalRoot=e}Hu.prototype.render=Cp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(b(409));var a=t.current,o=Lt();_S(a,o,e,t,null,null)};Hu.prototype.unmount=Cp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_S(e.current,2,null,e,null,null),zu(),t[yl]=null}};function Hu(e){this._internalRoot=e}Hu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Iy();e={blockedOn:null,target:e,priority:t};for(var a=0;a<eo.length&&t!==0&&t<eo[a].priority;a++);eo.splice(a,0,e),a===0&&YS(e)}};var sy=uy.version;if(sy!=="19.2.8")throw Error(b(527,sy,"19.2.8"));_.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(b(188)):(e=Object.keys(e).join(","),Error(b(268,e)));return e=Yb(t),e=e!==null?my(e):null,e=e===null?null:e.stateNode,e};var g1={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(gn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!gn.isDisabled&&gn.supportsFiber))try{Qn=gn.inject(g1),xt=gn}catch{}var gn;Nu.createRoot=function(e,t){if(!fy(e))throw Error(b(299));var a=!1,o="",r=qL,l=FL,n=HL;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(l=t.onCaughtError),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=NS(e,1,!1,null,null,a,o,null,r,l,n,KS),e[yl]=t.current,hp(e),new Cp(t)};Nu.hydrateRoot=function(e,t,a){if(!fy(e))throw Error(b(299));var o=!1,r="",l=qL,n=FL,i=HL,s=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(r=a.identifierPrefix),a.onUncaughtError!==void 0&&(l=a.onUncaughtError),a.onCaughtError!==void 0&&(n=a.onCaughtError),a.onRecoverableError!==void 0&&(i=a.onRecoverableError),a.formState!==void 0&&(s=a.formState)),t=NS(e,1,!0,t,a??null,o,r,s,l,n,i,KS),t.context=GS(null),a=t.current,o=Lt(),o=Dm(o),r=so(o),r.callback=null,uo(a,r,o),a=o,t.current.lanes=a,Jn(t,a),la(t),e[yl]=t.current,hp(e),new Hu(t)};Nu.version="19.2.8"});var JS=Jt((c2,WS)=>{"use strict";function QS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(QS)}catch(e){console.error(e)}}QS(),WS.exports=ZS()});var eC=Jt(Gu=>{"use strict";var x1=Symbol.for("react.transitional.element"),y1=Symbol.for("react.fragment");function $S(e,t,a){var o=null;if(a!==void 0&&(o=""+a),t.key!==void 0&&(o=""+t.key),"key"in t){a={};for(var r in t)r!=="key"&&(a[r]=t[r])}else a=t;return t=a.ref,{$$typeof:x1,type:e,key:o,ref:t!==void 0?t:null,props:a}}Gu.Fragment=y1;Gu.jsx=$S;Gu.jsxs=$S});var Al=Jt((p2,tC)=>{"use strict";tC.exports=eC()});var yb=V(F()),Lb=V(JS());var Xe=V(F());var Zi=V(Al(),1),Zt=V(F(),1);var aC=V(F(),1),Tl=(0,aC.createContext)({});var oC=V(F(),1);function Ml(e){let t=(0,oC.useRef)(null);return t.current===null&&(t.current=e()),t.current}var _u=V(F(),1);var rC=typeof window<"u";var nr=rC?_u.useLayoutEffect:_u.useEffect;var Rh=V(Al(),1),m0=V(F(),1),Oo=V(F(),1);var lC=V(F(),1),vo=(0,lC.createContext)(null);var d0=V(Al(),1);function ir(e,t){e.indexOf(t)===-1&&e.push(t)}function Io(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}var Re=(e,t,a)=>a>t?t:a<e?e:a;var Oa=()=>{},st=()=>{};var Je={};var ii=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var si=e=>typeof e=="object"&&e!==null;var ui=e=>/^0[^.\s]+$/u.test(e);function fi(e){let t;return()=>(t===void 0&&(t=e()),t)}var ue=e=>e;var Yt=(...e)=>e.reduce((t,a)=>o=>a(t(o)));var na=(e,t,a)=>{let o=t-e;return o?(a-e)/o:1};var ka=class{constructor(){this.subscriptions=[]}add(t){return ir(this.subscriptions,t),()=>Io(this.subscriptions,t)}notify(t,a,o){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,a,o);else for(let l=0;l<r;l++){let n=this.subscriptions[l];n&&n(t,a,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var Se=e=>e*1e3,Ue=e=>e/1e3;var di=(e,t)=>t?e*(1e3/t):0;var nC=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,L1=1e-7,S1=12;function C1(e,t,a,o,r){let l,n,i=0;do n=t+(a-t)/2,l=nC(n,o,r)-e,l>0?a=n:t=n;while(Math.abs(l)>L1&&++i<S1);return n}function bo(e,t,a,o){if(e===t&&a===o)return ue;let r=l=>C1(l,0,1,e,a);return l=>l===0||l===1?l:nC(r(l),t,o)}var ju=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Xu=e=>t=>1-e(1-t);var Yu=bo(.33,1.53,.69,.99),wl=Xu(Yu),ci=ju(wl);var mi=e=>e>=1?1:(e*=2)<1?.5*wl(e):.5*(2-Math.pow(2,-10*(e-1)));var pi=e=>1-Math.sin(Math.acos(e)),hi=Xu(pi),gi=ju(pi);var vp=bo(.42,0,1,1),Ip=bo(0,0,.58,1),xi=bo(.42,0,.58,1);var bp=e=>Array.isArray(e)&&typeof e[0]!="number";var yi=e=>Array.isArray(e)&&typeof e[0]=="number";var iC={linear:ue,easeIn:vp,easeInOut:xi,easeOut:Ip,circIn:pi,circInOut:gi,circOut:hi,backIn:wl,backInOut:ci,backOut:Yu,anticipate:mi},v1=e=>typeof e=="string",Ku=e=>{if(yi(e)){st(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,a,o,r]=e;return bo(t,a,o,r)}else if(v1(e))return st(iC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),iC[e];return e};var Li=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function sC(e){let t=new Set,a=new Set,o=!1,r=!1,l=new WeakSet,n={delta:0,timestamp:0,isProcessing:!1};function i(u){l.has(u)&&(s.schedule(u),e()),u(n)}let s={schedule:(u,f=!1,d=!1)=>{let h=d&&o?t:a;return f&&l.add(u),h.add(u),u},cancel:u=>{a.delete(u),l.delete(u)},process:u=>{if(n=u,o){r=!0;return}o=!0;let f=t;t=a,a=f,t.forEach(i),t.clear(),o=!1,r&&(r=!1,s.process(u))}};return s}var I1=40;function Zu(e,t){let a=!1,o=!0,r={delta:0,timestamp:0,isProcessing:!1},l=()=>a=!0,n=Li.reduce((g,y)=>(g[y]=sC(l),g),{}),{setup:i,read:s,resolveKeyframes:u,preUpdate:f,update:d,preRender:c,render:h,postRender:x}=n,L=()=>{let g=Je.useManualTiming,y=g?r.timestamp:performance.now();a=!1,g||(r.delta=o?1e3/60:Math.max(Math.min(y-r.timestamp,I1),1)),r.timestamp=y,r.isProcessing=!0,i.process(r),s.process(r),u.process(r),f.process(r),d.process(r),c.process(r),h.process(r),x.process(r),r.isProcessing=!1,a&&t&&(o=!1,e(L))},S=()=>{a=!0,o=!0,r.isProcessing||e(L)};return{schedule:Li.reduce((g,y)=>{let I=n[y];return g[y]=(T,C=!1,v=!1)=>(a||S(),I.schedule(T,C,v)),g},{}),cancel:g=>{for(let y=0;y<Li.length;y++)n[Li[y]].cancel(g)},state:r,steps:n}}var{schedule:k,cancel:ut,state:he,steps:Si}=Zu(typeof requestAnimationFrame<"u"?requestAnimationFrame:ue,!0);var Qu;function b1(){Qu=void 0}var fe={now:()=>(Qu===void 0&&fe.set(he.isProcessing||Je.useManualTiming?he.timestamp:performance.now()),Qu),set:e=>{Qu=e,queueMicrotask(b1)}};var uC=e=>t=>typeof t=="string"&&t.startsWith(e),Wu=uC("--"),A1=uC("var(--"),Dl=e=>A1(e)?T1.test(e.split("/*")[0].trim()):!1,T1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ap(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}var ia={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Pa={...ia,transform:e=>Re(0,1,e)},Ci={...ia,default:1};var Ao=e=>Math.round(e*1e5)/1e5;var Bl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function fC(e){return e==null}var dC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Rl=(e,t)=>a=>!!(typeof a=="string"&&dC.test(a)&&a.startsWith(e)||t&&!fC(a)&&Object.prototype.hasOwnProperty.call(a,t)),Ju=(e,t,a)=>o=>{if(typeof o!="string")return o;let[r,l,n,i]=o.match(Bl);return{[e]:parseFloat(r),[t]:parseFloat(l),[a]:parseFloat(n),alpha:i!==void 0?parseFloat(i):1}};var M1=e=>Re(0,255,e),Tp={...ia,transform:e=>Math.round(M1(e))},sa={test:Rl("rgb","red"),parse:Ju("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:o=1})=>"rgba("+Tp.transform(e)+", "+Tp.transform(t)+", "+Tp.transform(a)+", "+Ao(Pa.transform(o))+")"};function w1(e){let t="",a="",o="",r="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,a+=a,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}}var vi={test:Rl("#"),parse:w1,transform:sa.transform};var Ii=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ut=Ii("deg"),_e=Ii("%"),w=Ii("px"),Mp=Ii("vh"),wp=Ii("vw"),$u={..._e,parse:e=>_e.parse(e)/100,transform:e=>_e.transform(e*100)};var To={test:Rl("hsl","hue"),parse:Ju("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:o=1})=>"hsla("+Math.round(e)+", "+_e.transform(Ao(t))+", "+_e.transform(Ao(a))+", "+Ao(Pa.transform(o))+")"};var ie={test:e=>sa.test(e)||vi.test(e)||To.test(e),parse:e=>sa.test(e)?sa.parse(e):To.test(e)?To.parse(e):vi.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?sa.transform(e):To.transform(e),getAnimatableNone:e=>{let t=ie.parse(e);return t.alpha=0,ie.transform(t)}};var cC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function D1(e){return isNaN(e)&&typeof e=="string"&&(e.match(Bl)?.length||0)+(e.match(cC)?.length||0)>0}var pC="number",hC="color",B1="var",R1="var(",mC="${}",E1=/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 Mo(e){let t=e.toString(),a=[],o={color:[],number:[],var:[]},r=[],l=0,i=t.replace(E1,s=>(ie.test(s)?(o.color.push(l),r.push(hC),a.push(ie.parse(s))):s.startsWith(R1)?(o.var.push(l),r.push(B1),a.push(s)):(o.number.push(l),r.push(pC),a.push(parseFloat(s))),++l,mC)).split(mC);return{values:a,split:i,indexes:o,types:r}}function O1(e){return Mo(e).values}function gC({split:e,types:t}){let a=e.length;return o=>{let r="";for(let l=0;l<a;l++)if(r+=e[l],o[l]!==void 0){let n=t[l];n===pC?r+=Ao(o[l]):n===hC?r+=ie.transform(o[l]):r+=o[l]}return r}}function k1(e){return gC(Mo(e))}var P1=e=>typeof e=="number"?0:ie.test(e)?ie.getAnimatableNone(e):e,V1=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:P1(e);function U1(e){let t=Mo(e);return gC(t)(t.values.map((o,r)=>V1(o,t.split[r])))}var Ee={test:D1,parse:O1,createTransformer:k1,getAnimatableNone:U1};function Dp(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function xC({hue:e,saturation:t,lightness:a,alpha:o}){e/=360,t/=100,a/=100;let r=0,l=0,n=0;if(!t)r=l=n=a;else{let i=a<.5?a*(1+t):a+t-a*t,s=2*a-i;r=Dp(s,i,e+1/3),l=Dp(s,i,e),n=Dp(s,i,e-1/3)}return{red:Math.round(r*255),green:Math.round(l*255),blue:Math.round(n*255),alpha:o}}function El(e,t){return a=>a>0?t:e}var P=(e,t,a)=>e+(t-e)*a;var Bp=(e,t,a)=>{let o=e*e,r=a*(t*t-o)+o;return r<0?0:Math.sqrt(r)},z1=[vi,sa,To],q1=e=>z1.find(t=>t.test(e));function yC(e){let t=q1(e);if(Oa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let a=t.parse(e);return t===To&&(a=xC(a)),a}var Rp=(e,t)=>{let a=yC(e),o=yC(t);if(!a||!o)return El(e,t);let r={...a};return l=>(r.red=Bp(a.red,o.red,l),r.green=Bp(a.green,o.green,l),r.blue=Bp(a.blue,o.blue,l),r.alpha=P(a.alpha,o.alpha,l),sa.transform(r))};var ef=new Set(["none","hidden"]);function LC(e,t){return ef.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function F1(e,t){return a=>P(e,t,a)}function tf(e){return typeof e=="number"?F1:typeof e=="string"?Dl(e)?El:ie.test(e)?Rp:G1:Array.isArray(e)?SC:typeof e=="object"?ie.test(e)?Rp:H1:El}function SC(e,t){let a=[...e],o=a.length,r=e.map((l,n)=>tf(l)(l,t[n]));return l=>{for(let n=0;n<o;n++)a[n]=r[n](l);return a}}function H1(e,t){let a={...e,...t},o={};for(let r in a)e[r]!==void 0&&t[r]!==void 0&&(o[r]=tf(e[r])(e[r],t[r]));return r=>{for(let l in o)a[l]=o[l](r);return a}}function N1(e,t){let a=[],o={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let l=t.types[r],n=e.indexes[l][o[l]],i=e.values[n]??0;a[r]=i,o[l]++}return a}var G1=(e,t)=>{let a=Ee.createTransformer(t),o=Mo(e),r=Mo(t);return o.indexes.var.length===r.indexes.var.length&&o.indexes.color.length===r.indexes.color.length&&o.indexes.number.length>=r.indexes.number.length?ef.has(e)&&!r.values.length||ef.has(t)&&!o.values.length?LC(e,t):Yt(SC(N1(o,r),r.values),a):(Oa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),El(e,t))};function af(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?P(e,t,a):tf(e)(e,t)}var CC=e=>{let t=({timestamp:a})=>e(a);return{start:(a=!0)=>k.update(t,a),stop:()=>ut(t),now:()=>he.isProcessing?he.timestamp:fe.now()}};var of=(e,t,a=10)=>{let o="",r=Math.max(Math.round(t/a),2);for(let l=0;l<r;l++)o+=Math.round(e(l/(r-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`};function Ol(e){let t=0,a=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=a,o=e.next(t);return t>=2e4?1/0:t}function vC(e,t=100,a){let o=a({...e,keyframes:[0,t]}),r=Math.min(Ol(o),2e4);return{type:"keyframes",ease:l=>o.next(r*l).value/t,duration:Ue(r)}}var de={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function kp(e,t){return e*Math.sqrt(1-t*t)}var _1=12;function j1(e,t,a){let o=a;for(let r=1;r<_1;r++)o=o-e(o)/t(o);return o}var Op=.001;function X1({duration:e=de.duration,bounce:t=de.bounce,velocity:a=de.velocity,mass:o=de.mass}){let r,l;Oa(e<=Se(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let n=1-t;n=Re(de.minDamping,de.maxDamping,n),e=Re(de.minDuration,de.maxDuration,Ue(e)),n<1?(r=u=>{let f=u*n,d=f*e,c=f-a,h=kp(u,n),x=Math.exp(-d);return Op-c/h*x},l=u=>{let d=u*n*e,c=d*a+a,h=Math.pow(n,2)*Math.pow(u,2)*e,x=Math.exp(-d),L=kp(Math.pow(u,2),n);return(-r(u)+Op>0?-1:1)*((c-h)*x)/L}):(r=u=>{let f=Math.exp(-u*e),d=(u-a)*e+1;return-Op+f*d},l=u=>{let f=Math.exp(-u*e),d=(a-u)*(e*e);return f*d});let i=5/e,s=j1(r,l,i);if(e=Se(e),isNaN(s))return{stiffness:de.stiffness,damping:de.damping,duration:e};{let u=Math.pow(s,2)*o;return{stiffness:u,damping:n*2*Math.sqrt(o*u),duration:e}}}var Y1=["duration","bounce"],K1=["stiffness","damping","mass"];function IC(e,t){return t.some(a=>e[a]!==void 0)}function Z1(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!IC(e,K1)&&IC(e,Y1))if(t.velocity=0,e.visualDuration){let a=e.visualDuration,o=2*Math.PI/(a*1.2),r=o*o,l=2*Re(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:de.mass,stiffness:r,damping:l}}else{let a=X1({...e,velocity:0});t={...t,...a,mass:de.mass},t.isResolvedFromDuration=!0}return t}function kl(e=de.visualDuration,t=de.bounce){let a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:o,restDelta:r}=a,l=a.keyframes[0],n=a.keyframes[a.keyframes.length-1],i={done:!1,value:l},{stiffness:s,damping:u,mass:f,duration:d,velocity:c,isResolvedFromDuration:h}=Z1({...a,velocity:-Ue(a.velocity||0)}),x=c||0,L=u/(2*Math.sqrt(s*f)),S=n-l,p=Ue(Math.sqrt(s/f)),m=Math.abs(S)<5;o||(o=m?de.restSpeed.granular:de.restSpeed.default),r||(r=m?de.restDelta.granular:de.restDelta.default);let g,y,I,T,C,v;if(L<1)I=kp(p,L),T=(x+L*p*S)/I,g=A=>{let B=Math.exp(-L*p*A);return n-B*(T*Math.sin(I*A)+S*Math.cos(I*A))},C=L*p*T+S*I,v=L*p*S-T*I,y=A=>Math.exp(-L*p*A)*(C*Math.sin(I*A)+v*Math.cos(I*A));else if(L===1){g=B=>n-Math.exp(-p*B)*(S+(x+p*S)*B);let A=x+p*S;y=B=>Math.exp(-p*B)*(p*A*B-x)}else{let A=p*Math.sqrt(L*L-1);g=Me=>{let Ye=Math.exp(-L*p*Me),Ke=Math.min(A*Me,300);return n-Ye*((x+L*p*S)*Math.sinh(Ke)+A*S*Math.cosh(Ke))/A};let B=(x+L*p*S)/A,ee=L*p*B-S*A,J=L*p*S-B*A;y=Me=>{let Ye=Math.exp(-L*p*Me),Ke=Math.min(A*Me,300);return Ye*(ee*Math.sinh(Ke)+J*Math.cosh(Ke))}}let M={calculatedDuration:h&&d||null,velocity:A=>Se(y(A)),next:A=>{if(!h&&L<1){let ee=Math.exp(-L*p*A),J=Math.sin(I*A),Me=Math.cos(I*A),Ye=n-ee*(T*J+S*Me),Ke=Se(ee*(C*J+v*Me));return i.done=Math.abs(Ke)<=o&&Math.abs(n-Ye)<=r,i.value=i.done?n:Ye,i}let B=g(A);if(h)i.done=A>=d;else{let ee=Se(y(A));i.done=Math.abs(ee)<=o&&Math.abs(n-B)<=r}return i.value=i.done?n:B,i},toString:()=>{let A=Math.min(Ol(M),2e4),B=of(ee=>M.next(A*ee).value,A,30);return A+"ms "+B},toTransition:()=>{}};return M}kl.applyToOptions=e=>{let t=vC(e,100,kl);return e.ease=t.ease,e.duration=Se(t.duration),e.type="keyframes",e};var Q1=5;function rf(e,t,a){let o=Math.max(t-Q1,0);return di(a-e(o),t-o)}function bi({keyframes:e,velocity:t=0,power:a=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:l=500,modifyTarget:n,min:i,max:s,restDelta:u=.5,restSpeed:f}){let d=e[0],c={done:!1,value:d},h=v=>i!==void 0&&v<i||s!==void 0&&v>s,x=v=>i===void 0?s:s===void 0||Math.abs(i-v)<Math.abs(s-v)?i:s,L=a*t,S=d+L,p=n===void 0?S:n(S);p!==S&&(L=p-d);let m=v=>-L*Math.exp(-v/o),g=v=>p+m(v),y=v=>{let M=m(v),A=g(v);c.done=Math.abs(M)<=u,c.value=c.done?p:A},I,T,C=v=>{h(c.value)&&(I=v,T=kl({keyframes:[c.value,x(c.value)],velocity:rf(g,v,c.value),damping:r,stiffness:l,restDelta:u,restSpeed:f}))};return C(0),{calculatedDuration:null,next:v=>{let M=!1;return!T&&I===void 0&&(M=!0,y(v),C(v)),I!==void 0&&v>=I?T.next(v-I):(!M&&y(v),c)}}}function W1(e,t,a){let o=[],r=a||Je.mix||af,l=e.length-1;for(let n=0;n<l;n++){let i=r(e[n],e[n+1]);if(t){let s=Array.isArray(t)?t[n]||ue:t;i=Yt(s,i)}o.push(i)}return o}function bC(e,t,{clamp:a=!0,ease:o,mixer:r}={}){let l=e.length;if(st(l===t.length,"Both input and output ranges must be the same length","range-length"),l===1)return()=>t[0];if(l===2&&t[0]===t[1])return()=>t[1];let n=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());let i=W1(t,o,r),s=i.length,u=f=>{if(n&&f<e[0])return t[0];let d=0;if(s>1)for(;d<e.length-2&&!(f<e[d+1]);d++);let c=na(e[d],e[d+1],f);return i[d](c)};return a?f=>u(Re(e[0],e[l-1],f)):u}function AC(e,t){let a=e[e.length-1];for(let o=1;o<=t;o++){let r=na(0,t,o);e.push(P(a,1,r))}}function TC(e){let t=[0];return AC(t,e.length-1),t}function MC(e,t){return e.map(a=>a*t)}function J1(e,t){return e.map(()=>t||xi).splice(0,e.length-1)}function sr({duration:e=300,keyframes:t,times:a,ease:o="easeInOut"}){let r=bp(o)?o.map(Ku):Ku(o),l={done:!1,value:t[0]},n=MC(a&&a.length===t.length?a:TC(t),e),i=bC(n,t,{ease:Array.isArray(r)?r:J1(t,r)});return{calculatedDuration:e,next:s=>(l.value=i(s),l.done=s>=e,l)}}var $1=e=>e!==null;function wo(e,{repeat:t,repeatType:a="loop"},o,r=1){let l=e.filter($1),i=r<0||t&&a!=="loop"&&t%2===1?0:l.length-1;return!i||o===void 0?l[i]:o}var eM={decay:bi,inertia:bi,tween:sr,keyframes:sr,spring:kl};function lf(e){typeof e.type=="string"&&(e.type=eM[e.type])}var Do=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}};var tM=e=>e/100,Va=class extends Do{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:a}=this.options;a&&a.updatedAt!==fe.now()&&this.tick(fe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;lf(t);let{type:a=sr,repeat:o=0,repeatDelay:r=0,repeatType:l,velocity:n=0}=t,{keyframes:i}=t,s=a||sr;s!==sr&&typeof i[0]!="number"&&(this.mixKeyframes=Yt(tM,af(i[0],i[1])),i=[0,100]);let u=s({...t,keyframes:i});l==="mirror"&&(this.mirroredGenerator=s({...t,keyframes:[...i].reverse(),velocity:-n})),u.calculatedDuration===null&&(u.calculatedDuration=Ol(u));let{calculatedDuration:f}=u;this.calculatedDuration=f,this.resolvedDuration=f+r,this.totalDuration=this.resolvedDuration*(o+1)-r,this.generator=u}updateTime(t){let a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){let{generator:o,totalDuration:r,mixKeyframes:l,mirroredGenerator:n,resolvedDuration:i,calculatedDuration:s}=this;if(this.startTime===null)return o.next(0);let{delay:u=0,keyframes:f,repeat:d,repeatType:c,repeatDelay:h,type:x,onUpdate:L,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);let p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?p<0:p>r;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let g=this.currentTime,y=o;if(d){let v=Math.min(this.currentTime,r)/i,M=Math.floor(v),A=v%1;!A&&v>=1&&(A=1),A===1&&M--,M=Math.min(M,d+1),M%2&&(c==="reverse"?(A=1-A,h&&(A-=h/i)):c==="mirror"&&(y=n)),g=Re(0,1,A)*i}let I;m?(this.delayState.value=f[0],I=this.delayState):I=y.next(g),l&&!m&&(I.value=l(I.value));let{done:T}=I;!m&&s!==null&&(T=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return C&&x!==bi&&(I.value=wo(f,this.options,S,this.speed)),L&&L(I.value),C&&this.finish(),I}then(t,a){return this.finished.then(t,a)}get duration(){return Ue(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ue(t)}get time(){return Ue(this.currentTime)}set time(t){t=Se(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let a=this.generator.next(t).value;return rf(o=>this.generator.next(o).value,t,a)}get speed(){return this.playbackSpeed}set speed(t){let a=this.playbackSpeed!==t;a&&this.driver&&this.updateTime(fe.now()),this.playbackSpeed=t,a&&this.driver&&(this.time=Ue(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=CC,startTime:a}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),this.options.onPlay?.();let o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=a??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(fe.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(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function wC(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var ur=e=>e*180/Math.PI,Pp=e=>{let t=ur(Math.atan2(e[1],e[0]));return Vp(t)},aM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Pp,rotateZ:Pp,skewX:e=>ur(Math.atan(e[1])),skewY:e=>ur(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Vp=e=>(e=e%360,e<0&&(e+=360),e),DC=Pp,BC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),RC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),oM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:BC,scaleY:RC,scale:e=>(BC(e)+RC(e))/2,rotateX:e=>Vp(ur(Math.atan2(e[6],e[5]))),rotateY:e=>Vp(ur(Math.atan2(-e[2],e[0]))),rotateZ:DC,rotate:DC,skewX:e=>ur(Math.atan(e[4])),skewY:e=>ur(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function nf(e){return e.includes("scale")?1:0}function sf(e,t){if(!e||e==="none")return nf(t);let a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),o,r;if(a)o=oM,r=a;else{let i=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=aM,r=i}if(!r)return nf(t);let l=o[t],n=r[1].split(",").map(rM);return typeof l=="function"?l(n):n[l]}var EC=(e,t)=>{let{transform:a="none"}=getComputedStyle(e);return sf(a,t)};function rM(e){return parseFloat(e.trim())}var ua=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],zt=new Set([...ua,"pathRotation"]);var Up=e=>e===ia||e===w,lM=new Set(["x","y","z"]),nM=ua.filter(e=>!lM.has(e));function OC(e){let t=[];return nM.forEach(a=>{let o=e.getValue(a);o!==void 0&&(t.push([a,o.get()]),o.set(a.startsWith("scale")?1:0))}),t}var Ua={width:({x:e},{paddingLeft:t="0",paddingRight:a="0",boxSizing:o})=>{let r=e.max-e.min;return o==="border-box"?r:r-parseFloat(t)-parseFloat(a)},height:({y:e},{paddingTop:t="0",paddingBottom:a="0",boxSizing:o})=>{let r=e.max-e.min;return o==="border-box"?r:r-parseFloat(t)-parseFloat(a)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>sf(t,"x"),y:(e,{transform:t})=>sf(t,"y")};Ua.translateX=Ua.x;Ua.translateY=Ua.y;var fr=new Set,zp=!1,qp=!1,Fp=!1;function kC(){if(qp){let e=Array.from(fr).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),a=new Map;t.forEach(o=>{let r=OC(o);r.length&&(a.set(o,r),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();let r=a.get(o);r&&r.forEach(([l,n])=>{o.getValue(l)?.set(n)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}qp=!1,zp=!1,fr.forEach(e=>e.complete(Fp)),fr.clear()}function PC(){fr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(qp=!0)})}function VC(){Fp=!0,PC(),kC(),Fp=!1}var Bo=class{constructor(t,a,o,r,l,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=o,this.motionValue=r,this.element=l,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(fr.add(this),zp||(zp=!0,k.read(PC),k.resolveKeyframes(kC))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:a,element:o,motionValue:r}=this;if(t[0]===null){let l=r?.get(),n=t[t.length-1];if(l!==void 0)t[0]=l;else if(o&&a){let i=o.readValue(a,n);i!=null&&(t[0]=i)}t[0]===void 0&&(t[0]=n),r&&l===void 0&&r.set(t[0])}wC(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),fr.delete(this)}cancel(){this.state==="scheduled"&&(fr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var UC=e=>e.startsWith("--");function uf(e,t,a){UC(t)?e.style.setProperty(t,a):e.style[t]=a}var zC={};function ff(e,t){let a=fi(e);return()=>zC[t]??a()}var qC=ff(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var df=ff(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var dr=([e,t,a,o])=>`cubic-bezier(${e}, ${t}, ${a}, ${o})`;var Hp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:dr([0,.65,.55,1]),circOut:dr([.55,0,1,.45]),backIn:dr([.31,.01,.66,-.59]),backOut:dr([.33,1.53,.69,.99])};function Np(e,t){if(e)return typeof e=="function"?df()?of(e,t):"ease-out":yi(e)?dr(e):Array.isArray(e)?e.map(a=>Np(a,t)||Hp.easeOut):Hp[e]}function FC(e,t,a,{delay:o=0,duration:r=300,repeat:l=0,repeatType:n="loop",ease:i="easeOut",times:s}={},u=void 0){let f={[t]:a};s&&(f.offset=s);let d=Np(i,r);Array.isArray(d)&&(f.easing=d);let c={delay:o,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:l+1,direction:n==="reverse"?"alternate":"normal"};return u&&(c.pseudoElement=u),e.animate(f,c)}function cf(e){return typeof e=="function"&&"applyToOptions"in e}function HC({type:e,...t}){return cf(e)&&df()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var Pl=class extends Do{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:a,name:o,keyframes:r,pseudoElement:l,allowFlatten:n=!1,finalKeyframe:i,onComplete:s}=t;this.isPseudoElement=!!l,this.allowFlatten=n,this.options=t,st(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=HC(t);this.animation=FC(a,o,r,u,l),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!l){let f=wo(r,this.options,i,this.speed);this.updateMotionValue&&this.updateMotionValue(f),uf(a,o,f),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Ue(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+Ue(t)}get time(){return Ue(Number(this.animation.currentTime)||0)}set time(t){let a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Se(t),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:a,rangeEnd:o,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&qC()?(this.animation.timeline=t,a&&(this.animation.rangeStart=a),o&&(this.animation.rangeEnd=o),ue):r(this)}};var NC={anticipate:mi,backInOut:ci,circInOut:gi};function iM(e){return e in NC}function GC(e){typeof e.ease=="string"&&iM(e.ease)&&(e.ease=NC[e.ease])}var Gp=10,mf=class extends Pl{constructor(t){GC(t),lf(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:a,onUpdate:o,onComplete:r,element:l,...n}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}let i=new Va({...n,autoplay:!1}),s=Math.max(Gp,fe.now()-this.startTime),u=Re(0,Gp,s-Gp),f=i.sample(s).value,{name:d}=this.options;l&&d&&uf(l,d,f),a.setWithVelocity(i.sample(Math.max(0,s-u)).value,f,u),i.stop()}};var _p=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ee.test(e)||e==="0")&&!e.startsWith("url("));function sM(e){let t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function _C(e,t,a,o){let r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;let l=e[e.length-1],n=_p(r,t),i=_p(l,t);return Oa(n===i,`You are trying to animate ${t} from "${r}" to "${l}". "${n?l:r}" is not an animatable value.`,"value-not-animatable"),!n||!i?!1:sM(e)||(a==="spring"||cf(a))&&o}function Ai(e){e.duration=0,e.type="keyframes"}var pf=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);var uM=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function jC(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&uM.test(e[t]))return!0;return!1}var fM=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),dM=fi(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function XC(e){let{motionValue:t,name:a,repeatDelay:o,repeatType:r,damping:l,type:n,keyframes:i}=e,s=t?.owner?.current;if(!(s instanceof HTMLElement)&&!(s instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:f}=t.owner.getProps();return dM()&&a&&(pf.has(a)||fM.has(a)&&jC(i))&&(a!=="transform"||!f)&&!u&&!o&&r!=="mirror"&&l!==0&&n!=="inertia"}var cM=40,hf=class extends Do{constructor({autoplay:t=!0,delay:a=0,type:o="keyframes",repeat:r=0,repeatDelay:l=0,repeatType:n="loop",keyframes:i,name:s,motionValue:u,element:f,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=fe.now();let c={autoplay:t,delay:a,type:o,repeat:r,repeatDelay:l,repeatType:n,name:s,motionValue:u,element:f,...d},h=f?.KeyframeResolver||Bo;this.keyframeResolver=new h(i,(x,L,S)=>this.onKeyframesResolved(x,L,c,!S),s,u,f),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,a,o,r){this.keyframeResolver=void 0;let{name:l,type:n,velocity:i,delay:s,isHandoff:u,onUpdate:f}=o;this.resolvedAt=fe.now();let d=!0;_C(t,l,n,i)||(d=!1,(Je.instantAnimations||!s)&&f?.(wo(t,o,a)),t[0]=t[t.length-1],Ai(o),o.repeat=0);let h={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>cM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:t},x=d&&!u&&XC(h),L=h.motionValue?.owner?.current,S;if(x)try{S=new mf({...h,element:L})}catch{S=new Va(h)}else S=new Va(h);S.finished.then(()=>{this.notifyFinished()}).catch(ue),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),VC()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function gf(e,t,a,o=0,r=1){let l=Array.from(e).sort((u,f)=>u.sortNodePosition(f)).indexOf(t),n=e.size,i=(n-1)*o;return typeof a=="function"?a(l,n):r===1?l*o:i-l*o}var YC=30,mM=e=>!isNaN(parseFloat(e)),KC={current:void 0},jp=class{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{let r=fe.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let l of this.dependents)l.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=fe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=mM(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new ka);let o=this.events[t].add(a);return t==="change"?()=>{o(),k.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,a,o){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return KC.current&&KC.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=fe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>YC)return 0;let a=Math.min(this.updatedAt-this.prevUpdatedAt,YC);return di(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Kt(e,t){return new jp(e,t)}function xf(e,t){if(e?.inherit&&t){let{inherit:a,...o}=e;return{...t,...o}}return e}function Vl(e,t){let a=e?.[t]??e?.default??e;return a!==e?xf(a,e):a}var pM={type:"spring",stiffness:500,damping:25,restSpeed:10},hM=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),gM={type:"keyframes",duration:.8},xM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ZC=(e,{keyframes:t})=>t.length>2?gM:zt.has(e)?e.startsWith("scale")?hM(t[1]):pM:xM;var yM=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function QC(e){for(let t in e)if(!yM.has(t))return!0;return!1}var cr=(e,t,a,o={},r,l)=>n=>{let i=Vl(o,e)||{},s=i.delay||o.delay||0,{elapsed:u=0}=o;u=u-Se(s);let f={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...i,delay:-u,onUpdate:c=>{t.set(c),i.onUpdate&&i.onUpdate(c)},onComplete:()=>{n(),i.onComplete&&i.onComplete()},name:e,motionValue:t,element:l?void 0:r};QC(i)||Object.assign(f,ZC(e,f)),f.duration&&(f.duration=Se(f.duration)),f.repeatDelay&&(f.repeatDelay=Se(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let d=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(Ai(f),f.delay===0&&(d=!0)),(Je.instantAnimations||Je.skipAnimations||r?.shouldSkipAnimations||i.skipAnimations)&&(d=!0,Ai(f),f.delay=0),f.allowFlatten=!i.type&&!i.ease,d&&!l&&t.get()!==void 0){let c=wo(f.keyframes,i);if(c!==void 0){k.update(()=>{f.onUpdate(c),f.onComplete()});return}}return i.isSync?new Va(f):new hf(f)};var LM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function SM(e){let t=LM.exec(e);if(!t)return[,];let[,a,o,r]=t;return[`--${a??o}`,r]}var CM=4;function Xp(e,t,a=1){st(a<=CM,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[o,r]=SM(e);if(!o)return;let l=window.getComputedStyle(t).getPropertyValue(o);if(l){let n=l.trim();return ii(n)?parseFloat(n):n}return Dl(r)?Xp(r,t,a+1):r}function WC(e){let t=[{},{}];return e?.values.forEach((a,o)=>{t[0][o]=a.get(),t[1][o]=a.getVelocity()}),t}function mr(e,t,a,o){if(typeof t=="function"){let[r,l]=WC(o);t=t(a!==void 0?a:e.custom,r,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[r,l]=WC(o);t=t(a!==void 0?a:e.custom,r,l)}return t}function vt(e,t,a){let o=e.getProps();return mr(o,t,a!==void 0?a:o.custom,e)}var yf=new Set(["width","height","top","left","right","bottom",...ua]);var Ti=e=>Array.isArray(e);function vM(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,Kt(a))}function IM(e){return Ti(e)?e[e.length-1]||0:e}function JC(e,t){let a=vt(e,t),{transitionEnd:o={},transition:r={},...l}=a||{};l={...l,...o};for(let n in l){let i=IM(l[n]);vM(e,n,i)}}var Y=e=>!!(e&&e.getVelocity);function $C(e){return!!(Y(e)&&e.add)}function Ul(e,t){let a=e.getValue("willChange");if($C(a))return a.add(t);if(!a&&Je.WillChange){let o=new Je.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function zl(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}var ev="framerAppearId",Mi="data-"+zl(ev);function Lf(e){return e.props[Mi]}var bM=typeof window<"u";function AM({protectedKeys:e,needsAnimating:t},a){let o=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,o}function Sf(e,t,{delay:a=0,transitionOverride:o,type:r}={}){let{transition:l,transitionEnd:n,...i}=t,s=e.getDefaultTransition();l=l?xf(l,s):s;let u=l?.reduceMotion,f=l?.skipAnimations;o&&(l=o);let d=[],c=r&&e.animationState&&e.animationState.getState()[r],h=l?.path;h&&h.animateVisualElement(e,i,l,a,d);for(let x in i){let L=e.getValue(x,e.latestValues[x]??null),S=i[x];if(S===void 0||c&&AM(c,x))continue;let p={delay:a,...Vl(l||{},x)};f&&(p.skipAnimations=!0);let m=L.get();if(m!==void 0&&!L.isAnimating()&&!Array.isArray(S)&&S===m&&!p.velocity){k.update(()=>L.set(S));continue}let g=!1;if(bM&&window.MotionHandoffAnimation){let T=Lf(e);if(T){let C=window.MotionHandoffAnimation(T,x,k);C!==null&&(p.startTime=C,g=!0)}}Ul(e,x);let y=u??e.shouldReduceMotion;L.start(cr(x,L,S,y&&yf.has(x)?{type:!1}:p,e,g));let I=L.animation;I&&d.push(I)}if(n){let x=()=>k.update(()=>{n&&JC(e,n)});d.length?Promise.all(d).then(x):x()}return d}function Cf(e,t,a={}){let o=vt(e,t,a.type==="exit"?e.presenceContext?.custom:void 0),{transition:r=e.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(r=a.transitionOverride);let l=o?()=>Promise.all(Sf(e,o,a)):()=>Promise.resolve(),n=e.variantChildren&&e.variantChildren.size?(s=0)=>{let{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=r;return TM(e,t,s,u,f,d,a)}:()=>Promise.resolve(),{when:i}=r;if(i){let[s,u]=i==="beforeChildren"?[l,n]:[n,l];return s().then(()=>u())}else return Promise.all([l(),n(a.delay)])}function TM(e,t,a=0,o=0,r=0,l=1,n){let i=[];for(let s of e.variantChildren)s.notify("AnimationStart",t),i.push(Cf(s,t,{...n,delay:a+(typeof o=="function"?0:o)+gf(e.variantChildren,s,o,r,l)}).then(()=>s.notify("AnimationComplete",t)));return Promise.all(i)}function tv(e,t,a={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){let r=t.map(l=>Cf(e,l,a));o=Promise.all(r)}else if(typeof t=="string")o=Cf(e,t,a);else{let r=typeof t=="function"?vt(e,t,a.custom):t;o=Promise.all(Sf(e,r,a))}return o.then(()=>{e.notify("AnimationComplete",t)})}var av={test:e=>e==="auto",parse:e=>e};var vf=e=>t=>t.test(e);var Yp=[ia,w,_e,Ut,wp,Mp,av],Kp=e=>Yp.find(vf(e));function ov(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ui(e):!0}var MM=new Set(["brightness","contrast","saturate","opacity"]);function wM(e){let[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=a.match(Bl)||[];if(!o)return e;let r=a.replace(o,""),l=MM.has(t)?1:0;return o!==a&&(l*=100),t+"("+l+r+")"}var DM=/\b([a-z-]*)\(.*?\)/gu,wi={...Ee,getAnimatableNone:e=>{let t=e.match(DM);return t?t.map(wM).join(" "):e}};var Di={...Ee,getAnimatableNone:e=>{let t=Ee.parse(e);return Ee.createTransformer(e)(t.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}};var Zp={...ia,transform:Math.round};var rv={rotate:Ut,pathRotation:Ut,rotateX:Ut,rotateY:Ut,rotateZ:Ut,scale:Ci,scaleX:Ci,scaleY:Ci,scaleZ:Ci,skew:Ut,skewX:Ut,skewY:Ut,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:Pa,originX:$u,originY:$u,originZ:w};var pr={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,inset:w,insetBlock:w,insetBlockStart:w,insetBlockEnd:w,insetInline:w,insetInlineStart:w,insetInlineEnd:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,paddingBlock:w,paddingBlockStart:w,paddingBlockEnd:w,paddingInline:w,paddingInlineStart:w,paddingInlineEnd:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,marginBlock:w,marginBlockStart:w,marginBlockEnd:w,marginInline:w,marginInlineStart:w,marginInlineEnd:w,fontSize:w,backgroundPositionX:w,backgroundPositionY:w,...rv,zIndex:Zp,fillOpacity:Pa,strokeOpacity:Pa,numOctaves:Zp};var BM={...pr,color:ie,backgroundColor:ie,outlineColor:ie,fill:ie,stroke:ie,borderColor:ie,borderTopColor:ie,borderRightColor:ie,borderBottomColor:ie,borderLeftColor:ie,filter:wi,WebkitFilter:wi,mask:Di,WebkitMask:Di},If=e=>BM[e];var RM=new Set([wi,Di]);function bf(e,t){let a=If(e);return RM.has(a)||(a=Ee),a.getAnimatableNone?a.getAnimatableNone(t):void 0}var EM=new Set(["auto","none","0"]);function lv(e,t,a){let o=0,r;for(;o<e.length&&!r;){let l=e[o];typeof l=="string"&&!EM.has(l)&&Mo(l).values.length&&(r=e[o]),o++}if(r&&a)for(let l of t)e[l]=bf(a,r)}var Af=class extends Bo{constructor(t,a,o,r,l){super(t,a,o,r,l,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:a,name:o}=this;if(!a||!a.current)return;super.readKeyframes();for(let f=0;f<t.length;f++){let d=t[f];if(typeof d=="string"&&(d=d.trim(),Dl(d))){let c=Xp(d,a.current);c!==void 0&&(t[f]=c),f===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!yf.has(o)||t.length!==2)return;let[r,l]=t,n=Kp(r),i=Kp(l),s=Ap(r),u=Ap(l);if(s!==u&&Ua[o]){this.needsMeasurement=!0;return}if(n!==i)if(Up(n)&&Up(i))for(let f=0;f<t.length;f++){let d=t[f];typeof d=="string"&&(t[f]=parseFloat(d))}else Ua[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:a}=this,o=[];for(let r=0;r<t.length;r++)(t[r]===null||ov(t[r]))&&o.push(r);o.length&&lv(t,o,a)}measureInitialState(){let{element:t,unresolvedKeyframes:a,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ua[o](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;let r=a[a.length-1];r!==void 0&&t.getValue(o,r).jump(r,!1)}measureEndState(){let{element:t,name:a,unresolvedKeyframes:o}=this;if(!t||!t.current)return;let r=t.getValue(a);r&&r.jump(this.measuredOrigin,!1);let l=o.length-1,n=o[l];o[l]=Ua[a](t.measureViewportBox(),window.getComputedStyle(t.current)),n!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEach(([i,s])=>{t.getValue(i).set(s)}),this.resolveNoneKeyframes()}};var Bi=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function Tf(e,t,a){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);let r=a?.[e]??o.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(o=>o!=null)}var Ri=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function hr(e){return si(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}var{schedule:gr,cancel:OM}=Zu(queueMicrotask,!1);var qt={x:!1,y:!1};function Mf(){return qt.x||qt.y}function Qp(e){return e==="x"||e==="y"?qt[e]?null:(qt[e]=!0,()=>{qt[e]=!1}):qt.x||qt.y?null:(qt.x=qt.y=!0,()=>{qt.x=qt.y=!1})}function wf(e,t){let a=Tf(e),o=new AbortController,r={passive:!0,...t,signal:o.signal};return[a,r,()=>o.abort()]}function kM(e){return!(e.pointerType==="touch"||Mf())}function Wp(e,t,a={}){let[o,r,l]=wf(e,a);return o.forEach(n=>{let i=!1,s=!1,u,f=()=>{n.removeEventListener("pointerleave",x)},d=S=>{u&&(u(S),u=void 0),f()},c=S=>{i=!1,window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",c),s&&(s=!1,d(S))},h=()=>{i=!0,window.addEventListener("pointerup",c,r),window.addEventListener("pointercancel",c,r)},x=S=>{if(S.pointerType!=="touch"){if(i){s=!0;return}d(S)}},L=S=>{if(!kM(S))return;s=!1;let p=t(n,S);typeof p=="function"&&(u=p,n.addEventListener("pointerleave",x,r))};n.addEventListener("pointerenter",L,r),n.addEventListener("pointerdown",h,r)}),l}var Jp=(e,t)=>t?e===t?!0:Jp(e,t.parentElement):!1;var xr=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var PM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $p(e){return PM.has(e.tagName)||e.isContentEditable===!0}var VM=new Set(["INPUT","SELECT","TEXTAREA"]);function eh(e){return VM.has(e.tagName)||e.isContentEditable===!0}var ql=new WeakSet;function nv(e){return t=>{t.key==="Enter"&&e(t)}}function th(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var iv=(e,t)=>{let a=e.currentTarget;if(!a)return;let o=nv(()=>{if(ql.has(a))return;th(a,"down");let r=nv(()=>{th(a,"up")}),l=()=>th(a,"cancel");a.addEventListener("keyup",r,t),a.addEventListener("blur",l,t)});a.addEventListener("keydown",o,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",o),t)};function sv(e){return xr(e)&&!Mf()}var uv=new WeakSet;function ah(e,t,a={}){let[o,r,l]=wf(e,a),n=i=>{let s=i.currentTarget;if(!sv(i)||uv.has(i))return;ql.add(s),a.stopPropagation&&uv.add(i);let u=t(s,i),f={...r,capture:!0},d=(x,L)=>{window.removeEventListener("pointerup",c,f),window.removeEventListener("pointercancel",h,f),ql.has(s)&&ql.delete(s),sv(x)&&typeof u=="function"&&u(x,{success:L})},c=x=>{d(x,s===window||s===document||a.useGlobalTarget||Jp(s,x.target))},h=x=>{d(x,!1)};window.addEventListener("pointerup",c,f),window.addEventListener("pointercancel",h,f)};return o.forEach(i=>{(a.useGlobalTarget?window:i).addEventListener("pointerdown",n,r),hr(i)&&(i.addEventListener("focus",u=>iv(u,r)),!$p(i)&&!i.hasAttribute("tabindex")&&(i.tabIndex=0))}),l}function Fl(e){return si(e)&&"ownerSVGElement"in e}var Df=new WeakMap,Bf,fv=(e,t,a)=>(o,r)=>r&&r[0]?r[0][e+"Size"]:Fl(o)&&"getBBox"in o?o.getBBox()[t]:o[a],UM=fv("inline","width","offsetWidth"),zM=fv("block","height","offsetHeight");function qM({target:e,borderBoxSize:t}){Df.get(e)?.forEach(a=>{a(e,{get width(){return UM(e,t)},get height(){return zM(e,t)}})})}function FM(e){e.forEach(qM)}function HM(){typeof ResizeObserver>"u"||(Bf=new ResizeObserver(FM))}function dv(e,t){Bf||HM();let a=Tf(e);return a.forEach(o=>{let r=Df.get(o);r||(r=new Set,Df.set(o,r)),r.add(t),Bf?.observe(o)}),()=>{a.forEach(o=>{let r=Df.get(o);r?.delete(t),r?.size||Bf?.unobserve(o)})}}var Rf=new Set,Hl;function NM(){Hl=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Rf.forEach(t=>t(e))},window.addEventListener("resize",Hl)}function cv(e){return Rf.add(e),Hl||NM(),()=>{Rf.delete(e),!Rf.size&&typeof Hl=="function"&&(window.removeEventListener("resize",Hl),Hl=void 0)}}function Ef(e,t){return typeof e=="function"?cv(e):dv(e,t)}var yr={value:null,addProjectionMetrics:null};function mv(e){return Fl(e)&&e.tagName==="svg"}var GM=[...Yp,ie,Ee],pv=e=>GM.find(vf(e));var oh=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ro=()=>({x:oh(),y:oh()}),rh=()=>({min:0,max:0}),se=()=>({x:rh(),y:rh()});var hv=new WeakMap;function za(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function fa(e){return typeof e=="string"||Array.isArray(e)}var Of=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ei=["initial",...Of];function Eo(e){return za(e.animate)||Ei.some(t=>fa(e[t]))}function Oi(e){return!!(Eo(e)||e.variants)}function gv(e,t,a){for(let o in t){let r=t[o],l=a[o];if(Y(r))e.addValue(o,r);else if(Y(l))e.addValue(o,Kt(r,{owner:e}));else if(l!==r)if(e.hasValue(o)){let n=e.getValue(o);n.liveStyle===!0?n.jump(r):n.hasAnimated||n.set(r)}else{let n=e.getStaticValue(o);e.addValue(o,Kt(n!==void 0?n:r,{owner:e}))}}for(let o in a)t[o]===void 0&&e.removeValue(o);return t}var ki={current:null},kf={current:!1};var _M=typeof window<"u";function xv(){if(kf.current=!0,!!_M)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ki.current=e.matches;e.addEventListener("change",t),t()}else ki.current=!1}var yv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Pf={};function Vi(e){Pf=e}function lh(){return Pf}var Pi=class{scrapeMotionValuesFromProps(t,a,o){return{}}constructor({parent:t,props:a,presenceContext:o,reducedMotionConfig:r,skipAnimations:l,blockInitialAnimation:n,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Bo,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let h=fe.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,k.render(this.render,!1,!0))};let{latestValues:u,renderState:f}=i;this.latestValues=u,this.baseTarget={...u},this.initialValues=a.initial?{...u}:{},this.renderState=f,this.parent=t,this.props=a,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=l,this.options=s,this.blockInitialAnimation=!!n,this.isControllingVariants=Eo(a),this.isVariantNode=Oi(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:d,...c}=this.scrapeMotionValuesFromProps(a,{},this);for(let h in c){let x=c[h];u[h]!==void 0&&Y(x)&&x.set(u[h])}}mount(t){if(this.hasBeenMounted)for(let a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=t,hv.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,o)=>this.bindToMotionValue(o,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(kf.current||xv(),this.shouldReduceMotion=ki.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),ut(this.notifyUpdate),ut(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,a){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),a.accelerate&&pf.has(t)&&this.current instanceof HTMLElement){let{factory:n,keyframes:i,times:s,ease:u,duration:f}=a.accelerate,d=new Pl({element:this.current,name:t,keyframes:i,times:s,ease:u,duration:Se(f)}),c=n(d);this.valueSubscriptions.set(t,()=>{c(),d.cancel()});return}let o=zt.has(t);o&&this.onBindTransform&&this.onBindTransform();let r=a.on("change",n=>{this.latestValues[t]=n,this.props.onUpdate&&k.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),l;typeof window<"u"&&window.MotionCheckAppearSync&&(l=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{r(),l&&l()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Pf){let a=Pf[t];if(!a)continue;let{isEnabled:o,Feature:r}=a;if(!this.features[t]&&r&&o(this.props)&&(this.features[t]=new r(this)),this.features[t]){let l=this.features[t];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):se()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let o=0;o<yv.length;o++){let r=yv[o];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let l="on"+r,n=t[l];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=gv(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){let a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){let o=this.values.get(t);a!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);let a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&a!==void 0&&(o=Kt(a===null?void 0:a,{owner:this}),this.addValue(t,o)),o}readValue(t,a){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(ii(o)||ui(o))?o=parseFloat(o):!pv(o)&&Ee.test(a)&&(o=bf(t,a)),this.setBaseTarget(t,Y(o)?o.get():o)),Y(o)?o.get():o}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){let{initial:a}=this.props,o;if(typeof a=="string"||typeof a=="object"){let l=mr(this.props,a,this.presenceContext?.custom);l&&(o=l[t])}if(a&&o!==void 0)return o;let r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!Y(r)?r:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new ka),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}scheduleRenderMicrotask(){gr.render(this.render)}};var Nl=class extends Pi{constructor(){super(...arguments),this.KeyframeResolver=Af}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){let o=t.style;return o?o[a]:void 0}removeValueFromRenderState(t,{vars:a,style:o}){delete a[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Y(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}};var Oe=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function Ui({top:e,left:t,right:a,bottom:o}){return{x:{min:t,max:a},y:{min:e,max:o}}}function nh({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function ih(e,t){if(!t)return e;let a=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:o.y,right:o.x}}function sh(e){return e===void 0||e===1}function Vf({scale:e,scaleX:t,scaleY:a}){return!sh(e)||!sh(t)||!sh(a)}function qa(e){return Vf(e)||uh(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function uh(e){return Lv(e.x)||Lv(e.y)}function Lv(e){return e&&e!=="0%"}function zi(e,t,a){let o=e-a,r=t*o;return a+r}function Sv(e,t,a,o,r){return r!==void 0&&(e=zi(e,r,o)),zi(e,a,o)+t}function fh(e,t=0,a=1,o,r){e.min=Sv(e.min,t,a,o,r),e.max=Sv(e.max,t,a,o,r)}function dh(e,{x:t,y:a}){fh(e.x,t.translate,t.scale,t.originPoint),fh(e.y,a.translate,a.scale,a.originPoint)}var Cv=.999999999999,vv=1.0000000000001;function Av(e,t,a,o=!1){let r=a.length;if(!r)return;t.x=t.y=1;let l,n;for(let i=0;i<r;i++){l=a[i],n=l.projectionDelta;let{visualElement:s}=l.options;s&&s.props.style&&s.props.style.display==="contents"||(o&&l.options.layoutScroll&&l.scroll&&l!==l.root&&(Ft(e.x,-l.scroll.offset.x),Ft(e.y,-l.scroll.offset.y)),n&&(t.x*=n.x.scale,t.y*=n.y.scale,dh(e,n)),o&&qa(l.latestValues)&&qi(e,l.latestValues,l.layout?.layoutBox))}t.x<vv&&t.x>Cv&&(t.x=1),t.y<vv&&t.y>Cv&&(t.y=1)}function Ft(e,t){e.min+=t,e.max+=t}function Iv(e,t,a,o,r=.5){let l=P(e.min,e.max,r);fh(e,t,a,l,o)}function bv(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function qi(e,t,a){let o=a??e;Iv(e.x,bv(t.x,o.x),t.scaleX,t.scale,t.originX),Iv(e.y,bv(t.y,o.y),t.scaleY,t.scale,t.originY)}function Uf(e,t){return Ui(ih(e.getBoundingClientRect(),t))}function ch(e,t,a){let o=Uf(e,a),{scroll:r}=t;return r&&(Ft(o.x,r.offset.x),Ft(o.y,r.offset.y)),o}var jM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},XM=ua.length;function Tv(e,t,a){let o="",r=!0;for(let n=0;n<XM;n++){let i=ua[n],s=e[i];if(s===void 0)continue;let u=!0;if(typeof s=="number")u=s===(i.startsWith("scale")?1:0);else{let f=parseFloat(s);u=i.startsWith("scale")?f===1:f===0}if(!u||a){let f=Ri(s,pr[i]);if(!u){r=!1;let d=jM[i]||i;o+=`${d}(${f}) `}a&&(t[i]=f)}}let l=e.pathRotation;return l&&(r=!1,o+=`rotate(${Ri(l,pr.pathRotation)}) `),o=o.trim(),a?o=a(t,r?"":o):r&&(o="none"),o}function Lr(e,t,a){let{style:o,vars:r,transformOrigin:l}=e,n=!1,i=!1;for(let s in t){let u=t[s];if(zt.has(s)){n=!0;continue}else if(Wu(s)){r[s]=u;continue}else{let f=Ri(u,pr[s]);s.startsWith("origin")?(i=!0,l[s]=f):o[s]=f}}if(t.transform||(n||a?o.transform=Tv(t,e.transform,a):o.transform&&(o.transform="none")),i){let{originX:s="50%",originY:u="50%",originZ:f=0}=l;o.transformOrigin=`${s} ${u} ${f}`}}function zf(e,{style:t,vars:a},o,r){let l=e.style,n;for(n in t)l[n]=t[n];r?.applyProjectionStyles(l,o);for(n in a)l.setProperty(n,a[n])}function Mv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Gl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(w.test(e))e=parseFloat(e);else return e;let a=Mv(e,t.target.x),o=Mv(e,t.target.y);return`${a}% ${o}%`}};var wv={correct:(e,{treeScale:t,projectionDelta:a})=>{let o=e,r=Ee.parse(e);if(r.length>5)return o;let l=Ee.createTransformer(e),n=typeof r[0]!="number"?1:0,i=a.x.scale*t.x,s=a.y.scale*t.y;r[0+n]/=i,r[1+n]/=s;let u=P(i,s,.5);return typeof r[2+n]=="number"&&(r[2+n]/=u),typeof r[3+n]=="number"&&(r[3+n]/=u),l(r)}};var Fi={borderRadius:{...Gl,applyTo:[...Bi]},borderTopLeftRadius:Gl,borderTopRightRadius:Gl,borderBottomLeftRadius:Gl,borderBottomRightRadius:Gl,boxShadow:wv};function Hi(e,{layout:t,layoutId:a}){return zt.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!Fi[e]||e==="opacity")}function Sr(e,t,a){let o=e.style,r=t?.style,l={};if(!o)return l;for(let n in o)(Y(o[n])||r&&Y(r[n])||Hi(n,e)||a?.getValue(n)?.liveStyle!==void 0)&&(l[n]=o[n]);return l}function YM(e){return window.getComputedStyle(e)}var Ni=class extends Nl{constructor(){super(...arguments),this.type="html",this.renderInstance=zf}mount(t){st(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,a){if(zt.has(a))return this.projection?.isProjecting?nf(a):EC(t,a);{let o=YM(t),r=(Wu(a)?o.getPropertyValue(a):o[a])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:a}){return Uf(t,a)}build(t,a,o){Lr(t,a,o.transformTemplate)}scrapeMotionValuesFromProps(t,a,o){return Sr(t,a,o)}};var KM={offset:"stroke-dashoffset",array:"stroke-dasharray"},ZM={offset:"strokeDashoffset",array:"strokeDasharray"};function Dv(e,t,a=1,o=0,r=!0){e.pathLength=1;let l=r?KM:ZM;e[l.offset]=`${-o}`,e[l.array]=`${t} ${a}`}var mh=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Gi(e,{attrX:t,attrY:a,attrScale:o,pathLength:r,pathSpacing:l=1,pathOffset:n=0,...i},s,u,f){if(Lr(e,i,u),s){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:c}=e;for(let h of mh)d[h]!==void 0&&(c[h]=d[h],delete d[h]);(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=f?.transformBox??"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),a!==void 0&&(d.y=a),o!==void 0&&(d.scale=o),r!==void 0&&Dv(d,r,l,n,!1)}var qf=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"]);var _i=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Bv(e,t,a,o){zf(e,t,void 0,o);for(let r in t.attrs)e.setAttribute(qf.has(r)?r:zl(r),t.attrs[r])}function ji(e,t,a){let o=Sr(e,t,a);for(let r in e)if(Y(e[r])||Y(t[r])){let l=ua.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;o[l]=e[r]}return o}var Xi=class extends Nl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=se}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(zt.has(a)){let o=If(a);return o&&o.default||0}if(mh.includes(a)){let r=getComputedStyle(t)[a];if(typeof r=="string"&&r)return r.trim()}return a=qf.has(a)?a:zl(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,o){return ji(t,a,o)}build(t,a,o){Gi(t,a,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,a,o,r){Bv(t,a,o,r)}mount(t){this.isSVGTag=_i(t.tagName),super.mount(t)}};var QM=Ei.length;function ph(e){if(!e)return;if(!e.isControllingVariants){let a=e.parent?ph(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}let t={};for(let a=0;a<QM;a++){let o=Ei[a],r=e.props[o];(fa(r)||r===!1)&&(t[o]=r)}return t}function hh(e,t){if(!Array.isArray(t))return!1;let a=t.length;if(a!==e.length)return!1;for(let o=0;o<a;o++)if(t[o]!==e[o])return!1;return!0}var WM=[...Of].reverse(),JM=Of.length;function $M(e){return t=>Promise.all(t.map(({animation:a,options:o})=>tv(e,a,o)))}function gh(e){let t=$M(e),a=Rv(),o=!0,r=!1,l=u=>(f,d)=>{let c=vt(e,d,u==="exit"?e.presenceContext?.custom:void 0);if(c){let{transition:h,transitionEnd:x,...L}=c;f={...f,...L,...x}}return f};function n(u){t=u(e)}function i(u){let{props:f}=e,d=ph(e.parent)||{},c=[],h=new Set,x={},L=1/0;for(let p=0;p<JM;p++){let m=WM[p],g=a[m],y=f[m]!==void 0?f[m]:d[m],I=fa(y),T=m===u?g.isActive:null;T===!1&&(L=p);let C=y===d[m]&&y!==f[m]&&I;if(C&&(o||r)&&e.manuallyAnimateOnMount&&(C=!1),g.protectedKeys={...x},!g.isActive&&T===null||!y&&!g.prevProp||za(y)||typeof y=="boolean")continue;if(m==="exit"&&g.isActive&&T!==!0){g.prevResolvedValues&&(x={...x,...g.prevResolvedValues});continue}let v=Ev(g.prevProp,y),M=v||m===u&&g.isActive&&!C&&I||p>L&&I,A=!1,B=Array.isArray(y)?y:[y],ee=B.reduce(l(m),{});T===!1&&(ee={});let{prevResolvedValues:J={}}=g,Me={...J,...ee},Ye=ge=>{M=!0,h.has(ge)&&(A=!0,h.delete(ge)),g.needsAnimating[ge]=!0;let xe=e.getValue(ge);xe&&(xe.liveStyle=!1)};for(let ge in Me){let xe=ee[ge],we=J[ge];if(x.hasOwnProperty(ge))continue;let ft=!1;Ti(xe)&&Ti(we)?ft=!hh(xe,we)||v:ft=xe!==we,ft?xe!=null?Ye(ge):h.add(ge):xe!==void 0&&h.has(ge)?Ye(ge):g.protectedKeys[ge]=!0}g.prevProp=y,g.prevResolvedValues=ee,g.isActive&&(x={...x,...ee}),(o||r)&&e.blockInitialAnimation&&(M=!1);let Ke=C&&v;M&&(!Ke||A)&&c.push(...B.map(ge=>{let xe={type:m};if(typeof ge=="string"&&(o||r)&&!Ke&&e.manuallyAnimateOnMount&&e.parent){let{parent:we}=e,ft=vt(we,ge);if(we.enteringChildren&&ft){let{delayChildren:dt}=ft.transition||{};xe.delay=gf(we.enteringChildren,e,dt)}}return{animation:ge,options:xe}}))}if(h.size){let p={};if(typeof f.initial!="boolean"){let m=vt(e,Array.isArray(f.initial)?f.initial[0]:f.initial);m&&m.transition&&(p.transition=m.transition)}h.forEach(m=>{let g=e.getBaseTarget(m),y=e.getValue(m);y&&(y.liveStyle=!0),p[m]=g??null}),c.push({animation:p})}let S=!!c.length;return o&&(f.initial===!1||f.initial===f.animate)&&!e.manuallyAnimateOnMount&&(S=!1),o=!1,r=!1,S?t(c):Promise.resolve()}function s(u,f){if(a[u].isActive===f)return Promise.resolve();e.variantChildren?.forEach(c=>c.animationState?.setActive(u,f)),a[u].isActive=f;let d=i(u);for(let c in a)a[c].protectedKeys={};return d}return{animateChanges:i,setActive:s,setAnimateFunction:n,getState:()=>a,reset:()=>{a=Rv(),r=!0}}}function Ev(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!hh(t,e):!1}function Cr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Rv(){return{animate:Cr(!0),whileInView:Cr(),whileHover:Cr(),whileTap:Cr(),whileDrag:Cr(),whileFocus:Cr(),exit:Cr()}}function Ff(e,t){e.min=t.min,e.max=t.max}function Ht(e,t){Ff(e.x,t.x),Ff(e.y,t.y)}function xh(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Ov=1e-4,ew=1-Ov,tw=1+Ov,kv=.01,aw=0-kv,ow=0+kv;function Ae(e){return e.max-e.min}function Ch(e,t,a){return Math.abs(e-t)<=a}function yh(e,t,a,o=.5){e.origin=o,e.originPoint=P(t.min,t.max,e.origin),e.scale=Ae(a)/Ae(t),e.translate=P(a.min,a.max,e.origin)-e.originPoint,(e.scale>=ew&&e.scale<=tw||isNaN(e.scale))&&(e.scale=1),(e.translate>=aw&&e.translate<=ow||isNaN(e.translate))&&(e.translate=0)}function vr(e,t,a,o){yh(e.x,t.x,a.x,o?o.originX:void 0),yh(e.y,t.y,a.y,o?o.originY:void 0)}function Lh(e,t,a,o=0){let r=o?P(a.min,a.max,o):a.min;e.min=r+t.min,e.max=e.min+Ae(t)}function vh(e,t,a,o){Lh(e.x,t.x,a.x,o?.x),Lh(e.y,t.y,a.y,o?.y)}function Sh(e,t,a,o=0){let r=o?P(a.min,a.max,o):a.min;e.min=t.min-r,e.max=e.min+Ae(t)}function _l(e,t,a,o){Sh(e.x,t.x,a.x,o?.x),Sh(e.y,t.y,a.y,o?.y)}function Pv(e,t,a,o,r){return e-=t,e=zi(e,1/a,o),r!==void 0&&(e=zi(e,1/r,o)),e}function rw(e,t=0,a=1,o=.5,r,l=e,n=e){if(_e.test(t)&&(t=parseFloat(t),t=P(n.min,n.max,t/100)-n.min),typeof t!="number")return;let i=P(l.min,l.max,o);e===l&&(i-=t),e.min=Pv(e.min,t,a,i,r),e.max=Pv(e.max,t,a,i,r)}function Vv(e,t,[a,o,r],l,n){rw(e,t[a],t[o],t[r],t.scale,l,n)}var lw=["x","scaleX","originX"],nw=["y","scaleY","originY"];function Ih(e,t,a,o){Vv(e.x,t,lw,a?a.x:void 0,o?o.x:void 0),Vv(e.y,t,nw,a?a.y:void 0,o?o.y:void 0)}function Uv(e){return e.translate===0&&e.scale===1}function bh(e){return Uv(e.x)&&Uv(e.y)}function zv(e,t){return e.min===t.min&&e.max===t.max}function Fv(e,t){return zv(e.x,t.x)&&zv(e.y,t.y)}function qv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ah(e,t){return qv(e.x,t.x)&&qv(e.y,t.y)}function Th(e){return Ae(e.x)/Ae(e.y)}function Mh(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function It(e){return[e("x"),e("y")]}function Hv(e,t,a){let o="",r=e.x.translate/t.x,l=e.y.translate/t.y,n=a?.z||0;if((r||l||n)&&(o=`translate3d(${r}px, ${l}px, ${n}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),a){let{transformPerspective:u,rotate:f,pathRotation:d,rotateX:c,rotateY:h,skewX:x,skewY:L}=a;u&&(o=`perspective(${u}px) ${o}`),f&&(o+=`rotate(${f}deg) `),d&&(o+=`rotate(${d}deg) `),c&&(o+=`rotateX(${c}deg) `),h&&(o+=`rotateY(${h}deg) `),x&&(o+=`skewX(${x}deg) `),L&&(o+=`skewY(${L}deg) `)}let i=e.x.scale*t.x,s=e.y.scale*t.y;return(i!==1||s!==1)&&(o+=`scale(${i}, ${s})`),o||"none"}var iw=Bi.length,Nv=e=>typeof e=="string"?parseFloat(e):e,Gv=e=>typeof e=="number"||w.test(e);function jv(e,t,a,o,r,l){r?(e.opacity=P(0,a.opacity??1,sw(o)),e.opacityExit=P(t.opacity??1,0,uw(o))):l&&(e.opacity=P(t.opacity??1,a.opacity??1,o));for(let n=0;n<iw;n++){let i=Bi[n],s=_v(t,i),u=_v(a,i);if(s===void 0&&u===void 0)continue;s||(s=0),u||(u=0),s===0||u===0||Gv(s)===Gv(u)?(e[i]=Math.max(P(Nv(s),Nv(u),o),0),(_e.test(u)||_e.test(s))&&(e[i]+="%")):e[i]=u}(t.rotate||a.rotate)&&(e.rotate=P(t.rotate||0,a.rotate||0,o))}function _v(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var sw=Xv(0,.5,hi),uw=Xv(.5,.95,ue);function Xv(e,t,a){return o=>o<e?0:o>t?1:a(na(e,t,o))}function Yv(e,t,a){let o=Y(e)?e:Kt(e);return o.start(cr("",o,t,a)),o.animation}function da(e,t,a,o={passive:!0}){return e.addEventListener(t,a,o),()=>e.removeEventListener(t,a,o)}var Kv=(e,t)=>e.depth-t.depth;var Hf=class{constructor(){this.children=[],this.isDirty=!1}add(t){ir(this.children,t),this.isDirty=!0}remove(t){Io(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Kv),this.isDirty=!1,this.children.forEach(t)}};function Zv(e,t){let a=fe.now(),o=({timestamp:r})=>{let l=r-a;l>=t&&(ut(o),e(l-t))};return k.setup(o,!0),()=>ut(o)}function Ir(e){return Y(e)?e.get():e}var Nf=class{constructor(){this.members=[]}add(t){ir(this.members,t);for(let a=this.members.length-1;a>=0;a--){let o=this.members[a];if(o===t||o===this.lead||o===this.prevLead)continue;let r=o.instance;(!r||r.isConnected===!1)&&!o.snapshot&&(Io(this.members,o),o.unmount())}t.scheduleRender()}remove(t){if(Io(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){for(let a=this.members.indexOf(t)-1;a>=0;a--){let o=this.members[a];if(o.isPresent!==!1&&o.instance?.isConnected!==!1)return this.promote(o),!0}return!1}promote(t,a){let o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=o.options,{layoutDependency:l}=t.options;(r===void 0||r!==l)&&(t.resumeFrom=o,a&&(o.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}};var br={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var Ar={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},wh=["","X","Y","Z"],fw=1e3,dw=0;function Dh(e,t,a,o){let{latestValues:r}=t;r[e]&&(a[e]=r[e],t.setStaticValue(e,0),o&&(o[e]=0))}function r0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let a=Lf(t);if(window.MotionHasOptimisedAnimation(a,"transform")){let{layout:r,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",k,!(r||l))}let{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&r0(o)}function Gf({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(n={},i=t?.()){this.id=dw++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,yr.value&&(Ar.nodes=Ar.calculatedTargetDeltas=Ar.calculatedProjections=0),this.nodes.forEach(pw),this.nodes.forEach(Sw),this.nodes.forEach(Cw),this.nodes.forEach(hw),yr.addProjectionMetrics&&yr.addProjectionMetrics(Ar)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=n,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let s=0;s<this.path.length;s++)this.path[s].shouldResetTransform=!0;this.root===this&&(this.nodes=new Hf)}addEventListener(n,i){return this.eventHandlers.has(n)||this.eventHandlers.set(n,new ka),this.eventHandlers.get(n).add(i)}notifyListeners(n,...i){let s=this.eventHandlers.get(n);s&&s.notify(...i)}hasListeners(n){return this.eventHandlers.has(n)}mount(n){if(this.instance)return;this.isSVG=Fl(n)&&!mv(n),this.instance=n;let{layoutId:i,layout:s,visualElement:u}=this.options;if(u&&!u.current&&u.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),e){let f,d=0,c=()=>this.root.updateBlockedByResize=!1;k.read(()=>{d=window.innerWidth}),e(n,()=>{let h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,f&&f(),f=Zv(c,250),br.hasAnimatedSinceResize&&(br.hasAnimatedSinceResize=!1,this.nodes.forEach(Jv)))})}i&&this.root.registerSharedNode(i,this),this.options.animate!==!1&&u&&(i||s)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeLayoutChanged:c,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let x=this.options.transition||u.getDefaultTransition()||Tw,{onLayoutAnimationStart:L,onLayoutAnimationComplete:S}=u.getProps(),p=!this.targetLayout||!Ah(this.targetLayout,h),m=!d&&c;if(this.options.layoutRoot||this.resumeFrom||m||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let g={...Vl(x,"layout"),onPlay:L,onComplete:S};(u.shouldReduceMotion||this.options.layoutRoot)&&(g.delay=0,g.type=!1),this.startAnimation(g),this.setAnimationOrigin(f,m,g.path)}else d||Jv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let n=this.getStack();n&&n.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ut(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(vw),this.animationId++)}getTransformTemplate(){let{visualElement:n}=this.options;return n&&n.getProps().transformTemplate}willUpdate(n=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&r0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f<this.path.length;f++){let d=this.path[f];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}let{layoutId:i,layout:s}=this.options;if(i===void 0&&!s)return;let u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),n&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let s=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),s&&this.nodes.forEach(xw),this.nodes.forEach(Qv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Wv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(yw),this.nodes.forEach(Lw),this.nodes.forEach(cw),this.nodes.forEach(mw)):this.nodes.forEach(Wv),this.clearAllSnapshots();let i=fe.now();he.delta=Re(0,1e3/60,i-he.timestamp),he.timestamp=i,he.isProcessing=!0,Si.update.process(he),Si.preRender.process(he),Si.render.process(he),he.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,gr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gw),this.sharedNodes.forEach(Iw)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,k.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){k.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ae(this.snapshot.measuredBox.x)&&!Ae(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 s=0;s<this.path.length;s++)this.path[s].updateScroll();let n=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=se()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,n?n.layoutBox:void 0)}updateScroll(n="measure"){let i=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===n&&(i=!1),i&&this.instance){let s=o(this.instance);this.scroll={animationId:this.root.animationId,phase:n,isRoot:s,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:s}}}resetTransform(){if(!r)return;let n=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,i=this.projectionDelta&&!bh(this.projectionDelta),s=this.getTransformTemplate(),u=s?s(this.latestValues,""):void 0,f=u!==this.prevTransformTemplateValue;n&&this.instance&&(i||qa(this.latestValues)||f)&&(r(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(n=!0){let i=this.measurePageBox(),s=this.removeElementScroll(i);return n&&(s=this.removeTransform(s)),Mw(s),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:n}=this.options;if(!n)return se();let i=n.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ww))){let{scroll:u}=this.root;u&&(Ft(i.x,u.offset.x),Ft(i.y,u.offset.y))}return i}removeElementScroll(n){let i=se();if(Ht(i,n),this.scroll?.wasRoot)return i;for(let s=0;s<this.path.length;s++){let u=this.path[s],{scroll:f,options:d}=u;u!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Ht(i,n),Ft(i.x,f.offset.x),Ft(i.y,f.offset.y))}return i}applyTransform(n,i=!1,s){let u=s||se();Ht(u,n);for(let f=0;f<this.path.length;f++){let d=this.path[f];!i&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(Ft(u.x,-d.scroll.offset.x),Ft(u.y,-d.scroll.offset.y)),qa(d.latestValues)&&qi(u,d.latestValues,d.layout?.layoutBox)}return qa(this.latestValues)&&qi(u,this.latestValues,this.layout?.layoutBox),u}removeTransform(n){let i=se();Ht(i,n);for(let s=0;s<this.path.length;s++){let u=this.path[s];if(!qa(u.latestValues))continue;let f;u.instance&&(Vf(u.latestValues)&&u.updateSnapshot(),f=se(),Ht(f,u.measurePageBox())),Ih(i,u.latestValues,u.snapshot?.layoutBox,f)}return qa(this.latestValues)&&Ih(i,this.latestValues),i}setTargetDelta(n){this.targetDelta=n,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(n){this.options={...this.options,...n,crossfade:n.crossfade!==void 0?n.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!==he.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(n=!1){let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==i;if(!(n||s&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:f,layoutId:d}=this.options;if(!this.layout||!(f||d))return;this.resolvedRelativeTargetAt=he.timestamp;let c=this.getClosestProjectingParent();c&&this.linkedParentVersion!==c.layoutVersion&&!c.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&c&&c.layout?this.createRelativeTarget(c,this.layout.layoutBox,c.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=se(),this.targetWithTransforms=se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vh(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Ht(this.target,this.layout.layoutBox),dh(this.target,this.targetDelta)):Ht(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&c&&!!c.resumingFrom==!!this.resumingFrom&&!c.options.layoutScroll&&c.target&&this.animationProgress!==1?this.createRelativeTarget(c,this.target,c.target):this.relativeParent=this.relativeTarget=void 0),yr.value&&Ar.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Vf(this.parent.latestValues)||uh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(n,i,s){this.relativeParent=n,this.linkedParentVersion=n.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=se(),this.relativeTargetOrigin=se(),_l(this.relativeTargetOrigin,i,s,this.options.layoutAnchor||void 0),Ht(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let n=this.getLead(),i=!!this.resumingFrom||this!==n,s=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===he.timestamp&&(s=!1),s)return;let{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;Ht(this.layoutCorrected,this.layout.layoutBox);let d=this.treeScale.x,c=this.treeScale.y;Av(this.layoutCorrected,this.treeScale,this.path,i),n.layout&&!n.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(n.target=n.layout.layoutBox,n.targetWithTransforms=se());let{target:h}=n;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xh(this.prevProjectionDelta.x,this.projectionDelta.x),xh(this.prevProjectionDelta.y,this.projectionDelta.y)),vr(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==c||!Mh(this.projectionDelta.x,this.prevProjectionDelta.x)||!Mh(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),yr.value&&Ar.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(n=!0){if(this.options.visualElement?.scheduleRender(),n){let i=this.getStack();i&&i.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ro(),this.projectionDelta=Ro(),this.projectionDeltaWithTransform=Ro()}setAnimationOrigin(n,i=!1,s){let u=this.snapshot,f=u?u.latestValues:{},d={...this.latestValues},c=Ro();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let h=se(),x=u?u.source:void 0,L=this.layout?this.layout.source:void 0,S=x!==L,p=this.getStack(),m=!p||p.members.length<=1,g=!!(S&&!m&&this.options.crossfade===!0&&!this.path.some(Aw));this.animationProgress=0;let y,I=s?.interpolateProjection(n);this.mixTargetDelta=T=>{let C=T/1e3,v=I?.(C);v?(c.x.translate=v.x,c.x.scale=P(n.x.scale,1,C),c.x.origin=n.x.origin,c.x.originPoint=n.x.originPoint,c.y.translate=v.y,c.y.scale=P(n.y.scale,1,C),c.y.origin=n.y.origin,c.y.originPoint=n.y.originPoint):($v(c.x,n.x,C),$v(c.y,n.y,C)),this.setTargetDelta(c),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(_l(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),bw(this.relativeTarget,this.relativeTargetOrigin,h,C),y&&Fv(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=se()),Ht(y,this.relativeTarget)),S&&(this.animationValues=d,jv(d,f,this.latestValues,C,g,m)),v&&v.rotate!==void 0&&(this.animationValues||(this.animationValues=d),this.animationValues.pathRotation=v.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(n){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ut(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=k.update(()=>{br.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Kt(0)),this.motionValue.jump(0,!1),this.currentAnimation=Yv(this.motionValue,[0,1e3],{...n,velocity:0,isSync:!0,onUpdate:i=>{this.mixTargetDelta(i),n.onUpdate&&n.onUpdate(i)},onComplete:()=>{n.onComplete&&n.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);let n=this.getStack();n&&n.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fw),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let n=this.getLead(),{targetWithTransforms:i,target:s,layout:u,latestValues:f}=n;if(!(!i||!s||!u)){if(this!==n&&this.layout&&u&&l0(this.options.animationType,this.layout.layoutBox,u.layoutBox)){s=this.target||se();let d=Ae(this.layout.layoutBox.x);s.x.min=n.target.x.min,s.x.max=s.x.min+d;let c=Ae(this.layout.layoutBox.y);s.y.min=n.target.y.min,s.y.max=s.y.min+c}Ht(i,s),qi(i,f),vr(this.projectionDeltaWithTransform,this.layoutCorrected,i,f)}}registerSharedNode(n,i){this.sharedNodes.has(n)||this.sharedNodes.set(n,new Nf),this.sharedNodes.get(n).add(i);let u=i.options.initialPromotionConfig;i.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(i):void 0})}isLead(){let n=this.getStack();return n?n.lead===this:!0}getLead(){let{layoutId:n}=this.options;return n?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:n}=this.options;return n?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:n}=this.options;if(n)return this.root.sharedNodes.get(n)}promote({needsReset:n,transition:i,preserveFollowOpacity:s}={}){let u=this.getStack();u&&u.promote(this,s),n&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){let n=this.getStack();return n?n.relegate(this):!1}resetSkewAndRotation(){let{visualElement:n}=this.options;if(!n)return;let i=!1,{latestValues:s}=n;if((s.z||s.rotate||s.rotateX||s.rotateY||s.rotateZ||s.skewX||s.skewY)&&(i=!0),!i)return;let u={};s.z&&Dh("z",n,u,this.animationValues);for(let f=0;f<wh.length;f++)Dh(`rotate${wh[f]}`,n,u,this.animationValues),Dh(`skew${wh[f]}`,n,u,this.animationValues);n.render();for(let f in u)n.setStaticValue(f,u[f]),this.animationValues&&(this.animationValues[f]=u[f]);n.scheduleRender()}applyProjectionStyles(n,i){if(!this.instance||this.isSVG)return;if(!this.isVisible){n.visibility="hidden";return}let s=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,n.visibility="",n.opacity="",n.pointerEvents=Ir(i?.pointerEvents)||"",n.transform=s?s(this.latestValues,""):"none";return}let u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(n.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,n.pointerEvents=Ir(i?.pointerEvents)||""),this.hasProjected&&!qa(this.latestValues)&&(n.transform=s?s({},""):"none",this.hasProjected=!1);return}n.visibility="";let f=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=Hv(this.projectionDeltaWithTransform,this.treeScale,f);s&&(d=s(f,d)),n.transform=d;let{x:c,y:h}=this.projectionDelta;n.transformOrigin=`${c.origin*100}% ${h.origin*100}% 0`,u.animationValues?n.opacity=u===this?f.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:n.opacity=u===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(let x in Fi){if(f[x]===void 0)continue;let{correct:L,applyTo:S,isCSSVariable:p}=Fi[x],m=d==="none"?f[x]:L(f[x],u);if(S){let g=S.length;for(let y=0;y<g;y++)n[S[y]]=m}else p?this.options.visualElement.renderState.vars[x]=m:n[x]=m}this.options.layoutId&&(n.pointerEvents=u===this?Ir(i?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(n=>n.currentAnimation?.stop()),this.root.nodes.forEach(Qv),this.root.sharedNodes.clear()}}}function cw(e){e.updateLayout()}function mw(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:a,measuredBox:o}=e.layout,{animationType:r}=e.options,l=t.source!==e.layout.source;if(r==="size")It(f=>{let d=l?t.measuredBox[f]:t.layoutBox[f],c=Ae(d);d.min=a[f].min,d.max=d.min+c});else if(r==="x"||r==="y"){let f=r==="x"?"y":"x";Ff(l?t.measuredBox[f]:t.layoutBox[f],a[f])}else l0(r,t.layoutBox,a)&&It(f=>{let d=l?t.measuredBox[f]:t.layoutBox[f],c=Ae(a[f]);d.max=d.min+c,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+c)});let n=Ro();vr(n,a,t.layoutBox);let i=Ro();l?vr(i,e.applyTransform(o,!0),t.measuredBox):vr(i,a,t.layoutBox);let s=!bh(n),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:c}=f;if(d&&c){let h=e.options.layoutAnchor||void 0,x=se();_l(x,t.layoutBox,d.layoutBox,h);let L=se();_l(L,a,c.layoutBox,h),Ah(x,L)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=L,e.relativeTargetOrigin=x,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:i,layoutDelta:n,hasLayoutChanged:s,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function pw(e){yr.value&&Ar.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hw(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function gw(e){e.clearSnapshot()}function Qv(e){e.clearMeasurements()}function xw(e){e.isLayoutDirty=!0,e.updateLayout()}function Wv(e){e.isLayoutDirty=!1}function yw(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Lw(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Jv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Sw(e){e.resolveTargetDelta()}function Cw(e){e.calcProjection()}function vw(e){e.resetSkewAndRotation()}function Iw(e){e.removeLeadSnapshot()}function $v(e,t,a){e.translate=P(t.translate,0,a),e.scale=P(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function e0(e,t,a,o){e.min=P(t.min,a.min,o),e.max=P(t.max,a.max,o)}function bw(e,t,a,o){e0(e.x,t.x,a.x,o),e0(e.y,t.y,a.y,o)}function Aw(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Tw={duration:.45,ease:[.4,0,.1,1]},t0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),a0=t0("applewebkit/")&&!t0("chrome/")?Math.round:ue;function o0(e){e.min=a0(e.min),e.max=a0(e.max)}function Mw(e){o0(e.x),o0(e.y)}function l0(e,t,a){return e==="position"||e==="preserve-aspect"&&!Ch(Th(t),Th(a),.2)}function ww(e){return e!==e.root&&e.scroll?.wasRoot}var n0=Gf({attachResizeListener:(e,t)=>da(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var _f={current:void 0},Yi=Gf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_f.current){let e=new n0({});e.mount(window),e.setOptions({layoutScroll:!0}),_f.current=e}return _f.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var jf=V(F(),1),Fa=V(F(),1);var i0=V(F(),1),jl=(0,i0.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var u0=V(F(),1);function s0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Dw(...e){return t=>{let a=!1,o=e.map(r=>{let l=s0(r,t);return!a&&typeof l=="function"&&(a=!0),l});if(a)return()=>{for(let r=0;r<o.length;r++){let l=o[r];typeof l=="function"?l():s0(e[r],null)}}}}function f0(...e){return u0.useCallback(Dw(...e),e)}var Bh=class extends jf.Component{getSnapshotBeforeUpdate(t){let a=this.props.childRef.current;if(hr(a)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let o=a.offsetParent,r=hr(o)&&o.offsetWidth||0,l=hr(o)&&o.offsetHeight||0,n=getComputedStyle(a),i=this.props.sizeRef.current;i.height=parseFloat(n.height),i.width=parseFloat(n.width),i.top=a.offsetTop,i.left=a.offsetLeft,i.right=r-i.width-i.left,i.bottom=l-i.height-i.top,i.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function c0({children:e,isPresent:t,anchorX:a,anchorY:o,root:r,pop:l}){let n=(0,Fa.useId)(),i=(0,Fa.useRef)(null),s=(0,Fa.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=(0,Fa.useContext)(jl),f=l!==!1?e.props?.ref??e?.ref:void 0,d=f0(i,f);return(0,Fa.useInsertionEffect)(()=>{let{width:c,height:h,top:x,left:L,right:S,bottom:p,direction:m}=s.current;if(t||l===!1||!i.current||!c||!h)return;let g=m==="rtl",y=a==="left"?g?`right: ${S}`:`left: ${L}`:g?`left: ${L}`:`right: ${S}`,I=o==="bottom"?`bottom: ${p}`:`top: ${x}`;i.current.dataset.motionPopId=n;let T=document.createElement("style");u&&(T.nonce=u);let C=r??document.head;return C.appendChild(T),T.sheet&&T.sheet.insertRule(`
[data-motion-pop-id="${n}"] {
position: absolute !important;
width: ${c}px !important;
height: ${h}px !important;
${y}px !important;
${I}px !important;
}
`),()=>{i.current?.removeAttribute("data-motion-pop-id"),C.contains(T)&&C.removeChild(T)}},[t]),(0,d0.jsx)(Bh,{isPresent:t,childRef:i,sizeRef:s,pop:l,children:l===!1?e:jf.cloneElement(e,{ref:d})})}var p0=({children:e,initial:t,isPresent:a,onExitComplete:o,custom:r,presenceAffectsLayout:l,mode:n,anchorX:i,anchorY:s,root:u})=>{let f=Ml(Bw),d=(0,Oo.useId)(),c=(0,Oo.useRef)(a),h=(0,Oo.useRef)(o);nr(()=>{c.current=a,h.current=o});let x=!0,L=(0,Oo.useMemo)(()=>(x=!1,{id:d,initial:t,isPresent:a,custom:r,onExitComplete:S=>{f.set(S,!0);for(let p of f.values())if(!p)return;o&&o()},register:S=>(f.set(S,!1),()=>{f.delete(S),!c.current&&!f.size&&h.current?.()})}),[a,f,o]);return l&&x&&(L={...L}),(0,Oo.useMemo)(()=>{f.forEach((S,p)=>f.set(p,!1))},[a]),m0.useEffect(()=>{!a&&!f.size&&o&&o()},[a]),e=(0,Rh.jsx)(c0,{pop:n==="popLayout",isPresent:a,anchorX:i,anchorY:s,root:u,children:e}),(0,Rh.jsx)(vo.Provider,{value:L,children:e})};function Bw(){return new Map}var ko=V(F(),1);function Xf(e=!0){let t=(0,ko.useContext)(vo);if(t===null)return[!0,null];let{isPresent:a,onExitComplete:o,register:r}=t,l=(0,ko.useId)();(0,ko.useEffect)(()=>{if(e)return r(l)},[e]);let n=(0,ko.useCallback)(()=>e&&o&&o(l),[l,o,e]);return!a&&o?[!1,n]:[!0]}var Yf=V(F(),1),Ki=e=>e.key||"";function Eh(e){let t=[];return Yf.Children.forEach(e,a=>{(0,Yf.isValidElement)(a)&&t.push(a)}),t}var Oh=({children:e,custom:t,initial:a=!0,onExitComplete:o,presenceAffectsLayout:r=!0,mode:l="sync",propagate:n=!1,anchorX:i="left",anchorY:s="top",root:u})=>{let[f,d]=Xf(n),c=(0,Zt.useMemo)(()=>Eh(e),[e]),h=n&&!f?[]:c.map(Ki),x=(0,Zt.useRef)(!0),L=(0,Zt.useRef)(c),S=Ml(()=>new Map),p=(0,Zt.useRef)(new Set),[m,g]=(0,Zt.useState)(c),[y,I]=(0,Zt.useState)(c);nr(()=>{n&&!f&&!y.length&&d?.()},[f,n,y.length,d]),nr(()=>{x.current=!1,L.current=c;for(let v=0;v<y.length;v++){let M=Ki(y[v]);h.includes(M)?(S.delete(M),p.current.delete(M)):S.get(M)!==!0&&S.set(M,!1)}},[y,h.length,h.join("-")]);let T=[];if(c!==m){let v=[...c],M=0;for(let A of y){let B=h.indexOf(Ki(A));B===-1?(v.splice(M++,0,A),T.push(A)):M=B+T.length+1}return l==="wait"&&T.length&&(v=T),I(Eh(v)),g(c),null}let{forceRender:C}=(0,Zt.useContext)(Tl);return(0,Zi.jsx)(Zi.Fragment,{children:y.map(v=>{let M=Ki(v),A=n&&!f?!1:c===y||h.includes(M),B=()=>{if(p.current.has(M))return;if(S.has(M))p.current.add(M),S.set(M,!0);else return;let ee=!0;S.forEach(J=>{J||(ee=!1)}),ee&&(C?.(),I(L.current),n&&d?.(),o&&o())};return(0,Zi.jsx)(p0,{isPresent:A,initial:!x.current||a?void 0:!1,custom:t,presenceAffectsLayout:r,mode:l,root:u,onExitComplete:A?void 0:B,anchorX:i,anchorY:s,children:v},M)})})};var h0=V(F(),1),Kf=(0,h0.createContext)({strict:!1});var g0={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"]},x0=!1;function Rw(){if(x0)return;let e={};for(let t in g0)e[t]={isEnabled:a=>g0[t].some(o=>!!a[o])};Vi(e),x0=!0}function Zf(){return Rw(),lh()}function y0(e){let t=Zf();for(let a in e)t[a]={...t[a],...e[a]};Vi(t)}var ed=V(Al(),1);var Zl=V(F(),1);var L0=V(F(),1),Po=(0,L0.createContext)({});var Qf=V(F(),1);function S0(e,t){if(Eo(e)){let{initial:a,animate:o}=e;return{initial:a===!1||fa(a)?a:void 0,animate:fa(o)?o:void 0}}return e.inherit!==!1?t:{}}function v0(e){let{initial:t,animate:a}=S0(e,(0,Qf.useContext)(Po));return(0,Qf.useMemo)(()=>({initial:t,animate:a}),[C0(t),C0(a)])}function C0(e){return Array.isArray(e)?e.join(" "):e}var Kl=V(F(),1);var I0=V(F(),1);var Xl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function kh(e,t,a){for(let o in t)!Y(t[o])&&!Hi(o,a)&&(e[o]=t[o])}function Ew({transformTemplate:e},t){return(0,I0.useMemo)(()=>{let a=Xl();return Lr(a,t,e),Object.assign({},a.vars,a.style)},[t])}function Ow(e,t){let a=e.style||{},o={};return kh(o,a,e),Object.assign(o,Ew(e,t)),o}function b0(e,t){let a={},o=Ow(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=o,a}var A0=V(F(),1);var Wf=()=>({...Xl(),attrs:{}});function T0(e,t,a,o){let r=(0,A0.useMemo)(()=>{let l=Wf();return Gi(l,t,_i(o),e.transformTemplate,e.style),{...l.attrs,style:{...l.style}}},[t]);if(e.style){let l={};kh(l,e.style,e),r.style={...l,...r.style}}return r}var kw=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Qi(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||kw.has(e)}function Pw(e,t){return e.startsWith("on")?!Qi(e):t?.(e)??!Qi(e)}function M0(e,t,a,o){let r={};for(let l in e)l==="values"&&typeof e.values=="object"||Y(e[l])||(Pw(l,o)||a===!0&&Qi(l)||!t&&!Qi(l)||e.draggable&&l.startsWith("onDrag"))&&(r[l]=e[l]);return r}var w0=["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 Yl(e){return typeof e!="string"||e.includes("-")?!1:!!(w0.indexOf(e)>-1||/[A-Z]/u.test(e))}function D0(e,t,a,{latestValues:o},r,l=!1,n,i){let u=(n??Yl(e)?T0:b0)(t,o,r,e),f=M0(t,typeof e=="string",l,i),d=e!==Kl.Fragment?{...f,...u,ref:a}:{},{children:c}=t,h=(0,Kl.useMemo)(()=>Y(c)?c.get():c,[c]);return(0,Kl.createElement)(e,{...d,children:h})}var Ph=V(F(),1);function Vw({scrapeMotionValuesFromProps:e,createRenderState:t},a,o,r){return{latestValues:Uw(a,o,r,e),renderState:t()}}function Uw(e,t,a,o){let r={},l=o(e,{});for(let c in l)r[c]=Ir(l[c]);let{initial:n,animate:i}=e,s=Eo(e),u=Oi(e);t&&u&&!s&&e.inherit!==!1&&(n===void 0&&(n=t.initial),i===void 0&&(i=t.animate));let f=a?a.initial===!1:!1;f=f||n===!1;let d=f?i:n;if(d&&typeof d!="boolean"&&!za(d)){let c=Array.isArray(d)?d:[d];for(let h=0;h<c.length;h++){let x=mr(e,c[h]);if(x){let{transitionEnd:L,transition:S,...p}=x;for(let m in p){let g=p[m];if(Array.isArray(g)){let y=f?g.length-1:0;g=g[y]}g!==null&&(r[m]=g)}for(let m in L)r[m]=L[m]}}}return r}var Jf=e=>(t,a)=>{let o=(0,Ph.useContext)(Po),r=(0,Ph.useContext)(vo),l=()=>Vw(e,t,o,r);return a?l():Ml(l)};var B0=Jf({scrapeMotionValuesFromProps:Sr,createRenderState:Xl});var R0=Jf({scrapeMotionValuesFromProps:ji,createRenderState:Wf});var E0=Symbol.for("motionComponentSymbol");var Tr=V(F(),1);function O0(e,t,a){let o=(0,Tr.useRef)(a);(0,Tr.useInsertionEffect)(()=>{o.current=a});let r=(0,Tr.useRef)(null);return(0,Tr.useCallback)(l=>{l&&e.onMount?.(l),t&&(l?t.mount(l):t.unmount());let n=o.current;if(typeof n=="function")if(l){let i=n(l);typeof i=="function"&&(r.current=i)}else r.current?(r.current(),r.current=null):n(l);else n&&(n.current=l)},[t])}var $e=V(F(),1);var k0=V(F(),1),$f=(0,k0.createContext)({});function Vo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function P0(e,t,a,o,r,l){let{visualElement:n}=(0,$e.useContext)(Po),i=(0,$e.useContext)(Kf),s=(0,$e.useContext)(vo),u=(0,$e.useContext)(jl),f=u.reducedMotion,d=u.skipAnimations,c=(0,$e.useRef)(null),h=(0,$e.useRef)(!1);o=o||i.renderer,!c.current&&o&&(c.current=o(e,{visualState:t,parent:n,props:a,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:f,skipAnimations:d,isSVG:l}),h.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let x=c.current,L=(0,$e.useContext)($f);x&&!x.projection&&r&&(x.type==="html"||x.type==="svg")&&zw(c.current,a,r,L);let S=(0,$e.useRef)(!1);(0,$e.useInsertionEffect)(()=>{x&&S.current&&x.update(a,s)});let p=a[Mi],m=(0,$e.useRef)(!!p&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return nr(()=>{h.current=!0,x&&(S.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),m.current&&x.animationState&&x.animationState.animateChanges())}),(0,$e.useEffect)(()=>{x&&(!m.current&&x.animationState&&x.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),m.current=!1),x.enteringChildren=void 0)}),x}function zw(e,t,a,o){let{layoutId:r,layout:l,drag:n,dragConstraints:i,layoutScroll:s,layoutRoot:u,layoutAnchor:f,layoutCrossfade:d}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:V0(e.parent)),e.projection.setOptions({layoutId:r,layout:l,alwaysMeasureLayout:!!n||i&&Vo(i),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:o,crossfade:d,layoutScroll:s,layoutRoot:u,layoutAnchor:f})}function V0(e){if(e)return e.options.allowProjection!==!1?e.projection:V0(e.parent)}function td(e,{forwardMotionProps:t=!1,type:a}={},o,r){o&&y0(o);let l=a?a==="svg":Yl(e),n=l?R0:B0;function i(u,f){let d,c={...(0,Zl.useContext)(jl),...u,layoutId:qw(u)},{isStatic:h,isValidProp:x}=c,L=v0(u),S=n(u,h);if(!h&&typeof window<"u"){Fw(c,o);let p=Hw(c);d=p.MeasureLayout,L.visualElement=P0(e,S,c,r,p.ProjectionNode,l)}return(0,ed.jsxs)(Po.Provider,{value:L,children:[d&&L.visualElement?(0,ed.jsx)(d,{visualElement:L.visualElement,...c}):null,D0(e,u,O0(S,L.visualElement,f),S,h,t,l,x)]})}i.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;let s=(0,Zl.forwardRef)(i);return s[E0]=e,s}function qw({layoutId:e}){let t=(0,Zl.useContext)(Tl).id;return t&&e!==void 0?t+"-"+e:e}function Fw(e,t){let a=(0,Zl.useContext)(Kf).strict}function Hw(e){let t=Zf(),{drag:a,layout:o}=t;if(!a&&!o)return{};let r={...a,...o};return{MeasureLayout:a?.isEnabled(e)||o?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function U0(e,t){if(typeof Proxy>"u")return td;let a=new Map,o=(l,n)=>td(l,n,e,t),r=(l,n)=>o(l,n);return new Proxy(r,{get:(l,n)=>n==="create"?o:(a.has(n)||a.set(n,td(n,void 0,e,t)),a.get(n))})}var z0=V(F(),1);var q0=(e,t)=>t.isSVG??Yl(e)?new Xi(t):new Ni(t,{allowProjection:e!==z0.Fragment});var ad=class extends Oe{constructor(t){super(t),t.animationState||(t.animationState=gh(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();za(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};var Nw=0,od=class extends Oe{constructor(){super(...arguments),this.id=Nw++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;if(t&&o===!1){if(this.isExitComplete){let{initial:l,custom:n}=this.node.getProps();if(typeof l=="string"||typeof l=="object"&&l!==null&&!Array.isArray(l)){let i=vt(this.node,l,n);if(i){let{transition:s,transitionEnd:u,...f}=i;for(let d in f)this.node.getValue(d)?.jump(f[d])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!t);a&&!t&&r.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){let{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var F0={animation:{Feature:ad},exit:{Feature:od}};function Ha(e){return{point:{x:e.pageX,y:e.pageY}}}var H0=e=>t=>xr(t)&&e(t,Ha(t));function Uo(e,t,a,o){return da(e,t,H0(a),o)}var rd=({current:e})=>e?e.ownerDocument.defaultView:null;var N0=(e,t)=>Math.abs(e-t);function G0(e,t){let a=N0(e.x,t.x),o=N0(e.y,t.y);return Math.sqrt(a**2+o**2)}var _0=new Set(["auto","scroll"]),Ql=class{constructor(t,a,{transformPagePoint:o,contextWindow:r=window,dragSnapToOrigin:l=!1,distanceThreshold:n=3,element:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=x=>{this.handleScroll(x.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ld(this.lastRawMoveEventInfo,this.transformPagePoint));let x=Vh(this.lastMoveEventInfo,this.history),L=this.startEvent!==null,S=G0(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!L&&!S)return;let{point:p}=x,{timestamp:m}=he;this.history.push({...p,timestamp:m});let{onStart:g,onMove:y}=this.handlers;L||(g&&g(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,x)},this.handlePointerMove=(x,L)=>{this.lastMoveEvent=x,this.lastRawMoveEventInfo=L,this.lastMoveEventInfo=ld(L,this.transformPagePoint),k.update(this.updatePoint,!0)},this.handlePointerUp=(x,L)=>{this.end();let{onEnd:S,onSessionEnd:p,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let g=Vh(x.type==="pointercancel"?this.lastMoveEventInfo:ld(L,this.transformPagePoint),this.history);this.startEvent&&S&&S(x,g),p&&p(x,g)},!xr(t))return;this.dragSnapToOrigin=l,this.handlers=a,this.transformPagePoint=o,this.distanceThreshold=n,this.contextWindow=r||window;let s=Ha(t),u=ld(s,this.transformPagePoint),{point:f}=u,{timestamp:d}=he;this.history=[{...f,timestamp:d}];let{onSessionStart:c}=a;c&&c(t,Vh(u,this.history));let h={passive:!0,capture:!0};this.removeListeners=Yt(Uo(this.contextWindow,"pointermove",this.handlePointerMove,h),Uo(this.contextWindow,"pointerup",this.handlePointerUp,h),Uo(this.contextWindow,"pointercancel",this.handlePointerUp,h)),i&&this.startScrollTracking(i)}startScrollTracking(t){let a=t.parentElement;for(;a;){let o=getComputedStyle(a);(_0.has(o.overflowX)||_0.has(o.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let a=this.scrollPositions.get(t);if(!a)return;let o=t===window,r=o?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},l={x:r.x-a.x,y:r.y-a.y};l.x===0&&l.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=l.x,this.lastMoveEventInfo.point.y+=l.y):this.history.length>0&&(this.history[0].x-=l.x,this.history[0].y-=l.y),this.scrollPositions.set(t,r),k.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ut(this.updatePoint)}};function ld(e,t){return t?{point:t(e.point)}:e}function j0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vh({point:e},t){return{point:e,delta:j0(e,X0(t)),offset:j0(e,Gw(t)),velocity:_w(t,.1)}}function Gw(e){return e[0]}function X0(e){return e[e.length-1]}function _w(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,o=null,r=X0(e);for(;a>=0&&(o=e[a],!(r.timestamp-o.timestamp>Se(t)));)a--;if(!o)return{x:0,y:0};o===e[0]&&e.length>2&&r.timestamp-o.timestamp>Se(t)*2&&(o=e[1]);let l=Ue(r.timestamp-o.timestamp);if(l===0)return{x:0,y:0};let n={x:(r.x-o.x)/l,y:(r.y-o.y)/l};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}function W0(e,{min:t,max:a},o){return t!==void 0&&e<t?e=o?P(t,e,o.min):Math.max(e,t):a!==void 0&&e>a&&(e=o?P(a,e,o.max):Math.min(e,a)),e}function Y0(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function J0(e,{top:t,left:a,bottom:o,right:r}){return{x:Y0(e.x,a,r),y:Y0(e.y,t,o)}}function K0(e,t){let a=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,o]=[o,a]),{min:a,max:o}}function $0(e,t){return{x:K0(e.x,t.x),y:K0(e.y,t.y)}}function eI(e,t){let a=.5,o=Ae(e),r=Ae(t);return r>o?a=na(t.min,t.max-o,e.min):o>r&&(a=na(e.min,e.max-r,t.min)),Re(0,1,a)}function tI(e,t){let a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}var nd=.35;function aI(e=nd){return e===!1?e=0:e===!0&&(e=nd),{x:Z0(e,"left","right"),y:Z0(e,"top","bottom")}}function Z0(e,t,a){return{min:Q0(e,t),max:Q0(e,a)}}function Q0(e,t){return typeof e=="number"?e:e[t]||0}var jw=new WeakMap,sd=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=se(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:a=!1,distanceThreshold:o}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let l=d=>{a&&this.snapToCursor(Ha(d).point),this.stopAnimation()},n=(d,c)=>{let{drag:h,dragPropagation:x,onDragStart:L}=this.getProps();if(h&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Qp(h),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=c,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),It(p=>{let m=this.getAxisMotionValue(p).get()||0;if(_e.test(m)){let{projection:g}=this.visualElement;if(g&&g.layout){let y=g.layout.layoutBox[p];y&&(m=Ae(y)*(parseFloat(m)/100))}}this.originPoint[p]=m}),L&&k.update(()=>L(d,c),!1,!0),Ul(this.visualElement,"transform");let{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},i=(d,c)=>{this.latestPointerEvent=d,this.latestPanInfo=c;let{dragPropagation:h,dragDirectionLock:x,onDirectionLock:L,onDrag:S}=this.getProps();if(!h&&!this.openDragLock)return;let{offset:p}=c;if(x&&this.currentDirection===null){this.currentDirection=Yw(p),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",c.point,p),this.updateAxis("y",c.point,p),this.visualElement.render(),S&&k.update(()=>S(d,c),!1,!0)},s=(d,c)=>{this.latestPointerEvent=d,this.latestPanInfo=c,this.stop(d,c),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{let{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:f}=this.getProps();this.panSession=new Ql(t,{onSessionStart:l,onStart:n,onMove:i,onSessionEnd:s,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f,distanceThreshold:o,contextWindow:rd(this.visualElement),element:this.visualElement.current})}stop(t,a){let o=t||this.latestPointerEvent,r=a||this.latestPanInfo,l=this.isDragging;if(this.cancel(),!l||!r||!o)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&k.postRender(()=>i(o,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,a,o){let{drag:r}=this.getProps();if(!o||!id(t,r,this.currentDirection))return;let l=this.getAxisMotionValue(t),n=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(n=W0(n,this.constraints[t],this.elastic[t])),l.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:a}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&Vo(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=J0(o.layoutBox,t):this.constraints=!1,this.elastic=aI(a),r!==this.constraints&&!Vo(t)&&o&&this.constraints&&!this.hasMutatedConstraints&&It(l=>{this.constraints!==!1&&this.getAxisMotionValue(l)&&(this.constraints[l]=tI(o.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!Vo(t))return!1;let o=t.current;st(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let l=ch(o,r.root,this.visualElement.getTransformPagePoint()),n=$0(r.layout.layoutBox,l);if(a){let i=a(nh(n));this.hasMutatedConstraints=!!i,i&&(n=Ui(i))}return n}startAnimation(t){let{drag:a,dragMomentum:o,dragElastic:r,dragTransition:l,dragSnapToOrigin:n,onDragTransitionEnd:i}=this.getProps(),s=this.constraints||{},u=It(f=>{if(!id(f,a,this.currentDirection))return;let d=s&&s[f]||{};(n===!0||n===f)&&(d={min:0,max:0});let c=r?200:1e6,h=r?40:1e7,x={type:"inertia",velocity:o?t[f]:0,bounceStiffness:c,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...l,...d};return this.startAxisValueAnimation(f,x)});return Promise.all(u).then(i)}startAxisValueAnimation(t,a){let o=this.getAxisMotionValue(t);return Ul(this.visualElement,t),o.start(cr(t,o,0,a,this.visualElement,!1))}stopAnimation(){It(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let a=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps()[a];return r||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){It(a=>{let{drag:o}=this.getProps();if(!id(a,o,this.currentDirection))return;let{projection:r}=this.visualElement,l=this.getAxisMotionValue(a);if(r&&r.layout){let{min:n,max:i}=r.layout.layoutBox[a],s=l.get()||0;l.set(t[a]-P(n,i,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:a}=this.getProps(),{projection:o}=this.visualElement;if(!Vo(a)||!o||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};It(n=>{let i=this.getAxisMotionValue(n);if(i&&this.constraints!==!1){let s=i.get();r[n]=eI({min:s,max:s},this.constraints[n])}});let{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.constraints=!1,this.resolveConstraints(),It(n=>{if(!id(n,t,null))return;let i=this.getAxisMotionValue(n),{min:s,max:u}=this.constraints[n];i.set(P(s,u,r[n]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;jw.set(this.visualElement,this);let t=this.visualElement.current,a=Uo(t,"pointerdown",u=>{let{drag:f,dragListener:d=!0}=this.getProps(),c=u.target,h=c!==t&&eh(c);f&&d&&!h&&this.start(u)}),o,r=()=>{let{dragConstraints:u}=this.getProps();Vo(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),o||(o=Xw(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:l}=this.visualElement,n=l.addEventListener("measure",r);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),k.read(r);let i=da(window,"resize",()=>this.scalePositionWithinConstraints()),s=l.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:f})=>{this.isDragging&&f&&(It(d=>{let c=this.getAxisMotionValue(d);c&&(this.originPoint[d]+=u[d].translate,c.set(c.get()+u[d].translate))}),this.visualElement.render())}));return()=>{i(),a(),n(),s&&s(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:o=!1,dragPropagation:r=!1,dragConstraints:l=!1,dragElastic:n=nd,dragMomentum:i=!0}=t;return{...t,drag:a,dragDirectionLock:o,dragPropagation:r,dragConstraints:l,dragElastic:n,dragMomentum:i}}};function oI(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Xw(e,t,a){let o=Ef(e,oI(a)),r=Ef(t,oI(a));return()=>{o(),r()}}function id(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function Yw(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}var ud=class extends Oe{constructor(t){super(t),this.removeGroupControls=ue,this.removeListeners=ue,this.controls=new sd(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ue}update(){let{dragControls:t}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};t!==a&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}};var Uh=e=>(t,a)=>{e&&k.update(()=>e(t,a),!1,!0)},fd=class extends Oe{constructor(){super(...arguments),this.removePointerDownListener=ue}onPointerDown(t){this.session=new Ql(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rd(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:a,onPan:o,onPanEnd:r}=this.node.getProps();return{onSessionStart:Uh(t),onStart:Uh(a),onMove:Uh(o),onEnd:(l,n)=>{delete this.session,r&&k.postRender(()=>r(l,n))}}}mount(){this.removePointerDownListener=Uo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var rI=V(Al(),1);var Wi=V(F(),1);var zh=!1,qh=class extends Wi.Component{componentDidMount(){let{visualElement:t,layoutGroup:a,switchLayoutGroup:o,layoutId:r}=this.props,{projection:l}=t;l&&(a.group&&a.group.add(l),o&&o.register&&r&&o.register(l),zh&&l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),br.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:a,visualElement:o,drag:r,isPresent:l}=this.props,{projection:n}=o;return n&&(n.isPresent=l,t.layoutDependency!==a&&n.setOptions({...n.options,layoutDependency:a}),zh=!0,r||t.layoutDependency!==a||a===void 0||t.isPresent!==l?n.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?n.promote():n.relegate()||k.postRender(()=>{let i=n.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:a}=this.props,{projection:o}=t;o&&(o.options.layoutAnchor=a,o.root.didUpdate(),gr.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:a,switchLayoutGroup:o}=this.props,{projection:r}=t;zh=!0,r&&(r.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(r),o&&o.deregister&&o.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function dd(e){let[t,a]=Xf(),o=(0,Wi.useContext)(Tl);return(0,rI.jsx)(qh,{...e,layoutGroup:o,switchLayoutGroup:(0,Wi.useContext)($f),isPresent:t,safeToRemove:a})}var lI={pan:{Feature:fd},drag:{Feature:ud,ProjectionNode:Yi,MeasureLayout:dd}};function nI(e,t,a){let{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",a==="Start");let r="onHover"+a,l=o[r];l&&k.postRender(()=>l(t,Ha(t)))}var cd=class extends Oe{mount(){let{current:t}=this.node;t&&(this.unmount=Wp(t,(a,o)=>(nI(this.node,o,"Start"),r=>nI(this.node,r,"End"))))}unmount(){}};var md=class extends Oe{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=Yt(da(this.node.current,"focus",()=>this.onFocus()),da(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function iI(e,t,a){let{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",a==="Start");let r="onTap"+(a==="End"?"":a),l=o[r];l&&k.postRender(()=>l(t,Ha(t)))}var pd=class extends Oe{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:a,propagate:o}=this.node.props;this.unmount=ah(t,(r,l)=>(iI(this.node,l,"Start"),(n,{success:i})=>iI(this.node,n,i?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:o?.tap===!1})}unmount(){}};var Hh=new WeakMap,Fh=new WeakMap,Kw=e=>{let t=Hh.get(e.target);t&&t(e)},Zw=e=>{e.forEach(Kw)};function Qw({root:e,...t}){let a=e||document;Fh.has(a)||Fh.set(a,{});let o=Fh.get(a),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(Zw,{root:e,...t})),o[r]}function sI(e,t,a){let o=Qw(t);return Hh.set(e,a),o.observe(e),()=>{Hh.delete(e),o.unobserve(e)}}var Ww={some:0,all:1},hd=class extends Oe{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:a,margin:o,amount:r="some",once:l}=t,n={root:a?a.current:void 0,rootMargin:o,threshold:typeof r=="number"?r:Ww[r]},i=s=>{let{isIntersecting:u}=s;if(this.isInView===u||(this.isInView=u,l&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);let{onViewportEnter:f,onViewportLeave:d}=this.node.getProps(),c=u?f:d;c&&c(s)};this.stopObserver=sI(this.node.current,n,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:a}=this.node;["amount","margin","root"].some(Jw(t,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Jw({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}var uI={inView:{Feature:hd},tap:{Feature:pd},focus:{Feature:md},hover:{Feature:cd}};var fI={layout:{ProjectionNode:Yi,MeasureLayout:dd}};var dI={...F0,...uI,...lI,...fI};var Nh=U0(dI,q0);var Ji=Nh;var yd=V(F(),1);var gd=(...e)=>e.filter((t,a,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===a).join(" ").trim();var cI=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var mI=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,o)=>o?o.toUpperCase():a.toLowerCase());var Gh=e=>{let t=mI(e);return t.charAt(0).toUpperCase()+t.slice(1)};var $i=V(F(),1);var xd={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"};var pI=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};var Wl=V(F(),1);var eD=(0,Wl.createContext)({});var hI=()=>(0,Wl.useContext)(eD);var gI=(0,$i.forwardRef)(({color:e,size:t,strokeWidth:a,absoluteStrokeWidth:o,className:r="",children:l,iconNode:n,...i},s)=>{let{size:u=24,strokeWidth:f=2,absoluteStrokeWidth:d=!1,color:c="currentColor",className:h=""}=hI()??{},x=o??d?Number(a??f)*24/Number(t??u):a??f;return(0,$i.createElement)("svg",{ref:s,...xd,width:t??u??xd.width,height:t??u??xd.height,stroke:e??c,strokeWidth:x,className:gd("lucide",h,r),...!l&&!pI(i)&&{"aria-hidden":"true"},...i},[...n.map(([L,S])=>(0,$i.createElement)(L,S)),...Array.isArray(l)?l:[l]])});var Ld=(e,t)=>{let a=(0,yd.forwardRef)(({className:o,...r},l)=>(0,yd.createElement)(gI,{ref:l,iconNode:t,className:gd(`lucide-${cI(Gh(e))}`,`lucide-${e}`,o),...r}));return a.displayName=Gh(e),a};var tD=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],es=Ld("chevron-right",tD);var aD=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ts=Ld("chevron-left",aD);var _a=V(F());var W="-ms-",Mr="-moz-",N="-webkit-",Sd="comm",zo="rule",Jl="decl";var xI="@import";var yI="@namespace",Cd="@keyframes";var LI="@layer";var _h=Math.abs,as=String.fromCharCode,os=Object.assign;function SI(e,t){return ce(e,0)^45?(((t<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}function vd(e){return e.trim()}function Qt(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,a){return e.replace(t,a)}function $l(e,t,a){return e.indexOf(t,a)}function ce(e,t){return e.charCodeAt(t)|0}function Wt(e,t,a){return e.slice(t,a)}function je(e){return e.length}function Id(e){return e.length}function wr(e,t){return t.push(e),e}function CI(e,t){return e.map(t).join("")}function jh(e,t){return e.filter(function(a){return!Qt(a,t)})}var bd=1,en=1,vI=0,Nt=0,Te=0,an="";function rs(e,t,a,o,r,l,n,i){return{value:e,root:t,parent:a,type:o,props:r,children:l,line:bd,column:en,length:n,return:"",siblings:i}}function Na(e,t){return os(rs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Dr(e){for(;e.root;)e=Na(e.root,{children:[e]});wr(e,e.siblings)}function II(){return Te}function bI(){return Te=Nt>0?ce(an,--Nt):0,en--,Te===10&&(en=1,bd--),Te}function Gt(){return Te=Nt<vI?ce(an,Nt++):0,en++,Te===10&&(en=1,bd++),Te}function Ga(){return ce(an,Nt)}function ls(){return Nt}function Ad(e,t){return Wt(an,e,t)}function tn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function AI(e){return bd=en=1,vI=je(an=e),Nt=0,[]}function TI(e){return an="",e}function Td(e){return vd(Ad(Nt-1,Xh(e===91?e+2:e===40?e+1:e)))}function MI(e){for(;(Te=Ga())&&Te<33;)Gt();return tn(e)>2||tn(Te)>3?"":" "}function wI(e,t){for(;--t&&Gt()&&!(Te<48||Te>102||Te>57&&Te<65||Te>70&&Te<97););return Ad(e,ls()+(t<6&&Ga()==32&&Gt()==32))}function Xh(e){for(;Gt();)switch(Te){case e:return Nt;case 34:case 39:e!==34&&e!==39&&Xh(Te);break;case 40:e===41&&Xh(e);break;case 92:Gt();break}return Nt}function DI(e,t){for(;Gt()&&e+Te!==57;)if(e+Te===84&&Ga()===47)break;return"/*"+Ad(t,Nt-1)+"*"+as(e===47?e:Gt())}function BI(e){for(;!tn(Ga());)Gt();return Ad(e,Nt)}function OI(e){return TI(Md("",null,null,null,[""],e=AI(e),0,[0],e))}function Md(e,t,a,o,r,l,n,i,s){for(var u=0,f=0,d=n,c=0,h=0,x=0,L=1,S=1,p=1,m=0,g="",y=r,I=l,T=o,C=g;S;)switch(x=m,m=Gt()){case 40:if(x!=108&&ce(C,d-1)==58){$l(C+=E(Td(m),"&","&\f"),"&\f",_h(u?i[u-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:C+=Td(m);break;case 9:case 10:case 13:case 32:C+=MI(x);break;case 92:C+=wI(ls()-1,7);continue;case 47:switch(Ga()){case 42:case 47:wr(oD(DI(Gt(),ls()),t,a,s),s),(tn(x||1)==5||tn(Ga()||1)==5)&&je(C)&&Wt(C,-1,void 0)!==" "&&(C+=" ");break;default:C+="/"}break;case 123*L:i[u++]=je(C)*p;case 125*L:case 59:case 0:switch(m){case 0:case 125:S=0;case 59+f:p==-1&&(C=E(C,/\f/g,"")),h>0&&(je(C)-d||L===0&&x===47)&&wr(h>32?EI(C+";",o,a,d-1,s):EI(E(C," ","")+";",o,a,d-2,s),s);break;case 59:C+=";";default:if(wr(T=RI(C,t,a,u,f,r,i,g,y=[],I=[],d,l),l),m===123)if(f===0)Md(C,t,T,T,y,l,d,i,I);else{switch(c){case 99:if(ce(C,3)===110)break;case 108:if(ce(C,2)===97)break;default:f=0;case 100:case 109:case 115:}f?Md(e,T,T,o&&wr(RI(e,T,T,0,0,r,i,g,r,y=[],d,I),I),r,I,d,i,o?y:I):Md(C,T,T,T,[""],I,0,i,I)}}u=f=h=0,L=p=1,g=C="",d=n;break;case 58:d=1+je(C),h=x;default:if(L<1){if(m==123)--L;else if(m==125&&L++==0&&bI()==125)continue}switch(C+=as(m),m*L){case 38:p=f>0?1:(C+="\f",-1);break;case 44:i[u++]=(je(C)-1)*p,p=1;break;case 64:Ga()===45&&(C+=Td(Gt())),c=Ga(),f=d=je(g=C+=BI(ls())),m++;break;case 45:x===45&&je(C)==2&&(L=0)}}return l}function RI(e,t,a,o,r,l,n,i,s,u,f,d){for(var c=r-1,h=r===0?l:[""],x=Id(h),L=0,S=0,p=0;L<o;++L)for(var m=0,g=Wt(e,c+1,c=_h(S=n[L])),y=e;m<x;++m)(y=vd(S>0?h[m]+" "+g:E(g,/&\f/g,h[m])))&&(s[p++]=y);return rs(e,t,a,r===0?zo:i,s,u,f,d)}function oD(e,t,a,o){return rs(e,t,a,Sd,as(II()),Wt(e,2,-2),0,o)}function EI(e,t,a,o,r){return rs(e,t,a,Jl,Wt(e,0,o),Wt(e,o+1,-1),o,r)}function Yh(e,t,a){switch(SI(e,t)){case 5103:return N+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return N+e+e;case 4855:return N+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return Mr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+Mr+e+W+e+e;case 5936:switch(ce(e,t+11)){case 114:return N+e+W+E(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+W+E(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+W+E(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return N+e+W+e+e;case 6165:return N+e+W+"flex-"+e+e;case 5187:return N+e+E(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+W+"flex-$1$2")+e;case 5443:return N+e+W+"flex-item-"+E(e,/flex-|-self/g,"")+(Qt(e,/flex-|baseline/)?"":W+"grid-row-"+E(e,/flex-|-self/g,""))+e;case 4675:return N+e+W+"flex-line-pack"+E(e,/align-content|flex-|-self/g,"")+e;case 5548:return N+e+W+E(e,"shrink","negative")+e;case 5292:return N+e+W+E(e,"basis","preferred-size")+e;case 6060:return N+"box-"+E(e,"-grow","")+N+e+W+E(e,"grow","positive")+e;case 4554:return N+E(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return E(E(E(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+W+"flex-pack:$3"),/space-between/,"justify")+N+e+e;case 4200:if(!Qt(e,/flex-|baseline/))return W+"grid-column-align"+Wt(e,t)+e;break;case 2592:case 3360:return W+E(e,"template-","")+e;case 4384:case 3616:return a&&a.some(function(o,r){return t=r,Qt(o.props,/grid-\w+-end/)})?~$l(e+(a=a[t].value),"span",0)?e:W+E(e,"-start","")+e+W+"grid-row-span:"+(~$l(a,"span",0)?Qt(a,/\d+/):+Qt(a,/\d+/)-+Qt(e,/\d+/))+";":W+E(e,"-start","")+e;case 4896:case 4128:return a&&a.some(function(o){return Qt(o.props,/grid-\w+-start/)})?e:W+E(E(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,N+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(je(e)-1-t>6)switch(ce(e,t+1)){case 109:if(ce(e,t+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+Mr+(ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~$l(e,"stretch",0)?Yh(E(e,"stretch","fill-available"),t,a)+e:e}break;case 5152:case 5920:return E(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,r,l,n,i,s,u){return W+r+":"+l+u+(n?W+r+"-span:"+(i?s:+s-+l)+u:"")+e});case 4949:if(ce(e,t+6)===121)return E(e,":",":"+N)+e;break;case 6444:switch(ce(e,ce(e,14)===45?18:11)){case 120:return E(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+N+(ce(e,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+W+"$2box$3")+e;case 100:return E(e,":",":"+W)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return E(e,"scroll-","scroll-snap-")+e}return e}function on(e,t){for(var a="",o=0;o<e.length;o++)a+=t(e[o],o,e,t)||"";return a}function kI(e,t,a,o){switch(e.type){case LI:if(e.children.length)break;case xI:case yI:case Jl:return e.return=e.return||e.value;case Sd:return"";case Cd:return e.return=e.value+"{"+on(e.children,o)+"}";case zo:if(!je(e.value=e.props.join(",")))return""}return je(a=on(e.children,o))?e.return=e.value+"{"+a+"}":""}function PI(e){var t=Id(e);return function(a,o,r,l){for(var n="",i=0;i<t;i++)n+=e[i](a,o,r,l)||"";return n}}function VI(e){return function(t){t.root||(t=t.return)&&e(t)}}function UI(e,t,a,o){if(e.length>-1&&!e.return)switch(e.type){case Jl:e.return=Yh(e.value,e.length,a);return;case Cd:return on([Na(e,{value:E(e.value,"@","@"+N)})],o);case zo:if(e.length)return CI(a=e.props,function(r){switch(Qt(r,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Dr(Na(e,{props:[E(r,/:(read-\w+)/,":"+Mr+"$1")]})),Dr(Na(e,{props:[r]})),os(e,{props:jh(a,o)});break;case"::placeholder":Dr(Na(e,{props:[E(r,/:(plac\w+)/,":"+N+"input-$1")]})),Dr(Na(e,{props:[E(r,/:(plac\w+)/,":"+Mr+"$1")]})),Dr(Na(e,{props:[E(r,/:(plac\w+)/,W+"input-$1")]})),Dr(Na(e,{props:[r]})),os(e,{props:jh(a,o)});break}return""})}}var Kh,Zh,ja=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ZI="active",QI="data-styled-version",Od="6.5.3",lg=`/*!sc*/
`,ss=typeof window<"u"&&typeof document<"u";function zI(e){if(typeof process<"u"&&process.env!==void 0){let t=process.env[e];if(t!==void 0&&t!=="")return t!=="false"}}var rD=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:(Zh=(Kh=zI("REACT_APP_SC_DISABLE_SPEEDY"))!==null&&Kh!==void 0?Kh:zI("SC_DISABLE_SPEEDY"))!==null&&Zh!==void 0?Zh:typeof process<"u"&&process.env!==void 0&&!1),lD="sc-keyframes-";function kd(e,...t){return new Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`)}var rG=1<<30,Dd=new Map,Rd=new Map,Bd=1,wd=e=>{if(Dd.has(e))return Dd.get(e);for(;Rd.has(Bd);)Bd++;let t=Bd++;return Dd.set(e,t),Rd.set(t,e),t},nD=e=>Rd.get(e),iD=(e,t)=>{Bd=t+1,Dd.set(e,t),Rd.set(t,e)};var ng=Object.freeze([]),rn=Object.freeze({});function sD(e,t,a=rn){return e.theme!==a.theme&&e.theme||t||a.theme}var uD=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,fD=/(^-|-$)/g;function WI(e){return e.replace(uD,"-").replace(fD,"")}var dD=/(a)(d)/gi,qI=e=>String.fromCharCode(e+(e>25?39:97));function JI(e){let t,a="";for(t=Math.abs(e);t>52;t=t/52|0)a=qI(t%52)+a;return(qI(t%52)+a).replace(dD,"$1-$2")}var $h=5381,Rr=(e,t)=>{let a=t.length;for(;a;)e=33*e^t.charCodeAt(--a);return e},$I=e=>Rr($h,e);function cD(e){return JI($I(e)>>>0)}function mD(e){return e.displayName||e.name||"Component"}function eg(e){return typeof e=="string"&&!0}function pD(e){return eg(e)?`styled.${e}`:`Styled(${mD(e)})`}var eb=Symbol.for("react.memo"),hD=Symbol.for("react.forward_ref"),gD={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},xD={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tb={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yD={[hD]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[eb]:tb};function FI(e){return("type"in(t=e)&&t.type.$$typeof)===eb?tb:"$$typeof"in e?yD[e.$$typeof]:gD;var t}var LD=Object.defineProperty,SD=Object.getOwnPropertyNames,CD=Object.getOwnPropertySymbols,vD=Object.getOwnPropertyDescriptor,ID=Object.getPrototypeOf,bD=Object.prototype;function ab(e,t,a){if(typeof t!="string"){let o=ID(t);o&&o!==bD&&ab(e,o,a);let r=SD(t).concat(CD(t)),l=FI(e),n=FI(t);for(let i=0;i<r.length;++i){let s=r[i];if(!(s in xD||a&&a[s]||n&&s in n||l&&s in l)){let u=vD(t,s);try{LD(e,s,u)}catch{}}}}return e}function Pd(e){return typeof e=="function"}var AD=Symbol.for("react.forward_ref");function ob(e){return e!=null&&(typeof e=="object"||typeof e=="function")&&e.$$typeof===AD&&"styledComponentId"in e}function is(e,t){return e&&t?e+" "+t:e||t||""}function HI(e,t){return e.join(t||"")}function us(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function tg(e,t,a=!1){if(!a&&!us(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(let o=0;o<t.length;o++)e[o]=tg(e[o],t[o]);else if(us(t))for(let o in t)e[o]=tg(e[o],t[o]);return e}function rb(e,t){Object.defineProperty(e,"toString",{value:t})}var TD=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let a=this._cGroup;a<e;a++)t+=this.groupSizes[a];else for(let a=this._cGroup-1;a>=e;a--)t-=this.groupSizes[a];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){let r=this.groupSizes,l=r.length,n=l;for(;e>=n;)if(n<<=1,n<0)throw kd(16,`${e}`);this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(let i=l;i<n;i++)this.groupSizes[i]=0}let a=this.indexOfGroup(e+1),o=0;for(let r=0,l=t.length;r<l;r++)this.tag.insertRule(a,t[r])&&(this.groupSizes[e]++,a++,o++);o>0&&this._cGroup>e&&(this._cIndex+=o)}clearGroup(e){if(e<this.length){let t=this.groupSizes[e],a=this.indexOfGroup(e),o=a+t;this.groupSizes[e]=0;for(let r=a;r<o;r++)this.tag.deleteRule(a);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||this.groupSizes[e]===0)return t;let a=this.groupSizes[e],o=this.indexOfGroup(e),r=o+a;for(let l=o;l<r;l++)t+=this.tag.getRule(l)+lg;return t}},MD=`style[${ja}][${QI}="${Od}"]`,wD=new RegExp(`^${ja}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),NI=e=>typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11,ag=e=>{if(!e)return document;if(NI(e))return e;if("getRootNode"in e){let t=e.getRootNode();if(NI(t))return t}return document},DD=(e,t,a)=>{let o=a.split(","),r;for(let l=0,n=o.length;l<n;l++)(r=o[l])&&e.registerName(t,r)},BD=(e,t)=>{var a;let o=((a=t.textContent)!==null&&a!==void 0?a:"").split(lg),r=[];for(let l=0,n=o.length;l<n;l++){let i=o[l].trim();if(!i)continue;let s=i.match(wD);if(s){let u=0|parseInt(s[1],10),f=s[2];u!==0&&(iD(f,u),DD(e,f,s[3]),e.getTag().insertRules(u,r)),r.length=0}else r.push(i)}},Qh=e=>{let t=ag(e.options.target).querySelectorAll(MD);for(let a=0,o=t.length;a<o;a++){let r=t[a];r&&r.getAttribute(ja)!==ZI&&(BD(e,r),r.parentNode&&r.parentNode.removeChild(r))}},ns=!1;function RD(){if(ns!==!1)return ns;if(typeof document<"u"){let e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return ns=e.nonce||e.getAttribute("content")||void 0;let t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return ns=t.getAttribute("content")||void 0}return ns=typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0}var lb=(e,t)=>{let a=document.head,o=e||a,r=document.createElement("style"),l=(s=>{let u=Array.from(s.querySelectorAll(`style[${ja}]`));return u[u.length-1]})(o),n=l!==void 0?l.nextSibling:null;r.setAttribute(ja,ZI),r.setAttribute(QI,Od);let i=t||RD();return i&&r.setAttribute("nonce",i),o.insertBefore(r,n),r},ED=class{constructor(e,t){this.element=lb(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(a=>{var o;if(a.sheet)return a.sheet;let r=(o=a.getRootNode().styleSheets)!==null&&o!==void 0?o:document.styleSheets;for(let l=0,n=r.length;l<n;l++){let i=r[l];if(i.ownerNode===a)return i}throw kd(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch{return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){let t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}},OD=class{constructor(e,t){this.element=lb(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){let a=document.createTextNode(t);return this.element.insertBefore(a,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}},GI=ss,kD={isServer:!ss,useCSSOMInjection:!rD},Ed=class e{static registerId(t){return wd(t)}constructor(t=rn,a={},o){this.options=Object.assign(Object.assign({},kD),t),this.gs=a,this.keyframeIds=new Set,this.names=new Map(o),this.server=!!t.isServer,!this.server&&ss&&GI&&(GI=!1,Qh(this)),rb(this,()=>(r=>{let l=r.getTag(),{length:n}=l,i="";for(let s=0;s<n;s++){let u=nD(s);if(u===void 0)continue;let f=r.names.get(u);if(f===void 0||!f.size)continue;let d=l.getGroup(s);if(d.length===0)continue;let c=ja+".g"+s+'[id="'+u+'"]',h="";for(let x of f)x.length>0&&(h+=x+",");i+=d+c+'{content:"'+h+'"}'+lg}return i})(this))}rehydrate(){!this.server&&ss&&Qh(this)}reconstructWithOptions(t,a=!0){let o=new e(Object.assign(Object.assign({},this.options),t),this.gs,a&&this.names||void 0);return o.keyframeIds=new Set(this.keyframeIds),!this.server&&ss&&t.target!==this.options.target&&ag(this.options.target)!==ag(t.target)&&Qh(o),o}allocateGSInstance(t){return this.gs[t]=(this.gs[t]||0)+1}getTag(){return this.tag||(this.tag=(t=(({useCSSOMInjection:a,target:o,nonce:r})=>a?new ED(o,r):new OD(o,r))(this.options),new TD(t)));var t}hasNameForId(t,a){var o,r;return(r=(o=this.names.get(t))===null||o===void 0?void 0:o.has(a))!==null&&r!==void 0&&r}registerName(t,a){wd(t),t.startsWith(lD)&&this.keyframeIds.add(t);let o=this.names.get(t);o?o.add(a):this.names.set(t,new Set([a]))}insertRules(t,a,o){this.registerName(t,a),this.getTag().insertRules(wd(t),o)}clearNames(t){this.names.has(t)&&this.names.get(t).clear()}clearRules(t){this.getTag().clearGroup(wd(t)),this.clearNames(t)}clearTag(){this.tag=void 0}},nb=new WeakSet,PD={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function VD(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in PD||e.startsWith("--")?String(t).trim():t+"px"}var Br=47;function _I(e){if(e.charCodeAt(0)===45&&e.charCodeAt(1)===45)return e;let t="";for(let a=0;a<e.length;a++){let o=e.charCodeAt(a);t+=o>=65&&o<=90?"-"+String.fromCharCode(o+32):e[a]}return t.startsWith("ms-")?"-"+t:t}var ib=Symbol.for("sc-keyframes");function UD(e){return typeof e=="object"&&e!==null&&ib in e}function sb(e){return Pd(e)&&!(e.prototype&&e.prototype.isReactComponent)}var ub=e=>e==null||e===!1||e==="",zD=Symbol.for("react.client.reference");function jI(e){return e.$$typeof===zD}function fb(e,t){for(let a in e){let o=e[a];e.hasOwnProperty(a)&&!ub(o)&&(Array.isArray(o)&&nb.has(o)||Pd(o)?t.push(_I(a)+":",o,";"):us(o)?(t.push(a+" {"),fb(o,t),t.push("}")):t.push(_I(a)+": "+VD(a,o)+";"))}}function Er(e,t,a,o,r=[]){if(ub(e))return r;let l=typeof e;if(l==="string")return r.push(e),r;if(l==="function"){if(jI(e))return r;if(sb(e)&&t){let n=e(t);return Er(n,t,a,o,r)}return r.push(e),r}if(Array.isArray(e)){for(let n=0;n<e.length;n++)Er(e[n],t,a,o,r);return r}return ob(e)?(r.push(`.${e.styledComponentId}`),r):UD(e)?(a?(e.inject(a,o),r.push(e.getName(o))):r.push(e),r):jI(e)?r:us(e)?e.toString!==Object.prototype.toString?(r.push(e.toString()),r):(fb(e,r),r):(r.push(e.toString()),r)}var qD=$I(Od),og=class{constructor(t,a,o){this.rules=t,this.componentId=a,this.baseHash=Rr(qD,a),this.baseStyle=o,Ed.registerId(a)}generateAndInjectStyles(t,a,o){let r=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,a,o):"";{let l="";for(let n=0;n<this.rules.length;n++){let i=this.rules[n];if(typeof i=="string")l+=i;else if(i)if(sb(i)){let s=i(t);typeof s=="string"?l+=s:s!=null&&s!==!1&&(l+=HI(Er(s,t,a,o)))}else l+=HI(Er(i,t,a,o))}if(l){this.dynamicNameCache||(this.dynamicNameCache=new Map);let n=o.hash?o.hash+l:l,i=this.dynamicNameCache.get(n);if(!i){if(i=JI(Rr(Rr(this.baseHash,o.hash),l)>>>0),this.dynamicNameCache.size>=200){let s=this.dynamicNameCache.keys().next().value;s!==void 0&&this.dynamicNameCache.delete(s)}this.dynamicNameCache.set(n,i)}if(!a.hasNameForId(this.componentId,i)){let s=o(l,"."+i,void 0,this.componentId);a.insertRules(this.componentId,i,s)}r=is(r,i)}}return r}},FD=/&/g;function db(e,t){let a=0;for(;--t>=0&&e.charCodeAt(t)===92;)a++;return!(1&~a)}function Wh(e){let t=e.length,a="",o=0,r=0,l=0,n=!1,i=!1;for(let s=0;s<t;s++){let u=e.charCodeAt(s);if(l!==0||n||u!==Br||e.charCodeAt(s+1)!==42)if(n)u===42&&e.charCodeAt(s+1)===Br&&(n=!1,s++);else if(u!==34&&u!==39||db(e,s)){if(l===0)if(u===123)r++;else if(u===125){if(r--,r<0){i=!0;let f=s+1;for(;f<t;){let d=e.charCodeAt(f);if(d===59||d===10)break;f++}f<t&&e.charCodeAt(f)===59&&f++,r=0,s=f-1,o=f;continue}r===0&&(a+=e.substring(o,s+1),o=s+1)}else u===59&&r===0&&(a+=e.substring(o,s+1),o=s+1)}else l===0?l=u:l===u&&(l=0);else n=!0,s++}return i||r!==0||l!==0?(o<t&&r===0&&l===0&&(a+=e.substring(o)),a):e}function cb(e,t){let a=t+" ",o=","+a;for(let r=0;r<e.length;r++){let l=e[r];if(l.type==="rule"){l.value=(a+l.value).replaceAll(",",o);let n=l.props,i=[];for(let s=0;s<n.length;s++)i[s]=a+n[s];l.props=i}Array.isArray(l.children)&&l.type!=="@keyframes"&&cb(l.children,t)}return e}function HD({options:e=rn,plugins:t=ng}=rn){let a,o,r,l=(c,h,x)=>x.startsWith(o)&&x.endsWith(o)&&x.replaceAll(o,"").length>0?`.${a}`:c,n=t.slice();n.push(c=>{c.type===zo&&c.value.includes("&")&&(r||(r=new RegExp(`\\${o}\\b`,"g")),c.props[0]=c.props[0].replace(FD,o).replace(r,l))}),e.prefix&&n.push(UI),n.push(kI);let i=[],s=PI(n.concat(VI(c=>i.push(c)))),u=(c,h="",x="",L="&")=>{a=L,o=h,r=void 0;let S=(function(m){let g=m.indexOf("//")!==-1,y=m.indexOf("}")!==-1;if(!g&&!y)return m;if(!g)return Wh(m);let I=m.length,T="",C=0,v=0,M=0,A=0,B=0,ee=!1;for(;v<I;){let J=m.charCodeAt(v);if(J!==34&&J!==39||db(m,v))if(M===0)if(J===Br&&v+1<I&&m.charCodeAt(v+1)===42){for(v+=2;v+1<I&&(m.charCodeAt(v)!==42||m.charCodeAt(v+1)!==Br);)v++;v+=2}else if(J!==40)if(J!==41)if(A>0)v++;else if(J===42&&v+1<I&&m.charCodeAt(v+1)===Br)T+=m.substring(C,v),v+=2,C=v,ee=!0;else if(J===Br&&v+1<I&&m.charCodeAt(v+1)===Br){for(T+=m.substring(C,v);v<I&&m.charCodeAt(v)!==10;)v++;C=v,ee=!0}else J===123?B++:J===125&&B--,v++;else A>0&&A--,v++;else A++,v++;else v++;else M===0?M=J:M===J&&(M=0),v++}return ee?(C<I&&(T+=m.substring(C)),B===0?T:Wh(T)):B===0?m:Wh(m)})(c),p=OI(x||h?x+" "+h+" { "+S+" }":S);return e.namespace&&(p=cb(p,e.namespace)),i=[],on(p,s),i},f=e,d=$h;for(let c=0;c<t.length;c++)t[c].name||kd(15),d=Rr(d,t[c].name);return f?.namespace&&(d=Rr(d,f.namespace)),f?.prefix&&(d=Rr(d,"p")),u.hash=d!==$h?d.toString():"",u}var ND=new Ed,GD=HD(),mb=_a.default.createContext({shouldForwardProp:void 0,styleSheet:ND,stylis:GD,stylisPlugins:void 0}),lG=mb.Consumer;function _D(){return _a.default.useContext(mb)}var pb=_a.default.createContext(void 0),nG=pb.Consumer;var XI=Object.prototype.hasOwnProperty,Jh={};function jD(e,t){let a=typeof e!="string"?"sc":WI(e);Jh[a]=(Jh[a]||0)+1;let o=a+"-"+cD(Od+a+Jh[a]);return t?t+"-"+o:o}function XD(e,t,a){let o=ob(e),r=e,l=!eg(e),{attrs:n=ng,componentId:i=jD(t.displayName,t.parentComponentId),displayName:s=pD(e)}=t,u=t.displayName&&t.componentId?WI(t.displayName)+"-"+t.componentId:t.componentId||i,f=o&&r.attrs?r.attrs.concat(n).filter(Boolean):n,{shouldForwardProp:d}=t;if(o&&r.shouldForwardProp){let L=r.shouldForwardProp;if(t.shouldForwardProp){let S=t.shouldForwardProp;d=(p,m)=>L(p,m)&&S(p,m)}else d=L}let c=new og(a,u,o?r.componentStyle:void 0);function h(L,S){return(function(p,m,g){let{attrs:y,componentStyle:I,defaultProps:T,foldedComponentIds:C,styledComponentId:v,target:M}=p,A=_a.default.useContext(pb),B=_D(),ee=p.shouldForwardProp||B.shouldForwardProp,J=sD(m,A,T)||rn,Me,Ye;{let xe=_a.default.useRef(null),we=xe.current;if(we!==null&&we[1]===J&&we[2]===B.styleSheet&&we[3]===B.stylis&&we[7]===I&&(function(ft,dt,bt){let At=ft,et=dt,ds=0;for(let qo in et)if(XI.call(et,qo)&&(ds++,At[qo]!==et[qo]))return!1;return ds===bt})(we[0],m,we[4]))Me=we[5],Ye=we[6];else{Me=(function(dt,bt,At){let et=Object.assign(Object.assign({},bt),{className:void 0,theme:At}),ds=dt.length>1;for(let qo=0;qo<dt.length;qo++){let Vd=dt[qo],cs=Pd(Vd)?Vd(ds?Object.assign({},et):et):Vd;for(let Xa in cs)Xa==="className"?et.className=is(et.className,cs[Xa]):Xa==="style"?et.style=Object.assign(Object.assign({},et.style),cs[Xa]):Xa in bt&&bt[Xa]===void 0||(et[Xa]=cs[Xa])}return"className"in bt&&typeof bt.className=="string"&&(et.className=is(et.className,bt.className)),et})(y,m,J),Ye=I.generateAndInjectStyles(Me,B.styleSheet,B.stylis);let ft=0;for(let dt in m)XI.call(m,dt)&&ft++;xe.current=[m,J,B.styleSheet,B.stylis,ft,Me,Ye,I]}}let Ke=Me.as||M,fs=(function(xe,we,ft,dt){let bt={};for(let At in xe)xe[At]===void 0||At[0]==="$"||At==="as"||At==="theme"&&xe.theme===ft||(At==="forwardedAs"?bt.as=xe.forwardedAs:dt&&!dt(At,we)||(bt[At]=xe[At]));return bt})(Me,Ke,J,ee),ge=is(C,v);return Ye&&(ge+=" "+Ye),Me.className&&(ge+=" "+Me.className),fs[eg(Ke)&&Ke.includes("-")?"class":"className"]=ge,g&&(fs.ref=g),(0,_a.createElement)(Ke,fs)})(x,L,S)}h.displayName=s;let x=_a.default.forwardRef(h);return x.attrs=f,x.componentStyle=c,x.displayName=s,x.shouldForwardProp=d,x.foldedComponentIds=o?is(r.foldedComponentIds,r.styledComponentId):"",x.styledComponentId=u,x.target=o?r.target:e,Object.defineProperty(x,"defaultProps",{get(){return this._foldedDefaultProps},set(L){this._foldedDefaultProps=o?(function(S,...p){for(let m of p)tg(S,m,!0);return S})({},r.defaultProps,L):L}}),rb(x,()=>`.${x.styledComponentId}`),l&&ab(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}var YD=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function YI(e,t){let a=[e[0]];for(let o=0,r=t.length;o<r;o+=1)a.push(t[o],e[o+1]);return a}var KI=e=>(nb.add(e),e);function KD(e,...t){if(Pd(e)||us(e))return KI(Er(YI(ng,[e,...t])));let a=e;return t.length===0&&a.length===1&&typeof a[0]=="string"?Er(a):KI(Er(YI(a,t)))}function rg(e,t,a=rn){if(!t)throw kd(1,t);let o=(r,...l)=>e(t,a,KD(r,...l));return o.attrs=r=>rg(e,t,Object.assign(Object.assign({},a),{attrs:Array.prototype.concat(a.attrs,r).filter(Boolean)})),o.withConfig=r=>rg(e,t,Object.assign(Object.assign({},a),r)),o}var hb=e=>rg(XD,e),ca=hb;YD.forEach(e=>{ca[e]=hb(e)});var ZD;ZD=ib;var iG=`__sc-${ja}__`;var sG=`:not(style[${ja}])`,uG=`style[${ja}]`;var QD=ca.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
max-width: 100%;
margin: 0 auto;
padding: 1rem;
background-color: transparent;
font-family: 'Inter', Helvetica, Arial, sans-serif;
box-sizing: border-box;
@media (min-width: 768px) {
padding: 2rem;
}
`,WD=ca.div`
text-align: center;
max-width: 48rem;
min-height: 8rem;
margin-bottom: 2.25rem;
`,JD=ca(Ji.h3)`
font-family: 'Inter', Helvetica, Arial, sans-serif;
font-size: 1.45rem;
font-weight: 600;
color: rgb(250 250 250);
margin: 0 0 0.5rem 0;
@media (min-width: 768px) {
font-size: 1.75rem;
}
`,$D=ca(Ji.p)`
font-family: 'Inter', Helvetica, Arial, sans-serif;
font-size: 1.1rem;
color: rgb(209 213 219);
margin: 0;
line-height: 1.4;
@media (min-width: 768px) {
font-size: 1.3rem;
}
`,e2=ca.div`
position: relative;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
min-height: 160px;
min-width: 380px;
@media (min-width: 768px) {
min-height: 235px;
min-width: 440px;
}
@media (min-width: 1024px) {
min-height: 310px;
min-width: 520px;
}
`,t2=ca(Ji.div)`
position: absolute;
width: 10.5rem;
height: 10.5rem;
border-radius: 1.35rem;
box-shadow: 0 6px 9px -2px rgb(0 0 0 / 0.1);
overflow: hidden;
border: 3px solid white;
background-size: cover;
background-position: center;
cursor: pointer;
@media (min-width: 768px) {
width: 18rem;
height: 18rem;
border-radius: 2rem;
border-width: 5px;
}
@media (min-width: 1024px) {
width: 20.5rem;
height: 20.5rem;
}
`,a2=ca.div`
display: flex;
gap: 0.75rem;
margin-top: 3rem;
@media (min-width: 768px) {
gap: 1.5rem;
}
`,gb=ca.button`
border-radius: 9999px;
height: 3.75rem;
width: 3.75rem;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
background-color: rgb(243 244 246);
border: 1px solid rgb(229 231 235);
cursor: pointer;
transition: all 0.2s;
color: rgb(55 65 81);
&:hover {
background-color: rgb(229 231 235);
}
&:focus {
outline: none;
ring: 2px solid rgb(96 165 250 / 0.5);
}
svg {
width: 1.9rem;
height: 1.9rem;
}
`,o2=[{id:1,image:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTWLdo71h1BIxxWy2FYHVqC_CuizjLwiZKxNCKBtEv4OQ&s=100",title:"Lolcode - Lua translator",description:"This site translates Luau to Lolcode, and Lolcode to Luau..",link:"https://bush.is-a.dev/lolcode"},{id:2,image:"https://github.com/BushDevelops/BushDevelops.github.io/blob/main/vQwAGpFaEBGgXGir2u3ONgs7_dw3mBlA.png?raw=true",title:"BushDev's Portfolio",description:"This holds information about my experience in UI/UX Design, Moderation, Game development, ETC.",link:"https://bush.is-a.dev/portfolio"},{id:3,image:"https://github.com/BushDevelops/BushDevelops.github.io/blob/main/top-banner.png?raw=true",title:"Anti-Innersloth Movement [SENSITIVE CONTENT]",description:"This holds a database with bad actors from Among Us, and information on how Innersloth takes no accountability for years.",link:"https://bush.is-a.dev/A-I-M"},{id:4,image:"https://github.com/BushDevelops/BushDevelops.github.io/blob/main/download.png?raw=true",title:"Contact me",description:"Contact me through my email!",link:"https://bush.is-a.dev/contact"},{id:5,image:"https://github.com/BushDevelops/BushDevelops.github.io/blob/main/zoluds2.png?raw=true",title:"ZolU3DS",description:"ZolU3DS is a revival network for the Nintendo 3DS and Wii U features such as the eShop, Miiverse, badge arcade, and more! (coming soon)",link:"https://watchbutdonotlearn.github.io/"}];function ig({cards:e}){let t=Array.isArray(e)&&e.length>0?e:o2,[a,o]=(0,Xe.useState)(Math.min(1,t.length-1)),r=Math.min(a,t.length-1),l=()=>{o(f=>f===0?t.length-1:f-1)},n=()=>{o(f=>f===t.length-1?0:f+1)},i=f=>{let d=t.length,c=Math.floor(d/2),h=(f-r+d)%d,x=h>c?h-d:h;return{rotation:x*5,zIndex:x===0?10:0,xPosition:`calc(${x} * (clamp(130px, 19vw, 230px)))`}},s=(f,d)=>{f===r?d&&window.open(d,"_blank","noopener,noreferrer"):o(f)},u=t[r];return u?Xe.default.createElement(QD,null,Xe.default.createElement(WD,null,Xe.default.createElement(Oh,{mode:"wait"},Xe.default.createElement(Ji.div,{key:u.id,initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.25}},Xe.default.createElement(JD,null,u.title),Xe.default.createElement($D,null,u.description)))),Xe.default.createElement(e2,{role:"region","aria-label":"Image carousel","aria-roledescription":"carousel"},t.map((f,d)=>{let{rotation:c,zIndex:h,xPosition:x}=i(d);return Xe.default.createElement(t2,{key:f.id,initial:!1,animate:{x,rotate:c,zIndex:h,scale:d===r?1:.9},transition:{type:"spring",stiffness:300,damping:30},style:{backgroundImage:`url(${f.image})`},role:"group","aria-label":`Slide ${d+1} of ${t.length}: ${f.title}`,"aria-hidden":d!==r,onClick:()=>s(d,f.link)})})),Xe.default.createElement(a2,null,Xe.default.createElement(gb,{onClick:l,"aria-label":"Previous slide"},Xe.default.createElement(ts,{"aria-hidden":"true"})),Xe.default.createElement(gb,{onClick:n,"aria-label":"Next slide"},Xe.default.createElement(es,{"aria-hidden":"true"})))):null}var xb=document.getElementById("carousel-root");xb?(0,Lb.createRoot)(xb).render(yb.default.createElement(ig,null)):console.error('CardCarousel: no element with id="carousel-root" found on the page.');})();
/*! Bundled license information:
react/cjs/react.production.js:
(**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
scheduler/cjs/scheduler.production.js:
(**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
react-dom/cjs/react-dom.production.js:
(**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
react-dom/cjs/react-dom-client.production.js:
(**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
react/cjs/react-jsx-runtime.production.js:
(**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs:
lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs:
lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs:
lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs:
lucide-react/dist/esm/defaultAttributes.mjs:
lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs:
lucide-react/dist/esm/context.mjs:
lucide-react/dist/esm/Icon.mjs:
lucide-react/dist/esm/createLucideIcon.mjs:
lucide-react/dist/esm/icons/chevron-right.mjs:
lucide-react/dist/esm/icons/chevron-left.mjs:
lucide-react/dist/esm/lucide-react.mjs:
(**
* @license lucide-react v1.33.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*)
*/