vendor: 6,111 bytes, lines 1-9
1var Ff=e=>{throw TypeError(e)};var xl=(e,t,n)=>t.has(e)||Ff("Cannot "+n);var A=(e,t,n)=>(xl(e,t,"read from private field"),n?n.call(e):t.get(e)),Z=(e,t,n)=>t.has(e)?Ff("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(xl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ne=(e,t,n)=>(xl(e,t,"access private method"),n);var ss=(e,t,n,r)=>({set _(i){G(e,t,i,n)},get _(){return A(e,t,r)}});function Ew(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Xm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qm={exports:{}},La={},Zm={exports:{}},Y={};/** 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 Ho=Symbol.for("react.element"),Pw=Symbol.for("react.portal"),kw=Symbol.for("react.fragment"),Aw=Symbol.for("react.strict_mode"),Rw=Symbol.for("react.profiler"),Mw=Symbol.for("react.provider"),Nw=Symbol.for("react.context"),jw=Symbol.for("react.forward_ref"),Dw=Symbol.for("react.suspense"),Ow=Symbol.for("react.memo"),Lw=Symbol.for("react.lazy"),zf=Symbol.iterator;function _w(e){return e===null||typeof e!="object"?null:(e=zf&&e[zf]||e["@@iterator"],typeof e=="function"?e:null)}var Jm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},eg=Object.assign,tg={};function Pi(e,t,n){this.props=e,this.context=t,this.refs=tg,this.updater=n||Jm}Pi.prototype.isReactComponent={};Pi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Pi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ng(){}ng.prototype=Pi.prototype;function Uc(e,t,n){this.props=e,this.context=t,this.refs=tg,this.updater=n||Jm}var Wc=Uc.prototype=new ng;Wc.constructor=Uc;eg(Wc,Pi.prototype);Wc.isPureReactComponent=!0;var Bf=Array.isArray,rg=Object.prototype.hasOwnProperty,Hc={current:null},ig={key:!0,ref:!0,__self:!0,__source:!0};function og(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)rg.call(t,r)&&!ig.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Ho,type:e,key:o,ref:s,props:i,_owner:Hc.current}}function Iw(e,t){return{$$typeof:Ho,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Kc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ho}function Vw(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var $f=/\/+/g;function wl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Vw(""+e.key):t.toString(36)}function Ds(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Ho:case Pw:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+wl(s,0):r,Bf(i)?(n="",e!=null&&(n=e.replace($f,"$&/")+"/"),Ds(i,t,n,"",function(u){return u})):i!=null&&(Kc(i)&&(i=Iw(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace($f,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Bf(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+wl(o,a);s+=Ds(o,t,n,l,i)}else if(l=_w(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+wl(o,a++),s+=Ds(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function as(e,t,n){if(e==null)return e;var r=[],i=0;return Ds(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Fw(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ue={current:null},Os={transition:null},zw={ReactCurrentDispatcher:Ue,ReactCurrentBatchConfig:Os,ReactCurrentOwner:Hc};function sg(){throw Error("act(...) is not supported in production builds of React.")}Y.Children={map:as,forEach:function(e,t,n){as(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return as(e,function(){t++}),t},toArray:function(e){return as(e,function(t){return t})||[]},only:function(e){if(!Kc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Y.Component=Pi;Y.Fragment=kw;Y.Profiler=Rw;Y.PureComponent=Uc;Y.StrictMode=Aw;Y.Suspense=Dw;
vendor: 6,986 bytes, lines 9-25
9Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zw;Y.act=sg;Y.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=eg({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Hc.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)rg.call(t,l)&&!ig.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Ho,type:e.type,key:i,ref:o,props:r,_owner:s}};Y.createContext=function(e){return e={$$typeof:Nw,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Mw,_context:e},e.Consumer=e};Y.createElement=og;Y.createFactory=function(e){var t=og.bind(null,e);return t.type=e,t};Y.createRef=function(){return{current:null}};Y.forwardRef=function(e){return{$$typeof:jw,render:e}};Y.isValidElement=Kc;Y.lazy=function(e){return{$$typeof:Lw,_payload:{_status:-1,_result:e},_init:Fw}};Y.memo=function(e,t){return{$$typeof:Ow,type:e,compare:t===void 0?null:t}};Y.startTransition=function(e){var t=Os.transition;Os.transition={};try{e()}finally{Os.transition=t}};Y.unstable_act=sg;Y.useCallback=function(e,t){return Ue.current.useCallback(e,t)};Y.useContext=function(e){return Ue.current.useContext(e)};Y.useDebugValue=function(){};Y.useDeferredValue=function(e){return Ue.current.useDeferredValue(e)};Y.useEffect=function(e,t){return Ue.current.useEffect(e,t)};Y.useId=function(){return Ue.current.useId()};Y.useImperativeHandle=function(e,t,n){return Ue.current.useImperativeHandle(e,t,n)};Y.useInsertionEffect=function(e,t){return Ue.current.useInsertionEffect(e,t)};Y.useLayoutEffect=function(e,t){return Ue.current.useLayoutEffect(e,t)};Y.useMemo=function(e,t){return Ue.current.useMemo(e,t)};Y.useReducer=function(e,t,n){return Ue.current.useReducer(e,t,n)};Y.useRef=function(e){return Ue.current.useRef(e)};Y.useState=function(e){return Ue.current.useState(e)};Y.useSyncExternalStore=function(e,t,n){return Ue.current.useSyncExternalStore(e,t,n)};Y.useTransition=function(){return Ue.current.useTransition()};Y.version="18.3.1";Zm.exports=Y;var w=Zm.exports;const j=Xm(w),Bw=Ew({__proto__:null,default:j},[w]);/** 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 $w=w,Uw=Symbol.for("react.element"),Ww=Symbol.for("react.fragment"),Hw=Object.prototype.hasOwnProperty,Kw=$w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Gw={key:!0,ref:!0,__self:!0,__source:!0};function ag(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Hw.call(t,r)&&!Gw.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Uw,type:e,key:o,ref:s,props:i,_owner:Kw.current}}La.Fragment=Ww;La.jsx=ag;La.jsxs=ag;qm.exports=La;var C=qm.exports,lg={exports:{}},lt={},ug={exports:{}},cg={};/** 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 */(function(e){function t(P,M){var V=P.length;P.push(M);e:for(;0<V;){var _=V-1>>>1,B=P[_];if(0<i(B,M))P[_]=M,P[V]=B,V=_;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var M=P[0],V=P.pop();if(V!==M){P[0]=V;e:for(var _=0,B=P.length,X=B>>>1;_<X;){var le=2*(_+1)-1,Je=P[le],J=le+1,wt=P[J];if(0>i(Je,V))J<B&&0>i(wt,Je)?(P[_]=wt,P[J]=V,_=J):(P[_]=Je,P[le]=V,_=le);else if(J<B&&0>i(wt,V))P[_]=wt,P[J]=V,_=J;else break e}}return M}function i(P,M){var V=P.sortIndex-M.sortIndex;return V!==0?V:P.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,f=null,d=3,h=!1,v=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(P){for(var M=n(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=P)r(u),M.sortIndex=M.expirationTime,t(l,M);else break;M=n(u)}}function S(P){if(g=!1,y(P),!v)if(n(l)!==null)v=!0,$(T);else{var M=n(u);M!==null&&z(S,M.startTime-P)}}function T(P,M){v=!1,g&&(g=!1,p(E),E=-1),h=!0;var V=d;try{for(y(M),f=n(l);f!==null&&(!(f.expirationTime>M)||P&&!F());){var _=f.callback;if(typeof _=="function"){f.callback=null,d=f.priorityLevel;var B=_(f.expirationTime<=M);M=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(l)&&r(l),y(M)}else r(l);f=n(l)}if(f!==null)var X=!0;else{var le=n(u);le!==null&&z(S,le.startTime-M),X=!1}return X}finally{f=null,d=V,h=!1}}var b=!1,k=null,E=-1,D=5,N=-1;function F(){return!(e.unstable_now()-N<D)}function I(){if(k!==null){var P=e.unstable_now();N=P;var M=!0;try{M=k(!0,P)}finally{M?W():(b=!1,k=null)}}else b=!1}var W;if(typeof m=="function")W=function(){m(I)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,Q=O.port2;O.port1.onmessage=I,W=function(){Q.postMessage(null)}}else W=function(){x(I,0)};function $(P){k=P,b||(b=!0,W())}function z(P,M){E=x(function(){P(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,$(T))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(d){case 1:case 2:case 3:var M=3;break;default:M=d}var V=d;d=M;try{return P()}finally{d=V}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,M){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var V=d;d=P;try{return M()}finally{d=V}},e.unstable_scheduleCallback=function(P,M,V){var _=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?_+V:_):V=_,P){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}
vendor: 4,614 bytes, lines 25-33
25return B=V+B,P={id:c++,callback:M,priorityLevel:P,startTime:V,expirationTime:B,sortIndex:-1},V>_?(P.sortIndex=V,t(u,P),n(l)===null&&P===n(u)&&(g?(p(E),E=-1):g=!0,z(S,V-_))):(P.sortIndex=B,t(l,P),v||h||(v=!0,$(T))),P},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(P){var M=d;return function(){var V=d;d=M;try{return P.apply(this,arguments)}finally{d=V}}}})(cg);ug.exports=cg;var Qw=ug.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 Yw=w,at=Qw;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 dg=new Set,po={};function kr(e,t){mi(e,t),mi(e+"Capture",t)}function mi(e,t){for(po[e]=t,e=0;e<t.length;e++)dg.add(t[e])}var rn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hu=Object.prototype.hasOwnProperty,Xw=/^[: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]*$/,Uf={},Wf={};function qw(e){return hu.call(Wf,e)?!0:hu.call(Uf,e)?!1:Xw.test(e)?Wf[e]=!0:(Uf[e]=!0,!1)}function Zw(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Jw(e,t,n,r){if(t===null||typeof t>"u"||Zw(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 We(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Me[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new We(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){Me[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gc=/[\-:]([a-z])/g;function Qc(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
33-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(Gc,Qc);Me[t]=new We(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(Gc,Qc);Me[t]=new We(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(Gc,Qc);Me[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function Yc(e,t,n,r){var i=Me.hasOwnProperty(t)?Me[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Jw(t,n,i,r)&&(n=null),r||i===null?qw(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var fn=Yw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ls=Symbol.for("react.element"),Or=Symbol.for("react.portal"),Lr=Symbol.for("react.fragment"),Xc=Symbol.for("react.strict_mode"),pu=Symbol.for("react.profiler"),fg=Symbol.for("react.provider"),hg=Symbol.for("react.context"),qc=Symbol.for("react.forward_ref"),mu=Symbol.for("react.suspense"),gu=Symbol.for("react.suspense_list"),Zc=Symbol.for("react.memo"),bn=Symbol.for("react.lazy"),pg=Symbol.for("react.offscreen"),Hf=Symbol.iterator;function _i(e){return e===null||typeof e!="object"?null:(e=Hf&&e[Hf]||e["@@iterator"],typeof e=="function"?e:null)}var he=Object.assign,Sl;function Gi(e){if(Sl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Sl=t&&t[1]||""}return` 34`+Sl+e}var Cl=!1;function Tl(e,t){if(!e||Cl)return"";Cl=!0;var n=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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 35`),o=r.stack.split(` 36`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=` 37`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Cl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Gi(e):""}function e1(e){switch(e.tag){case 5:return Gi(e.type);case 16:return Gi("Lazy");case 13:return Gi("Suspense");case 19:return Gi("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function yu(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 Lr:return"Fragment";case Or:return"Portal";case pu:return"Profiler";case Xc:return"StrictMode";case mu:return"Suspense";case gu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hg:return(e.displayName||"Context")+".Consumer";case fg:return(e._context.displayName||"Context")+".Provider";case qc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zc:return t=e.displayName||null,t!==null?t:yu(e.type)||"Memo";case bn:t=e._payload,e=e._init;try{return yu(e(t))}catch{}}return null}function t1(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 yu(t);case 8:return t===Xc?"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 Wn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function n1(e){var t=mg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function us(e){e._valueTracker||(e._valueTracker=n1(e))}function gg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zs(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 vu(e,t){var n=t.checked;return he({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Kf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Wn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yg(e,t){t=t.checked,t!=null&&Yc(e,"checked",t,!1)}
vendor: 4,592 bytes, line 37
37function xu(e,t){yg(e,t);var n=Wn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wu(e,t.type,n):t.hasOwnProperty("defaultValue")&&wu(e,t.type,Wn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Gf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function wu(e,t,n){(t!=="number"||Zs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qi=Array.isArray;function qr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Wn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Su(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return he({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Qf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(Qi(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Wn(n)}}function vg(e,t){var n=Wn(t.value),r=Wn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Yf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function xg(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 Cu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?xg(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var cs,wg=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(cs=cs||document.createElement("div"),cs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=cs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function mo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zi={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},r1=["Webkit","ms","Moz","O"];Object.keys(Zi).forEach(function(e){r1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zi[t]=Zi[e]})});function Sg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Zi.hasOwnProperty(e)&&Zi[e]?(""+t).trim():t+"px"}function Cg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Sg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var i1=he({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 Tu(e,t){if(t){if(i1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function bu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 Eu=null;function Jc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pu=null,Zr=null,Jr=null;function Xf(e){if(e=Qo(e)){if(typeof Pu!="function")throw Error(R(280));var t=e.stateNode;t&&(t=za(t),Pu(e.stateNode,e.type,t))}}function Tg(e){Zr?Jr?Jr.push(e):Jr=[e]:Zr=e}function bg(){if(Zr){var e=Zr,t=Jr;if(Jr=Zr=null,Xf(e),t)for(e=0;e<t.length;e++)Xf(t[e])}}function Eg(e,t){return e(t)}function Pg(){}var bl=!1;function kg(e,t,n){if(bl)return e(t,n);bl=!0;try{return Eg(e,t,n)}finally{bl=!1,(Zr!==null||Jr!==null)&&(Pg(),bg())}}function go(e,t){var n=e.stateNode;if(n===null)return null;var r=za(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(R(231,t,typeof n));return n}var ku=!1;if(rn)try{var Ii={};Object.defineProperty(Ii,"passive",{get:function(){ku=!0}}),window.addEventListener("test",Ii,Ii),window.removeEventListener("test",Ii,Ii)}catch{ku=!1}function o1(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ji=!1,Js=null,ea=!1,Au=null,s1={onError:function(e){Ji=!0,Js=e}};function a1(e,t,n,r,i,o,s,a,l){Ji=!1,Js=null,o1.apply(s1,arguments)}function l1(e,t,n,r,i,o,s,a,l){if(a1.apply(this,arguments),Ji){if(Ji){var u=Js;Ji=!1,Js=null}else throw Error(R(198));ea||(ea=!0,Au=u)}}function Ar(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ag(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 qf(e){if(Ar(e)!==e)throw Error(R(188))}function u1(e){var t=e.alternate;if(!t){if(t=Ar(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return qf(i),e;if(o===r)return qf(i),t;o=o.sibling}throw Error(R(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function Rg(e){return e=u1(e),e!==null?Mg(e):null}function Mg(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Mg(e);if(t!==null)return t;e=e.sibling}return null}var Ng=at.unstable_scheduleCallback,Zf=at.unstable_cancelCallback,c1=at.unstable_shouldYield,d1=at.unstable_requestPaint,ve=at.unstable_now,f1=at.unstable_getCurrentPriorityLevel,ed=at.unstable_ImmediatePriority,jg=at.unstable_UserBlockingPriority,ta=at.unstable_NormalPriority,h1=at.unstable_LowPriority,Dg=at.unstable_IdlePriority,_a=null,$t=null;function p1(e){if($t&&typeof $t.onCommitFiberRoot=="function")try{$t.onCommitFiberRoot(_a,e,void 0,(e.current.flags&128)===128)}catch{}}var At=Math.clz32?Math.clz32:y1,m1=Math.log,g1=Math.LN2;function y1(e){return e>>>=0,e===0?32:31-(m1(e)/g1|0)|0}var ds=64,fs=4194304;function Yi(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 na(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Yi(a):(o&=s,o!==0&&(r=Yi(o)))}else s=n&~i,s!==0?r=Yi(s):o!==0&&(r=Yi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-At(t),i=1<<n,r|=e[n],t&=~i;return r}function v1(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 x1(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-At(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=v1(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Ru(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Og(){var e=ds;return ds<<=1,!(ds&4194240)&&(ds=64),e}function El(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ko(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-At(t),e[t]=n}function w1(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-At(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function td(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-At(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ee=0;function Lg(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var _g,nd,Ig,Vg,Fg,Mu=!1,hs=[],_n=null,In=null,Vn=null,yo=new Map,vo=new Map,Pn=[],S1="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 Jf(e,t){switch(e){case"focusin":case"focusout":_n=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":Vn=null;break;case"pointerover":case"pointerout":yo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vo.delete(t.pointerId)}}function Vi(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Qo(t),t!==null&&nd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function C1(e,t,n,r,i){switch(t){case"focusin":return _n=Vi(_n,e,t,n,r,i),!0;case"dragenter":return In=Vi(In,e,t,n,r,i),!0;case"mouseover":return Vn=Vi(Vn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return yo.set(o,Vi(yo.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,vo.set(o,Vi(vo.get(o)||null,e,t,n,r,i)),!0}return!1}function zg(e){var t=ar(e.target);if(t!==null){var n=Ar(t);if(n!==null){if(t=n.tag,t===13){if(t=Ag(n),t!==null){e.blockedOn=t,Fg(e.priority,function(){Ig(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ls(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Nu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Eu=r,n.target.dispatchEvent(r),Eu=null}else return t=Qo(n),t!==null&&nd(t),e.blockedOn=n,!1;t.shift()}return!0}function eh(e,t,n){Ls(e)&&n.delete(t)}function T1(){Mu=!1,_n!==null&&Ls(_n)&&(_n=null),In!==null&&Ls(In)&&(In=null),Vn!==null&&Ls(Vn)&&(Vn=null),yo.forEac
vendor: 11,841 bytes, line 37
37h(eh),vo.forEach(eh)}function Fi(e,t){e.blockedOn===t&&(e.blockedOn=null,Mu||(Mu=!0,at.unstable_scheduleCallback(at.unstable_NormalPriority,T1)))}function xo(e){function t(i){return Fi(i,e)}if(0<hs.length){Fi(hs[0],e);for(var n=1;n<hs.length;n++){var r=hs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(_n!==null&&Fi(_n,e),In!==null&&Fi(In,e),Vn!==null&&Fi(Vn,e),yo.forEach(t),vo.forEach(t),n=0;n<Pn.length;n++)r=Pn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Pn.length&&(n=Pn[0],n.blockedOn===null);)zg(n),n.blockedOn===null&&Pn.shift()}var ei=fn.ReactCurrentBatchConfig,ra=!0;function b1(e,t,n,r){var i=ee,o=ei.transition;ei.transition=null;try{ee=1,rd(e,t,n,r)}finally{ee=i,ei.transition=o}}function E1(e,t,n,r){var i=ee,o=ei.transition;ei.transition=null;try{ee=4,rd(e,t,n,r)}finally{ee=i,ei.transition=o}}function rd(e,t,n,r){if(ra){var i=Nu(e,t,n,r);if(i===null)Ll(e,t,r,ia,n),Jf(e,r);else if(C1(i,e,t,n,r))r.stopPropagation();else if(Jf(e,r),t&4&&-1<S1.indexOf(e)){for(;i!==null;){var o=Qo(i);if(o!==null&&_g(o),o=Nu(e,t,n,r),o===null&&Ll(e,t,r,ia,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Ll(e,t,r,null,n)}}var ia=null;function Nu(e,t,n,r){if(ia=null,e=Jc(r),e=ar(e),e!==null)if(t=Ar(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ag(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ia=e,null}function Bg(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(f1()){case ed:return 1;case jg:return 4;case ta:case h1:return 16;case Dg:return 536870912;default:return 16}default:return 16}}var Dn=null,id=null,_s=null;function $g(){if(_s)return _s;var e,t=id,n=t.length,r,i="value"in Dn?Dn.value:Dn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return _s=i.slice(e,1<r?1-r:void 0)}function Is(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 ps(){return!0}function th(){return!1}function ut(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ps:th,this.isPropagationStopped=th,this}return he(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ps)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),t}var ki={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},od=ut(ki),Go=he({},ki,{view:0,detail:0}),P1=ut(Go),Pl,kl,zi,Ia=he({},Go,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sd,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!==zi&&(zi&&e.type==="mousemove"?(Pl=e.screenX-zi.screenX,kl=e.screenY-zi.screenY):kl=Pl=0,zi=e),Pl)},movementY:function(e){return"movementY"in e?e.movementY:kl}}),nh=ut(Ia),k1=he({},Ia,{dataTransfer:0}),A1=ut(k1),R1=he({},Go,{relatedTarget:0}),Al=ut(R1),M1=he({},ki,{animationName:0,elapsedTime:0,pseudoElement:0}),N1=ut(M1),j1=he({},ki,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),D1=ut(j1),O1=he({},ki,{data:0}),rh=ut(O1),L1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_1={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"},I1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function V1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=I1[e])?!!t[e]:!1}function sd(){return V1}var F1=he({},Go,{key:function(e){if(e.key){var t=L1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Is(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?_1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sd,charCode:function(e){return e.type==="keypress"?Is(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Is(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),z1=ut(F1),B1=he({},Ia,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ih=ut(B1),$1=he({},Go,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sd}),U1=ut($1),W1=he({},ki,{propertyName:0,elapsedTime:0,pseudoElement:0}),H1=ut(W1),K1=he({},Ia,{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}),G1=ut(K1),Q1=[9,13,27,32],ad=rn&&"CompositionEvent"in window,eo=null;rn&&"documentMode"in document&&(eo=document.documentMode);var Y1=rn&&"TextEvent"in window&&!eo,Ug=rn&&(!ad||eo&&8<eo&&11>=eo),oh=" ",sh=!1;function Wg(e,t){switch(e){case"keyup":return Q1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _r=!1;function X1(e,t){switch(e){case"compositionend":return Hg(t);case"keypress":return t.which!==32?null:(sh=!0,oh);case"textInput":return e=t.data,e===oh&&sh?null:e;default:return null}}function q1(e,t){if(_r)return e==="compositionend"||!ad&&Wg(e,t)?(e=$g(),_s=id=Dn=null,_r=!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 Ug&&t.locale!=="ko"?null:t.data;default:return null}}var Z1={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 ah(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Z1[e.type]:t==="textarea"}function Kg(e,t,n,r){Tg(r),t=oa(t,"onChange"),0<t.length&&(n=new od("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var to=null,wo=null;function J1(e){ry(e,0)}function Va(e){var t=Fr(e);if(gg(t))return e}function eS(e,t){if(e==="change")return t}var Gg=!1;if(rn){var Rl;if(rn){var Ml="oninput"in document;if(!Ml){var lh=document.createElement("div");lh.setAttribute("oninput","return;"),Ml=typeof lh.oninput=="function"}Rl=Ml}else Rl=!1;Gg=Rl&&(!document.documentMode||9<document.documentMode)}function uh(){to&&(to.detachEvent("onpropertychange",Qg),wo=to=null)}function Qg(e){if(e.propertyName==="value"&&Va(wo)){var t=[];Kg(t,wo,e,Jc(e)),kg(J1,t)}}function tS(e,t,n){e==="focusin"?(uh(),to=t,wo=n,to.attachEvent("onpropertychange",Qg)):e==="focusout"&&uh()}function nS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Va(wo)}function rS(e,t){if(e==="click")return Va(t)}function iS(e,t){if(e==="input"||e==="change")return Va(t)}function oS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mt=typeof Object.is=="function"?Object.is:oS;function So(e,t){if(Mt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!hu.call(t,i)||!Mt(e[i],t[i]))return!1}return!0}function ch(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dh(e,t){var n=ch(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ch(n)}}function Yg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xg(){for(var e=window,t=Zs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zs(e.document)}return t}function ld(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 sS(e){var t=Xg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yg(n.ownerDocument.documentElement,n)){if(r!==null&&ld(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=dh(n,o);var s=dh(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var aS=rn&&"documentMode"in document&&11>=document.documentMode,Ir=null,ju=null,no=null,Du=!1;function fh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Du||Ir==null||Ir!==Zs(r)||(r=Ir,"selectionStart"in r&&ld(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),no&&So(no,r)||(no=r,r=oa(ju,"onSelect"),0<r.length&&(t=new od("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ir)))}function ms(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Vr={animationend:ms("Animation","AnimationEnd"),animationiteration:ms("Animation","AnimationIteration"),animationstart:ms("Animation","AnimationStart"),transitionend:ms("Transition","TransitionEnd")},Nl={},qg={};rn&&(qg=document.createElement("div").style,"AnimationEvent"in window||(delete Vr.animationend.animation,delete Vr.animationiteration.animation,delete Vr.animationstart.animation),"TransitionEvent"in window||delete Vr.transitionend.transition);function Fa(e){if(Nl[e])return Nl[e];if(!Vr[e])return e;var t=Vr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qg)return Nl[e]=t[n];return e}var Zg=Fa("animationend"),Jg=Fa("animationiteration"),ey=Fa("animationstart"),ty=Fa("transitionend"),ny=new Map,hh="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 Zn(e,t){ny.set(e,t),kr(t,[e])}for(var jl=0;jl<hh.length;jl++){var Dl=hh[jl],lS=Dl.toLowerCase(),uS=Dl[0].toUpperCase()+Dl.slice(1);Zn(lS,"on"+uS)}Zn(Zg,"onAnimationEnd");Zn(Jg,"onAnimationIteration");Zn(ey,"onAnimationStart");Zn("dblclick","onDoubleClick");Zn("focusin","onFocus");Zn("focusout","onBlur");Zn(ty,"onTransitionEnd");mi("onMouseEnter",["mouseout","mouseover"]);mi("onMouseLeave",["mouseout","mouseover"]);mi("onPointerEnter",["pointerout","pointerover"]);mi("onPointerLeave",["pointerout","pointerover"]);kr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));kr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));kr("onBeforeInput",["compositionend","keypress","textInput","paste"]);kr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));kr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));kr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xi="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(" "),cS=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xi));function ph(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,l1(r,t,void 0,e),e.currentTarget=null}function ry(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;ph(i,a,u),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;ph(i,a,u),o=l}}}if(ea)throw e=Au,ea=!1,Au=null,e}function oe(e,t){var n=t[Vu];n===void 0&&(n=t[Vu]=new Set);var r=e+"__bubble";n.has(r)||(iy(t,e,2,!1),n.add(r))}function Ol(e,t,n){var r=0;t&&(r|=4),iy(n,e,r,t)}var gs="_reactListening"+Math.random().toString(36).slice(2);function Co(e){if(!e[gs]){e[gs]=!0,dg.forEach(function(n){n!=="selectionchange"&&(cS.has(n)||Ol(n,!1,e),Ol(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[gs]||(t[gs]=!0,Ol("selectionchange",!1,t))}}function iy(e,t,n,r){switch(Bg(t)){case 1:var i=b1;break;case 4:i=E1;break;default:i=rd}n=i.bind(null,t,n,e),i=void 0,!ku||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ll(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 2,527 bytes, line 37
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=ar(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}kg(function(){var u=o,c=Jc(n),f=[];e:{var d=ny.get(e);if(d!==void 0){var h=od,v=e;switch(e){case"keypress":if(Is(n)===0)break e;case"keydown":case"keyup":h=z1;break;case"focusin":v="focus",h=Al;break;case"focusout":v="blur",h=Al;break;case"beforeblur":case"afterblur":h=Al;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=nh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=A1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=U1;break;case Zg:case Jg:case ey:h=N1;break;case ty:h=H1;break;case"scroll":h=P1;break;case"wheel":h=G1;break;case"copy":case"cut":case"paste":h=D1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=ih}var g=(t&4)!==0,x=!g&&e==="scroll",p=g?d!==null?d+"Capture":null:d;g=[];for(var m=u,y;m!==null;){y=m;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,p!==null&&(S=go(m,p),S!=null&&g.push(To(m,S,y)))),x)break;m=m.return}0<g.length&&(d=new h(d,v,null,n,c),f.push({event:d,listeners:g}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",d&&n!==Eu&&(v=n.relatedTarget||n.fromElement)&&(ar(v)||v[on]))break e;if((h||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=u,v=v?ar(v):null,v!==null&&(x=Ar(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(g=nh,S="onMouseLeave",p="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(g=ih,S="onPointerLeave",p="onPointerEnter",m="pointer"),x=h==null?d:Fr(h),y=v==null?d:Fr(v),d=new g(S,m+"leave",h,n,c),d.target=x,d.relatedTarget=y,S=null,ar(c)===u&&(g=new g(p,m+"enter",v,n,c),g.target=y,g.relatedTarget=x,S=g),x=S,h&&v)t:{for(g=h,p=v,m=0,y=g;y;y=Dr(y))m++;for(y=0,S=p;S;S=Dr(S))y++;for(;0<m-y;)g=Dr(g),m--;for(;0<y-m;)p=Dr(p),y--;for(;m--;){if(g===p||p!==null&&g===p.alternate)break t;g=Dr(g),p=Dr(p)}g=null}else g=null;h!==null&&mh(f,d,h,g,!1),v!==null&&x!==null&&mh(f,x,v,g,!0)}}
vendor: 5,469 bytes, lines 37-38
37e:{if(d=u?Fr(u):window,h=d.nodeName&&d.nodeName.toLowerCase(),h==="select"||h==="input"&&d.type==="file")var T=eS;else if(ah(d))if(Gg)T=iS;else{T=nS;var b=tS}else(h=d.nodeName)&&h.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(T=rS);if(T&&(T=T(e,u))){Kg(f,T,n,c);break e}b&&b(e,d,u),e==="focusout"&&(b=d._wrapperState)&&b.controlled&&d.type==="number"&&wu(d,"number",d.value)}switch(b=u?Fr(u):window,e){case"focusin":(ah(b)||b.contentEditable==="true")&&(Ir=b,ju=u,no=null);break;case"focusout":no=ju=Ir=null;break;case"mousedown":Du=!0;break;case"contextmenu":case"mouseup":case"dragend":Du=!1,fh(f,n,c);break;case"selectionchange":if(aS)break;case"keydown":case"keyup":fh(f,n,c)}var k;if(ad)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else _r?Wg(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(Ug&&n.locale!=="ko"&&(_r||E!=="onCompositionStart"?E==="onCompositionEnd"&&_r&&(k=$g()):(Dn=c,id="value"in Dn?Dn.value:Dn.textContent,_r=!0)),b=oa(u,E),0<b.length&&(E=new rh(E,e,null,n,c),f.push({event:E,listeners:b}),k?E.data=k:(k=Hg(n),k!==null&&(E.data=k)))),(k=Y1?X1(e,n):q1(e,n))&&(u=oa(u,"onBeforeInput"),0<u.length&&(c=new rh("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=k))}ry(f,t)})}function To(e,t,n){return{instance:e,listener:t,currentTarget:n}}function oa(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=go(e,n),o!=null&&r.unshift(To(e,o,i)),o=go(e,t),o!=null&&r.push(To(e,o,i))),e=e.return}return r}function Dr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mh(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=go(n,o),l!=null&&s.unshift(To(n,l,a))):i||(l=go(n,o),l!=null&&s.push(To(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var dS=/\r\n?/g,fS=/\u0000|\uFFFD/g;function gh(e){return(typeof e=="string"?e:""+e).replace(dS,` 38`).replace(fS,"")}function ys(e,t,n){if(t=gh(t),gh(e)!==t&&n)throw Error(R(425))}function sa(){}var Ou=null,Lu=null;function _u(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 Iu=typeof setTimeout=="function"?setTimeout:void 0,hS=typeof clearTimeout=="function"?clearTimeout:void 0,yh=typeof Promise=="function"?Promise:void 0,pS=typeof queueMicrotask=="function"?queueMicrotask:typeof yh<"u"?function(e){return yh.resolve(null).then(e).catch(mS)}:Iu;function mS(e){setTimeout(function(){throw e})}function _l(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),xo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);xo(t)}function Fn(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 vh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ai=Math.random().toString(36).slice(2),Bt="__reactFiber$"+Ai,bo="__reactProps$"+Ai,on="__reactContainer$"+Ai,Vu="__reactEvents$"+Ai,gS="__reactListeners$"+Ai,yS="__reactHandles$"+Ai;function ar(e){var t=e[Bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[on]||n[Bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vh(e);e!==null;){if(n=e[Bt])return n;e=vh(e)}return t}e=n,n=e.parentNode}return null}function Qo(e){return e=e[Bt]||e[on],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Fr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function za(e){return e[bo]||null}var Fu=[],zr=-1;function Jn(e){return{current:e}}function se(e){0>zr||(e.current=Fu[zr],Fu[zr]=null,zr--)}function ne(e,t){zr++,Fu[zr]=e.current,e.current=t}var Hn={},Ie=Jn(Hn),Qe=Jn(!1),wr=Hn;function gi(e,t){var n=e.type.contextTypes;if(!n)return Hn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ye(e){return e=e.childContextTypes,e!=null}function aa(){se(Qe),se(Ie)}function xh(e,t,n){if(Ie.current!==Hn)throw Error(R(168));ne(Ie,t),ne(Qe,n)}function oy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(R(108,t1(e)||"Unknown",i));return he({},n,r)}function la(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Hn,wr=Ie.current,ne(Ie,e),ne(Qe,Qe.current),!0}function wh(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=oy(e,t,wr),r.__reactInternalMemoizedMergedChildContext=e,se(Qe),se(Ie),ne(Ie,e)):se(Qe),ne(Qe,n)}var Jt=null,Ba=!1,Il=!1;function sy(e){Jt===null?Jt=[e]:Jt.push(e)}function vS(e){Ba=!0,sy(e)}function er(){if(!Il&&Jt!==null){Il=!0;var e=0,t=ee;try{var n=Jt;for(ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}
vendor: 12,044 bytes, line 38
38Jt=null,Ba=!1}catch(i){throw Jt!==null&&(Jt=Jt.slice(e+1)),Ng(ed,er),i}finally{ee=t,Il=!1}}return null}var Br=[],$r=0,ua=null,ca=0,ht=[],pt=0,Sr=null,en=1,tn="";function ir(e,t){Br[$r++]=ca,Br[$r++]=ua,ua=e,ca=t}function ay(e,t,n){ht[pt++]=en,ht[pt++]=tn,ht[pt++]=Sr,Sr=e;var r=en;e=tn;var i=32-At(r)-1;r&=~(1<<i),n+=1;var o=32-At(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,en=1<<32-At(t)+i|n<<i|r,tn=o+e}else en=1<<o|n<<i|r,tn=e}function ud(e){e.return!==null&&(ir(e,1),ay(e,1,0))}function cd(e){for(;e===ua;)ua=Br[--$r],Br[$r]=null,ca=Br[--$r],Br[$r]=null;for(;e===Sr;)Sr=ht[--pt],ht[pt]=null,tn=ht[--pt],ht[pt]=null,en=ht[--pt],ht[pt]=null}var ot=null,it=null,ae=!1,kt=null;function ly(e,t){var n=mt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Sh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,it=Fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,it=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Sr!==null?{id:en,overflow:tn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=mt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,it=null,!0):!1;default:return!1}}function zu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Bu(e){if(ae){var t=it;if(t){var n=t;if(!Sh(e,t)){if(zu(e))throw Error(R(418));t=Fn(n.nextSibling);var r=ot;t&&Sh(e,t)?ly(r,n):(e.flags=e.flags&-4097|2,ae=!1,ot=e)}}else{if(zu(e))throw Error(R(418));e.flags=e.flags&-4097|2,ae=!1,ot=e}}}function Ch(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function vs(e){if(e!==ot)return!1;if(!ae)return Ch(e),ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!_u(e.type,e.memoizedProps)),t&&(t=it)){if(zu(e))throw uy(),Error(R(418));for(;t;)ly(e,t),t=Fn(t.nextSibling)}if(Ch(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){it=Fn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}it=null}}else it=ot?Fn(e.stateNode.nextSibling):null;return!0}function uy(){for(var e=it;e;)e=Fn(e.nextSibling)}function yi(){it=ot=null,ae=!1}function dd(e){kt===null?kt=[e]:kt.push(e)}var xS=fn.ReactCurrentBatchConfig;function Bi(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function xs(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Th(e){var t=e._init;return t(e._payload)}function cy(e){function t(p,m){if(e){var y=p.deletions;y===null?(p.deletions=[m],p.flags|=16):y.push(m)}}function n(p,m){if(!e)return null;for(;m!==null;)t(p,m),m=m.sibling;return null}function r(p,m){for(p=new Map;m!==null;)m.key!==null?p.set(m.key,m):p.set(m.index,m),m=m.sibling;return p}function i(p,m){return p=Un(p,m),p.index=0,p.sibling=null,p}function o(p,m,y){return p.index=y,e?(y=p.alternate,y!==null?(y=y.index,y<m?(p.flags|=2,m):y):(p.flags|=2,m)):(p.flags|=1048576,m)}function s(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,m,y,S){return m===null||m.tag!==6?(m=Wl(y,p.mode,S),m.return=p,m):(m=i(m,y),m.return=p,m)}function l(p,m,y,S){var T=y.type;return T===Lr?c(p,m,y.props.children,S,y.key):m!==null&&(m.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===bn&&Th(T)===m.type)?(S=i(m,y.props),S.ref=Bi(p,m,y),S.return=p,S):(S=Ws(y.type,y.key,y.props,null,p.mode,S),S.ref=Bi(p,m,y),S.return=p,S)}function u(p,m,y,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=Hl(y,p.mode,S),m.return=p,m):(m=i(m,y.children||[]),m.return=p,m)}function c(p,m,y,S,T){return m===null||m.tag!==7?(m=yr(y,p.mode,S,T),m.return=p,m):(m=i(m,y),m.return=p,m)}function f(p,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Wl(""+m,p.mode,y),m.return=p,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ls:return y=Ws(m.type,m.key,m.props,null,p.mode,y),y.ref=Bi(p,null,m),y.return=p,y;case Or:return m=Hl(m,p.mode,y),m.return=p,m;case bn:var S=m._init;return f(p,S(m._payload),y)}if(Qi(m)||_i(m))return m=yr(m,p.mode,y,null),m.return=p,m;xs(p,m)}return null}function d(p,m,y,S){var T=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return T!==null?null:a(p,m,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ls:return y.key===T?l(p,m,y,S):null;case Or:return y.key===T?u(p,m,y,S):null;case bn:return T=y._init,d(p,m,T(y._payload),S)}if(Qi(y)||_i(y))return T!==null?null:c(p,m,y,S,null);xs(p,y)}return null}function h(p,m,y,S,T){if(typeof S=="string"&&S!==""||typeof S=="number")return p=p.get(y)||null,a(m,p,""+S,T);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ls:return p=p.get(S.key===null?y:S.key)||null,l(m,p,S,T);case Or:return p=p.get(S.key===null?y:S.key)||null,u(m,p,S,T);case bn:var b=S._init;return h(p,m,y,b(S._payload),T)}if(Qi(S)||_i(S))return p=p.get(y)||null,c(m,p,S,T,null);xs(m,S)}return null}function v(p,m,y,S){for(var T=null,b=null,k=m,E=m=0,D=null;k!==null&&E<y.length;E++){k.index>E?(D=k,k=null):D=k.sibling;var N=d(p,k,y[E],S);if(N===null){k===null&&(k=D);break}e&&k&&N.alternate===null&&t(p,k),m=o(N,m,E),b===null?T=N:b.sibling=N,b=N,k=D}if(E===y.length)return n(p,k),ae&&ir(p,E),T;if(k===null){for(;E<y.length;E++)k=f(p,y[E],S),k!==null&&(m=o(k,m,E),b===null?T=k:b.sibling=k,b=k);return ae&&ir(p,E),T}for(k=r(p,k);E<y.length;E++)D=h(k,p,E,y[E],S),D!==null&&(e&&D.alternate!==null&&k.delete(D.key===null?E:D.key),m=o(D,m,E),b===null?T=D:b.sibling=D,b=D);return e&&k.forEach(function(F){return t(p,F)}),ae&&ir(p,E),T}function g(p,m,y,S){var T=_i(y);if(typeof T!="function")throw Error(R(150));if(y=T.call(y),y==null)throw Error(R(151));for(var b=T=null,k=m,E=m=0,D=null,N=y.next();k!==null&&!N.done;E++,N=y.next()){k.index>E?(D=k,k=null):D=k.sibling;var F=d(p,k,N.value,S);if(F===null){k===null&&(k=D);break}e&&k&&F.alternate===null&&t(p,k),m=o(F,m,E),b===null?T=F:b.sibling=F,b=F,k=D}if(N.done)return n(p,k),ae&&ir(p,E),T;if(k===null){for(;!N.done;E++,N=y.next())N=f(p,N.value,S),N!==null&&(m=o(N,m,E),b===null?T=N:b.sibling=N,b=N);return ae&&ir(p,E),T}for(k=r(p,k);!N.done;E++,N=y.next())N=h(k,p,E,N.value,S),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?E:N.key),m=o(N,m,E),b===null?T=N:b.sibling=N,b=N);return e&&k.forEach(function(I){return t(p,I)}),ae&&ir(p,E),T}function x(p,m,y,S){if(typeof y=="object"&&y!==null&&y.type===Lr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ls:e:{for(var T=y.key,b=m;b!==null;){if(b.key===T){if(T=y.type,T===Lr){if(b.tag===7){n(p,b.sibling),m=i(b,y.props.children),m.return=p,p=m;break e}}else if(b.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===bn&&Th(T)===b.type){n(p,b.sibling),m=i(b,y.props),m.ref=Bi(p,b,y),m.return=p,p=m;break e}n(p,b);break}else t(p,b);b=b.sibling}y.type===Lr?(m=yr(y.props.children,p.mode,S,y.key),m.return=p,p=m):(S=Ws(y.type,y.key,y.props,null,p.mode,S),S.ref=Bi(p,m,y),S.return=p,p=S)}return s(p);case Or:e:{for(b=y.key;m!==null;){if(m.key===b)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(p,m.sibling),m=i(m,y.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=Hl(y,p.mode,S),m.return=p,p=m}return s(p);case bn:return b=y._init,x(p,m,b(y._payload),S)}if(Qi(y))return v(p,m,y,S);if(_i(y))return g(p,m,y,S);xs(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,y),m.return=p,p=m):(n(p,m),m=Wl(y,p.mode,S),m.return=p,p=m),s(p)):n(p,m)}return x}var vi=cy(!0),dy=cy(!1),da=Jn(null),fa=null,Ur=null,fd=null;function hd(){fd=Ur=fa=null}function pd(e){var t=da.current;se(da),e._currentValue=t}function $u(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ti(e,t){fa=e,fd=Ur=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ke=!0),e.firstContext=null)}function vt(e){var t=e._currentValue;if(fd!==e)if(e={context:e,memoizedValue:t,next:null},Ur===null){if(fa===null)throw Error(R(308));Ur=e,fa.dependencies={lanes:0,firstContext:e}}else Ur=Ur.next=e;return t}var lr=null;function md(e){lr===null?lr=[e]:lr.push(e)}function fy(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,md(t)):(n.next=i.next,i.next=n),t.interleaved=n,sn(e,r)}function sn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var En=!1;function gd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hy(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 nn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,sn(e,n)}return i=r.interleaved,i===null?(t.next=t,md(r)):(t.next=i.next,i.next=t),r.interleaved=t,sn(e,n)}function Vs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,td(e,n)}}function bh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ha(e,t,n,r){var i=e.updateQueue;En=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;s=0,c=u=l=null,a=o;do{var d=a.lane,h=a.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(d=t,h=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){f=v.call(h,f,d);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,d=typeof v=="function"?v.call(h,f,d):v,d==null)break e;f=he({},f,d);break e;case 2:En=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else h={eventTime:h,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=f):c=c.next=h,s|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(c===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Tr|=s,e.lanes=s,e.memoizedState=f}}
vendor: 1,672 bytes, line 38
38function Eh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(R(191,i));i.call(r)}}}var Yo={},Ut=Jn(Yo),Eo=Jn(Yo),Po=Jn(Yo);function ur(e){if(e===Yo)throw Error(R(174));return e}function yd(e,t){switch(ne(Po,t),ne(Eo,e),ne(Ut,Yo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Cu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Cu(t,e)}se(Ut),ne(Ut,t)}function xi(){se(Ut),se(Eo),se(Po)}function py(e){ur(Po.current);var t=ur(Ut.current),n=Cu(t,e.type);t!==n&&(ne(Eo,e),ne(Ut,n))}function vd(e){Eo.current===e&&(se(Ut),se(Eo))}var ue=Jn(0);function pa(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)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 Vl=[];function xd(){for(var e=0;e<Vl.length;e++)Vl[e]._workInProgressVersionPrimary=null;Vl.length=0}var Fs=fn.ReactCurrentDispatcher,Fl=fn.ReactCurrentBatchConfig,Cr=0,de=null,Se=null,be=null,ma=!1,ro=!1,ko=0,wS=0;function je(){throw Error(R(321))}function wd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Mt(e[n],t[n]))return!1;return!0}function Sd(e,t,n,r,i,o){if(Cr=o,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Fs.current=e===null||e.memoizedState===null?bS:ES,e=n(r,i),ro){o=0;
vendor: 4,882 bytes, line 38
38do{if(ro=!1,ko=0,25<=o)throw Error(R(301));o+=1,be=Se=null,t.updateQueue=null,Fs.current=PS,e=n(r,i)}while(ro)}if(Fs.current=ga,t=Se!==null&&Se.next!==null,Cr=0,be=Se=de=null,ma=!1,t)throw Error(R(300));return e}function Cd(){var e=ko!==0;return ko=0,e}function It(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return be===null?de.memoizedState=be=e:be=be.next=e,be}function xt(){if(Se===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=be===null?de.memoizedState:be.next;if(t!==null)be=t,Se=e;else{if(e===null)throw Error(R(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},be===null?de.memoizedState=be=e:be=be.next=e}return be}function Ao(e,t){return typeof t=="function"?t(e):t}function zl(e){var t=xt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=Se,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,u=o;do{var c=u.lane;if((Cr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,s=r):l=l.next=f,de.lanes|=c,Tr|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,Mt(r,t.memoizedState)||(Ke=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,de.lanes|=o,Tr|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Bl(e){var t=xt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Mt(o,t.memoizedState)||(Ke=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function my(){}function gy(e,t){var n=de,r=xt(),i=t(),o=!Mt(r.memoizedState,i);if(o&&(r.memoizedState=i,Ke=!0),r=r.queue,Td(xy.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||be!==null&&be.memoizedState.tag&1){if(n.flags|=2048,Ro(9,vy.bind(null,n,r,i,t),void 0,null),Ee===null)throw Error(R(349));Cr&30||yy(n,t,i)}return i}function yy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function vy(e,t,n,r){t.value=n,t.getSnapshot=r,wy(t)&&Sy(e)}function xy(e,t,n){return n(function(){wy(t)&&Sy(e)})}function wy(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Mt(e,n)}catch{return!0}}function Sy(e){var t=sn(e,1);t!==null&&Rt(t,e,1,-1)}function Ph(e){var t=It();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:e},t.queue=e,e=e.dispatch=TS.bind(null,de,e),[t.memoizedState,e]}function Ro(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Cy(){return xt().memoizedState}function zs(e,t,n,r){var i=It();de.flags|=e,i.memoizedState=Ro(1|t,n,void 0,r===void 0?null:r)}function $a(e,t,n,r){var i=xt();r=r===void 0?null:r;var o=void 0;if(Se!==null){var s=Se.memoizedState;if(o=s.destroy,r!==null&&wd(r,s.deps)){i.memoizedState=Ro(t,n,o,r);return}}de.flags|=e,i.memoizedState=Ro(1|t,n,o,r)}function kh(e,t){return zs(8390656,8,e,t)}function Td(e,t){return $a(2048,8,e,t)}function Ty(e,t){return $a(4,2,e,t)}function by(e,t){return $a(4,4,e,t)}function Ey(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 Py(e,t,n){return n=n!=null?n.concat([e]):null,$a(4,4,Ey.bind(null,t,e),n)}function bd(){}function ky(e,t){var n=xt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ay(e,t){var n=xt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ry(e,t,n){return Cr&21?(Mt(n,t)||(n=Og(),de.lanes|=n,Tr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ke=!0),e.memoizedState=n)}function SS(e,t){var n=ee;ee=n!==0&&4>n?n:4,e(!0);var r=Fl.transition;Fl.transition={};try{e(!1),t()}finally{ee=n,Fl.transition=r}}function My(){return xt().memoizedState}function CS(e,t,n){var r=$n(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ny(e))jy(t,n);else if(n=fy(e,t,n,r),n!==null){var i=$e();Rt(n,e,r,i),Dy(n,t,r)}}
vendor: 9,141 bytes, lines 38-40
38function TS(e,t,n){var r=$n(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ny(e))jy(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Mt(a,s)){var l=t.interleaved;l===null?(i.next=i,md(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=fy(e,t,i,r),n!==null&&(i=$e(),Rt(n,e,r,i),Dy(n,t,r))}}function Ny(e){var t=e.alternate;return e===de||t!==null&&t===de}function jy(e,t){ro=ma=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Dy(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,td(e,n)}}var ga={readContext:vt,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},bS={readContext:vt,useCallback:function(e,t){return It().memoizedState=[e,t===void 0?null:t],e},useContext:vt,useEffect:kh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,zs(4194308,4,Ey.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){return zs(4,2,e,t)},useMemo:function(e,t){var n=It();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=It();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=CS.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=It();return e={current:e},t.memoizedState=e},useState:Ph,useDebugValue:bd,useDeferredValue:function(e){return It().memoizedState=e},useTransition:function(){var e=Ph(!1),t=e[0];return e=SS.bind(null,e[1]),It().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,i=It();if(ae){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Ee===null)throw Error(R(349));Cr&30||yy(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,kh(xy.bind(null,r,o,e),[e]),r.flags|=2048,Ro(9,vy.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=It(),t=Ee.identifierPrefix;if(ae){var n=tn,r=en;n=(r&~(1<<32-At(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ko++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=wS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ES={readContext:vt,useCallback:ky,useContext:vt,useEffect:Td,useImperativeHandle:Py,useInsertionEffect:Ty,useLayoutEffect:by,useMemo:Ay,useReducer:zl,useRef:Cy,useState:function(){return zl(Ao)},useDebugValue:bd,useDeferredValue:function(e){var t=xt();return Ry(t,Se.memoizedState,e)},useTransition:function(){var e=zl(Ao)[0],t=xt().memoizedState;return[e,t]},useMutableSource:my,useSyncExternalStore:gy,useId:My,unstable_isNewReconciler:!1},PS={readContext:vt,useCallback:ky,useContext:vt,useEffect:Td,useImperativeHandle:Py,useInsertionEffect:Ty,useLayoutEffect:by,useMemo:Ay,useReducer:Bl,useRef:Cy,useState:function(){return Bl(Ao)},useDebugValue:bd,useDeferredValue:function(e){var t=xt();return Se===null?t.memoizedState=e:Ry(t,Se.memoizedState,e)},useTransition:function(){var e=Bl(Ao)[0],t=xt().memoizedState;return[e,t]},useMutableSource:my,useSyncExternalStore:gy,useId:My,unstable_isNewReconciler:!1};function Tt(e,t){if(e&&e.defaultProps){t=he({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Uu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:he({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ua={isMounted:function(e){return(e=e._reactInternals)?Ar(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$e(),i=$n(e),o=nn(r,i);o.payload=t,n!=null&&(o.callback=n),t=zn(e,o,i),t!==null&&(Rt(t,e,i,r),Vs(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$e(),i=$n(e),o=nn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=zn(e,o,i),t!==null&&(Rt(t,e,i,r),Vs(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$e(),r=$n(e),i=nn(n,r);i.tag=2,t!=null&&(i.callback=t),t=zn(e,i,r),t!==null&&(Rt(t,e,r,n),Vs(t,e,r))}};function Ah(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!So(n,r)||!So(i,o):!0}function Oy(e,t,n){var r=!1,i=Hn,o=t.contextType;return typeof o=="object"&&o!==null?o=vt(o):(i=Ye(t)?wr:Ie.current,r=t.contextTypes,o=(r=r!=null)?gi(e,i):Hn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ua,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Rh(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ua.enqueueReplaceState(t,t.state,null)}function Wu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},gd(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=vt(o):(o=Ye(t)?wr:Ie.current,i.context=gi(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Uu(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ua.enqueueReplaceState(i,i.state,null),ha(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function wi(e,t){try{var n="",r=t;do n+=e1(r),r=r.return;while(r);var i=n}catch(o){i=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function $l(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Hu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var kS=typeof WeakMap=="function"?WeakMap:Map;function Ly(e,t,n){n=nn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){va||(va=!0,tc=r),Hu(e,t)},n}function _y(e,t,n){n=nn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Hu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Hu(e,t),typeof r!="function"&&(Bn===null?Bn=new Set([this]):Bn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Mh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new kS;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=BS.bind(null,e,t,n),t.then(e,e))}function Nh(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 jh(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=nn(-1,1),t.tag=2,zn(n,t,1))),n.lanes|=1),e)}var AS=fn.ReactCurrentOwner,Ke=!1;function Fe(e,t,n,r){t.child=e===null?dy(t,null,n,r):vi(t,e.child,n,r)}function Dh(e,t,n,r,i){n=n.render;var o=t.ref;return ti(t,i),r=Sd(e,t,n,r,o,i),n=Cd(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,an(e,t,i)):(ae&&n&&ud(t),t.flags|=1,Fe(e,t,r,i),t.child)}function Oh(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!jd(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Iy(e,t,o,r,i)):(e=Ws(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:So,n(s,r)&&e.ref===t.ref)return an(e,t,i)}return t.flags|=1,e=Un(o,r),e.ref=t.ref,e.return=t,t.child=e}function Iy(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(So(o,r)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Ke=!0);else return t.lanes=e.lanes,an(e,t,i)}return Ku(e,t,n,r,i)}function Vy(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ne(Hr,nt),nt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ne(Hr,nt),nt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ne(Hr,nt),nt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ne(Hr,nt),nt|=r;return Fe(e,t,i,n),t.child}function Fy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 5,298 bytes, line 40
40function Ku(e,t,n,r,i){var o=Ye(n)?wr:Ie.current;return o=gi(t,o),ti(t,i),n=Sd(e,t,n,r,o,i),r=Cd(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,an(e,t,i)):(ae&&r&&ud(t),t.flags|=1,Fe(e,t,n,i),t.child)}function Lh(e,t,n,r,i){if(Ye(n)){var o=!0;la(t)}else o=!1;if(ti(t,i),t.stateNode===null)Bs(e,t),Oy(t,n,r),Wu(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=vt(u):(u=Ye(n)?wr:Ie.current,u=gi(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Rh(t,s,r,u),En=!1;var d=t.memoizedState;s.state=d,ha(t,r,s,i),l=t.memoizedState,a!==r||d!==l||Qe.current||En?(typeof c=="function"&&(Uu(t,n,c,r),l=t.memoizedState),(a=En||Ah(t,n,a,r,d,l,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,hy(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Tt(t.type,a),s.props=u,f=t.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=vt(l):(l=Ye(n)?wr:Ie.current,l=gi(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&Rh(t,s,r,l),En=!1,d=t.memoizedState,s.state=d,ha(t,r,s,i);var v=t.memoizedState;a!==f||d!==v||Qe.current||En?(typeof h=="function"&&(Uu(t,n,h,r),v=t.memoizedState),(u=En||Ah(t,n,u,r,d,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Gu(e,t,n,r,o,i)}function Gu(e,t,n,r,i,o){Fy(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&wh(t,n,!1),an(e,t,o);r=t.stateNode,AS.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=vi(t,e.child,null,o),t.child=vi(t,null,a,o)):Fe(e,t,a,o),t.memoizedState=r.state,i&&wh(t,n,!0),t.child}function zy(e){var t=e.stateNode;t.pendingContext?xh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xh(e,t.context,!1),yd(e,t.containerInfo)}function _h(e,t,n,r,i){return yi(),dd(i),t.flags|=256,Fe(e,t,n,r),t.child}var Qu={dehydrated:null,treeContext:null,retryLane:0};function Yu(e){return{baseLanes:e,cachePool:null,transitions:null}}function By(e,t,n){var r=t.pendingProps,i=ue.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ne(ue,i&1),e===null)return Bu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Ka(s,r,0,null),e=yr(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Yu(n),t.memoizedState=Qu,e):Ed(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return RS(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Un(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Un(a,o):(o=yr(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Yu(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Qu,r}return o=e.child,e=o.sibling,r=Un(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ed(e,t){return t=Ka({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ws(e,t,n,r){return r!==null&&dd(r),vi(t,e.child,null,n),e=Ed(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}
vendor: 4,861 bytes, line 40
40function RS(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=$l(Error(R(422))),ws(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Ka({mode:"visible",children:r.children},i,0,null),o=yr(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&vi(t,e.child,null,s),t.child.memoizedState=Yu(s),t.memoizedState=Qu,o);if(!(t.mode&1))return ws(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(R(419)),r=$l(o,r,void 0),ws(e,t,s,r)}if(a=(s&e.childLanes)!==0,Ke||a){if(r=Ee,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,sn(e,i),Rt(r,e,i,-1))}return Nd(),r=$l(Error(R(421))),ws(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=$S.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,it=Fn(i.nextSibling),ot=t,ae=!0,kt=null,e!==null&&(ht[pt++]=en,ht[pt++]=tn,ht[pt++]=Sr,en=e.id,tn=e.overflow,Sr=t),t=Ed(t,r.children),t.flags|=4096,t)}function Ih(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),$u(e.return,t,n)}function Ul(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function $y(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Fe(e,t,r.children,n),r=ue.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ih(e,n,t);else if(e.tag===19)Ih(e,n,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}r&=1}if(ne(ue,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&pa(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ul(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&pa(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function an(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Tr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=Un(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Un(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function MS(e,t,n){switch(t.tag){case 3:zy(t),yi();break;case 5:py(t);break;case 1:Ye(t.type)&&la(t);break;case 4:yd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ne(da,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ne(ue,ue.current&1),t.flags|=128,null):n&t.child.childLanes?By(e,t,n):(ne(ue,ue.current&1),e=an(e,t,n),e!==null?e.sibling:null);ne(ue,ue.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return $y(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ne(ue,ue.current),r)break;return null;case 22:case 23:return t.lanes=0,Vy(e,t,n)}return an(e,t,n)}var Uy,Xu,Wy,Hy;Uy=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Xu=function(){};Wy=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ur(Ut.current);var o=null;switch(n){case"input":i=vu(e,i),r=vu(e,r),o=[];break;case"select":i=he({},i,{value:void 0}),r=he({},r,{value:void 0}),o=[];break;case"textarea":i=Su(e,i),r=Su(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=sa)}Tu(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(po.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];
vendor: 5,266 bytes, line 40
40if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(po.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&oe("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Hy=function(e,t,n,r){n!==r&&(t.flags|=4)};function $i(e,t){if(!ae)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function De(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function NS(e,t,n){var r=t.pendingProps;switch(cd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return Ye(t.type)&&aa(),De(t),null;case 3:return r=t.stateNode,xi(),se(Qe),se(Ie),xd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(vs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,kt!==null&&(ic(kt),kt=null))),Xu(e,t),De(t),null;case 5:vd(t);var i=ur(Po.current);if(n=t.type,e!==null&&t.stateNode!=null)Wy(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return De(t),null}if(e=ur(Ut.current),vs(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Bt]=t,r[bo]=o,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(i=0;i<Xi.length;i++)oe(Xi[i],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":Kf(r,o),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},oe("invalid",r);break;case"textarea":Qf(r,o),oe("invalid",r)}Tu(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&ys(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&ys(r.textContent,a,e),i=["children",""+a]):po.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&oe("scroll",r)}switch(n){case"input":us(r),Gf(r,o,!0);break;case"textarea":us(r),Yf(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=sa)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=xg(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Bt]=t,e[bo]=r,Uy(e,t,!1,!1),t.stateNode=e;e:{switch(s=bu(n,r),n){case"dialog":oe("cancel",e),oe("close",e),i=r;break;case"iframe":case"object":case"embed":oe("load",e),i=r;break;case"video":case"audio":for(i=0;i<Xi.length;i++)oe(Xi[i],e);i=r;break;case"source":oe("error",e),i=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),i=r;break;case"details":oe("toggle",e),i=r;break;case"input":Kf(e,r),i=vu(e,r),oe("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=he({},r,{value:void 0}),oe("invalid",e);break;case"textarea":Qf(e,r),i=Su(e,r),oe("invalid",e);break;default:i=r}Tu(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Cg(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&wg(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&mo(e,l):typeof l=="number"&&mo(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(po.hasOwnProperty(o)?l!=null&&o==="onScroll"&&oe("scroll",e):l!=null&&Yc(e,o,l,s))}switch(n){case"input":us(e),Gf(e,r,!1);break;case"textarea":us(e),Yf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Wn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?qr(e,!!r.multiple,o,!1):r.defaultValue!=null&&qr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=sa)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}
vendor: 26,363 bytes, line 40
40return De(t),null;case 6:if(e&&t.stateNode!=null)Hy(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=ur(Po.current),ur(Ut.current),vs(t)){if(r=t.stateNode,n=t.memoizedProps,r[Bt]=t,(o=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:ys(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ys(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Bt]=t,t.stateNode=r}return De(t),null;case 13:if(se(ue),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ae&&it!==null&&t.mode&1&&!(t.flags&128))uy(),yi(),t.flags|=98560,o=!1;else if(o=vs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(R(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(R(317));o[Bt]=t}else yi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;De(t),o=!1}else kt!==null&&(ic(kt),kt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ue.current&1?Te===0&&(Te=3):Nd())),t.updateQueue!==null&&(t.flags|=4),De(t),null);case 4:return xi(),Xu(e,t),e===null&&Co(t.stateNode.containerInfo),De(t),null;case 10:return pd(t.type._context),De(t),null;case 17:return Ye(t.type)&&aa(),De(t),null;case 19:if(se(ue),o=t.memoizedState,o===null)return De(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)$i(o,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=pa(e),s!==null){for(t.flags|=128,$i(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ne(ue,ue.current&1|2),t.child}e=e.sibling}o.tail!==null&&ve()>Si&&(t.flags|=128,r=!0,$i(o,!1),t.lanes=4194304)}else{if(!r)if(e=pa(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$i(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ae)return De(t),null}else 2*ve()-o.renderingStartTime>Si&&n!==1073741824&&(t.flags|=128,r=!0,$i(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ve(),t.sibling=null,n=ue.current,ne(ue,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Md(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?nt&1073741824&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function jS(e,t){switch(cd(t),t.tag){case 1:return Ye(t.type)&&aa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xi(),se(Qe),se(Ie),xd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return vd(t),null;case 13:if(se(ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(ue),null;case 4:return xi(),null;case 10:return pd(t.type._context),null;case 22:case 23:return Md(),null;case 24:return null;default:return null}}var Ss=!1,Le=!1,DS=typeof WeakSet=="function"?WeakSet:Set,L=null;function Wr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function qu(e,t,n){try{n()}catch(r){ge(e,t,r)}}var Vh=!1;function OS(e,t){if(Ou=ra,e=Xg(),ld(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++u===i&&(a=s),d===o&&++c===r&&(l=s),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Lu={focusedElem:e,selectionRange:n},ra=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,x=v.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:Tt(t.type,g),x);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(S){ge(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return v=Vh,Vh=!1,v}function io(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&qu(t,n,o)}i=i.next}while(i!==r)}}function Wa(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Zu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ky(e){var t=e.alternate;t!==null&&(e.alternate=null,Ky(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[bo],delete t[Vu],delete t[gS],delete t[yS])),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 Gy(e){return e.tag===5||e.tag===3||e.tag===4}function Fh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gy(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 Ju(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=sa));else if(r!==4&&(e=e.child,e!==null))for(Ju(e,t,n),e=e.sibling;e!==null;)Ju(e,t,n),e=e.sibling}function ec(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ec(e,t,n),e=e.sibling;e!==null;)ec(e,t,n),e=e.sibling}var ke=null,Pt=!1;function xn(e,t,n){for(n=n.child;n!==null;)Qy(e,t,n),n=n.sibling}function Qy(e,t,n){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount(_a,n)}catch{}switch(n.tag){case 5:Le||Wr(n,t);case 6:var r=ke,i=Pt;ke=null,xn(e,t,n),ke=r,Pt=i,ke!==null&&(Pt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(Pt?(e=ke,n=n.stateNode,e.nodeType===8?_l(e.parentNode,n):e.nodeType===1&&_l(e,n),xo(e)):_l(ke,n.stateNode));break;case 4:r=ke,i=Pt,ke=n.stateNode.containerInfo,Pt=!0,xn(e,t,n),ke=r,Pt=i;break;case 0:case 11:case 14:case 15:if(!Le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&qu(n,t,s),i=i.next}while(i!==r)}xn(e,t,n);break;case 1:if(!Le&&(Wr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}xn(e,t,n);break;case 21:xn(e,t,n);break;case 22:n.mode&1?(Le=(r=Le)||n.memoizedState!==null,xn(e,t,n),Le=r):xn(e,t,n);break;default:xn(e,t,n)}}function zh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new DS),t.forEach(function(r){var i=US.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function St(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ke=a.stateNode,Pt=!1;break e;case 3:ke=a.stateNode.containerInfo,Pt=!0;break e;case 4:ke=a.stateNode.containerInfo,Pt=!0;break e}a=a.return}if(ke===null)throw Error(R(160));Qy(o,s,i),ke=null,Pt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ge(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Yy(t,e),t=t.sibling}function Yy(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(St(t,e),_t(e),r&4){try{io(3,e,e.return),Wa(3,e)}catch(g){ge(e,e.return,g)}try{io(5,e,e.return)}catch(g){ge(e,e.return,g)}}break;case 1:St(t,e),_t(e),r&512&&n!==null&&Wr(n,n.return);break;case 5:if(St(t,e),_t(e),r&512&&n!==null&&Wr(n,n.return),e.flags&32){var i=e.stateNode;try{mo(i,"")}catch(g){ge(e,e.return,g)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&yg(i,o),bu(a,s);var u=bu(a,o);for(s=0;s<l.length;s+=2){var c=l[s],f=l[s+1];c==="style"?Cg(i,f):c==="dangerouslySetInnerHTML"?wg(i,f):c==="children"?mo(i,f):Yc(i,c,f,u)}switch(a){case"input":xu(i,o);break;case"textarea":vg(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?qr(i,!!o.multiple,h,!1):d!==!!o.multiple&&(o.defaultValue!=null?qr(i,!!o.multiple,o.defaultValue,!0):qr(i,!!o.multiple,o.multiple?[]:"",!1))}i[bo]=o}catch(g){ge(e,e.return,g)}}break;case 6:if(St(t,e),_t(e),r&4){if(e.stateNode===null)throw Error(R(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(g){ge(e,e.return,g)}}break;case 3:if(St(t,e),_t(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{xo(t.containerInfo)}catch(g){ge(e,e.return,g)}break;case 4:St(t,e),_t(e);break;case 13:St(t,e),_t(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Ad=ve())),r&4&&zh(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Le=(u=Le)||c,St(t,e),Le=u):St(t,e),_t(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(L=e,c=e.child;c!==null;){for(f=L=c;L!==null;){switch(d=L,h=d.child,d.tag){case 0:case 11:case 14:case 15:io(4,d,d.return);break;case 1:Wr(d,d.return);var v=d.stateNode;if(typeof v.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(g){ge(r,n,g)}}break;case 5:Wr(d,d.return);break;case 22:if(d.memoizedState!==null){$h(f);continue}}h!==null?(h.return=d,L=h):$h(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Sg("display",s))}catch(g){ge(e,e.return,g)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(g){ge(e,e.return,g)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:St(t,e),_t(e),r&4&&zh(e);break;case 21:break;default:St(t,e),_t(e)}}function _t(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Gy(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(mo(i,""),r.flags&=-33);var o=Fh(e);ec(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Fh(e);Ju(e,a,s);break;default:throw Error(R(161))}}catch(l){ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function LS(e,t,n){L=e,Xy(e)}function Xy(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var i=L,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Ss;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Le;a=Ss;var u=Le;if(Ss=s,(Le=l)&&!u)for(L=i;L!==null;)s=L,l=s.child,s.tag===22&&s.memoizedState!==null?Uh(i):l!==null?(l.return=s,L=l):Uh(i);for(;o!==null;)L=o,Xy(o),o=o.sibling;L=i,Ss=a,Le=u}Bh(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,L=o):Bh(e)}}function Bh(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Le||Wa(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Le)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Tt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Eh(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Eh(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&xo(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}Le||t.flags&512&&Zu(t)}catch(d){ge(t,t.return,d)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function $h(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Uh(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wa(4,t)}catch(l){ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ge(t,i,l)}}var o=t.return;try{Zu(t)}catch(l){ge(t,o,l)}break;case 5:var s=t.return;try{Zu(t)}catch(l){ge(t,s,l)}}}catch(l){ge(t,t.return,l)}if(t===e){L=null;break}var a=t.sibling;if(a!==null){a.return=t.return,L=a;break}L=t.return}}var _S=Math.ceil,ya=fn.ReactCurrentDispatcher,Pd=fn.ReactCurrentOwner,gt=fn.ReactCurrentBatchConfig,q=0,Ee=null,we=null,Re=0,nt=0,Hr=Jn(0),Te=0,Mo=null,Tr=0,Ha=0,kd=0,oo=null,He=null,Ad=0,Si=1/0,Zt=null,va=!1,tc=null,Bn=null,Cs=!1,On=null,xa=0,so=0,nc=null,$s=-1,Us=0;function $e(){return q&6?ve():$s!==-1?$s:$s=ve()}function $n(e){return e.mode&1?q&2&&Re!==0?Re&-Re:xS.transition!==null?(Us===0&&(Us=Og()),Us):(e=ee,e!==0||(e=window.event,e=e===void 0?16:Bg(e.type)),e):1}function Rt(e,t,n,r){if(50<so)throw so=0,nc=null,Error(R(185));Ko(e,n,r),(!(q&2)||e!==Ee)&&(e===Ee&&(!(q&2)&&(Ha|=n),Te===4&&kn(e,Re)),Xe(e,r),n===1&&q===0&&!(t.mode&1)&&(Si=ve()+500,Ba&&er()))}function Xe(e,t){var n=e.callbackNode;x1(e,t);var r=na(e,e===Ee?Re:0);if(r===0)n!==null&&Zf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Zf(n),t===1)e.tag===0?vS(Wh.bind(null,e)):sy(Wh.bind(null,e)),pS(function(){!(q&6)&&er()}),n=null;else{switch(Lg(r)){case 1:n=ed;break;case 4:n=jg;break;case 16:n=ta;break;case 536870912:n=Dg;break;default:n=ta}n=iv(n,qy.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function qy(e,t){if($s=-1,Us=0,q&6)throw Error(R(327));var n=e.callbackNode;if(ni()&&e.callbackNode!==n)return null;var r=na(e,e===Ee?Re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=wa(e,r);else{t=r;var i=q;q|=2;var o=Jy();(Ee!==e||Re!==t)&&(Zt=null,Si=ve()+500,gr(e,t));do try{FS();break}catch(a){Zy(e,a)}while(!0);hd(),ya.current=o,q=i,we!==null?t=0:(Ee=null,Re=0,t=Te)}if(t!==0){if(t===2&&(i=Ru(e),i!==0&&(r=i,t=rc(e,i))),t===1)throw n=Mo,gr(e,0),kn(e,r),Xe(e,ve()),n;if(t===6)kn(e,r);else{if(i=e.current.alternate,!(r&30)&&!IS(i)&&(t=wa(e,r),t===2&&(o=Ru(e),o!==0&&(r=o,t=rc(e,o))),t===1))throw n=Mo,gr(e,0),kn(e,r),Xe(e,ve()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:or(e,He,Zt);break;case 3:if(kn(e,r),(r&130023424)===r&&(t=Ad+500-ve(),10<t)){if(na(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){$e(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Iu(or.bind(null,e,He,Zt),t);break}or(e,He,Zt);break;case 4:if(kn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-At(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_S(r/1960))-r,10<r){e.timeoutHandle=Iu(or.bind(null,e,He,Zt),r);break}or(e,He,Zt);break;case 5:or(e,He,Zt);break;default:throw Error(R(329))}}}return Xe(e,ve()),e.callbackNode===n?qy.bind(null,e):null}function rc(e,t){var n=oo;return e.current.memoizedState.isDehydrated&&(gr(e,t).flags|=256),e=wa(e,t),e!==2&&(t=He,He=n,t!==null&&ic(t)),e}function ic(e){He===null?He=e:He.push.apply(He,e)}function IS(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Mt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 kn(e,t){for(t&=~kd,t&=~Ha,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-At(t),r=1<<n;e[n]=-1,t&=~r}}function Wh(e){if(q&6)throw Error(R(327));ni();var t=na(e,0);if(!(t&1))return Xe(e,ve()),null;var n=wa(e,t);if(e.tag!==0&&n===2){var r=Ru(e);r!==0&&(t=r,n=rc(e,r))}if(n===1)throw n=Mo,gr(e,0),kn(e,t),Xe(e,ve()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,or(e,He,Zt),Xe(e,ve()),null}function Rd(e,t){var n=q;q|=1;try{return e(t)}finally{q=n,q===0&&(Si=ve()+500,Ba&&er())}}function br(e){On!==null&&On.tag===0&&!(q&6)&&ni();var t=q;q|=1;var n=gt.transition,r=ee;try{if(gt.transition=null,ee=1,e)return e()}finally{ee=r,gt.transition=n,q=t,!(q&6)&&er()}}function Md(){nt=Hr.current,se(Hr)}function gr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,hS(n)),we!==null)for(n=we.return;n!==null;){var r=n;switch(cd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&aa();break;case 3:xi(),se(Qe),se(Ie),xd();break;case 5:vd(r);break;case 4:xi();break;case 13:se(ue);break;case 19:se(ue);break;case 10:pd(r.type._context);break;case 22:case 23:Md()}n=n.return}if(Ee=e,we=e=Un(e.current,null),Re=nt=t,Te=0,Mo=null,kd=Ha=Tr=0,He=oo=null,lr!==null){for(t=0;t<lr.length;t++)if(n=lr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}lr=null}return e}function Zy(e,t){do{var n=we;try{if(hd(),Fs.current=ga,ma){for(var r=de.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ma=!1}if(Cr=0,be=Se=de=null,ro=!1,ko=0,Pd.current=null,n===null||n.return===null){Te=1,Mo=t,we=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Re,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=Nh(s);if(h!==null){h.flags&=-257,jh(h,s,a,o,t),h.mode&1&&Mh(o,u,t),t=h,l=u;var v=t.updateQueue;if(v===null){var g=new Set;g.add(l),t.updateQueue=g}else v.add(l);break e}else{if(!(t&1)){Mh(o,u,t),Nd();break e}l=Error(R(426))}}else if(ae&&a.mode&1){var x=Nh(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),jh(x,s,a,o,t),dd(wi(l,a));break e}}o=l=wi(l,a),Te!==4&&(Te=2),oo===null?oo=[o]:oo.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var p=Ly(o,l,t);bh(o,p);break e;case 1:a=l;var m=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Bn===null||!Bn.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=_y(o,a,t);bh(o,S);break e}}o=o.return}while(o!==null)}tv(n)}catch(T){t=T,we===n&&n!==null&&(we=n=n.return);continue}break}while(!0)}function Jy(){var e=ya.current;return ya.current=ga,e===null?ga:e}function Nd(){(Te===0||Te===3||Te===2)&&(Te=4),Ee===null||!(Tr&268435455)&&!(Ha&268435455)||kn(Ee,Re)}function wa(e,t){var n=q;q|=2;var r=Jy();(Ee!==e||Re!==t)&&(Zt=null,gr(e,t));do try{VS();break}catch(i){Zy(e,i)}while(!0);if(hd(),q=n,ya.current=r,we!==null)throw Error(R(261));return Ee=null,Re=0,Te}function VS(){for(;we!==null;)ev(we)}function FS(){for(;we!==null&&!c1();)ev(we)}function ev(e){var t=rv(e.alternate,e,nt);e.memoizedProps=e.pendingProps,t===null?tv(e):we=t,Pd.current=null}function tv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=jS(n,t),n!==null){n.flags&=32767,we=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,we=null;return}}else if(n=NS(n,t,nt),n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);Te===0&&(Te=5)}function or(e,t,n){var r=ee,i=gt.transition;try{gt.transition=null,ee=1,zS(e,t,n,r)}finally{gt.transition=i,ee=r}return null}function zS(e,t,n,r){do ni();while(On!==null);if(q&6)throw Error(R(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(R(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(w1(e,o),e===Ee&&(we=Ee=null,Re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Cs||(Cs=!0,iv(ta,function(){return ni(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=gt.transition,gt.transition=null;var s=ee;ee=1;var a=q;q|=4,Pd.current=null,OS(e,n),Yy(n,e),sS(Lu),ra=!!Ou,Lu=Ou=null,e.current=n,LS(n),d1(),q=a,ee=s,gt.transition=o}else e.current=n;if(Cs&&(Cs=!1,On=e,xa=i),o=e.pendingLanes,o===0&&(Bn=null),p1(n.stateNode),Xe(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(va)throw va=!1,e=tc,tc=null,e;return xa&1&&e.tag!==0&&ni(),o=e.pendingLanes,o&1?e===nc?so++:(so=0,nc=e):so=0,er(),null}function ni(){if(On!==null){var e=Lg(xa),t=gt.transition,n=ee;try{if(gt.transition=null,ee=16>e?16:e,On===null)var r=!1;else{if(e=On,On=null,xa=0,q&6)throw Error(R(331));var i=q;for(q|=4,L=e.current;L!==null;){var o=L,s=o.child;if(L.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(L=u;L!==null;){var c=L;switch(c.tag){case 0:case 11:case 15:io(8,c,o)}var f=c.child;if(f!==null)f.return=c,L=f;else for(;L!==null;){c=L;var d=c.sibling,h=c.return;if(Ky(c),c===u){L=null;break}if(d!==null){d.return=h,L=d;break}L=h}}}var v=o.alternate;if(v!==null){var g=v.child;if(g!==null){v.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}L=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,L=s;else e:for(;L!==null;){if(o=L,o.flags&2048)switch(o.tag){case 0:case 11:case 15:io(9,o,o.return)}var p=o.sibling;if(p!==null){p.return=o.return,L=p;break e}L=o.return}}var m=e.current;for(L=m;L!==null;){s=L;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,L=y;else e:for(s=m;L!==null;){if(a=L,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Wa(9,a)}}catch(T){ge(a,a.return,T)}if(a===s){L=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,L=S;break e}L=a.return}}if(q=i,er(),$t&&typeof $t.onPostCommitFiberRoot=="function")try{$t.onPostCommitFiberRoot(_a,e)}catch{}r=!0}return r}finally{ee=n,gt.transition=t}}return!1}function Hh(e,t,n){t=wi(n,t),t=Ly(e,t,1),e=zn(e,t,1),t=$e(),e!==null&&(Ko(e,1,t),Xe(e,t))}function ge(e,t,n){if(e.tag===3)Hh(e,e,n);else for(;t!==null;){if(t.tag===3){Hh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Bn===null||!Bn.has(r))){e=wi(n,e),e=_y(t,e,1),t=zn(t,e,1),e=$e(),t!==null&&(Ko(t,1,e),Xe(t,e));break}}t=t.return}}function BS(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$e(),e.pingedLanes|=e.suspendedLanes&n,Ee===e&&(Re&n)===n&&(Te===4||Te===3&&(Re&130023424)===Re&&500>ve()-Ad?gr(e,0):kd|=n),Xe(e,t)}function nv(e,t){t===0&&(e.mode&1?(t=fs,fs<<=1,!(fs&130023424)&&(fs=4194304)):t=1);var n=$e();e=sn(e,t),e!==null&&(Ko(e,t,n),Xe(e,n))}function $S(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nv(e,n)}function US(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),nv(e,n)}var rv;rv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qe.current)Ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ke=!1,MS(e,t,n);Ke=!!(e.flags&131072)}else Ke=!1,ae&&t.flags&1048576&&ay(t,ca,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bs(e,t),e=t.pendingProps;var i=gi(t,Ie.current);ti(t,n),i=Sd(null,t,r,e,i,n);var o=Cd();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ye(r)?(o=!0,la(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,gd(t),i.updater=Ua,t.stateNode=i,i._reactInternals=t,Wu(t,r,e,n),t=Gu(null,t,r,!0,o,n)):(t.tag=0,ae&&o&&ud(t),Fe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bs(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=HS(r),e=Tt(r,e),i){case 0:t=Ku(null,t,r,e,n);break e;case 1:t=Lh(null,t,r,e,n);break e;case 11:t=Dh(null,t,r,e,n);break e;case 14:t=Oh(null,t,r,Tt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),Ku(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),Lh(e,t,r,i,n);case 3:e:{if(zy(t),e===null)throw Error(R(387));
vendor: 6,315 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,i=o.element,hy(e,t),ha(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=wi(Error(R(423)),t),t=_h(e,t,r,n,i);break e}else if(r!==i){i=wi(Error(R(424)),t),t=_h(e,t,r,n,i);break e}else for(it=Fn(t.stateNode.containerInfo.firstChild),ot=t,ae=!0,kt=null,n=dy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(yi(),r===i){t=an(e,t,n);break e}Fe(e,t,r,n)}t=t.child}return t;case 5:return py(t),e===null&&Bu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,_u(r,i)?s=null:o!==null&&_u(r,o)&&(t.flags|=32),Fy(e,t),Fe(e,t,s,n),t.child;case 6:return e===null&&Bu(t),null;case 13:return By(e,t,n);case 4:return yd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vi(t,null,r,n):Fe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),Dh(e,t,r,i,n);case 7:return Fe(e,t,t.pendingProps,n),t.child;case 8:return Fe(e,t,t.pendingProps.children,n),t.child;case 12:return Fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ne(da,r._currentValue),r._currentValue=s,o!==null)if(Mt(o.value,s)){if(o.children===i.children&&!Qe.current){t=an(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=nn(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),$u(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(R(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),$u(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Fe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ti(t,n),i=vt(i),r=r(i),t.flags|=1,Fe(e,t,r,n),t.child;case 14:return r=t.type,i=Tt(r,t.pendingProps),i=Tt(r.type,i),Oh(e,t,r,i,n);case 15:return Iy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),Bs(e,t),t.tag=1,Ye(r)?(e=!0,la(t)):e=!1,ti(t,n),Oy(t,r,i),Wu(t,r,i,n),Gu(null,t,r,!0,e,n);case 19:return $y(e,t,n);case 22:return Vy(e,t,n)}throw Error(R(156,t.tag))};function iv(e,t){return Ng(e,t)}function WS(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mt(e,t,n,r){return new WS(e,t,n,r)}function jd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function HS(e){if(typeof e=="function")return jd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qc)return 11;if(e===Zc)return 14}return 2}function Un(e,t){var n=e.alternate;return n===null?(n=mt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ws(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")jd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Lr:return yr(n.children,i,o,t);case Xc:s=8,i|=8;break;case pu:return e=mt(12,n,t,i|2),e.elementType=pu,e.lanes=o,e;case mu:return e=mt(13,n,t,i),e.elementType=mu,e.lanes=o,e;case gu:return e=mt(19,n,t,i),e.elementType=gu,e.lanes=o,e;case pg:return Ka(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fg:s=10;break e;case hg:s=9;break e;case qc:s=11;break e;case Zc:s=14;break e;case bn:s=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=mt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function yr(e,t,n,r){return e=mt(7,e,r,t),e.lanes=n,e}function Ka(e,t,n,r){return e=mt(22,e,r,t),e.elementType=pg,e.lanes=n,e.stateNode={isHidden:!1},e}function Wl(e,t,n){return e=mt(6,e,null,t),e.lanes=n,e}function Hl(e,t,n){return t=mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function KS(e,t,n,r,i){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=El(0),this.expirationTimes=El(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=El(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Dd(e,t,n,r,i,o,s,a,l){return e=new KS(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gd(o),e}function GS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Or,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function ov(e){if(!e)return Hn;e=e._reactInternals;e:{if(Ar(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ye(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(Ye(n))return oy(e,n,t)}return t}function sv(e,t,n,r,i,o,s,a,l){return e=Dd(n,r,!0,e,i,o,s,a,l),e.context=ov(null),n=e.current,r=$e(
vendor: 6,362 bytes, line 40
40),i=$n(n),o=nn(r,i),o.callback=t??null,zn(n,o,i),e.current.lanes=i,Ko(e,i,r),Xe(e,r),e}function Ga(e,t,n,r){var i=t.current,o=$e(),s=$n(i);return n=ov(n),t.context===null?t.context=n:t.pendingContext=n,t=nn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=zn(i,t,s),e!==null&&(Rt(e,i,s,o),Vs(e,i,s)),s}function Sa(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 Kh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Od(e,t){Kh(e,t),(e=e.alternate)&&Kh(e,t)}function QS(){return null}var av=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ld(e){this._internalRoot=e}Qa.prototype.render=Ld.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));Ga(e,t,null,null)};Qa.prototype.unmount=Ld.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;br(function(){Ga(null,e,null,null)}),t[on]=null}};function Qa(e){this._internalRoot=e}Qa.prototype.unstable_scheduleHydration=function(e){if(e){var t=Vg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pn.length&&t!==0&&t<Pn[n].priority;n++);Pn.splice(n,0,e),n===0&&zg(e)}};function _d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ya(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Gh(){}function YS(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Sa(s);o.call(u)}}var s=sv(t,r,e,0,null,!1,!1,"",Gh);return e._reactRootContainer=s,e[on]=s.current,Co(e.nodeType===8?e.parentNode:e),br(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Sa(l);a.call(u)}}var l=Dd(e,0,!1,null,null,!1,!1,"",Gh);return e._reactRootContainer=l,e[on]=l.current,Co(e.nodeType===8?e.parentNode:e),br(function(){Ga(t,l,n,r)}),l}function Xa(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=Sa(s);a.call(l)}}Ga(t,s,e,i)}else s=YS(n,t,e,i,r);return Sa(s)}_g=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Yi(t.pendingLanes);n!==0&&(td(t,n|1),Xe(t,ve()),!(q&6)&&(Si=ve()+500,er()))}break;case 13:br(function(){var r=sn(e,1);if(r!==null){var i=$e();Rt(r,e,1,i)}}),Od(e,1)}};nd=function(e){if(e.tag===13){var t=sn(e,134217728);if(t!==null){var n=$e();Rt(t,e,134217728,n)}Od(e,134217728)}};Ig=function(e){if(e.tag===13){var t=$n(e),n=sn(e,t);if(n!==null){var r=$e();Rt(n,e,t,r)}Od(e,t)}};Vg=function(){return ee};Fg=function(e,t){var n=ee;try{return ee=e,t()}finally{ee=n}};Pu=function(e,t,n){switch(t){case"input":if(xu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=za(r);if(!i)throw Error(R(90));gg(r),xu(r,i)}}}break;case"textarea":vg(e,n);break;case"select":t=n.value,t!=null&&qr(e,!!n.multiple,t,!1)}};Eg=Rd;Pg=br;var XS={usingClientEntryPoint:!1,Events:[Qo,Fr,za,Tg,bg,Rd]},Ui={findFiberByHostInstance:ar,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},qS={bundleType:Ui.bundleType,version:Ui.version,rendererPackageName:Ui.rendererPackageName,rendererConfig:Ui.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Rg(e),e===null?null:e.stateNode},findFiberByHostInstance:Ui.findFiberByHostInstance||QS,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 Ts=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ts.isDisabled&&Ts.supportsFiber)try{_a=Ts.inject(qS),$t=Ts}catch{}}lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=XS;lt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_d(t))throw Error(R(200));return GS(e,t,null,n)};lt.createRoot=function(e,t){if(!_d(e))throw Error(R(299));var n=!1,r="",i=av;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Dd(e,1,!1,null,null,n,!1,r,i),e[on]=t.current,Co(e.nodeType===8?e.parentNode:e),new Ld(t)};lt.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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=Rg(t),e=e===null?null:e.stateNode,e};lt.flushSync=function(e){return br(e)};lt.hydrate=function(e,t,n){if(!Ya(t))throw Error(R(200));return Xa(null,e,t,!0,n)};lt.hydrateRoot=function(e,t,n){if(!_d(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=av;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=sv(t,null,e,1,n??null,i,!1,o,s),e[on]=t.current,Co(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Qa(t)};lt.render=function(e,t,n){if(!Ya(t))throw Error(R(200));return Xa(null,e,t,!1,n)};lt.unmountComponentAtNode=function(e){if(!Ya(e))throw Error(R(40));return e._reactRootContainer?(br(function(){Xa(null,null,e,!1,function(){e._reactRootContainer=null,e[on]=null})}),!0):!1};lt.unstable_batchedUpdates=Rd;lt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ya(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return Xa(e,t,n,!1,r)};lt.version="18.3.1-next-f1338f8080-20240426";function lv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lv)}catch(e){console.error(e)}}
40lv(),lg.exports=lt;var Xo=lg.exports;const uv=Xm(Xo);var cv,Qh=Xo;cv=Qh.createRoot,Qh.hydrateRoot;const ZS=1,JS=1e6;let Kl=0;function eC(){return Kl=(Kl+1)%Number.MAX_SAFE_INTEGER,Kl.toString()}const Gl=new Map,Yh=e=>{if(Gl.has(e))return;const t=setTimeout(()=>{Gl.delete(e),ao({type:"REMOVE_TOAST",toastId:e})},JS);Gl.set(e,t)},tC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,ZS)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Yh(n):e.toasts.forEach(r=>{Yh(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Hs=[];let Ks={toasts:[]};function ao(e){Ks=tC(Ks,e),Hs.forEach(t=>{t(Ks)})}function oc({...e}){const t=eC(),n=i=>ao({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>ao({type:"DISMISS_TOAST",toastId:t});return ao({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function nC(){const[e,t]=w.useState(Ks);return w.useEffect(()=>(Hs.push(t),()=>{const n=Hs.indexOf(t);n>-1&&Hs.splice(n,1)}),[e]),{...e,toast:oc,dismiss:n=>ao({type:"DISMISS_TOAST",toastId:n})}}function Ce(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function rC(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function dv(...e){return t=>e.forEach(n=>rC(n,t))}function Nt(...e){return w.useCallback(dv(...e),e)}function iC(e,t=[]){let n=[];function r(o,s){const a=w.createContext(s),l=n.length;n=[...n,s];function u(f){const{scope:d,children:h,...v}=f,g=(d==null?void 0:d[e][l])||a,x=w.useMemo(()=>v,Object.values(v));return C.jsx(g.Provider,{value:x,children:h})}function c(f,d){const h=(d==null?void 0:d[e][l])||a,v=w.useContext(h);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const i=()=>{const o=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,oC(i,...t)]}function oC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var No=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(sC);if(o){const s=o.props.children,a=i.map(l=>l===o?w.Children.count(s)>1?w.Children.only(null):w.isValidElement(s)?s.props.children:null:l);return C.jsx(sc,{...r,ref:t,children:w.isValidElement(s)?w.cloneElement(s,void 0,a):null})}return C.jsx(sc,{...r,ref:t,children:n})});No.displayName="Slot";var sc=w.forwardRef((e,t)=>{const{children:n,...r}=e;if(w.isValidElement(n)){const i=lC(n);return w.cloneElement(n,{...aC(r,n.props),ref:t?dv(t,i):i})}return w.Children.count(n)>1?w.Children.only(null):null});sc.displayName="SlotClone";var fv=({children:e})=>C.jsx(C.Fragment,{children:e});function sC(e){return w.isValidElement(e)&&e.type===fv}function aC(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{o(...a),i(...a)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function lC(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function uC(e){const t=e+"CollectionProvider",[n,r]=iC(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=h=>{const{scope:v,children:g}=h,x=j.useRef(null),p=j.useRef(new Map).current;return C.jsx(i,{scope:v,itemMap:p,collectionRef:x,children:g})};s.displayName=t;const a=e+"CollectionSlot",l=j.forwardRef((h,v)=>{const{scope:g,children:x}=h,p=o(a,g),m=Nt(v,p.collectionRef);return C.jsx(No,{ref:m,children:x})});l.displayName=a;const u=e+"CollectionItemSlot",c="data-radix-collection-item",f=j.forwardRef((h,v)=>{const{scope:g,children:x,...p}=h,m=j.useRef(null),y=Nt(v,m),S=o(u,g);return j.useEffect(()=>(S.itemMap.set(m,{ref:m,...p}),()=>void S.itemMap.delete(m))),C.jsx(No,{[c]:"",ref:y,children:x})});f.displayName=u;function d(h){const v=o(e+"CollectionConsumer",h);return j.useCallback(()=>{const x=v.collectionRef.current;if(!x)return[];const p=Array.from(x.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((S,T)=>p.indexOf(S.ref.current)-p.indexOf(T.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:l,ItemSlot:f},d,r]}function hv(e,t=[]){let n=[];function r(o,s){const a=w.createContext(s),l=n.length;n=[...n,s];const u=f=>{var p;const{scope:d,children:h,...v}=f,g=((p=d==null?void 0:d[e])==null?void 0:p[l])||a,x=w.useMemo(()=>v,Object.values(v));return C.jsx(g.Provider,{value:x,children:h})};u.displayName=o+"Provider";function c(f,d){var g;const h=((g=d==null?void 0:d[e])==null?void 0:g[l])||a,v=w.useContext(h);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,cC(i,...t)]}function cC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var dC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ze=dC.reduce((e,t)=>
vendor: 4,235 bytes, line 40
40{const n=w.forwardRef((r,i)=>{const{asChild:o,...s}=r,a=o?No:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),C.jsx(a,{...s,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function pv(e,t){e&&Xo.flushSync(()=>e.dispatchEvent(t))}function Gt(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function fC(e,t=globalThis==null?void 0:globalThis.document){const n=Gt(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var hC="DismissableLayer",ac="dismissableLayer.update",pC="dismissableLayer.pointerDownOutside",mC="dismissableLayer.focusOutside",Xh,mv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Id=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=w.useContext(mv),[c,f]=w.useState(null),d=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=w.useState({}),v=Nt(t,k=>f(k)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),p=g.indexOf(x),m=c?g.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=p,T=yC(k=>{const E=k.target,D=[...u.branches].some(N=>N.contains(E));!S||D||(i==null||i(k),s==null||s(k),k.defaultPrevented||a==null||a())},d),b=vC(k=>{const E=k.target;[...u.branches].some(N=>N.contains(E))||(o==null||o(k),s==null||s(k),k.defaultPrevented||a==null||a())},d);return fC(k=>{m===u.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},d),w.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Xh=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),qh(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=Xh)}},[c,d,n,u]),w.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),qh())},[c,u]),w.useEffect(()=>{const k=()=>h({});return document.addEventListener(ac,k),()=>document.removeEventListener(ac,k)},[]),C.jsx(Ze.div,{...l,ref:v,style:{pointerEvents:y?S?"auto":"none":void 0,...e.style},onFocusCapture:Ce(e.onFocusCapture,b.onFocusCapture),onBlurCapture:Ce(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:Ce(e.onPointerDownCapture,T.onPointerDownCapture)})});Id.displayName=hC;var gC="DismissableLayerBranch",gv=w.forwardRef((e,t)=>{const n=w.useContext(mv),r=w.useRef(null),i=Nt(t,r);return w.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),C.jsx(Ze.div,{...e,ref:i})});gv.displayName=gC;function yC(e,t=globalThis==null?void 0:globalThis.document){const n=Gt(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){yv(pC,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function vC(e,t=globalThis==null?void 0:globalThis.document){const n=Gt(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&yv(mC,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function qh(){const e=new CustomEvent(ac);document.dispatchEvent(e)}function yv(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?pv(i,o):i.dispatchEvent(o)}var xC=Id,wC=gv,Er=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},SC="Portal",vv=w.forwardRef((e,t)=>
40{var a;const{container:n,...r}=e,[i,o]=w.useState(!1);Er(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?uv.createPortal(C.jsx(Ze.div,{...r,ref:t}),s):null});vv.displayName=SC;function CC(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Vd=e=>{const{present:t,children:n}=e,r=TC(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=Nt(r.ref,bC(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Vd.displayName="Presence";function TC(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),s=e?"mounted":"unmounted",[a,l]=CC(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=bs(r.current);o.current=a==="mounted"?u:"none"},[a]),Er(()=>{const u=r.current,c=i.current;if(c!==e){const d=o.current,h=bs(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Er(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,f=h=>{const g=bs(r.current).includes(h.animationName);if(h.target===t&&g&&(l("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},d=h=>{h.target===t&&(o.current=bs(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function bs(e){return(e==null?void 0:e.animationName)||"none"}function bC(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function EC({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=PC({defaultProp:t,onChange:n}),o=e!==void 0,s=o?e:r,a=Gt(n),l=w.useCallback(u=>{if(o){const f=typeof u=="function"?u(e):u;f!==e&&a(f)}else i(u)},[o,e,i,a]);return[s,l]}function PC({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=Gt(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}var kC="VisuallyHidden",qa=w.forwardRef((e,t)=>C.jsx(Ze.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));qa.displayName=kC;var AC=qa,Fd="ToastProvider",[zd,RC,MC]=uC("Toast"),[xv,lN]=hv("Toast",[MC]),[NC,Za]=xv(Fd),wv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=w.useState(null),[u,c]=w.useState(0),f=w.useRef(!1),d=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Fd}\`. Expected non-empty \`string\`.`),C.jsx(zd.Provider,{scope:t,children:C.jsx(NC,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>c(h=>h+1),[]),onToastRemove:w.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:d,children:s})})};wv.displayName=Fd;var Sv="ToastViewport",jC=["F8"],lc="toast.viewportPause",uc="toast.viewportResume",Cv=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=jC,label:i="Notifications ({hotkey})",...o}=e,s=Za(Sv,n),a=RC(n),l=w.useRef(null),u=w.useRef(null),c=w.useRef(null),f=w.useRef(null),d=Nt(t,f,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;w.useEffect(()=>{const x=p=>{var y;r.length!==0&&r.every(S=>p[S]||p.code===S)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),w.useEffect(()=>{const x=l.current,p=f.current;if(v&&x&&p){const m=()=>{if(!s.isClosePausedRef.current){const b=new CustomEvent(lc);p.dispatchEvent(b),s.isClosePausedRef.current=!0}},y=()=>
40{if(s.isClosePausedRef.current){const b=new CustomEvent(uc);p.dispatchEvent(b),s.isClosePausedRef.current=!1}},S=b=>{!x.contains(b.relatedTarget)&&y()},T=()=>{x.contains(document.activeElement)||y()};return x.addEventListener("focusin",m),x.addEventListener("focusout",S),x.addEventListener("pointermove",m),x.addEventListener("pointerleave",T),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{x.removeEventListener("focusin",m),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",m),x.removeEventListener("pointerleave",T),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[v,s.isClosePausedRef]);const g=w.useCallback(({tabbingDirection:x})=>{const m=a().map(y=>{const S=y.ref.current,T=[S,...HC(S)];return x==="forwards"?T:T.reverse()});return(x==="forwards"?m.reverse():m).flat()},[a]);return w.useEffect(()=>{const x=f.current;if(x){const p=m=>{var T,b,k;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const E=document.activeElement,D=m.shiftKey;if(m.target===x&&D){(T=u.current)==null||T.focus();return}const I=g({tabbingDirection:D?"backwards":"forwards"}),W=I.findIndex(O=>O===E);Ql(I.slice(W+1))?m.preventDefault():D?(b=u.current)==null||b.focus():(k=c.current)==null||k.focus()}};return x.addEventListener("keydown",p),()=>x.removeEventListener("keydown",p)}},[a,g]),C.jsxs(wC,{ref:l,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&C.jsx(cc,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});Ql(x)}}),C.jsx(zd.Slot,{scope:n,children:C.jsx(Ze.ol,{tabIndex:-1,...o,ref:d})}),v&&C.jsx(cc,{ref:c,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});Ql(x)}})]})});Cv.displayName=Sv;var Tv="ToastFocusProxy",cc=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=Za(Tv,n);return C.jsx(qa,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});cc.displayName=Tv;var Ja="Toast",DC="toast.swipeStart",OC="toast.swipeMove",LC="toast.swipeCancel",_C="toast.swipeEnd",bv=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a=!0,l]=EC({prop:r,defaultProp:i,onChange:o});return C.jsx(Vd,{present:n||a,children:C.jsx(FC,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Gt(e.onPause),onResume:Gt(e.onResume),onSwipeStart:Ce(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ce(e.onSwipeMove,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Ce(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ce(e.onSwipeEnd,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});bv.displayName=Ja;var[IC,VC]=xv(Ja,{onClose(){}}),FC=w.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:f,onSwipeCancel:d,onSwipeEnd:h,...v}=e,g=Za(Ja,n),[x,p]=w.useState(null),m=Nt(t,O=>p(O)),y=w.useRef(null),S=w.useRef(null),T=i||g.duration,b=w.useRef(0),k=w.useRef(T),E=w.useRef(0),{onToastAdd:D,onToastRemove:N}=g,F=Gt(()=>{var Q;(x==null?void 0:x.contains(document.activeElement))&&((Q=g.viewport)==null||Q.focus()),s()}),I=w.useCallback(O=>
vendor: 4,524 bytes, line 40
40{!O||O===1/0||(window.clearTimeout(E.current),b.current=new Date().getTime(),E.current=window.setTimeout(F,O))},[F]);w.useEffect(()=>{const O=g.viewport;if(O){const Q=()=>{I(k.current),u==null||u()},$=()=>{const z=new Date().getTime()-b.current;k.current=k.current-z,window.clearTimeout(E.current),l==null||l()};return O.addEventListener(lc,$),O.addEventListener(uc,Q),()=>{O.removeEventListener(lc,$),O.removeEventListener(uc,Q)}}},[g.viewport,T,l,u,I]),w.useEffect(()=>{o&&!g.isClosePausedRef.current&&I(T)},[o,T,g.isClosePausedRef,I]),w.useEffect(()=>(D(),()=>N()),[D,N]);const W=w.useMemo(()=>x?Nv(x):null,[x]);return g.viewport?C.jsxs(C.Fragment,{children:[W&&C.jsx(zC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),C.jsx(IC,{scope:n,onClose:F,children:Xo.createPortal(C.jsx(zd.ItemSlot,{scope:n,children:C.jsx(xC,{asChild:!0,onEscapeKeyDown:Ce(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||F(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:C.jsx(Ze.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":g.swipeDirection,...v,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ce(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:Ce(e.onPointerDown,O=>{O.button===0&&(y.current={x:O.clientX,y:O.clientY})}),onPointerMove:Ce(e.onPointerMove,O=>{if(!y.current)return;const Q=O.clientX-y.current.x,$=O.clientY-y.current.y,z=!!S.current,P=["left","right"].includes(g.swipeDirection),M=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,V=P?M(0,Q):0,_=P?0:M(0,$),B=O.pointerType==="touch"?10:2,X={x:V,y:_},le={originalEvent:O,delta:X};z?(S.current=X,Es(OC,f,le,{discrete:!1})):Zh(X,g.swipeDirection,B)?(S.current=X,Es(DC,c,le,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(Q)>B||Math.abs($)>B)&&(y.current=null)}),onPointerUp:Ce(e.onPointerUp,O=>{const Q=S.current,$=O.target;if($.hasPointerCapture(O.pointerId)&&$.releasePointerCapture(O.pointerId),S.current=null,y.current=null,Q){const z=O.currentTarget,P={originalEvent:O,delta:Q};Zh(Q,g.swipeDirection,g.swipeThreshold)?Es(_C,h,P,{discrete:!0}):Es(LC,d,P,{discrete:!0}),z.addEventListener("click",M=>M.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),zC=e=>{const{__scopeToast:t,children:n,...r}=e,i=Za(Ja,t),[o,s]=w.useState(!1),[a,l]=w.useState(!1);return UC(()=>s(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:C.jsx(vv,{asChild:!0,children:C.jsx(qa,{...r,children:o&&C.jsxs(C.Fragment,{children:[i.label," ",n]})})})},BC="ToastTitle",Ev=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return C.jsx(Ze.div,{...r,ref:t})});Ev.displayName=BC;var $C="ToastDescription",Pv=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return C.jsx(Ze.div,{...r,ref:t})});Pv.displayName=$C;var kv="ToastAction",Av=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?C.jsx(Mv,{altText:n,asChild:!0,children:C.jsx(Bd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${kv}\`. Expected non-empty \`string\`.`),null)});Av.displayName=kv;var Rv="ToastClose",Bd=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=VC(Rv,n);return C.jsx(Mv,{asChild:!0,children:C.jsx(Ze.button,{type:"button",...r,ref:t,onClick:Ce(e.onClick,i.onClose)})})});Bd.displayName=Rv;var Mv=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return C.jsx(Ze.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function Nv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),WC(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Nv(r))}}),t}function Es(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?pv(i,o):i.dispatchEvent(o)}var Zh=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function UC(e=()=>{}){const t=Gt(e);Er(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}
vendor: 4,281 bytes, lines 40-70
40function WC(e){return e.nodeType===e.ELEMENT_NODE}function HC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ql(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var KC=wv,jv=Cv,Dv=bv,Ov=Ev,Lv=Pv,_v=Av,Iv=Bd;function Vv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Vv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Fv(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Vv(e))&&(r&&(r+=" "),r+=t);return r}const Jh=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ep=Fv,$d=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ep(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],f=o==null?void 0:o[u];if(c===null)return null;const d=Jh(c)||Jh(f);return i[u][d]}),a=n&&Object.entries(n).reduce((u,c)=>{let[f,d]=c;return d===void 0||(u[f]=d),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:d,...h}=c;return Object.entries(h).every(v=>{let[g,x]=v;return Array.isArray(x)?x.includes({...o,...a}[g]):{...o,...a}[g]===x})?[...u,f,d]:u},[]);return ep(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.515.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const GC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),QC=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),tp=e=>{const t=QC(e);return t.charAt(0).toUpperCase()+t.slice(1)},zv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),YC=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 46 * @license lucide-react v0.515.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var XC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.515.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const qC=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...a},l)=>w.createElement("svg",{ref:l,...XC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:zv("lucide",i),...!o&&!YC(a)&&{"aria-hidden":"true"},...a},[...s.map(([u,c])=>w.createElement(u,c)),...Array.isArray(o)?o:[o]]));/** 56 * @license lucide-react v0.515.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const el=(e,t)=>{const n=w.forwardRef(({className:r,...i},o)=>w.createElement(qC,{ref:o,iconNode:t,className:zv(`lucide-${GC(tp(e))}`,`lucide-${e}`,r),...i}));return n.displayName=tp(e),n};/** 61 * @license lucide-react v0.515.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const ZC=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],JC=el("instagram",ZC);/** 66 * @license lucide-react v0.515.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const eT=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],tT=el("linkedin",eT);
vendor: 6,472 bytes, lines 70-80
70/** 71 * @license lucide-react v0.515.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const nT=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],rT=el("mail",nT);/** 76 * @license lucide-react v0.515.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const iT=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],oT=el("x",iT),Ud="-",sT=e=>{const t=lT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Ud);return a[0]===""&&a.length!==1&&a.shift(),Bv(a,t)||aT(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},Bv=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Bv(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(Ud);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},np=/^\[(.+)\]$/,aT=e=>{if(np.test(e)){const t=np.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},lT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return cT(Object.entries(e.classGroups),n).forEach(([o,s])=>{dc(s,r,o,t)}),r},dc=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:rp(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(uT(i)){dc(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{dc(s,rp(t,o),n,r)})})},rp=(e,t)=>{let n=e;return t.split(Ud).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},uT=e=>e.isThemeGetter,cT=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e,dT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}},$v="!",fT=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=a=>{const l=[];let u=0,c=0,f;for(let x=0;x<a.length;x++){let p=a[x];if(u===0){if(p===i&&(r||a.slice(x,x+o)===t)){l.push(a.slice(c,x)),c=x+o;continue}if(p==="/"){f=x;continue}}p==="["?u++:p==="]"&&u--}const d=l.length===0?a:a.substring(c),h=d.startsWith($v),v=h?d.substring(1):d,g=f&&f>c?f-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},hT=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},pT=e=>({cache:dT(e.cacheSize),parseClassName:fT(e),...sT(e)}),mT=/\s+/,gT=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(mT);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:h}=n(u);let v=!!h,g=r(v?d.substring(0,h):d);if(!g){if(!v){a=u+(a.length>0?" "+a:a);continue}if(g=r(d),!g){a=u+(a.length>0?" "+a:a);continue}v=!1}const x=hT(c).join(":"),p=f?x+$v:x,m=p+g;if(o.includes(m))continue;o.push(m);const y=i(g,v);for(let S=0;S<y.length;++S){const T=y[S];o.push(p+T)}a=u+(a.length>0?" "+a:a)}return a};function yT(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Uv(t))&&(r&&(r+=" "),r+=n);return r}const Uv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Uv(e[r]))&&(n&&(n+=" "),n+=t);return n};function vT(e,...t){let n,r,i,o=s;function s(l){const u=t.reduce((c,f)=>f(c),e());return n=pT(u),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=gT(l,n);return i(l,c),c}return function(){return o(yT.apply(null,arguments))}}const ie=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Wv=/^\[(?:([a-z-]+):)?(.+)\]$/i,xT=/^\d+\/\d+$/,wT=new Set(["px","full","screen"]),ST=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,CT=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,TT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ET=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xt=e=>ri(e)||wT.has(e)||xT.test(e),wn=e=>Ri(e,"length",DT),ri=e=>!!e&&!Number.isNaN(Number(e)),Yl=e=>Ri(e,"number",ri),Wi=e=>!!e&&Number.isInteger(Number(e)),PT=e=>e.endsWith("%")&&ri(e.slice(0,-1)),K=e=>Wv.test(e),Sn=e=>ST.test(e),kT=new Set(["length","size","percentage"]),AT=e=>Ri(e,kT,Hv),RT=e=>Ri(e,"position",Hv),MT=new Set(["image","url"]),NT=e=>Ri(e,MT,LT),jT=e=>Ri(e,"",OT),Hi=()=>!0,Ri=(e,t,n)=>{const r=Wv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},DT=e=>CT.test(e)&&!TT.test(e),Hv=()=>!1,OT=e=>bT.test(e),LT=e=>ET.test(e),_T=()=>{const e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),i=ie("borderColor"),o=ie("borderRadius"),s=ie("borderSpacing"),a=ie("borderWidth"),l=ie("contrast"),u=ie("grayscale"),c=ie("hueRotate"),f=ie("invert"),d=ie("gap"),h=ie("gradientColorStops"),v=ie("gradientColorStopPositions"),g=ie("inset"),x=ie("margin"),p=ie("opacity"),m=ie("padding"),y=ie("saturate"),S=ie("scale"),T=ie("sepia"),b=ie("skew"),k=ie("space"),E=ie("translate"),D=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",K,t],I=()=>[K,t],W=()=>["",Xt,wn],O=()=>["auto",ri,K],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",K],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[ri,K];return{cacheSize:500,separator:":",theme:{colors:[Hi],spacing:[Xt,wn],blur:["none","",Sn,K],brightness:_(),borderColor:[e],borderRadius:["n
80one","","full",Sn,K],borderSpacing:I(),borderWidth:W(),contrast:_(),grayscale:M(),hueRotate:_(),invert:M(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[PT,wn],inset:F(),margin:F(),opacity:_(),padding:I(),saturate:_(),scale:_(),sepia:M(),skew:_(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[Sn]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Q(),K]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Wi,K]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",Wi,K]}],"grid-cols":[{"grid-cols":[Hi]}],"col-start-end":[{col:["auto",{span:["full",Wi,K]},K]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Hi]}],"row-start-end":[{row:["auto",{span:[Wi,K]},K]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[Sn]},Sn]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Sn,wn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yl]}],"font-family":[{font:[Hi]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",K]}],"line-clamp":[{"line-clamp":["none",ri,Yl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xt,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xt,wn]}],"underline-offset":[{"underline-offset":["auto",Xt,K]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),RT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",AT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},NT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 4,231 bytes, line 80
80],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:$()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[Xt,K]}],"outline-w":[{outline:[Xt,wn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[Xt,wn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Sn,jT]}],"shadow-color":[{shadow:[Hi]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Sn,K]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[y]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Wi,K]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",
vendor: 5,587 bytes, line 80
80K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xt,wn,Yl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},IT=vT(_T);function hn(...e){return IT(Fv(e))}const VT=KC,Kv=w.forwardRef(({className:e,...t},n)=>C.jsx(jv,{ref:n,className:hn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Kv.displayName=jv.displayName;const FT=$d("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Gv=w.forwardRef(({className:e,variant:t,...n},r)=>C.jsx(Dv,{ref:r,className:hn(FT({variant:t}),e),...n}));Gv.displayName=Dv.displayName;const zT=w.forwardRef(({className:e,...t},n)=>C.jsx(_v,{ref:n,className:hn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));zT.displayName=_v.displayName;const Qv=w.forwardRef(({className:e,...t},n)=>C.jsx(Iv,{ref:n,className:hn("absolute right-2 top-2 rounded-md p-1 text-foreground
80/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:C.jsx(oT,{className:"h-4 w-4"})}));Qv.displayName=Iv.displayName;const Yv=w.forwardRef(({className:e,...t},n)=>C.jsx(Ov,{ref:n,className:hn("text-sm font-semibold",e),...t}));Yv.displayName=Ov.displayName;const Xv=w.forwardRef(({className:e,...t},n)=>C.jsx(Lv,{ref:n,className:hn("text-sm opacity-90",e),...t}));Xv.displayName=Lv.displayName;function BT(){const{toasts:e}=nC();return C.jsxs(VT,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return C.jsxs(Gv,{...o,children:[C.jsxs("div",{className:"grid gap-1",children:[n&&C.jsx(Yv,{children:n}),r&&C.jsx(Xv,{children:r})]}),i,C.jsx(Qv,{})]},t)}),C.jsx(Kv,{})]})}var ip=["light","dark"],$T="(prefers-color-scheme: dark)",UT=w.createContext(void 0),WT={setTheme:e=>{},themes:[]},HT=()=>{var e;return(e=w.useContext(UT))!=null?e:WT};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:s,attrs:a,nonce:l})=>{let u=o==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;
80${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?ip.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",d=(v,g=!1,x=!0)=>{let p=s?s[v]:v,m=g?v+"|| ''":`'${p}'`,y="";return i&&x&&!g&&ip.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),n==="class"?g||p?y+=`c.add(${m})`:y+="null":p&&(y+=`d[s](n,${m})`),y},h=e?`!function(){${c}${d(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${$T}',m=window.matchMedia(t);if(m.media!==t||m.matches){${d("dark")}}else{${d("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}${u?"":"else{"+d(o,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}else{${d(o,!1,!1)};}${f}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var KT=e=>{switch(e){case"success":return YT;case"info":return qT;case"warning":return XT;case"error":return ZT;default:return null}},GT=Array(12).fill(0),QT=({visible:e})=>j.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},j.createElement("div",{className:"sonner-spinner"},GT.map((t,n)=>j.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),YT=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),XT=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),qT=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),ZT=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),JT=()=>{let[e,t]=j.useState(document.hidden);return j.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},fc=1,eb=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:fc++,o=this.toasts.find(a=>a.id===i),s=e.dismissible===void 0?!0:e.dismissible;return o?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:i}),i},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>
80this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0;return r.then(async o=>{if(nb(o)&&!o.ok){i=!1;let s=typeof t.error=="function"?await t.error(`HTTP error! status: ${o.status}`):t.error,a=typeof t.description=="function"?await t.description(`HTTP error! status: ${o.status}`):t.description;this.create({id:n,type:"error",message:s,description:a})}else if(t.success!==void 0){i=!1;let s=typeof t.success=="function"?await t.success(o):t.success,a=typeof t.description=="function"?await t.description(o):t.description;this.create({id:n,type:"success",message:s,description:a})}}).catch(async o=>{if(t.error!==void 0){i=!1;let s=typeof t.error=="function"?await t.error(o):t.error,a=typeof t.description=="function"?await t.description(o):t.description;this.create({id:n,type:"error",message:s,description:a})}}).finally(()=>{var o;i&&(this.dismiss(n),n=void 0),(o=t.finally)==null||o.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||fc++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},tt=new eb,tb=(e,t)=>{let n=(t==null?void 0:t.id)||fc++;return tt.addToast({title:e,...t,id:n}),n},nb=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",rb=tb,ib=()=>tt.toasts;Object.assign(rb,{success:tt.success,info:tt.info,warning:tt.warning,error:tt.error,custom:tt.custom,message:tt.message,promise:tt.promise,dismiss:tt.dismiss,loading:tt.loading},{getHistory:ib});function ob(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}ob(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
80left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
80:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 81`);function Ps(e){return e.label!==void 0}var sb=3,ab="32px",lb=4e3,ub=356,cb=14,db=20,fb=200;function hb(...e){return e.filter(Boolean).join(" ")}var pb=e=>{var t,n,r,i,o,s,a,l,u,c;let{invert:f,toast:d,unstyled:h,interacting:v,setHeights:g,visibleToasts:x,heights:p,index:m,toasts:y,exp
81anded:S,removeToast:T,defaultRichColors:b,closeButton:k,style:E,cancelButtonStyle:D,actionButtonStyle:N,className:F="",descriptionClassName:I="",duration:W,position:O,gap:Q,loadingIcon:$,expandByDefault:z,classNames:P,icons:M,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:_,cn:B}=e,[X,le]=j.useState(!1),[Je,J]=j.useState(!1),[wt,pn]=j.useState(!1),[mn,gn]=j.useState(!1),[ns,Rr]=j.useState(0),[nr,Li]=j.useState(0),rs=j.useRef(null),yn=j.useRef(null),ml=m===0,gl=m+1<=x,Pe=d.type,Mr=d.dismissible!==!1,vw=d.className||"",xw=d.descriptionClassName||"",is=j.useMemo(()=>p.findIndex(H=>H.toastId===d.id)||0,[p,d.id]),ww=j.useMemo(()=>{var H;return(H=d.closeButton)!=null?H:k},[d.closeButton,k]),Of=j.useMemo(()=>d.duration||W||lb,[d.duration,W]),yl=j.useRef(0),Nr=j.useRef(0),Lf=j.useRef(0),jr=j.useRef(null),[_f,Sw]=O.split("-"),If=j.useMemo(()=>p.reduce((H,re,te)=>te>=is?H:H+re.height,0),[p,is]),Vf=JT(),Cw=d.invert||f,vl=Pe==="loading";Nr.current=j.useMemo(()=>is*Q+If,[is,If]),j.useEffect(()=>{le(!0)},[]),j.useLayoutEffect(()=>{if(!X)return;let H=yn.current,re=H.style.height;H.style.height="auto";let te=H.getBoundingClientRect().height;H.style.height=re,Li(te),g(Ot=>Ot.find(Lt=>Lt.toastId===d.id)?Ot.map(Lt=>Lt.toastId===d.id?{...Lt,height:te}:Lt):[{toastId:d.id,height:te,position:d.position},...Ot])},[X,d.title,d.description,g,d.id]);let vn=j.useCallback(()=>{J(!0),Rr(Nr.current),g(H=>H.filter(re=>re.toastId!==d.id)),setTimeout(()=>{T(d)},fb)},[d,T,g,Nr]);j.useEffect(()=>{if(d.promise&&Pe==="loading"||d.duration===1/0||d.type==="loading")return;let H,re=Of;return S||v||_&&Vf?(()=>{if(Lf.current<yl.current){let te=new Date().getTime()-yl.current;re=re-te}Lf.current=new Date().getTime()})():re!==1/0&&(yl.current=new Date().getTime(),H=setTimeout(()=>{var te;(te=d.onAutoClose)==null||te.call(d,d),vn()},re)),()=>clearTimeout(H)},[S,v,z,d,Of,vn,d.promise,Pe,_,Vf]),j.useEffect(()=>{let H=yn.current;if(H){let re=H.getBoundingClientRect().height;return Li(re),g(te=>[{toastId:d.id,height:re,position:d.position},...te]),()=>g(te=>te.filter(Ot=>Ot.toastId!==d.id))}},[g,d.id]),j.useEffect(()=>{d.delete&&vn()},[vn,d.delete]);function Tw(){return M!=null&&M.loading?j.createElement("div",{className:"sonner-loader","data-visible":Pe==="loading"},M.loading):$?j.createElement("div",{className:"sonner-loader","data-visible":Pe==="loading"},$):j.createElement(QT,{visible:Pe==="loading"})}return j.createElement("li",{"aria-live":d.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:yn,className:B(F,vw,P==null?void 0:P.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[Pe],(n=d==null?void 0:d.classNames)==null?void 0:n[Pe]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:b,"data-styled":!(d.jsx||d.unstyled||h),"data-mounted":X,"data-promise":!!d.promise,"data-removed":Je,"data-visible":gl,"data-y-position":_f,"data-x-position":Sw,"data-index":m,"data-front":ml,"data-swiping":wt,"data-dismissible":Mr,"data-type":Pe,"data-invert":Cw,"data-swipe-out":mn,"data-expanded":!!(S||z&&X),style:{"--index":m,"--toasts-before":m,"--z-index":y.length-m,"--offset":`${Je?ns:Nr.current}px`,"--initial-height":z?"auto":`${nr}px`,...E,...d.style},onPointerDown:H=>{vl||!Mr||(rs.current=new Date,Rr(Nr.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(pn(!0),jr.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,re,te,Ot;if(mn||!Mr)return;jr.current=null;let Lt=Number(((H=yn.current)==null?void 0:H.style.getPropertyValue("--swipe-amount").replace("px",""))||0),os=new Date().getTime()-((re=rs.current)==null?void 0:re.getTime()),bw=Math.abs(Lt)/os;if(Math.abs(Lt)>=db||bw>.11){Rr(Nr.current),(te=d.onDismiss)==null||te.call(d,d),vn(),gn(!0);return}(Ot=yn.current)==null||Ot.style.setProperty("--swipe-amount","0px"),pn(!1)},onPointerMove:H=>{var re;if(!jr.current||!Mr)return;let te=H.clientY-jr.current.y,Ot=H.clientX-jr.current.x,Lt=(_f==="top"?Math.min:Math.max)(0,te),os=H.pointerType==="touch"?10:2;Math.abs(Lt)>os?(re=yn.current)==null||re.style.setProperty("--swipe-amount",`${te}px`):Math.abs(Ot)>os&&(jr.current=null)}},ww&&!d.jsx?j.createElement("button",{"aria-label":V,"data-disabled":vl,"data-close-button":!0,onClick:vl||!Mr?()=>{}:()=>{var H;vn(),(H=d.onDismiss)==null||H.call(d,d)},className:B(P==null?void 0:P.closeButton,(i=d==null?void 0:d.classNames)==null?void 0:i.closeButton)},j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},j.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),j.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,d.jsx||j.isValidElement(d.title)?d.jsx||d.title:j.createElement(j.Fragment,null,Pe||d.icon||d.promise?j.createElement("div",{"data-icon":"",className:B(P==null?void 0:P.icon,(o=d==null?void 0:d.classNames)==null?void 0:o.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||Tw():null,d.type!=="loading"?d.icon||(M==null?void 0:M[Pe])||KT(Pe):null):null,j.createElement("div",{"data-content":"",className:B(P==null?void 0:P.content,(s=d==null?void 0:d.classNames)==null?void 0:s.content)},j.createElement("div",{"data-title":"",className:B(P==null?void 0:P.title,(a=d==null?void 0:d.classNames)==null?void 0:a.title)},d.title),d.description?j.createElement("div",{"data-description":"",className:B(I,xw,P==null?void 0:P.description,(l=d==null?void 0:d.classNames)==null?void 0:l.description)},d.description):null),j.isValidElement(d.cancel)?d.cancel:d.cancel&&Ps(d.cancel)?j.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||D,onClick:H=>{var re,te;Ps(d.cancel)&&Mr&&((te=(re=d.cancel).onClick)==null||te.call(re,H),vn())},className:B(P==null?void 0:P.cancelButton,(u=d==null?void 0:d.classNames)==null?void 0:u.cancelButton)},d.cancel.label):null,j.isValidElement(d.action)?d.action:d.action&&Ps(d.action)?j.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||N,onClick:H=>{var re,te;Ps(d.action)&&(H.defaultPrevented||((te=(re=d.action).onClick)==null||te.call(re,H),vn()))},className:B(P==null?void 0:P.actionButton,(c=d==null?void 0:d.classNames)==null?void 0:c.actionButton)},d.action.label):null))};
81function op(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var mb=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:i,closeButton:o,className:s,offset:a,theme:l="light",richColors:u,duration:c,style:f,visibleToasts:d=sb,toastOptions:h,dir:v=op(),gap:g=cb,loadingIcon:x,icons:p,containerAriaLabel:m="Notifications",pauseWhenPageIsHidden:y,cn:S=hb}=e,[T,b]=j.useState([]),k=j.useMemo(()=>Array.from(new Set([n].concat(T.filter(_=>_.position).map(_=>_.position)))),[T,n]),[E,D]=j.useState([]),[N,F]=j.useState(!1),[I,W]=j.useState(!1),[O,Q]=j.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),$=j.useRef(null),z=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=j.useRef(null),M=j.useRef(!1),V=j.useCallback(_=>{var B;(B=T.find(X=>X.id===_.id))!=null&&B.delete||tt.dismiss(_.id),b(X=>X.filter(({id:le})=>le!==_.id))},[T]);return j.useEffect(()=>tt.subscribe(_=>{if(_.dismiss){b(B=>B.map(X=>X.id===_.id?{...X,delete:!0}:X));return}setTimeout(()=>{uv.flushSync(()=>{b(B=>{let X=B.findIndex(le=>le.id===_.id);return X!==-1?[...B.slice(0,X),{...B[X],..._},...B.slice(X+1)]:[_,...B]})})})}),[]),j.useEffect(()=>{if(l!=="system"){Q(l);return}l==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Q("dark"):Q("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:_})=>{Q(_?"dark":"light")})},[l]),j.useEffect(()=>{T.length<=1&&F(!1)},[T]),j.useEffect(()=>{let _=B=>{var X,le;r.every(Je=>B[Je]||B.code===Je)&&(F(!0),(X=$.current)==null||X.focus()),B.code==="Escape"&&(document.activeElement===$.current||(le=$.current)!=null&&le.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[r]),j.useEffect(()=>{if($.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,M.current=!1)}},[$.current]),T.length?j.createElement("section",{"aria-label":`${m} ${z}`,tabIndex:-1},k.map((_,B)=>{var X;let[le,Je]=_.split("-");return j.createElement("ol",{key:_,dir:v==="auto"?op():v,tabIndex:-1,ref:$,className:s,"data-sonner-toaster":!0,"data-theme":O,"data-y-position":le,"data-x-position":Je,style:{"--front-toast-height":`${((X=E[0])==null?void 0:X.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||ab,"--width":`${ub}px`,"--gap":`${g}px`,...f},onBlur:J=>{M.current&&!J.currentTarget.contains(J.relatedTarget)&&(M.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||M.current||(M.current=!0,P.current=J.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{I||F(!1)},onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||W(!0)},onPointerUp:()=>W(!1)},T.filter(J=>!J.position&&B===0||J.position===_).map((J,wt)=>{var pn,mn;return j.createElement(pb,{key:J.id,icons:p,index:wt,toast:J,defaultRichColors:u,duration:(pn=h==null?void 0:h.duration)!=null?pn:c,className:h==null?void 0:h.className,descriptionClassName:h==null?void 0:h.descriptionClassName,invert:t,visibleToasts:d,closeButton:(mn=h==null?void 0:h.closeButton)!=null?mn:o,interacting:I,position:_,style:h==null?void 0:h.style,unstyled:h==null?void 0:h.unstyled,classNames:h==null?void 0:h.classNames,cancelButtonStyle:h==null?void 0:h.cancelButtonStyle,actionButtonStyle:h==null?void 0:h.actionButtonStyle,removeToast:V,toasts:T.filter(gn=>gn.position==J.position),heights:E.filter(gn=>gn.position==J.position),setHeights:D,expandByDefault:i,gap:g,loadingIcon:x,expanded:N,pauseWhenPageIsHidden:y,cn:S})}))})):null};const gb=({...e})=>{const{theme:t="system"}=HT();return C.jsx(mb,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},yb=["top","right","bottom","left"],Kn=Math.min,rt=Math.max,Ca=Math.round,ks=Math.floor,Gn=e=>({x:e,y:e}
vendor: 1,399 bytes, line 81
81),vb={left:"right",right:"left",bottom:"top",top:"bottom"},xb={start:"end",end:"start"};function hc(e,t,n){return rt(e,Kn(t,n))}function ln(e,t){return typeof e=="function"?e(t):e}function un(e){return e.split("-")[0]}function Mi(e){return e.split("-")[1]}function Wd(e){return e==="x"?"y":"x"}function Hd(e){return e==="y"?"height":"width"}function Qn(e){return["top","bottom"].includes(un(e))?"y":"x"}function Kd(e){return Wd(Qn(e))}function wb(e,t,n){n===void 0&&(n=!1);const r=Mi(e),i=Kd(e),o=Hd(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Ta(s)),[s,Ta(s)]}function Sb(e){const t=Ta(e);return[pc(e),t,pc(t)]}function pc(e){return e.replace(/start|end/g,t=>xb[t])}function Cb(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}function Tb(e,t,n,r){const i=Mi(e);let o=Cb(un(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(pc)))),o}function Ta(e){return e.replace(/left|right|bottom|top/g,t=>vb[t])}function bb(e){return{top:0,right:0,bottom:0,left:0,...e}}function qv(e){return typeof e!="number"?bb(e):{top:e,right:e,bottom:e,left:e}}function ba(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}
vendor: 10,102 bytes, line 81
81function sp(e,t,n){let{reference:r,floating:i}=e;const o=Qn(t),s=Kd(t),a=Hd(s),l=un(t),u=o==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Mi(t)){case"start":h[s]-=d*(n&&u?-1:1);break;case"end":h[s]+=d*(n&&u?-1:1);break}return h}const Eb=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=sp(u,r,l),d=r,h={},v=0;for(let g=0;g<a.length;g++){const{name:x,fn:p}=a[g],{x:m,y,data:S,reset:T}=await p({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=m??c,f=y??f,h={...h,[x]:{...h[x],...S}},T&&v<=50&&(v++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(u=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):T.rects),{x:c,y:f}=sp(u,d,l)),g=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}};async function jo(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ln(t,e),v=qv(h),x=a[d?f==="floating"?"reference":"floating":f],p=ba(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=f==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),S=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},T=ba(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:y,strategy:l}):m);return{top:(p.top-T.top+v.top)/S.y,bottom:(T.bottom-p.bottom+v.bottom)/S.y,left:(p.left-T.left+v.left)/S.x,right:(T.right-p.right+v.right)/S.x}}const Pb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=ln(e,t)||{};if(u==null)return{};const f=qv(c),d={x:n,y:r},h=Kd(i),v=Hd(h),g=await s.getDimensions(u),x=h==="y",p=x?"top":"left",m=x?"bottom":"right",y=x?"clientHeight":"clientWidth",S=o.reference[v]+o.reference[h]-d[h]-o.floating[v],T=d[h]-o.reference[h],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let k=b?b[y]:0;(!k||!await(s.isElement==null?void 0:s.isElement(b)))&&(k=a.floating[y]||o.floating[v]);const E=S/2-T/2,D=k/2-g[v]/2-1,N=Kn(f[p],D),F=Kn(f[m],D),I=N,W=k-g[v]-F,O=k/2-g[v]/2+E,Q=hc(I,O,W),$=!l.arrow&&Mi(i)!=null&&O!==Q&&o.reference[v]/2-(O<I?N:F)-g[v]/2<0,z=$?O<I?O-I:O-W:0;return{[h]:d[h]+z,data:{[h]:Q,centerOffset:O-Q-z,...$&&{alignmentOffset:z}},reset:$}}}),kb=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...x}=ln(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const p=un(i),m=Qn(a),y=un(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),T=d||(y||!g?[Ta(a)]:Sb(a)),b=v!=="none";!d&&b&&T.push(...Tb(a,g,v,S));const k=[a,...T],E=await jo(t,x),D=[];let N=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&D.push(E[p]),f){const O=wb(i,s,S);D.push(E[O[0]],E[O[1]])}if(N=[...N,{placement:i,overflows:D}],!D.every(O=>O<=0)){var F,I;const O=(((F=o.flip)==null?void 0:F.index)||0)+1,Q=k[O];if(Q)return{data:{index:O,overflows:N},reset:{placement:Q}};let $=(I=N.filter(z=>z.overflows[0]<=0).sort((z,P)=>z.overflows[1]-P.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(h){case"bestFit":{var W;const z=(W=N.filter(P=>{if(b){const M=Qn(P.placement);return M===m||M==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(M=>M>0).reduce((M,V)=>M+V,0)]).sort((P,M)=>P[1]-M[1])[0])==null?void 0:W[0];z&&($=z);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};function ap(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function lp(e){return yb.some(t=>e[t]>=0)}const Ab=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=ln(e,t);switch(r){case"referenceHidden":{const o=await jo(t,{...i,elementContext:"reference"}),s=ap(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:lp(s)}}}case"escaped":{const o=await jo(t,{...i,altBoundary:!0}),s=ap(o,n.floating);return{data:{escapedOffsets:s,escaped:lp(s)}}}default:return{}}}}};async function Rb(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=un(n),a=Mi(n),l=Qn(n)==="y",u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,f=ln(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof v=="number"&&(h=a==="end"?v*-1:v),l?{x:h*c,y:d*u}:{x:d*u,y:h*c}}const Mb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await Rb(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},Nb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:p,y:m}=x;return{x:p,y:m}}},...l}=ln(e,t),u={x:n,y:r},c=await jo(t,l),f=Qn(un(i)),d=Wd(f);let h=u[d],v=u[f];if(o){const x=d==="y"?"top":"left",p=d==="y"?"bottom":"right",m=h+c[x],y=h-c[p];h=hc(m,h,y)}if(s){const x=f==="y"?"top":"left",p=f==="y"?"bottom":"right",m=v+c[x],y=v-c[p];v=hc(m,v,y)}const g=a.fn({...t,[d]:h,[f]:v});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:o,[f]:s}}}}}},jb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=ln(e,t),c={x:n,y:r},f=Qn(i),d=Wd(f);let h=c[d],v=c[f];const g=ln(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const y=d==="y"?"height":"width",S=o.reference[d]-o.floating[y]+x.mainAxis,T=o.reference[d]+o.reference[y]-x.mainAxis;h<S?h=S:h>T&&(h=T)}if(u){var p,m;const y=d==="y"?"width":"height",S=["top","left"].includes(un(i)),T=o.reference[f]-o.floating[y]+(S&&((p=s.offset)==null?void 0:p[f])||0)+(S?0:x.crossAxis),b=o.reference[f]+o.reference[y]+(S?0:((m=s.offset)==null?void 0:m[f])||0)-(S?x.crossAxis:0);v<T?v=T:v>b&&(v=b)}return{[d]:h,[f]:v}}}},Db=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...u}=ln(e,t),c=await jo(t,u),f=un(i),d=Mi(i),h=Qn(i)==="y",{width:v,height:g}=o.floating;let x,p;f==="top"||f==="bottom"?(x=f,p=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(p=f,x=d==="end"?"top":"bottom");const m=g-c.top-c.bottom,y=v-c.left-c.right,S=Kn(g-c[x],m),T=Kn(v-c[p],y),b=!t.middlewareData.shift;let k=S,E=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=m),b&&!d){const N=rt(c.left,0),F=rt(c.right,0),I=rt(c.top,0),W=rt(c.bottom,0);h?E=v-2*(N!==0||F!==0?N+F:rt(c.left,c.right)):k=g-2*(I!==0||W!==0?I+W:rt(c.top,c.bottom))}await l({...t,availableWidth:E,availableHeight:k});const D=await s.getDimensions(a.floating);return v!==D.width||g!==D.height?{reset:{rects:!0}}:{}}}};function tl(){return typeof window<"u"}function Ni(e){return Zv(e)?(e.nodeName||"").toLowerCase():"#document"}function st(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yt(e){var t;return(t=(Zv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zv(e){return tl()?e instanceof Node||e instanceof st(e).Node:!1}function jt(e){return tl()?e instanceof Element||e instanceof st(e).Element:!1}function Qt(e){return tl()?e instanceof HTMLElement||e instanceof st(e).HTMLElement:!1}function up(e){return!tl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof st(e).ShadowRoot}function qo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Dt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Ob(e){return["table","td","th"].includes(Ni(e))}function nl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Gd(e){const t=Qd(),n=jt(e)?Dt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Lb(e){let t=Yn(e);for(;Qt(t)&&!Ci(t);){if(Gd(t))return t;if(nl(t))return null;t=Yn(t)}return null}function Qd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ci(e){return["html","body","#document"].includes(Ni(e))}function Dt(e){return st(e).getComputedStyle(e)}function rl(e){return jt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Yn(e){if(Ni(e)==="html")return e;const t=e.assignedSlot||e.parentNode||up(e)&&e.host||Yt(e);return up(t)?t.host:t}function Jv(e){const t=Yn(e);return Ci(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qt(t)&&qo(t)?t:Jv(t)}
vendor: 5,416 bytes, line 81
81function Do(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Jv(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=st(i);if(o){const a=mc(s);return t.concat(s,s.visualViewport||[],qo(i)?i:[],a&&n?Do(a):[])}return t.concat(i,Do(i,[],n))}function mc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function e0(e){const t=Dt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Qt(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=Ca(n)!==o||Ca(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function Yd(e){return jt(e)?e:e.contextElement}function ii(e){const t=Yd(e);if(!Qt(t))return Gn(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=e0(t);let s=(o?Ca(n.width):n.width)/r,a=(o?Ca(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const _b=Gn(0);function t0(e){const t=st(e);return!Qd()||!t.visualViewport?_b:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ib(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==st(e)?!1:t}function Pr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Yd(e);let s=Gn(1);t&&(r?jt(r)&&(s=ii(r)):s=ii(e));const a=Ib(o,n,r)?t0(o):Gn(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,c=i.width/s.x,f=i.height/s.y;if(o){const d=st(o),h=r&&jt(r)?st(r):r;let v=d,g=mc(v);for(;g&&r&&h!==v;){const x=ii(g),p=g.getBoundingClientRect(),m=Dt(g),y=p.left+(g.clientLeft+parseFloat(m.paddingLeft))*x.x,S=p.top+(g.clientTop+parseFloat(m.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,f*=x.y,l+=y,u+=S,v=st(g),g=mc(v)}}return ba({width:c,height:f,x:l,y:u})}function Vb(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=Yt(r),a=t?nl(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=Gn(1);const c=Gn(0),f=Qt(r);if((f||!f&&!o)&&((Ni(r)!=="body"||qo(s))&&(l=rl(r)),Qt(r))){const d=Pr(r);u=ii(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function Fb(e){return Array.from(e.getClientRects())}function gc(e,t){const n=rl(e).scrollLeft;return t?t.left+n:Pr(Yt(e)).left+n}function zb(e){const t=Yt(e),n=rl(e),r=e.ownerDocument.body,i=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+gc(e);const a=-n.scrollTop;return Dt(r).direction==="rtl"&&(s+=rt(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function Bb(e,t){const n=st(e),r=Yt(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=Qd();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function $b(e,t){const n=Pr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Qt(e)?ii(e):Gn(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,u=r*o.y;return{width:s,height:a,x:l,y:u}}function cp(e,t,n){let r;if(t==="viewport")r=Bb(e,n);else if(t==="document")r=zb(Yt(e));else if(jt(t))r=$b(t,n);else{const i=t0(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return ba(r)}function n0(e,t){const n=Yn(e);return n===t||!jt(n)||Ci(n)?!1:Dt(n).position==="fixed"||n0(n,t)}function Ub(e,t){const n=t.get(e);if(n)return n;let r=Do(e,[],!1).filter(a=>jt(a)&&Ni(a)!=="body"),i=null;const o=Dt(e).position==="fixed";let s=o?Yn(e):e;for(;jt(s)&&!Ci(s);){const a=Dt(s),l=Gd(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||qo(s)&&!l&&n0(e,s))?r=r.filter(c=>c!==s):i=a,s=Yn(s)}return t.set(e,r),r}function Wb(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?nl(t)?[]:Ub(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const f=cp(t,c,i);return u.top=rt(f.top,u.top),u.right=Kn(f.right,u.right),u.bottom=Kn(f.bottom,u.bottom),u.left=rt(f.left,u.left),u},cp(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Hb(e){const{width:t,height:n}=e0(e);return{width:t,height:n}}function Kb(e,t,n){const r=Qt(t),i=Yt(t),o=n==="fixed",s=Pr(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Gn(0);if(r||!r&&!o)if((Ni(t)!=="body"||qo(i))&&(a=rl(t)),r){const h=Pr(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&(l.x=gc(i));let u=0,c=0;if(i&&!r&&!o){const h=i.getBoundingClientRect();c=h.top+a.scrollTop,u=h.left+a.scrollLeft-gc(i,h)}const f=s.left+a.scrollLeft-l.x-u,d=s.top+a.scrollTop-l.y-c;return{x:f,y:d,width:s.width,height:s.height}}function Xl(e){return Dt(e).position==="static"}function dp(e,t){if(!Qt(e)||Dt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Yt(e)===n&&(n=n.ownerDocument.body),n}function r0(e,t){const n=st(e);if(nl(e))return n;if(!Qt(e)){let i=Yn(e);for(;i&&!Ci(i);){if(jt(i)&&!Xl(i))return i;i=Yn(i)}return n}let r=dp(e,t);for(;r&&Ob(r)&&Xl(r);)r=dp(r,t);return r&&Ci(r)&&Xl(r)&&!Gd(r)?n:r||Lb(e)||n}const Gb=async function(e){const t=this.getOffsetParent||r0,n=this.getDimensions,r=await n(e.floating);return{reference:Kb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Qb(e){return Dt(e).direction==="rtl"}const Yb={convertOffsetParentRelativeRectToViewportRelativeRect:Vb,getDocumentElement:Yt,getClippingRect:Wb,getOffsetParent:r0,getElementRects:Gb,getClientRects:Fb,getDimensions:Hb,getScale:ii,isElement:jt,isRTL:
vendor: 9,221 bytes, line 81
81Qb};function Xb(e,t){let n=null,r;const i=Yt(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const{left:u,top:c,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const h=ks(c),v=ks(i.clientWidth-(u+f)),g=ks(i.clientHeight-(c+d)),x=ks(u),m={rootMargin:-h+"px "+-v+"px "+-g+"px "+-x+"px",threshold:rt(0,Kn(1,l))||1};let y=!0;function S(T){const b=T[0].intersectionRatio;if(b!==l){if(!y)return s();b?s(!1,b):r=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(S,{...m,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,m)}n.observe(e)}return s(!0),o}function qb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Yd(e),c=i||o?[...u?Do(u):[],...Do(t)]:[];c.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),o&&p.addEventListener("resize",n)});const f=u&&a?Xb(u,n):null;let d=-1,h=null;s&&(h=new ResizeObserver(p=>{let[m]=p;m&&m.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let v,g=l?Pr(e):null;l&&x();function x(){const p=Pr(e);g&&(p.x!==g.x||p.y!==g.y||p.width!==g.width||p.height!==g.height)&&n(),g=p,v=requestAnimationFrame(x)}return n(),()=>{var p;c.forEach(m=>{i&&m.removeEventListener("scroll",n),o&&m.removeEventListener("resize",n)}),f==null||f(),(p=h)==null||p.disconnect(),h=null,l&&cancelAnimationFrame(v)}}const Zb=Mb,Jb=Nb,eE=kb,tE=Db,nE=Ab,fp=Pb,rE=jb,iE=(e,t,n)=>{const r=new Map,i={platform:Yb,...n},o={...i.platform,_c:r};return Eb(e,t,{...i,platform:o})};var Gs=typeof document<"u"?w.useLayoutEffect:w.useEffect;function Ea(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ea(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Ea(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function i0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hp(e,t){const n=i0(e);return Math.round(t*n)/n}function ql(e){const t=w.useRef(e);return Gs(()=>{t.current=e}),t}function oE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=w.useState(r);Ea(d,r)||h(r);const[v,g]=w.useState(null),[x,p]=w.useState(null),m=w.useCallback(P=>{P!==b.current&&(b.current=P,g(P))},[]),y=w.useCallback(P=>{P!==k.current&&(k.current=P,p(P))},[]),S=o||v,T=s||x,b=w.useRef(null),k=w.useRef(null),E=w.useRef(c),D=l!=null,N=ql(l),F=ql(i),I=ql(u),W=w.useCallback(()=>{if(!b.current||!k.current)return;const P={placement:t,strategy:n,middleware:d};F.current&&(P.platform=F.current),iE(b.current,k.current,P).then(M=>{const V={...M,isPositioned:I.current!==!1};O.current&&!Ea(E.current,V)&&(E.current=V,Xo.flushSync(()=>{f(V)}))})},[d,t,n,F,I]);Gs(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[u]);const O=w.useRef(!1);Gs(()=>(O.current=!0,()=>{O.current=!1}),[]),Gs(()=>{if(S&&(b.current=S),T&&(k.current=T),S&&T){if(N.current)return N.current(S,T,W);W()}},[S,T,W,N,D]);const Q=w.useMemo(()=>({reference:b,floating:k,setReference:m,setFloating:y}),[m,y]),$=w.useMemo(()=>({reference:S,floating:T}),[S,T]),z=w.useMemo(()=>{const P={position:n,left:0,top:0};if(!$.floating)return P;const M=hp($.floating,c.x),V=hp($.floating,c.y);return a?{...P,transform:"translate("+M+"px, "+V+"px)",...i0($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:V}},[n,a,$.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:W,refs:Q,elements:$,floatingStyles:z}),[c,W,Q,$,z])}const sE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?fp({element:r.current,padding:i}).fn(n):{}:r?fp({element:r,padding:i}).fn(n):{}}}},aE=(e,t)=>({...Zb(e),options:[e,t]}),lE=(e,t)=>({...Jb(e),options:[e,t]}),uE=(e,t)=>({...rE(e),options:[e,t]}),cE=(e,t)=>({...eE(e),options:[e,t]}),dE=(e,t)=>({...tE(e),options:[e,t]}),fE=(e,t)=>({...nE(e),options:[e,t]}),hE=(e,t)=>({...sE(e),options:[e,t]});var pE="Arrow",o0=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return C.jsx(Ze.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:C.jsx("polygon",{points:"0,0 30,0 15,10"})})});o0.displayName=pE;var mE=o0;function gE(e,t=[]){let n=[];function r(o,s){const a=w.createContext(s),l=n.length;n=[...n,s];function u(f){const{scope:d,children:h,...v}=f,g=(d==null?void 0:d[e][l])||a,x=w.useMemo(()=>v,Object.values(v));return C.jsx(g.Provider,{value:x,children:h})}function c(f,d){const h=(d==null?void 0:d[e][l])||a,v=w.useContext(h);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const i=()=>{const o=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,yE(i,...t)]}function yE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function vE(e){const[t,n]=w.useState(void 0);return Er(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var s0="Popper",[a0,l0]=gE(s0),[uN,u0]=a0(s0),c0="PopperAnchor",d0=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=u0(c0,n),s=w.useRef(null),a=Nt(t,s);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:C.jsx(Ze.div,{...i,ref:a})});d0.displayName=c0;var Xd="PopperContent",[xE,wE]=a0(Xd),f0=w.forwardRef((e,t)=>{var wt,pn,mn,gn,ns,Rr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:d=!1,updatePositionStrategy:h="optimized",onPlaced:v,...g}=e,x=u0(Xd,n),[p,m]=w.useState(null),y=Nt(t,nr=>m(nr)),[S,T]=w.useState(null),b=vE(S),k=(b==null?void 0:b.width)??0,E=(b==null?void 0:b.height)??0,D=r+(o!=="center"?"-"+o:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},F=Array.isArray(u)?u:[u],I=F.length>0,W={padding:N,boundary:F.filter(CE),altBoundary:I},{refs:O,floatingStyles:Q,placement:$,isPositioned:z,middlewareData:P}=oE({strategy:"fixed",placement:D,whileElementsMounted:(...nr)=>qb(...nr,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[aE({mainAxis:i+E,alignmentAxis:s}),l&&lE({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?uE():void 0,...W}),l&&cE({...W}),dE({...W,apply:({elements:nr,rects:Li,availableWidth:rs,availableHeight:yn})=>{const{width:ml,height:gl}=Li.reference,Pe=nr.floating.style;Pe.setProperty("--radix-popper-available-width",`${rs}px`),Pe.setProperty("--radix-popper-available-height",`${yn}px`),Pe.setProperty("--radix-popper-anchor-width",`${ml}px`),Pe.setProperty("--radix-popper-anchor-height",`${gl}px`)}}),S&&hE({element:S,padding:a}),TE({arrowWidth:k,arrowHeight:E}),d&&fE({strategy:"referenceHidden",...W})]}),[M,V]=m0($),_=Gt(v);Er(()=>{z&&(_==null||_())},[z,_]);const B=(wt=P.arrow)==null?void 0:wt.x,X=(pn=P.arrow)==null?void 0:pn.y,le=((mn=P.arrow)==null?void 0:mn.centerOffset)!==0,[Je,J]=w.useState();return Er(()=>{p&&J(window.getComputedStyle(p).zIndex)},[p]),C.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:z?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Je,"--radix-popper-transform-origin":[(gn=P.transformOrigin)==null?void 0:gn.x,(ns=P.transformOrigin)==null?void 0:ns.y].join(" "),...((Rr=P.hide)==null?void 0:Rr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:C.jsx(xE,{scope:n,placedSide:M,onArrowChange:T,arrowX:B,arrowY:X,shouldHideArrow:le,children:C.jsx(Ze.div,{"data-side":M,"data-align":V,...g,ref:y,style:{...g.style,animation:z?void 0:"none"}})})})});f0.displayName=Xd;var h0="PopperArrow",SE={top:"bottom",right:"left",bottom:"top",left:"r
81ight"},p0=w.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=wE(h0,r),s=SE[o.placedSide];return C.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:C.jsx(mE,{...i,ref:n,style:{...i.style,display:"block"}})})});p0.displayName=h0;function CE(e){return e!==null}var TE=e=>({name:"transformOrigin",options:e,fn(t){var x,p,m;const{placement:n,rects:r,middlewareData:i}=t,s=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=m0(n),f={start:"0%",center:"50%",end:"100%"}[c],d=(((p=i.arrow)==null?void 0:p.x)??0)+a/2,h=(((m=i.arrow)==null?void 0:m.y)??0)+l/2;let v="",g="";return u==="bottom"?(v=s?f:`${d}px`,g=`${-l}px`):u==="top"?(v=s?f:`${d}px`,g=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,g=s?f:`${h}px`):u==="left"&&(v=`${r.floating.width+l}px`,g=s?f:`${h}px`),{data:{x:v,y:g}}}});function m0(e){const[t,n="center"]=e.split("-");return[t,n]}var bE=d0,EE=f0,PE=p0,[il,cN]=hv("Tooltip",[l0]),qd=l0(),g0="TooltipProvider",kE=700,pp="tooltip.open",[AE,y0]=il(g0),v0=e=>{const{__scopeTooltip:t,delayDuration:n=kE,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,[s,a]=w.useState(!0),l=w.useRef(!1),u=w.useRef(0);return w.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),C.jsx(AE,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:w.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:w.useCallback(c=>{l.current=c},[]),disableHoverableContent:i,children:o})};v0.displayName=g0;var x0="Tooltip",[dN,ol]=il(x0),yc="TooltipTrigger",RE=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=ol(yc,n),o=y0(yc,n),s=qd(n),a=w.useRef(null),l=Nt(t,a,i.onTriggerChange),u=w.useRef(!1),c=w.useRef(!1),f=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),C.jsx(bE,{asChild:!0,...s,children:C.jsx(Ze.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Ce(e.onPointerMove,d=>{d.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Ce(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Ce(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Ce(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Ce(e.onBlur,i.onClose),onClick:Ce(e.onClick,i.onClose)})})});RE.displayName=yc;var ME="TooltipPortal",[fN,NE]=il(ME,{forceMount:void 0}),Ti="TooltipContent",w0=w.forwardRef((e,t)=>{const n=NE(Ti,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=ol(Ti,e.__scopeTooltip);return C.jsx(Vd,{present:r||s.open,children:s.disableHoverableContent?C.jsx(S0,{side:i,...o,ref:t}):C.jsx(jE,{side:i,...o,ref:t})})}),jE=w.forwardRef((e,t)=>{const n=ol(Ti,e.__scopeTooltip),r=y0(Ti,e.__scopeTooltip),i=w.useRef(null),o=Nt(t,i),[s,a]=w.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:f}=r,d=w.useCallback(()=>{a(null),f(!1)},[f]),h=w.useCallback((v,g)=>{const x=v.currentTarget,p={x:v.clientX,y:v.clientY},m=_E(p,x.getBoundingClientRect()),y=IE(p,m),S=VE(g.getBoundingClientRect()),T=zE([...y,...S]);a(T),f(!0)},[f]);return w.useEffect(()=>()=>d(),[d]),w.useEffect(()=>{if(l&&c){const v=x=>h(x,c),g=x=>h(x,l);return l.addEventListener("pointerleave",v),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",g)}}},[l,c,h,d]),w.useEffect(()=>{if(s){const v=g=>{const x=g.target,p={x:g.clientX,y:g.clientY},m=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),y=!FE(p,s);m?d():y&&(d(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,c,s,u,d]),C.jsx(S0,{...e,ref:o})}),[DE,OE]=il(x0,{isInside:!1}),S0=w.forwardRef((e,t)=>
81{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=ol(Ti,n),u=qd(n),{onClose:c}=l;return w.useEffect(()=>(document.addEventListener(pp,c),()=>document.removeEventListener(pp,c)),[c]),w.useEffect(()=>{if(l.trigger){const f=d=>{const h=d.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,c]),C.jsx(Id,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:c,children:C.jsxs(EE,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[C.jsx(fv,{children:r}),C.jsx(DE,{scope:n,isInside:!0,children:C.jsx(AC,{id:l.contentId,role:"tooltip",children:i||r})})]})})});w0.displayName=Ti;var C0="TooltipArrow",LE=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=qd(n);return OE(C0,n).isInside?null:C.jsx(PE,{...i,...r,ref:t})});LE.displayName=C0;function _E(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function IE(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function VE(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function FE(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const a=t[o].x,l=t[o].y,u=t[s].x,c=t[s].y;l>r!=c>r&&n<(u-a)*(r-l)/(c-l)+a&&(i=!i)}return i}function zE(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),BE(t)}function BE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const o=t[t.length-1],s=t[t.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var $E=v0,T0=w0;const UE=$E,WE=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>C.jsx(T0,{ref:r,sideOffset:t,className:hn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));WE.displayName=T0.displayName;var sl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},al=typeof window>"u"||"Deno"in globalThis;function bt(){}function HE(e,t){return typeof e=="function"?e(t):e}function KE(e){return typeof e=="number"&&e>=0&&e!==1/0}function GE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function mp(e,t){return typeof e=="function"?e(t):e}function QE(e,t){return typeof e=="function"?e(t):e}function gp(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Zd(s,t.options))return!1}else if(!Lo(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function yp(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Oo(t.options.mutationKey)!==Oo(o))return!1}else if(!Lo(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Zd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Oo)(e)}function Oo(e){return JSON.stringify(e,(t,n)=>vc(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Lo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Lo(e[n],t[n])):!1}function b0(e,t){if(e===t)return e;const n=vp(e)&&vp(t);if(n||vc(e)&&vc(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{};let l=0;for(let u=0;u<s;u++){const c=n?u:o[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(a[c]=void 0,l++):(a[c]=b0(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&l++)}return i===s&&l===i?e:a}return t}function vp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vc(e){if(!xp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!xp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function xp(e){return Object.prototype.toString.call(e)==="[object Object]"}function YE(e){return new Promise(t=>{setTimeout(t,e)})}function XE(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?b0(e,t):t}function qE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function ZE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Jd=Symbol();function E0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Jd?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var fr,An,si,$m,JE=($m=class extends sl{constructor(){super();Z(this,fr);Z(this,An);Z(this,si);G(this,si,t=>{if(!al&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,An)||this.setEventListener(A(this,si))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,An))==null||t.call(this),G(this,An,void 0))}setEventListener(t){var n;
vendor: 19,640 bytes, line 81
81G(this,si,t),(n=A(this,An))==null||n.call(this),G(this,An,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,fr)!==t&&(G(this,fr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,fr)=="boolean"?A(this,fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fr=new WeakMap,An=new WeakMap,si=new WeakMap,$m),P0=new JE,ai,Rn,li,Um,eP=(Um=class extends sl{constructor(){super();Z(this,ai,!0);Z(this,Rn);Z(this,li);G(this,li,t=>{if(!al&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,Rn)||this.setEventListener(A(this,li))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,Rn))==null||t.call(this),G(this,Rn,void 0))}setEventListener(t){var n;G(this,li,t),(n=A(this,Rn))==null||n.call(this),G(this,Rn,t(this.setOnline.bind(this)))}setOnline(t){A(this,ai)!==t&&(G(this,ai,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,ai)}},ai=new WeakMap,Rn=new WeakMap,li=new WeakMap,Um),Pa=new eP;function tP(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function nP(e){return Math.min(1e3*2**e,3e4)}function k0(e){return(e??"online")==="online"?Pa.isOnline():!0}var A0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Zl(e){return e instanceof A0}function R0(e){let t=!1,n=0,r=!1,i;const o=tP(),s=g=>{var x;r||(d(new A0(g)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>P0.isFocused()&&(e.networkMode==="always"||Pa.isOnline())&&e.canRun(),c=()=>k0(e.networkMode)&&e.canRun(),f=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),i==null||i(),o.resolve(g))},d=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),i==null||i(),o.reject(g))},h=()=>new Promise(g=>{var x;i=p=>{(r||u())&&g(p)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),v=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(p){g=Promise.reject(p)}Promise.resolve(g).then(f).catch(p=>{var b;if(r)return;const m=e.retry??(al?0:3),y=e.retryDelay??nP,S=typeof y=="function"?y(n,p):y,T=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,p);if(t||!T){d(p);return}n++,(b=e.onFail)==null||b.call(e,n,p),YE(S).then(()=>u()?void 0:h()).then(()=>{t?d(p):v()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?v():h().then(v),o)}}function rP(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=a=>setTimeout(a,0);const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var ze=rP(),hr,Wm,M0=(Wm=class{constructor(){Z(this,hr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),KE(this.gcTime)&&G(this,hr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(al?1/0:5*60*1e3))}clearGcTimeout(){A(this,hr)&&(clearTimeout(A(this,hr)),G(this,hr,void 0))}},hr=new WeakMap,Wm),ui,ci,ft,Oe,Uo,pr,Et,qt,Hm,iP=(Hm=class extends M0{constructor(t){super();Z(this,Et);Z(this,ui);Z(this,ci);Z(this,ft);Z(this,Oe);Z(this,Uo);Z(this,pr);G(this,pr,!1),G(this,Uo,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,ft,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,ui,sP(this.options)),this.state=t.state??A(this,ui),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,Oe))==null?void 0:t.promise}setOptions(t){this.options={...A(this,Uo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,ft).remove(this)}setData(t,n){const r=XE(this.state.data,t,this.options);return Ne(this,Et,qt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ne(this,Et,qt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=A(this,Oe))==null?void 0:r.promise;return(i=A(this,Oe))==null||i.cancel(t),n?n.then(bt).catch(bt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,ui))}isActive(){return this.observers.some(t=>QE(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Jd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!GE(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Oe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Oe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,ft).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,Oe)&&(A(this,pr)?A(this,Oe).cancel({revert:!0}):A(this,Oe).cancelRetry()),this.scheduleGc()),A(this,ft).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ne(this,Et,qt).call(this,{type:"invalidate"})}fetch(t,n){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,Oe))return A(this,Oe).continueRetry(),A(this,Oe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(G(this,pr,!0),r.signal)})},o=()=>{const f=E0(this.options,n),d={queryKey:this.queryKey,meta:this.meta};return i(d),G(this,pr,!1),this.options.persister?this.options.persister(f,d,this):f(d)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(s),(l=this.options.behavior)==null||l.onFetch(s,this),G(this,ci,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&Ne(this,Et,qt).call(this,{type:"fetch",meta:(c=s.fetchOptions)==null?void 0:c.meta});const a=f=>{var d,h,v,g;Zl(f)&&f.silent||Ne(this,Et,qt).call(this,{type:"error",error:f}),Zl(f)||((h=(d=A(this,ft).config).onError)==null||h.call(d,f,this),(g=(v=A(this,ft).config).onSettled)==null||g.call(v,this.state.data,f,this)),this.scheduleGc()};return G(this,Oe,R0({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var d,h,v,g;if(f===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(x){a(x);return}(h=(d=A(this,ft).config).onSuccess)==null||h.call(d,f,this),(g=(v=A(this,ft).config).onSettled)==null||g.call(v,f,this.state.error,this),this.scheduleGc()},onError:a,onFail:(f,d)=>{Ne(this,Et,qt).call(this,{type:"failed",failureCount:f,error:d})},onPause:()=>{Ne(this,Et,qt).call(this,{type:"pause"})},onContinue:()=>{Ne(this,Et,qt).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),A(this,Oe).start()}},ui=new WeakMap,ci=new WeakMap,ft=new WeakMap,Oe=new WeakMap,Uo=new WeakMap,pr=new WeakMap,Et=new WeakSet,qt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...oP(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Zl(i)&&i.revert&&A(this,ci)?{...A(this,ci),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,ft).notify({query:this,type:"updated",action:t})})},Hm);function oP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:k0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function sP(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Vt,Km,aP=(Km=class extends sl{constructor(t={}){super();Z(this,Vt);this.config=t,G(this,Vt,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Zd(i,n);let s=this.get(o);return s||(s=new iP({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){A(this,Vt).has(t.queryHash)||(A(this,Vt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,Vt).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,Vt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,Vt).get(t)}getAll(){return[...A(this,Vt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>gp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>gp(t,r)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Vt=new WeakMap,Km),Ft,Ve,mr,zt,Cn,Gm,lP=(Gm=class extends M0{constructor(t){super();Z(this,zt);Z(this,Ft);Z(this,Ve);Z(this,mr);this.mutationId=t.mutationId,G(this,Ve,t.mutationCache),G(this,Ft,[]),this.state=t.state||uP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Ft).includes(t)||(A(this,Ft).push(t),this.clearGcTimeout(),A(this,Ve).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Ft,A(this,Ft).filter(n=>n!==t)),this.scheduleGc(),A(this,Ve).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Ft).length||(this.state.status==="pending"?this.scheduleGc():A(this,Ve).remove(this))}continue(){var t;return((t=A(this,mr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,s,a,l,u,c,f,d,h,v,g,x,p,m,y,S,T,b,k;G(this,mr,R0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,D)=>{Ne(this,zt,Cn).call(this,{type:"failed",failureCount:E,error:D})},onPause:()=>{Ne(this,zt,Cn).call(this,{type:"pause"})},onContinue:()=>{Ne(this,zt,Cn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,Ve).canRun(this)}));const n=this.state.status==="pending",r=!A(this,mr).canStart();try{if(!n){Ne(this,zt,Cn).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(i=A(this,Ve).config).onMutate)==null?void 0:o.call(i,t,this));const D=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));D!==this.state.context&&Ne(this,zt,Cn).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const E=await A(this,mr).start();return await((u=(l=A(this,Ve).config).onSuccess)==null?void 0:u.call(l,E,t,this.state.context,this)),await((f=(c=this.options).onSuccess)==null?void 0:f.call(c,E,t,this.state.context)),await((h=(d=A(this,Ve).config).onSettled)==null?void 0:h.call(d,E,null,this.state.variables,this.state.context,this)),await((g=(v=this.options).onSettled)==null?void 0:g.call(v,E,null,t,this.state.context)),Ne(this,zt,Cn).call(this,{type:"success",data:E}),E}catch(E){try{throw await((p=(x=A(this,Ve).config).onError)==null?void 0:p.call(x,E,t,this.state.context,this)),await((y=(m=this.options).onError)==null?void 0:y.call(m,E,t,this.state.context)),await((T=(S=A(this,Ve).config).onSettled)==null?void 0:T.call(S,void 0,E,this.state.variables,this.state.context,this)),await((k=(b=this.options).onSettled)==null?void 0:k.call(b,void 0,E,t,this.state.context)),E}finally{Ne(this,zt,Cn).call(this,{type:"error",error:E})}}finally{A(this,Ve).runNext(this)}}},Ft=new WeakMap,Ve=new WeakMap,mr=new WeakMap,zt=new WeakSet,Cn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ze.batch(()=>{A(this,Ft).forEach(r=>{r.onMutationUpdate(t)}),A(this,Ve).notify({mutation:this,type:"updated",action:t})})},Gm);function uP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var et,Wo,Qm,cP=(Qm=class extends sl{constructor(t={}){super();Z(this,et);Z(this,Wo);this.config=t,G(this,et,new Map),G(this,Wo,Date.now())}build(t,n,r){const i=new lP({mutationCache:this,mutationId:++ss(this,Wo)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=As(t),r=A(this,et).get(n)??[];r.push(t),A(this,et).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=As(t);if(A(this,et).has(n)){const i=(r=A(this,et).get(n))==null?void 0:r.filter(o=>o!==t);i&&(i.length===0?A(this,et).delete(n):A(this,et).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=A(this,et).get(As(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=A(this,et).get(As(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...A(this,et).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>yp(n,r))}findAll(t={}){return this.getAll().filter(n=>yp(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(bt))))}},et=new WeakMap,Wo=new WeakMap,Qm);function As(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function wp(e){return{onFetch:(t,n)=>{var c,f,d,h,v;const r=t.options,i=(d=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:d.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],s=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const x=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},p=E0(t.options,t.fetchOptions),m=async(y,S,T)=>{if(g)return Promise.reject();if(S==null&&y.pages.length)return Promise.resolve(y);const b={queryKey:t.queryKey,pageParam:S,direction:T?"backward":"forward",meta:t.options.meta};x(b);const k=await p(b),{maxPages:E}=t.options,D=T?ZE:qE;return{pages:D(y.pages,k,E),pageParams:D(y.pageParams,S,E)}};if(i&&o.length){const y=i==="backward",S=y?dP:Sp,T={pages:o,pageParams:s},b=S(r,T);a=await m(T,b,y)}else{const y=e??o.length;do{const S=l===0?s[0]??r.initialPageParam:Sp(r,a);if(l>0&&S==null)break;a=await m(a,S),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Sp(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function dP(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var pe,Mn,Nn,di,fi,jn,hi,pi,Ym,fP=(Ym=class{constructor(e={}){Z(this,pe);Z(this,Mn);Z(this,Nn);Z(this,di);Z(this,fi);Z(this,jn);Z(this,hi);Z(this,pi);G(this,pe,e.queryCache||new aP),G(this,Mn,e.mutationCache||new cP),G(this,Nn,e.defaultOptions||{}),G(this,di,new Map),G(this,fi,new Map),G(this,jn,0)}mount(){ss(this,jn)._++,A(this,jn)===1&&(G(this,hi,P0.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,pe).onFocus())})),G(this,pi,Pa.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,pe).onOnline())})))}unmount(){var e,t;ss(this,jn)._--,A(this,jn)===0&&((e=A(this,hi))==null||e.call(this),G(this,hi,void 0),(t=A(this,pi))==null||t.call(this),G(this,pi,void 0))}isFetching(e){return A(this,pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Mn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=A(this,pe).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(mp(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return A(this,pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=A(this,pe).get(r.queryHash),o=i==null?void 0:i.state.data,s=HE(t,o);if(s!==void 0)return A(this,pe).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>A(this,pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,pe);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,pe),r={type:"active",...e};return ze.batch(()=>(n.findAll(e).forEach(i=>
81{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=ze.batch(()=>A(this,pe).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(bt).catch(bt)}invalidateQueries(e={},t={}){return ze.batch(()=>{if(A(this,pe).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=ze.batch(()=>A(this,pe).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(bt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(bt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,pe).build(this,t);return n.isStaleByTime(mp(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(bt).catch(bt)}fetchInfiniteQuery(e){return e.behavior=wp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(bt).catch(bt)}ensureInfiniteQueryData(e){return e.behavior=wp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Pa.isOnline()?A(this,Mn).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,pe)}getMutationCache(){return A(this,Mn)}getDefaultOptions(){return A(this,Nn)}setDefaultOptions(e){G(this,Nn,e)}setQueryDefaults(e,t){A(this,di).set(Oo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,di).values()];let n={};return t.forEach(r=>{Lo(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){A(this,fi).set(Oo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,fi).values()];let n={};return t.forEach(r=>{Lo(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,Nn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Zd(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Jd&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Nn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,pe).clear(),A(this,Mn).clear()}},pe=new WeakMap,Mn=new WeakMap,Nn=new WeakMap,di=new WeakMap,fi=new WeakMap,jn=new WeakMap,hi=new WeakMap,pi=new WeakMap,Ym),hP=w.createContext(void 0),pP=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),C.jsx(hP.Provider,{value:e,children:t}));/** 82 * @remix-run/router v1.20.0 83 * 84 * Copyright (c) Remix Software Inc. 85 * 86 * This source code is licensed under the MIT license found in the 87 * LICENSE.md file in the root directory of this source tree. 88 * 89 * @license MIT 90 */function ka(){return ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ka.apply(this,arguments)}var Ln;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ln||(Ln={}));const Cp="popstate";function mP(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return xc("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:j0(i)}return yP(t,n,null,e)}function qe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function N0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function gP(){return Math.random().toString(36).substr(2,8)}function Tp(e,t){return{usr:e.state,key:e.key,idx:t}}function xc(e,t,n,r){return n===void 0&&(n=null),ka({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ll(t):t,{state:n,key:t&&t.key||r||gP()})}function j0(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ll(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function yP(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Ln.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(ka({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function f(){a=Ln.Pop;let x=c(),p=x==null?null:x-u;u=x,l&&l({action:a,location:g.location,delta:p})}function d(x,p){a=Ln.Push;let m=xc(g.location,x,p);u=c()+1;let y=Tp(m,u),S=g.createHref(m);try{s.pushState(y,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(S)}o&&l&&l({action:a,location:g.location,delta:1})}function h(x,p){a=Ln.Replace;let m=xc(g.location,x,p);u=c();let y=Tp(m,u),S=g.createHref(m);s.replaceState(y,"",S),o&&l&&l({action:a,location:g.location,delta:0})}function v(x){let p=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof x=="str
90ing"?x:j0(x);return m=m.replace(/ $/,"%20"),qe(p,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,p)}let g={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Cp,f),l=x,()=>{i.removeEventListener(Cp,f),l=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let p=v(x);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:h,go(x){return s.go(x)}};return g}var bp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(bp||(bp={}));function vP(e,t,n){return n===void 0&&(n="/"),xP(e,t,n,!1)}function xP(e,t,n,r){let i=typeof t=="string"?ll(t):t,o=L0(i.pathname||"/",n);if(o==null)return null;let s=D0(e);wP(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=NP(o);a=RP(s[l],u,r)}return a}function D0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,s,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};
vendor: 5,958 bytes, lines 90-99
90l.relativePath.startsWith("/")&&(qe(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=oi([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(qe(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),D0(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:kP(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of O0(o.path))i(o,s,l)}),t}function O0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=O0(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function wP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:AP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const SP=/^:[\w-]+$/,CP=3,TP=2,bP=1,EP=10,PP=-2,Ep=e=>e==="*";function kP(e,t){let n=e.split("/"),r=n.length;return n.some(Ep)&&(r+=PP),t&&(r+=TP),n.filter(i=>!Ep(i)).reduce((i,o)=>i+(SP.test(o)?CP:o===""?bP:EP),r)}function AP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function RP(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",f=Pp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),d=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Pp({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!f)return null;Object.assign(i,f.params),s.push({params:i,pathname:oi([o,f.pathname]),pathnameBase:jP(oi([o,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(o=oi([o,f.pathnameBase]))}return s}function Pp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=MP(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:d,isOptional:h}=c;if(d==="*"){let g=a[f]||"";s=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[f];return h&&!v?u[d]=void 0:u[d]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function MP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),N0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function NP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return N0(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function L0(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const oi=e=>e.join("/").replace(/\/\/+/g,"/"),jP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function DP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _0=["post","put","patch","delete"];new Set(_0);const OP=["get",..._0];new Set(OP);/** 91 * React Router v6.27.0 92 * 93 * Copyright (c) Remix Software Inc. 94 * 95 * This source code is licensed under the MIT license found in the 96 * LICENSE.md file in the root directory of this source tree. 97 * 98 * @license MIT 99 */function Aa(){return Aa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Aa.apply(this,arguments)}const LP=w.createContext(null),_P=w.createContext(null),I0=w.createContext(null),ul=w.createContext(null),cl=w.createContext({outlet:null,matches:[],isDataRoute:!1}),V0=w.createContext(null);function ef(){return w.useContext(ul)!=null}function F0(){return ef()||qe(!1),w.useContext(ul).location}function IP(e,t){return VP(e,t)}function VP(e,t,n,r){ef()||qe(!1);let{navigator:i}=w.useContext(I0),{matches:o}=w.useContext(cl),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=F0(),c;if(t){var f;let x=typeof t=="string"?ll(t):t;l==="/"||(f=x.pathname)!=null&&f.startsWith(l)||qe(!1),c=x}else c=u;let d=c.pathname||"/",h=d;if(l!=="/"){let x=l.replace(/^\//,"").split("/");h="/"+d.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=vP(e,{pathname:h}),g=UP(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:oi([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:oi([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&g?w.createElement(ul.Provider,{value:{location:Aa({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Ln.Pop}},g):g}function FP(){let e=GP(),t=DP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application
99Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:i},n):null,null)}const zP=w.createElement(FP,null);class BP extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(cl.Provider,{value:this.props.routeContext},w.createElement(V0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function $P(e){let{routeContext:t,match:n,children:r}=e,i=w.useContext(LP);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(cl.Provider,{value:t},r)}function UP(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);c>=0||qe(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let f=s[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:d,errors:h}=n,v=f.route.loader&&d[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||v){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,f,d)=>{let h,v=!1,g=null,x=null;n&&(h=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||zP,l&&(u<0&&d===0?(v=!0,x=null):u===d&&(v=!0,x=f.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,d+1)),m=()=>{let y;return h?y=g:v?y=x:f.route.Component?y=w.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=c,w.createElement($P,{match:f,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?w.createElement(BP,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var wc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(wc||{});function WP(e){let t=w.useContext(_P);return t||qe(!1),t}function HP(e){let t=w.useContext(cl);return t||qe(!1),t}function KP(e){let t=HP(),n=t.matches[t.matches.length-1];return n.route.id||qe(!1),n.route.id}function GP(){var e;let t=w.useContext(V0),n=WP(wc.UseRouteError),r=KP(wc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Sc(e){qe(!1)}function QP(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ln.Pop,navigator:o,static:s=!1,future:a}=e;ef()&&qe(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:o,static:s,future:Aa({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=ll(r));let{pathname:c="/",search:f="",hash:d="",state:h=null,key:v="default"}=r,g=w.useMemo(()=>{let x=L0(c,l);return x==null?null:{location:{pathname:x,search:f,hash:d,state:h,key:v},navigationType:i}},[l,c,f,d,h,v,i]);return g==null?null:w.createElement(I0.Provider,{value:u},w.createElement(ul.Provider,{children:n,value:g}))}function YP(e){let{children:t,location:n}=e;return IP(Cc(t),n)}new Promise(()=>{});function Cc(e,t){t===void 0&&(t=[]);let n=[];
99return w.Children.forEach(e,(r,i)=>{if(!w.isValidElement(r))return;let o=[...t,i];if(r.type===w.Fragment){n.push.apply(n,Cc(r.props.children,o));return}r.type!==Sc&&qe(!1),!r.props.index||!r.props.children||qe(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Cc(r.props.children,o)),n.push(s)}),n}/** 100 * React Router DOM v6.27.0 101 * 102 * Copyright (c) Remix Software Inc. 103 * 104 * This source code is licensed under the MIT license found in the 105 * LICENSE.md file in the root directory of this source tree. 106 * 107 * @license MIT 108 */const XP="6";try{window.__reactRouterVersion=XP}catch{}const qP="startTransition",kp=Bw[qP];function ZP(e){let{basename:t,children:n,future:r,window:i}=e,o=w.useRef();o.current==null&&(o.current=mP({window:i,v5Compat:!0}));let s=o.current,[a,l]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=w.useCallback(f=>{u&&kp?kp(()=>l(f)):l(f)},[l,u]);return w.useLayoutEffect(()=>s.listen(c),[s,c]),w.createElement(QP,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var Ap;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ap||(Ap={}));var Rp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Rp||(Rp={}));const JP=$d("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Rs({className:e,variant:t,...n}){return C.jsx("div",{className:hn(JP({variant:t}),e),...n})}const ek="/lovable-uploads/484fbfbc-f01d-434e-af52-6fb3ac0fb2e7.png";function tk(){return C.jsx("section",{className:"w-full bg-white",children:C.jsx("div",{className:"container mx-auto px-6 py-12 md:py-24",children:C.jsxs("div",{className:"flex flex-col md:flex-row items-center md:items-start md:justify-between gap-8",children:[C.jsxs("div",{className:"flex-1 flex flex-col items-start",children:[C.jsxs("h1",{className:"text-4xl md:text-7xl font-black tracking-tight text-gray-900 leading-tight flex items-center gap-3",children:["Jakub Rychlý",C.jsx("span",{className:"text-5xl md:text-6xl -mt-1",role:"img","aria-label":"wave",children:"ð"})]}),C.jsx("div",{className:"text-lg md:text-xl text-accent font-semibold mt-1 mb-2 pl-[2px]",children:C.jsx("span",{className:"text-sm md:text-base text-gray-500 font-mono",children:"@jsemfast"})}),C.jsxs("div",{className:"flex flex-wrap gap-2 mt-2",children:[C.jsx(Rs,{variant:"outline",className:"text-base px-3 py-1 rounded-xl",children:"vzdÄlávánÃ"}),C.jsx(Rs,{variant:"outline",className:"text-base px-3 py-1 rounded-xl",children:"AI"}),C.jsx(Rs,{variant:"outline",className:"text-base px-3 py-1 rounded-xl",children:"inovace"}),C.jsx(Rs,{variant:"outline",className:"text-base px-3 py-1 rounded-xl",children:"finance"})]}),C.jsx("p",{className:"mt-6 text-xl md:text-2xl text-gray-700 font-light max-w-2xl",children:"inovátor a Mladý delegát do OSN"})]}),C.jsx("div",{className:"flex-shrink-0 flex justify-center md:justify-end w-full md:w-auto",children:C.jsx("img",{src:ek,alt:"Jakub Rychlý profilová fotka",className:"w-36 h-36 md:w-48 md:h-48 rounded-full object-cover border-4 border-accent shadow-lg",loading:"lazy"})})]})})})}const nk=$d("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),dl=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const s=r?No:"button";return C.jsx(s,{className:hn(nk({variant:t,size:n,className:e})),ref:o,...i})});dl.displayName="Button";
108const rk=[{id:"nekrachni",name:"Nekrachni",description:C.jsxs(C.Fragment,{children:["FinanÄnà gramotnost je moje mise. Pomáhám budovat finanÄnÄ zdravé Äesko â generaci Z ukazuji, jak zvládnout výzvy dospÄlého života, ve firmách zlepÅ¡uji finanÄnà wellbeing zamÄstnanců a ve Å¡kolách mÄnÃm způsob, jakým se u nás uÄà o penÄzÃch.",C.jsx("br",{}),C.jsx("br",{})]}),href:"https://nekrachni.cz?utm_source=jakubrychly.cz&utm_medium=web&utm_campaign=portfolio_grid",className:"bg-white border border-[#20b259] text-[#194629]"},{id:"contentano",name:"Contentano",description:C.jsx(C.Fragment,{children:"Vedu digitálnà studio, kde propojujeme kreativitu s technologiemi. TvoÅÃme chytrá ÅeÅ¡enà pro obsahový marketing, automatizaci a práci s daty. Bavà nás inovace, nebojÃme se AI a neustále hledáme nové způsoby, jak dÄlat vÄci chytÅeji â od nápadu po funkÄnà produkt."}),href:"https://contentano.com?utm_source=jakubrychly.cz&utm_medium=web&utm_campaign=portfolio_grid",className:"bg-white border border-[#242B3A] text-[#242B3A]"},{id:"jary",name:"JARY wealth",description:C.jsx(C.Fragment,{children:"StojÃm za znaÄkou, která pÅinášà klid do svÄta financÃ. Pomáháme lidem lépe porozumÄt svým penÄzům a dÄlat s nimi chytrá rozhodnutÃ. Navrhujeme finanÄnà strategie, které nejsou složité, ale funkÄnÃ. StavÃme na důvÄÅe, zkuÅ¡enosti a lidském pÅÃstupu."}),href:"https://jarywealth.cz?utm_source=jakubrychly.cz&utm_medium=web&utm_campaign=portfolio_grid",className:"bg-white border border-blue-200 text-blue-900"}];function ik({name:e,description:t,href:n,className:r}){return C.jsxs("div",{className:`group flex flex-col justify-between rounded-2xl p-6 h-full 109 border shadow transition-transform duration-150 ease-in 110 hover:shadow-xl hover:-translate-y-1 active:scale-[0.98] focus:outline-none ${r??""}`,style:{textDecoration:"none"},tabIndex:0,"aria-label":e,children:[C.jsxs("div",{children:[C.jsx("h3",{className:"text-2xl font-bold mb-3 leading-snug group-hover:underline group-focus:underline",children:e}),C.jsx("div",{className:"text-base md:text-lg font-normal leading-relaxed whitespace-pre-line mb-6",children:t})]}),C.jsx("div",{className:"mt-auto pt-2",children:C.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",tabIndex:-1,children:C.jsx(dl,{variant:"outline",className:"w-full",children:"Zobrazit projekt"})})})]})}const ok=()=>C.jsx("section",{className:"w-full py-10 md:py-16 bg-background animate-fade-in",id:"projekty",children:C.jsxs("div",{className:"max-w-5xl mx-auto px-3",children:[C.jsx("h2",{className:"text-2xl md:text-4xl font-extrabold mb-8 text-accent text-left",children:"Moje projekty"}),C.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 lg:grid-cols-3",children:rk.map(e=>C.jsx(ik,{...e},e.id))})]})}),sk="60008daaa704060008daaa7042",ak=10,lk=()=>{const[e,t]=w.useState(!1),[n,r]=w.useState(!1),i=w.useRef(null),o=async s=>{if(s.preventDefault(),!i.current)return;t(!0);const a=i.current.value;try{if(!(await fetch(`https://api2.ecomailapp.cz/lists/${ak}/subscribe`,{method:"POST",headers:{"Content-Type":"application/json",key:sk},body:JSON.stringify({subscriber_data:{email:a}})})).ok)throw new Error("NepodaÅilo se pÅihlásit. Zkuste to pozdÄji.");i.current.value="",r(!0),oc({title:"DÄkujeme za pÅihlášenÃ!",description:"Brzy ti zaÅ¡lu prvnà novinky z mého svÄta."})}catch{oc({title:"Chyba pÅi pÅihlášenÃ",description:"NÄco se pokazilo. Zkuste to prosÃm znovu.",variant:"destructive"})}finally{t(!1)}};return C.jsx("section",{className:"w-full py-12 animate-fade-in",id:"newsletter",children:C.jsxs("div",{className:"max-w-2xl mx-auto bg-white border border-accent/10 rounded-3xl p-8 flex flex-col items-center text-center shadow-sm gap-6",children:[C.jsxs("div",{className:"flex flex-col items-center",children:[C.jsx(rT,{className:"w-10 h-10 text-accent mb-2"}),C.jsx("h2",{className:"text-2xl md:text-3xl font-bold tracking-tight mb-2",children:"ZůstaÅme v kontaktu"})]}),C.jsx("p",{className:"mb-6 text-muted-foreground text-base md:text-lg max-w-xl",children:"ChceÅ¡ dostávat inspiraci, tipy z podnikánÃ, pozvánky na speciálnà akce a novinky z mých projektů? PÅihlas
110se k newsletteru â žádný spam, jen hodnotné info 1à mÄsÃÄnÄ."}),C.jsxs("form",{onSubmit:o,className:"w-full max-w-md flex flex-col sm:flex-row items-center gap-3",children:[C.jsx("input",{ref:i,type:"email",autoComplete:"email",required:!0,placeholder:"Zadej svůj e-mail",className:"flex-1 px-4 py-3 rounded-full bg-accent/5 border border-accent/20 placeholder:text-accent/40 focus:outline-none focus:ring-2 focus:ring-accent transition-all text-base disabled:bg-accent/10",disabled:e||n}),C.jsx(dl,{type:"submit",size:"lg",className:"font-semibold px-7 py-3 rounded-full text-base shadow-sm bg-accent hover:bg-accent/90 transition-all",disabled:e||n,children:e?"PÅihlaÅ¡uji...":n?"DÄkujeme!":"PÅihlásit se"})]}),C.jsx("span",{className:"text-xs mt-1 text-muted-foreground italic",children:"Odhlášenà kdykoliv jednÃm klikem."}),n&&C.jsx("div",{className:"text-green-700 text-sm mt-2 bg-green-50 border border-green-100 px-4 py-2 rounded-xl",children:"SkvÄle, zaÅazuji tÄ do newsletteru! MůžeÅ¡ Äekat prvnà tipy a pozvánky už brzy."})]})})},uk=[{headline:"",items:["Älen Výboru pro digitálnà vzdÄlávánà pÅi ÃÅadu vlády ÄR","Mladý delegát do OSN za Äeskou republiku","InkubaÄnà manažer v CzechInvestu â podpora startupů, které mÄnà svÄt","PÅedseda správnà rady Nekrachni, z.ú.","Älen Komise pro Å¡kolstvà Praha 12","Absolvoval jsem stáže v Evropském parlamentu, na ÃÅadu vlády ÄR nebo magistrátu Prahy","Ambasador a Älen Äeské buÅky sÃtÄ European Democracy Youth Network"]}],ck=()=>C.jsx("section",{className:"w-full pt-10 pb-8 md:pt-16 md:pb-12 animate-fade-in",id:"aktivity",children:C.jsxs("div",{className:"max-w-3xl mx-auto",children:[C.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:"Moje aktivity"}),C.jsx("ul",{className:"space-y-6 text-gray-800 text-base md:text-lg",children:uk.map((e,t)=>C.jsxs("li",{children:[e.headline&&C.jsx("div",{className:"font-semibold mb-1",children:e.headline}),C.jsx("ul",{className:"list-disc ml-6 space-y-1",children:e.items.map((n,r)=>C.jsx("li",{children:n},r))})]},t))})]})}),dk=[{name:"Instagram",href:"https://instagram.com/jsemfast",color:"bg-gradient-to-r from-pink-500 via-red-400 to-yellow-400",icon:JC,textColor:"text-white"},{name:"LinkedIn",href:"https://linkedin.com/in/jakubrychly/",color:"bg-[#0077b5]",icon:tT,textColor:"text-white"}],fk=()=>C.jsx("section",{className:"w-full py-8 md:py-12 animate-fade-in",id:"social",children:C.jsxs("div",{className:"max-w-4xl mx-auto",children:[C.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Sleduj mÄ na sÃtÃch"}),C.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:dk.map(e=>C.jsxs("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:`flex items-center gap-4 p-6 rounded-2xl cursor-pointer group shadow-md transition-transform duration-200 hover:scale-105 ${e.color} ${e.textColor}`,children:[C.jsx(e.icon,{className:"w-12 h-12 drop-shadow-lg"}),C.jsx("span",{className:"text-2xl md:text-3xl font-bold",children:e.name})]},e.name))})]})}),hk=[{headline:"Jsem budoucà voják v záloze. Den prvnÃ",logo:"/lovable-uploads/98803670-4eb8-4319-8983-4754e2801953.png",alt:"Seznam Médium logo",url:"https://medium.seznam.cz/clanek/jakub-rychly-jsem-budouci-vojak-v-zaloze-den-prvni-126430"},{headline:"Mladé lidi zajÃmajà hlavnÄ investice, ÅÃká Jakub z projektu Nekrachni. ChtÄjà rychle zbohatnout",logo:"/lovable-uploads/d63acb56-36d4-4058-b749-a0cf590ebf82.png",alt:"Heroine logo",url:"https://www.heroine.cz/vzdelavani/mlade-lidi-zajimaji-hlavne-investice-rika-jakub-z-projektu-nekrachni-chteji-rychle-zbohatnout"},{headline:"UÄà na TikToku mladé, jak zacházet s penÄzi. Banky nás berou vážnÄ, ÅÃkajà a ohlaÅ¡ujà miliony od Googlu",logo:"/lovable-uploads/906ff5ea-4e11-4dc6-b369-f841940817d1.png",alt:"CC.CZ logo",url:"https://cc.cz/uci-na-tiktoku-mlade-jak-zachazet-s-penezi-banky-nas-berou-vazne-rikaji-a-ohlasuji-miliony-od-googlu/"},{headline:"Banky generaci Z nerozumÃ. Snaha napodobit náš jazyk vyznÃvá tristnÄ",logo:"/lovable-uploads/d0852487-e5d4-4b7d-9be4-82287c43defe.png",alt:"Reportér logo",url:"https://reportermagazin.cz/73953/banky-generaci-z-nerozumi-snaha-napodobit-nas-jazyk-vyzniva-tristne/"}],pk=()=>C.jsx("section",{className:"w-full py-10 md:py-16 bg-background",id:"media",children:C.jsxs("div",{className:"max-w-5xl mx-auto px-3",children:[C.jsx("h2",{className:"text-2xl md:text-4xl font-extrabold mb-8 text-accent text-left",children:"Média"}),C.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 lg:grid-cols-2",children:hk.map((e,t)=>C.jsxs("div",{className:"group flex flex-col items-start rounded-2xl border bg-white p-6 shadow hover:shadow-lg transition-all duration-150",children:[C.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[C.jsx("img",{src:e.logo,alt:e.alt,className:"h-10 w-10 object-contain bg-gray-100 rounded-lg"}),C.jsx("span",{className:"text-lg font-semibold",children:e.headline})]}),C.jsx(dl,{asChild:!0,className:"mt-auto ml-1",variant:"secondary",size:"sm",children:C.jsx("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":`ÄÃst dále: ${e.headline}`,children:"ÄÃst dále"})})]},t))})]})}),z0=w.createContext({});function mk(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const tf=typeof window<"u",gk=tf?w.useLayoutEffect:w.useEffect,nf=w.createContext(null),B0=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function $0(e){return typeof e=="object"&&e!==null}function U0(e){return $0(e)&&"offsetHeight"in e}function yk(e=!0){const t=w.useContext(nf);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=w.useId();w.useEffect(()=>{if(e)return i(o)},[e]);const s=w.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}const Ms=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Mp={value:null,addProjectionMetrics:null};function vk(e,t){let n=new Set,r=new Set,i=!1,o=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;
vendor: 5,499 bytes, line 110
110function u(f){s.has(f)&&(c.schedule(f),e()),l++,f(a)}const c={schedule:(f,d=!1,h=!1)=>{const g=h&&i?n:r;return d&&s.add(f),g.has(f)||g.add(f),f},cancel:f=>{r.delete(f),s.delete(f)},process:f=>{if(a=f,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&Mp.value&&Mp.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,c.process(f))}};return c}const cn={},xk=40;function W0(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Ms.reduce((y,S)=>(y[S]=vk(o,t?S:void 0),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:d,render:h,postRender:v}=s,g=()=>{const y=cn.useManualTiming?i.timestamp:performance.now();n=!1,cn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,xk),1)),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),h.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},x=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Ms.reduce((y,S)=>{const T=s[S];return y[S]=(b,k=!1,E=!1)=>(n||x(),T.schedule(b,k,E)),y},{}),cancel:y=>{for(let S=0;S<Ms.length;S++)s[Ms[S]].cancel(y)},state:i,steps:s}}const yt=e=>e,{schedule:fe,cancel:Xn,state:Ae,steps:Jl}=W0(typeof requestAnimationFrame<"u"?requestAnimationFrame:yt,!0),H0=w.createContext({strict:!1}),Np={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"]},bi={};for(const e in Np)bi[e]={isEnabled:t=>Np[e].some(n=>!!t[n])};function wk(e){for(const t in e)bi[t]={...bi[t],...e[t]}}const Sk=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 Ra(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Sk.has(e)}let K0=e=>!Ra(e);function Ck(e){typeof e=="function"&&(K0=t=>t.startsWith("on")?!Ra(t):e(t))}try{Ck(require("@emotion/is-prop-valid").default)}catch{}function Tk(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(K0(i)||n===!0&&Ra(i)||!t&&!Ra(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function bk(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const fl=w.createContext({});function hl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function _o(e){return typeof e=="string"||Array.isArray(e)}const rf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],of=["initial",...rf];function pl(e){return hl(e.animate)||of.some(t=>_o(e[t]))}function G0(e){return!!(pl(e)||e.variants)}function Ek(e,t){if(pl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||_o(n)?n:void 0,animate:_o(r)?r:void 0}}return e.inherit!==!1?t:{}}function Pk(e){const{initial:t,animate:n}=Ek(e,w.useContext(fl));return w.useMemo(()=>({initial:t,animate:n}),[jp(t),jp(n)])}function jp(e){return Array.isArray(e)?e.join(" "):e}const kk=Symbol.for("motionComponentSymbol");function Kr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Ak(e,t,n){return w.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Kr(n)&&(n.current=r))},[t])}const sf=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Rk="framerAppearId",Q0="data-"+sf(Rk),Y0=w.createContext({}),{schedule:af,cancel:hN}=W0(queueMicrotask,!1);function Mk(e,t,n,r,i){var g,x;const{visualElement:o}=w.useContext(fl),s=w.useContext(H0),a=w.useContext(nf),l=w.useContext(B0).reducedMotion,u=w.useRef(null);r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const c=u.current,f=w.useContext(Y0);c&&!c.projection&&i&&(c.type==="html"||c.type==="svg")&&Nk(u.current,n,i,f);const d=w.useRef(!1);w.useInsertionEffect(()=>{c&&d.current&&c.update(n,a)});const h=n[Q0],v=w.useRef(!!h&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,h))&&((x=window.MotionHasOptimisedAnimation)==null?void 0:x.call(window,h)));return gk(()=>{c&&(d.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),af.render(c.render),v.current&&c.animationState&&c.animationState.animateChanges())}),w.useEffect(()=>{c&&(!v.current&&c.animationState&&c.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)==null||p.call(window,h)}),v.current=!1))}),c}function Nk(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:X0(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&Kr(a),visualElement:e,animationType:typeof o=="str
110ing"?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function X0(e){if(e)return e.options.allowProjection!==!1?e.projection:X0(e.parent)}let Ma=()=>{};function jk({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&wk(e);function o(a,l){let u;const c={...w.useContext(B0),...a,layoutId:Dk(a)},{isStatic:f}=c,d=Pk(a),h=r(a,f);if(!f&&tf){Ok();const v=Lk(c);u=v.MeasureLayout,d.visualElement=Mk(i,h,c,t,v.ProjectionNode)}return C.jsxs(fl.Provider,{value:d,children:[u&&d.visualElement?C.jsx(u,{visualElement:d.visualElement,...c}):null,n(i,a,Ak(h,d.visualElement,l),h,f,d.visualElement)]})}o.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const s=w.forwardRef(o);return s[kk]=i,s}function Dk({layoutId:e}){const t=w.useContext(z0).id;return t&&e!==void 0?t+"-"+e:e}function Ok(e,t){w.useContext(H0).strict}function Lk(e){const{drag:t,layout:n}=bi;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const q0=e=>t=>typeof t=="string"&&t.startsWith(e),lf=q0("--"),_k=q0("var(--"),uf=e=>_k(e)?Ik.test(e.split("/*")[0].trim()):!1,Ik=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Io={};function Vk(e){for(const t in e)Io[t]=e[t],lf(t)&&(Io[t].isCSSVariable=!0)}const ji=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Di=new Set(ji);function Z0(e,{layout:t,layoutId:n}){return Di.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Io[e]||e==="opacity")}const J0=(e,t)=>t&&typeof e=="number"?t.transform(e):e,dn=(e,t,n)=>n>t?t:n<e?e:n,Oi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Vo={...Oi,transform:e=>dn(0,1,e)},Ns={...Oi,default:1},Dp={...Oi,transform:Math.round},Zo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Tn=Zo("deg"),Wt=Zo("%"),U=Zo("px"),Fk=Zo("vh"),zk=Zo("vw"),Op={...Wt,parse:e=>Wt.parse(e)/100,transform:e=>Wt.transform(e*100)},Bk={rotate:Tn,rotateX:Tn,rotateY:Tn,rotateZ:Tn,scale:Ns,scaleX:Ns,scaleY:Ns,scaleZ:Ns,skew:Tn,skewX:Tn,skewY:Tn,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:Vo,originX:Op,originY:Op,originZ:U},cf={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,backgroundPositionX:U,backgroundPositionY:U,...Bk,zIndex:Dp,fillOpacity:Vo,strokeOpacity:Vo,numOctaves:Dp},$k={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Uk=ji.length;function Wk(e,t,n){let r="",i=!0;for(let o=0;o<Uk;o++){const s=ji[o],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=J0(a,cf[s]);if(!l){i=!1;const c=$k[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function df(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(Di.has(l)){s=!0;continue}else if(lf(l)){i[l]=u;continue}else{const c=J0(u,cf[l]);l.startsWith("origin")?(a=!0,o[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=Wk(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;r.transformOrigin=`${l} ${u} ${c}`}}const ff=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),_e=e=>!!(e&&e.getVelocity);function ex(e,t,n){for(const r in t)!_e(t[r])&&!Z0(r,n)&&(e[r]=t[r])}function Hk({transformTemplate:e},t){return w.useMemo(()=>{const n=ff();return df(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Kk(e,t){const n=e.style||{},r={};return ex(r,n,e),Object.assign(r,Hk(e,t)),r}function Gk(e,t){const n={},r=Kk(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
110`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Qk={offset:"stroke-dashoffset",array:"stroke-dasharray"},Yk={offset:"strokeDashoffset",array:"strokeDasharray"};function Xk(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Qk:Yk;e[o.offset]=U.transform(-r);const s=U.transform(t),a=U.transform(n);e[o.array]=`${s} ${a}`}function tx(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(df(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:d}=e;f.transform&&(d.transform=f.transform,delete f.transform),(d.transform||f.transformOrigin)&&(d.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),d.transform&&(d.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete f.transformBox),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&Xk(f,i,o,s,!1)}const nx=()=>({...ff(),attrs:{}}),rx=e=>typeof e=="string"&&e.toLowerCase()==="svg";function qk(e,t,n,r){const i=w.useMemo(()=>{const o=nx();return tx(o,t,rx(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};ex(o,e.style,e),i.style={...o,...i.style}}return i}const Zk=["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 hf(e){return typeof e!="string"||e.includes("-")?!1:!!(Zk.indexOf(e)>-1||/[A-Z]/u.test(e))}function Jk(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(hf(n)?qk:Gk)(r,o,s,n),u=Tk(r,typeof n=="string",e),c=n!==w.Fragment?{...u,...l,ref:i}:{},{children:f}=r,d=w.useMemo(()=>_e(f)?f.get():f,[f]);return w.createElement(n,{...c,children:d})}}function Lp(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function pf(e,t,n,r){if(typeof t=="function"){const[i,o]=Lp(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=Lp(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Qs(e){return _e(e)?e.get():e}function eA({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:tA(n,r,i,e),renderState:t()}}const ix=e=>(t,n)=>{const r=w.useContext(fl),i=w.useContext(nf),o=()=>eA(e,t,r,i);return n?o():mk(o)};function tA(e,t,n,r){const i={},o=r(e,{});for(const d in o)i[d]=Qs(o[d]);let{initial:s,animate:a}=e;const l=pl(e),u=G0(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const f=c?a:s;if(f&&typeof f!="boolean"&&!hl(f)){const d=Array.isArray(f)?f:[f];for(let h=0;h<d.length;h++){const v=pf(e,d[h]);if(v){const{transitionEnd:g,transition:x,...p}=v;for(const m in p){let y=p[m];if(Array.isArray(y)){const S=c?y.length-1:0;y=y[S]}y!==null&&(i[m]=y)}for(const m in g)i[m]=g[m]}}}return i}function mf(e,t,n){var o;const{style:r}=e,i={};for(const s in r)(_e(r[s])||t.style&&_e(t.style[s])||Z0(s,e)||((o=n==null?void 0:n.getValue(s))==null?void 0:o.liveStyle)!==void 0)&&(i[s]=r[s]);return i}const nA={useVisualState:ix({scrapeMotionValuesFromProps:mf,createRenderState:ff})};function ox(e,t,n){const r=mf(e,t,n);for(const i in e)if(_e(e[i])||_e(t[i])){const o=ji.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}const rA={useVisualState:ix({scrapeMotionValuesFromProps:ox,createRenderState:nx})};function iA(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const s={...hf(r)?rA:nA,preloadedFeatures:e,useRender:Jk(i),createVisualElement:t,Component:r};return jk(s)}}
110function Fo(e,t,n){const r=e.getProps();return pf(r,t,n!==void 0?n:r.custom,e)}const Tc=e=>Array.isArray(e);let Ys;function oA(){Ys=void 0}const Ge={now:()=>(Ys===void 0&&Ge.set(Ae.isProcessing||cn.useManualTiming?Ae.timestamp:performance.now()),Ys),set:e=>{Ys=e,queueMicrotask(oA)}};function gf(e,t){e.indexOf(t)===-1&&e.push(t)}function yf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class vf{constructor(){this.subscriptions=[]}add(t){return gf(this.subscriptions,t),()=>yf(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function sx(e,t){return t?e*(1e3/t):0}const _p=30,sA=e=>!isNaN(parseFloat(e));class aA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{var s,a;const o=Ge.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const l of this.dependents)l.dirty();i&&((a=this.events.renderRequest)==null||a.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ge.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=sA(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new vf);const r=this.events[t].add(n);return t==="change"?()=>{r(),fe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ge.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>_p)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,_p);return sx(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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 t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ei(e,t){return new aA(e,t)}function lA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ei(n))}function uA(e){return Tc(e)?e[e.length-1]||0:e}function cA(e,t){const n=Fo(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=uA(o[s]);lA(e,s,a)}}function dA(e){return!!(_e(e)&&e.add)}function bc(e,t){const n=e.getValue("willChange");if(dA(n))return n.add(t);if(!n&&cn.WillChange){const r=new cn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function ax(e){return e.props[Q0]}const fA=e=>e!==null;function hA(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(fA),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const pA={type:"spring",stiffness:500,damping:25,restSpeed:10},mA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),gA={type:"keyframes",duration:.8},yA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},vA=(e,{keyframes:t})=>t.length>2?gA:Di.has(e)?e.startsWith("scale")?mA(t[1]):pA:yA;function xA({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function xf(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const Ht=e=>e*1e3,Kt=e=>e/1e3,lo=e=>Math.round(e*1e5)/1e5,wf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wA(e){return e==null}const SA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Sf=(e,t)=>
vendor: 19,695 bytes, line 110
110n=>!!(typeof n=="string"&&SA.test(n)&&n.startsWith(e)||t&&!wA(n)&&Object.prototype.hasOwnProperty.call(n,t)),lx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,a]=r.match(wf);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},CA=e=>dn(0,255,e),eu={...Oi,transform:e=>Math.round(CA(e))},cr={test:Sf("rgb","red"),parse:lx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+eu.transform(e)+", "+eu.transform(t)+", "+eu.transform(n)+", "+lo(Vo.transform(r))+")"};function TA(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Ec={test:Sf("#"),parse:TA,transform:cr.transform},Gr={test:Sf("hsl","hue"),parse:lx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Wt.transform(lo(t))+", "+Wt.transform(lo(n))+", "+lo(Vo.transform(r))+")"},xe={test:e=>cr.test(e)||Ec.test(e)||Gr.test(e),parse:e=>cr.test(e)?cr.parse(e):Gr.test(e)?Gr.parse(e):Ec.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?cr.transform(e):Gr.transform(e),getAnimatableNone:e=>{const t=xe.parse(e);return t.alpha=0,xe.transform(t)}},bA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function EA(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(wf))==null?void 0:t.length)||0)+(((n=e.match(bA))==null?void 0:n.length)||0)>0}const ux="number",cx="color",PA="var",kA="var(",Ip="${}",AA=/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 zo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(AA,l=>(xe.test(l)?(r.color.push(o),i.push(cx),n.push(xe.parse(l))):l.startsWith(kA)?(r.var.push(o),i.push(PA),n.push(l)):(r.number.push(o),i.push(ux),n.push(parseFloat(l))),++o,Ip)).split(Ip);return{values:n,split:a,indexes:r,types:i}}function dx(e){return zo(e).values}function fx(e){const{split:t,types:n}=zo(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const a=n[s];a===ux?o+=lo(i[s]):a===cx?o+=xe.transform(i[s]):o+=i[s]}return o}}const RA=e=>typeof e=="number"?0:xe.test(e)?xe.getAnimatableNone(e):e;function MA(e){const t=dx(e);return fx(e)(t.map(RA))}const qn={test:EA,parse:dx,createTransformer:fx,getAnimatableNone:MA};function tu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function NA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=tu(l,a,e+1/3),o=tu(l,a,e),s=tu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Na(e,t){return n=>n>0?t:e}const ce=(e,t,n)=>e+(t-e)*n,nu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},jA=[Ec,cr,Gr],DA=e=>jA.find(t=>t.test(e));function Vp(e){const t=DA(e);if(!t)return!1;let n=t.parse(e);return t===Gr&&(n=NA(n)),n}const Fp=(e,t)=>{const n=Vp(e),r=Vp(t);if(!n||!r)return Na(e,t);const i={...n};return o=>(i.red=nu(n.red,r.red,o),i.green=nu(n.green,r.green,o),i.blue=nu(n.blue,r.blue,o),i.alpha=ce(n.alpha,r.alpha,o),cr.transform(i))},Pc=new Set(["none","hidden"]);function OA(e,t){return Pc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}const LA=(e,t)=>n=>t(e(n)),Jo=(...e)=>e.reduce(LA);function _A(e,t){return n=>ce(e,t,n)}function Cf(e){return typeof e=="number"?_A:typeof e=="string"?uf(e)?Na:xe.test(e)?Fp:FA:Array.isArray(e)?hx:typeof e=="object"?xe.test(e)?Fp:IA:Na}function hx(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Cf(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function IA(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Cf(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function VA(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}const FA=(e,t)=>{const n=qn.createTransformer(t),r=zo(e),i=zo(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Pc.has(e)&&!i.values.length||Pc.has(t)&&!r.values.length?OA(e,t):Jo(hx(VA(r,i),i.values),n):Na(e,t)};function px(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ce(e,t,n):Cf(e)(e,t)}const zA=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>fe.update(t,n),stop:()=>Xn(t),now:()=>Ae.isProcessing?Ae.timestamp:Ge.now()}},mx=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=Math.round(e(o/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ja=2e4;function Tf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ja;)t+=n,r=e.next(t);return t>=ja?1/0:t}function BA(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Tf(r),ja);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:Kt(i)}}const $A=5;function gx(e,t,n){const r=Math.max(t-$A,0);return sx(n-e(r),t-r)}const me={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},ru=.001;function UA({duration:e=me.duration,bounce:t=me.bounce,velocity:n=me.velocity,mass:r=me.mass}){let i,o,s=1-t;s=dn(me.minDamping,me.maxDamping,s),e=dn(me.minDuration,me.maxDuration,Kt(e)),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,h=kc(u,s),v=Math.exp(-f);return ru-d/h*v},o=u=>{const f=u*s*e,d=f*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-f),g=kc(Math.pow(u,2),s);return(-i(u)+ru>0?-1:1)*((d-h)*v)/g}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-ru+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=HA(i,o,a);if(e=Ht(e),isNaN(l))return{stiffness:me.stiffness,damping:me.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const WA=12;function HA(e,t,n){let r=n;for(let i=1;i<WA;i++)r=r-e(r)/t(r);return r}function kc(e,t){return e*Math.sqrt(1-t*t)}const KA=["duration","bounce"],GA=["stiffness","damping","mass"];function zp(e,t){return t.some(n=>e[n]!==void 0)}function QA(e){let t={velocity:me.velocity,stiffness:me.stiffness,damping:me.damping,mass:me.mass,isResolvedFromDuration:!1,...e};if(!zp(e,GA)&&zp(e,KA))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*dn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:me.mass,stiffness:i,damping:o}}else{const n=UA(e);t={...t,...n,mass:me.mass},t.isResolvedFromDuration=!0}return t}function Da(e=me.visualDuration,t=me.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:h}=QA({...n,velocity:-Kt(n.velocity||0)}),v=d||0,g=u/(2*Math.sqrt(l*c)),x=s-o,p=Kt(Math.sqrt(l/c)),m=Math.abs(x)<5;r||(r=m?me.restSpeed.granular:me.restSpeed.default),i||(i=m?me.restDelta.granular:me.restDelta.default);let y;if(g<1){const T=kc(p,g);y=b=>{const k=Math.exp(-g*p*b);return s-k*((v+g*p*x)/T*Math.sin(T*b)+x*Math.cos(T*b))}}else if(g===1)y=T=>s-Math.exp(-p*T)*(x+(v+p*x)*T);else{const T=p*Math.sqrt(g*g-1);y=b=>{const k=Math.exp(-g*p*b),E=Math.min(T*b,300);return s-k*((v+g*p*x)*Math.sinh(E)+T*x*Math.cosh(E))/T}}const S={calculatedDuration:h&&f||null,next:T=>{const b=y(T);if(h)a.done=T>=f;else{let k=T===0?v:0;g<1&&(k=T===0?Ht(v):gx(y,T,b));const E=Math.abs(k)<=r,D=Math.abs(s-b)<=i;a.done=E&&D}return a.value=a.done?s:b,a},toString:()=>{const T=Math.min(Tf(S),ja),b=mx(k=>S.next(T*k).value,T,30);return T+"ms "+b},toTransition:()=>{}};return S}Da.applyToOptions=e=>{const t=BA(e,100,Da);return e.ease=t.ease,e.duration=Ht(t.duration),e.type="keyframes",e};function Ac({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},h=E=>a!==void 0&&E<a||l!==void 0&&E>l,v=E=>a===void 0?l:l===void 0||Math.abs(a-E)<Math.abs(l-E)?a:l;let g=n*t;const x=f+g,p=s===void 0?x:s(x);p!==x&&(g=p-f);const m=E=>-g*Math.exp(-E/r),y=E=>p+m(E),S=E=>{const D=m(E),N=y(E);d.done=Math.abs(D)<=u,d.value=d.done?p:N};let T,b;const k=E=>{h(d.value)&&(T=E,b=Da({keyframes:[d.value,v(d.value)],velocity:gx(y,E,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:E=>{let D=!1;return!b&&T===void 0&&(D=!0,S(E),k(E)),T!==void 0&&E>=T?b.next(E-T):(!D&&S(E),d)}}}const Bo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};function YA(e,t,n){const r=[],i=n||cn.mix||px,o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||yt:t;a=Jo(l,a)}r.push(a)}return r}function XA(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Ma(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=YA(t,r,i),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const d=Bo(e[f],e[f+1],c);return a[f](d)};return n?c=>u(dn(e[0],e[o-1],c)):u}function qA(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Bo(0,t,r);e.push(ce(n,1,i))}}function ZA(e){const t=[0];return qA(t,e.length-1),t}function JA(e,t){return e.map(n=>n*t)}const yx=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,eR=1e-7,tR=12;function nR(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=yx(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>eR&&++a<tR);return s}function es(e,t,n,r){if(e===t&&n===r)return yt;const i=o=>nR(o,0,1,e,n);return o=>o===0||o===1?o:yx(i(o),t,r)}const rR=es(.42,0,1,1),iR=es(0,0,.58,1),vx=es(.42,0,.58,1),oR=e=>Array.isArray(e)&&typeof e[0]!="number",xx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,wx=e=>t=>1-e(1-t),Sx=es(.33,1.53,.69,.99),bf=wx(Sx),Cx=xx(bf),Tx=e=>(e*=2)<1?.5*bf(e):.5*(2-Math.pow(2,-10*(e-1))),Ef=e=>1-Math.sin(Math.acos(e)),bx=wx(Ef),Ex=xx(Ef),Px=e=>Array.isArray(e)&&typeof e[0]=="number",Bp={linear:yt,easeIn:rR,easeInOut:vx,easeOut:iR,circIn:Ef,circInOut:Ex,circOut:bx,backIn:bf,backInOut:Cx,backOut:Sx,anticipate:Tx},sR=e=>typeof e=="string",$p=e=>{if(Px(e)){Ma(e.length===4);const[t,n,r,i]=e;return es(t,n,r,i)}else if(sR(e))return Ma(Bp[e]!==void 0),Bp[e];return e};function aR(e,t){return e.map(()=>t||vx).splice(0,e.length-1)}function uo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=oR(r)?r.map($p):$p(r),o={done:!1,value:t[0]},s=JA(n&&n.length===t.length?n:ZA(t),e),a=XA(s,t,{ease:Array.isArray(i)?i:aR(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const lR=e=>e!==null;function Pf(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(lR),a=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const uR={decay:Ac,inertia:Ac,tween:uo,keyframes:uo,spring:Da};function kx(e){typeof e.type=="string"&&(e.type=uR[e.type])}class kf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const cR=e=>e/100;class Af extends kf{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ge.now()&&this.tick(Ge.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;kx(t);const{type:n=uo,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=t;let{keyframes:a}=t;const l=n||uo;l!==uo&&typeof a[0]!="number"&&(this.mixKeyframes=Jo(cR,px(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=Tf(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:d,repeatDelay:h,type:v,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?p<0:p>i;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,S=r;if(f){const E=Math.min(this.currentTime,i)/a;let D=Math.floor(E),N=E%1;!N&&E>=1&&(N=1),N===1&&D--,D=Math.min(D,f+1),!!(D%2)&&(d==="reverse"?(N=1-N,h&&(N-=h/a)):d==="mirror"&&(S=s)),y=dn(0,1,N)*a}const T=m?{done:!1,value:c[0]}:S.next(y);o&&(T.value=o(T.value));let{done:b}=T;!m&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return k&&v!==Ac&&(T.value=Pf(c,this.options,x,this.speed)),g&&g(T.value),k&&this.finish(),T}then(t,n){return this.finished.then(t,n)}get duration(){return Kt(this.calculatedDuration)}get time(){return Kt(this.currentTime)}set time(t){var n;t=Ht(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ge.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Kt(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:t=zA,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(o=(i=this.options).onPlay)==null||o.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ge.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function dR(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const dr=e=>e*180/Math.PI,Rc=e=>{const t=dr(Math.atan2(e[1],e[0]));return Mc(t)},fR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Rc,rotateZ:Rc,skewX:e=>dr(Math.atan(e[1])),skewY:e=>dr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Mc=e=>(e=e%360,e<0&&(e+=360),e),Up=Rc,Wp=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Hp=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),hR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Wp,scaleY:Hp,scale:e=>(Wp(e)+Hp(e))/2,rotateX:e=>Mc(dr(Math.atan2(e[6],e[5]))),rotateY:e=>Mc(dr(Math.atan2(-e[2],e[0]))),rotateZ:Up,rotate:Up,skewX:e=>dr(Math.atan(e[4])),skewY:e=>dr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Nc(e){return e.includes("scale")?1:0}function jc(e,t){if(!e||e==="none")return Nc(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=hR,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=fR,i=a}if(!i)return Nc(t);const o=r[t],s=i[1].split(",").map(mR);return typeof o=="function"?o(s):s[o]}const pR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return jc(n,t)};function mR(e){return parseFloat(e.trim())}const Kp=e=>e===Oi||e===U,gR=new Set(["x","y","z"]),yR=ji.filter(e=>!gR.has(e));function vR(e){const t=[];return yR.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const vr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>jc(t,"x"),y:(e,{transform:t})=>jc(t,"y")};vr.translateX=vr.x;vr.translateY=vr.y;const xr=new Set;let Dc=!1,Oc=!1,Lc=!1;function Ax(){if(Oc){const e=Array.from(xr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=vR(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Oc=!1,Dc=!1,xr.forEach(e=>e.complete(Lc)),xr.clear()}function Rx(){xr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Oc=!0)})}function xR(){Lc=!0,Rx(),Ax(),Lc=!1}class Rf{constructor(t,n,r,i,o,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(xr.add(this),Dc||(Dc=!0,fe.read(Rx),fe.resolveKeyframes(Ax))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const o=i==null?void 0:i.get(),s=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),i&&o===void 0&&i.set(t[0])}dR(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),xr.delete(this)}cancel(){this.state==="scheduled"&&(xr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const wR=e=>e.startsWith("--");function SR(e,t,n){wR(t)?e.style.setProperty(t,n):e.style[t]=n}function Mf(e){let t;return()=>(t===void 0&&(t=e()),t)}const CR=Mf(()=>window.ScrollTimeline!==void 0),TR={};function bR(e,t){const n=Mf(e);return()=>TR[t]??n()}const Mx=bR(()=>{try{document.createElement("div").animate({opacity:0}
110,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),qi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Gp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:qi([0,.65,.55,1]),circOut:qi([.55,0,1,.45]),backIn:qi([.31,.01,.66,-.59]),backOut:qi([.33,1.53,.69,.99])};function Nx(e,t){if(e)return typeof e=="function"?Mx()?mx(e,t):"ease-out":Px(e)?qi(e):Array.isArray(e)?e.map(n=>Nx(n,t)||Gp.easeOut):Gp[e]}function ER(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const f=Nx(a,i);Array.isArray(f)&&(c.easing=f);const d={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"};return u&&(d.pseudoElement=u),e.animate(c,d)}function jx(e){return typeof e=="function"&&"applyToOptions"in e}function PR({type:e,...t}){return jx(e)&&Mx()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class kR extends kf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=s,this.options=t,Ma(typeof t.type!="string");const u=PR(t);this.animation=ER(n,r,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Pf(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):SR(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Kt(Number(t))}get time(){return Kt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ht(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&CR()?(this.animation.timeline=t,yt):n(this)}}const Dx={anticipate:Tx,backInOut:Cx,circInOut:Ex};function AR(e){return e in Dx}function RR(e){typeof e.ease=="string"&&AR(e.ease)&&(e.ease=Dx[e.ease])}const Qp=10;class MR extends kR{constructor(t){RR(t),kx(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Af({...s,autoplay:!1}),l=Ht(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-Qp).value,a.sample(l).value,Qp),a.stop()}}const Yp=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(qn.test(e)||e==="0")&&!e.startsWith("url("));function NR(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function jR(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=Yp(i,t),a=Yp(o,t);return!s||!a?!1:NR(e)||(n==="spring"||jx(n))&&r}const DR=new Set(["opacity","clipPath","filter","transform"]),OR=Mf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function LR(e){var u;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;if(!U0((u=t==null?void 0:t.owner)==null?void 0:u.current))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return OR()&&n&&DR.has(n)&&(n!=="transform"||!l)&&!a&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}const _R=40;class IR extends kf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){var v;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=Ge.now();const d={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,name:l,motionValue:u,element:c,...f},h=(c==null?void 0:c.KeyframeResolver)||Rf;this.keyframeResolver=new h(a,(g,x,p)=>this.onKeyframesResolved(g,x,d,!p),l,u,c),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ge.now(),jR(t,o,s,a)||((cn.instantAnimations||!l)&&(c==null||c(Pf(t,r,n))),t[0]=t[t.length-1],r.duration=0,r.repeat=0);const d={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>_R?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!u&&LR(d)?new MR({...d,element:d.motionValue.owner.current}):new Af(d);h.finished.then(()=>this.notifyFinished()).catch(yt),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),xR()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const Nf=(e,t,n,r={},i,o)=>s=>{const a=xf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Ht(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};xA(a)||Object.assign(c,vA(e,c)),c.duration&&(c.duration=Ht(c.duration)),c.repeatDelay&&(c.repeatDelay=Ht(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,
vendor: 62,553 bytes, line 110
110c.delay===0&&(f=!0)),(cn.instantAnimations||cn.skipAnimations)&&(f=!0,c.duration=0,c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&t.get()!==void 0){const d=hA(c.keyframes,a);if(d!==void 0){fe.update(()=>{c.onUpdate(d),c.onComplete()});return}}return a.isSync?new Af(c):new IR(c)},Ox=new Set(["width","height","top","left","right","bottom",...ji]);function VR({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Lx(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=t;r&&(o=r);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const c in a){const f=e.getValue(c,e.latestValues[c]??null),d=a[c];if(d===void 0||u&&VR(u,c))continue;const h={delay:n,...xf(o||{},c)},v=f.get();if(v!==void 0&&!f.isAnimating&&!Array.isArray(d)&&d===v&&!h.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const p=ax(e);if(p){const m=window.MotionHandoffAnimation(p,c,fe);m!==null&&(h.startTime=m,g=!0)}}bc(e,c),f.start(Nf(c,f,d,e.shouldReduceMotion&&Ox.has(c)?{type:!1}:h,e,g));const x=f.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{fe.update(()=>{s&&cA(e,s)})}),l}function _c(e,t,n={}){var l;const r=Fo(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Lx(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=i;return FR(e,t,c+u,f,d,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[o,s]:[s,o];return u().then(()=>c())}else return Promise.all([o(),s(n.delay)])}function FR(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(zR).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(_c(u,t,{...o,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function zR(e,t){return e.sortNodePosition(t)}function BR(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>_c(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=_c(e,t,n);else{const i=typeof t=="function"?Fo(e,t,n.custom):t;r=Promise.all(Lx(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function _x(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const $R=of.length;function Ix(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Ix(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<$R;n++){const r=of[n],i=e.props[r];(_o(i)||i===!1)&&(t[r]=i)}return t}const UR=[...rf].reverse(),WR=rf.length;function HR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>BR(e,n,r)))}function KR(e){let t=HR(e),n=Xp(),r=!0;const i=l=>(u,c)=>{var d;const f=Fo(e,c,l==="exit"?(d=e.presenceContext)==null?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:v,...g}=f;u={...u,...g,...v}}return u};function o(l){t=l(e)}function s(l){const{props:u}=e,c=Ix(e.parent)||{},f=[],d=new Set;let h={},v=1/0;for(let x=0;x<WR;x++){const p=UR[x],m=n[p],y=u[p]!==void 0?u[p]:c[p],S=_o(y),T=p===l?m.isActive:null;T===!1&&(v=x);let b=y===c[p]&&y!==u[p]&&S;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...h},!m.isActive&&T===null||!y&&!m.prevProp||hl(y)||typeof y=="boolean")continue;const k=GR(m.prevProp,y);let E=k||p===l&&m.isActive&&!b&&S||x>v&&S,D=!1;const N=Array.isArray(y)?y:[y];let F=N.reduce(i(p),{});T===!1&&(F={});const{prevResolvedValues:I={}}=m,W={...I,...F},O=z=>{E=!0,d.has(z)&&(D=!0,d.delete(z)),m.needsAnimating[z]=!0;const P=e.getValue(z);P&&(P.liveStyle=!1)};for(const z in W){const P=F[z],M=I[z];if(h.hasOwnProperty(z))continue;let V=!1;Tc(P)&&Tc(M)?V=!_x(P,M):V=P!==M,V?P!=null?O(z):d.add(z):P!==void 0&&d.has(z)?O(z):m.protectedKeys[z]=!0}m.prevProp=y,m.prevResolvedValues=F,m.isActive&&(h={...h,...F}),r&&e.blockInitialAnimation&&(E=!1),E&&(!(b&&k)||D)&&f.push(...N.map(z=>({animation:z,options:{type:p}})))}if(d.size){const x={};if(typeof u.initial!="boolean"){const p=Fo(e,Array.isArray(u.initial)?u.initial[0]:u.initial);p&&p.transition&&(x.transition=p.transition)}d.forEach(p=>{const m=e.getBaseTarget(p),y=e.getValue(p);y&&(y.liveStyle=!0),x[p]=m??null}),f.push({animation:x})}let g=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(f):Promise.resolve()}function a(l,u){var f;if(n[l].isActive===u)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(d=>{var h;return(h=d.animationState)==null?void 0:h.setActive(l,u)}),n[l].isActive=u;const c=s(l);for(const d in n)n[d].protectedKeys={};return c}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Xp(),r=!0}}}function GR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_x(t,e):!1}function rr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Xp(){return{animate:rr(!0),whileInView:rr(),whileHover:rr(),whileTap:rr(),whileDrag:rr(),whileFocus:rr(),exit:rr()}}class tr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class QR extends tr{constructor(t){super(t),t.animationState||(t.animationState=KR(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();hl(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let YR=0;class XR extends tr{constructor(){super(...arguments),this.id=YR++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const qR={animation:{Feature:QR},exit:{Feature:XR}};function $o(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const jf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ts(e){return{point:{x:e.pageX,y:e.pageY}}}const ZR=e=>t=>jf(t)&&e(t,ts(t));function co(e,t,n,r){return $o(e,t,ZR(n),r)}function Vx({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function JR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function e2(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}const Fx=1e-4,t2=1-Fx,n2=1+Fx,zx=.01,r2=0-zx,i2=0+zx;function Be(e){return e.max-e.min}function o2(e,t,n){return Math.abs(e-t)<=n}function qp(e,t,n,r=.5){e.origin=r,e.originPoint=ce(t.min,t.max,e.origin),e.scale=Be(n)/Be(t),e.translate=ce(n.min,n.max,e.origin)-e.originPoint,(e.scale>=t2&&e.scale<=n2||isNaN(e.scale))&&(e.scale=1),(e.translate>=r2&&e.translate<=i2||isNaN(e.translate))&&(e.translate=0)}function fo(e,t,n,r){qp(e.x,t.x,n.x,r?r.originX:void 0),qp(e.y,t.y,n.y,r?r.originY:void 0)}function Zp(e,t,n){e.min=n.min+t.min,e.max=e.min+Be(t)}function s2(e,t,n){Zp(e.x,t.x,n.x),Zp(e.y,t.y,n.y)}function Jp(e,t,n){e.min=t.min-n.min,e.max=e.min+Be(t)}function ho(e,t,n){Jp(e.x,t.x,n.x),Jp(e.y,t.y,n.y)}const em=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qr=()=>({x:em(),y:em()}),tm=()=>({min:0,max:0}),ye=()=>({x:tm(),y:tm()});function dt(e){return[e("x"),e("y")]}function iu(e){return e===void 0||e===1}function Ic({scale:e,scaleX:t,scaleY:n}){return!iu(e)||!iu(t)||!iu(n)}function sr(e){return Ic(e)||Bx(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Bx(e){return nm(e.x)||nm(e.y)}function nm(e){return e&&e!=="0%"}function Oa(e,t,n){const r=e-n,i=t*r;return n+i}function rm(e,t,n,r,i){return i!==void 0&&(e=Oa(e,i,r)),Oa(e,n,r)+t}function Vc(e,t=0,n=1,r,i){e.min=rm(e.min,t,n,r,i),e.max=rm(e.max,t,n,r,i)}function $x(e,{x:t,y:n}){Vc(e.x,t.translate,t.scale,t.originPoint),Vc(e.y,n.translate,n.scale,n.originPoint)}const im=.999999999999,om=1.0000000000001;function a2(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Xr(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,$x(e,s)),r&&sr(o.latestValues)&&Xr(e,o.latestValues))}t.x<om&&t.x>im&&(t.x=1),t.y<om&&t.y>im&&(t.y=1)}function Yr(e,t){e.min=e.min+t,e.max=e.max+t}function sm(e,t,n,r,i=.5){const o=ce(e.min,e.max,i);Vc(e,t,n,o,r)}function Xr(e,t){sm(e.x,t.x,t.scaleX,t.scale,t.originX),sm(e.y,t.y,t.scaleY,t.scale,t.originY)}function Ux(e,t){return Vx(e2(e.getBoundingClientRect(),t))}function l2(e,t,n){const r=Ux(e,n),{scroll:i}=t;return i&&(Yr(r.x,i.offset.x),Yr(r.y,i.offset.y)),r}const Wx=({current:e})=>e?e.ownerDocument.defaultView:null,am=(e,t)=>Math.abs(e-t);function u2(e,t){const n=am(e.x,t.x),r=am(e.y,t.y);return Math.sqrt(n**2+r**2)}class Hx{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=su(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,h=u2(f.offset,{x:0,y:0})>=3;if(!d&&!h)return;const{point:v}=f,{timestamp:g}=Ae;this.history.push({...v,timestamp:g});const{onStart:x,onMove:p}=this.handlers;d||(x&&x(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=ou(d,this.transformPagePoint),fe.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:h,onSessionEnd:v,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=su(f.type==="pointercancel"?this.lastMoveEventInfo:ou(d,this.transformPagePoint),this.history);this.startEvent&&h&&h(f,x),v&&v(f,x)},!jf(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=ts(t),a=ou(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=Ae;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,su(a,this.history)),this.removeListeners=Jo(co(this.contextWindow,"pointermove",this.handlePointerMove),co(this.contextWindow,"pointerup",this.handlePointerUp),co(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Xn(this.updatePoint)}}function ou(e,t){return t?{point:t(e.point)}:e}function lm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function su({point:e},t){return{point:e,delta:lm(e,Kx(t)),offset:lm(e,c2(t)),velocity:d2(t,.1)}}function c2(e){return e[0]}function Kx(e){return e[e.length-1]}function d2(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Kx(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ht(t)));)n--;if(!r)return{x:0,y:0};const o=Kt(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function f2(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ce(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ce(n,e,r.max):Math.min(e,n)),e}function um(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function h2(e,{top:t,left:n,bottom:r,right:i}){return{x:um(e.x,n,i),y:um(e.y,t,r)}}function cm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function p2(e,t){return{x:cm(e.x,t.x),y:cm(e.y,t.y)}}function m2(e,t){let n=.5;const r=Be(e),i=Be(t);return i>r?n=Bo(t.min,t.max-r,e.min):r>i&&(n=Bo(e.min,e.max-i,t.min)),dn(0,1,n)}function g2(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Fc=.35;function y2(e=Fc){return e===!1?e=0:e===!0&&(e=Fc),{x:dm(e,"left","right"),y:dm(e,"top","bottom")}}function dm(e,t,n){return{min:fm(e,t),max:fm(e,n)}}function fm(e,t){return typeof e=="number"?e:e[t]||0}const Ct={x:!1,y:!1};function Gx(){return Ct.x||Ct.y}function v2(e){return e==="x"||e==="y"?Ct[e]?null:(Ct[e]=!0,()=>{Ct[e]=!1}):Ct.x||Ct.y?null:(Ct.x=Ct.y=!0,()=>{Ct.x=Ct.y=!1})}const x2=new WeakMap;class w2{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ye(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ts(c).point)},o=(c,f)=>{const{drag:d,dragPropagation:h,onDragStart:v}=this.getProps();if(d&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=v2(d),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dt(x=>{let p=this.getAxisMotionValue(x).get()||0;if(Wt.test(p)){const{projection:m}=this.visualElement;if(m&&m.layout){const y=m.layout.layoutBox[x];y&&(p=Be(y)*(parseFloat(p)/100))}}this.originPoint[x]=p}),v&&fe.postRender(()=>v(c,f)),bc(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},s=(c,f)=>{const{dragPropagation:d,dragDirectionLock:h,onDirectionLock:v,onDrag:g}=this.getProps();if(!d&&!this.openDragLock)return;const{offset:x}=f;if(h&&this.currentDirection===null){this.currentDirection=S2(x),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",f.point,x),this.updateAxis("y",f.point,x),this.visualElement.render(),g&&g(c,f)},a=(c,f)=>this.stop(c,f),l=()=>dt(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)==null?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Hx(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Wx(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&fe.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!js(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=f2(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;t&&Kr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=h2(r.layoutBox,t):this.constraints=!1,this.elastic=y2(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&dt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=g2(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Kr(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=l2(r,i.root,this.visualElement.getTransformPagePoint());let s=p2(i.layout.layoutBox,o);if(n){const a=n(JR(s));this.hasMutatedConstraints=!!a,a&&(s=Vx(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=dt(c=>{if(!js(c,n,this.currentDirection))return;let f=l&&l[c]||{};s&&(f={min:0,max:0});const d=i?200:1e6,h=i?40:1e7,v={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return bc(this.visualElement,t),r.start(Nf(t,r,0,n,this.visualElement,!1))}stopAnimation(){dt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){dt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){dt(n=>{const{drag:r}=this.getProps();if(!js(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-ce(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Kr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};dt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=m2({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),dt(s=>{if(!js(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(ce(l,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;x2.set(this.visualElement,this);const t=this.visualElement.current,n=co(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Kr(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),fe.read(r);const s=$o(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(dt(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=l[c].translate,f.set(f.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=Fc,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function js(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function S2(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class C2 extends tr{constructor(t){super(t),this.removeGroupControls=yt,this.removeListeners=yt,this.controls=new w2(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||yt}unmount(){this.removeGroupControls(),this.removeListeners()}}const hm=e=>(t,n)=>{e&&fe.postRender(()=>e(t,n))};class T2 extends tr{constructor(){super(...arguments),this.removePointerDownListener=yt}onPointerDown(t){this.session=new Hx(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Wx(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:hm(t),onStart:hm(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&fe.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=co(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Xs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ki={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(U.test(e))e=parseFloat(e);else return e;const n=pm(e,t.target.x),r=pm(e,t.target.y);return`${n}% ${r}%`}},b2={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=qn.parse(e);if(i.length>5)return r;const o=qn.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const u=ce(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class E2 extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Vk(P2),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Xs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:s}=r;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0||t.isPresent!==o?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||fe.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),af.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Qx(e){const[t,n]=yk(),r=w.useContext(z0);return C.jsx(E2,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(Y0),isPresent:t,safeToRemove:n})}const P2={borderRadius:{...Ki,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ki,borderTopRightRadius:Ki,borderBottomLeftRadius:Ki,borderBottomRightRadius:Ki,boxShadow:b2};function k2(e,t,n){const r=_e(e)?e:Ei(e);return r.start(Nf("",r,t,n)),r.animation}const A2=(e,t)=>e.depth-t.depth;class R2{constructor(){this.children=[],this.isDirty=!1}add(t){gf(this.children,t),this.isDirty=!0}remove(t){yf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(A2),this.isDirty=!1,this.children.forEach(t)}}function M2(e,t){const n=Ge.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Xn(r),e(o-t))};return fe.setup(r,!0),()=>Xn(r)}const Yx=["TopLeft","TopRight","BottomLeft","BottomRight"],N2=Yx.length,mm=e=>typeof e=="string"?parseFloat(e):e,gm=e=>typeof e=="number"||U.test(e);function j2(e,t,n,r,i,o){i?(e.opacity=ce(0,n.opacity??1,D2(r)),e.opacityExit=ce(t.opacity??1,0,O2(r))):o&&(e.opacity=ce(t.opacity??1,n.opacity??1,r));for(let s=0;s<N2;s++){const a=`border${Yx[s]}Radius`;let l=ym(t,a),u=ym(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||gm(l)===gm(u)?(e[a]=Math.max(ce(mm(l),mm(u),r),0),(Wt.test(u)||Wt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ce(t.rotate||0,n.rotate||0,r))}function ym(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const D2=Xx(0,.5,bx),O2=Xx(.5,.95,yt);function Xx(e,t,n){return r=>r<e?0:r>t?1:n(Bo(e,t,r))}function vm(e,t){e.min=t.min,e.max=t.max}function ct(e,t){vm(e.x,t.x),vm(e.y,t.y)}function xm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function wm(e,t,n,r,i){return e-=t,e=Oa(e,1/n,r),i!==void 0&&(e=Oa(e,1/i,r)),e}function L2(e,t=0,n=1,r=.5,i,o=e,s=e){if(Wt.test(t)&&(t=parseFloat(t),t=ce(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=ce(o.min,o.max,r);e===o&&(a-=t),e.min=wm(e.min,t,n,a,i),e.max=wm(e.max,t,n,a,i)}function Sm(e,t,[n,r,i],o,s){L2(e,t[n],t[r],t[i],t.scale,o,s)}const _2=["x","scaleX","originX"],I2=["y","scaleY","originY"];function Cm(e,t,n,r){Sm(e.x,t,_2,n?n.x:void 0,r?r.x:void 0),Sm(e.y,t,I2,n?n.y:void 0,r?r.y:void 0)}function Tm(e){return e.translate===0&&e.scale===1}function qx(e){return Tm(e.x)&&Tm(e.y)}function bm(e,t){return e.min===t.min&&e.max===t.max}function V2(e,t){return bm(e.x,t.x)&&bm(e.y,t.y)}function Em(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Zx(e,t){return Em(e.x,t.x)&&Em(e.y,t.y)}function Pm(e){return Be(e.x)/Be(e.y)}function km(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class F2{constructor(){this.members=[]}add(t){gf(this.members,t),t.scheduleRender()}remove(t){if(yf(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function z2(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:h,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),h&&(r+=`skewX(${h}deg) `),v&&(r+=`skewY(${v}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}function Jx(e){return $0(e)&&"ownerSVGElement"in e}function B2(e){return Jx(e)&&e.tagName==="svg"}const au=["","X","Y","Z"],$2={visibility:"hidden"},U2=1e3;let W2=0;function lu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ew(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ax(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",fe,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&ew(r)}function tw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=W2++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(G2),this.nodes.forEach(Z2),this.nodes.forEach(J2),this.nodes.forEach(Q2)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new R2)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new vf),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=Jx(s)&&!B2(s),this.instance=s;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c;const f=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,c&&c(),c=M2(f,250),Xs.hasAnimatedSinceResize&&(Xs.hasAnimatedSinceResize=!1,this.nodes.forEach(Rm))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:d,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||iM,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=u.getProps(),p=!this.targetLayout||!Zx(this.targetLayout,h),m=!f&&d;if(this.options.layoutRoot||this.resumeFrom||m||f&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...xf(v,"layout"),onPlay:g,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(c,m)}else f||Rm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Xn(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(eM),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ew(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Am);return}this.isUpdating||this.nodes.forEach(X2),this.isUpdating=!1,this.nodes.forEach(q2),this.nodes.forEach(H2),this.nodes.forEach(K2),this.clearAllSnapshots();const a=Ge.now();Ae.delta=dn(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,Jl.update.process(Ae),Jl.preRender.process(Ae),Jl.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,af.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Y2),this.sharedNodes.forEach(tM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,fe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){fe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Be(this.snapshot.measuredBox.x)&&!Be(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ye(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!qx(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||sr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),oM(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return ye();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(sM))){const{scroll:c}=this.root;c&&(Yr(a.x,c.offset.x),Yr(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=ye();if(ct(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&ct(a,s),Yr(a.x,f.offset.x),Yr(a.y,f.offset.y))}return a}applyTransform(s,a=!1){const l=ye();ct(l,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Xr(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),sr(c.latestValues)&&Xr(l,c.latestValues)}return sr(this.latestValues)&&Xr(l,this.latestValues),l}removeTransform(s){const a=ye();ct(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!sr(u.latestValues))continue;Ic(u.latestValues)&&u.updateSnapshot();const c=ye(),f=u.measurePageBox();ct(c,f),Cm(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return sr(this.latestValues)&&Cm(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.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!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var d;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(d=this.parent)!=null&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:f}=this.options;if(!(!this.layout||!(c||f))){if(this.resolvedRelativeTargetAt=Ae.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ye(),this.relativeTargetOrigin=ye(),ho(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ct(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ye(),this.targetWithTransforms=ye()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s2(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ct(this.target,this.layout.layoutBox),$x(this.target,this.targetDelta)):ct(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ye(),this.relativeTargetOrigin=ye(),ho(this.relativeTargetOrigin,this.target,h.target),ct(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Ic(this.parent.latestValues)||Bx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var v;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;ct(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,d=this.treeScale.y;a2(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=ye());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xm(this.prevProjectionDelta.x,this.projectionDelta.x),xm(this.prevProjectionDelta.y,this.projectionDelta.y)),fo(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!km(this.projectionDelta.x,this.prevProjectionDelta.x)||!km(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Qr(),this.projectionDelta=Qr(),this.projectionDeltaWithTransform=Qr()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=Qr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=ye(),h=l?l.source:void 0,v=this.layout?this.layout.source:void 0,g=h!==v,x=this.getStack(),p=!x||x.members.length<=1,m=!!(g&&!p&&this.options.crossfade===!0&&!this.path.some(rM));this.animationProgress=0;let y;this.mixTargetDelta=S=>{const T=S/1e3;Mm(f.x,s.x,T),Mm(f.y,s.y,T),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ho(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),nM(this.relativeTarget,this.relativeTargetOrigin,d,T),y&&V2(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=ye()),ct(y,this.relativeTarget)),g&&(this.animationValues=c,j2(c,u,this.latestValues,T,m,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(Xn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=fe.update(()=>{Xs.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ei(0)),this.currentAnimation=k2(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),s.onUpdate&&s.onUpdate(c)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(U2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&nw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ye();const f=Be(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;const d=Be(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}ct(a,l),Xr(a,c),fo(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new F2),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&lu("z",s,u,this.animationValues);for(let c=0;c<au.length;c++)lu(`rotate${au[c]}`,s,u,this.animationValues),lu(`skew${au[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}getProjectionStyles(s){if(!this.instance||this.isSVG)return;if(!this.isVisible)return $2;const a={visibility:""},l=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,a.opacity="",a.pointerEvents=Qs(s==null?void 0:s.pointerEvents)||"",a.transform=l?l(this.latestValues,""):"none",a;const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){const h={};return this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=Qs(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!sr(this.latestValues)&&(h.transform=l?l({},""):"none",this.hasProjected=!1),h}const c=u.animationValues||u.latestValues;this.applyTransformsToTarget(),a.transform=z2(this.projectionDeltaWithTransform,this.treeScale,c),l&&(a.transform=l(c,a.transform));const{x:f,y:d}=this.projectionDelta;a.transformOrigin=`${f.origin*100}% ${d.origin*100}% 0`,u.animationValues?a.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:a.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const h in Io){if(c[h]===void 0)continue;const{correct:v,applyTo:g,isCSSVariable:x}=Io[h],p=a.transform==="none"?c[h]:v(c[h],u);if(g){const m=g.length;for(let y=0;y<m;y++)a[g[y]]=p}else x?this.options.visualElement.renderState.vars[h]=p:a[h]=p}return this.options.layoutId&&(a.pointerEvents=u===this?Qs(s==null?void 0:s.pointerEvents)||"":"none"),a}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Am),this.root.sharedNodes.clear()}}}function H2(e){e.updateLayout()}function K2(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;o==="size"?dt(f=>{const d=s?t.measuredBox[f]:t.layoutBox[f],h=Be(d);d.min=r[f].min,d.max=d.min+h}):nw(o,t.layoutBox,r)&&dt(f=>{const d=s?t.measuredBox[f]:t.layoutBox[f],h=Be(r[f]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const a=Qr();fo(a,r,t.layoutBox);const l=Qr();s?fo(l,e.applyTransform(i,!0),t.measuredBox):fo(l,r,t.layoutBox);const u=!qx(a);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:h}=f;if(d&&h){const v=ye();ho(v,t.layoutBox,d.layoutBox);const g=ye();ho(g,r,h.layoutBox),Zx(v,g)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function G2(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Q2(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Y2(e){e.clearSnapshot()}function Am(e){e.clearMeasurements()}function X2(e){e.isLayoutDirty=!1}function q2(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Rm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Z2(e){e.resolveTargetDelta()}function J2(e){e.calcProjection()}function eM(e){e.resetSkewAndRotation()}function tM(e){e.removeLeadSnapshot()}function Mm(e,t,n){e.translate=ce(t.translate,0,n),e.scale=ce(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Nm(e,t,n,r){e.min=ce(t.min,n.min,r),e.max=ce(t.max,n.max,r)}function nM(e,t,n,r){Nm(e.x,t.x,n.x,r),Nm(e.y,t.y,n.y,r)}function rM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const iM={duration:.45,ease:[.4,0,.1,1]},jm=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Dm=jm("applewebkit/")&&!jm("chrome/")?Math.round:yt;function Om(e){e.min=Dm(e.min),e.max=Dm(e.max)}function oM(e){Om(e.x),Om(e.y)}function nw(e,t,n){return e==="position"||e==="preserve-aspect"&&!o2(Pm(t),Pm(n),.2)}function sM(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const aM=tw({attachResizeListener:(e,t)=>$o(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),uu={current:void 0},rw=tw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!uu.current){const e=new aM({});e.mount(window),e.setOptions({layoutScroll:!0}),uu.current=e}return uu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),lM={pan:{Feature:T2},drag:{Feature:C2,ProjectionNode:rw,MeasureLayout:Qx}};function uM(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function iw(e,t){const n=uM(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Lm(e){return!(e.pointerType==="touch"||Gx())}function cM(e,t,n={}){const[r,i,o]=iw(e,n),s=a=>{if(!Lm(a))return;const{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;const c=f=>{Lm(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return r.forEach(a=>{a.addEventListener("pointerenter",s,i)}),o}function _m(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&fe.postRender(()=>o(t,ts(t)))}class dM extends tr{mount(){const{current:t}=this.node;t&&(this.unmount=cM(t,(n,r)=>(_m(this.node,r,"Start"),i=>_m(this.node,i,"End"))))}unmount(){}}class fM extends tr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Jo($o(this.node.current,"focus",()=>this.onFocus()),$o(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const ow=(e,t)=>t?e===t?!0:ow(e,t.parentElement):!1,hM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function pM(e){return hM.has(e.tagName)||e.tabIndex!==-1}const qs=new WeakSet;function Im(e){return t=>{t.key==="Enter"&&e(t)}}function cu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const mM=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Im(()=>{if(qs.has(n))return;cu(n,"down");const i=Im(()=>{cu(n,"up")}),o=()=>cu(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Vm(e){return jf(e)&&!Gx()}function gM(e,t,n={}){const[r,i,o]=iw(e,n),s=a=>{const l=a.currentTarget;if(!Vm(a))return;qs.add(l);const u=t(l,a),c=(h,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),qs.has(l)&&qs.delete(l),Vm(h)&&typeof u=="function"&&u(h,{success:v})},f=h=>{c(h,l===window||l===document||n.useGlobalTarget||ow(l,h.target))},d=h=>{c(h,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,i),U0(a)&&(a.addEventListener("focus",u=>mM(u,i)),!pM(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Fm(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&fe.postRender(()=>o(t,ts(t)))}class yM extends tr{mount(){const{current:t}=this.node;t&&(this.unmount=gM(t,(n,r)=>(Fm(this.node,r,"Start"),(i,{success:o})=>Fm(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const zc=new WeakMap,du=new WeakMap,vM=e=>{const t=zc.get(e.target);t&&t(e)},xM=e=>{e.forEach(vM)};function wM({root:e,...t}){const n=e||document;du.has(n)||du.set(n,{});const r=du.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(xM,{root:e,...t})),r[i]}function SM(e,t,n){const r=wM(t);return zc.set(e,n),r.observe(e),()=>{zc.delete(e),r.unobserve(e)}}const CM={some:0,all:1};class TM extends tr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:CM[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(l)};return SM(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(bM(t,n))&&this.startObserver()}unmount(){}}function bM({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const EM={inView:{Feature:TM},tap:{Feature:yM},focus:{Feature:fM},hover:{Feature:dM}},PM={layout:{ProjectionNode:rw,MeasureLayout:Qx}},Bc={current:null},sw={current:!1};function kM(){if(sw.current=!0,!!tf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Bc.current=e.matches;e.addListener(t),t()}else Bc.current=!1}const AM=new WeakMap;function RM(e,t,n){for(const r in t){const i=t[r],o=n[r];if(_e(i))e.addValue(r,i);else if(_e(o))e.addValue(r,Ei(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Ei(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const aw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),lw=e=>/^0[^.\s]+$/u.test(e),MM={test:e=>e==="auto",parse:e=>e},uw=e=>t=>t.test(e),cw=[Oi,U,Wt,Tn,zk,Fk,MM],zm=e=>cw.find(uw(e)),NM=[...cw,xe,qn],jM=e=>NM.find(uw(e)),DM=new Set(["brightness","contrast","saturate","opacity"]);function OM(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(wf)||[];if(!r)return e;const i=n.replace(r,"");let o=DM.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const LM=/\b([a-z-]*)\(.*?\)/gu,$c={...qn,getAnimatableNone:e=>{const t=e.match(LM);return t?t.map(OM).join(" "):e}},_M={...cf,color:xe,backgroundColor:xe,outlineColor:xe,fill:xe,stroke:xe,borderColor:xe,borderTopColor:xe,borderRightColor:xe,borderBottomColor:xe,borderLeftColor:xe,filter:$c,WebkitFilter:$c},dw=e=>_M[e];function fw(e,t){let n=dw(e);return n!==$c&&(n=qn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Bm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class IM{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Rf,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 d=Ge.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,fe.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=pl(n),this.isVariantNode=G0(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const d in f){const h=f[d];l[d]!==void 0&&_e(h)&&h.set(l[d],!1)}}mount(t){this.current=t,AM.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),sw.current||kM(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Bc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Xn(this.notifyUpdate),Xn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Di.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&fe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in bi){const n=bi[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ye()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Bm.length;r++){const i=Bm[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=RM(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ei(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(aw(r)||lw(r))?r=parseFloat(r):!jM(r)&&qn.test(n)&&(r=fw(t,n)),this.setBaseTarget(t,_e(r)?r.get():r)),_e(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=pf(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!_e(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new vf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}const VM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function FM(e){const t=VM.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function hw(e,t,n=1){const[r,i]=FM(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return aw(s)?parseFloat(s):s}return uf(i)?hw(i,t,n+1):i}function zM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||lw(e):!0}
vendor: 1,652 bytes, line 110
110const BM=new Set(["auto","none","0"]);function $M(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!BM.has(o)&&zo(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=fw(n,i)}class UM extends Rf{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),uf(u))){const c=hw(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Ox.has(r)||t.length!==2)return;const[i,o]=t,s=zm(i),a=zm(o);if(s!==a)if(Kp(s)&&Kp(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else vr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||zM(t[i]))&&r.push(i);r.length&&$M(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=vr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=r.length-1,s=r[o];r[o]=vr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
110h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}class pw extends IM{constructor(){super(...arguments),this.KeyframeResolver=UM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;_e(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function mw(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}function WM(e){return window.getComputedStyle(e)}class HM extends pw{constructor(){super(...arguments),this.type="html",this.renderInstance=mw}readValueFromInstance(t,n){var r;if(Di.has(n))return(r=this.projection)!=null&&r.isProjecting?Nc(n):pR(t,n);{const i=WM(t),o=(lf(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Ux(t,n)}build(t,n,r){df(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return mf(t,n,r)}}const gw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function KM(e,t,n,r){mw(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(gw.has(i)?i:sf(i),t.attrs[i])}class GM extends pw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ye}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Di.has(n)){const r=dw(n);return r&&r.default||0}return n=gw.has(n)?n:sf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return ox(t,n,r)}build(t,n,r){tx(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){KM(t,n,r,i)}mount(t){this.isSVGTag=rx(t.tagName),super.mount(t)}}const QM=(e,t)=>hf(e)?new GM(t):new HM(t,{allowProjection:e!==w.Fragment}),YM=iA({...qR,...EM,...lM,...PM},QM),yw=bk(YM),fu=e=>C.jsx("div",{className:e.className,children:C.jsx(yw.div,{animate:{y:"-50%"},transition:{duration:e.duration||10,repeat:1/0,ease:"linear",repeatType:"loop"},className:"flex flex-col gap-6 pb-6 bg-background",children:[...new Array(2).fill(0).map((t,n)=>C.jsx(j.Fragment,{children:e.testimonials.map(({text:r,image:i,name:o,role:s},a)=>C.jsxs("div",{className:"p-10 rounded-3xl border shadow-lg shadow-primary/10 max-w-xs w-full",children:[C.jsx("div",{children:r}),C.jsxs("div",{className:"flex items-center gap-2 mt-5",children:[C.jsx("img",{width:40,height:40,src:i,alt:o,className:"h-10 w-10 rounded-full"}),C.jsxs("div",{className:"flex flex-col",children:[C.jsx("div",{className:"font-medium tracking-tight leading-5",children:o}),C.jsx("div",{className:"leading-5 opacity-60 tracking-tight",children:s})]})]})]},a))},n))]})}),Df=[{text:"Jakub je jeden z nejzapálenÄjÅ¡Ãch lidÃ, které znám. Má tah na branku a umà strhnout ostatnà ke zmÄnÄ.",image:"https://randomuser.me/api/portraits/men/90.jpg",name:"Jan Novák",role:"startup founder"},{text:"DÃky jeho workshopům jsme nahlédli na finance úplnÄ novým způsobem. Inspirativnà a jasné.",image:"https://randomuser.me/api/portraits/women/41.jpg",name:"Marie Svobodová",role:"uÄitelka"},{text:"Spolupráce s Jakubem vždy pÅinášà výsledky. Umà stavÄt skvÄlé týmy i projekty.",image:"https://randomuser.me/api/portraits/men/65.jpg",name:"Martin Sýkora",role:"projektový manažer"},{text:"Má výjimeÄný drive a schopnost nadchnout nejen mladé lidi pro pozitivnà zmÄny.",image:"https://randomuser.me/api/portraits/women/65.jpg",name:"Lenka JelÃnková",role:"lektor"},{text:"Jeho vize digitalizace vzdÄlávánà a práce s generacà Z je vizionáÅská.",image:"https://randomuser.me/api/portraits/men/67.jpg",name:"Tomáš KoneÄný",role:"inovátor"},{text:"Po jeho akci se nám ozývali studenti s tÃm, že jim pÅednáška fakt zmÄnila pohled na penÃze!",image:"https://randomuser.me/api/portraits/women/43.jpg",name:"Lucie Doležalová",role:"koordinátorka vzdÄlávacÃch projektů"},{text:"DoporuÄuji jeho mentoring, je srozumitelný a pracuje s aktuálnÃmi pÅÃklady.",image:"https://randomuser.me/api/portraits/men/68.jpg",name:"Petr Malý",role:"zakladatel neziskovky"},{text:"Schopnost komunikovat složitá témata mladé generaci nedokáže každý. Jakub ano.",image:"https://randomuser.me/api/portraits/women/22.jpg",name:"Alena VÃtková",role:"uÄitelka SÅ "},{text:"Je otevÅený novým technologiÃm a inovacÃm, proto jeho aktivity dávajà smysl i pro budoucnost.",image:"https://randomuser.me/api/portraits/men/46.jpg",name:"JiÅà BeneÅ¡",role:"odbornÃk na digitalizaci"}],XM=Df.slice(0,3),qM=Df.slice(3,6),ZM=Df.slice(6,9),JM=()=>C.jsx("section",{className:"bg-background my-20 relative",id:"testimonial
110y",children:C.jsxs("div",{className:"container z-10 mx-auto",children:[C.jsxs(yw.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.1,ease:[.16,1,.3,1]},viewport:{once:!0},className:"flex flex-col items-center justify-center max-w-[540px] mx-auto",children:[C.jsx("div",{className:"flex justify-center",children:C.jsx("div",{className:"border py-1 px-4 rounded-lg",children:"ÅÃkajà o mnÄ"})}),C.jsx("h2",{className:"text-2xl md:text-3xl font-bold tracking-tight mt-5 mb-1",children:"Reference & doporuÄenÃ"}),C.jsx("p",{className:"text-center mt-5 opacity-75",children:"Co o mnÄ napsali klienti, kolegové nebo lidé z oboru."})]}),C.jsxs("div",{className:"flex justify-center gap-6 mt-10 [mask-image:linear-gradient(to_bottom,transparent,black_25%,black_75%,transparent)] max-h-[740px] overflow-hidden",children:[C.jsx(fu,{testimonials:XM,duration:15}),C.jsx(fu,{testimonials:qM,className:"hidden md:block",duration:19}),C.jsx(fu,{testimonials:ZM,className:"hidden lg:block",duration:17})]})]})});function eN({user:e,domain:t}){const[n,r]=w.useState(!1);return n?C.jsxs("a",{href:`mailto:${e}@${t}`,className:"underline text-accent font-medium hover:text-accent/90 transition",children:[e,"@",t]}):C.jsx("button",{className:"underline text-accent font-medium hover:text-accent/90 transition bg-transparent border-0 p-0 focus:outline-none",type:"button",onClick:()=>r(!0),"aria-label":"Zobrazit email",children:"[Zobrazit email]"})}function tN({phone:e}){const[t,n]=w.useState(!1);return t?C.jsx("a",{href:`tel:${e.replace(/\s/g,"")}`,className:"underline font-medium text-blue-700 hover:text-blue-800 transition",children:e}):C.jsx("button",{className:"underline text-blue-700 font-medium hover:text-blue-800 transition bg-transparent border-0 p-0 focus:outline-none",type:"button",onClick:()=>n(!0),"aria-label":"Zobrazit telefon",children:"[Zobrazit telefon]"})}const nN=()=>C.jsx("section",{className:"w-full pt-8 pb-14 md:pt-12 md:pb-20 animate-fade-in",id:"kontakt",children:C.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[C.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-2",children:"Kontaktujte mÄ"}),C.jsxs("p",{className:"text-gray-700 mb-6",children:["Jsem otevÅen novým pÅÃležitostem, spolupráci nebo pÅednáškám.",C.jsx("br",{}),C.jsx("span",{className:"font-medium",children:"Kontakt:"})]}),C.jsxs("div",{className:"flex flex-col items-center gap-2 mb-6",children:[C.jsx("div",{children:C.jsx(eN,{user:"me",domain:"jakubrychly.cz"})}),C.jsx("div",{children:C.jsx(tN,{phone:"+420 773 319 015"})})]}),C.jsxs("div",{className:"text-xs text-gray-500 mt-2",children:["© ",new Date().getFullYear()," Jakub Rychlý"]})]})}),rN=()=>C.jsxs("main",{className:"w-full min-h-screen flex flex-col bg-background",children:[C.jsx(tk,{}),C.jsx(ok,{}),C.jsx(pk,{}),C.jsx(ck,{}),C.jsx(JM,{}),C.jsx(fk,{}),C.jsx(lk,{}),C.jsx(nN,{})]}),iN=()=>{const e=F0();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),C.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:C.jsxs("div",{className:"text-center",children:[C.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),C.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),C.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},oN=new fP,sN=()=>C.jsx(pP,{client:oN,children:C.jsxs(UE,{children:[C.jsx(BT,{}),C.jsx(gb,{}),C.jsx(ZP,{children:C.jsxs(YP,{children:[C.jsx(Sc,{path:"/",element:C.jsx(rN,{})}),C.jsx(Sc,{path:"*",element:C.jsx(iN,{})})]})})]})});cv(document.getElementById("root")).render(C.jsx(sN,{}));
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.