vendor: 5,461 bytes, lines 1-9
1(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))a(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&a(f)}).observe(document,{childList:!0,subtree:!0});function o(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function a(c){if(c.ep)return;c.ep=!0;const d=o(c);fetch(c.href,d)}})();function ly(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ua={exports:{}},ni={},Wa={exports:{}},ae={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var sd;function uy(){if(sd)return ae;sd=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),x=Symbol.iterator;function S(T){return T===null||typeof T!="object"?null:(T=x&&T[x]||T["@@iterator"],typeof T=="function"?T:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,D={};function N(T,R,se){this.props=T,this.context=R,this.refs=D,this.updater=se||E}N.prototype.isReactComponent={},N.prototype.setState=function(T,R){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,R,"setState")},N.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function L(){}L.prototype=N.prototype;function z(T,R,se){this.props=T,this.context=R,this.refs=D,this.updater=se||E}var B=z.prototype=new L;B.constructor=z,j(B,N.prototype),B.isPureReactComponent=!0;var Q=Array.isArray,G=Object.prototype.hasOwnProperty,re={current:null},le={key:!0,ref:!0,__self:!0,__source:!0};function J(T,R,se){var oe,ue={},ce=null,ve=null;if(R!=null)for(oe in R.ref!==void 0&&(ve=R.ref),R.key!==void 0&&(ce=""+R.key),R)G.call(R,oe)&&!le.hasOwnProperty(oe)&&(ue[oe]=R[oe]);var pe=arguments.length-2;if(pe===1)ue.children=se;else if(1<pe){for(var Ce=Array(pe),lt=0;lt<pe;lt++)Ce[lt]=arguments[lt+2];ue.children=Ce}if(T&&T.defaultProps)for(oe in pe=T.defaultProps,pe)ue[oe]===void 0&&(ue[oe]=pe[oe]);return{$$typeof:n,type:T,key:ce,ref:ve,props:ue,_owner:re.current}}function we(T,R){return{$$typeof:n,type:T.type,key:R,ref:T.ref,props:T.props,_owner:T._owner}}function xe(T){return typeof T=="object"&&T!==null&&T.$$typeof===n}function He(T){var R={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(se){return R[se]})}var Qe=/\/+/g;function ne(T,R){return typeof T=="object"&&T!==null&&T.key!=null?He(""+T.key):R.toString(36)}function fe(T,R,se,oe,ue){var ce=typeof T;(ce==="undefined"||ce==="boolean")&&(T=null);var ve=!1;if(T===null)ve=!0;else switch(ce){case"string":case"number":ve=!0;break;case"object":switch(T.$$typeof){case n:case i:ve=!0}}if(ve)return ve=T,ue=ue(ve),T=oe===""?"."+ne(ve,0):oe,Q(ue)?(se="",T!=null&&(se=T.replace(Qe,"$&/")+"/"),fe(ue,R,se,"",function(lt){return lt})):ue!=null&&(xe(ue)&&(ue=we(ue,se+(!ue.key||ve&&ve.key===ue.key?"":(""+ue.key).replace(Qe,"$&/")+"/")+T)),R.push(ue)),1;if(ve=0,oe=oe===""?".":oe+":",Q(T))for(var pe=0;pe<T.length;pe++){ce=T[pe];var Ce=oe+ne(ce,pe);ve+=fe(ce,R,se,Ce,ue)}else if(Ce=S(T),typeof Ce=="function")for(T=Ce.call(T),pe=0;!(ce=T.next()).done;)ce=ce.value,Ce=oe+ne(ce,pe++),ve+=fe(ce,R,se,Ce,ue);else if(ce==="object")throw R=String(T),Error("Objects are not valid as a React child (found: "+(R==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":R)+"). If you meant to render a collection of children, use an array instead.");return ve}function ye(T,R,se){if(T==null)return T;var oe=[],ue=0;return fe(T,oe,"","",function(ce){return R.call(se,ce,ue++)}),oe}function me(T){if(T._status===-1){var R=T._result;R=R(),R.then(function(se){(T._status===0||T._status===-1)&&(T._status=1,T._result=se)},function(se){(T._status===0||T._status===-1)&&(T._status=2,T._result=se)}),T._status===-1&&(T._status=0,T._result=R)}if(T._status===1)return T._result.default;throw T._result}var te={current:null},I={transition:null},q={ReactCurrentDispatcher:te,ReactCurrentBatchConfig:I,ReactCurrentOwner:re};function U(){throw Error("act(...) is not supported in production builds of React.")}return ae.Children={map:ye,forEach:function(T,R,se){ye(T,function(){R.apply(this,arguments)},se)},count:function(T){var R=0;return ye(T,function(){R++}),R},toArray:function(T){return ye(T,function(R){return R})||[]},only:function(T){if(!xe(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},ae.Component=N,ae.Fragment=o,ae.Profiler=c,ae.PureComponent=z,ae.StrictMode=a,ae.Suspense=m,ae.__SECRET_INT
vendor: 4,136 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,ae.act=U,ae.cloneElement=function(T,R,se){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var oe=j({},T.props),ue=T.key,ce=T.ref,ve=T._owner;if(R!=null){if(R.ref!==void 0&&(ce=R.ref,ve=re.current),R.key!==void 0&&(ue=""+R.key),T.type&&T.type.defaultProps)var pe=T.type.defaultProps;for(Ce in R)G.call(R,Ce)&&!le.hasOwnProperty(Ce)&&(oe[Ce]=R[Ce]===void 0&&pe!==void 0?pe[Ce]:R[Ce])}var Ce=arguments.length-2;if(Ce===1)oe.children=se;else if(1<Ce){pe=Array(Ce);for(var lt=0;lt<Ce;lt++)pe[lt]=arguments[lt+2];oe.children=pe}return{$$typeof:n,type:T.type,key:ue,ref:ce,props:oe,_owner:ve}},ae.createContext=function(T){return T={$$typeof:f,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},T.Provider={$$typeof:d,_context:T},T.Consumer=T},ae.createElement=J,ae.createFactory=function(T){var R=J.bind(null,T);return R.type=T,R},ae.createRef=function(){return{current:null}},ae.forwardRef=function(T){return{$$typeof:h,render:T}},ae.isValidElement=xe,ae.lazy=function(T){return{$$typeof:g,_payload:{_status:-1,_result:T},_init:me}},ae.memo=function(T,R){return{$$typeof:y,type:T,compare:R===void 0?null:R}},ae.startTransition=function(T){var R=I.transition;I.transition={};try{T()}finally{I.transition=R}},ae.unstable_act=U,ae.useCallback=function(T,R){return te.current.useCallback(T,R)},ae.useContext=function(T){return te.current.useContext(T)},ae.useDebugValue=function(){},ae.useDeferredValue=function(T){return te.current.useDeferredValue(T)},ae.useEffect=function(T,R){return te.current.useEffect(T,R)},ae.useId=function(){return te.current.useId()},ae.useImperativeHandle=function(T,R,se){return te.current.useImperativeHandle(T,R,se)},ae.useInsertionEffect=function(T,R){return te.current.useInsertionEffect(T,R)},ae.useLayoutEffect=function(T,R){return te.current.useLayoutEffect(T,R)},ae.useMemo=function(T,R){return te.current.useMemo(T,R)},ae.useReducer=function(T,R,se){return te.current.useReducer(T,R,se)},ae.useRef=function(T){return te.current.useRef(T)},ae.useState=function(T){return te.current.useState(T)},ae.useSyncExternalStore=function(T,R,se){return te.current.useSyncExternalStore(T,R,se)},ae.useTransition=function(){return te.current.useTransition()},ae.version="18.3.1",ae}var od;function Ll(){return od||(od=1,Wa.exports=uy()),Wa.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var ad;function cy(){if(ad)return ni;ad=1;var n=Ll(),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,c=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function f(h,m,y){var g,x={},S=null,E=null;y!==void 0&&(S=""+y),m.key!==void 0&&(S=""+m.key),m.ref!==void 0&&(E=m.ref);for(g in m)a.call(m,g)&&!d.hasOwnProperty(g)&&(x[g]=m[g]);if(h&&h.defaultProps)for(g in m=h.defaultProps,m)x[g]===void 0&&(x[g]=m[g]);return{$$typeof:i,type:h,key:S,ref:E,props:x,_owner:c.current}}return ni.Fragment=o,ni.jsx=f,ni.jsxs=f,ni}var ld;function fy(){return ld||(ld=1,Ua.exports=cy()),Ua.exports}var A=fy(),Ds={},$a={exports:{}},at={},Ha={exports:{}},Ka={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var ud;function dy(){return ud||(ud=1,(function(n){function i(I,q){var U=I.length;I.push(q);e:for(;0<U;){var T=U-1>>>1,R=I[T];if(0<c(R,q))I[T]=q,I[U]=R,U=T;else break e}}function o(I){return I.length===0?null:I[0]}function a(I){if(I.length===0)return null;var q=I[0],U=I.pop();if(U!==q){I[0]=U;e:for(var T=0,R=I.length,se=R>>>1;T<se;){var oe=2*(T+1)-1,ue=I[oe],ce=oe+1,ve=I[ce];if(0>c(ue,U))ce<R&&0>c(ve,ue)?(I[T]=ve,I[ce]=U,T=ce):(I[T]=ue,I[oe]=U,T=oe);else if(ce<R&&0>
vendor: 51,152 bytes, lines 25-38
25c(ve,U))I[T]=ve,I[ce]=U,T=ce;else break e}}return q}function c(I,q){var U=I.sortIndex-q.sortIndex;return U!==0?U:I.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var m=[],y=[],g=1,x=null,S=3,E=!1,j=!1,D=!1,N=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function B(I){for(var q=o(y);q!==null;){if(q.callback===null)a(y);else if(q.startTime<=I)a(y),q.sortIndex=q.expirationTime,i(m,q);else break;q=o(y)}}function Q(I){if(D=!1,B(I),!j)if(o(m)!==null)j=!0,me(G);else{var q=o(y);q!==null&&te(Q,q.startTime-I)}}function G(I,q){j=!1,D&&(D=!1,L(J),J=-1),E=!0;var U=S;try{for(B(q),x=o(m);x!==null&&(!(x.expirationTime>q)||I&&!He());){var T=x.callback;if(typeof T=="function"){x.callback=null,S=x.priorityLevel;var R=T(x.expirationTime<=q);q=n.unstable_now(),typeof R=="function"?x.callback=R:x===o(m)&&a(m),B(q)}else a(m);x=o(m)}if(x!==null)var se=!0;else{var oe=o(y);oe!==null&&te(Q,oe.startTime-q),se=!1}return se}finally{x=null,S=U,E=!1}}var re=!1,le=null,J=-1,we=5,xe=-1;function He(){return!(n.unstable_now()-xe<we)}function Qe(){if(le!==null){var I=n.unstable_now();xe=I;var q=!0;try{q=le(!0,I)}finally{q?ne():(re=!1,le=null)}}else re=!1}var ne;if(typeof z=="function")ne=function(){z(Qe)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,ye=fe.port2;fe.port1.onmessage=Qe,ne=function(){ye.postMessage(null)}}else ne=function(){N(Qe,0)};function me(I){le=I,re||(re=!0,ne())}function te(I,q){J=N(function(){I(n.unstable_now())},q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(I){I.callback=null},n.unstable_continueExecution=function(){j||E||(j=!0,me(G))},n.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):we=0<I?Math.floor(1e3/I):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_getFirstCallbackNode=function(){return o(m)},n.unstable_next=function(I){switch(S){case 1:case 2:case 3:var q=3;break;default:q=S}var U=S;S=q;try{return I()}finally{S=U}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(I,q){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var U=S;S=I;try{return q()}finally{S=U}},n.unstable_scheduleCallback=function(I,q,U){var T=n.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?T+U:T):U=T,I){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=U+R,I={id:g++,callback:q,priorityLevel:I,startTime:U,expirationTime:R,sortIndex:-1},U>T?(I.sortIndex=U,i(y,I),o(m)===null&&I===o(y)&&(D?(L(J),J=-1):D=!0,te(Q,U-T))):(I.sortIndex=R,i(m,I),j||E||(j=!0,me(G))),I},n.unstable_shouldYield=He,n.unstable_wrapCallback=function(I){var q=S;return function(){var U=S;S=q;try{return I.apply(this,arguments)}finally{S=U}}}})(Ka)),Ka}var cd;function py(){return cd||(cd=1,Ha.exports=dy()),Ha.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var fd;function hy(){if(fd)return at;fd=1;var n=Ll(),i=py();function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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."}var a=new Set,c={};function d(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(c[e]=t,e=0;e<t.length;e++)a.add(t[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,y=/^[: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={},x={};function S(e){return m.call(x,e)?!0:m.call(g,e)?!1:y.test(e)?x[e]=!0:(g[e]=!0,!1)}function E(e,t,r,s){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return s?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function j(e,t,r,s){if(t===null||typeof t>"u"||E(e,t,r,s))return!0;if(s)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function D(e,t,r,s,l,u,p){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=l,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=p}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){N[e]=new D(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];N[t]=new D(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){N[e]=new D(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){N[e]=new D(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){N[e]=new D(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){N[e]=new D(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){N[e]=new D(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){N[e]=new D(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){N[e]=new D(e,5,!1,e.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function z(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(L,z);N[t]=new D(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(L,z);N[t]=new D(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(L,z);N[t]=new D(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){N[e]=new D(e,1,!1,e.toLowerCase(),null,!1,!1)}),N.xlinkHref=new D("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){N[e]=new D(e,1,!1,e.toLowerCase(),null,!0,!0)});function B(e,t,r,s){var l=N.hasOwnProperty(t)?N[t]:null;(l!==null?l.type!==0:s||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(j(t,r,l,s)&&(r=null),s||l===null?S(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):l.mustUseProperty?e[l.propertyName]=r===null?l.type===3?!1:"":r:(t=l.attributeName,s=l.attributeNamespace,r===null?e.removeAttribute(t):(l=l.type,r=l===3||l===4&&r===!0?"":""+r,s?e.setAttributeNS(s,t,r):e.setAttribute(t,r))))}var Q=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,G=Symbol.for("react.element"),re=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),xe=Symbol.for("react.provider"),He=Symbol.for("react.context"),Qe=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),fe=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),I=Symbol.iterator;function q(e){return e===null||typeof e!="object"?null:(e=I&&e[I]||e["@@iterator"],typeof e=="function"?e:null)}var U=Object.assign,T;function R(e){if(T===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);T=t&&t[1]||""}return` 34`+T+e}var se=!1;function oe(e,t){if(!e||se)return"";se=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(M){var s=M}Reflect.construct(e,[],t)}else{try{t.call()}catch(M){s=M}e.call(t.prototype)}else{try{throw Error()}catch(M){s=M}e()}}catch(M){if(M&&s&&typeof M.stack=="string"){for(var l=M.stack.split(` 35`),u=s.stack.split(` 36`),p=l.length-1,v=u.length-1;1<=p&&0<=v&&l[p]!==u[v];)v--;for(;1<=p&&0<=v;p--,v--)if(l[p]!==u[v]){if(p!==1||v!==1)do if(p--,v--,0>v||l[p]!==u[v]){var w=` 37`+l[p].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=p&&0<=v);break}}}finally{se=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?R(e):""}function ue(e){switch(e.tag){case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return e=oe(e.type,!1),e;case 11:return e=oe(e.type.render,!1),e;case 1:return e=oe(e.type,!0),e;default:return""}}function ce(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case le:return"Fragment";case re:return"Portal";case we:return"Profiler";case J:return"StrictMode";case ne:return"Suspense";case fe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case He:return(e.displayName||"Context")+".Consumer";case xe:return(e._context.displayName||"Context")+".Provider";case Qe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ye:return t=e.displayName||null,t!==null?t:ce(e.type)||"Memo";case me:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}function ve(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ce(t);case 8:return t===J?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ce(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lt(e){var t=Ce(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var l=r.get,u=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(p){s=""+p,u.call(this,p)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return s},setValue:function(p){s=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xi(e){e._valueTracker||(e._valueTracker=lt(e))}function cu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),s="";return e&&(s=Ce(e)?e.checked?"true":"false":e.value),e=s,e!==r?(t.setValue(e),!0):!1}function wi(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}}function qs(e,t){var r=t.checked;return U({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function fu(e,t){var r=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;r=pe(t.value!=null?t.value:r),e._wrapperState={initialChecked:s,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function du(e,t){t=t.checked,t!=null&&B(e,"checked",t,!1)}function Ys(e,t){du(e,t);var r=pe(t.value),s=t.type;if(r!=null)s==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Xs(e,t.type,r):t.hasOwnProperty("defaultValue")&&Xs(e,t.type,pe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pu(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type;if(!(s!=="submit"&&s!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Xs(e,t,r){(t!=="number"||wi(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var yr=Array.isArray;function In(e,t,r,s){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&s&&(e[r].defaultSelected=!0)}else{for(r=""+pe(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,s&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Qs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(o(91));return U({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hu(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(o(92));if(yr(r)){if(1<r.length)throw Error(o(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:pe(r)}}function mu(e,t){var r=pe(t.value),s=pe(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),s!=null&&(e.defaultValue=""+s)}function gu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function yu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Js(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?yu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Si,vu=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,s,l){MSApp.execUnsafeLocalFunction(function(){return e(t,r,s,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Si=Si||document.createElement("div"),Si.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Si.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vr(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var xr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},dm=["Webkit","ms","Moz","O"];Object.keys(xr).forEach(function(e){dm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xr[t]=xr[e]})});function xu(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||xr.hasOwnProperty(e)&&xr[e]?(""+t).trim():t+"px"}function wu(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var s=r.indexOf("--")===0,l=xu(r,t[r],s);r==="float"&&(r="cssFloat"),s?e.setProperty(r,l):e[r]=l}}var pm=U({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Zs(e,t){if(t){if(pm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(o(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(t.style!=null&&typeof t.style!="object")throw Error(o(62))}}function eo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 to=null;function no(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ro=null,On=null,zn=null;function Su(e){if(e=br(e)){if(typeof ro!="function")throw Error(o(280));var t=e.stateNode;t&&(t=$i(t),ro(e.stateNode,e.type,t))}}function ku(e){On?zn?zn.push(e):zn=[e]:On=e}function Tu(){if(On){var e=On,t=zn;if(zn=On=null,Su(e),t)for(e=0;e<t.length;e++)Su(t[e])}}function Pu(e,t){return e(t)}function Cu(){}var io=!1;function Eu(e,t,r){if(io)return e(t,r);io=!0;try{return Pu(e,t,r)}finally{io=!1,(On!==null||zn!==null)&&(Cu(),Tu())}}function wr(e,t){var r=e.stateNode;if(r===null)return null;var s=$i(r);if(s===null)return null;r=s[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":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(o(231,t,typeof r));return r}var so=!1;if(h)try{var Sr={};Object.defineProperty(Sr,"passive",{get:function(){so=!0}}),window.addEventListener("test",Sr,Sr),window.removeEventListener("test",Sr,Sr)}catch{so=!1}function hm(e,t,r,s,l,u,p,v,w){var M=Array.prototype.slice.call(arguments,3);try{t.apply(r,M)}catch(F){this.onError(F)}}var kr=!1,ki=null,Ti=!1,oo=null,mm={onError:function(e){kr=!0,ki=e}};function gm(e,t,r,s,l,u,p,v,w){kr=!1,ki=null,hm.apply(mm,arguments)}function ym(e,t,r,s,l,u,p,v,w){if(gm.apply(this,arguments),kr){if(kr){var M=ki;kr=!1,ki=null}else throw Error(o(198));Ti||(Ti=!0,oo=M)}}function xn(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Mu(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 Au(e){if(xn(e)!==e)throw Error(o(188))}function vm(e){var t=e.alternate;if(!t){if(t=xn(e),t===null)throw Error(o(188));return t!==e?null:e}for(var r=e,s=t;;){var l=r.return;if(l===null)break;var u=l.alternate;if(u===null){if(s=l.return,s!==null){r=s;continue}break}if(l.child===u.child){for(u=l.child;u;){if(u===r)return Au(l),e;if(u===s)return Au(l),t;u=u.sibling}throw Error(o(188))}if(r.return!==s.return)r=l,s=u;else{for(var p=!1,v=l.child;v;){if(v===r){p=!0,r=l,s=u;break}if(v===s){p=!0,s=l,r=u;break}v=v.sibling}if(!p){for(v=u.child;v;){if(v===r){p=!0,r=u,s=l;break}if(v===s){p=!0,s=u,r=l;break}v=v.sibling}if(!p)throw Error(o(189))}}if(r.alternate!==s)throw Error(o(190))}if(r.tag!==3)throw Error(o(188));return r.stateNode.current===r?e:t}function Du(e){return e=vm(e),e!==null?ju(e):null}function ju(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ju(e);if(t!==null)return t;e=e.sibling}return null}var Ru=i.unstable_scheduleCallback,Nu=i.unstable_cancelCallback,xm=i.unstable_shouldYield,wm=i.unstable_requestPaint,Ne=i.unstable_now,Sm=i.unstable_getCurrentPriorityLevel,ao=i.unstable_ImmediatePriority,Lu=i.unstable_UserBlockingPriority,Pi=i.unstable_NormalPriority,km=i.unstable_LowPriority,Vu=i.unstable_IdlePriority,Ci=null,Rt=null;function Tm(e){if(Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(Ci,e,void 0,(e.current.flags&128)===128)}catch{}}var kt=Math.clz32?Math.clz32:Em,Pm=Math.log,Cm=Math.LN2;function Em(e){return e>>>=0,e===0?32:31-(Pm(e)/Cm|0)|0}var Ei=64,Mi=4194304;function Tr(e){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ai(e,t){var r=e.pendingLanes;if(r===0)return 0;var s=0,l=e.suspendedLanes,u=e.pingedLanes,p=r&268435455;if(p!==0){var v=p&~l;v!==0?s=Tr(v):(u&=p,u!==0&&(s=Tr(u)))}else p=r&~l,p!==0?s=Tr(p):u!==0&&(s=Tr(u));if(s===0)return 0;if(t!==0&&t!==s&&(t&l)===0&&(l=s&-s,u=t&-t,l>=u||l===16&&(u&4194240)!==0))return t;if((s&4)!==0&&(s|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=s;0<t;)r=31-kt(t),l=1<<r,s|=e[r],t&=~l;return s}function Mm(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Am(e,t){for(var r=e.suspendedLanes,s=e.pingedLanes,l=e.expirationTimes,u=e.pendingLanes;0<u;){var p=31-kt(u),v=1<<p,w=l[p];w===-1?((v&r)===0||(v&s)!==0)&&(l[p]=Mm(v,t)):w<=t&&(e.expiredLanes|=v),u&=~v}}function lo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Fu(){var e=Ei;return Ei<<=1,(Ei&4194240)===0&&(Ei=64),e}function uo(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Pr(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-kt(t),e[t]=r}function Dm(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var s=e.eventTimes;for(e=e.expirationTimes;0<r;){var l=31-kt(r),u=1<<l;t[l]=0,s[l]=-1,e[l]=-1,r&=~u}}function co(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var s=31-kt(r),l=1<<s;l&t|e[s]&t&&(e[s]|=t),r&=~l}}var ge=0;function _u(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Iu,fo,Ou,zu,Bu,po=!1,Di=[],qt=null,Yt=null,Xt=null,Cr=new Map,Er=new Map,Qt=[],jm="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 submit".split(" ");function bu(e,t){switch(e){case"focusin":case"focusout":qt=null;break;case"dragenter":case"dragleave":Yt=null;break;case"mouseover":case"mouseout":Xt=null;break;case"pointerover":case"pointerout":Cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Er.delete(t.pointerId)}}function Mr(e,t,r,s,l,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:r,eventSystemFlags:s,nativeEvent:u,targetContainers:[l]},t!==null&&(t=br(t),t!==null&&fo(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Rm(e,t,r,s,l){switch(t){case"focusin":return qt=Mr(qt,e,t,r,s,l),!0;case"dragenter":return Yt=Mr(Yt,e,t,r,s,l),!0;case"mouseover":return Xt=Mr(Xt,e,t,r,s,l),!0;case"pointerover":var u=l.pointerId;return Cr.set(u,Mr(Cr.get(u)||null,e,t,r,s,l)),!0;case"gotpointercapture":return u=l.pointerId,Er.set(u,Mr(Er.get(u)||null,e,t,r,s,l)),!0}return!1}function Uu(e){var t=wn(e.target);if(t!==null){var r=xn(t);if(r!==null){if(t=r.tag,t===13){if(t=Mu(r),t!==null){e.blockedOn=t,Bu(e.priority,function(){Ou(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ji(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=mo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var s=new r.constructor(r.type,r);to=s,r.target.dispatchEvent(s),to=null}else return t=br(r),t!==null&&fo(t),e.blockedOn=r,!1;t.shift()}return!0}function Wu(e,t,r){ji(e)&&r.delete(t)}function Nm(){po=!1,qt!==null&&ji(qt)&&(qt=null),Yt!==null&&ji(Yt)&&(Yt=null),Xt!==null&&ji(Xt)&&(Xt=null),Cr.forEach(Wu),Er.forEach(Wu)}function Ar(e,t){e.blockedOn===t&&(e.blockedOn=null,po||(po=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Nm)))}function Dr(e){function t(l){return Ar(l,e)}if(0<Di.length){Ar(Di[0],e);for(var r=1;r<Di.length;r++){var s=Di[r];s.blockedOn===e&&(s.blockedOn=null)}}for(qt!==null&&Ar(qt,e),Yt!==null&&Ar(Yt,e),Xt!==null&&Ar(Xt,e),Cr.forEach(t),Er.forEach(t),r=0;r<Qt.length;r++)s=Qt[r],s.blockedOn===e&&(s.blockedOn=null);for(;0<Qt.length&&(r=Qt[0],r.blockedOn===null);)Uu(r),r.blockedOn===null&&Qt.shift()}var Bn=Q.ReactCurrentBatchConfig,Ri=!0;function Lm(e,t,r,s){var l=ge,u=Bn.transition;Bn.transition=null;try{ge=1,ho(e,t,r,s)}finally{ge=l,Bn.transition=u}}function Vm(e,t,r,s){var l=ge,u=Bn.transition;Bn.transition=null;try{ge=4,ho(e,t,r,s)}finally{ge=l,Bn.transition=u}}function ho(e,t,r,s){if(Ri){var l=mo(e,t,r,s);if(l===null)No(e,t,s,Ni,r),bu(e,s);else if(Rm(l,e,t,r,s))s.stopPropagation();else if(bu(e,s),t&4&&-1<jm.indexOf(e)){for(;l!==null;){var u=br(l);if(u!==null&&Iu(u),u=mo(e,t,r,s),u===null&&No(e,t,s,Ni,r),u===l)break;l=u}l!==null&&s.stopPropagation()}else No(e,t,s,null,r)}}var Ni=null;function mo(e,t,r,s){if(Ni=null,e=no(s),e=wn(e),e!==null)if(t=xn(e),t===null)e=null;else if(r=t.tag,r===13){if(e=Mu(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ni=e,null}function $u(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Sm()){case ao:return 1;case Lu:return 4;case Pi:case km:return 16;case Vu:return 536870912;default:return 16}default:return 16}}var Jt=null,go=null,Li=null;function Hu(){if(Li)return Li;var e,t=go,r=t.length,s,l="value"in Jt?Jt.value:Jt.textContent,u=l.length;for(e=0;e<r&&t[e]===l[e];e++);var p=r-e;for(s=1;s<=p&&t[r-s]===l[u-s];s++);return Li=l.slice(e,1<s?1-s:void 0)}function Vi(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 Fi(){return!0}function Ku(){return!1}function ut(e){function t(r,s,l,u,p){this._reactName=r,this._targetInst=l,this.type=s,this.nativeEvent=u,this.target=p,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(r=e[v],this[v]=r?r(u):u[v]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Fi:Ku,this.isPropagationStopped=Ku,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Fi)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Fi)},persist:function(){},isPersistent:Fi}),t}var bn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yo=ut(bn),jr=U({},bn,{view:0,detail:0}),Fm=ut(jr),vo,xo,Rr,_i=U({},jr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:So,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!==Rr&&(Rr&&e.type==="mousemove"?(vo=e.screenX-Rr.screenX,xo=e.screenY-Rr.screenY):xo=vo=0,Rr=e),vo)},movementY:function(e){return"movementY"in e?e.movementY:xo}}),Gu=ut(_i),_m=U({},_i,{dataTransfer:0}),Im=ut(_m),Om=U({},jr,{relatedTarget:0}),wo=ut(Om),zm=U({},bn,{animationName:0,elapsedTime:0,pseudoElement:0}),Bm=ut(zm),bm=U({},bn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Um=ut(bm),Wm=U({},bn,{data:0}),qu=ut(Wm),$m={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hm={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"},Km={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Km[e])?!!t[e]:!1}function So(){return Gm}var qm=U({},jr,{key:function(e){if(e.key){var t=$m[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Vi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Hm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:So,charCode:function(e){return e.type==="keypress"?Vi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ym=ut(qm),Xm=U({},_i,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yu=ut(Xm),Qm=U({},jr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:So}),Jm=ut(Qm),Zm=U({},bn,{propertyName:0,elapsedTime:0,pseudoElement:0}),eg=ut(Zm),tg=U({},_i,{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}),ng=ut(tg),rg=[9,13,27,32],ko=h&&"CompositionEvent"in window,Nr=null;h&&"documentMode"in document&&(Nr=document.documentMode);var ig=h&&"TextEvent"in window&&!Nr,Xu=h&&(!ko||Nr&&8<Nr&&11>=Nr),Qu=" ",Ju=!1;function Zu(e,t){switch(e){case"keyup":return rg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ec(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Un=!1;function sg(e,t){switch(e){case"compositionend":return ec(t);case"keypress":return t.which!==32?null:(Ju=!0,Qu);case"textInput":return e=t.data,e===Qu&&Ju?null:e;default:return null}}function og(e,t){if(Un)return e==="compositionend"||!ko&&Zu(e,t)?(e=Hu(),Li=go=Jt=null,Un=!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 Xu&&t.locale!=="ko"?null:t.data;default:return null}}var ag={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 tc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ag[e.type]:t==="textarea"}function nc(e,t,r,s){ku(s),t=bi(t,"onChange"),0<t.length&&(r=new yo("onChange","change",null,r,s),e.push({event:r,listeners:t}))}var Lr=null,Vr=null;function lg(e){wc(e,0)}function Ii(e){var t=Gn(e);if(cu(t))return e}function ug(e,t){if(e==="change")return t}var rc=!1;if(h){var To;if(h){var Po="oninput"in document;if(!Po){var ic=document.createElement("div");ic.setAttribute("oninput","return;"),Po=typeof ic.oninput=="function"}To=Po}else To=!1;rc=To&&(!document.documentMode||9<document.documentMode)}function sc(){Lr&&(Lr.detachEvent("onpropertychange",oc),Vr=Lr=null)}function oc(e){if(e.propertyName==="value"&&Ii(Vr)){var t=[];nc(t,Vr,e,no(e)),Eu(lg,t)}}function cg(e,t,r){e==="focusin"?(sc(),Lr=t,Vr=r,Lr.attachEvent("onpropertychange",oc)):e==="focusout"&&sc()}function fg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ii(Vr)}function dg(e,t){if(e==="click")return Ii(t)}function pg(e,t){if(e==="input"||e==="change")return Ii(t)}function hg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Tt=typeof Object.is=="function"?Object.is:hg;function Fr(e,t){if(Tt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(s=0;s<r.length;s++){var l=r[s];if(!m.call(t,l)||!Tt(e[l],t[l]))return!1}return!0}function ac(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lc(e,t){var r=ac(e);e=0;for(var s;r;){if(r.nodeType===3){if(s=e+r.textContent.length,e<=t&&s>=t)return{node:r,offset:t-e};e=s}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ac(r)}}function uc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cc(){for(var e=window,t=wi();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=wi(e.document)}return t}function Co(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")}function mg(e){var t=cc(),r=e.focusedElem,s=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&uc(r.ownerDocument.documentElement,r)){if(s!==null&&Co(r)){if(t=s.start,e=s.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=r.textContent.length,u=Math.min(s.start,l);s=s.end===void 0?u:Math.min(s.end,l),!e.extend&&u>s&&(l=s,s=u,u=l),l=lc(r,u);var p=lc(r,s);l&&p&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==p.node||e.focusOffset!==p.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),u>s?(e.addRange(t),e.extend(p.node,p.offset)):(t.setEnd(p.node,p.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gg=h&&"documentMode"in document&&11>=document.documentMode,Wn=null,Eo=null,_r=null,Mo=!1;function fc(e,t,r){var s=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Mo||Wn==null||Wn!==wi(s)||(s=Wn,"selectionStart"in s&&Co(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),_r&&Fr(_r,s)||(_r=s,s=bi(Eo,"onSelect"),0<s.length&&(t=new yo("onSelect","select",null,t,r),e.push({event:t,listeners:s}),t.target=Wn)))}function Oi(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var $n={animationend:Oi("Animation","AnimationEnd"),animationiteration:Oi("Animation","AnimationIteration"),animationstart:Oi("Animation","AnimationStart"),transitionend:Oi("Transition","TransitionEnd")},Ao={},dc={};h&&(dc=document.createElement("div").style,"AnimationEvent"in window||(delete $n.animationend.animation,delete $n.animationiteration.animation,delete $n.animationstart.animation),"TransitionEvent"in window||delete $n.transitionend.transition);function zi(e){if(Ao[e])return Ao[e];if(!$n[e])return e;var t=$n[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in dc)return Ao[e]=t[r];return e}var pc=zi("animationend"),hc=zi("animationiteration"),mc=zi("animationstart"),gc=zi("transitionend"),yc=new Map,vc="abort auxClick 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(" ");function Zt(e,t){yc.set(e,t),d(t,[e])}for(var Do=0;Do<vc.length;Do++){var jo=vc[Do],yg=jo.toLowerCase(),vg=jo[0].toUpperCase()+jo.slice(1);Zt(yg,"on"+vg)}Zt(pc,"onAnimationEnd"),Zt(hc,"onAnimationIteration"),Zt(mc,"onAnimationStart"),Zt("dblclick","onDoubleClick"),Zt("focusin","onFocus"),Zt("focusout","onBlur"),Zt(gc,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="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(" "),xg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function xc(e,t,r){var s=e.type||"unknown-event";e.currentTarget=r,ym(s,t,void 0,e),e.currentTarget=null}function wc(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var s=e[r],l=s.event;s=s.listeners;e:{var u=void 0;if(t)for(var p=s.length-1;0<=p;p--){var v=s[p],w=v.instance,M=v.currentTarget;if(v=v.listener,w!==u&&l.isPropagationStopped())break e;xc(l,v,M),u=w}else for(p=0;p<s.length;p++){if(v=s[p],w=v.instance,M=v.currentTarget,v=v.listener,w!==u&&l.isPropagationStopped())break e;xc(l,v,M),u=w}}}if(Ti)throw e=oo,Ti=!1,oo=null,e}function ke(e,t){var r=t[Oo];r===void 0&&(r=t[Oo]=new Set);var s=e+"__bubble";r.has(s)||(Sc(t,e,2,!1),r.add(s))}function Ro(e,t,r){var s=0;t&&(s|=4),Sc(r,e,s,t)}var Bi="_reactListening"+Math.random().toString(36).slice(2);function Or(e){if(!e[Bi]){e[Bi]=!0,a.forEach(function(r){r!=="selectionchange"&&(xg.has(r)||Ro(r,!1,e),Ro(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Bi]||(t[Bi]=!0,Ro("selectionchange",!1,t))}}function Sc(e,t,r,s){switch($u(t)){case 1:var l=Lm;break;case 4:l=Vm;break;default:l=ho}r=l.bind(null,t,r,e),l=void 0,!so||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),s?l!==void 0?e.addEventListener(t,r,{capture:!0,passive:l}):e.addEventListener(t,r,!0):l!==void 0?e.addEventListener(t,r,{passive:l}):e.addEventListener(t,r,!1)}function No(e,t,r,s,l){var u=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var p=s.tag;if(p===3||p===4){var v=s.stateNode.containerInfo;if(v===l||v.nodeType===8&&v.parentNode===l)break;if(p===4)for(p=s.return;p!==null;){var w=p.tag;if((w===3||w===4)&&(w=p.stateNode.containerInfo,w===l||w.nodeType===8&&w.parentNode===l))return;p=p.return}for(;v!==null;){if(p=wn(v),p===null)return;if(w=p.tag,w===5||w===6){s=u=p;continue e}v=v.parentNode}}s=s.return}Eu(function(){var M=u,F=no(r),_=[];e:{var V=yc.get(e);if(V!==void 0){var W=yo,H=e;switch(e){case"keypress":if(Vi(r)===0)break e;case"keydown":case"keyup":W=Ym;break;case"focusin":H="focus",W=wo;break;case"focusout":H="blur",W=wo;break;case"beforeblur":case"afterblur":W=wo;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":W=Gu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=Im;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=Jm;break;case pc:case hc:case mc:W=Bm;break;case gc:W=eg;break;case"scroll":W=Fm;break;case"wheel":W=ng;break;case"copy":case"cut":case"paste":W=Um;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=Yu}var Y=(t&4)!==0,Le=!Y&&e==="scroll",P=Y?V!==null?V+"Capture":null:V;Y=[];for(var k=M,C;k!==null;){C=k;var O=C.stateNode;if(C.tag===5&&O!==null&&(C=O,P!==null&&(O=wr(k,P),O!=null&&Y.push(zr(k,O,C)))),Le)break;k=k.return}0<Y.length&&(V=new W(V,H,null,r,F),_.push({event:V,listeners:Y}))}}if((t&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",W=e==="mouseout"||e==="pointerout",V&&r!==to&&(H=r.relatedTarget||r.fromElement)&&(wn(H)||H[Ot]))break e;if((W||V)&&(V=F.window===F?F:(V=F.ownerDocument)?V.defaultView||V.parentWindow:window,W?(H=r.relatedTarget||r.toElement,W=M,H=H?wn(H):null,H!==null&&(Le=xn(H),H!==Le||H.tag!==5&&H.tag!==6)&&(H=null)):(W=null,H=M),W!==H)){if(Y=Gu,O="onMouseLeave",P="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(Y=Yu,O="onPointerLeave",P="onPointerEnter",k="pointer"),Le=W==null?V:Gn(W),C=H==null?V:Gn(H),V=new Y(O,k+"leave",W,r,F),V.target=Le,V.relatedTarget=C,O=null,wn(F)===M&&(Y=new Y(P,k+"enter",H,r,F),Y.target=C,Y.relatedTarget=Le,O=Y),Le=O,W&&H)t:{for(Y=W,P=H,k=0,C=Y;C;C=Hn(C))k++;for(C=0,O=P;O;O=Hn(O))C++;for(;0<k-C;)Y=Hn(Y),k--;for(;0<C-k;)P=Hn(P),C--;for(;k--;){if(Y===P||P!==null&&Y===P.alternate)break t;Y=Hn(Y),P=Hn(P)}Y=null}else Y=null;W!==null&&kc(_,V,W,Y,!1),H!==null&&Le!==null&&kc(_,Le,H,Y,!0)}}e:{if(V=M?Gn(M):window,W=V.nodeName&&V.nodeName.toLowerCase(),W==="select"||W==="input"&&V.type==="file")var X=ug;else if(tc(V))if(rc)X=pg;else{X=fg;var Z=cg}else(W=V.nodeName)&&W.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(X=dg);if(X&&(X=X(e,M))){nc(_,X,r,F);break e}Z&&Z(e,V,M),e==="focusout"&&(Z=V._wrapperState)&&Z.controlled&&V.type==="number"&&Xs(V,"number",V.value)}switch(Z=M?Gn(M):window,e){case"focusin":(tc(Z)||Z.contentEditable==="true")&&(Wn=Z,Eo=M,_r=null);break;case"focusout":_r=Eo=Wn=null;break;case"mousedown":Mo=!0;break;case"contextmenu":case"mouseup":case"dragend":Mo=!1,fc(_,r,F);break;case"selectionchange":if(gg)break;case"keydown":case"keyup":fc(_,r,F)}var ee;if(ko)e:{switch(e){case"compositionstart":var ie="onCompositionStart";break e;case"compositionend":ie="onCompositionEnd";break e;case"compositionupdate":ie="onCompositionUpdate";break e}ie=void 0}else Un?Zu(e,r)&&(ie="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(ie="onCompositionStart");ie&&(Xu&&r.locale!=="ko"&&(Un||ie!=="onCompositionStart"?ie==="onCompositionEnd"&&Un&&(ee=Hu()):(Jt=F,go="value"in Jt?Jt.value:Jt.textContent,Un=!0)),Z=bi(M,ie),0<Z.length&&(ie=new qu(ie,e,null,r,F),_.push({event:ie,listeners:Z}),ee?ie.data=ee:(ee=ec(r),ee!==null&&(ie.data=ee)))),(ee=ig?sg(e,r):og(e,r))&&(M=bi(M,"onBeforeInput"),0<M.length&&(F=new qu("onBeforeInput","beforeinput",null,r,F),_.push({event:F,listeners:M}),F.data=ee))}wc(_,t)})}function zr(e,t,r){return{instance:e,listener:t,currentTarget:r}}function bi(e,t){for(var r=t+"Capture",s=[];e!==null;){var l=e,u=l.stateNode;l.tag===5&&u!==null&&(l=u,u=wr(e,r),u!=null&&s.unshift(zr(e,u,l)),u=wr(e,t),u!=null&&s.push(zr(e,u,l))),e=e.return}return s}function Hn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function kc(e,t,r,s,l){for(var u=t._reactName,p=[];r!==null&&r!==s;){var v=r,w=v.alternate,M=v.stateNode;if(w!==null&&w===s)break;v.tag===5&&M!==null&&(v=M,l?(w=wr(r,u),w!=null&&p.unshift(zr(r,w,v))):l||(w=wr(r,u),w!=null&&p.push(zr(r,w,v)))),r=r.return}p.length!==0&&e.push({event:t,listeners:p})}var wg=/\r\n?/g,Sg=/\u0000|\uFFFD/g;function Tc(e){return(typeof e=="string"?e:""+e).replace(wg,` 38`).replace(Sg,"")}function Ui(e,t,r){if(t=Tc(t),Tc(e)!==t&&r)throw Error(o(425))}function Wi(){}var Lo=null,Vo=null;function Fo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _o=typeof setTimeout=="function"?setTimeout:void 0,kg=typeof clearTimeout=="function"?clearTimeout:void 0,Pc=typeof Promise=="function"?Promise:void 0,Tg=typeof queueMicrotask=="function"?queueMicrotask:typeof Pc<"u"?function(e){return Pc.resolve(null).then(e).catch(Pg)}:_o;function Pg(e){setTimeout(function(){throw e})}function Io(e,t){var r=t,s=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(s===0){e.removeChild(l),Dr(t);return}s--}else r!=="$"&&r!=="$?"&&r!=="$!"||s++;r=l}while(r);Dr(t)}function en(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==="$?")break;if(t==="/$")return null}}return e}function Cc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Kn=Math.random().toString(36).slice(2),Nt="__reactFiber$"+Kn,Br="__reactProps$"+Kn,Ot="__reactContainer$"+Kn,Oo="__reactEvents$"+Kn,Cg="__reactListeners$"+Kn,Eg="__reactHandles$"+Kn;function wn(e){var t=e[Nt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Ot]||r[Nt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Cc(e);e!==null;){if(r=e[Nt])return r;e=Cc(e)}return t}e=r,r=e.parentNode}return null}function br(e){return e=e[Nt]||e[Ot],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function $i(e){return e[Br]||null}var zo=[],qn=-1;function tn(e){return{current:e}}function Te(e){0>qn||(e.current=zo[qn],zo[qn]=null,qn--)}function Se(e,t){qn++,zo[qn]=e.current,e.current=t}var nn={},Ke=tn(nn),nt=tn(!1),Sn=nn;function Yn(e,t){var r=e.type.contextTypes;if(!r)return nn;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in r)l[u]=t[u];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function rt(e){return e=e.childContextTypes,e!=null}function Hi(){Te(nt),Te(Ke)}function Ec(e,t,r){if(Ke.current!==nn)throw Error(o(168));Se(Ke,t),Se(nt,r)}function Mc(e,t,r){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return r;s=s.getChildContext();for(var l in s)if(!(l in t))throw Error(o(108,ve(e)||"Unknown",l));return U({},r,s)}function Ki(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,Sn=Ke.current,Se(Ke,e),Se(nt,nt.current),!0}function Ac(e,t,r){var s=e.stateNode;if(!s)throw Error(o(169));r?(e=Mc(e,t,Sn),s.__reactInternalMemoizedMergedChildContext=e,Te(nt),Te(Ke),Se(Ke,e)):Te(nt),Se(nt,r)}var zt=null,Gi=!1,Bo=!1;
vendor: 5,228 bytes, line 38
38function Dc(e){zt===null?zt=[e]:zt.push(e)}function Mg(e){Gi=!0,Dc(e)}function rn(){if(!Bo&&zt!==null){Bo=!0;var e=0,t=ge;try{var r=zt;for(ge=1;e<r.length;e++){var s=r[e];do s=s(!0);while(s!==null)}zt=null,Gi=!1}catch(l){throw zt!==null&&(zt=zt.slice(e+1)),Ru(ao,rn),l}finally{ge=t,Bo=!1}}return null}var Xn=[],Qn=0,qi=null,Yi=0,pt=[],ht=0,kn=null,Bt=1,bt="";function Tn(e,t){Xn[Qn++]=Yi,Xn[Qn++]=qi,qi=e,Yi=t}function jc(e,t,r){pt[ht++]=Bt,pt[ht++]=bt,pt[ht++]=kn,kn=e;var s=Bt;e=bt;var l=32-kt(s)-1;s&=~(1<<l),r+=1;var u=32-kt(t)+l;if(30<u){var p=l-l%5;u=(s&(1<<p)-1).toString(32),s>>=p,l-=p,Bt=1<<32-kt(t)+l|r<<l|s,bt=u+e}else Bt=1<<u|r<<l|s,bt=e}function bo(e){e.return!==null&&(Tn(e,1),jc(e,1,0))}function Uo(e){for(;e===qi;)qi=Xn[--Qn],Xn[Qn]=null,Yi=Xn[--Qn],Xn[Qn]=null;for(;e===kn;)kn=pt[--ht],pt[ht]=null,bt=pt[--ht],pt[ht]=null,Bt=pt[--ht],pt[ht]=null}var ct=null,ft=null,Ee=!1,Pt=null;function Rc(e,t){var r=vt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Nc(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ct=e,ft=en(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ct=e,ft=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=kn!==null?{id:Bt,overflow:bt}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=vt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,ct=e,ft=null,!0):!1;default:return!1}}function Wo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $o(e){if(Ee){var t=ft;if(t){var r=t;if(!Nc(e,t)){if(Wo(e))throw Error(o(418));t=en(r.nextSibling);var s=ct;t&&Nc(e,t)?Rc(s,r):(e.flags=e.flags&-4097|2,Ee=!1,ct=e)}}else{if(Wo(e))throw Error(o(418));e.flags=e.flags&-4097|2,Ee=!1,ct=e}}}function Lc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ct=e}function Xi(e){if(e!==ct)return!1;if(!Ee)return Lc(e),Ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Fo(e.type,e.memoizedProps)),t&&(t=ft)){if(Wo(e))throw Vc(),Error(o(418));for(;t;)Rc(e,t),t=en(t.nextSibling)}if(Lc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){ft=en(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}ft=null}}else ft=ct?en(e.stateNode.nextSibling):null;return!0}function Vc(){for(var e=ft;e;)e=en(e.nextSibling)}function Jn(){ft=ct=null,Ee=!1}function Ho(e){Pt===null?Pt=[e]:Pt.push(e)}var Ag=Q.ReactCurrentBatchConfig;function Ur(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(o(309));var s=r.stateNode}if(!s)throw Error(o(147,e));var l=s,u=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===u?t.ref:(t=function(p){var v=l.refs;p===null?delete v[u]:v[u]=p},t._stringRef=u,t)}if(typeof e!="string")throw Error(o(284));if(!r._owner)throw Error(o(290,e))}return e}function Qi(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Fc(e){var t=e._init;return t(e._payload)}function _c(e){function t(P,k){if(e){var C=P.deletions;C===null?(P.deletions=[k],P.flags|=16):C.push(k)}}function r(P,k){if(!e)return null;for(;k!==null;)t(P,k),k=k.sibling;return null}function s(P,k){for(P=new Map;k!==null;)k.key!==null?P.set(k.key,k):P.set(k.index,k),k=k.sibling;return P}function l(P,k){return P=dn(P,k),P.index=0,P.sibling=null,P}function u(P,k,C){return P.index=C,e?(C=P.alternate,C!==null?(C=C.index,C<k?(P.flags|=2,k):C):(P.flags|=2,k)):(P.flags|=1048576,k)}function p(P){return e&&P.alternate===null&&(P.flags|=2),P}function v(P,k,C,O){return k===null||k.tag!==6?(k=_a(C,P.mode,O),k.return=P,k):(k=l(k,C),k.return=P,k)}function w(P,k,C,O){var X=C.type;return X===le?F(P,k,C.props.children,O,C.key):k!==null&&(k.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===me&&Fc(X)===k.type)?(O=l(k,C.props),O.ref=Ur(P,k,C),O.return=P,O):(O=Ss(C.type,C.key,C.props,null,P.mode,O),O.ref=Ur(P,k,C),O.return=P,O)}function M(P,k,C,O){return k===null||k.tag!==4||k.stateNode.containerInfo!==C.containerInfo||k.stateNode.implementation!==C.implementation?(k=Ia(C,P.mode,O),k.return=P,k):(k=l(k,C.children||[]),k.return=P,k)}function F(P,k,C,O,X){return k===null||k.tag!==7?(k=Rn(C,P.mode,O,X),k.return=P,k):(k=l(k,C),k.return=P,k)}function _(P,k,C){if(typeof k=="string"&&k!==""||typeof k=="number")return k=_a(""+k,P.mode,C),k.return=P,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case G:return C=Ss(k.type,k.key,k.props,null,P.mode,C),C.ref=Ur(P,null,k),C.return=P,C;case re:return k=Ia(k,P.mode,C),k.return=P,k;case me:var O=k._init;return _(P,O(k._payload),C)}if(yr(k)||q(k))return k=Rn(k,P.mode,C,null),k.return=P,k;Qi(P,k)}return null}function V(P,k,C,O){var X=k!==null?k.key:null;if(typeof C=="string"&&C!==""||typeof C=="number")return X!==null?null:v(P,k,""+C,O);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case G:return C.key===X?
vendor: 9,647 bytes, line 38
38w(P,k,C,O):null;case re:return C.key===X?M(P,k,C,O):null;case me:return X=C._init,V(P,k,X(C._payload),O)}if(yr(C)||q(C))return X!==null?null:F(P,k,C,O,null);Qi(P,C)}return null}function W(P,k,C,O,X){if(typeof O=="string"&&O!==""||typeof O=="number")return P=P.get(C)||null,v(k,P,""+O,X);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case G:return P=P.get(O.key===null?C:O.key)||null,w(k,P,O,X);case re:return P=P.get(O.key===null?C:O.key)||null,M(k,P,O,X);case me:var Z=O._init;return W(P,k,C,Z(O._payload),X)}if(yr(O)||q(O))return P=P.get(C)||null,F(k,P,O,X,null);Qi(k,O)}return null}function H(P,k,C,O){for(var X=null,Z=null,ee=k,ie=k=0,be=null;ee!==null&&ie<C.length;ie++){ee.index>ie?(be=ee,ee=null):be=ee.sibling;var he=V(P,ee,C[ie],O);if(he===null){ee===null&&(ee=be);break}e&&ee&&he.alternate===null&&t(P,ee),k=u(he,k,ie),Z===null?X=he:Z.sibling=he,Z=he,ee=be}if(ie===C.length)return r(P,ee),Ee&&Tn(P,ie),X;if(ee===null){for(;ie<C.length;ie++)ee=_(P,C[ie],O),ee!==null&&(k=u(ee,k,ie),Z===null?X=ee:Z.sibling=ee,Z=ee);return Ee&&Tn(P,ie),X}for(ee=s(P,ee);ie<C.length;ie++)be=W(ee,P,ie,C[ie],O),be!==null&&(e&&be.alternate!==null&&ee.delete(be.key===null?ie:be.key),k=u(be,k,ie),Z===null?X=be:Z.sibling=be,Z=be);return e&&ee.forEach(function(pn){return t(P,pn)}),Ee&&Tn(P,ie),X}function Y(P,k,C,O){var X=q(C);if(typeof X!="function")throw Error(o(150));if(C=X.call(C),C==null)throw Error(o(151));for(var Z=X=null,ee=k,ie=k=0,be=null,he=C.next();ee!==null&&!he.done;ie++,he=C.next()){ee.index>ie?(be=ee,ee=null):be=ee.sibling;var pn=V(P,ee,he.value,O);if(pn===null){ee===null&&(ee=be);break}e&&ee&&pn.alternate===null&&t(P,ee),k=u(pn,k,ie),Z===null?X=pn:Z.sibling=pn,Z=pn,ee=be}if(he.done)return r(P,ee),Ee&&Tn(P,ie),X;if(ee===null){for(;!he.done;ie++,he=C.next())he=_(P,he.value,O),he!==null&&(k=u(he,k,ie),Z===null?X=he:Z.sibling=he,Z=he);return Ee&&Tn(P,ie),X}for(ee=s(P,ee);!he.done;ie++,he=C.next())he=W(ee,P,ie,he.value,O),he!==null&&(e&&he.alternate!==null&&ee.delete(he.key===null?ie:he.key),k=u(he,k,ie),Z===null?X=he:Z.sibling=he,Z=he);return e&&ee.forEach(function(ay){return t(P,ay)}),Ee&&Tn(P,ie),X}function Le(P,k,C,O){if(typeof C=="object"&&C!==null&&C.type===le&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case G:e:{for(var X=C.key,Z=k;Z!==null;){if(Z.key===X){if(X=C.type,X===le){if(Z.tag===7){r(P,Z.sibling),k=l(Z,C.props.children),k.return=P,P=k;break e}}else if(Z.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===me&&Fc(X)===Z.type){r(P,Z.sibling),k=l(Z,C.props),k.ref=Ur(P,Z,C),k.return=P,P=k;break e}r(P,Z);break}else t(P,Z);Z=Z.sibling}C.type===le?(k=Rn(C.props.children,P.mode,O,C.key),k.return=P,P=k):(O=Ss(C.type,C.key,C.props,null,P.mode,O),O.ref=Ur(P,k,C),O.return=P,P=O)}return p(P);case re:e:{for(Z=C.key;k!==null;){if(k.key===Z)if(k.tag===4&&k.stateNode.containerInfo===C.containerInfo&&k.stateNode.implementation===C.implementation){r(P,k.sibling),k=l(k,C.children||[]),k.return=P,P=k;break e}else{r(P,k);break}else t(P,k);k=k.sibling}k=Ia(C,P.mode,O),k.return=P,P=k}return p(P);case me:return Z=C._init,Le(P,k,Z(C._payload),O)}if(yr(C))return H(P,k,C,O);if(q(C))return Y(P,k,C,O);Qi(P,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,k!==null&&k.tag===6?(r(P,k.sibling),k=l(k,C),k.return=P,P=k):(r(P,k),k=_a(C,P.mode,O),k.return=P,P=k),p(P)):r(P,k)}return Le}var Zn=_c(!0),Ic=_c(!1),Ji=tn(null),Zi=null,er=null,Ko=null;function Go(){Ko=er=Zi=null}function qo(e){var t=Ji.current;Te(Ji),e._currentValue=t}function Yo(e,t,r){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===r)break;e=e.return}}function tr(e,t){Zi=e,Ko=er=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(it=!0),e.firstContext=null)}function mt(e){var t=e._currentValue;if(Ko!==e)if(e={context:e,memoizedValue:t,next:null},er===null){if(Zi===null)throw Error(o(308));er=e,Zi.dependencies={lanes:0,firstContext:e}}else er=er.next=e;return t}var Pn=null;function Xo(e){Pn===null?Pn=[e]:Pn.push(e)}function Oc(e,t,r,s){var l=t.interleaved;return l===null?(r.next=r,Xo(t)):(r.next=l.next,l.next=r),t.interleaved=r,Ut(e,s)}function Ut(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var sn=!1;function Qo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function on(e,t,r){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(de&2)!==0){var l=s.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),s.pending=t,Ut(e,r)}return l=s.interleaved,l===null?(t.next=t,Xo(s)):(t.next=l.next,l.next=t),s.interleaved=t,Ut(e,r)}function es(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var s=t.lanes;s&=e.pendingLanes,r|=s,t.lanes=r,co(e,r)}}function Bc(e,t){var r=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,r===s)){var l=null,u=null;if(r=r.firstBaseUpdate,r!==null){do{var p={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};u===null?l=u=p:u=u.next=p,r=r.next}while(r!==null);u===null?l=u=t:u=u.next=t}else l=u=t;r={baseState:s.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:s.shared,effects:s.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function ts(e,t,r,s){var l=e.updateQueue;sn=!1;var u=l.firstBaseUpdate,p=l.lastBaseUpdate,v=l.shared.pending;if(v!==null){l.shared.pending=null;var w=v,M=w.next;w.next=null,p===null?u=M:p.next=M,p=w;var F=e.alternate;F!==null&&(F=F.updateQueue,v=F.lastBaseUpdate,v!==p&&(v===null?F.firstBaseUpdate=M:v.next=M,F.lastBaseUpdate=w))}if(u!==null){var _=l.baseState;p=0,F=M=w=null,v=u;do{var V=v.lane,W=v.eventTime;if((s&V)===V){F!==null&&(F=F.next={eventTime:W,lane:0,tag:v.tag,payload:v.payload,callback:v.callback,next:null});e:{var H=e,Y=v;switch(V=t,W=r,Y.tag){case 1:if(H=Y.payload,typeof H=="function"){_=H.call(W,_,V);break e}_=H;break e;case 3:H.flags=H.flags&-65537|128;case 0:if(H=Y.payload,V=typeof H=="function"?H.call(W,_,V):H,V==null)break e;_=U({},_,V);break e;case 2:sn=!0}}v.callback!==null&&v.lane!==0&&(e.flags|=64,V=l.effects,V===null?l.effects=[v]:V.push(v))}else W={eventTime:W,lane:V,tag:v.tag,payload:v.payload,callback:v.callback,next:null},F===null?(M=F=W,w=_):F=F.next=W,p|=V;if(v=v.next,v===null){if(v=l.shared.pending,v===null)break;V=v,v=V.next,V.next=null,l.lastBaseUpdate=V,l.shared.pending=null}}while(!0);if(F===null&&(w=_),l.baseState=w,l.firstBaseUpdate=M,l.lastBaseUpdate=F,t=l.shared.interleaved,t!==null){l=t;do p|=l.lane,l=l.next;while(l!==t)}else u===null&&(l.shared.lanes=0);Mn|=p,e.lanes=p,e.memoizedState=_}}function bc(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var s=e[t],l=s.callback;if(l!==null){if(s.callback=null,s=r,typeof l!="function")throw Error(o(191,l));l.call(s)}}}var Wr={},Lt=tn(Wr),$r=tn(Wr),Hr=tn(Wr);function Cn(e){if(e===Wr)throw Error(o(174));return e}function Jo(e,t){switch(Se(Hr,t),Se($r,e),Se(Lt,Wr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Js(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Js(t,e)}Te(Lt),Se(Lt,t)}function nr(){Te(Lt),Te($r),Te(Hr)}function Uc(e){Cn(Hr.current);var t=Cn(Lt.current),r=Js(t,e.type);t!==r&&(Se($r,e),Se(Lt,r))}function Zo(e){$r.current===e&&(Te(Lt),Te($r))}var Me=tn(0);function ns(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){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 ea=[];function ta(){for(var e=0;e<ea.length;e++)ea[e]._workInProgressVersionPrimary=null;ea.length=0}var rs=Q.ReactCurrentDispatcher,na=Q.ReactCurrentBatchConfig,En=0,Ae=null,_e=null,ze=null,is=!1,Kr=!1,Gr=0,Dg=0;function Ge(){throw Error(o(321))}function ra(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Tt(e[r],t[r]))return!1;return!0}function ia(e,t,r,s,l,u){if(En=u,Ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,rs.current=e===null||e.memoizedState===null?Lg:Vg,e=r(s,l),Kr){u=0;do{if(Kr=!1,Gr=0,25<=u)throw Error(o(301));u+=1,ze=_e=null,t.updateQueue=null,rs.current=Fg,e=r(s,l)}while(Kr)}if(rs.current=as,t=_e!==null&&_e.next!==null,En=0,ze=_e=Ae=null,is=!1,t)throw Error(o(300));return e}function sa(){var e=Gr!==0;return Gr=0,e}function Vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ze===null?Ae.memoizedState=ze=e:ze=ze.next=e,ze}function gt(){if(_e===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=_e.next;var t=ze===null?Ae.memoizedState:ze.next;if(t!==null)ze=t,_e=e;else{if(e===null)throw Error(o(310));_e=e,e={memoizedState:_e.memoizedState,baseState:_e.baseState,baseQueue:_e.baseQueue,queue:_e.queue,next:null},ze===null?Ae.memoizedState=ze=e:ze=ze.next=e}return ze}function qr(e,t){return typeof t=="function"?t(e):t}
vendor: 5,797 bytes, line 38
38function oa(e){var t=gt(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var s=_e,l=s.baseQueue,u=r.pending;if(u!==null){if(l!==null){var p=l.next;l.next=u.next,u.next=p}s.baseQueue=l=u,r.pending=null}if(l!==null){u=l.next,s=s.baseState;var v=p=null,w=null,M=u;do{var F=M.lane;if((En&F)===F)w!==null&&(w=w.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),s=M.hasEagerState?M.eagerState:e(s,M.action);else{var _={lane:F,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};w===null?(v=w=_,p=s):w=w.next=_,Ae.lanes|=F,Mn|=F}M=M.next}while(M!==null&&M!==u);w===null?p=s:w.next=v,Tt(s,t.memoizedState)||(it=!0),t.memoizedState=s,t.baseState=p,t.baseQueue=w,r.lastRenderedState=s}if(e=r.interleaved,e!==null){l=e;do u=l.lane,Ae.lanes|=u,Mn|=u,l=l.next;while(l!==e)}else l===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function aa(e){var t=gt(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var s=r.dispatch,l=r.pending,u=t.memoizedState;if(l!==null){r.pending=null;var p=l=l.next;do u=e(u,p.action),p=p.next;while(p!==l);Tt(u,t.memoizedState)||(it=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),r.lastRenderedState=u}return[u,s]}function Wc(){}function $c(e,t){var r=Ae,s=gt(),l=t(),u=!Tt(s.memoizedState,l);if(u&&(s.memoizedState=l,it=!0),s=s.queue,la(Gc.bind(null,r,s,e),[e]),s.getSnapshot!==t||u||ze!==null&&ze.memoizedState.tag&1){if(r.flags|=2048,Yr(9,Kc.bind(null,r,s,l,t),void 0,null),Be===null)throw Error(o(349));(En&30)!==0||Hc(r,t,l)}return l}function Hc(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Kc(e,t,r,s){t.value=r,t.getSnapshot=s,qc(t)&&Yc(e)}function Gc(e,t,r){return r(function(){qc(t)&&Yc(e)})}function qc(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Tt(e,r)}catch{return!0}}function Yc(e){var t=Ut(e,1);t!==null&&At(t,e,1,-1)}function Xc(e){var t=Vt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:e},t.queue=e,e=e.dispatch=Ng.bind(null,Ae,e),[t.memoizedState,e]}function Yr(e,t,r,s){return e={tag:e,create:t,destroy:r,deps:s,next:null},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(s=r.next,r.next=e,e.next=s,t.lastEffect=e)),e}function Qc(){return gt().memoizedState}function ss(e,t,r,s){var l=Vt();Ae.flags|=e,l.memoizedState=Yr(1|t,r,void 0,s===void 0?null:s)}function os(e,t,r,s){var l=gt();s=s===void 0?null:s;var u=void 0;if(_e!==null){var p=_e.memoizedState;if(u=p.destroy,s!==null&&ra(s,p.deps)){l.memoizedState=Yr(t,r,u,s);return}}Ae.flags|=e,l.memoizedState=Yr(1|t,r,u,s)}function Jc(e,t){return ss(8390656,8,e,t)}function la(e,t){return os(2048,8,e,t)}function Zc(e,t){return os(4,2,e,t)}function ef(e,t){return os(4,4,e,t)}function tf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function nf(e,t,r){return r=r!=null?r.concat([e]):null,os(4,4,tf.bind(null,t,e),r)}function ua(){}function rf(e,t){var r=gt();t=t===void 0?null:t;var s=r.memoizedState;return s!==null&&t!==null&&ra(t,s[1])?s[0]:(r.memoizedState=[e,t],e)}function sf(e,t){var r=gt();t=t===void 0?null:t;var s=r.memoizedState;return s!==null&&t!==null&&ra(t,s[1])?s[0]:(e=e(),r.memoizedState=[e,t],e)}function of(e,t,r){return(En&21)===0?(e.baseState&&(e.baseState=!1,it=!0),e.memoizedState=r):(Tt(r,t)||(r=Fu(),Ae.lanes|=r,Mn|=r,e.baseState=!0),t)}function jg(e,t){var r=ge;ge=r!==0&&4>r?r:4,e(!0);var s=na.transition;na.transition={};try{e(!1),t()}finally{ge=r,na.transition=s}}function af(){return gt().memoizedState}function Rg(e,t,r){var s=cn(e);if(r={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null},lf(e))uf(t,r);else if(r=Oc(e,t,r,s),r!==null){var l=Ze();At(r,e,s,l),cf(r,t,s)}}function Ng(e,t,r){var s=cn(e),l={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null};if(lf(e))uf(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var p=t.lastRenderedState,v=u(p,r);if(l.hasEagerState=!0,l.eagerState=v,Tt(v,p)){var w=t.interleaved;w===null?(l.next=l,Xo(t)):(l.next=w.next,w.next=l),t.interleaved=l;return}}catch{}finally{}r=Oc(e,t,l,s),r!==null&&(l=Ze(),At(r,e,s,l),cf(r,t,s))}}function lf(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function uf(e,t){Kr=is=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function cf(e,t,r){if((r&4194240)!==0){var s=t.lanes;s&=e.pendingLanes,r|=s,t.lanes=r,co(e,r)}}var as={readContext:mt,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useInsertionEffect:Ge,useLayoutEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useMutableSource:Ge,useSyncExternalStore:Ge,useId:Ge,unstable_isNewReconciler:!1},Lg={readContext:mt,useCallback:function(e,t){return Vt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:Jc,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,ss(4194308,4,tf.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ss(4194308,4,e,t)},useInsertionEffect:function(e,t){return ss(4,2,e,t)},useMemo:function(e,t){var r=Vt();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var s=Vt();return t=r!==void 0?r(t):t,s.memoizedState=s.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},s.queue=e,e=e.dispatch=Rg.bind(null,Ae,e),[s.memoizedState,e]}
vendor: 4,282 bytes, line 38
38,useRef:function(e){var t=Vt();return e={current:e},t.memoizedState=e},useState:Xc,useDebugValue:ua,useDeferredValue:function(e){return Vt().memoizedState=e},useTransition:function(){var e=Xc(!1),t=e[0];return e=jg.bind(null,e[1]),Vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var s=Ae,l=Vt();if(Ee){if(r===void 0)throw Error(o(407));r=r()}else{if(r=t(),Be===null)throw Error(o(349));(En&30)!==0||Hc(s,t,r)}l.memoizedState=r;var u={value:r,getSnapshot:t};return l.queue=u,Jc(Gc.bind(null,s,u,e),[e]),s.flags|=2048,Yr(9,Kc.bind(null,s,u,r,t),void 0,null),r},useId:function(){var e=Vt(),t=Be.identifierPrefix;if(Ee){var r=bt,s=Bt;r=(s&~(1<<32-kt(s)-1)).toString(32)+r,t=":"+t+"R"+r,r=Gr++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Dg++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Vg={readContext:mt,useCallback:rf,useContext:mt,useEffect:la,useImperativeHandle:nf,useInsertionEffect:Zc,useLayoutEffect:ef,useMemo:sf,useReducer:oa,useRef:Qc,useState:function(){return oa(qr)},useDebugValue:ua,useDeferredValue:function(e){var t=gt();return of(t,_e.memoizedState,e)},useTransition:function(){var e=oa(qr)[0],t=gt().memoizedState;return[e,t]},useMutableSource:Wc,useSyncExternalStore:$c,useId:af,unstable_isNewReconciler:!1},Fg={readContext:mt,useCallback:rf,useContext:mt,useEffect:la,useImperativeHandle:nf,useInsertionEffect:Zc,useLayoutEffect:ef,useMemo:sf,useReducer:aa,useRef:Qc,useState:function(){return aa(qr)},useDebugValue:ua,useDeferredValue:function(e){var t=gt();return _e===null?t.memoizedState=e:of(t,_e.memoizedState,e)},useTransition:function(){var e=aa(qr)[0],t=gt().memoizedState;return[e,t]},useMutableSource:Wc,useSyncExternalStore:$c,useId:af,unstable_isNewReconciler:!1};function Ct(e,t){if(e&&e.defaultProps){t=U({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function ca(e,t,r,s){t=e.memoizedState,r=r(s,t),r=r==null?t:U({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var ls={isMounted:function(e){return(e=e._reactInternals)?xn(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var s=Ze(),l=cn(e),u=Wt(s,l);u.payload=t,r!=null&&(u.callback=r),t=on(e,u,l),t!==null&&(At(t,e,l,s),es(t,e,l))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var s=Ze(),l=cn(e),u=Wt(s,l);u.tag=1,u.payload=t,r!=null&&(u.callback=r),t=on(e,u,l),t!==null&&(At(t,e,l,s),es(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ze(),s=cn(e),l=Wt(r,s);l.tag=2,t!=null&&(l.callback=t),t=on(e,l,s),t!==null&&(At(t,e,s,r),es(t,e,s))}};function ff(e,t,r,s,l,u,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,u,p):t.prototype&&t.prototype.isPureReactComponent?!Fr(r,s)||!Fr(l,u):!0}function df(e,t,r){var s=!1,l=nn,u=t.contextType;return typeof u=="object"&&u!==null?u=mt(u):(l=rt(t)?Sn:Ke.current,s=t.contextTypes,u=(s=s!=null)?Yn(e,l):nn),t=new t(r,u),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ls,e.stateNode=t,t._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=u),t}function pf(e,t,r,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,s),t.state!==e&&ls.enqueueReplaceState(t,t.state,null)}function fa(e,t,r,s){var l=e.stateNode;l.props=r,l.state=e.memoizedState,l.refs={},Qo(e);var u=t.contextType;typeof u=="object"&&u!==null?l.context=mt(u):(u=rt(t)?Sn:Ke.current,l.context=Yn(e,u)),l.state=e.memoizedState,u=t.getDerivedStateFromProps,typeof u=="function"&&(ca(e,t,u,r),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&ls.enqueueReplaceState(l,l.state,null),ts(e,r,l,s),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function rr(e,t){try{var r="",s=t;
vendor: 13,806 bytes, lines 38-40
38do r+=ue(s),s=s.return;while(s);var l=r}catch(u){l=` 39Error generating stack: `+u.message+` 40`+u.stack}return{value:e,source:t,stack:l,digest:null}}function da(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function pa(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var _g=typeof WeakMap=="function"?WeakMap:Map;function hf(e,t,r){r=Wt(-1,r),r.tag=3,r.payload={element:null};var s=t.value;return r.callback=function(){ms||(ms=!0,Aa=s),pa(e,t)},r}function mf(e,t,r){r=Wt(-1,r),r.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var l=t.value;r.payload=function(){return s(l)},r.callback=function(){pa(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(r.callback=function(){pa(e,t),typeof s!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var p=t.stack;this.componentDidCatch(t.value,{componentStack:p!==null?p:""})}),r}function gf(e,t,r){var s=e.pingCache;if(s===null){s=e.pingCache=new _g;var l=new Set;s.set(t,l)}else l=s.get(t),l===void 0&&(l=new Set,s.set(t,l));l.has(r)||(l.add(r),e=Xg.bind(null,e,t,r),t.then(e,e))}function yf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function vf(e,t,r,s,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Wt(-1,1),t.tag=2,on(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var Ig=Q.ReactCurrentOwner,it=!1;function Je(e,t,r,s){t.child=e===null?Ic(t,null,r,s):Zn(t,e.child,r,s)}function xf(e,t,r,s,l){r=r.render;var u=t.ref;return tr(t,l),s=ia(e,t,r,s,u,l),r=sa(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,$t(e,t,l)):(Ee&&r&&bo(t),t.flags|=1,Je(e,t,s,l),t.child)}function wf(e,t,r,s,l){if(e===null){var u=r.type;return typeof u=="function"&&!Fa(u)&&u.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=u,Sf(e,t,u,s,l)):(e=Ss(r.type,null,s,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,(e.lanes&l)===0){var p=u.memoizedProps;if(r=r.compare,r=r!==null?r:Fr,r(p,s)&&e.ref===t.ref)return $t(e,t,l)}return t.flags|=1,e=dn(u,s),e.ref=t.ref,e.return=t,t.child=e}function Sf(e,t,r,s,l){if(e!==null){var u=e.memoizedProps;if(Fr(u,s)&&e.ref===t.ref)if(it=!1,t.pendingProps=s=u,(e.lanes&l)!==0)(e.flags&131072)!==0&&(it=!0);else return t.lanes=e.lanes,$t(e,t,l)}return ha(e,t,r,s,l)}function kf(e,t,r){var s=t.pendingProps,l=s.children,u=e!==null?e.memoizedState:null;if(s.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Se(sr,dt),dt|=r;else{if((r&1073741824)===0)return e=u!==null?u.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Se(sr,dt),dt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=u!==null?u.baseLanes:r,Se(sr,dt),dt|=s}else u!==null?(s=u.baseLanes|r,t.memoizedState=null):s=r,Se(sr,dt),dt|=s;return Je(e,t,l,r),t.child}function Tf(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function ha(e,t,r,s,l){var u=rt(r)?Sn:Ke.current;return u=Yn(t,u),tr(t,l),r=ia(e,t,r,s,u,l),s=sa(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,$t(e,t,l)):(Ee&&s&&bo(t),t.flags|=1,Je(e,t,r,l),t.child)}function Pf(e,t,r,s,l){if(rt(r)){var u=!0;Ki(t)}else u=!1;if(tr(t,l),t.stateNode===null)cs(e,t),df(t,r,s),fa(t,r,s,l),s=!0;else if(e===null){var p=t.stateNode,v=t.memoizedProps;p.props=v;var w=p.context,M=r.contextType;typeof M=="object"&&M!==null?M=mt(M):(M=rt(r)?Sn:Ke.current,M=Yn(t,M));var F=r.getDerivedStateFromProps,_=typeof F=="function"||typeof p.getSnapshotBeforeUpdate=="function";_||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(v!==s||w!==M)&&pf(t,p,s,M),sn=!1;var V=t.memoizedState;p.state=V,ts(t,s,p,l),w=t.memoizedState,v!==s||V!==w||nt.current||sn?(typeof F=="function"&&(ca(t,r,F,s),w=t.memoizedState),(v=sn||ff(t,r,v,s,V,w,M))?(_||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(t.flags|=4194308)):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=w),p.props=s,p.state=w,p.context=M,s=v):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{p=t.stateNode,zc(e,t),v=t.memoizedProps,M=t.type===t.elementType?v:Ct(t.type,v),p.props=M,_=t.pendingProps,V=p.context,w=r.contextType,typeof w=="object"&&w!==null?w=mt(w):(w=rt(r)?Sn:Ke.current,w=Yn(t,w));var W=r.getDerivedStateFromProps;(F=typeof W=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(v!==_||V!==w)&&pf(t,p,s,w),sn=!1,V=t.memoizedState,p.state=V,ts(t,s,p,l);var H=t.memoizedState;v!==_||V!==H||nt.current||sn?(typeof W=="function"&&(ca(t,r,W,s),H=t.memoizedState),(M=sn||ff(t,r,M,s,V,H,w)||!1)?(F||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(s,H,w),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(s,H,w)),typeof p.componentDidUpdate=="function"&&(t.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof p.componentDidUpdate!="function"||v===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=H),p.props=s,p.state=H,p.context=w,s=M):(typeof p.componentDidUpdate!="function"||v===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),s=!1)}return ma(e,t,r,s,u,l)}function ma(e,t,r,s,l,u){Tf(e,t);var p=(t.flags&128)!==0;if(!s&&!p)return l&&Ac(t,r,!1),$t(e,t,u);s=t.stateNode,Ig.current=t;var v=p&&typeof r.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&p?(t.child=Zn(t,e.child,null,u),t.child=Zn(t,null,v,u)):Je(e,t,v,u),t.memoizedState=s.state,l&&Ac(t,r,!0),t.child}function Cf(e){var t=e.stateNode;t.pendingContext?Ec(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ec(e,t.context,!1),Jo(e,t.containerInfo)}function Ef(e,t,r,s,l){return Jn(),Ho(l),t.flags|=256,Je(e,t,r,s),t.child}var ga={dehydrated:null,treeContext:null,retryLane:0};function ya(e){return{baseLanes:e,cachePool:null,transitions:null}}function Mf(e,t,r){var s=t.pendingProps,l=Me.current,u=!1,p=(t.flags&128)!==0,v;if((v=p)||(v=e!==null&&e.memoizedState===null?!1:(l&2)!==0),v?(u=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Se(Me,l&1),e===null)return $o(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(p=s.children,e=s.fallback,u?(s=t.mode,u=t.child,p={mode:"hidden",children:p},(s&1)===0&&u!==null?(u.childLanes=0,u.pendingProps=p):u=ks(p,s,0,null),e=Rn(e,s,r,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=ya(r),t.memoizedState=ga,e):va(t,p));if(l=e.memoizedState,l!==null&&(v=l.dehydrated,v!==null))return Og(e,t,p,s,v,l,r);if(u){u=s.fallback,p=t.mode,l=e.child,v=l.sibling;var w={mode:"hidden",children:s.children};return(p&1)===0&&t.child!==l?(s=t.child,s.childLanes=0,s.pendingProps=w,t.deletions=null):(s=dn(l,w),s.subtreeFlags=l.subtreeFlags&14680064),v!==null?u=dn(v,u):(u=Rn(u,p,r,null),u.flags|=2),u.return=t,s.return=t,s.sibling=u,t.child=s,s=u,u=t.child,p=e.child.memoizedState,p=p===null?ya(r):{baseLanes:p.baseLanes|r,cachePool:null,transitions:p.transitions},u.memoizedState=p,u.childLanes=e.childLanes&~r,t.memoizedState=ga,s}return u=e.child,e=u.sibling,s=dn(u,{mode:"visible",children:s.children}),(t.mode&1)===0&&(s.lanes=r),s.return=t,s.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=s,t.memoizedState=null,s}function va(e,t){return t=ks({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function us(e,t,r,s){return s!==null&&Ho(s),Zn(t,e.child,null,r),e=va(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Og(e,t,r,s,l,u,p){if(r)return t.flags&256?(t.flags&=-257,s=da(Error(o(422))),us(e,t,p,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(u=s.fallback,l=t.mode,s=ks({mode:"visible",children:s.children},l,0,null),u=Rn(u,l,p,null),u.flags|=2,s.return=t,u.return=t,s.sibling=u,t.child=s,(t.mode&1)!==0&&Zn(t,e.child,null,p),t.child.memoizedState=ya(p),t.memoizedState=ga,u);if((t.mode&1)===0)return us(e,t,p,null);if(l.data==="$!"){if(s=l.nextSibling&&l.nextSibling.dataset,s)var v=s.dgst;return s=v,u=Error(o(419)),s=da(u,s,void 0),us(e,t,p,s)}if(v=(p&e.childLanes)!==0,it||v){if(s=Be,s!==null){switch(p&-p){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(s.suspendedLanes|p))!==0?0:l,l!==0&&l!==u.retryLane&&(u.retryLane=l,Ut(e,l),At(s,e,l,-1))}return Va(),s=da(Error(o(421))),us(e,t,p,s)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Qg.bind(null,e),l._reactRetry=t,null):(e=u.treeContext,ft=en(l.nextSibling),ct=t,Ee=!0,Pt=null,e!==null&&(pt[ht++]=Bt,pt[ht++]=bt,pt[ht++]=kn,Bt=e.id,bt=e.overflow,kn=t),t=va(t,s.children),t.flags|=4096,t)}function Af(e,t,r){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Yo(e.return,t,r)}function xa(e,t,r,s,l){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:r,tailMode:l}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=s,u.tail=r,u.tailMode=l)}function Df(e,t,r){var s=t.pendingProps,l=s.revealOrder,u=s.tail;if(Je(e,t,s.children,r),s=Me.current,(s&2)!==0)s=s&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Af(e,r,t);else if(e.tag===19)Af(e,r,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}s&=1}if(Se(Me,s),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(r=t.child,l=null;r!==null;)e=r.alternate,e!==null&&ns(e)===null&&(l=r),r=r.sibling;r=l,r===null?(l=t.child,t.child=null):(l=r.sibling,r.sibling=null),xa(t,!1,l,r,u);break;case"backwards":for(r=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ns(e)===null){t.child=l;break}e=l.sibling,l.sibling=r,r=l,l=e}xa(t,!0,r,null,u);break;case"together":xa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function cs(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $t(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Mn|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,r=dn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=dn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function zg(e,t,r){switch(t.tag){case 3:Cf(t),Jn();break;case 5:Uc(t);break;case 1:rt(t.type)&&Ki(t);break;case 4:Jo(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,l=t.memoizedProps.value;Se(Ji,s._currentValue),s._currentValue=l;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(Se(Me,Me.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?Mf(e,t,r):(Se(Me,Me.current&1),e=$t(e,t,r),e!==null?e.sibling:null);Se(Me,Me.current&1);break;case 19:if(s=(r&t.childLanes)!==0,(e.flags&128)!==0){if(s)return Df(e,t,r);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Se(Me,Me.current),s)break;return null;case 22:case 23:return t.lanes=0,kf(e,t,r)}return $t(e,t,r)}var jf,wa,Rf,Nf;jf=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},wa=function(){},Rf=function(e,t,r,s){var l=e.memoizedProps;if(l!==s){e=t.stateNode,Cn(Lt.current);var u=null;switch(r){case"input":l=qs(e,l),s=qs(e,s),u=[];break;case"select":l=U({},l,{value:void 0}),s=U({},s,{value:void 0}),u=[];break;case"textarea":l=Qs(e,l),s=Qs(e,s),u=[];break;default:typeof l.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Wi)}Zs(r,s);var p;r=null;for(M in l)if(!s.hasOwnProperty(M)&&l.hasOwnProperty(M)&&l[M]!=null)if(M==="style"){var v=l[M];for(p in v)v.hasOwnProperty(p)&&(r||(r={}),r[p]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(c.hasOwnProperty(M)?u||(u=[]):(u=u||[]).push(M,null));for(M in s){var w=s[M];if(v=l!=null?l[M]:void 0,s.hasOwnProperty(M)&&w!==v&&(w!=null||v!=null))if(M==="style")if(v){for(p in v)!v.hasOwnProperty(p)||w&&w.hasOwnProperty(p)||(r||(r={}),r[p]="");for(p in w)w.hasOwnProperty(p)&&v[p]!==w[p]&&(r||(r={}),r[p]=w[p])}else r||(u||(u=[]),u.push(M,r)),r=w;else M==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,v=v?v.__html:void 0,w!=null&&v!==w&&(u=u||[]).push(M,w)):M==="children"?typeof w!="str
40ing"&&typeof w!="number"||(u=u||[]).push(M,""+w):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(c.hasOwnProperty(M)?(w!=null&&M==="onScroll"&&ke("scroll",e),u||v===w||(u=[])):(u=u||[]).push(M,w))}r&&(u=u||[]).push("style",r);var M=u;(t.updateQueue=M)&&(t.flags|=4)}},Nf=function(e,t,r,s){r!==s&&(t.flags|=4)};function Xr(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,s=0;if(t)for(var l=e.child;l!==null;)r|=l.lanes|l.childLanes,s|=l.subtreeFlags&14680064,s|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,s|=l.subtreeFlags,s|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=s,e.childLanes=r,t}function Bg(e,t,r){var s=t.pendingProps;switch(Uo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(t),null;case 1:return rt(t.type)&&Hi(),qe(t),null;case 3:return s=t.stateNode,nr(),Te(nt),Te(Ke),ta(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(Xi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Pt!==null&&(Ra(Pt),Pt=null))),wa(e,t),qe(t),null;case 5:Zo(t);var l=Cn(Hr.current);if(r=t.type,e!==null&&t.stateNode!=null)Rf(e,t,r,s,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!s){if(t.stateNode===null)throw Error(o(166));return qe(t),null}if(e=Cn(Lt.current),Xi(t)){s=t.stateNode,r=t.type;var u=t.memoizedProps;switch(s[Nt]=t,s[Br]=u,e=(t.mode&1)!==0,r){case"dialog":ke("cancel",s),ke("close",s
vendor: 24,539 bytes, line 40
40);break;case"iframe":case"object":case"embed":ke("load",s);break;case"video":case"audio":for(l=0;l<Ir.length;l++)ke(Ir[l],s);break;case"source":ke("error",s);break;case"img":case"image":case"link":ke("error",s),ke("load",s);break;case"details":ke("toggle",s);break;case"input":fu(s,u),ke("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!u.multiple},ke("invalid",s);break;case"textarea":hu(s,u),ke("invalid",s)}Zs(r,u),l=null;for(var p in u)if(u.hasOwnProperty(p)){var v=u[p];p==="children"?typeof v=="string"?s.textContent!==v&&(u.suppressHydrationWarning!==!0&&Ui(s.textContent,v,e),l=["children",v]):typeof v=="number"&&s.textContent!==""+v&&(u.suppressHydrationWarning!==!0&&Ui(s.textContent,v,e),l=["children",""+v]):c.hasOwnProperty(p)&&v!=null&&p==="onScroll"&&ke("scroll",s)}switch(r){case"input":xi(s),pu(s,u,!0);break;case"textarea":xi(s),gu(s);break;case"select":case"option":break;default:typeof u.onClick=="function"&&(s.onclick=Wi)}s=l,t.updateQueue=s,s!==null&&(t.flags|=4)}else{p=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=yu(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=p.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=p.createElement(r,{is:s.is}):(e=p.createElement(r),r==="select"&&(p=e,s.multiple?p.multiple=!0:s.size&&(p.size=s.size))):e=p.createElementNS(e,r),e[Nt]=t,e[Br]=s,jf(e,t,!1,!1),t.stateNode=e;e:{switch(p=eo(r,s),r){case"dialog":ke("cancel",e),ke("close",e),l=s;break;case"iframe":case"object":case"embed":ke("load",e),l=s;break;case"video":case"audio":for(l=0;l<Ir.length;l++)ke(Ir[l],e);l=s;break;case"source":ke("error",e),l=s;break;case"img":case"image":case"link":ke("error",e),ke("load",e),l=s;break;case"details":ke("toggle",e),l=s;break;case"input":fu(e,s),l=qs(e,s),ke("invalid",e);break;case"option":l=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},l=U({},s,{value:void 0}),ke("invalid",e);break;case"textarea":hu(e,s),l=Qs(e,s),ke("invalid",e);break;default:l=s}Zs(r,l),v=l;for(u in v)if(v.hasOwnProperty(u)){var w=v[u];u==="style"?wu(e,w):u==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,w!=null&&vu(e,w)):u==="children"?typeof w=="string"?(r!=="textarea"||w!=="")&&vr(e,w):typeof w=="number"&&vr(e,""+w):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(c.hasOwnProperty(u)?w!=null&&u==="onScroll"&&ke("scroll",e):w!=null&&B(e,u,w,p))}switch(r){case"input":xi(e),pu(e,s,!1);break;case"textarea":xi(e),gu(e);break;case"option":s.value!=null&&e.setAttribute("value",""+pe(s.value));break;case"select":e.multiple=!!s.multiple,u=s.value,u!=null?In(e,!!s.multiple,u,!1):s.defaultValue!=null&&In(e,!!s.multiple,s.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Wi)}switch(r){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return qe(t),null;case 6:if(e&&t.stateNode!=null)Nf(e,t,e.memoizedProps,s);else{if(typeof s!="string"&&t.stateNode===null)throw Error(o(166));if(r=Cn(Hr.current),Cn(Lt.current),Xi(t)){if(s=t.stateNode,r=t.memoizedProps,s[Nt]=t,(u=s.nodeValue!==r)&&(e=ct,e!==null))switch(e.tag){case 3:Ui(s.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ui(s.nodeValue,r,(e.mode&1)!==0)}u&&(t.flags|=4)}else s=(r.nodeType===9?r:r.ownerDocument).createTextNode(s),s[Nt]=t,t.stateNode=s}return qe(t),null;case 13:if(Te(Me),s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ee&&ft!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Vc(),Jn(),t.flags|=98560,u=!1;else if(u=Xi(t),s!==null&&s.dehydrated!==null){if(e===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Nt]=t}else Jn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),u=!1}else Pt!==null&&(Ra(Pt),Pt=null),u=!0;if(!u)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Me.current&1)!==0?Ie===0&&(Ie=3):Va())),t.updateQueue!==null&&(t.flags|=4),qe(t),null);case 4:return nr(),wa(e,t),e===null&&Or(t.stateNode.containerInfo),qe(t),null;case 10:return qo(t.type._context),qe(t),null;case 17:return rt(t.type)&&Hi(),qe(t),null;case 19:if(Te(Me),u=t.memoizedState,u===null)return qe(t),null;if(s=(t.flags&128)!==0,p=u.rendering,p===null)if(s)Xr(u,!1);else{if(Ie!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(p=ns(e),p!==null){for(t.flags|=128,Xr(u,!1),s=p.updateQueue,s!==null&&(t.updateQueue=s,t.flags|=4),t.subtreeFlags=0,s=r,r=t.child;r!==null;)u=r,e=s,u.flags&=14680066,p=u.alternate,p===null?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=p.childLanes,u.lanes=p.lanes,u.child=p.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=p.memoizedProps,u.memoizedState=p.memoizedState,u.updateQueue=p.updateQueue,u.type=p.type,e=p.dependencies,u.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Se(Me,Me.current&1|2),t.child}e=e.sibling}u.tail!==null&&Ne()>or&&(t.flags|=128,s=!0,Xr(u,!1),t.lanes=4194304)}else{if(!s)if(e=ns(p),e!==null){if(t.flags|=128,s=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Xr(u,!0),u.tail===null&&u.tailMode==="hidden"&&!p.alternate&&!Ee)return qe(t),null}else 2*Ne()-u.renderingStartTime>or&&r!==1073741824&&(t.flags|=128,s=!0,Xr(u,!1),t.lanes=4194304);u.isBackwards?(p.sibling=t.child,t.child=p):(r=u.last,r!==null?r.sibling=p:t.child=p,u.last=p)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Ne(),t.sibling=null,r=Me.current,Se(Me,s?r&1|2:r&1),t):(qe(t),null);case 22:case 23:return La(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&(t.mode&1)!==0?(dt&1073741824)!==0&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),null;case 24:return null;case 25:return null}throw Error(o(156,t.tag))}function bg(e,t){switch(Uo(t),t.tag){case 1:return rt(t.type)&&Hi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),Te(nt),Te(Ke),ta(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Zo(t),null;case 13:if(Te(Me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Te(Me),null;case 4:return nr(),null;case 10:return qo(t.type._context),null;case 22:case 23:return La(),null;case 24:return null;default:return null}}var fs=!1,Ye=!1,Ug=typeof WeakSet=="function"?WeakSet:Set,$=null;function ir(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(s){je(e,t,s)}else r.current=null}function Sa(e,t,r){try{r()}catch(s){je(e,t,s)}}var Lf=!1;function Wg(e,t){if(Lo=Ri,e=cc(),Co(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var s=r.getSelection&&r.getSelection();if(s&&s.rangeCount!==0){r=s.anchorNode;var l=s.anchorOffset,u=s.focusNode;s=s.focusOffset;try{r.nodeType,u.nodeType}catch{r=null;break e}var p=0,v=-1,w=-1,M=0,F=0,_=e,V=null;t:for(;;){for(var W;_!==r||l!==0&&_.nodeType!==3||(v=p+l),_!==u||s!==0&&_.nodeType!==3||(w=p+s),_.nodeType===3&&(p+=_.nodeValue.length),(W=_.firstChild)!==null;)V=_,_=W;for(;;){if(_===e)break t;if(V===r&&++M===l&&(v=p),V===u&&++F===s&&(w=p),(W=_.nextSibling)!==null)break;_=V,V=_.parentNode}_=W}r=v===-1||w===-1?null:{start:v,end:w}}else r=null}r=r||{start:0,end:0}}else r=null;for(Vo={focusedElem:e,selectionRange:r},Ri=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var H=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(H!==null){var Y=H.memoizedProps,Le=H.memoizedState,P=t.stateNode,k=P.getSnapshotBeforeUpdate(t.elementType===t.type?Y:Ct(t.type,Y),Le);P.__reactInternalSnapshotBeforeUpdate=k}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(O){je(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return H=Lf,Lf=!1,H}function Qr(e,t,r){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var l=s=s.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&Sa(t,r,u)}l=l.next}while(l!==s)}}function ds(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var s=r.create;r.destroy=s()}r=r.next}while(r!==t)}}function ka(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Vf(e){var t=e.alternate;t!==null&&(e.alternate=null,Vf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Nt],delete t[Br],delete t[Oo],delete t[Cg],delete t[Eg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ff(e){return e.tag===5||e.tag===3||e.tag===4}function _f(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ff(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.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 Ta(e,t,r){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Wi));else if(s!==4&&(e=e.child,e!==null))for(Ta(e,t,r),e=e.sibling;e!==null;)Ta(e,t,r),e=e.sibling}function Pa(e,t,r){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Pa(e,t,r),e=e.sibling;e!==null;)Pa(e,t,r),e=e.sibling}var Ue=null,Et=!1;function an(e,t,r){for(r=r.child;r!==null;)If(e,t,r),r=r.sibling}function If(e,t,r){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(Ci,r)}catch{}switch(r.tag){case 5:Ye||ir(r,t);case 6:var s=Ue,l=Et;Ue=null,an(e,t,r),Ue=s,Et=l,Ue!==null&&(Et?(e=Ue,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ue.removeChild(r.stateNode));break;case 18:Ue!==null&&(Et?(e=Ue,r=r.stateNode,e.nodeType===8?Io(e.parentNode,r):e.nodeType===1&&Io(e,r),Dr(e)):Io(Ue,r.stateNode));break;case 4:s=Ue,l=Et,Ue=r.stateNode.containerInfo,Et=!0,an(e,t,r),Ue=s,Et=l;break;case 0:case 11:case 14:case 15:if(!Ye&&(s=r.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){l=s=s.next;do{var u=l,p=u.destroy;u=u.tag,p!==void 0&&((u&2)!==0||(u&4)!==0)&&Sa(r,t,p),l=l.next}while(l!==s)}an(e,t,r);break;case 1:if(!Ye&&(ir(r,t),s=r.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=r.memoizedProps,s.state=r.memoizedState,s.componentWillUnmount()}catch(v){je(r,t,v)}an(e,t,r);break;case 21:an(e,t,r);break;case 22:r.mode&1?(Ye=(s=Ye)||r.memoizedState!==null,an(e,t,r),Ye=s):an(e,t,r);break;default:an(e,t,r)}}function Of(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Ug),t.forEach(function(s){var l=Jg.bind(null,e,s);r.has(s)||(r.add(s),s.then(l,l))})}}function Mt(e,t){var r=t.deletions;if(r!==null)for(var s=0;s<r.length;s++){var l=r[s];try{var u=e,p=t,v=p;e:for(;v!==null;){switch(v.tag){case 5:Ue=v.stateNode,Et=!1;break e;case 3:Ue=v.stateNode.containerInfo,Et=!0;break e;case 4:Ue=v.stateNode.containerInfo,Et=!0;break e}v=v.return}if(Ue===null)throw Error(o(160));If(u,p,l),Ue=null,Et=!1;var w=l.alternate;w!==null&&(w.return=null),l.return=null}catch(M){je(l,t,M)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zf(t,e),t=t.sibling}function zf(e,t){var r=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Mt(t,e),Ft(e),s&4){try{Qr(3,e,e.return),ds(3,e)}catch(Y){je(e,e.return,Y)}try{Qr(5,e,e.return)}catch(Y){je(e,e.return,Y)}}break;case 1:Mt(t,e),Ft(e),s&512&&r!==null&&ir(r,r.return);break;case 5:if(Mt(t,e),Ft(e),s&512&&r!==null&&ir(r,r.return),e.flags&32){var l=e.stateNode;try{vr(l,"")}catch(Y){je(e,e.return,Y)}}if(s&4&&(l=e.stateNode,l!=null)){var u=e.memoizedProps,p=r!==null?r.memoizedProps:u,v=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{v==="input"&&u.type==="radio"&&u.name!=null&&du(l,u),eo(v,p);var M=eo(v,u);for(p=0;p<w.length;p+=2){var F=w[p],_=w[p+1];F==="style"?wu(l,_):F==="dangerouslySetInnerHTML"?vu(l,_):F==="children"?vr(l,_):B(l,F,_,M)}switch(v){case"input":Ys(l,u);break;case"textarea":mu(l,u);break;case"select":var V=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!u.multiple;var W=u.value;W!=null?In(l,!!u.multiple,W,!1):V!==!!u.multiple&&(u.defaultValue!=null?In(l,!!u.multiple,u.defaultValue,!0):In(l,!!u.multiple,u.multiple?[]:"",!1))}l[Br]=u}catch(Y){je(e,e.return,Y)}}break;case 6:if(Mt(t,e),Ft(e),s&4){if(e.stateNode===null)throw Error(o(162));l=e.stateNode,u=e.memoizedProps;try{l.nodeValue=u}catch(Y){je(e,e.return,Y)}}break;case 3:if(Mt(t,e),Ft(e),s&4&&r!==null&&r.memoizedState.isDehydrated)try{Dr(t.containerInfo)}catch(Y){je(e,e.return,Y)}break;case 4:Mt(t,e),Ft(e);break;case 13:Mt(t,e),Ft(e),l=e.child,l.flags&8192&&(u=l.memoizedState!==null,l.stateNode.isHidden=u,!u||l.alternate!==null&&l.alternate.memoizedState!==null||(Ma=Ne())),s&4&&Of(e);break;case 22:if(F=r!==null&&r.memoizedState!==null,e.mode&1?(Ye=(M=Ye)||F,Mt(t,e),Ye=M):Mt(t,e),Ft(e),s&8192){if(M=e.memoizedState!==null,(e.stateNode.isHidden=M)&&!F&&(e.mode&1)!==0)for($=e,F=e.child;F!==null;){for(_=$=F;$!==null;){switch(V=$,W=V.child,V.tag){case 0:case 11:case 14:case 15:Qr(4,V,V.return);break;case 1:ir(V,V.return);var H=V.stateNode;if(typeof H.componentWillUnmount=="function"){s=V,r=V.return;try{t=s,H.props=t.memoizedProps,H.state=t.memoizedState,H.componentWillUnmount()}catch(Y){je(s,r,Y)}}break;case 5:ir(V,V.return);break;case 22:if(V.memoizedState!==null){Uf(_);continue}}W!==null?(W.return=V,$=W):Uf(_)}F=F.sibling}e:for(F=null,_=e;;){if(_.tag===5){if(F===null){F=_;try{l=_.stateNode,M?(u=l.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none"):(v=_.stateNode,w=_.memoizedProps.style,p=w!=null&&w.hasOwnProperty("display")?w.display:null,v.style.display=xu("display",p))}catch(Y){je(e,e.return,Y)}}}else if(_.tag===6){if(F===null)try{_.stateNode.nodeValue=M?"":_.memoizedProps}catch(Y){je(e,e.return,Y)}}else if((_.tag!==22&&_.tag!==23||_.memoizedState===null||_===e)&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===e)break e;for(;_.sibling===null;){if(_.return===null||_.return===e)break e;F===_&&(F=null),_=_.return}F===_&&(F=null),_.sibling.return=_.return,_=_.sibling}}break;case 19:Mt(t,e),Ft(e),s&4&&Of(e);break;case 21:break;default:Mt(t,e),Ft(e)}}function Ft(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(Ff(r)){var s=r;break e}r=r.return}throw Error(o(160))}switch(s.tag){case 5:var l=s.stateNode;s.flags&32&&(vr(l,""),s.flags&=-33);var u=_f(e);Pa(e,u,l);break;case 3:case 4:var p=s.stateNode.containerInfo,v=_f(e);Ta(e,v,p);break;default:throw Error(o(161))}}catch(w){je(e,e.return,w)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function $g(e,t,r){$=e,Bf(e)}function Bf(e,t,r){for(var s=(e.mode&1)!==0;$!==null;){var l=$,u=l.child;if(l.tag===22&&s){var p=l.memoizedState!==null||fs;if(!p){var v=l.alternate,w=v!==null&&v.memoizedState!==null||Ye;v=fs;var M=Ye;if(fs=p,(Ye=w)&&!M)for($=l;$!==null;)p=$,w=p.child,p.tag===22&&p.memoizedState!==null?Wf(l):w!==null?(w.return=p,$=w):Wf(l);for(;u!==null;)$=u,Bf(u),u=u.sibling;$=l,fs=v,Ye=M}bf(e)}else(l.subtreeFlags&8772)!==0&&u!==null?(u.return=l,$=u):bf(e)}}function bf(e){for(;$!==null;){var t=$;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ye||ds(5,t);break;case 1:var s=t.stateNode;if(t.flags&4&&!Ye)if(r===null)s.componentDidMount();else{var l=t.elementType===t.type?r.memoizedProps:Ct(t.type,r.memoizedProps);s.componentDidUpdate(l,r.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var u=t.updateQueue;u!==null&&bc(t,u,s);break;case 3:var p=t.updateQueue;if(p!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}bc(t,p,r)}break;case 5:var v=t.stateNode;if(r===null&&t.flags&4){r=v;var w=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":w.autoFocus&&r.focus();break;case"img":w.src&&(r.src=w.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var M=t.alternate;if(M!==null){var F=M.memoizedState;if(F!==null){var _=F.dehydrated;_!==null&&Dr(_)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}Ye||t.flags&512&&ka(t)}catch(V){je(t,t.return,V)}}if(t===e){$=null;break}if(r=t.sibling,r!==null){r.return=t.return,$=r;break}$=t.return}}function Uf(e){for(;$!==null;){var t=$;if(t===e){$=null;break}var r=t.sibling;if(r!==null){r.return=t.return,$=r;break}$=t.return}}function Wf(e){for(;$!==null;){var t=$;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{ds(4,t)}catch(w){je(t,r,w)}break;case 1:var s=t.stateNode;if(typeof s.componentDidMount=="function"){var l=t.return;try{s.componentDidMount()}catch(w){je(t,l,w)}}var u=t.return;try{ka(t)}catch(w){je(t,u,w)}break;case 5:var p=t.return;try{ka(t)}catch(w){je(t,p,w)}}}catch(w){je(t,t.return,w)}if(t===e){$=null;break}var v=t.sibling;if(v!==null){v.return=t.return,$=v;break}$=t.return}}var Hg=Math.ceil,ps=Q.ReactCurrentDispatcher,Ca=Q.ReactCurrentOwner,yt=Q.ReactCurrentBatchConfig,de=0,Be=null,Ve=null,We=0,dt=0,sr=tn(0),Ie=0,Jr=null,Mn=0,hs=0,Ea=0,Zr=null,st=null,Ma=0,or=1/0,Ht=null,ms=!1,Aa=null,ln=null,gs=!1,un=null,ys=0,ei=0,Da=null,vs=-1,xs=0;function Ze(){return(de&6)!==0?Ne():vs!==-1?vs:vs=Ne()}function cn(e){return(e.mode&1)===0?1:(de&2)!==0&&We!==0?We&-We:Ag.transition!==null?(xs===0&&(xs=Fu()),xs):(e=ge,e!==0||(e=window.event,e=e===void 0?16:$u(e.type)),e)}function At(e,t,r,s){if(50<ei)throw ei=0,Da=null,Error(o(185));Pr(e,r,s),((de&2)===0||e!==Be)&&(e===Be&&((de&2)===0&&(hs|=r),Ie===4&&fn(e,We)),ot(e,s),r===1&&de===0&&(t.mode&1)===0&&(or=Ne()+500,Gi&&rn()))}function ot(e,t){var r=e.callbackNode;Am(e,t);var s=Ai(e,e===Be?We:0);if(s===0)r!==null&&Nu(r),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(r!=null&&Nu(r),t===1)e.tag===0?Mg(Hf.bind(null,e)):Dc(Hf.bind(null,e)),Tg(function(){(de&6)===0&&rn()}),r=null;else{switch(_u(s)){case 1:r=ao;break;case 4:r=Lu;break;case 16:r=Pi;break;case 536870912:r=Vu;break;default:r=Pi}r=Zf(r,$f.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function $f(e,t){if(vs=-1,xs=0,(de&6)!==0)throw Error(o(327));var r=e.callbackNode;if(ar()&&e.callbackNode!==r)return null;var s=Ai(e,e===Be?We:0);if(s===0)return null;if((s&30)!==0||(s&e.expiredLanes)!==0||t)t=ws(e,s);else{t=s;var l=de;de|=2;var u=Gf();(Be!==e||We!==t)&&(Ht=null,or=Ne()+500,Dn(e,t));do try{qg();break}catch(v){Kf(e,v)}while(!0);Go(),ps.current=u,de=l,Ve!==null?t=0:(Be=null,We=0,t=Ie)}if(t!==0){if(t===2&&(l=lo(e),l!==0&&(s=l,t=ja(e,l))),t===1)throw r=Jr,Dn(e,0),fn(e,s),ot(e,Ne()),r;if(t===6)fn(e,s);else{if(l=e.current.alternate,(s&30)===0&&!Kg(l)&&(t=ws(e,s),t===2&&(u=lo(e),u!==0&&(s=u,t=ja(e,u))),t===1))throw r=Jr,Dn(e,0),fn(e,s),ot(e,Ne()),r;switch(e.finishedWork=l,e.finishedLanes=s,t){case 0:case 1:throw Error(o(345));case 2:jn(e,st,Ht);break;case 3:if(fn(e,s),(s&130023424)===s&&(t=Ma+500-Ne(),10<t)){if(Ai(e,0)!==0)break;if(l=e.suspendedLanes,(l&s)!==s){Ze(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=_o(jn.bind(null,e,st,Ht),t);break}jn(e,st,Ht);break;case 4:if(fn(e,s),(s&4194240)===s)break;for(t=e.eventTimes,l=-1;0<s;){var p=31-kt(s);u=1<<p,p=t[p],p>l&&(l=p),s&=~u}if(s=l,s=Ne()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*Hg(s/1960))-s,10<s){e.timeoutHandle=_o(jn.bind(null,e,st,Ht),s);break}jn(e,st,Ht);break;case 5:jn(e,st,Ht);break;default:throw Error(o(329))}}}return ot(e,Ne()),e.callbackNode===r?$f.bind(null,e):null}function ja(e,t){var r=Zr;return e.current.memoizedState.isDehydrated&&(Dn(e,t).flags|=256),e=ws(e,t),e!==2&&(t=st,st=r,t!==null&&Ra(t)),e}function Ra(e){st===null?st=e:st.push.apply(st,e)}function Kg(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var s=0;s<r.length;s++){var l=r[s],u=l.getSnapshot;l=l.value;try{if(!Tt(u(),l))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 fn(e,t){for(t&=~Ea,t&=~hs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-kt(t),s=1<<r;e[r]=-1,t&=~s}}function Hf(e){if((de&6)!==0)throw Error(o(327));ar();var t=Ai(e,0);if((t&1)===0)return ot(e,Ne()),null;var r=ws(e,t);if(e.tag!==0&&r===2){var s=lo(e);s!==0&&(t=s,r=ja(e,s))}if(r===1)throw r=Jr,Dn(e,0),fn(e,t),ot(e,Ne()),r;if(r===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,jn(e,st,Ht),ot(e,Ne()),null}function Na(e,t){var r=de;de|=1;try{return e(t)}finally{de=r,de===0&&(or=Ne()+500,Gi&&rn())}}function An(e){un!==null&&un.tag===0&&(de&6)===0&&ar();var t=de;de|=1;var r=yt.transition,s=ge;try{if(yt.transition=null,ge=1,e)return e()}finally{ge=s,yt.transition=r,de=t,(de&6)===0&&rn()}}function La(){dt=sr.current,Te(sr)}function Dn(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,kg(r)),Ve!==null)for(r=Ve.return;r!==null;){var s=r;switch(Uo(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Hi();break;case 3:nr(),Te(nt),Te(Ke),ta();break;case 5:Zo(s);break;case 4:nr();break;case 13:Te(Me);break;case 19:Te(Me);break;case 10:qo(s.type._context);break;case 22:case 23:La()}r=r.return}if(Be=e,Ve=e=dn(e.current,null),We=dt=t,Ie=0,Jr=null,Ea=hs=Mn=0,st=Zr=null,Pn!==null){for(t=0;t<Pn.length;t++)if(r=Pn[t],s=r.interleaved,s!==null){r.interleaved=null;var l=s.next,u=r.pending;if(u!==null){var p=u.next;u.next=l,s.next=p}r.pending=s}Pn=null}return e}function Kf(e,t){do{var r=Ve;try{if(Go(),rs.current=as,is){for(var s=Ae.memoizedState;s!==null;){var l=s.queue;l!==null&&(l.pending=null),s=s.next}is=!1}if(En=0,ze=_e=Ae=null,Kr=!1,Gr=0,Ca.current=null,r===null||r.return===null){Ie=1,Jr=t,Ve=null;break}e:{var u=e,p=r.return,v=r,w=t;if(t=We,v.flags|=32768,w!==null&&typeof w=="object"&&typeof w.then=="function"){var M=w,F=v,_=F.tag;if((F.mode&1)===0&&(_===0||_===11||_===15)){var V=F.alternate;V?(F.updateQueue=V.updateQueue,F.memoizedState=V.memoizedState,F.lanes=V.lanes):(F.updateQueue=null,F.memoizedState=null)}var W=yf(p);if(W!==null){W.flags&=-257,vf(W,p,v,u,t),W.mode&1&&gf(u,M,t),t=W,w=M;var H=t.updateQueue;if(H===null){var Y=new Set;Y.add(w),t.updateQueue=Y}else H.add(w);break e}else{if((t&1)===0){gf(u,M,t),Va();break e}w=Error(o(426))}}else if(Ee&&v.mode&1){var Le=yf(p);if(Le!==null){(Le.flags&65536)===0&&(Le.flags|=256),vf(Le,p,v,u,t),Ho(rr(w,v));break e}}u=w=rr(w,v),Ie!==4&&(Ie=2),Zr===null?Zr=[u]:Zr.push(u),u=p;do{switch(u.tag){case 3:u.flags|=65536,t&=-t,u.lanes|=t;var P=hf(u,w,t);Bc(u,P);break e;case 1:v=w;var k=u.type,C=u.stateNode;if((u.flags&128)===0&&(typeof k.getDerivedStateFromError=="function"||C!==null&&typeof C.componentDidCatch=="function"&&(ln===null||!ln.has(C)))){u.flags|=65536,t&=-t,u.lanes|=t;var O=mf(u,v,t);Bc(u,O);break e}}u=u.return}while(u!==null)}Yf(r)}catch(X){t=X,Ve===r&&r!==null&&(Ve=r=r.return);continue}break}while(!0)}function Gf(){var e=ps.current;return ps.current=as,e===null?as:e}function Va(){(Ie===0||Ie===3||Ie===2)&&(Ie=4),Be===null||(Mn&268435455)===0&&(hs&268435455)===0||fn(Be,We)}function ws(e,t){var r=de;de|=2;var s=Gf();(Be!==e||We!==t)&&(Ht=null,Dn(e,t));do try{Gg();break}catch(l){Kf(e,l)}while(!0);if(Go(),de=r,ps.current=s,Ve!==null)throw Error(o(261));return Be=null,We=0,Ie}function Gg(){for(;Ve!==null;)qf(Ve)}function qg(){for(;Ve!==null&&!xm();)qf(Ve)}function qf(e){var t=Jf(e.alternate,e,dt);e.memoizedProps=e.pendingProps,t===null?Yf(e):Ve=t,Ca.current=null}function Yf(e){var t=e;do{var r=t.alternate;
vendor: 6,493 bytes, line 40
40if(e=t.return,(t.flags&32768)===0){if(r=Bg(r,t,dt),r!==null){Ve=r;return}}else{if(r=bg(r,t),r!==null){r.flags&=32767,Ve=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ie=6,Ve=null;return}}if(t=t.sibling,t!==null){Ve=t;return}Ve=t=e}while(t!==null);Ie===0&&(Ie=5)}function jn(e,t,r){var s=ge,l=yt.transition;try{yt.transition=null,ge=1,Yg(e,t,r,s)}finally{yt.transition=l,ge=s}return null}function Yg(e,t,r,s){do ar();while(un!==null);if((de&6)!==0)throw Error(o(327));r=e.finishedWork;var l=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var u=r.lanes|r.childLanes;if(Dm(e,u),e===Be&&(Ve=Be=null,We=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||gs||(gs=!0,Zf(Pi,function(){return ar(),null})),u=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||u){u=yt.transition,yt.transition=null;var p=ge;ge=1;var v=de;de|=4,Ca.current=null,Wg(e,r),zf(r,e),mg(Vo),Ri=!!Lo,Vo=Lo=null,e.current=r,$g(r),wm(),de=v,ge=p,yt.transition=u}else e.current=r;if(gs&&(gs=!1,un=e,ys=l),u=e.pendingLanes,u===0&&(ln=null),Tm(r.stateNode),ot(e,Ne()),t!==null)for(s=e.onRecoverableError,r=0;r<t.length;r++)l=t[r],s(l.value,{componentStack:l.stack,digest:l.digest});if(ms)throw ms=!1,e=Aa,Aa=null,e;return(ys&1)!==0&&e.tag!==0&&ar(),u=e.pendingLanes,(u&1)!==0?e===Da?ei++:(ei=0,Da=e):ei=0,rn(),null}function ar(){if(un!==null){var e=_u(ys),t=yt.transition,r=ge;try{if(yt.transition=null,ge=16>e?16:e,un===null)var s=!1;else{if(e=un,un=null,ys=0,(de&6)!==0)throw Error(o(331));var l=de;for(de|=4,$=e.current;$!==null;){var u=$,p=u.child;if(($.flags&16)!==0){var v=u.deletions;if(v!==null){for(var w=0;w<v.length;w++){var M=v[w];for($=M;$!==null;){var F=$;switch(F.tag){case 0:case 11:case 15:Qr(8,F,u)}var _=F.child;if(_!==null)_.return=F,$=_;else for(;$!==null;){F=$;var V=F.sibling,W=F.return;if(Vf(F),F===M){$=null;break}if(V!==null){V.return=W,$=V;break}$=W}}}var H=u.alternate;if(H!==null){var Y=H.child;if(Y!==null){H.child=null;do{var Le=Y.sibling;Y.sibling=null,Y=Le}while(Y!==null)}}$=u}}if((u.subtreeFlags&2064)!==0&&p!==null)p.return=u,$=p;else e:for(;$!==null;){if(u=$,(u.flags&2048)!==0)switch(u.tag){case 0:case 11:case 15:Qr(9,u,u.return)}var P=u.sibling;if(P!==null){P.return=u.return,$=P;break e}$=u.return}}var k=e.current;for($=k;$!==null;){p=$;var C=p.child;if((p.subtreeFlags&2064)!==0&&C!==null)C.return=p,$=C;else e:for(p=k;$!==null;){if(v=$,(v.flags&2048)!==0)try{switch(v.tag){case 0:case 11:case 15:ds(9,v)}}catch(X){je(v,v.return,X)}if(v===p){$=null;break e}var O=v.sibling;if(O!==null){O.return=v.return,$=O;break e}$=v.return}}if(de=l,rn(),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(Ci,e)}catch{}s=!0}return s}finally{ge=r,yt.transition=t}}return!1}function Xf(e,t,r){t=rr(r,t),t=hf(e,t,1),e=on(e,t,1),t=Ze(),e!==null&&(Pr(e,1,t),ot(e,t))}function je(e,t,r){if(e.tag===3)Xf(e,e,r);else for(;t!==null;){if(t.tag===3){Xf(t,e,r);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(ln===null||!ln.has(s))){e=rr(r,e),e=mf(t,e,1),t=on(t,e,1),e=Ze(),t!==null&&(Pr(t,1,e),ot(t,e));break}}t=t.return}}function Xg(e,t,r){var s=e.pingCache;s!==null&&s.delete(t),t=Ze(),e.pingedLanes|=e.suspendedLanes&r,Be===e&&(We&r)===r&&(Ie===4||Ie===3&&(We&130023424)===We&&500>Ne()-Ma?Dn(e,0):Ea|=r),ot(e,t)}function Qf(e,t){t===0&&((e.mode&1)===0?t=1:(t=Mi,Mi<<=1,(Mi&130023424)===0&&(Mi=4194304)));var r=Ze();e=Ut(e,t),e!==null&&(Pr(e,t,r),ot(e,r))}function Qg(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Qf(e,r)}function Jg(e,t){var r=0;switch(e.tag){case 13:var s=e.stateNode,l=e.memoizedState;l!==null&&(r=l.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(o(314))}s!==null&&s.delete(t),Qf(e,r)}var Jf;Jf=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||nt.current)it=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return it=!1,zg(e,t,r);it=(e.flags&131072)!==0}else it=!1,Ee&&(t.flags&1048576)!==0&&jc(t,Yi,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;cs(e,t),e=t.pendingProps;var l=Yn(t,Ke.current);tr(t,r),l=ia(null,t,s,e,l,r);var u=sa();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rt(s)?(u=!0,Ki(t)):u=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Qo(t),l.updater=ls,t.stateNode=l,l._reactInternals=t,fa(t,s,e,r),t=ma(null,t,s,!0,u,r)):(t.tag=0,Ee&&u&&bo(t),Je(null,t,l,r),t=t.child),t;case 16:s=t.elementType;e:{switch(cs(e,t),e=t.pendingProps,l=s._init,s=l(s._payload),t.type=s,l=t.tag=ey(s),e=Ct(s,e),l){case 0:t=ha(null,t,s,e,r);break e;case 1:t=Pf(null,t,s,e,r);break e;case 11:t=xf(null,t,s,e,r);break e;case 14:t=wf(null,t,s,Ct(s.type,e),r);break e}throw Error(o(306,s,""))}return t;case 0:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ct(s,l),ha(e,t,s,l,r);case 1:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ct(s,l),Pf(e,t,s,l,r);case 3:e:{if(Cf(t),e===null)throw Error(o(387));s=t.pendingProps,u=t.memoizedState,l=u.element,zc(e,t),ts(t,s,null,r);var p=t.memoizedState;if(s=p.element,u.isDehydrated)if(u={element:s,isDehydrated:!1,cache:p.cache,pendingSuspenseBoundaries:p.pendingSuspenseBoundaries,transitions:p.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){l=rr(Error(o(423)),t),t=Ef(e,t,s,r,l);break e}else if(s!==l){l=rr(Error(o(424)),t),t=Ef(e,t,s,r,l);break e}else for(ft=en(t.stateNode.containerInfo.firstChild),ct=t,Ee=!0,Pt=null,r=Ic(t,null,s,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Jn(),s===l){t=$t(e,t,r);break e}Je(e,t,s,r)}t=t.child}return t;case 5:return Uc(t),e===null&&$o(t),s=t.type,l=t.pendingProps,u=e!==null?e.memoizedProps:null,p=l.children,Fo(s,l)?p=null:u!==null&&Fo(s,u)&&(t.flags|=32),Tf(e,t),Je(e,t,p,r),t.child;case 6:return e===null&&$o(t),null;case 13:return Mf(e,t,r);case 4:return Jo(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Zn(t,null,s,r):Je(e,t,s,r),t.child;case 11:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ct(s,l),xf(e,t,s,l,r);case 7:return Je(e,t,t.pendingProps,r),t.child;case 8:return Je(e,t,t.pendingProps.children,r),t.child;case 12:return Je(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(s=t.type._context,l=t.pendingProps,u=t.memoizedProps,p=l.value,Se(Ji,s._currentValue),s._currentValue=p,u!==null)if(Tt(u.value,p)){if
vendor: 11,071 bytes, line 40
40(u.children===l.children&&!nt.current){t=$t(e,t,r);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var v=u.dependencies;if(v!==null){p=u.child;for(var w=v.firstContext;w!==null;){if(w.context===s){if(u.tag===1){w=Wt(-1,r&-r),w.tag=2;var M=u.updateQueue;if(M!==null){M=M.shared;var F=M.pending;F===null?w.next=w:(w.next=F.next,F.next=w),M.pending=w}}u.lanes|=r,w=u.alternate,w!==null&&(w.lanes|=r),Yo(u.return,r,t),v.lanes|=r;break}w=w.next}}else if(u.tag===10)p=u.type===t.type?null:u.child;else if(u.tag===18){if(p=u.return,p===null)throw Error(o(341));p.lanes|=r,v=p.alternate,v!==null&&(v.lanes|=r),Yo(p,r,t),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===t){p=null;break}if(u=p.sibling,u!==null){u.return=p.return,p=u;break}p=p.return}u=p}Je(e,t,l.children,r),t=t.child}return t;case 9:return l=t.type,s=t.pendingProps.children,tr(t,r),l=mt(l),s=s(l),t.flags|=1,Je(e,t,s,r),t.child;case 14:return s=t.type,l=Ct(s,t.pendingProps),l=Ct(s.type,l),wf(e,t,s,l,r);case 15:return Sf(e,t,t.type,t.pendingProps,r);case 17:return s=t.type,l=t.pendingProps,l=t.elementType===s?l:Ct(s,l),cs(e,t),t.tag=1,rt(s)?(e=!0,Ki(t)):e=!1,tr(t,r),df(t,s,l),fa(t,s,l,r),ma(null,t,s,!0,e,r);case 19:return Df(e,t,r);case 22:return kf(e,t,r)}throw Error(o(156,t.tag))};function Zf(e,t){return Ru(e,t)}function Zg(e,t,r,s){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vt(e,t,r,s){return new Zg(e,t,r,s)}function Fa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ey(e){if(typeof e=="function")return Fa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Qe)return 11;if(e===ye)return 14}return 2}function dn(e,t){var r=e.alternate;return r===null?(r=vt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Ss(e,t,r,s,l,u){var p=2;if(s=e,typeof e=="function")Fa(e)&&(p=1);else if(typeof e=="string")p=5;else e:switch(e){case le:return Rn(r.children,l,u,t);case J:p=8,l|=8;break;case we:return e=vt(12,r,t,l|2),e.elementType=we,e.lanes=u,e;case ne:return e=vt(13,r,t,l),e.elementType=ne,e.lanes=u,e;case fe:return e=vt(19,r,t,l),e.elementType=fe,e.lanes=u,e;case te:return ks(r,l,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xe:p=10;break e;case He:p=9;break e;case Qe:p=11;break e;case ye:p=14;break e;case me:p=16,s=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return t=vt(p,r,t,l),t.elementType=e,t.type=s,t.lanes=u,t}function Rn(e,t,r,s){return e=vt(7,e,s,t),e.lanes=r,e}function ks(e,t,r,s){return e=vt(22,e,s,t),e.elementType=te,e.lanes=r,e.stateNode={isHidden:!1},e}function _a(e,t,r){return e=vt(6,e,null,t),e.lanes=r,e}function Ia(e,t,r){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ty(e,t,r,s,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=uo(0),this.expirationTimes=uo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uo(0),this.identifierPrefix=s,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Oa(e,t,r,s,l,u,p,v,w){return e=new ty(e,t,r,v,w),t===1?(t=1,u===!0&&(t|=8)):t=0,u=vt(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:s,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qo(u),e}function ny(e,t,r){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:re,key:s==null?null:""+s,children:e,containerInfo:t,implementation:r}}function ed(e){if(!e)return nn;e=e._reactInternals;e:{if(xn(e)!==e||e.tag!==1)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(o(171))}if(e.tag===1){var r=e.type;if(rt(r))return Mc(e,r,t)}return t}function td(e,t,r,s,l,u,p,v,w){return e=Oa(r,s,!0,e,l,u,p,v,w),e.context=ed(null),r=e.current,s=Ze(),l=cn(r),u=Wt(s,l),u.callback=t??null,on(r,u,l),e.current.lanes=l,Pr(e,l,s),ot(e,s),e}function Ts(e,t,r,s){var l=t.current,u=Ze(),p=cn(l);return r=ed(r),t.context===null?t.context=r:t.pendingContext=r,t=Wt(u,p),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=on(l,t,p),e!==null&&(At(e,l,p,u),es(e,l,p)),p}function Ps(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function nd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function za(e,t){nd(e,t),(e=e.alternate)&&nd(e,t)}function ry(){return null}var rd=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ba(e){this._internalRoot=e}Cs.prototype.render=Ba.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));Ts(e,t,null,null)},Cs.prototype.unmount=Ba.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;An(function(){Ts(null,e,null,null)}),t[Ot]=null}};function Cs(e){this._internalRoot=e}Cs.prototype.unstable_scheduleHydration=function(e){if(e){var t=zu();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Qt.length&&t!==0&&t<Qt[r].priority;r++);Qt.splice(r,0,e),r===0&&Uu(e)}};function ba(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Es(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function id(){}function iy(e,t,r,s,l){if(l){if(typeof s=="function"){var u=s;s=function(){var M=Ps(p);u.call(M)}}var p=td(t,s,e,0,null,!1,!1,"",id);return e._reactRootContainer=p,e[Ot]=p.current,Or(e.nodeType===8?e.parentNode:e),An(),p}for(;l=e.lastChild;)e.removeChild(l);if(typeof s=="function"){var v=s;s=function(){var M=Ps(w);v.call(M)}}var w=Oa(e,0,!1,null,null,!1,!1,"",id);return e._reactRootContainer=w,e[Ot]=w.current,Or(e.nodeType===8?e.parentNode:e),An(function(){Ts(t,w,r,s)}),w}function Ms(e,t,r,s,l){var u=r._reactRootContainer;if(u){var p=u;if(typeof l=="function"){var v=l;l=function(){var w=Ps(p);v.call(w)}}Ts(t,p,e,l)}else p=iy(r,t,e,l,s);return Ps(p)}Iu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Tr(t.pendingLanes);r!==0&&(co(t,r|1),ot(t,Ne()),(de&6)===0&&(or=Ne()+500,rn()))}break;case 13:An(function(){var s=Ut(e,1);if(s!==null){var l=Ze();At(s,e,1,l)}}),za(e,1)}},fo=function(e){if(e.tag===13){var t=Ut(e,134217728);if(t!==null){var r=Ze();At(t,e,134217728,r)}za(e,134217728)}},Ou=function(e){if(e.tag===13){var t=cn(e),r=Ut(e,t);if(r!==null){var s=Ze();At(r,e,t,s)}za(e,t)}},zu=function(){return ge},Bu=function(e,t){var r=ge;try{return ge=e,t()}finally{ge=r}},ro=function(e,t,r){switch(t){case"input":if(Ys(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var s=r[t];if(s!==e&&s.form===e.form){var l=$i(s);if(!l)throw Error(o(90));cu(s),Ys(s,l)}}}break;case"textarea":mu(e,r);break;case"select":t=r.value,t!=null&&In(e,!!r.multiple,t,!1)}},Pu=Na,Cu=An;var sy={usingClientEntryPoint:!1,Events:[br,Gn,$i,ku,Tu,Na]},ti={findFiberByHostInstance:wn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},oy={bundleType:ti.bundleType,version:ti.version,rendererPackageName:ti.rendererPackageName,rendererConfig:ti.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Du(e),e===null?null:e.stateNode},findFiberByHostInstance:ti.findFiberByHostInstance||ry,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var As=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!As.isDisabled&&As.supportsFiber)try{Ci=As.inject(oy),Rt=As}catch{}}return at.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sy,at.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ba(t))throw Error(o(200));return ny(e,t,null,r)},at.createRoot=function(e,t){if(!ba(e))throw Error(o(299));var r=!1,s="",l=rd;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Oa(e,1,!1,null,null,r,!1,s,l),e[Ot]=t.current,Or(e.nodeType===8?e.parentNode:e),new Ba(t)},at.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Du(t),e=e===null?null:e.stateNode,e},at.flushSync=function(e){return An(e)},at.hydrate=function(e,t,r){if(!Es(t))throw Error(o(200));return Ms(null,e,t,!0,r)},at.hydrateRoot=function(e,t,r){if(!ba(e))throw Error(o(405));var s=r!=null&&r.hydratedSources||null,l=!1,u="",p=rd;if(r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(p=r.onRecoverableError)),t=td(t,null,e,1,r??null,l,!1,u,p),e[Ot]=t.current,Or(e),s)for(e=0;e<s.length;e++)r=s[e],l=r._getVersion,l=l(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,l]:t.mutableSourceEagerHydrationData.push(r,l);return new Cs(t)},at.render=function(e,t,r){if(!Es(t))throw Error(o(200));return Ms(null,e,t,!1,r)},at.unmountComponentAtNode=function(e){if(!Es(e))throw Error(o(40));return e._reactRootContainer?(An(function(){Ms(null,null,e,!1,function(){e._reactRootContainer=null,e[Ot]=null})}),!0):!1},at.unstable_batchedUpdates=Na,at.unstable_renderSubtreeIntoContainer=function(e,t,r,s){if(!Es(r))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return Ms(e,t,r,!1,s)}
40,at.version="18.3.1-next-f1338f8080-20240426",at}var dd;function my(){if(dd)return $a.exports;dd=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),$a.exports=hy(),$a.exports}var pd;function gy(){if(pd)return Ds;pd=1;var n=my();return Ds.createRoot=n.createRoot,Ds.hydrateRoot=n.hydrateRoot,Ds}var yy=gy();const vy=ly(yy);var b=Ll();const xy=n=>{const i=[],o=/\*([^*]+)\*/g,a=Array.from(n.matchAll(o));let c=0;if(a.forEach(d=>{const f=d.index;if(f>c){const m=n.substring(c,f);i.push({text:m,highlight:!1,isHtml:m.includes("<a ")})}const h=d[1];i.push({text:h,highlight:!0,isHtml:h.includes("<a ")}),c=f+d[0].length}),c<n.length){const d=n.substring(c);i.push({text:d,highlight:!1,isHtml:d.includes("<a ")})}return i};function wy({time:n,text:i,isActive:o,index:a,onHighlightComplete:c}){const[d,f]=b.useState(0),[h,m]=b.useState(null),y=b.useRef(new Set),g=b.useRef(a),x=b.useRef(c),S=b.useMemo(()=>xy(i),[i]),E=b.useMemo(()=>S.filter(D=>D.highlight).length,[S]);b.useEffect(()=>{g.current=a,x.current=c},[a,c]),b.useEffect(()=>{if(o){y.current=new Set;const D=setTimeout(()=>m(Date.now()),100);return()=>clearTimeout(D)}else f(0),m(null)},[o]),b.useEffect(()=>{if(!h||!c)return;const D=()=>{var z;const N=Date.now()-h,L=Math.min(N/900,1);f(L*100);for(let B=0;B<E;B++){const Q=B/E,G=1/E;Math.max(0,Math.min(1,(L-Q)/G))>=.5&&!y.current.has(B)&&(y.current.add(B),(z=x.current)==null||z.call(x,g.current,B))}L<1&&requestAnimationFrame(D)};requestAnimationFrame(D)},[h,E,c]);let j=0;return A.jsx("div",{className:"max-w-[520px] w-full",style:{opacity:o?1:.3,transform:`scale(${o?1:.96})`,transition:"all 1s cubic-bezier(0.22, 1, 0.36, 1)",willChange:"opacity, transform"},children:A.jsxs("div",{className:"px-12 py-10 relative overflow-hidden",style:{background:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(40px)",WebkitBackdropFilter:"blur(40px)"},children:[A.jsx("div",{className:"absolute top-0 left-0 h-[2px] bg-black w-full",style:{transform:`scaleX(${o?1:0})`,transformOrigin:"left",transition:"transform 1.2s cubic-bezier(0.22, 1, 0.36, 1)"}}),A.jsx("div",{className:"mb-3",style:{opacity:o?1:.5,transition:"opacity 0.8s ease-out"},children:A.jsx("p",{className:"font-['IBM_Plex_Mono',monospace] text-[15px] tracking-[0.12em] uppercase text-[#787E94] font-medium",children:n})}),A.jsx("div",{className:"font-['Albert_Sans',sans-serif] text-[18px] leading-[140%] text-[#2F3037] font-medium",style:{letterSpacing:"-0.5px",opacity:o?1:.6,transition:"opacity 0.8s ease-out"},children:S.map((D,N)=>{if(D.highlight){const z=j++/E,B=1/E,Q=Math.max(0,Math.min(1,(d/100-z)/B));return A.jsxs("mark",{className:"relative inline-block font-bold",style:{background:"transparent",color:"#1a1a1a",padding:"0 4px"},children:[A.jsx("span",{className:"absolute inset-0 bg-[#FFEB3B] ease-out origin-left",style:{transform:`scaleX(${Q})`,transformOrigin:"left",transition:"none"}}),D.isHtml?A.jsx("span",{className:"relative z-10",dangerouslySetInnerHTML:{__html:D.text}}):A.jsx("span",{className:"relative z-10",children:D.text})]},N)}return D.isHtml?A.jsx("span",{dangerouslySetInnerHTML:{__html:D.text}},N):A.jsx("span",{children:D.text},N)})})]})})}function Sy({activeSection:n,totalSections:i,times:o,avgLuminance:a,onTimeClick:c,accentColor:d="#FFEB3B"}){const f=b.useRef(null),h=b.useRef(null),m=b.useMemo(()=>{const E=255+-255*Math.max(0,Math.min(1,(a-.3)/.4));return`rgb(${Math.round(E)}, ${Math.round(E)}, ${Math.round(E)})`},[a]),y=b.useMemo(()=>(n+1)/i*100,[n,i]),g=n===i-1?.2:1,x=b.useMemo(()=>{if(typeof window>"u")return 16;const S=window.innerHeight*.9,j=o.length*24,D=S-j;return Math.max(16,D/(o.length+1))},[o.length]);return b.useEffect(()=>{h.current&&f.current&&h.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[n]),A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"fixed left-8 top-1/2 -translate-y-1/2 z-20 hidden md:block",style:{opacity:g,transition:"opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1)",maxHeight:"90vh"},children:A.jsxs("div",{className:"relative flex flex-col items-center bg-[rgba(255,255,255,0)]",style:{gap:`${x}px`},children:[A.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-[2px] rounded-full opacity-15 -translate-x-1/2",style:{backgroundColor:m}}),A.jsx("div",{className:"absolute left-0 top-0 w-[2px] rounded-full transition-all duration-500 ease-out -translate-x-1/2",style:{height:`${y}
40%`,backgroundColor:d,boxShadow:`0 0 8px ${d}40`}}),o.map((S,E)=>{const j=E===n,D=E<n,N=j?"active":D?"passed":"future";return A.jsxs("button",{className:`timeline-item flex items-center gap-4 relative ${N} cursor-pointer hover:opacity-100 transition-opacity`,onClick:()=>c(E),children:[A.jsx("div",{className:"timeline-dot relative flex items-center justify-center z-10 w-0",children:j?A.jsx("div",{className:"w-[12px] h-[12px] rounded-full transition-all duration-500 absolute left-1/2 -translate-x-1/2",style:{backgroundColor:d,boxShadow:`0 0 16px ${d}80, 0 0 4px ${d}`}}):D?A.jsx("div",{className:"w-[8px] h-[8px] rounded-full transition-all duration-500 absolute left-1/2 -translate-x-1/2",style:{backgroundColor:d}}):A.jsx("div",{className:"w-[6px] h-[6px] rounded-full transition-all duration-500 absolute left-1/2 -translate-x-1/2",style:{backgroundColor:m,opacity:.3}})}),A.jsx("span",{className:"timeline-label font-['IBM_Plex_Mono',monospace] text-[14px] tracking-[-0.02em] whitespace-nowrap transition-all duration-500",style:{color:j?d:m,fontWeight:j?700:D?600:500,opacity:j?1:D?.85:.4},children:S})]},E)})]})}),A.jsx("div",{className:"fixed bottom-6 left-0 right-0 z-20 md:hidden",style:{opacity:g,transition:"opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1)"},children:A.jsx("div",{ref:f,className:"relative flex items-center gap-6 px-6 py-3 overflow-x-auto scrollbar-hide",style:{scrollbarWidth:"none",msOverflowStyle:"none",WebkitOverflowScrolling:"touch"},children:o.map((S,E)=>{const j=E===n,D=E<n;return A.jsxs("button",{className:"relative flex flex-col items-center gap-2 cursor-pointer hover:opacity-100 transition-opacity flex-shrink-0",onClick:()=>c(E),ref:j?h:null,children:[A.jsx("div",{className:"relative flex items-center justify-center",children:j?A.jsx("div",{className:"w-[12px] h-[12px] rounded-full transition-all duration-500",style:{backgroundColor:d,boxShadow:`0 0 12px ${d}80, 0 0 3px ${d}`}}):D?A.jsx("div",{className:"w-[8px] h-[8px] rounded-full transition-all duration-500",style:{backgroundColor:d,opacity:.6}}):A.jsx("div",{className:"w-[6px] h-[6px] rounded-full transition-all duration-500",style:{backgroundColor:m,opacity:.3}})}),A.jsx("span",{className:"font-['IBM_Plex_Mono',monospace] text-[11px] tracking-[-0.02em] whitespace-nowrap transition-all duration-500",style:{color:j?d:m,fontWeight:j?700:D?600:500,opacity:j?1:D?.7:.4},children:S})]},E)})})})]})}const jp=b.createContext({});function ky(n){const i=b.useRef(null);return i.current===null&&(i.current=n()),i.current}const Rp=typeof window<"u",Ty=Rp?b.useLayoutEffect:b.useEffect,Vl=b.createContext(null);function Fl(n,i){n.indexOf(i)===-1&&n.push(i)}function _l(n,i){const o=n.indexOf(i);o>-1&&n.splice(o,1)}const It=(n,i,o)=>o>i?i:o<n?n:o;let Il=()=>{};const Gt={},Np=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function Lp(n){return typeof n=="object"&&n!==null}const Vp=n=>/^0[^.\s]+$/u.test(n);function Ol(n){let i;return()=>(i===void 0&&(i=n()),i)}const St=n=>n,Py=(n,i)=>o=>i(n(o)),mi=(...n)=>n.reduce(Py),ci=(n,i,o)=>{const a=i-n;return a===0?1:(o-n)/a};class zl{constructor(){this.subscriptions=[]}add(i){return Fl(this.subscriptions,i),()=>_l(this.subscriptions,i)}notify(i,o,a){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](i,o,a);else for(let d=0;d<c;d++){const f=this.subscriptions[d];f&&f(i,o,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Kt=n=>n*1e3,wt=n=>n/1e3;function Fp(n,i){return i?n*(1e3/i):0}const _p=(n,i,o)=>(((1-3*o+3*i)*n+(3*o-6*i))*n+3*i)*n,Cy=1e-7,Ey=12;function My(n,i,o,a,c){let d,f,h=0;do f=i+(o-i)/2,d=_p(f,a,c)-n,d>0?o=f:i=f;while(Math.abs(d)>Cy&&++h<Ey);return f}function gi(n,i,o,a){if(n===i&&o===a)return St;const c=d=>My(d,0,1,n,o);return d=>d===0||d===1?d:_p(c(d),i,a)}const Ip=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,Op=n=>i=>1-n(1-i),zp=gi(.33,1.53,.69,.99),Bl=Op(zp),Bp=Ip(Bl),bp=n=>(n*=2)<1?.5*Bl(n):.5*(2-Math.pow(2,-10*(n-1))),bl=n=>1-Math.sin(Math.acos(n)),Up=Op(bl),Wp=Ip(bl),Ay=gi(.42,0,1,1),Dy=gi(0,0,.58,1),$p=gi(.42,0,.58,1),jy=n=>Array.isArray(n)&&typeof n[0]!="number",Hp=n=>Array.isArray(n)&&typeof n[0]=="number",Ry={linear:St,easeIn:Ay,easeInOut:$p,easeOut:Dy,
vendor: 77,513 bytes, line 40
40circIn:bl,circInOut:Wp,circOut:Up,backIn:Bl,backInOut:Bp,backOut:zp,anticipate:bp},Ny=n=>typeof n=="string",hd=n=>{if(Hp(n)){Il(n.length===4);const[i,o,a,c]=n;return gi(i,o,a,c)}else if(Ny(n))return Ry[n];return n},js=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Ly(n,i){let o=new Set,a=new Set,c=!1,d=!1;const f=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(g){f.has(g)&&(y.schedule(g),n()),g(h)}const y={schedule:(g,x=!1,S=!1)=>{const j=S&&c?o:a;return x&&f.add(g),j.has(g)||j.add(g),g},cancel:g=>{a.delete(g),f.delete(g)},process:g=>{if(h=g,c){d=!0;return}c=!0,[o,a]=[a,o],o.forEach(m),o.clear(),c=!1,d&&(d=!1,y.process(g))}};return y}const Vy=40;function Kp(n,i){let o=!1,a=!0;const c={delta:0,timestamp:0,isProcessing:!1},d=()=>o=!0,f=js.reduce((B,Q)=>(B[Q]=Ly(d),B),{}),{setup:h,read:m,resolveKeyframes:y,preUpdate:g,update:x,preRender:S,render:E,postRender:j}=f,D=()=>{const B=Gt.useManualTiming?c.timestamp:performance.now();o=!1,Gt.useManualTiming||(c.delta=a?1e3/60:Math.max(Math.min(B-c.timestamp,Vy),1)),c.timestamp=B,c.isProcessing=!0,h.process(c),m.process(c),y.process(c),g.process(c),x.process(c),S.process(c),E.process(c),j.process(c),c.isProcessing=!1,o&&i&&(a=!1,n(D))},N=()=>{o=!0,a=!0,c.isProcessing||n(D)};return{schedule:js.reduce((B,Q)=>{const G=f[Q];return B[Q]=(re,le=!1,J=!1)=>(o||N(),G.schedule(re,le,J)),B},{}),cancel:B=>{for(let Q=0;Q<js.length;Q++)f[js[Q]].cancel(B)},state:c,steps:f}}const{schedule:Pe,cancel:gn,state:$e,steps:Ga}=Kp(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let Vs;function Fy(){Vs=void 0}const et={now:()=>(Vs===void 0&&et.set($e.isProcessing||Gt.useManualTiming?$e.timestamp:performance.now()),Vs),set:n=>{Vs=n,queueMicrotask(Fy)}},Gp=n=>i=>typeof i=="string"&&i.startsWith(n),qp=Gp("--"),_y=Gp("var(--"),Ul=n=>_y(n)?Iy.test(n.split("/*")[0].trim()):!1,Iy=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function md(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const hr={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},fi={...hr,transform:n=>It(0,1,n)},Rs={...hr,default:1},oi=n=>Math.round(n*1e5)/1e5,Wl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Oy(n){return n==null}const zy=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,$l=(n,i)=>o=>!!(typeof o=="string"&&zy.test(o)&&o.startsWith(n)||i&&!Oy(o)&&Object.prototype.hasOwnProperty.call(o,i)),Yp=(n,i,o)=>a=>{if(typeof a!="string")return a;const[c,d,f,h]=a.match(Wl);return{[n]:parseFloat(c),[i]:parseFloat(d),[o]:parseFloat(f),alpha:h!==void 0?parseFloat(h):1}},By=n=>It(0,255,n),qa={...hr,transform:n=>Math.round(By(n))},Vn={test:$l("rgb","red"),parse:Yp("red","green","blue"),transform:({red:n,green:i,blue:o,alpha:a=1})=>"rgba("+qa.transform(n)+", "+qa.transform(i)+", "+qa.transform(o)+", "+oi(fi.transform(a))+")"};function by(n){let i="",o="",a="",c="";return n.length>5?(i=n.substring(1,3),o=n.substring(3,5),a=n.substring(5,7),c=n.substring(7,9)):(i=n.substring(1,2),o=n.substring(2,3),a=n.substring(3,4),c=n.substring(4,5),i+=i,o+=o,a+=a,c+=c),{red:parseInt(i,16),green:parseInt(o,16),blue:parseInt(a,16),alpha:c?parseInt(c,16)/255:1}}const cl={test:$l("#"),parse:by,transform:Vn.transform},yi=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),hn=yi("deg"),_t=yi("%"),K=yi("px"),Uy=yi("vh"),Wy=yi("vw"),gd={..._t,parse:n=>_t.parse(n)/100,transform:n=>_t.transform(n*100)},lr={test:$l("hsl","hue"),parse:Yp("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:o,alpha:a=1})=>"hsla("+Math.round(n)+", "+_t.transform(oi(i))+", "+_t.transform(oi(o))+", "+oi(fi.transform(a))+")"},Fe={test:n=>Vn.test(n)||cl.test(n)||lr.test(n),parse:n=>Vn.test(n)?Vn.parse(n):lr.test(n)?lr.parse(n):cl.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Vn.transform(n):lr.transform(n),getAnimatableNone:n=>{const i=Fe.parse(n);return i.alpha=0,Fe.transform(i)}},$y=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Hy(n){var i,o;return isNaN(n)&&typeof n=="string"&&(((i=n.match(Wl))==null?void 0:i.length)||0)+(((o=n.match($y))==null?void 0:o.length)||0)>0}const Xp="number",Qp="color",Ky="var",Gy="var(",yd="${}",qy=/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 di(n){const i=n.toString(),o=[],a={color:[],number:[],var:[]},c=[];let d=0;const h=i.replace(qy,m=>(Fe.test(m)?(a.color.push(d),c.push(Qp),o.push(Fe.parse(m))):m.startsWith(Gy)?(a.var.push(d),c.push(Ky),o.push(m)):(a.number.push(d),c.push(Xp),o.push(parseFloat(m))),++d,yd)).split(yd);return{values:o,split:h,indexes:a,types:c}}function Jp(n){return di(n).values}function Zp(n){const{split:i,types:o}=di(n),a=i.length;return c=>{let d="";for(let f=0;f<a;f++)if(d+=i[f],c[f]!==void 0){const h=o[f];h===Xp?d+=oi(c[f]):h===Qp?d+=Fe.transform(c[f]):d+=c[f]}return d}}const Yy=n=>typeof n=="number"?0:Fe.test(n)?Fe.getAnimatableNone(n):n;function Xy(n){const i=Jp(n);return Zp(n)(i.map(Yy))}const yn={test:Hy,parse:Jp,createTransformer:Zp,getAnimatableNone:Xy};function Ya(n,i,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?n+(i-n)*6*o:o<1/2?i:o<2/3?n+(i-n)*(2/3-o)*6:n}function Qy({hue:n,saturation:i,lightness:o,alpha:a}){n/=360,i/=100,o/=100;let c=0,d=0,f=0;if(!i)c=d=f=o;else{const h=o<.5?o*(1+i):o+i-o*i,m=2*o-h;c=Ya(m,h,n+1/3),d=Ya(m,h,n),f=Ya(m,h,n-1/3)}return{red:Math.round(c*255),green:Math.round(d*255),blue:Math.round(f*255),alpha:a}}function Os(n,i){return o=>o>0?i:n}const De=(n,i,o)=>n+(i-n)*o,Xa=(n,i,o)=>{const a=n*n,c=o*(i*i-a)+a;return c<0?0:Math.sqrt(c)},Jy=[cl,Vn,lr],Zy=n=>Jy.find(i=>i.test(n));function vd(n){const i=Zy(n);if(!i)return!1;let o=i.parse(n);return i===lr&&(o=Qy(o)),o}const xd=(n,i)=>{const o=vd(n),a=vd(i);if(!o||!a)return Os(n,i);const c={...o};return d=>(c.red=Xa(o.red,a.red,d),c.green=Xa(o.green,a.green,d),c.blue=Xa(o.blue,a.blue,d),c.alpha=De(o.alpha,a.alpha,d),Vn.transform(c))},fl=new Set(["none","hidden"]);function e0(n,i){return fl.has(n)?o=>o<=0?n:i:o=>o>=1?i:n}function t0(n,i){return o=>De(n,i,o)}function Hl(n){return typeof n=="number"?t0:typeof n=="string"?Ul(n)?Os:Fe.test(n)?xd:i0:Array.isArray(n)?eh:typeof n=="object"?Fe.test(n)?xd:n0:Os}function eh(n,i){const o=[...n],a=o.length,c=n.map((d,f)=>Hl(d)(d,i[f]));return d=>{for(let f=0;f<a;f++)o[f]=c[f](d);return o}}function n0(n,i){const o={...n,...i},a={};for(const c in o)n[c]!==void 0&&i[c]!==void 0&&(a[c]=Hl(n[c])(n[c],i[c]));return c=>{for(const d in a)o[d]=a[d](c);return o}}function r0(n,i){const o=[],a={color:0,var:0,number:0};for(let c=0;c<i.values.length;c++){const d=i.types[c],f=n.indexes[d][a[d]],h=n.values[f]??0;o[c]=h,a[d]++}return o}const i0=(n,i)=>{const o=yn.createTransformer(i),a=di(n),c=di(i);return a.indexes.var.length===c.indexes.var.length&&a.indexes.color.length===c.indexes.color.length&&a.indexes.number.length>=c.indexes.number.length?fl.has(n)&&!c.values.length||fl.has(i)&&!a.values.length?e0(n,i):mi(eh(r0(a,c),c.values),o):Os(n,i)};function th(n,i,o){return typeof n=="number"&&typeof i=="number"&&typeof o=="number"?De(n,i,o):Hl(n)(n,i)}const s0=n=>{const i=({timestamp:o})=>n(o);return{start:(o=!0)=>Pe.update(i,o),stop:()=>gn(i),now:()=>$e.isProcessing?$e.timestamp:et.now()}},nh=(n,i,o=10)=>{let a="";const c=Math.max(Math.round(i/o),2);for(let d=0;d<c;d++)a+=Math.round(n(d/(c-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},zs=2e4;function Kl(n){let i=0;const o=50;let a=n.next(i);for(;!a.done&&i<zs;)i+=o,a=n.next(i);return i>=zs?1/0:i}function o0(n,i=100,o){const a=o({...n,keyframes:[0,i]}),c=Math.min(Kl(a),zs);return{type:"keyframes",ease:d=>a.next(c*d).value/i,duration:wt(c)}}const a0=5;function rh(n,i,o){const a=Math.max(i-a0,0);return Fp(o-n(a),i-a)}const Re={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},Qa=.001;function l0({duration:n=Re.duration,bounce:i=Re.bounce,velocity:o=Re.velocity,mass:a=Re.mass}){let c,d,f=1-i;f=It(Re.minDamping,Re.maxDamping,f),n=It(Re.minDuration,Re.maxDuration,wt(n)),f<1?(c=y=>{const g=y*f,x=g*n,S=g-o,E=dl(y,f),j=Math.exp(-x);return Qa-S/E*j},d=y=>{const x=y*f*n,S=x*o+o,E=Math.pow(f,2)*Math.pow(y,2)*n,j=Math.exp(-x),D=dl(Math.pow(y,2),f);return(-c(y)+Qa>0?-1:1)*((S-E)*j)/D}):(c=y=>{const g=Math.exp(-y*n),x=(y-o)*n+1;return-Qa+g*x},d=y=>{const g=Math.exp(-y*n),x=(o-y)*(n*n);return g*x});const h=5/n,m=c0(c,d,h);if(n=Kt(n),isNaN(m))return{stiffness:Re.stiffness,damping:Re.damping,duration:n};{const y=Math.pow(m,2)*a;return{stiffness:y,damping:f*2*Math.sqrt(a*y),duration:n}}}const u0=12;function c0(n,i,o){let a=o;for(let c=1;c<u0;c++)a=a-n(a)/i(a);return a}function dl(n,i){return n*Math.sqrt(1-i*i)}const f0=["duration","bounce"],d0=["stiffness","damping","mass"];function wd(n,i){return i.some(o=>n[o]!==void 0)}function p0(n){let i={velocity:Re.velocity,stiffness:Re.stiffness,damping:Re.damping,mass:Re.mass,isResolvedFromDuration:!1,...n};if(!wd(n,d0)&&wd(n,f0))if(n.visualDuration){const o=n.visualDuration,a=2*Math.PI/(o*1.2),c=a*a,d=2*It(.05,1,1-(n.bounce||0))*Math.sqrt(c);i={...i,mass:Re.mass,stiffness:c,damping:d}}else{const o=l0(n);i={...i,...o,mass:Re.mass},i.isResolvedFromDuration=!0}return i}function Bs(n=Re.visualDuration,i=Re.bounce){const o=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:a,restDelta:c}=o;const d=o.keyframes[0],f=o.keyframes[o.keyframes.length-1],h={done:!1,value:d},{stiffness:m,damping:y,mass:g,duration:x,velocity:S,isResolvedFromDuration:E}=p0({...o,velocity:-wt(o.velocity||0)}),j=S||0,D=y/(2*Math.sqrt(m*g)),N=f-d,L=wt(Math.sqrt(m/g)),z=Math.abs(N)<5;a||(a=z?Re.restSpeed.granular:Re.restSpeed.default),c||(c=z?Re.restDelta.granular:Re.restDelta.default);let B;if(D<1){const G=dl(L,D);B=re=>{const le=Math.exp(-D*L*re);return f-le*((j+D*L*N)/G*Math.sin(G*re)+N*Math.cos(G*re))}}else if(D===1)B=G=>f-Math.exp(-L*G)*(N+(j+L*N)*G);else{const G=L*Math.sqrt(D*D-1);B=re=>{const le=Math.exp(-D*L*re),J=Math.min(G*re,300);return f-le*((j+D*L*N)*Math.sinh(J)+G*N*Math.cosh(J))/G}}const Q={calculatedDuration:E&&x||null,next:G=>{const re=B(G);if(E)h.done=G>=x;else{let le=G===0?j:0;D<1&&(le=G===0?Kt(j):rh(B,G,re));const J=Math.abs(le)<=a,we=Math.abs(f-re)<=c;h.done=J&&we}return h.value=h.done?f:re,h},toString:()=>{const G=Math.min(Kl(Q),zs),re=nh(le=>Q.next(G*le).value,G,30);return G+"ms "+re},toTransition:()=>{}};return Q}Bs.applyToOptions=n=>{const i=o0(n,100,Bs);return n.ease=i.ease,n.duration=Kt(i.duration),n.type="keyframes",n};function pl({keyframes:n,velocity:i=0,power:o=.8,timeConstant:a=325,bounceDamping:c=10,bounceStiffness:d=500,modifyTarget:f,min:h,max:m,restDelta:y=.5,restSpeed:g}){const x=n[0],S={done:!1,value:x},E=J=>h!==void 0&&J<h||m!==void 0&&J>m,j=J=>h===void 0?m:m===void 0||Math.abs(h-J)<Math.abs(m-J)?h:m;let D=o*i;const N=x+D,L=f===void 0?N:f(N);L!==N&&(D=L-x);const z=J=>-D*Math.exp(-J/a),B=J=>L+z(J),Q=J=>{const we=z(J),xe=B(J);S.done=Math.abs(we)<=y,S.value=S.done?L:xe};let G,re;const le=J=>{E(S.value)&&(G=J,re=Bs({keyframes:[S.value,j(S.value)],velocity:rh(B,J,S.value),damping:c,stiffness:d,restDelta:y,restSpeed:g}))};return le(0),{calculatedDuration:null,next:J=>{let we=!1;return!re&&G===void 0&&(we=!0,Q(J),le(J)),G!==void 0&&J>=G?re.next(J-G):(!we&&Q(J),S)}}}function h0(n,i,o){const a=[],c=o||Gt.mix||th,d=n.length-1;for(let f=0;f<d;f++){let h=c(n[f],n[f+1]);if(i){const m=Array.isArray(i)?i[f]||St:i;h=mi(m,h)}a.push(h)}return a}function m0(n,i,{clamp:o=!0,ease:a,mixer:c}={}){const d=n.length;if(Il(d===i.length),d===1)return()=>i[0];if(d===2&&i[0]===i[1])return()=>i[1];const f=n[0]===n[1];n[0]>n[d-1]&&(n=[...n].reverse(),i=[...i].reverse());const h=h0(i,a,c),m=h.length,y=g=>{if(f&&g<n[0])return i[0];let x=0;if(m>1)for(;x<n.length-2&&!(g<n[x+1]);x++);const S=ci(n[x],n[x+1],g);return h[x](S)};return o?g=>y(It(n[0],n[d-1],g)):y}function g0(n,i){const o=n[n.length-1];for(let a=1;a<=i;a++){const c=ci(0,i,a);n.push(De(o,1,c))}}function y0(n){const i=[0];return g0(i,n.length-1),i}function v0(n,i){return n.map(o=>o*i)}function x0(n,i){return n.map(()=>i||$p).splice(0,n.length-1)}function ai({duration:n=300,keyframes:i,times:o,ease:a="easeInOut"}){const c=jy(a)?a.map(hd):hd(a),d={done:!1,value:i[0]},f=v0(o&&o.length===i.length?o:y0(i),n),h=m0(f,i,{ease:Array.isArray(c)?c:x0(i,c)});return{calculatedDuration:n,next:m=>(d.value=h(m),d.done=m>=n,d)}}const w0=n=>n!==null;function Gl(n,{repeat:i,repeatType:o="loop"},a,c=1){const d=n.filter(w0),h=c<0||i&&o!=="loop"&&i%2===1?0:d.length-1;return!h||a===void 0?d[h]:a}const S0={decay:pl,inertia:pl,tween:ai,keyframes:ai,spring:Bs};function ih(n){typeof n.type=="string"&&(n.type=S0[n.type])}class ql{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,o){return this.finished.then(i,o)}}const k0=n=>n/100;class Yl extends ql{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var a,c;const{motionValue:o}=this.options;o&&o.updatedAt!==et.now()&&this.tick(et.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(c=(a=this.options).onStop)==null||c.call(a))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;ih(i);const{type:o=ai,repeat:a=0,repeatDelay:c=0,repeatType:d,velocity:f=0}=i;let{keyframes:h}=i;const m=o||ai;m!==ai&&typeof h[0]!="number"&&(this.mixKeyframes=mi(k0,th(h[0],h[1])),h=[0,100]);const y=m({...i,keyframes:h});d==="mirror"&&(this.mirroredGenerator=m({...i,keyframes:[...h].reverse(),velocity:-f})),y.calculatedDuration===null&&(y.calculatedDuration=Kl(y));const{calculatedDuration:g}=y;this.calculatedDuration=g,this.resolvedDuration=g+c,this.totalDuration=this.resolvedDuration*(a+1)-c,this.generator=y}updateTime(i){const o=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(i,o=!1){const{generator:a,totalDuration:c,mixKeyframes:d,mirroredGenerator:f,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return a.next(0);const{delay:y=0,keyframes:g,repeat:x,repeatType:S,repeatDelay:E,type:j,onUpdate:D,finalKeyframe:N}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-c/this.speed,this.startTime)),o?this.currentTime=i:this.updateTime(i);const L=this.currentTime-y*(this.playbackSpeed>=0?1:-1),z=this.playbackSpeed>=0?L<0:L>c;this.currentTime=Math.max(L,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let B=this.currentTime,Q=a;if(x){const J=Math.min(this.currentTime,c)/h;let we=Math.floor(J),xe=J%1;!xe&&J>=1&&(xe=1),xe===1&&we--,we=Math.min(we,x+1),!!(we%2)&&(S==="reverse"?(xe=1-xe,E&&(xe-=E/h)):S==="mirror"&&(Q=f)),B=It(0,1,xe)*h}const G=z?{done:!1,value:g[0]}:Q.next(B);d&&(G.value=d(G.value));let{done:re}=G;!z&&m!==null&&(re=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const le=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&re);return le&&j!==pl&&(G.value=Gl(g,this.options,N,this.speed)),D&&D(G.value),le&&this.finish(),G}then(i,o){return this.finished.then(i,o)}get duration(){return wt(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+wt(i)}get time(){return wt(this.currentTime)}set time(i){var o;i=Kt(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),(o=this.driver)==null||o.start(!1)}get speed(){return this.playbackSpeed}set speed(i){this.updateTime(et.now());const o=this.playbackSpeed!==i;this.playbackSpeed=i,o&&(this.time=wt(this.currentTime))}play(){var c,d;if(this.isStopped)return;const{driver:i=s0,startTime:o}=this.options;this.driver||(this.driver=i(f=>this.tick(f))),(d=(c=this.options).onPlay)==null||d.call(c);const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=o??a),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(et.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,o;this.notifyFinished(),this.teardown(),this.state="finished",(o=(i=this.options).onComplete)==null||o.call(i)}cancel(){var i,o;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(o=(i=this.options).onCancel)==null||o.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var o;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(o=this.driver)==null||o.stop(),i.observe(this)}}function T0(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const Fn=n=>n*180/Math.PI,hl=n=>{const i=Fn(Math.atan2(n[1],n[0]));return ml(i)},P0={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:hl,rotateZ:hl,skewX:n=>Fn(Math.atan(n[1])),skewY:n=>Fn(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},ml=n=>(n=n%360,n<0&&(n+=360),n),Sd=hl,kd=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),Td=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),C0={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:kd,scaleY:Td,scale:n=>(kd(n)+Td(n))/2,rotateX:n=>ml(Fn(Math.atan2(n[6],n[5]))),rotateY:n=>ml(Fn(Math.atan2(-n[2],n[0]))),rotateZ:Sd,rotate:Sd,skewX:n=>Fn(Math.atan(n[4])),skewY:n=>Fn(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function gl(n){return n.includes("scale")?1:0}function yl(n,i){if(!n||n==="none")return gl(i);const o=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,c;if(o)a=C0,c=o;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=P0,c=h}if(!c)return gl(i);const d=a[i],f=c[1].split(",").map(M0);return typeof d=="function"?d(f):f[d]}const E0=(n,i)=>{const{transform:o="none"}=getComputedStyle(n);return yl(o,i)};function M0(n){return parseFloat(n.trim())}const mr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],gr=new Set(mr),Pd=n=>n===hr||n===K,A0=new Set(["x","y","z"]),D0=mr.filter(n=>!A0.has(n));function j0(n){const i=[];return D0.forEach(o=>{const a=n.getValue(o);a!==void 0&&(i.push([o,a.get()]),a.set(o.startsWith("scale")?1:0))}),i}const mn={width:({x:n},{paddingLeft:i="0",paddingRight:o="0"})=>n.max-n.min-parseFloat(i)-parseFloat(o),height:({y:n},{paddingTop:i="0",paddingBottom:o="0"})=>n.max-n.min-parseFloat(i)-parseFloat(o),top:(n,{top:i})=>parseFloat(i),left:(n,{left:i})=>parseFloat(i),bottom:({y:n},{top:i})=>parseFloat(i)+(n.max-n.min),right:({x:n},{left:i})=>parseFloat(i)+(n.max-n.min),x:(n,{transform:i})=>yl(i,"x"),y:(n,{transform:i})=>yl(i,"y")};mn.translateX=mn.x;mn.translateY=mn.y;const _n=new Set;let vl=!1,xl=!1,wl=!1;function sh(){if(xl){const n=Array.from(_n).filter(a=>a.needsMeasurement),i=new Set(n.map(a=>a.element)),o=new Map;i.forEach(a=>{const c=j0(a);c.length&&(o.set(a,c),a.render())}),n.forEach(a=>a.measureInitialState()),i.forEach(a=>{a.render();const c=o.get(a);c&&c.forEach(([d,f])=>{var h;(h=a.getValue(d))==null||h.set(f)})}),n.forEach(a=>a.measureEndState()),n.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}xl=!1,vl=!1,_n.forEach(n=>n.complete(wl)),_n.clear()}function oh(){_n.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(xl=!0)})}function R0(){wl=!0,oh(),sh(),wl=!1}class Xl{constructor(i,o,a,c,d,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=o,this.name=a,this.motionValue=c,this.element=d,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(_n.add(this),vl||(vl=!0,Pe.read(oh),Pe.resolveKeyframes(sh))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:o,element:a,motionValue:c}=this;if(i[0]===null){const d=c==null?void 0:c.get(),f=i[i.length-1];if(d!==void 0)i[0]=d;else if(a&&o){const h=a.readValue(o,f);h!=null&&(i[0]=h)}i[0]===void 0&&(i[0]=f),c&&d===void 0&&c.set(i[0])}T0(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),_n.delete(this)}cancel(){this.state==="scheduled"&&(_n.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const N0=n=>n.startsWith("--");function L0(n,i,o){N0(i)?n.style.setProperty(i,o):n.style[i]=o}const V0=Ol(()=>window.ScrollTimeline!==void 0),F0={};function _0(n,i){const o=Ol(n);return()=>F0[i]??o()}const ah=_0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ii=([n,i,o,a])=>`cubic-bezier(${n}, ${i}, ${o}, ${a})`,Cd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ii([0,.65,.55,1]),circOut:ii([.55,0,1,.45]),backIn:ii([.31,.01,.66,-.59]),backOut:ii([.33,1.53,.69,.99])};function lh(n,i){if(n)return typeof n=="function"?ah()?nh(n,i):"ease-out":Hp(n)?ii(n):Array.isArray(n)?n.map(o=>lh(o,i)||Cd.easeOut):Cd[n]}function I0(n,i,o,{delay:a=0,duration:c=300,repeat:d=0,repeatType:f="loop",ease:h="easeOut",times:m}={},y=void 0){const g={[i]:o};m&&(g.offset=m);const x=lh(h,c);Array.isArray(x)&&(g.easing=x);const S={delay:a,duration:c,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:d+1,direction:f==="reverse"?"alternate":"normal"};return y&&(S.pseudoElement=y),n.animate(g,S)}function uh(n){return typeof n=="function"&&"applyToOptions"in n}function O0({type:n,...i}){return uh(n)&&ah()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class z0 extends ql{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:o,name:a,keyframes:c,pseudoElement:d,allowFlatten:f=!1,finalKeyframe:h,onComplete:m}=i;this.isPseudoElement=!!d,this.allowFlatten=f,this.options=i,Il(typeof i.type!="string");const y=O0(i);this.animation=I0(o,a,c,y,d),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const g=Gl(c,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(g):L0(o,a,g),this.animation.cancel()}m==null||m(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,o;(o=(i=this.animation).finish)==null||o.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var i,o;this.isPseudoElement||(o=(i=this.animation).commitStyles)==null||o.call(i)}get duration(){var o,a;const i=((a=(o=this.animation.effect)==null?void 0:o.getComputedTiming)==null?void 0:a.call(o).duration)||0;return wt(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+wt(i)}get time(){return wt(Number(this.animation.currentTime)||0)}set time(i){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Kt(i)}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,observe:o}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&V0()?(this.animation.timeline=i,St):o(this)}}const ch={anticipate:bp,backInOut:Bp,circInOut:Wp};function B0(n){return n in ch}function b0(n){typeof n.ease=="string"&&B0(n.ease)&&(n.ease=ch[n.ease])}const Ja=10;class U0 extends z0{constructor(i){b0(i),ih(i),super(i),i.startTime!==void 0&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:o,onUpdate:a,onComplete:c,element:d,...f}=this.options;if(!o)return;if(i!==void 0){o.set(i);return}const h=new Yl({...f,autoplay:!1}),m=Math.max(Ja,et.now()-this.startTime),y=It(0,Ja,m-Ja);o.setWithVelocity(h.sample(Math.max(0,m-y)).value,h.sample(m).value,y),h.stop()}}const Ed=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(yn.test(n)||n==="0")&&!n.startsWith("url("));function W0(n){const i=n[0];if(n.length===1)return!0;for(let o=0;o<n.length;o++)if(n[o]!==i)return!0}function $0(n,i,o,a){const c=n[0];if(c===null)return!1;if(i==="display"||i==="visibility")return!0;const d=n[n.length-1],f=Ed(c,i),h=Ed(d,i);return!f||!h?!1:W0(n)||(o==="spring"||uh(o))&&a}function Sl(n){n.duration=0,n.type="keyframes"}const H0=new Set(["opacity","clipPath","filter","transform"]),K0=Ol(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function G0(n){var g;const{motionValue:i,name:o,repeatDelay:a,repeatType:c,damping:d,type:f}=n;if(!(((g=i==null?void 0:i.owner)==null?void 0:g.current)instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:y}=i.owner.getProps();return K0()&&o&&H0.has(o)&&(o!=="transform"||!y)&&!m&&!a&&c!=="mirror"&&d!==0&&f!=="inertia"}const q0=40;class Y0 extends ql{constructor({autoplay:i=!0,delay:o=0,type:a="keyframes",repeat:c=0,repeatDelay:d=0,repeatType:f="loop",keyframes:h,name:m,motionValue:y,element:g,...x}){var j;super(),this.stop=()=>{var D,N;this._animation&&(this._animation.stop(),(D=this.stopTimeline)==null||D.call(this)),(N=this.keyframeResolver)==null||N.cancel()},this.createdAt=et.now();const S={autoplay:i,delay:o,type:a,repeat:c,repeatDelay:d,repeatType:f,name:m,motionValue:y,element:g,...x},E=(g==null?void 0:g.KeyframeResolver)||Xl;this.keyframeResolver=new E(h,(D,N,L)=>this.onKeyframesResolved(D,N,S,!L),m,y,g),(j=this.keyframeResolver)==null||j.scheduleResolve()}onKeyframesResolved(i,o,a,c){var N,L;this.keyframeResolver=void 0;const{name:d,type:f,velocity:h,delay:m,isHandoff:y,onUpdate:g}=a;this.resolvedAt=et.now(),$0(i,d,f,h)||((Gt.instantAnimations||!m)&&(g==null||g(Gl(i,a,o))),i[0]=i[i.length-1],Sl(a),a.repeat=0);const S={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>q0?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...a,keyframes:i},E=!y&&G0(S),j=(L=(N=S.motionValue)==null?void 0:N.owner)==null?void 0:L.current,D=E?new U0({...S,element:j}):new Yl(S);D.finished.then(()=>{this.notifyFinished()}).catch(St),this.pendingTimeline&&(this.stopTimeline=D.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=D}get finished(){return this._animation?this.animation.finished:this._finished}then(i,o){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),R0()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function fh(n,i,o,a=0,c=1){const d=Array.from(n).sort((y,g)=>y.sortNodePosition(g)).indexOf(i),f=n.size,h=(f-1)*a;return typeof o=="function"?o(d,f):c===1?d*a:h-d*a}const X0=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Q0(n){const i=X0.exec(n);if(!i)return[,];const[,o,a,c]=i;return[`--${o??a}`,c]}function dh(n,i,o=1){const[a,c]=Q0(n);if(!a)return;const d=window.getComputedStyle(i).getPropertyValue(a);if(d){const f=d.trim();return Np(f)?parseFloat(f):f}return Ul(c)?dh(c,i,o+1):c}const J0={type:"spring",stiffness:500,damping:25,restSpeed:10},Z0=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),ev={type:"keyframes",duration:.8},tv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nv=(n,{keyframes:i})=>i.length>2?ev:gr.has(n)?n.startsWith("scale")?Z0(i[1]):J0:tv,rv=n=>n!==null;function iv(n,{repeat:i,repeatType:o="loop"},a){const c=n.filter(rv),d=i&&o!=="loop"&&i%2===1?0:c.length-1;return c[d]}function Ql(n,i){return(n==null?void 0:n[i])??(n==null?void 0:n.default)??n}function sv({when:n,delay:i,delayChildren:o,staggerChildren:a,staggerDirection:c,repeat:d,repeatType:f,repeatDelay:h,from:m,elapsed:y,...g}){return!!Object.keys(g).length}const Jl=(n,i,o,a={},c,d)=>f=>{const h=Ql(a,n)||{},m=h.delay||a.delay||0;let{elapsed:y=0}=a;y=y-Kt(m);const g={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:i.getVelocity(),...h,delay:-y,onUpdate:S=>{i.set(S),h.onUpdate&&h.onUpdate(S)},onComplete:()=>{f(),h.onComplete&&h.onComplete()},name:n,motionValue:i,element:d?void 0:c};sv(h)||Object.assign(g,nv(n,g)),g.duration&&(g.duration=Kt(g.duration)),g.repeatDelay&&(g.repeatDelay=Kt(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let x=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Sl(g),g.delay===0&&(x=!0)),(Gt.instantAnimations||Gt.skipAnimations)&&(x=!0,Sl(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,x&&!d&&i.get()!==void 0){const S=iv(g.keyframes,h);if(S!==void 0){Pe.update(()=>{g.onUpdate(S),g.onComplete()});return}}return h.isSync?new Yl(g):new Y0(g)};function Md(n){const i=[{},{}];return n==null||n.values.forEach((o,a)=>{i[0][a]=o.get(),i[1][a]=o.getVelocity()}),i}function Zl(n,i,o,a){if(typeof i=="function"){const[c,d]=Md(a);i=i(o!==void 0?o:n.custom,c,d)}if(typeof i=="string"&&(i=n.variants&&n.variants[i]),typeof i=="function"){const[c,d]=Md(a);i=i(o!==void 0?o:n.custom,c,d)}return i}function dr(n,i,o){const a=n.getProps();return Zl(a,i,o!==void 0?o:a.custom,n)}const ph=new Set(["width","height","top","left","right","bottom",...mr]),Ad=30,ov=n=>!isNaN(parseFloat(n));class av{constructor(i,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{var d;const c=et.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&((d=this.events.change)==null||d.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=o.owner}setCurrent(i){this.current=i,this.updatedAt=et.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=ov(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,o){this.events[i]||(this.events[i]=new zl);const a=this.events[i].add(o);return i==="change"?()=>{a(),Pe.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,o){this.passiveEffect=i,this.stopPassiveEffect=o}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,o,a){this.set(o),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-a}jump(i,o=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=et.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Ad)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Ad);return Fp(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(i){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=i(o),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(){var i,o;(i=this.dependents)==null||i.clear(),(o=this.events.destroy)==null||o.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function pr(n,i){return new av(n,i)}const kl=n=>Array.isArray(n);function lv(n,i,o){n.hasValue(i)?n.getValue(i).set(o):n.addValue(i,pr(o))}function uv(n){return kl(n)?n[n.length-1]||0:n}function cv(n,i){const o=dr(n,i);let{transitionEnd:a={},transition:c={},...d}=o||{};d={...d,...a};for(const f in d){const h=uv(d[f]);lv(n,f,h)}}const Xe=n=>!!(n&&n.getVelocity);function fv(n){return!!(Xe(n)&&n.add)}function Tl(n,i){const o=n.getValue("willChange");if(fv(o))return o.add(i);if(!o&&Gt.WillChange){const a=new Gt.WillChange("auto");n.addValue("willChange",a),a.add(i)}}function eu(n){return n.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const dv="framerAppearId",hh="data-"+eu(dv);function mh(n){return n.props[hh]}function pv({protectedKeys:n,needsAnimating:i},o){const a=n.hasOwnProperty(o)&&i[o]!==!0;return i[o]=!1,a}function gh(n,i,{delay:o=0,transitionOverride:a,type:c}={}){let{transition:d=n.getDefaultTransition(),transitionEnd:f,...h}=i;a&&(d=a);const m=[],y=c&&n.animationState&&n.animationState.getState()[c];for(const g in h){const x=n.getValue(g,n.latestValues[g]??null),S=h[g];if(S===void 0||y&&pv(y,g))continue;const E={delay:o,...Ql(d||{},g)},j=x.get();if(j!==void 0&&!x.isAnimating&&!Array.isArray(S)&&S===j&&!E.velocity)continue;let D=!1;if(window.MotionHandoffAnimation){const L=mh(n);if(L){const z=window.MotionHandoffAnimation(L,g,Pe);z!==null&&(E.startTime=z,D=!0)}}Tl(n,g),x.start(Jl(g,x,S,n.shouldReduceMotion&&ph.has(g)?{type:!1}:E,n,D));const N=x.animation;N&&m.push(N)}return f&&Promise.all(m).then(()=>{Pe.update(()=>{f&&cv(n,f)})}),m}function Pl(n,i,o={}){var m;const a=dr(n,i,o.type==="exit"?(m=n.presenceContext)==null?void 0:m.custom:void 0);let{transition:c=n.getDefaultTransition()||{}}=a||{};o.transitionOverride&&(c=o.transitionOverride);const d=a?()=>Promise.all(gh(n,a,o)):()=>Promise.resolve(),f=n.variantChildren&&n.variantChildren.size?(y=0)=>{const{delayChildren:g=0,staggerChildren:x,staggerDirection:S}=c;return hv(n,i,y,g,x,S,o)}:()=>Promise.resolve(),{when:h}=c;if(h){const[y,g]=h==="beforeChildren"?[d,f]:[f,d];return y().then(()=>g())}else return Promise.all([d(),f(o.delay)])}function hv(n,i,o=0,a=0,c=0,d=1,f){const h=[];for(const m of n.variantChildren)m.notify("AnimationStart",i),h.push(Pl(m,i,{...f,delay:o+(typeof a=="function"?0:a)+fh(n.variantChildren,m,a,c,d)}).then(()=>m.notify("AnimationComplete",i)));return Promise.all(h)}function mv(n,i,o={}){n.notify("AnimationStart",i);let a;if(Array.isArray(i)){const c=i.map(d=>Pl(n,d,o));a=Promise.all(c)}else if(typeof i=="string")a=Pl(n,i,o);else{const c=typeof i=="function"?dr(n,i,o.custom):i;a=Promise.all(gh(n,c,o))}return a.then(()=>{n.notify("AnimationComplete",i)})}const gv={test:n=>n==="auto",parse:n=>n},yh=n=>i=>i.test(n),vh=[hr,K,_t,hn,Wy,Uy,gv],Dd=n=>vh.find(yh(n));function yv(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||Vp(n):!0}const vv=new Set(["brightness","contrast","saturate","opacity"]);function xv(n){const[i,o]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[a]=o.match(Wl)||[];if(!a)return n;const c=o.replace(a,"");let d=vv.has(i)?1:0;return a!==o&&(d*=100),i+"("+d+c+")"}const wv=/\b([a-z-]*)\(.*?\)/gu,Cl={...yn,getAnimatableNone:n=>{const i=n.match(wv);return i?i.map(xv).join(" "):n}},jd={...hr,transform:Math.round},Sv={rotate:hn,rotateX:hn,rotateY:hn,rotateZ:hn,scale:Rs,scaleX:Rs,scaleY:Rs,scaleZ:Rs,skew:hn,skewX:hn,skewY:hn,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:fi,originX:gd,originY:gd,originZ:K},tu={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,radius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,top:K,right:K,bottom:K,left:K,inset:K,insetBlock:K,insetBlockStart:K,insetBlockEnd:K,insetInline:K,insetInlineStart:K,insetInlineEnd:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,paddingBlock:K,paddingBlockStart:K,paddingBlockEnd:K,paddingInline:K,paddingInlineStart:K,paddingInlineEnd:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,marginBlock:K,marginBlockStart:K,marginBlockEnd:K,marginInline:K,marginInlineStart:K,marginInlineEnd:K,backgroundPositionX:K,backgroundPositionY:K,...Sv,zIndex:jd,fillOpacity:fi,strokeOpacity:fi,numOctaves:jd},kv={...tu,color:Fe,backgroundColor:Fe,outlineColor:Fe,fill:Fe,stroke:Fe,borderColor:Fe,borderTopColor:Fe,borderRightColor:Fe,borderBottomColor:Fe,borderLeftColor:Fe,filter:Cl,WebkitFilter:Cl},xh=n=>kv[n];function wh(n,i){let o=xh(n);return o!==Cl&&(o=yn),o.getAnimatableNone?o.getAnimatableNone(i):void 0}const Tv=new Set(["auto","none","0"]);function Pv(n,i,o){let a=0,c;for(;a<n.length&&!c;){const d=n[a];typeof d=="string"&&!Tv.has(d)&&di(d).values.length&&(c=n[a]),a++}if(c&&o)for(const d of i)n[d]=wh(o,c)}class Cv extends Xl{constructor(i,o,a,c,d){super(i,o,a,c,d,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:o,name:a}=this;if(!o||!o.current)return;super.readKeyframes();for(let g=0;g<i.length;g++){let x=i[g];if(typeof x=="string"&&(x=x.trim(),Ul(x))){const S=dh(x,o.current);S!==void 0&&(i[g]=S),g===i.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!ph.has(a)||i.length!==2)return;const[c,d]=i,f=Dd(c),h=Dd(d),m=md(c),y=md(d);if(m!==y&&mn[a]){this.needsMeasurement=!0;return}if(f!==h)if(Pd(f)&&Pd(h))for(let g=0;g<i.length;g++){const x=i[g];typeof x=="string"&&(i[g]=parseFloat(x))}else mn[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:o}=this,a=[];for(let c=0;c<i.length;c++)(i[c]===null||yv(i[c]))&&a.push(c);a.length&&Pv(i,a,o)}measureInitialState(){const{element:i,unresolvedKeyframes:o,name:a}=this;if(!i||!i.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=mn[a](i.measureViewportBox(),window.getComputedStyle(i.current)),o[0]=this.measuredOrigin;const c=o[o.length-1];c!==void 0&&i.getValue(a,c).jump(c,!1)}measureEndState(){var h;const{element:i,name:o,unresolvedKeyframes:a}=this;if(!i||!i.current)return;const c=i.getValue(o);c&&c.jump(this.measuredOrigin,!1);const d=a.length-1,f=a[d];a[d]=mn[o](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([m,y])=>{i.getValue(m).set(y)}),this.resolveNoneKeyframes()}}function Ev(n,i,o){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let a=document;const c=(o==null?void 0:o[n])??a.querySelectorAll(n);return c?Array.from(c):[]}return Array.from(n).filter(a=>a!=null)}const Sh=(n,i)=>i&&typeof n=="number"?i.transform(n):n;function Mv(n){return Lp(n)&&"offsetHeight"in n}const{schedule:nu}=Kp(queueMicrotask,!1),jt={x:!1,y:!1};function kh(){return jt.x||jt.y}function Av(n){return n==="x"||n==="y"?jt[n]?null:(jt[n]=!0,()=>{jt[n]=!1}):jt.x||jt.y?null:(jt.x=jt.y=!0,()=>{jt.x=jt.y=!1})}function Th(n,i){const o=Ev(n),a=new AbortController,c={passive:!0,...i,signal:a.signal};return[o,c,()=>a.abort()]}function Rd(n){return!(n.pointerType==="touch"||kh())}function Dv(n,i,o={}){const[a,c,d]=Th(n,o),f=h=>{if(!Rd(h))return;const{target:m}=h,y=i(m,h);if(typeof y!="function"||!m)return;const g=x=>{Rd(x)&&(y(x),m.removeEventListener("pointerleave",g))};m.addEventListener("pointerleave",g,c)};return a.forEach(h=>{h.addEventListener("pointerenter",f,c)}),d}const Ph=(n,i)=>i?n===i?!0:Ph(n,i.parentElement):!1,ru=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,jv=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Ch(n){return jv.has(n.tagName)||n.isContentEditable===!0}const Fs=new WeakSet;function Nd(n){return i=>{i.key==="Enter"&&n(i)}}function Za(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const Rv=(n,i)=>{const o=n.currentTarget;if(!o)return;const a=Nd(()=>{if(Fs.has(o))return;Za(o,"down");const c=Nd(()=>{Za(o,"up")}),d=()=>Za(o,"cancel");o.addEventListener("keyup",c,i),o.addEventListener("blur",d,i)});o.addEventListener("keydown",a,i),o.addEventListener("blur",()=>o.removeEventListener("keydown",a),i)};function Ld(n){return ru(n)&&!kh()}function Nv(n,i,o={}){const[a,c,d]=Th(n,o),f=h=>{const m=h.currentTarget;if(!Ld(h))return;Fs.add(m);const y=i(m,h),g=(E,j)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",S),Fs.has(m)&&Fs.delete(m),Ld(E)&&typeof y=="function"&&y(E,{success:j})},x=E=>{g(E,m===window||m===document||o.useGlobalTarget||Ph(m,E.target))},S=E=>{g(E,!1)};window.addEventListener("pointerup",x,c),window.addEventListener("pointercancel",S,c)};return a.forEach(h=>{(o.useGlobalTarget?window:h).addEventListener("pointerdown",f,c),Mv(h)&&(h.addEventListener("focus",y=>Rv(y,c)),!Ch(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),d}function Eh(n){return Lp(n)&&"ownerSVGElement"in n}function Lv(n){return Eh(n)&&n.tagName==="svg"}const Vv=[...vh,Fe,yn],Fv=n=>Vv.find(yh(n)),Vd=()=>({translate:0,scale:1,origin:0,originPoint:0}),ur=()=>({x:Vd(),y:Vd()}),Fd=()=>({min:0,max:0}),Oe=()=>({x:Fd(),y:Fd()}),El={current:null},Mh={current:!1},_v=typeof window<"u";function Iv(){if(Mh.current=!0,!!_v)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>El.current=n.matches;n.addEventListener("change",i),i()}else El.current=!1}const Ov=new WeakMap;function Hs(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function pi(n){return typeof n=="string"||Array.isArray(n)}const iu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],su=["initial",...iu];function Ks(n){return Hs(n.animate)||su.some(i=>pi(n[i]))}function Ah(n){return!!(Ks(n)||n.variants)}function zv(n,i,o){for(const a in i){const c=i[a],d=o[a];if(Xe(c))n.addValue(a,c);else if(Xe(d))n.addValue(a,pr(c,{owner:n}));else if(d!==c)if(n.hasValue(a)){const f=n.getValue(a);f.liveStyle===!0?f.jump(c):f.hasAnimated||f.set(c)}else{const f=n.getStaticValue(a);n.addValue(a,pr(f!==void 0?f:c,{owner:n}))}}for(const a in o)i[a]===void 0&&n.removeValue(a);return i}const _d=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let bs={};function Dh(n){bs=n}function Bv(){return bs}class bv{scrapeMotionValuesFromProps(i,o,a){return{}}constructor({parent:i,props:o,presenceContext:a,reducedMotionConfig:c,blockInitialAnimation:d,visualState:f},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Xl,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=et.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Pe.render(this.render,!1,!0))};const{latestValues:m,renderState:y}=f;this.latestValues=m,this.baseTarget={...m},this.initialValues=o.initial?{...m}:{},this.renderState=y,this.parent=i,this.props=o,this.presenceContext=a,this.depth=i?i.depth+1:0,this.reducedMotionConfig=c,this.options=h,this.blockInitialAnimation=!!d,this.isControllingVariants=Ks(o),this.isVariantNode=Ah(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:g,...x}=this.scrapeMotionValuesFromProps(o,{},this);for(const S in x){const E=x[S];m[S]!==void 0&&Xe(E)&&E.set(m[S])}}mount(i){var o;this.current=i,Ov.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,c)=>this.bindToMotionValue(c,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Mh.current||Iv(),this.shouldReduceMotion=El.current),(o=this.parent)==null||o.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var i;this.projection&&this.projection.unmount(),gn(this.notifyUpdate),gn(this.render),this.valueSubscriptions.forEach(o=>o()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const o in this.events)this.events[o].clear();for(const o in this.features){const a=this.features[o];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,o){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const a=gr.has(i);a&&this.onBindTransform&&this.onBindTransform();const c=o.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&Pe.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,i,o)),this.valueSubscriptions.set(i,()=>{c(),d&&d(),o.owner&&o.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in bs){const o=bs[i];if(!o)continue;const{isEnabled:a,Feature:c}=o;if(!this.features[i]&&c&&a(this.props)&&(this.features[i]=new c(this)),this.features[i]){const d=this.features[i];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Oe()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,o){this.latestValues[i]=o}update(i,o){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let a=0;a<_d.length;a++){const c=_d[a];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const d="on"+c,f=i[d];f&&(this.propEventSubscriptions[c]=this.on(c,f))}this.prevMotionValues=zv(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(i),()=>o.variantChildren.delete(i)}addValue(i,o){const a=this.values.get(i);o!==a&&(a&&this.removeValue(i),this.bindToMotionValue(i,o),this.values.set(i,o),this.latestValues[i]=o.get())}removeValue(i){this.values.delete(i);const o=this.valueSubscriptions.get(i);o&&(o(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,o){if(this.props.values&&this.props.values[i])return this.props.values[i];let a=this.values.get(i);return a===void 0&&o!==void 0&&(a=pr(o===null?void 0:o,{owner:this}),this.addValue(i,a)),a}readValue(i,o){let a=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return a!=null&&(typeof a=="string"&&(Np(a)||Vp(a))?a=parseFloat(a):!Fv(a)&&yn.test(o)&&(a=wh(i,o)),this.setBaseTarget(i,Xe(a)?a.get():a)),Xe(a)?a.get():a}setBaseTarget(i,o){this.baseTarget[i]=o}getBaseTarget(i){var d;const{initial:o}=this.props;let a;if(typeof o=="string"||typeof o=="object"){const f=Zl(this.props,o,(d=this.presenceContext)==null?void 0:d.custom);f&&(a=f[i])}if(o&&a!==void 0)return a;const c=this.getBaseTargetFromProps(this.props,i);return c!==void 0&&!Xe(c)?c:this.initialValues[i]!==void 0&&a===void 0?void 0:this.baseTarget[i]}on(i,o){return this.events[i]||(this.events[i]=new zl),this.events[i].add(o)}notify(i,...o){this.events[i]&&this.events[i].notify(...o)}scheduleRenderMicrotask(){nu.render(this.render)}}class jh extends bv{constructor(){super(...arguments),this.KeyframeResolver=Cv}sortInstanceNodePosition(i,o){return i.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(i,o){const a=i.style;return a?a[o]:void 0}removeValueFromRenderState(i,{vars:o,style:a}){delete o[i],delete a[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;Xe(i)&&(this.childSubscription=i.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}class vn{constructor(i){this.isMounted=!1,this.node=i}update(){}}function Rh({top:n,left:i,right:o,bottom:a}){return{x:{min:i,max:o},y:{min:n,max:a}}}function Uv({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function Wv(n,i){if(!i)return n;const o=i({x:n.left,y:n.top}),a=i({x:n.right,y:n.bottom});return{top:o.y,left:o.x,bottom:a.y,right:a.x}}function el(n){return n===void 0||n===1}function Ml({scale:n,scaleX:i,scaleY:o}){return!el(n)||!el(i)||!el(o)}function Ln(n){return Ml(n)||Nh(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function Nh(n){return Id(n.x)||Id(n.y)}function Id(n){return n&&n!=="0%"}function Us(n,i,o){const a=n-o,c=i*a;return o+c}function Od(n,i,o,a,c){return c!==void 0&&(n=Us(n,c,a)),Us(n,o,a)+i}function Al(n,i=0,o=1,a,c){n.min=Od(n.min,i,o,a,c),n.max=Od(n.max,i,o,a,c)}function Lh(n,{x:i,y:o}){Al(n.x,i.translate,i.scale,i.originPoint),Al(n.y,o.translate,o.scale,o.originPoint)}const zd=.999999999999,Bd=1.0000000000001;function $v(n,i,o,a=!1){const c=o.length;if(!c)return;i.x=i.y=1;let d,f;for(let h=0;h<c;h++){d=o[h],f=d.projectionDelta;const{visualElement:m}=d.options;m&&m.props.style&&m.props.style.display==="contents"||(a&&d.options.layoutScroll&&d.scroll&&d!==d.root&&fr(n,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),f&&(i.x*=f.x.scale,i.y*=f.y.scale,Lh(n,f)),a&&Ln(d.latestValues)&&fr(n,d.latestValues))}i.x<Bd&&i.x>zd&&(i.x=1),i.y<Bd&&i.y>zd&&(i.y=1)}function cr(n,i){n.min=n.min+i,n.max=n.max+i}function bd(n,i,o,a,c=.5){const d=De(n.min,n.max,c);Al(n,i,o,d,a)}function fr(n,i){bd(n.x,i.x,i.scaleX,i.scale,i.originX),bd(n.y,i.y,i.scaleY,i.scale,i.originY)}function Vh(n,i){return Rh(Wv(n.getBoundingClientRect(),i))}function Hv(n,i,o){const a=Vh(n,o),{scroll:c}=i;return c&&(cr(a.x,c.offset.x),cr(a.y,c.offset.y)),a}const Kv={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Gv=mr.length;function qv(n,i,o){let a="",c=!0;for(let d=0;d<Gv;d++){const f=mr[d],h=n[f];if(h===void 0)continue;let m=!0;if(typeof h=="number")m=h===(f.startsWith("scale")?1:0);else{const y=parseFloat(h);m=f.startsWith("scale")?y===1:y===0}if(!m||o){const y=Sh(h,tu[f]);if(!m){c=!1;const g=Kv[f]||f;a+=`${g}(${y}) `}o&&(i[f]=y)}}return a=a.trim(),o?a=o(i,c?"":a):c&&(a="none"),a}function ou(n,i,o){const{style:a,vars:c,transformOrigin:d}=n;let f=!1,h=!1;for(const m in i){const y=i[m];if(gr.has(m)){f=!0;continue}else if(qp(m)){c[m]=y;continue}else{const g=Sh(y,tu[m]);m.startsWith("origin")?(h=!0,d[m]=g):a[m]=g}}if(i.transform||(f||o?a.transform=qv(i,n.transform,o):a.transform&&(a.transform="none")),h){const{originX:m="50%",originY:y="50%",originZ:g=0}=d;a.transformOrigin=`${m} ${y} ${g}`}}function Fh(n,{style:i,vars:o},a,c){const d=n.style;let f;for(f in i)d[f]=i[f];c==null||c.applyProjectionStyles(d,a);for(f in o)d.setProperty(f,o[f])}function Ud(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const ri={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(K.test(n))n=parseFloat(n);else return n;const o=Ud(n,i.target.x),a=Ud(n,i.target.y);return`${o}% ${a}%`}},Yv={correct:(n,{treeScale:i,projectionDelta:o})=>{const a=n,c=yn.parse(n);if(c.length>5)return a;const d=yn.createTransformer(n),f=typeof c[0]!="number"?1:0,h=o.x.scale*i.x,m=o.y.scale*i.y;c[0+f]/=h,c[1+f]/=m;const y=De(h,m,.5);return typeof c[2+f]=="number"&&(c[2+f]/=y),typeof c[3+f]=="number"&&(c[3+f]/=y),d(c)}},Dl={borderRadius:{...ri,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ri,borderTopRightRadius:ri,borderBottomLeftRadius:ri,borderBottomRightRadius:ri,boxShadow:Yv};function _h(n,{layout:i,layoutId:o}){return gr.has(n)||n.startsWith("origin")||(i||o!==void 0)&&(!!Dl[n]||n==="opacity")}function au(n,i,o){var f;const a=n.style,c=i==null?void 0:i.style,d={};if(!a)return d;for(const h in a)(Xe(a[h])||c&&Xe(c[h])||_h(h,n)||((f=o==null?void 0:o.getValue(h))==null?void 0:f.liveStyle)!==void 0)&&(d[h]=a[h]);return d}function Xv(n){return window.getComputedStyle(n)}class Qv extends jh{constructor(){super(...arguments),this.type="html",this.renderInstance=Fh}readValueFromInstance(i,o){var a;if(gr.has(o))return(a=this.projection)!=null&&a.isProjecting?gl(o):E0(i,o);{const c=Xv(i),d=(qp(o)?c.getPropertyValue(o):c[o])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(i,{transformPagePoint:o}){return Vh(i,o)}build(i,o,a){ou(i,o,a.transformTemplate)}scrapeMotionValuesFromProps(i,o,a){return au(i,o,a)}}const Jv={offset:"stroke-dashoffset",array:"stroke-dasharray"},Zv={offset:"strokeDashoffset",array:"strokeDasharray"};function e1(n,i,o=1,a=0,c=!0){n.pathLength=1;const d=c?Jv:Zv;n[d.offset]=`${-a}`,n[d.array]=`${i} ${o}`}const t1=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Ih(n,{attrX:i,attrY:o,attrScale:a,pathLength:c,pathSpacing:d=1,pathOffset:f=0,...h},m,y,g){if(ou(n,h,y),m){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:x,style:S}=n;x.transform&&(S.transform=x.transform,delete x.transform),(S.transform||x.transformOrigin)&&(S.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),S.transform&&(S.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete x.transformBox);for(const E of t1)x[E]!==void 0&&(S[E]=x[E],delete x[E]);i!==void 0&&(x.x=i),o!==void 0&&(x.y=o),a!==void 0&&(x.scale=a),c!==void 0&&e1(x,c,d,f,!1)}const Oh=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"]),zh=n=>typeof n=="string"&&n.toLowerCase()==="svg";function n1(n,i,o,a){Fh(n,i,void 0,a);for(const c in i.attrs)n.setAttribute(Oh.has(c)?c:eu(c),i.attrs[c])}function Bh(n,i,o){const a=au(n,i,o);for(const c in n)if(Xe(n[c])||Xe(i[c])){const d=mr.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;a[d]=n[c]}return a}class r1 extends jh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Oe}getBaseTargetFromProps(i,o){return i[o]}readValueFromInstance(i,o){if(gr.has(o)){const a=xh(o);return a&&a.default||0}return o=Oh.has(o)?o:eu(o),i.getAttribute(o)}scrapeMotionValuesFromProps(i,o,a){return Bh(i,o,a)}build(i,o,a){Ih(i,o,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(i,o,a,c){n1(i,o,a,c)}mount(i){this.isSVGTag=zh(i.tagName),super.mount(i)}}const i1=su.length;function bh(n){if(!n)return;if(!n.isControllingVariants){const o=n.parent?bh(n.parent)||{}:{};return n.props.initial!==void 0&&(o.initial=n.props.initial),o}const i={};for(let o=0;o<i1;o++){const a=su[o],c=n.props[a];(pi(c)||c===!1)&&(i[a]=c)}return i}function Uh(n,i){if(!Array.isArray(i))return!1;const o=i.length;if(o!==n.length)return!1;for(let a=0;a<o;a++)if(i[a]!==n[a])return!1;return!0}const s1=[...iu].reverse(),o1=iu.length;function a1(n){return i=>Promise.all(i.map(({animation:o,options:a})=>mv(n,o,a)))}function l1(n){let i=a1(n),o=Wd(),a=!0;const c=m=>(y,g)=>{var S;const x=dr(n,g,m==="exit"?(S=n.presenceContext)==null?void 0:S.custom:void 0);if(x){const{transition:E,transitionEnd:j,...D}=x;y={...y,...D,...j}}return y};function d(m){i=m(n)}function f(m){const{props:y}=n,g=bh(n.parent)||{},x=[],S=new Set;let E={},j=1/0;for(let N=0;N<o1;N++){const L=s1[N],z=o[L],B=y[L]!==void 0?y[L]:g[L],Q=pi(B),G=L===m?z.isActive:null;G===!1&&(j=N);let re=B===g[L]&&B!==y[L]&&Q;if(re&&a&&n.manuallyAnimateOnMount&&(re=!1),z.protectedKeys={...E},!z.isActive&&G===null||!B&&!z.prevProp||Hs(B)||typeof B=="boolean")continue;const le=u1(z.prevProp,B);let J=le||L===m&&z.isActive&&!re&&Q||N>j&&Q,we=!1;const xe=Array.isArray(B)?B:[B];let He=xe.reduce(c(L),{});G===!1&&(He={});const{prevResolvedValues:Qe={}}=z,ne={...Qe,...He},fe=te=>{J=!0,S.has(te)&&(we=!0,S.delete(te)),z.needsAnimating[te]=!0;const I=n.getValue(te);I&&(I.liveStyle=!1)};for(const te in ne){const I=He[te],q=Qe[te];if(E.hasOwnProperty(te))continue;let U=!1;kl(I)&&kl(q)?U=!Uh(I,q):U=I!==q,U?I!=null?fe(te):S.add(te):I!==void 0&&S.has(te)?fe(te):z.protectedKeys[te]=!0}z.prevProp=B,z.prevResolvedValues=He,z.isActive&&(E={...E,...He}),a&&n.blockInitialAnimation&&(J=!1);const ye=re&≤J&&(!ye||we)&&x.push(...xe.map(te=>{const I={type:L};if(typeof te=="string"&&a&&!ye&&n.manuallyAnimateOnMount&&n.parent){const{parent:q}=n,U=dr(q,te);if(q.enteringChildren&&U){const{delayChildren:T}=U.transition||{};I.delay=fh(q.enteringChildren,n,T)}}return{animation:te,options:I}}))}if(S.size){const N={};if(typeof y.initial!="boolean"){const L=dr(n,Array.isArray(y.initial)?y.initial[0]:y.initial);L&&L.transition&&(N.transition=L.transition)}S.forEach(L=>{const z=n.getBaseTarget(L),B=n.getValue(L);B&&(B.liveStyle=!0),N[L]=z??null}),x.push({animation:N})}let D=!!x.length;return a&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(D=!1),a=!1,D?i(x):Promise.resolve()}function h(m,y){var x;if(o[m].isActive===y)return Promise.resolve();(x=n.variantChildren)==null||x.forEach(S=>{var E;return(E=S.animationState)==null?void 0:E.setActive(m,y)}),o[m].isActive=y;const g=f(m);for(const S in o)o[S].protectedKeys={};return g}return{animateChanges:f,setActive:h,setAnimateFunction:d,getState:()=>o,reset:()=>{o=Wd()}}}function u1(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!Uh(i,n):!1}function Nn(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Wd(){return{animate:Nn(!0),whileInView:Nn(),whileHover:Nn(),whileTap:Nn(),whileDrag:Nn(),whileFocus:Nn(),exit:Nn()}}function $d(n,i){n.min=i.min,n.max=i.max}function Dt(n,i){$d(n.x,i.x),$d(n.y,i.y)}function Hd(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}const Wh=1e-4,c1=1-Wh,f1=1+Wh,$h=.01,d1=0-$h,p1=0+$h;function tt(n){return n.max-n.min}function h1(n,i,o){return Math.abs(n-i)<=o}function Kd(n,i,o,a=.5){n.origin=a,n.originPoint=De(i.min,i.max,n.origin),n.scale=tt(o)/tt(i),n.translate=De(o.min,o.max,n.origin)-n.originPoint,(n.scale>=c1&&n.scale<=f1||isNaN(n.scale))&&(n.scale=1),(n.translate>=d1&&n.translate<=p1||isNaN(n.translate))&&(n.translate=0)}function li(n,i,o,a){Kd(n.x,i.x,o.x,a?a.originX:void 0),Kd(n.y,i.y,o.y,a?a.originY:void 0)}function Gd(n,i,o){n.min=o.min+i.min,n.max=n.min+tt(i)}function m1(n,i,o){Gd(n.x,i.x,o.x),Gd(n.y,i.y,o.y)}function qd(n,i,o){n.min=i.min-o.min,n.max=n.min+tt(i)}function Ws(n,i,o){qd(n.x,i.x,o.x),qd(n.y,i.y,o.y)}function Yd(n,i,o,a,c){return n-=i,n=Us(n,1/o,a),c!==void 0&&(n=Us(n,1/c,a)),n}function g1(n,i=0,o=1,a=.5,c,d=n,f=n){if(_t.test(i)&&(i=parseFloat(i),i=De(f.min,f.max,i/100)-f.min),typeof i!="number")return;let h=De(d.min,d.max,a);n===d&&(h-=i),n.min=Yd(n.min,i,o,h,c),n.max=Yd(n.max,i,o,h,c)}function Xd(n,i,[o,a,c],d,f){g1(n,i[o],i[a],i[c],i.scale,d,f)}const y1=["x","scaleX","originX"],v1=["y","scaleY","originY"];function Qd(n,i,o,a){Xd(n.x,i,y1,o?o.x:void 0,a?a.x:void 0),Xd(n.y,i,v1,o?o.y:void 0,a?a.y:void 0)}function Jd(n){return n.translate===0&&n.scale===1}function Hh(n){return Jd(n.x)&&Jd(n.y)}function Zd(n,i){return n.min===i.min&&n.max===i.max}function x1(n,i){return Zd(n.x,i.x)&&Zd(n.y,i.y)}function ep(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function Kh(n,i){return ep(n.x,i.x)&&ep(n.y,i.y)}function tp(n){return tt(n.x)/tt(n.y)}function np(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}function xt(n){return[n("x"),n("y")]}function w1(n,i,o){let a="";const c=n.x.translate/i.x,d=n.y.translate/i.y,f=(o==null?void 0:o.z)||0;if((c||d||f)&&(a=`translate3d(${c}px, ${d}px, ${f}px) `),(i.x!==1||i.y!==1)&&(a+=`scale(${1/i.x}, ${1/i.y}) `),o){const{transformPerspective:y,rotate:g,rotateX:x,rotateY:S,skewX:E,skewY:j}=o;y&&(a=`perspective(${y}px) ${a}`),g&&(a+=`rotate(${g}deg) `),x&&(a+=`rotateX(${x}deg) `),S&&(a+=`rotateY(${S}deg) `),E&&(a+=`skewX(${E}deg) `),j&&(a+=`skewY(${j}deg) `)}const h=n.x.scale*i.x,m=n.y.scale*i.y;return(h!==1||m!==1)&&(a+=`scale(${h}, ${m})`),a||"none"}const Gh=["TopLeft","TopRight","BottomLeft","BottomRight"],S1=Gh.length,rp=n=>typeof n=="string"?parseFloat(n):n,ip=n=>typeof n=="number"||K.test(n);function k1(n,i,o,a,c,d){c?(n.opacity=De(0,o.opacity??1,T1(a)),n.opacityExit=De(i.opacity??1,0,P1(a))):d&&(n.opacity=De(i.opacity??1,o.opacity??1,a));for(let f=0;f<S1;f++){const h=`border${Gh[f]}Radius`;let m=sp(i,h),y=sp(o,h);if(m===void 0&&y===void 0)continue;m||(m=0),y||(y=0),m===0||y===0||ip(m)===ip(y)?(n[h]=Math.max(De(rp(m),rp(y),a),0),(_t.test(y)||_t.test(m))&&(n[h]+="%")):n[h]=y}(i.rotate||o.rotate)&&(n.rotate=De(i.rotate||0,o.rotate||0,a))}function sp(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const T1=qh(0,.5,Up),P1=qh(.5,.95,St);function qh(n,i,o){return a=>a<n?0:a>i?1:o(ci(n,i,a))}function C1(n,i,o){const a=Xe(n)?n:pr(n);return a.start(Jl("",a,i,o)),a.animation}function hi(n,i,o,a={passive:!0}){return n.addEventListener(i,o,a),()=>n.removeEventListener(i,o)}const E1=(n,i)=>n.depth-i.depth;class M1{constructor(){this.children=[],this.isDirty=!1}add(i){Fl(this.children,i),this.isDirty=!0}remove(i){_l(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(E1),this.isDirty=!1,this.children.forEach(i)}}function A1(n,i){const o=et.now(),a=({timestamp:c})=>{const d=c-o;d>=i&&(gn(a),n(d-i))};return Pe.setup(a,!0),()=>gn(a)}function _s(n){return Xe(n)?n.get():n}class D1{constructor(){this.members=[]}add(i){Fl(this.members,i),i.scheduleRender()}remove(i){if(_l(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(i){const o=this.members.findIndex(c=>i===c);if(o===0)return!1;let a;for(let c=o;c>=0;c--){const d=this.members[c];if(d.isPresent!==!1){a=d;break}}return a?(this.promote(a),!0):!1}promote(i,o){const a=this.lead;if(i!==a&&(this.prevLead=a,this.lead=i,i.show(),a)){a.instance&&a.scheduleRender(),i.scheduleRender(),i.resumeFrom=a,o&&(i.resumeFrom.preserveOpacity=!0),a.snapshot&&(i.snapshot=a.snapshot,i.snapshot.latestValues=a.animationValues||a.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:c}=i.options;c===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:o,resumingFrom:a}=i;o.onExitComplete&&o.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Is={hasAnimatedSinceResize:!0,hasEverUpdated:!1},tl=["","X","Y","Z"],j1=1e3;let R1=0;function nl(n,i,o,a){const{latestValues:c}=i;c[n]&&(o[n]=c[n],i.setStaticValue(n,0),a&&(a[n]=0))}function Yh(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const o=mh(i);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:c,layoutId:d}=n.options;window.MotionCancelOptimisedAnimation(o,"transform",Pe,!(c||d))}const{parent:a}=n;a&&!a.hasCheckedOptimisedAppear&&Yh(a)}function Xh({attachResizeListener:n,defaultParent:i,measureScroll:o,checkIsScrollRoot:a,resetTransform:c}){return class{constructor(f={},h=i==null?void 0:i()){this.id=R1++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(V1),this.nodes.forEach(O1),this.nodes.forEach(z1),this.nodes.forEach(F1)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new M1)}addEventListener(f,h){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new zl),this.eventHandlers.get(f).add(h)}notifyListeners(f,...h){const m=this.eventHandlers.get(f);m&&m.notify(...h)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=Eh(f)&&!Lv(f),this.instance=f;const{layoutId:h,layout:m,visualElement:y}=this.options;if(y&&!y.current&&y.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),n){let g,x=0;const S=()=>this.root.updateBlockedByResize=!1;Pe.read(()=>{x=window.innerWidth}),n(f,()=>{const E=window.innerWidth;E!==x&&(x=E,this.root.updateBlockedByResize=!0,g&&g(),g=A1(S,250),Is.hasAnimatedSinceResize&&(Is.hasAnimatedSinceResize=!1,this.nodes.forEach(lp)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&y&&(h||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:x,hasRelativeLayoutChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||y.getDefaultTransition()||$1,{onLayoutAnimationStart:D,onLayoutAnimationComplete:N}=y.getProps(),L=!this.targetLayout||!Kh(this.targetLayout,E),z=!x&&S;if(this.options.layoutRoot||this.resumeFrom||z||x&&(L||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...Ql(j,"layout"),onPlay:D,onComplete:N};(y.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(g,z)}else x||lp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),gn(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(B1),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Yh(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const x=this.path[g];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(op);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ap);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(I1),this.nodes.forEach(N1),this.nodes.forEach(L1)):this.nodes.forEach(ap),this.clearAllSnapshots();const h=et.now();$e.delta=It(0,1e3/60,h-$e.timestamp),$e.timestamp=h,$e.isProcessing=!0,Ga.update.process($e),Ga.preRender.process($e),Ga.render.process($e),$e.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(_1),this.sharedNodes.forEach(b1)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Pe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Pe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!tt(this.snapshot.measuredBox.x)&&!tt(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 m=0;m<this.path.length;m++)this.path[m].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Oe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(h=!1),h&&this.instance){const m=a(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:m,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!c)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Hh(this.projectionDelta),m=this.getTransformTemplate(),y=m?m(this.latestValues,""):void 0,g=y!==this.prevTransformTemplateValue;f&&this.instance&&(h||Ln(this.latestValues)||g)&&(c(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return f&&(m=this.removeTransform(m)),H1(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:f}=this.options;if(!f)return Oe();const h=f.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(K1))){const{scroll:g}=this.root;g&&(cr(h.x,g.offset.x),cr(h.y,g.offset.y))}return h}removeElementScroll(f){var m;const h=Oe();if(Dt(h,f),(m=this.scroll)!=null&&m.wasRoot)return h;for(let y=0;y<this.path.length;y++){const g=this.path[y],{scroll:x,options:S}=g;g!==this.root&&x&&S.layoutScroll&&(x.wasRoot&&Dt(h,f),cr(h.x,x.offset.x),cr(h.y,x.offset.y))}return h}applyTransform(f,h=!1){const m=Oe();Dt(m,f);for(let y=0;y<this.path.length;y++){const g=this.path[y];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&fr(m,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Ln(g.latestValues)&&fr(m,g.latestValues)}return Ln(this.latestValues)&&fr(m,this.latestValues),m}removeTransform(f){const h=Oe();Dt(h,f);for(let m=0;m<this.path.length;m++){const y=this.path[m];if(!y.instance||!Ln(y.latestValues))continue;Ml(y.latestValues)&&y.updateSnapshot();const g=Oe(),x=y.measurePageBox();Dt(g,x),Qd(h,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,g)}return Ln(this.latestValues)&&Qd(h,this.latestValues),h}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$e.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){var E;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(f||m&&this.isSharedProjectionDirty||this.isProjectionDirty||(E=this.parent)!=null&&E.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:x}=this.options;if(!this.layout||!(g||x))return;this.resolvedRelativeTargetAt=$e.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Oe(),this.targetWithTransforms=Oe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),m1(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Dt(this.target,this.layout.layoutBox),Lh(this.target,this.targetDelta)):Dt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ml(this.parent.latestValues)||Nh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,h,m){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Oe(),this.relativeTargetOrigin=Oe(),Ws(this.relativeTargetOrigin,h,m),Dt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var j;const f=this.getLead(),h=!!this.resumingFrom||this!==f;let m=!0;if((this.isProjectionDirty||(j=this.parent)!=null&&j.isProjectionDirty)&&
vendor: 5,271 bytes, line 40
40(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===$e.timestamp&&(m=!1),m)return;const{layout:y,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||g))return;Dt(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,S=this.treeScale.y;$v(this.layoutCorrected,this.treeScale,this.path,h),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=Oe());const{target:E}=f;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Hd(this.prevProjectionDelta.x,this.projectionDelta.x),Hd(this.prevProjectionDelta.y,this.projectionDelta.y)),li(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==S||!np(this.projectionDelta.x,this.prevProjectionDelta.x)||!np(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ur(),this.projectionDelta=ur(),this.projectionDeltaWithTransform=ur()}setAnimationOrigin(f,h=!1){const m=this.snapshot,y=m?m.latestValues:{},g={...this.latestValues},x=ur();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const S=Oe(),E=m?m.source:void 0,j=this.layout?this.layout.source:void 0,D=E!==j,N=this.getStack(),L=!N||N.members.length<=1,z=!!(D&&!L&&this.options.crossfade===!0&&!this.path.some(W1));this.animationProgress=0;let B;this.mixTargetDelta=Q=>{const G=Q/1e3;up(x.x,f.x,G),up(x.y,f.y,G),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ws(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox),U1(this.relativeTarget,this.relativeTargetOrigin,S,G),B&&x1(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=Oe()),Dt(B,this.relativeTarget)),D&&(this.animationValues=g,k1(g,y,this.latestValues,G,z,L)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=G},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){var h,m,y;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(y=(m=this.resumingFrom)==null?void 0:m.currentAnimation)==null||y.stop(),this.pendingAnimation&&(gn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Pe.update(()=>{Is.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=pr(0)),this.currentAnimation=C1(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),f.onUpdate&&f.onUpdate(g)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(j1),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:h,target:m,layout:y,latestValues:g}=f;if(!(!h||!m||!y)){if(this!==f&&this.layout&&y&&Qh(this.options.animationType,this.layout.layoutBox,y.layoutBox)){m=this.target||Oe();const x=tt(this.layout.layoutBox.x);m.x.min=f.target.x.min,m.x.max=m.x.min+x;const S=tt(this.layout.layoutBox.y);m.y.min=f.target.y.min,m.y.max=m.y.min+S}Dt(h,m),fr(h,g),li(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(f,h){this.sharedNodes.has(f)||this.sharedNodes.set(f,new D1),this.sharedNodes.get(f).add(h);const y=h.options.initialPromotionConfig;h.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(h):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){var h;const{layoutId:f}=this.options;return f?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:f}=this.options;return f?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:h,preserveFollowOpacity:m}={}){const y=this.getStack();y&&y.promote(this,m),f&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}
vendor: 35,129 bytes, line 40
40resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let h=!1;const{latestValues:m}=f;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const y={};m.z&&nl("z",f,y,this.animationValues);for(let g=0;g<tl.length;g++)nl(`rotate${tl[g]}`,f,y,this.animationValues),nl(`skew${tl[g]}`,f,y,this.animationValues);f.render();for(const g in y)f.setStaticValue(g,y[g]),this.animationValues&&(this.animationValues[g]=y[g]);f.scheduleRender()}applyProjectionStyles(f,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=_s(h==null?void 0:h.pointerEvents)||"",f.transform=m?m(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=_s(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!Ln(this.latestValues)&&(f.transform=m?m({},""):"none",this.hasProjected=!1);return}f.visibility="";const g=y.animationValues||y.latestValues;this.applyTransformsToTarget();let x=w1(this.projectionDeltaWithTransform,this.treeScale,g);m&&(x=m(g,x)),f.transform=x;const{x:S,y:E}=this.projectionDelta;f.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,y.animationValues?f.opacity=y===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:f.opacity=y===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const j in Dl){if(g[j]===void 0)continue;const{correct:D,applyTo:N,isCSSVariable:L}=Dl[j],z=x==="none"?g[j]:D(g[j],y);if(N){const B=N.length;for(let Q=0;Q<B;Q++)f[N[Q]]=z}else L?this.options.visualElement.renderState.vars[j]=z:f[j]=z}this.options.layoutId&&(f.pointerEvents=y===this?_s(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var h;return(h=f.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(op),this.root.sharedNodes.clear()}}}function N1(n){n.updateLayout()}function L1(n){var o;const i=((o=n.resumeFrom)==null?void 0:o.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:c}=n.layout,{animationType:d}=n.options,f=i.source!==n.layout.source;d==="size"?xt(x=>{const S=f?i.measuredBox[x]:i.layoutBox[x],E=tt(S);S.min=a[x].min,S.max=S.min+E}):Qh(d,i.layoutBox,a)&&xt(x=>{const S=f?i.measuredBox[x]:i.layoutBox[x],E=tt(a[x]);S.max=S.min+E,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[x].max=n.relativeTarget[x].min+E)});const h=ur();li(h,a,i.layoutBox);const m=ur();f?li(m,n.applyTransform(c,!0),i.measuredBox):li(m,a,i.layoutBox);const y=!Hh(h);let g=!1;if(!n.resumeFrom){const x=n.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:S,layout:E}=x;if(S&&E){const j=Oe();Ws(j,i.layoutBox,S.layoutBox);const D=Oe();Ws(D,a,E.layoutBox),Kh(j,D)||(g=!0),x.options.layoutRoot&&(n.relativeTarget=D,n.relativeTargetOrigin=j,n.relativeParent=x)}}}n.notifyListeners("didUpdate",{layout:a,snapshot:i,delta:m,layoutDelta:h,hasLayoutChanged:y,hasRelativeLayoutChanged:g})}else if(n.isLead()){const{onExitComplete:a}=n.options;a&&a()}n.options.transition=void 0}function V1(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function F1(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function _1(n){n.clearSnapshot()}function op(n){n.clearMeasurements()}function ap(n){n.isLayoutDirty=!1}function I1(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function lp(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function O1(n){n.resolveTargetDelta()}function z1(n){n.calcProjection()}function B1(n){n.resetSkewAndRotation()}function b1(n){n.removeLeadSnapshot()}function up(n,i,o){n.translate=De(i.translate,0,o),n.scale=De(i.scale,1,o),n.origin=i.origin,n.originPoint=i.originPoint}function cp(n,i,o,a){n.min=De(i.min,o.min,a),n.max=De(i.max,o.max,a)}function U1(n,i,o,a){cp(n.x,i.x,o.x,a),cp(n.y,i.y,o.y,a)}function W1(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const $1={duration:.45,ease:[.4,0,.1,1]},fp=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),dp=fp("applewebkit/")&&!fp("chrome/")?Math.round:St;function pp(n){n.min=dp(n.min),n.max=dp(n.max)}function H1(n){pp(n.x),pp(n.y)}function Qh(n,i,o){return n==="position"||n==="preserve-aspect"&&!h1(tp(i),tp(o),.2)}function K1(n){var i;return n!==n.root&&((i=n.scroll)==null?void 0:i.wasRoot)}const G1=Xh({attachResizeListener:(n,i)=>hi(n,"resize",i),measureScroll:()=>{var n,i;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),rl={current:void 0},Jh=Xh({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!rl.current){const n=new G1({});n.mount(window),n.setOptions({layoutScroll:!0}),rl.current=n}return rl.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),Zh=b.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function q1(n=!0){const i=b.useContext(Vl);if(i===null)return[!0,null];const{isPresent:o,onExitComplete:a,register:c}=i,d=b.useId();b.useEffect(()=>{if(n)return c(d)},[n]);const f=b.useCallback(()=>n&&a&&a(d),[d,a,n]);return!o&&a?[!1,f]:[!0]}const em=b.createContext({strict:!1}),hp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let mp=!1;function Y1(){if(mp)return;const n={};for(const i in hp)n[i]={isEnabled:o=>hp[i].some(a=>!!o[a])};Dh(n),mp=!0}function tm(){return Y1(),Bv()}function X1(n){const i=tm();for(const o in n)i[o]={...i[o],...n[o]};Dh(i)}const Q1=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function $s(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||Q1.has(n)}let nm=n=>!$s(n);function J1(n){typeof n=="function"&&(nm=i=>i.startsWith("on")?!$s(i):n(i))}try{J1(require("@emotion/is-prop-valid").default)}catch{}function Z1(n,i,o){const a={};for(const c in n)c==="values"&&typeof n.values=="object"||(nm(c)||o===!0&&$s(c)||!i&&!$s(c)||n.draggable&&c.startsWith("onDrag"))&&(a[c]=n[c]);return a}const Gs=b.createContext({});function ex(n,i){if(Ks(n)){const{initial:o,animate:a}=n;return{initial:o===!1||pi(o)?o:void 0,animate:pi(a)?a:void 0}}return n.inherit!==!1?i:{}}function tx(n){const{initial:i,animate:o}=ex(n,b.useContext(Gs));return b.useMemo(()=>({initial:i,animate:o}),[gp(i),gp(o)])}function gp(n){return Array.isArray(n)?n.join(" "):n}const lu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rm(n,i,o){for(const a in i)!Xe(i[a])&&!_h(a,o)&&(n[a]=i[a])}function nx({transformTemplate:n},i){return b.useMemo(()=>{const o=lu();return ou(o,i,n),Object.assign({},o.vars,o.style)},[i])}function rx(n,i){const o=n.style||{},a={};return rm(a,o,n),Object.assign(a,nx(n,i)),a}function ix(n,i){const o={},a=rx(n,i);return n.drag&&n.dragListener!==!1&&(o.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(o.tabIndex=0),o.style=a,o}const im=()=>({...lu(),attrs:{}});function sx(n,i,o,a){const c=b.useMemo(()=>{const d=im();return Ih(d,i,zh(a),n.transformTemplate,n.style),{...d.attrs,style:{...d.style}}},[i]);if(n.style){const d={};rm(d,n.style,n),c.style={...d,...c.style}}return c}const ox=["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 uu(n){return typeof n!="string"||n.includes("-")?!1:!!(ox.indexOf(n)>-1||/[A-Z]/u.test(n))}function ax(n,i,o,{latestValues:a},c,d=!1,f){const m=(f??uu(n)?sx:ix)(i,a,c,n),y=Z1(i,typeof n=="string",d),g=n!==b.Fragment?{...y,...m,ref:o}:{},{children:x}=i,S=b.useMemo(()=>Xe(x)?x.get():x,[x]);return b.createElement(n,{...g,children:S})}function lx({scrapeMotionValuesFromProps:n,createRenderState:i},o,a,c){return{latestValues:ux(o,a,c,n),renderState:i()}}function ux(n,i,o,a){const c={},d=a(n,{});for(const S in d)c[S]=_s(d[S]);let{initial:f,animate:h}=n;const m=Ks(n),y=Ah(n);i&&y&&!m&&n.inherit!==!1&&(f===void 0&&(f=i.initial),h===void 0&&(h=i.animate));let g=o?o.initial===!1:!1;g=g||f===!1;const x=g?h:f;if(x&&typeof x!="boolean"&&!Hs(x)){const S=Array.isArray(x)?x:[x];for(let E=0;E<S.length;E++){const j=Zl(n,S[E]);if(j){const{transitionEnd:D,transition:N,...L}=j;for(const z in L){let B=L[z];if(Array.isArray(B)){const Q=g?B.length-1:0;B=B[Q]}B!==null&&(c[z]=B)}for(const z in D)c[z]=D[z]}}}return c}const sm=n=>(i,o)=>{const a=b.useContext(Gs),c=b.useContext(Vl),d=()=>lx(n,i,a,c);return o?d():ky(d)},cx=sm({scrapeMotionValuesFromProps:au,createRenderState:lu}),fx=sm({scrapeMotionValuesFromProps:Bh,createRenderState:im}),dx=Symbol.for("motionComponentSymbol");function px(n,i,o){const a=b.useRef(o);b.useInsertionEffect(()=>{a.current=o});const c=b.useRef(null);return b.useCallback(d=>{var h;d&&((h=n.onMount)==null||h.call(n,d)),i&&(d?i.mount(d):i.unmount());const f=a.current;if(typeof f=="function")if(d){const m=f(d);typeof m=="function"&&(c.current=m)}else c.current?(c.current(),c.current=null):f(d);else f&&(f.current=d)},[i])}const om=b.createContext({});function si(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function hx(n,i,o,a,c,d){var N,L;const{visualElement:f}=b.useContext(Gs),h=b.useContext(em),m=b.useContext(Vl),y=b.useContext(Zh).reducedMotion,g=b.useRef(null);a=a||h.renderer,!g.current&&a&&(g.current=a(n,{visualState:i,parent:f,props:o,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:y,isSVG:d}));const x=g.current,S=b.useContext(om);x&&!x.projection&&c&&(x.type==="html"||x.type==="svg")&&mx(g.current,o,c,S);const E=b.useRef(!1);b.useInsertionEffect(()=>{x&&E.current&&x.update(o,m)});const j=o[hh],D=b.useRef(!!j&&!((N=window.MotionHandoffIsComplete)!=null&&N.call(window,j))&&((L=window.MotionHasOptimisedAnimation)==null?void 0:L.call(window,j)));return Ty(()=>{x&&(E.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),D.current&&x.animationState&&x.animationState.animateChanges())}),b.useEffect(()=>{x&&(!D.current&&x.animationState&&x.animationState.animateChanges(),D.current&&(queueMicrotask(()=>{var z;(z=window.MotionHandoffMarkAsComplete)==null||z.call(window,j)}),D.current=!1),x.enteringChildren=void 0)}),x}function mx(n,i,o,a){const{layoutId:c,layout:d,drag:f,dragConstraints:h,layoutScroll:m,layoutRoot:y,layoutCrossfade:g}=i;n.projection=new o(n.latestValues,i["data-framer-portal-id"]?void 0:am(n.parent)),n.projection.setOptions({layoutId:c,layout:d,alwaysMeasureLayout:!!f||h&&si(h),visualElement:n,animationType:typeof d=="string"?d:"both",initialPromotionConfig:a,crossfade:g,layoutScroll:m,layoutRoot:y})}function am(n){if(n)return n.options.allowProjection!==!1?n.projection:am(n.parent)}function il(n,{forwardMotionProps:i=!1,type:o}={},a,c){a&&X1(a);const d=o?o==="svg":uu(n),f=d?fx:cx;function h(y,g){let x;const S={...b.useContext(Zh),...y,layoutId:gx(y)},{isStatic:E}=S,j=tx(y),D=f(y,E);if(!E&&Rp){yx();const N=vx(S);x=N.MeasureLayout,j.visualElement=hx(n,D,S,c,N.ProjectionNode,d)}return A.jsxs(Gs.Provider,{value:j,children:[x&&j.visualElement?A.jsx(x,{visualElement:j.visualElement,...S}):null,ax(n,y,px(D,j.visualElement,g),D,E,i,d)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const m=b.forwardRef(h);return m[dx]=n,m}function gx({layoutId:n}){const i=b.useContext(jp).id;return i&&n!==void 0?i+"-"+n:n}function yx(n,i){b.useContext(em).strict}function vx(n){const i=tm(),{drag:o,layout:a}=i;if(!o&&!a)return{};const c={...o,...a};return{MeasureLayout:o!=null&&o.isEnabled(n)||a!=null&&a.isEnabled(n)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function xx(n,i){if(typeof Proxy>"u")return il;const o=new Map,a=(d,f)=>il(d,f,n,i),c=(d,f)=>a(d,f);return new Proxy(c,{get:(d,f)=>f==="create"?a:(o.has(f)||o.set(f,il(f,void 0,n,i)),o.get(f))})}const wx=(n,i)=>i.isSVG??uu(n)?new r1(i):new Qv(i,{allowProjection:n!==b.Fragment});class Sx extends vn{constructor(i){super(i),i.animationState||(i.animationState=l1(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Hs(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:o}=this.node.prevProps||{};i!==o&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let kx=0;class Tx extends vn{constructor(){super(...arguments),this.id=kx++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:o}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===a)return;const c=this.node.animationState.setActive("exit",!i);o&&!i&&c.then(()=>{o(this.id)})}mount(){const{register:i,onExitComplete:o}=this.node.presenceContext||{};o&&o(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const Px={animation:{Feature:Sx},exit:{Feature:Tx}};function vi(n){return{point:{x:n.pageX,y:n.pageY}}}const Cx=n=>i=>ru(i)&&n(i,vi(i));function ui(n,i,o,a){return hi(n,i,Cx(o),a)}const lm=({current:n})=>n?n.ownerDocument.defaultView:null,yp=(n,i)=>Math.abs(n-i);function Ex(n,i){const o=yp(n.x,i.x),a=yp(n.y,i.y);return Math.sqrt(o**2+a**2)}const vp=new Set(["auto","scroll"]);class um{constructor(i,o,{transformPagePoint:a,contextWindow:c=window,dragSnapToOrigin:d=!1,distanceThreshold:f=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=E=>{this.handleScroll(E.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const E=ol(this.lastMoveEventInfo,this.history),j=this.startEvent!==null,D=Ex(E.offset,{x:0,y:0})>=this.distanceThreshold;if(!j&&!D)return;const{point:N}=E,{timestamp:L}=$e;this.history.push({...N,timestamp:L});const{onStart:z,onMove:B}=this.handlers;j||(z&&z(this.lastMoveEvent,E),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,E)},this.handlePointerMove=(E,j)=>{this.lastMoveEvent=E,this.lastMoveEventInfo=sl(j,this.transformPagePoint),Pe.update(this.updatePoint,!0)},this.handlePointerUp=(E,j)=>{this.end();const{onEnd:D,onSessionEnd:N,resumeAnimation:L}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const z=ol(E.type==="pointercancel"?this.lastMoveEventInfo:sl(j,this.transformPagePoint),this.history);this.startEvent&&D&&D(E,z),N&&N(E,z)},!ru(i))return;this.dragSnapToOrigin=d,this.handlers=o,this.transformPagePoint=a,this.distanceThreshold=f,this.contextWindow=c||window;const m=vi(i),y=sl(m,this.transformPagePoint),{point:g}=y,{timestamp:x}=$e;this.history=[{...g,timestamp:x}];const{onSessionStart:S}=o;S&&S(i,ol(y,this.history)),this.removeListeners=mi(ui(this.contextWindow,"pointermove",this.handlePointerMove),ui(this.contextWindow,"pointerup",this.handlePointerUp),ui(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(i){let o=i.parentElement;for(;o;){const a=getComputedStyle(o);(vp.has(a.overflowX)||vp.has(a.overflowY))&&this.scrollPositions.set(o,{x:o.scrollLeft,y:o.scrollTop}),o=o.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const o=this.scrollPositions.get(i);if(!o)return;const a=i===window,c=a?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},d={x:c.x-o.x,y:c.y-o.y};d.x===0&&d.y===0||(a?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(i,c),Pe.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),gn(this.updatePoint)}}function sl(n,i){return i?{point:i(n.point)}:n}function xp(n,i){return{x:n.x-i.x,y:n.y-i.y}}function ol({point:n},i){return{point:n,delta:xp(n,cm(i)),offset:xp(n,Mx(i)),velocity:Ax(i,.1)}}function Mx(n){return n[0]}function cm(n){return n[n.length-1]}function Ax(n,i){if(n.length<2)return{x:0,y:0};let o=n.length-1,a=null;const c=cm(n);for(;o>=0&&(a=n[o],!(c.timestamp-a.timestamp>Kt(i)));)o--;if(!a)return{x:0,y:0};const d=wt(c.timestamp-a.timestamp);if(d===0)return{x:0,y:0};const f={x:(c.x-a.x)/d,y:(c.y-a.y)/d};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function Dx(n,{min:i,max:o},a){return i!==void 0&&n<i?n=a?De(i,n,a.min):Math.max(n,i):o!==void 0&&n>o&&(n=a?De(o,n,a.max):Math.min(n,o)),n}function wp(n,i,o){return{min:i!==void 0?n.min+i:void 0,max:o!==void 0?n.max+o-(n.max-n.min):void 0}}function jx(n,{top:i,left:o,bottom:a,right:c}){return{x:wp(n.x,o,c),y:wp(n.y,i,a)}}function Sp(n,i){let o=i.min-n.min,a=i.max-n.max;return i.max-i.min<n.max-n.min&&([o,a]=[a,o]),{min:o,max:a}}function Rx(n,i){return{x:Sp(n.x,i.x),y:Sp(n.y,i.y)}}function Nx(n,i){let o=.5;const a=tt(n),c=tt(i);return c>a?o=ci(i.min,i.max-a,n.min):a>c&&(o=ci(n.min,n.max-c,i.min)),It(0,1,o)}function Lx(n,i){const o={};return i.min!==void 0&&(o.min=i.min-n.min),i.max!==void 0&&(o.max=i.max-n.min),o}const jl=.35;function Vx(n=jl){return n===!1?n=0:n===!0&&(n=jl),{x:kp(n,"left","right"),y:kp(n,"top","bottom")}}function kp(n,i,o){return{min:Tp(n,i),max:Tp(n,o)}}function Tp(n,i){return typeof n=="number"?n:n[i]||0}const Fx=new WeakMap;class _x{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Oe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:o=!1,distanceThreshold:a}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const d=x=>{o?(this.stopAnimation(),this.snapToCursor(vi(x).point)):this.pauseAnimation()},f=(x,S)=>{this.stopAnimation();const{drag:E,dragPropagation:j,onDragStart:D}=this.getProps();if(E&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Av(E),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xt(L=>{let z=this.getAxisMotionValue(L).get()||0;if(_t.test(z)){const{projection:B}=this.visualElement;if(B&&B.layout){const Q=B.layout.layoutBox[L];Q&&(z=tt(Q)*(parseFloat(z)/100))}}this.originPoint[L]=z}),D&&Pe.postRender(()=>D(x,S)),Tl(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},h=(x,S)=>{this.latestPointerEvent=x,this.latestPanInfo=S;const{dragPropagation:E,dragDirectionLock:j,onDirectionLock:D,onDrag:N}=this.getProps();if(!E&&!this.openDragLock)return;const{offset:L}=S;if(j&&this.currentDirection===null){this.currentDirection=Ix(L),this.currentDirection!==null&&D&&D(this.currentDirection);return}this.updateAxis("x",S.point,L),this.updateAxis("y",S.point,L),this.visualElement.render(),N&&N(x,S)},m=(x,S)=>{this.latestPointerEvent=x,this.latestPanInfo=S,this.stop(x,S),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>xt(x=>{var S;return this.getAnimationState(x)==="paused"&&((S=this.getAxisMotionValue(x).animation)==null?void 0:S.play())}),{dragSnapToOrigin:g}=this.getProps();this.panSession=new um(i,{onSessionStart:d,onStart:f,onMove:h,onSessionEnd:m,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:a,contextWindow:lm(this.visualElement),element:this.visualElement.current})}stop(i,o){const a=i||this.latestPointerEvent,c=o||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!c||!a)return;const{velocity:f}=c;this.startAnimation(f);const{onDragEnd:h}=this.getProps();h&&Pe.postRender(()=>h(a,c))}cancel(){this.isDragging=!1;const{projection:i,animationState:o}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,o,a){const{drag:c}=this.getProps();if(!a||!Ns(i,c,this.currentDirection))return;const d=this.getAxisMotionValue(i);let f=this.originPoint[i]+a[i];this.constraints&&this.constraints[i]&&(f=Dx(f,this.constraints[i],this.elastic[i])),d.set(f)}resolveConstraints(){var d;const{dragConstraints:i,dragElastic:o}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(d=this.visualElement.projection)==null?void 0:d.layout,c=this.constraints;i&&si(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&a?this.constraints=jx(a.layoutBox,i):this.constraints=!1,this.elastic=Vx(o),c!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&xt(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=Lx(a.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:o}=this.getProps();if(!i||!si(i))return!1;const a=i.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const d=Hv(a,c.root,this.visualElement.getTransformPagePoint());let f=Rx(c.layout.layoutBox,d);if(o){const h=o(Uv(f));this.hasMutatedConstraints=!!h,h&&(f=Rh(h))}return f}startAnimation(i){const{drag:o,dragMomentum:a,dragElastic:c,dragTransition:d,dragSnapToOrigin:f,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},y=xt(g=>{if(!Ns(g,o,this.currentDirection))return;let x=m&&m[g]||{};f&&(x={min:0,max:0});const S=c?200:1e6,E=c?40:1e7,j={type:"inertia",velocity:a?i[g]:0,bounceStiffness:S,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...d,...x};return this.startAxisValueAnimation(g,j)});return Promise.all(y).then(h)}startAxisValueAnimation(i,o){const a=this.getAxisMotionValue(i);return Tl(this.visualElement,i),a.start(Jl(i,a,0,o,this.visualElement,!1))}stopAnimation(){xt(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){xt(i=>{var o;return(o=this.getAxisMotionValue(i).animation)==null?void 0:o.pause()})}getAnimationState(i){var o;return(o=this.getAxisMotionValue(i).animation)==null?void 0:o.state}getAxisMotionValue(i){const o=`_drag${i.toUpperCase()}`,a=this.visualElement.getProps(),c=a[o];return c||this.visualElement.getValue(i,(a.initial?a.initial[i]:void 0)||0)}snapToCursor(i){xt(o=>{const{drag:a}=this.getProps();if(!Ns(o,a,this.currentDirection))return;const{projection:c}=this.visualElement,d=this.getAxisMotionValue(o);if(c&&c.layout){const{min:f,max:h}=c.layout.layoutBox[o],m=d.get()||0;d.set(i[o]-De(f,h,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:o}=this.getProps(),{projection:a}=this.visualElement;if(!si(o)||!a||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};xt(f=>{const h=this.getAxisMotionValue(f);if(h&&this.constraints!==!1){const m=h.get();c[f]=Nx({min:m,max:m},this.constraints[f])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),xt(f=>{if(!Ns(f,i,null))return;const h=this.getAxisMotionValue(f),{min:m,max:y}=this.constraints[f];h.set(De(m,y,c[f]))})}addListeners(){if(!this.visualElement.current)return;Fx.set(this.visualElement,this);const i=this.visualElement.current,o=ui(i,"pointerdown",m=>{const{drag:y,dragListener:g=!0}=this.getProps(),x=m.target,S=x!==i&&Ch(x);y&&g&&!S&&this.start(m)}),a=()=>{const{dragConstraints:m}=this.getProps();si(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:c}=this.visualElement,d=c.addEventListener("measure",a);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Pe.read(a);const f=hi(window,"resize",()=>this.scalePositionWithinConstraints()),h=c.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:y})=>{this.isDragging&&y&&(xt(g=>{const x=this.getAxisMotionValue(g);x&&(this.originPoint[g]+=m[g].translate,x.set(x.get()+m[g].translate))}),this.visualElement.render())}));return()=>{f(),o(),d(),h&&h()}}getProps(){const i=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:a=!1,dragPropagation:c=!1,dragConstraints:d=!1,dragElastic:f=jl,dragMomentum:h=!0}=i;return{...i,drag:o,dragDirectionLock:a,dragPropagation:c,dragConstraints:d,dragElastic:f,dragMomentum:h}}}function Ns(n,i,o){return(i===!0||i===n)&&(o===null||o===n)}function Ix(n,i=10){let o=null;return Math.abs(n.y)>i?o="y":Math.abs(n.x)>i&&(o="x"),o}class Ox extends vn{constructor(i){super(i),this.removeGroupControls=St,this.removeListeners=St,this.controls=new _x(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}update(){const{dragControls:i}=this.node.getProps(),{dragControls:o}=this.node.prevProps||{};i!==o&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.endPanSession()}}const Pp=n=>(i,o)=>{n&&Pe.postRender(()=>n(i,o))};class zx extends vn{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(i){this.session=new um(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lm(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:o,onPan:a,onPanEnd:c}=this.node.getProps();return{onSessionStart:Pp(i),onStart:Pp(o),onMove:a,onEnd:(d,f)=>{delete this.session,c&&Pe.postRender(()=>c(d,f))}}}mount(){this.removePointerDownListener=ui(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let al=!1;class Bx extends b.Component{componentDidMount(){const{visualElement:i,layoutGroup:o,switchLayoutGroup:a,layoutId:c}=this.props,{projection:d}=i;d&&(o.group&&o.group.add(d),a&&a.register&&c&&a.register(d),al&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,onExitComplete:()=>this.safeToRemove()})),Is.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:o,visualElement:a,drag:c,isPresent:d}=this.props,{projection:f}=a;return f&&(f.isPresent=d,al=!0,c||i.layoutDependency!==o||o===void 0||i.isPresent!==d?f.willUpdate():this.safeToRemove(),i.isPresent!==d&&(d?f.promote():f.relegate()||Pe.postRender(()=>{const h=f.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),nu.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:o,switchLayoutGroup:a}=this.props,{projection:c}=i;al=!0,c&&(c.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(c),a&&a.deregister&&a.deregister(c))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function fm(n){const[i,o]=q1(),a=b.useContext(jp);return A.jsx(Bx,{...n,layoutGroup:a,switchLayoutGroup:b.useContext(om),isPresent:i,safeToRemove:o})}const bx={pan:{Feature:zx},drag:{Feature:Ox,ProjectionNode:Jh,MeasureLayout:fm}};function Cp(n,i,o){const{props:a}=n;n.animationState&&a.whileHover&&n.animationState.setActive("whileHover",o==="Start");const c="onHover"+o,d=a[c];d&&Pe.postRender(()=>d(i,vi(i)))}class Ux extends vn{mount(){const{current:i}=this.node;i&&(this.unmount=Dv(i,(o,a)=>(Cp(this.node,a,"Start"),c=>Cp(this.node,c,"End"))))}unmount(){}}class Wx extends vn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=mi(hi(this.node.current,"focus",()=>this.onFocus()),hi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ep(n,i,o){const{props:a}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&a.whileTap&&n.animationState.setActive("whileTap",o==="Start");const c="onTap"+(o==="End"?"":o),d=a[c];d&&Pe.postRender(()=>d(i,vi(i)))}class $x extends vn{mount(){const{current:i}=this.node;i&&(this.unmount=Nv(i,(o,a)=>(Ep(this.node,a,"Start"),(c,{success:d})=>Ep(this.node,c,d?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Rl=new WeakMap,ll=new WeakMap,Hx=n=>{const i=Rl.get(n.target);i&&i(n)},Kx=n=>{n.forEach(Hx)};function Gx({root:n,...i}){const o=n||document;ll.has(o)||ll.set(o,{});const a=ll.get(o),c=JSON.stringify(i);return a[c]||(a[c]=new IntersectionObserver(Kx,{root:n,...i})),a[c]}function qx(n,i,o){const a=Gx(i);return Rl.set(n,o),a.observe(n),()=>{Rl.delete(n),a.unobserve(n)}}const Yx={some:0,all:1};class Xx extends vn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:o,margin:a,amount:c="some",once:d}=i,f={root:o?o.current:void 0,rootMargin:a,threshold:typeof c=="number"?c:Yx[c]},h=m=>{const{isIntersecting:y}=m;if(this.isInView===y||(this.isInView=y,d&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:g,onViewportLeave:x}=this.node.getProps(),S=y?g:x;S&&S(m)};return qx(this.node.current,f,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:o}=this.node;["amount","margin","root"].some(Qx(i,o))&&this.startObserver()}unmount(){}}function Qx({viewport:n={}},{viewport:i={}}={}){return o=>n[o]!==i[o]}const Jx={inView:{Feature:Xx},tap:{Feature:$x},focus:{Feature:Wx},hover:{Feature:Ux}},Zx={layout:{ProjectionNode:Jh,MeasureLayout:fm}},ew={...Px,...Jx,...bx,...Zx},tw=xx(ew,wx);function nw({progress:n}){return A.jsx("div",{className:"fixed top-0 left-0 right-0 h-[1px] bg-white/5 z-50",children:A.jsx(tw.div,{className:"h-full",style:{width:`${n*100}%`,background:"rgba(255, 255, 255, 0.2)"},initial:{width:0},animate:{width:`${n*100}%`},transition:{duration:.1}})})}function rw({onStartClick:n,episodeNumber:i,episodeTitle:o,episodeDescription:a,accentColor:c="#FFEB3B"}){const d=i===1?"/images/hero-ep1.png":i===2?"/images/hero-ep2.png":null;return A.jsxs("div",{className:"min-h-screen flex items-center justify-center md:px-24 px-[5vw] relative overflow-hidden",children:[d&&A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"absolute inset-0 z-0",style:{backgroundImage:`url(${d})`,backgroundSize:"cover",backgroundPosition:"center",opacity:.15}}),A.jsx("div",{className:"absolute inset-0 z-0",style:{background:"linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4))"}})]}),A.jsxs("div",{className:"max-w-3xl mx-auto text-center md:px-12 relative z-10 w-full",children:[A.jsxs("p",{className:"font-['IBM_Plex_Mono',monospace] text-[11px] md:text-xs font-normal tracking-[0.12em] uppercase mb-4",style:{color:"rgba(255, 255, 255, 0.5)"},children:["ÃPISODE ",i]}),A.jsx("h1",{className:"font-['Phudu',sans-serif] text-5xl md:text-6xl font-bold leading-[0.95] text-white mb-3",style:{letterSpacing:"-2px",background:"transparent",backgroundColor:"transparent",boxShadow:"none",outline:"none",border:"none",textShadow:"none",padding:0,margin:"0 0 0.75rem 0",display:"block",position:"relative",zIndex:10},children:o}),A.jsx("p",{className:"font-['Albert_Sans',sans-serif] text-sm font-normal leading-[1.6] tracking-[-0.01em] max-w-xl mx-auto mb-6",style:{color:"rgba(255, 255, 255, 0.7)"},children:a}),A.jsx("button",{onClick:n,className:"group px-6 py-3 rounded-full font-['Albert_Sans',sans-serif] font-medium text-sm tracking-[-0.01em] transition-all duration-500 hover:scale-[1.02] active:scale-95 border border-white/20 backdrop-blur-sm",style:{background:"linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02))",color:"rgba(255, 255, 255, 0.9)",boxShadow:"0 0 0 rgba(255, 255, 0, 0)"},onMouseEnter:f=>{f.currentTarget.style.boxShadow="0 0 20px rgba(255, 255, 0, 0.15), 0 0 40px rgba(255, 255, 0, 0.08)",f.currentTarget.style.background="linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08))"},onMouseLeave:f=>{f.currentTarget.style.boxShadow="0 0 0 rgba(255, 255, 0, 0)",f.currentTarget.style.background="linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02))"},children:A.jsxs("span",{className:"flex items-center gap-2",children:["Commencer la journée",A.
40jsx("span",{className:"text-base transition-transform duration-300 group-hover:scale-110",children:"âï¸"})]})})]})]})}function iw({scrollProgress:n}){const i=n<.1;return A.jsxs("div",{className:"fixed bottom-8 left-1/2 -translate-x-1/2 z-20 flex flex-col items-center gap-3 transition-all duration-500",style:{opacity:i?1:0,pointerEvents:i?"auto":"none"},children:[A.jsx("div",{className:"relative w-6 h-9 border-2 border-white/40 rounded-full flex items-start justify-center pt-2",children:A.jsx("div",{className:"w-1 h-2 bg-white/60 rounded-full animate-scroll-down"})}),A.jsx("span",{className:"font-['IBM_Plex_Mono',monospace] text-[10px] tracking-[0.15em] uppercase text-white/40",children:"Scroll"}),A.jsx("style",{children:` 41 @keyframes scroll-down { 42 0% { 43 opacity: 0; 44 transform: translateY(0); 45 } 46 40% { 47 opacity: 1; 48 } 49 80% { 50 opacity: 0; 51 transform: translateY(8px); 52 } 53 100% { 54 opacity: 0; 55 transform: translateY(8px); 56 } 57 } 58 59 .animate-scroll-down { 60 animation: scroll-down 2s ease-in-out infinite; 61 } 62 `})]})}function sw({score:n,avgLuminance:i,episodeId:o}){const[a,c]=b.useState(0),[d,f]=b.useState(!1);b.useEffect(()=>{if(n>a){f(!0),c(n);const y=setTimeout(()=>{f(!1)},600);return()=>clearTimeout(y)}},[n,a]);const m=(y=>{const g=Math.max(0,Math.min(1,(y-.3)/.4)),x=255+-255*g,S=255+-255*g,E=255+-255*g;return`rgb(${Math.round(x)}, ${Math.round(S)}, ${Math.round(E)})`})(i);return o===2?null:A.jsxs("div",{className:"fixed top-8 right-8 z-30 font-['Phudu',cursive]",style:{transition:"all 0.5s cubic-bezier(0.22, 1, 0.36, 1)"},children:[A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsxs("div",{className:"text-3xl font-bold relative",style:{color:m,transform:d?"scale(1.15)":"scale(1)",transition:"transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)"},children:[n,d&&A.jsx("div",{className:"absolute inset-0 rounded-full",style:{background:"#FFEB3B",opacity:0,transform:"scale(1.5)",animation:"scorePulse 0.6s ease-out"}})]}),d&&A.jsx("div",{className:"absolute -right-6 top-0 text-sm font-bold",style:{color:"#FFEB3B",animation:"scoreFloatUp 0.6s ease-out forwards"},children:"+1"})]}),A.jsx("style",{children:` 63 @keyframes scorePulse { 64 0% { 65 opacity: 0.8; 66 transform: scale(1); 67 } 68 100% { 69 opacity: 0; 70 transform: scale(2); 71 } 72 } 73 74 @keyframes scoreFloatUp { 75 0% { 76 opacity: 1; 77 transform: translateY(0); 78 } 79 100% { 80 opacity: 0; 81 transform: translateY(-20px); 82 } 83 } 84 `})]})}function ow({score:n,isActive:i,onNextEpisode:o,hasNextEpisode:a,episodeId:c,accentColor:d,onPreviousEpisode:f}){const h=c===1;return A.jsxs("div",{className:"max-w-[600px] w-full",style:{opacity:i?1:.3,transform:`translateY(0) scale(${i?1:.96})`,transition:"all 1s cubic-bezier(0.22, 1, 0.36, 1)",willChange:"opacity, transform"},children:[A.jsxs("div",{className:"relative text-center md:px-16 md:py-16 px-0 py-8",children:[A.jsx("div",{className:"absolute top-1/4 left-1/4 w-[300px] h-[300px] rounded-full opacity-20 blur-[100px] pointer-events-none",style:{background:`radial-gradient(circle, ${d} 0%, transparent 70%)`,animation:"float 8s ease-in-out infinite"}}),A.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-[250px] h-[250px] rounded-full opacity-15 blur-[80px] pointer-events-none",style:{background:`radial-gradient(circle, ${d}AA 0%, transparent 70%)`,animation:"float 10s ease-in-out infinite reverse"}}),A.jsx("div",{className:"absolute top-1/2 right-1/3 w-[200px] h-[200px] rounded-full opacity-10 blur-[60px] pointer-events-none",style:{background:`radial-gradient(circle, ${d} 0%, transparent 70%)`,animation:"float 12s ease-in-out infinite",animationDelay:"2s"}}),h?A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"mb-8 relative z-10",style:{opacity:i?1:0,transform:i?"translateY(0)":"translateY(20px)",transition:"all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s"},children:A.jsx("div",{className:"font-['Phudu',cursive] font-bold text-[96px] leading-none text-white",children:n})}),A.jsxs("div",{className:"font-['Albert_Sans',sans-serif] md:text-[22px] text-[17px] leading-[150%] text-white font-medium md:max-w-[480px] max-w-[340px] mx-auto relative z-10",style:{letterSpacing:"-0.5px",o
84pacity:i?1:0,transform:i?"translateY(0)":"translateY(20px)",transition:"all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s"},children:["En une seule journée, cette personne a utilisé ",A.jsxs("mark",{style:{backgroundColor:d},className:"text-black font-bold px-1",children:[n," services liés directement ou indirectement à des GAFAM"]}),", parfois sans même s'en rendre compte.",A.jsx("br",{}),A.jsx("br",{}),A.jsxs("span",{className:"text-white",children:["Et vous ? Combien de ces géants du numérique accompagnent ",A.jsx("span",{className:"font-bold",children:"votre"})," quotidien ?"]})]}),a&&o&&A.jsx("div",{className:"mt-12 relative z-10",style:{opacity:i?1:0,transform:i?"translateY(0)":"translateY(20px)",transition:"all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s"},children:A.jsxs("button",{onClick:o,className:"group flex items-center md:max-w-[480px] max-w-[340px] mx-auto px-8 py-6 relative overflow-hidden",style:{background:"rgba(255, 255, 255, 0.95)",backdropFilter:"blur(40px)",WebkitBackdropFilter:"blur(40px)",transition:"all 0.4s cubic-bezier(0.22, 1, 0.36, 1)"},onMouseEnter:m=>{m.currentTarget.style.background="rgba(255, 255, 255, 1)",m.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:m=>{m.currentTarget.style.background="rgba(255, 255, 255, 0.95)",m.currentTarget.style.transform="translateY(0)"},children:[A.jsx("div",{className:"absolute top-0 left-0 w-full h-[2px] origin-left",style:{backgroundColor:d,transform:"scaleX(0)",transition:"transform 0.6s cubic-bezier(0.22, 1, 0.36, 1)"}}),A.jsxs("div",{className:"flex-1 text-left",children:[A.jsx("p",{className:"font-['IBM_Plex_Mono',monospace] text-[11px] tracking-[0.12em] uppercase text-[#787E94] font-medium mb-1",children:"à suivre"}),A.jsx("p",{className:"font-['Albert_Sans',sans-serif] text-[18px] font-bold text-[#2F3037]",style:{letterSpacing:"-0.5px"},children:"Ãpisode 2 : une journée sans GAFAM"})]}),A.jsx("div",{className:"ml-4 flex items-center justify-center w-10 h-10 rounded-full transition-transform duration-400",style:{background:"rgba(220, 230, 240, 0.6)",border:"1.5px solid rgba(200, 215, 230, 0.8)",transition:"transform 0.4s cubic-bezier(0.22, 1, 0.36, 1)"},children:A.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-transform duration-400 group-hover:translate-x-1",children:A.jsx("path",{d:"M6 3L11 8L6 13",stroke:"#6B7A8F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})})]}):A.jsxs(A.Fragment,{children:[A.jsxs("div",{className:"font-['Albert_Sans',sans-serif] text-left md:text-[20px] text-[17px] leading-[170%] text-white font-normal md:max-w-[600px] max-w-[500px] mx-auto relative z-10",style:{letterSpacing:"-0.3px",opacity:i?1:0,transform:i?"translateY(0)":"translateY(20px)",transition:"all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s"},children:[A.jsx("div",{className:"mb-6 text-[32px] leading-tight",children:"â"}),A.jsxs("blockquote",{className:"border-l-4 pl-6 mb-6",style:{borderColor:d,opacity:.9},children:[A.jsxs("p",{className:"mb-4",children:["Personne n'est parfait. L'important c'est de se mettre en mouvement et d'entrainer d'autre gens d'une façon intelligente. Pour vous plonger dans la ribambelle d'alternatives européennes, consultez des sites comme ",A.jsx("a",{href:"https://www.goeuropean.org/#products-list",target:"_blank",rel:"noopener noreferrer",className:"underline hover:opacity-70 transition-opacity",style:{color:d},children:"goeuropean.org"})," ou la super active communauté Reddit ",A.jsx("a",{href:"https://www.reddit.com/r/BuyFromEU",target:"_blank",rel:"noopener noreferrer",className:"underline hover:opacity-70 transition-opacity",style:{color:d},children:"BuyFromEU"}),", également sur ",A.jsx("a",{href:"https://mamot.fr/@bonpoteofficiel",target:"_blank",rel:"noopener noreferrer",className:"underline hover:opacity-70 transition-opacity",style:{color:d},children:"Mastodon"}),", un twitter décentralisé. Car vous l'aurez compris, le chemin est semé d'embûches : Reddit est étasunien et le patron de ChatGPT en possède 10 %..."]}),A.jsx("p",{className:"mb-4",children:"C'est comme pour le climat : les individus ont un rôle, la société à un rôle, les entreprises, les dirigeants, les retraités, les actifs, les milliardaires : tout le monde a un rôle plus ou moins important dans ce passage à l'action."}),A.jsx("p",{className:"mb-4",children:"BonPote n'est pas parfait non plus, avec plusieurs dépendances à des services étasuniens. De nombreux articles sont écrits sur Google Docs, mais celui-ci l'a été via LaSuite Docs. C'était moins fluide, mais ça a marché."}),A.jsxs("p",{className:"text-sm opacity-70",children:["Note : l'auteur de cet article développe ",A.jsx("a",{href:"https://cartes.app",target:"_blank",rel:"noopener noreferrer",className:"underline hover:opacity-70 transition-opacity",style:{color:d},children:"cartes.app"}),", une carte en ligne européenne citée dans l'article."]})]})]}),f&&A.jsx("div",{className:"mt-12 relative z-10",style:{opacity:i?1:0,transform:i?"translateY(0)":"translateY(20px)",transition:"all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s"},children:A.jsxs("button",{onClick:f,className:"group flex items-center md:max-w-[480px] max-w-[340px] mx-auto px-8 py-6 relative overflow-hidden",style:{background:"rgba(255, 255, 255, 0.95)",backdropFilter:"blur(40px)",WebkitBackdropFilter:"blur(40px)",transition:"all 0.4s cubic-bezier(0.22, 1, 0.36, 1)"},onMouseEnter:m=>{m.currentTarget.style.background="rgba(255, 255, 255, 1)",m.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:m=>{m.currentTarget.style.background="rgba(255, 255, 255, 0.95)",m.currentTarget.style.transform="translateY(0)"},children:[A.jsx("div",{className:"absolute top-0 left-0 w-full h-[2px] origin-left",style:{backgroundColor:d,transform:"scaleX(0)",transition:"transform 0.6s cubic-bezier(0.22, 1, 0.36, 1)"}}),A.jsx("div",{className:"mr-4 flex items-center justify-center w-10 h-10 rounded-full transition-transform duration-400",style:{background:"rgba(220, 230, 240, 0.6)",border:"1.5px solid rgba(200, 215, 230, 0.8)",transition:"transform 0.4s cubic-bezier(0.22, 1, 0.36, 1)"},children:A.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-transform duration-400 group-hover:-translate-x-1",children:A.jsx("path",{d:"M10 3L5 8L10 13",stroke:"#6B7A8F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),A.jsxs("div",{className:"flex-1 text-left",children:[A.jsx("p",{className:"font-['IBM_Plex_Mono',monospace] text-[11px] tracking-[0.12em] uppercase text-[#787E94] font-medium mb-1",children:"Revoir"}),A.jsx("p",{className:"font-['Albert_Sans',sans-serif] text-[18px] font-bold text-[#2F3037]",style:{letterSpacing:"-0.5px"},children:"Ãpisode 1 : 24h dans la peau d'un addict"})]})]})})]}),A.jsx("div",{className:"absolute bottom-0 left-1/2 w-[120px] h-[2px] bg-gradient-to-r from-transparent to-transparent",style:{backgroundImage:`linear-gradient(to right, transparent, ${d}, transparent)`,transform:`translateX(-50%) scaleX(${i?1:0})`,transition:"transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s"}})]}),A.jsx("style",{children:` 85 @keyframes float { 86 0%, 100% { 87 transform: translate(0, 0) scale(1); 88 } 89 33% { 90 transform: translate(30px, -30px) scale(1.1); 91 } 92 66% { 93 transform: translate(-20px, 20px) scale(0.9); 94 } 95 } 96 `})]})}function aw(){const n=b.useMemo(()=>{const i=[];for(let a=0;a<80;a++)i.push({id:a,x:Math.random()*100,y:Math.random()*100,size:Math.random()*2+1,opacity:Math.random()*.5+.3,animationDelay:Math.random()*5,animationDuration:Math.random()*3+2});return i},[]);return A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:n.map(i=>A.jsx("div",{className:"absolute rounded-full bg-white",style:{left:`${i.x}%`,top:`${i.y}%`,width:`${i.size}px`,height:`${i.size}px`,opacity:i.opacity,animation:`twinkle ${i.animationDuration}s ease-in-out ${i.animationDelay}s infinite`}},i.id))}),A.jsx("style",{children:` 97 @keyframes twinkle { 98 0%, 100% { 99 opacity: 0.3; 100 transform: scale(1); 101 } 102 50% { 103 opacity: 1; 104 transform: scale(1.2); 105 } 106 } 107 `})]})}const Ls=[{id:1,title:"GAFAM : 24h dans la peau d'un addict",description:"Plongée dans la journée type d'un citoyen ayant confié peu à peu une partie de son quotidien aux big tech",accentColor:"#FFEB3B",sections:[{id:0,time:"07:50",text:"Je me réveille. Enfin mon smartphone me réveille. C'est un *Android*, donc connecté 24h/24 aux serveurs de *Google*. Pas de mode avion la nuit : je n'ai plus de téléphone fixe, je crains d'être injoignable en cas d'urgence.",gradient:"linear-gradient(to top, #1E293B, #020617)"},{id:1,time:"08:00",text:"Dans la salle de bain, j'allume la radio via l'appli France Inter téléchargée sur le *Play Store*. Je vérifie la météo du jour pour m'habiller, la géolocalisation appelle *Google*.",gradient:"linear-gradient(to top, #1E3A5F, #1E293B)"},{id:2,time:"08:30",text:`Avant de partir, je me permets quelques minutes de scroll sur *X* pour les nouvelles politiques toutes fraiches et leur petit lot de polémiques. Ce matin, j'apprends qu'un député RN <a href="https://www.radiofrance.fr/franceinfo/podcasts/le-vrai-ou-faux/le-vrai-ou-faux-du-vendredi-16-janvier-2026-
1075483045" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">dénonce les subvention des Trans Musicales, un 'festival de musique d'artistes transgenres"</a>. J'ouvre *Instagram* dans la foulée pour savoir si Aymeric Lompret a fait une chronique dessus pour pouvoir like.`,gradient:"linear-gradient(to top, #2D4A6F, #1E3A5F)"},{id:3,time:"08:45",text:`Je démarre ma voiture (une *Tesla*) et *Android Auto* lance *<a href="https://www.frandroid.com/marques/google/206886_waze-coute-115-milliard-dollars-google-ceo-affiche-ses-regrets" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">Waze</a>*. Je ne peux plus me passer de la prédiction des bouchons pour aller au boulot. Sur le chemin, je me fais doubler par Tristan qui vient en vélo au travail. Il va encore se moquer de moi parce que je mets 20 min à trouver une place de parking, mais est-ce qu'il a le mode sport sur son vélo, lui ?`,gradient:"linear-gradient(to top, #4A6FA5, #2D4A6F)"},{id:4,time:"09:30",text:"En arrivant au boulot, j'ouvre *Teams* sur mon *Macbook*. Non pas que j'en aie besoin, mais la connexion à ce logiciel de messagerie d'entreprise fait office de pointage pour le boss. *Teams* pour l'instantané, *Outlook* pour les échanges à froid, et *Office 365* pour la mémoire long-terme : ces trois logiciels hébergent l'essentiel du savoir de notre boîte. On ne sait trop où.",gradient:"linear-gradient(to top, #6B8FC7, #4A6FA5)"},{id:5,time:"09:30",text:"Les collègues trentenaires ont commencé à utiliser *Notion* au grand dam du DSI (Directeur des Systèmes d'Information), qui doit bien admettre que l'augmentation des prix d'*Office 365* juste avant Noël met à rude épreuve son enveloppe budgétaire. à ce qu'il parait *Notion* fait le café...",gradient:"linear-gradient(to top, #8FAFD9, #6B8FC7)"},{id:6,time:"10:01",text:"Ambre, notre CEO, nous demande d'aller like son dernier post sur *Linkedin*. On est une entreprise verte après tout, il faut le faire savoir à nos clients.",gradient:"linear-gradient(to top, #B4CFED, #8FAFD9)"},{id:7,time:"12:30",text:`Il est temps de manger, mais pas à la cantine, c'est mercredi et c'est dégueu. Avec les collègues on cherche un plat à emporter près du bureau. Sur *Google Maps*, on nous recommande un restaurant bien noté, on lui fait confiance et on y va, l'app indique que c'est à 7 min de marche. Enfin quand je dis "nous", c'est plutôt Julie et moi, les autres sont *team iPhone* mais clairement *Apple Maps* ne fait pas le poids pour les horaires et les avis.`,gradient:"linear-gradient(to top, #D8E8F8, #B4CFED)"},{id:8,time:"12:48",text:"Julie nous montre une vidéo BRUT sur *Youtube*. Elle reçoit une notification *Instagram* en plein milieu de la vidéo, elle clique, son amie qui travaille dans l'équipe RSE de BNP lui a envoyé la vidéo BRUT en privé. Trop bien, elles sont connectées. Elle relance la vidéo, ça relance aussi la pub. J'en profite pour dégainer mon *Google Pay*, on réglera ça sur *Paypal*.",gradient:"linear-gradient(to top, #EFF5FB, #D8E8F8)"},{id:9,time:"13:34",text:`Avant de reprendre le boulot, je commence l'écriture d'un article sur <a href="https://bonpote.com/comment-trump-peut-mettre-la-france-a-genoux-en-24h/" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">un média écolo qui parle des GAFAM et de Donald Trump</a>. La playlist *Spotify* de la semaine dans les oreilles pour couper de l'open space.`,gradient:"linear-gradient(to top, #F5F8FA, #EFF5FB)"},{id:10,time:"13:34",text:"Le temps de *Word* est révolu : le navigateur a pris une place centrale sur mon ordi, y compris pour la bureautique, d'ailleurs qui utilise toujours ce mot ringard ? Via *Google Chrome*, je lance un *Doc* et j'épluche les commentaires qui m'ont été laissés... c'est bien pratique. Une heure après, j'ai bien avancé, je leur envoie un update via *Gmail*.",gradient:"linear-gradient(to top, #F8F9FA, #F5F8FA)"},{id:11,time:"15:00",text:`L'heure de l'enfer. Je n'ai pas pu reprendre de café, et la weekly *Zoom* démarre. Cam off, j'écoute pas, de toute façon *ChatGPT* fera le résumé. Je scrolle l'actu sur l'appli *News* de mon téléphone. Trump relance une guerre commerciale, ma boîte va encore essuyer le coup et surtout l'incertitude des droits de douane mais "pas de politique au boulot"...`,gradient:"linear-gradient(to top, #F8E8D9, #F8F9FA)"},{id:12,time:"17:47",text:"Pour couper du boulot, après avoir vaguement consulté les messages du club natation sur *Whatsapp*, je lance un stream sur *Twitch* et j'ouvre *Steam*, toujours présent en fond sur mon bureau *Windows* qui ne me sert plus qu'à jouer.",gradient:"linear-gradient(to top, #FFDCC0, #F8E8D9)"},{id:13,time:"18:59",text:"Ma copine Camille rentre du travail. J'avais promis que j'organiserais les vacances, j'ouvre vite sur le 2ème écran un *Google Spreadsheet* où j'ai ajouté quelques liens *Airbnb*. On n'a toujours pas partagé le lien du dossier *Google Photos* de nos vacances au Botswana à la famille, mais bon ils en ont vu quelques unes sur *Facebook* et mon oncle était ravi.",gradient:"linear-gradient(to top, #F5D4E8, #FFDCC0)"},{id:14,time:"19:47",text:"Camille reçoit une vidéo *Tiktok* de Pierre sur *Whatsapp* lui disant de faire attention aux fake news sur les réseaux sociaux.",gradient:"linear-gradient(to top, #E8C4D8, #F5D4E8)"},{id:15,time:"19:49",text:"Nouvelle story sur *Instagram* du journaliste engagé Hugo Clément en pleine séance de sport avec Tibo in Shape, j'adore !",gradient:"linear-gradient(to top, #D8B4C8, #E8C4D8)"},{id:16,time:"21:05",text:"On hésite à lancer *Netflix*, mais vu l'actualité, on a plutôt envie de se détendre sur *Amazon Prime* avec LOL : qui rit, sort !",gradient:"linear-gradient(to top, #C8A4B8, #D8B4C8)"},{id:17,time:"22:50",text:"Au lit ! Avant de me coucher, je scrolle *Insta*, rien de nouveau donc je me lance 2-3 vidéos sur *Tiktok*. C'est pas un GAFAM donc ça va.",gradient:"linear-gradient(to top, #7A86A8, #C8A4B8)"},{id:18,time:"00:13",text:"J'ai fini de scroller. J'me suis encore fait avoir, j'ai lancé une vidéo
107j'en ai regardé 10 ! Ahah.",gradient:"linear-gradient(to top, #0A0F1E, #1A2336)"}]},{id:2,title:"GAFAM : 24h dans la peau d'un repenti",description:"Six mois après la coupure de la vie numérique par Trump, la France reprend son indépendance.",accentColor:"#FFAD92",sections:[{id:0,time:"07:50",text:"Je me réveille, enfin mon ancien smartphone me réveille. J'ai enlevé la carte SIM du *Google Pixel* pour en faire un réveil non connecté. J'arrête la sonnerie sans la tentation de lire mes notifications avant même d'enfiler mes chaussons.",gradient:"linear-gradient(to top, #1a1420, #0e0a12)"},{id:1,time:"08:05",text:`Il est 8h05 le 23 janvier 2027. Il y a 6 mois, la France a commencé à prendre son indépendance numérique quand Trump a coupé la vie numérique d'Emmanuel M. Ils ont eu un différent sur une histoire de taxe sur le vin rouge. La France est la reine du pinard, les USA sont les rois du numérique, et ils ont <a href="https://bonpote.com/comment-trump-peut-mettre-la-france-a-genoux-en-24h" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">menacé de tout couper</a>.`,gradient:"linear-gradient(to top, #2d1f2e, #1a1420)"},{id:2,time:"08:10",text:"Il n'y a toujours pas de smartphone français correct, mais je suis plutôt content de mon *Fairphone 6*. L'entreprise a rattrapé le retard sur les *Samsung Galaxy* & consorts, tout en restant conçu aux Pays-Bas par une entreprise qui semble donner plus d'importance que la Fifa au mot fair.",gradient:"linear-gradient(to top, #352432, #2d1f2e)"},{id:3,time:"08:25",text:`Avant d'aller au boulot, j'allume France Inter. On m'a dit que je pouvais juste taper radiofrance.fr sur *Firefox* et l'ajouter à mon écran d'accueil. Simple et efficace, une appli en moins à installer via le store après avoir joué au saute mouton par-dessus les applis "suggérées" (comprendre : qui ont rincé Google & Apple pour doubler les autres).`,gradient:"linear-gradient(to top, #3e2a3d, #352432)"},{id:4,time:"09:00",text:"J'enfourche mon vélo. Fini les bouchons, ça me laisse un peu de temps pour consulter mes messages sur *Element*, l'application phare du réseau *Matrix.org*. J'y ai d'abord embarqué ma famille, puis quelques amis.",gradient:"linear-gradient(to top, #5a4053, #3e2a3d)"},{id:5,time:"09:05",text:`Même les moins geeks ont vite compris l'intérêt d'utiliser <a href="https://bonpote.com/bluesky-enfin-une-vraie-alternative-a-twitter/#Comment_fonctionne_Bluesky" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">un protocole</a> : c'est ce qui fait qu'un courriel *Gmail* sera bien reçu par l'*Outlook* de ma maman. 108 109Un langage universel qui permet aux concurrents de communiquer, dans l'intérêt des gens, pas des entreprises. Exactement comme la mobilité bancaire qui permet de changer de banque en filant l'ancien RIB à ta nouvelle banquière.`,gradient:"linear-gradient(to top, #6a4d5e, #5a4053)"},{id:6,time:"09:30",text:`En arrivant au boulot, j'ouvre la mouture entreprise d'*<a href="https://element.io/fr" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">Element</a>* qui a remplacé Teams. J'ai passé en 2026 le concours de l'administration. La bureaucratie n'a pas dit son dernier mot mais j'ai la chance de profiter d'un élan de souveraineté numérique : l'Ãtat déploie sa "suite numérique" nommée sobrement *<a href="https://lasuite.numerique.gouv.fr/" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">LaSuite</a>*. Ce n'est pas une discothèque, mais l'équivalent d'Office 365 ou de Google Workspace.`,gradient:"linear-gradient(to top, #7a5869, #6a4d5e)"},{id:7,time:"10:01",text:`René, mon N+1, nous demande de nous abonner au compte *Bluesky* qu'il vient de créer. L'interdiction de X a déclenché une vague grand public sur <a href="https://bonpote.com/bluesky-enfin-une-vraie-alternative-a-twitter" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">cette alternative à Twitter</a>. On est une administration publique après tout, les français ont le droit de voir nos actus sur une plateforme ouverte. René a créé le compte sur *Eurosky*, la version européenne de Bluesky lancée en février 2026 avec l'aide de la commission européenne.`,gradient:"linear-gradient(to top, #9a7580, #7a5869)"},{id:8,time:"12:30",text:"Il est temps de manger, mais pas à la cantine, c'est 2027 mais c'est toujours dégueu. Avec les collègues on cherche un plat à emporter près du bureau. J'ai remplacé *Google Maps* par *OpenStreetMap*, le Wikipedia des cartes.",gradient:"linear-gradient(to top, #c5a0a7, #9a7580)"},{id:9,time:"12:31",text:`En pratique, j'ai *<a href="https://cartes.app" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">cartes.app</a>* au quotidien, et les cartes hors ligne *<a href="https://Comaps.app" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">Comaps.app</a>* pour les voyages et la rando. Certains commerces n'y ont pas encore renseigné leurs horaires, et il y a beaucoup moins de photos et d'<a href="https://cartes.app/avis" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">avis</a>, mais ça fait pas de mal de se sortir de la petite <a href="https://fr.wikipedia.org/wiki/Chute_libre_(Black_Mirror)" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">dictature des notes</a>. Et puis j'ai appris qu'elles étaient souvent <a href="https://techtrash.kessel.media/posts/pst_c0feccc4802b4c9ca64dd5e4e8d98ac5/tout-est-faux" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">pipées</a>, ces notes.`,gradient:"linear-gradient(to top, #d5b0b7, #c5a0a7)"},{id:10,time:"12:48",text:`Julie nous montre une vidéo sur *Dailymotion*. Aussi invraisemblable que ça puisse paraitre, ce site a dépassé X en décembre 2025. Les médias commencent à intégrer des vidéos Dailymotion plutôt que YouTube. Avec l'extension *uBlock* pour Firefox, Julie n'a plus jamais de pub avant la vidéo. Je sors mon *<a href="https://wero-wallet.eu/fr" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">app Wero</a>* pour payer le borek feta épinards.`,gradient:"linear-gradient(to top, #e8cbc8, #d5b0b7)"},{id:11,time:"13:34",text:`Avant de reprendre le boulot, je me connecte à mon abonnement média indés. Pour 8 ⬠par mois, j'ai accès à un bouquet de titres libres des milliardaires. Je lance mon *Qobuz* hebdo en musique de fond pour couper de l'*open space*. J'étais d'abord passé à Deezer avant d'aprendre que son patron étasunien <a href="https://www.vice.com/en/article/two-top-trump-officials-are-ex-lobbyists-for-a-billionaire-with-deep-ties-to-russian-oligarchs" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">cumule Trump et Poutine</a> dans ses proches. Nulle envie de quitter les GAFAM <a href="https://bonpote.com/comment-le-milliardaire-sterin-soutient-lobstruction-climatique-en-france/" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">pour la sphère Stérin</a>. La migration des playlists s'est faite <a href="https://soundiiz.com/fr/tutorial/deezer-to-qobuz" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">facilement</a>.`,gradient:"linear-gradient(to top, #f5e3d8, #e8cbc8)"},{id:12,time:"15:00",text:"L'heure de l'enfer. Je n'ai pas pu reprendre de café, et la conf hebdo sur *LaSuite Visio* démarre. Je prends des notes sur *LaSuite Docs* et réponds aux commentaires des collègues. Ãa m'embête, car je ne peux pas utiliser cet outil avec mes amis qui ne sont pas fonctionnaires. C'est le monde à l'envers : le vieil Ãtat qui prend de l'avance...",gradient:"linear-gradient(to top, #fceee0, #f5e3d8)"},{id:13,time:"17:47",text:`Pour couper du boulot, après avoir vaguement consulté les messages du club natation sur *Signal*, j'ouvre Steam sur mon PC *linux*. C'est le socle sur lequel repose Android. Les GAFAM ne seraient pas grand chose sans cette brique libre <a href="https://fr.wikipedia.org/wiki/Linux" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; opacity: 0.9;">créée en Finlande</a>. 110 111Mes potes gamer m'ont dit que j'avais plus besoin de Windows, j'y croyais pas, mais tous mes jeux fonctionnent très bien. Au passage, j'ai repoussé son obsolescence programmée.`,gradient:"linear-gradient(to top, #fdf5e8, #fceee0)"},{id:14,time:"18:59",text:"Ma copine Camille rentre du travail. On repart à Berlin avec le train de nuit, j'avais oublié et j'ouvre vite le tableur en ligne sur le 2ème écran. Pour le perso, on m'a conseillé les clouds *Infomaniak*, *Zaclys* ou *Proton*. Pour l'instant j'ai choisi le petit français *Cryptpad* : pas besoin de compte.",gradient:"linear-gradient(to top, #fef8f0, #fdf5e8)"},{id:15,time:"19:00",text:"La résiliation d'Amazon Prime et Apple TV m'ont libéré 15 â¬/mois, mais j'attends de m'abonner : à ce qu'il parait, Orange et Free préparent une offre de cloud personnel intégrée au forfait mobile...",gradient:"linear-gradient(to top, #f9e8db, #fef8f0)"},{id:16,time:"19:01",text:"Sur le tableur, je cale quelques propositions d'apparts Booking et *Greengo*, et un lien *Immich* pour préparer notre album photo du voyage. Cette alternative à Google Photos a été lancée par un milliardaire, mais le code est ouvert. D'autres entrepreneurs suivront le manuel pour relancer le service si l'entreprise a un pépin.",gradient:"linear-gradient(to top, #f9e8db, #fef8f0)"},{id:17,time:"19:47",text:"Camille me montre une vidéo *Skylight* que Pierre lui envoie, lui disant de faire attention aux fake news sur les réseaux sociaux. On s'en doutait, la technologie européenne n'a pas résolu tous les problèmes.",gradient:"linear-gradient(to top, #d9bfb5, #f9e8db)"},{id:18,time:"21:05",text:"On hésite entre une série Arte ou Canal. Il y a quelques mois, s'est organisée une dilution des parts de Bolloré dans Canal+.",gradient:"linear-gradient(to top, #c9a89d, #d9bfb5)"},{id:19,time:"22:50",text:"En m'installant sur le lit, je sors machinalement mon téléphone pour scroller l'internet mais l'écran en mode noir et blanc me dit que j'ai dépassé mon quota du jour.",gradient:"linear-gradient(to top, #9a7f7a, #c9a89d)"},{id:20,time:"23:45",text:"Je prends un livre sur ma table de nuit. Un vrai, en papier.",gradient:"linear-gradient(to top, #4a3f45, #9a7f7a)"},{id:21,time:"00:13",text:"J'me suis encore fait avoir, happé par ce bouquin.",gradient:"linear-gradient(to top, #0a0f1e, #1a2336)"}]}];function Nl(n){const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:{r:0,g:0,b:0}}function lw(n,i,o){return"#"+[n,i,o].map(a=>{const c=Math.round(a).toString(16);return c.length===1?"0"+c:c}).join("")}function Mp(n,i,o){const a=Nl(n),c=Nl(i),d=a.r+(c.r-a.r)*o,f=a.g+(c.g-a.g)*o,h=a.b+(c.b-a.b)*o;return lw(d,f,h)}function ul(n){const i=n.match(/#[a-fA-F0-9]{6}/g);return i&&i.length>=2?{top:i[0],bottom:i[1]}:{top:"#1E293B",bottom:"#0F172A"}}function Ap(n){const i=Nl(n);return(.2126*i.r+.7152*i.g+.0722*i.b)/255}function uw(){const[n,i]=b.useState(0),[o,a]=b.useState(0),[c,d]=b.useState(0),[f,h]=b.useState(0),[m,y]=b.useState(0),[g,x]=b.useState(new Set),[S,E]=b.useState(!1),j=b.useRef(null),D=b.useRef([]),N=b.useRef(0);b.useEffect(()=>{const fe=new URLSearchParams(window.location.search).get("episode");if(fe){const ye=parseInt(fe,10);ye>=1&&ye<=Ls.length&&i(ye-1)}},[]),b.useEffect(()=>{const ne=new URL(window.location.href);ne.searchParams.set("episode",(n+1).toString()),window.history.replaceState({},"",ne)},[n]);const L=Ls[n],z=L.sections,B=()=>{n<Ls.length-1&&(E(!0),setTimeout(()=>{i(ne=>ne+1),a(0),y(0),x(new Set),d(0),h(0),N.current=0,j.current&&j.current.scrollTo({top:0,behavior:"instant"}),setTimeout(()=>{E(!1)},50)},600))},Q=()=>{n>0&&(E(!0),setTimeout(()=>{i(ne=>ne-1),a(0),y(0),x(new Set),d(0),h(0),N.current=0,j.current&&j.current.scrollTo({top:0,behavior:"instant"}),setTimeout(()=>{E(!1)},50)},600))},G=b.useCallback((ne,fe)=>{const ye=`${ne}-${fe}`;x(me=>{if(!me.has(ye)){const te=new Set(me);return te.add(ye),y(I=>I+1),te}return me})},[]),re=b.useCallback(()=>{const ne=j.current;if(!ne)return;const fe=ne.scrollTop,ye=ne.clientHeight,me=ne.scrollHeight,te=fe/(me-ye),I=fe+ye/2;d(te);const q=D.current.length,U=te*(q-1);h(U);let T=0,R=1/0;D.current.forEach((se,oe)=>{if(!se)return;const ue=se.offsetTop,ce=se.offsetHeight,ve=ue+ce/2,pe=Math.abs(ve-I);pe<R&&(R=pe,T=oe)}
111),T!==N.current&&(N.current=T,a(T))},[]);b.useEffect(()=>{const ne=j.current;if(ne)return ne.addEventListener("scroll",re,{passive:!0}),re(),()=>{ne.removeEventListener("scroll",re)}},[re]);const J=(ne=>{var se;const fe=z.length,ye=Math.max(0,Math.min(ne,fe-1)),me=Math.floor(ye),te=Math.min(me+1,fe-1);if(!z[me]||!z[te])return console.warn("[GRADIENT] Invalid index:",me,te),((se=z[0])==null?void 0:se.gradient)||"linear-gradient(to top, #1E293B, #0F172A)";const I=ye-me,q=ul(z[me].gradient),U=ul(z[te].gradient),T=Mp(q.top,U.top,I),R=Mp(q.bottom,U.bottom,I);return`linear-gradient(to top, ${T}, ${R})`})(f),we=ul(J),xe=(Ap(we.top)+Ap(we.bottom))/2,He=()=>{const ne=D.current[0];ne&&j.current&&ne.scrollIntoView({behavior:"smooth",block:"center"})},Qe=ne=>{const fe=D.current[ne];fe&&j.current&&fe.scrollIntoView({behavior:"smooth",block:"center"})};return A.jsxs("div",{className:"size-full overflow-hidden",children:[A.jsx("div",{className:"fixed inset-0 z-50 pointer-events-none",style:{backgroundColor:"black",opacity:S?1:0,transition:"opacity 400ms ease-in-out"}}),A.jsxs("div",{ref:j,className:"overflow-y-auto overflow-x-hidden relative",style:{width:"100%",height:"100vh"},children:[A.jsx(nw,{progress:c}),A.jsx("div",{className:"fixed inset-0 -z-10 transition-colors duration-[2000ms] ease-in-out",style:{background:J}}),A.jsxs("div",{className:"fixed inset-0 -z-10 pointer-events-none overflow-hidden",children:[A.jsx("div",{className:"absolute top-[40vh] -left-[100px] w-[500px] h-[500px] rounded-full opacity-[0.25] blur-[140px] transition-colors duration-[2000ms]",style:{background:`radial-gradient(circle, ${L.accentColor}CC 0%, transparent 70%)`,animation:"floatSlow 20s ease-in-out infinite"}}),A.jsx("div",{className:"absolute top-[30%] -right-[150px] w-[600px] h-[600px] rounded-full opacity-[0.2] blur-[160px] transition-colors duration-[2000ms]",style:{background:`radial-gradient(circle, ${L.accentColor}AA 0%, transparent 70%)`,animation:"floatSlow 25s ease-in-out infinite reverse",animationDelay:"3s"}}),A.jsx("div",{className:"absolute bottom-[10%] left-[20%] w-[550px] h-[550px] rounded-full opacity-[0.18] blur-[150px] transition-colors duration-[2000ms]",style:{background:`radial-gradient(circle, ${L.accentColor}DD 0%, transparent 70%)`,animation:"floatSlow 22s ease-in-out infinite",animationDelay:"7s"}}),A.jsx("div",{className:"absolute top-[50vh] right-[15%] w-[450px] h-[450px] rounded-full opacity-[0.15] blur-[120px] transition-colors duration-[2000ms]",style:{background:`radial-gradient(circle, ${L.accentColor}99 0%, transparent 70%)`,animation:"floatSlow 18s ease-in-out infinite reverse",animationDelay:"5s"}}),A.jsx("div",{className:"absolute top-1/2 left-1/2 w-[700px] h-[700px] rounded-full opacity-[0.12] blur-[180px] -translate-x-1/2 -translate-y-1/2 transition-colors duration-[2000ms]",style:{background:`radial-gradient(circle, ${L.accentColor}BB 0%, transparent 70%)`,animation:"pulse 15s ease-in-out infinite"}}),A.jsx("div",{className:"absolute top-[50%] -left-[100px] w-[400px] h-[400px] rounded-full opacity-[0.16] blur-[130px] transition-colors duration-[2000ms]",style:{background:`radial-gradient(circle, ${L.accentColor}BB 0%, transparent 70%)`,animation:"floatSlow 28s ease-in-out infinite",animationDelay:"10s"}})]}),A.jsx("div",{className:"fixed inset-0 z-0 pointer-events-none overflow-hidden"}),A.jsx("style",{children:` 112 @keyframes floatSlow { 113 0%, 100% { 114 transform: translate(0, 0) scale(1); 115 } 116 25% { 117 transform: translate(40px, -50px) scale(1.05); 118 } 119 50% { 120 transform: translate(-30px, -30px) scale(0.95); 121 } 122 75% { 123 transform: translate(30px, 40px) scale(1.02); 124 } 125 } 126 127 @keyframes pulse { 128 0%, 100% { 129 opacity: 0.06; 130 transform: translate(-50%, -50%) scale(1); 131 } 132 50% { 133 opacity: 0.12; 134 transform: translate(-50%, -50%) scale(1.1); 135 } 136 } 137 `}),A.jsxs("div",{className:"relative z-10",children:[A.jsx(rw,{onStartClick:He,avgLuminance:xe,episodeNumber:L.id,episodeTitle:L.title,episodeDescription:L.description,accentColor:L.accentColor}),z.map((ne,fe)=>{const ye=fe===z.length-1;return A.jsx("div",{ref:me=>D.current[fe]=me,className:`min-h-[70vh] flex items-center justify-center md:px-16 px-[5vw] relative ${ye?"py-0":"py-8"}`,children:A.jsx(wy,{time:ne.time,text:ne.text,isActive:o===fe,index:fe,onHighlightComplete:G,episodeId:L.id})},ne.id)}),A.jsxs("div",{ref:ne=>D.current[z.length]=ne,className:"min-h-screen flex items-center justify-center md:px-16 px-[5vw] relative",children:[o===z.length&&A.jsx(aw,{}),A.jsx(ow,{score:m,isActive:o===z.length,onNextEpisode:B,onPreviousEpisode:Q,hasNextEpisode:n<Ls.length-1,episodeId:L.id,accentColor:L.accentColor})]})]}),A.jsx(Sy,{activeSection:o,totalSections:z.length+1,times:z.map(ne=>ne.time),avgLuminance:xe,onTimeClick:Qe,accentColor:L.accentColor}),A.jsx(iw,{avgLuminance:xe,scrollProgress:c}),A.jsx(sw,{avgLuminance:xe,score:m,episodeId:L.id})]})]})}const Dp=document.getElementById("root");Dp?vy.createRoot(Dp).render(A.jsx(uw,{})):console.error("Root element not found");
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.