PageSourceSearch

https://leveluphome.org/assets/index-BICOQgyo.js

js leveluphome.org collected 2026-10-05 09:46:47 UTC 499,572 bytes, 228 lines download raw bytes

vendor: 5,691 bytes, lines 1-9
1var Eh=e=>{throw TypeError(e)};var Gl=(e,t,n)=>t.has(e)||Eh("Cannot "+n);var N=(e,t,n)=>(Gl(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Eh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Gl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),De=(e,t,n)=>(Gl(e,t,"access private method"),n);var ko=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return N(e,t,r)}});function W1(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 s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{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 s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function ty(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ny={exports:{}},ol={},ry={exports:{}},q={};/**
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 co=Symbol.for("react.element"),H1=Symbol.for("react.portal"),K1=Symbol.for("react.fragment"),G1=Symbol.for("react.strict_mode"),Y1=Symbol.for("react.profiler"),Q1=Symbol.for("react.provider"),X1=Symbol.for("react.context"),q1=Symbol.for("react.forward_ref"),Z1=Symbol.for("react.suspense"),J1=Symbol.for("react.memo"),eb=Symbol.for("react.lazy"),Th=Symbol.iterator;function tb(e){return e===null||typeof e!="object"?null:(e=Th&&e[Th]||e["@@iterator"],typeof e=="function"?e:null)}var iy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sy=Object.assign,oy={};function Wi(e,t,n){this.props=e,this.context=t,this.refs=oy,this.updater=n||iy}Wi.prototype.isReactComponent={};Wi.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")};Wi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ay(){}ay.prototype=Wi.prototype;function Sd(e,t,n){this.props=e,this.context=t,this.refs=oy,this.updater=n||iy}var Cd=Sd.prototype=new ay;Cd.constructor=Sd;sy(Cd,Wi.prototype);Cd.isPureReactComponent=!0;var Ph=Array.isArray,ly=Object.prototype.hasOwnProperty,Ed={current:null},uy={key:!0,ref:!0,__self:!0,__source:!0};function cy(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)ly.call(t,r)&&!uy.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:co,type:e,key:s,ref:o,props:i,_owner:Ed.current}}function nb(e,t){return{$$typeof:co,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Td(e){return typeof e=="object"&&e!==null&&e.$$typeof===co}function rb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var kh=/\/+/g;function Yl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rb(""+e.key):t.toString(36)}function ta(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case co:case H1:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Yl(o,0):r,Ph(i)?(n="",e!=null&&(n=e.replace(kh,"$&/")+"/"),ta(i,t,n,"",function(u){return u})):i!=null&&(Td(i)&&(i=nb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(kh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Ph(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+Yl(s,a);o+=ta(s,t,n,l,i)}else if(l=tb(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+Yl(s,a++),o+=ta(s,t,n,l,i);else if(s==="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 o}function No(e,t,n){if(e==null)return e;var r=[],i=0;return ta(e,r,"","",function(s){return t.call(n,s,i++)}),r}function ib(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 Ge={current:null},na={transition:null},sb={ReactCurrentDispatcher:Ge,ReactCurrentBatchConfig:na,ReactCurrentOwner:Ed};function dy(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 5,429 bytes, lines 9-25
9q.Children={map:No,forEach:function(e,t,n){No(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return No(e,function(){t++}),t},toArray:function(e){return No(e,function(t){return t})||[]},only:function(e){if(!Td(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=Wi;q.Fragment=K1;q.Profiler=Y1;q.PureComponent=Sd;q.StrictMode=G1;q.Suspense=Z1;q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sb;q.act=dy;q.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=sy({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Ed.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)ly.call(t,l)&&!uy.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:co,type:e.type,key:i,ref:s,props:r,_owner:o}};q.createContext=function(e){return e={$$typeof:X1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Q1,_context:e},e.Consumer=e};q.createElement=cy;q.createFactory=function(e){var t=cy.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:q1,render:e}};q.isValidElement=Td;q.lazy=function(e){return{$$typeof:eb,_payload:{_status:-1,_result:e},_init:ib}};q.memo=function(e,t){return{$$typeof:J1,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=na.transition;na.transition={};try{e()}finally{na.transition=t}};q.unstable_act=dy;q.useCallback=function(e,t){return Ge.current.useCallback(e,t)};q.useContext=function(e){return Ge.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return Ge.current.useDeferredValue(e)};q.useEffect=function(e,t){return Ge.current.useEffect(e,t)};q.useId=function(){return Ge.current.useId()};q.useImperativeHandle=function(e,t,n){return Ge.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return Ge.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return Ge.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return Ge.current.useMemo(e,t)};q.useReducer=function(e,t,n){return Ge.current.useReducer(e,t,n)};q.useRef=function(e){return Ge.current.useRef(e)};q.useState=function(e){return Ge.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return Ge.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return Ge.current.useTransition()};q.version="18.3.1";ry.exports=q;var x=ry.exports;const L=ty(x),fy=W1({__proto__:null,default:L},[x]);/**
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 ob=x,ab=Symbol.for("react.element"),lb=Symbol.for("react.fragment"),ub=Object.prototype.hasOwnProperty,cb=ob.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,db={key:!0,ref:!0,__self:!0,__source:!0};function hy(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)ub.call(t,r)&&!db.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:ab,type:e,key:s,ref:o,props:i,_owner:cb.current}}ol.Fragment=lb;ol.jsx=hy;ol.jsxs=hy;ny.exports=ol;var f=ny.exports,py={exports:{}},ct={},my={exports:{}},gy={};/**
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(k,j){var I=k.length;k.push(j);e:for(;0<I;){var W=I-1>>>1,$=k[W];if(0<i($,j))k[W]=j,k[I]=$,I=W;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var j=k[0],I=k.pop();if(I!==j){k[0]=I;e:for(var W=0,$=k.length,X=$>>>1;W<X;){var Z=2*(W+1)-1,we=k[Z],Le=Z+1,te=k[Le];if(0>i(we,I))Le<$&&0>i(te,we)?(k[W]=te,k[Le]=I,W=Le):(k[W]=we,k[Z]=I,W=Z);else if(Le<$&&0>i(te,I))k[W]=te,k[Le]=I,W=Le;else break e}}return j}function i(k,j){var I=k.sortIndex-j.sortIndex;return I!==0?I:k.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,h=3,p=!1,w=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,g=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 v(k){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=k)r(u),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(u)}}function S(k){if(y=!1,v(k),!w)if(n(l)!==null)w=!0,U(C);else{var j=n(u);j!==null&&z(S,j.startTime-k)}}function C(k,j){w=!1,y&&(y=!1,g(P),P=-1),p=!0;var I=h;try{for(v(j),d=n(l);d!==null&&(!(d.expirationTime>j)||k&&!B());
vendor: 1,978 bytes, line 25
25){var W=d.callback;if(typeof W=="function"){d.callback=null,h=d.priorityLevel;var $=W(d.expirationTime<=j);j=e.unstable_now(),typeof $=="function"?d.callback=$:d===n(l)&&r(l),v(j)}else r(l);d=n(l)}if(d!==null)var X=!0;else{var Z=n(u);Z!==null&&z(S,Z.startTime-j),X=!1}return X}finally{d=null,h=I,p=!1}}var E=!1,T=null,P=-1,R=5,A=-1;function B(){return!(e.unstable_now()-A<R)}function V(){if(T!==null){var k=e.unstable_now();A=k;var j=!0;try{j=T(!0,k)}finally{j?Y():(E=!1,T=null)}}else E=!1}var Y;if(typeof m=="function")Y=function(){m(V)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,Q=O.port2;O.port1.onmessage=V,Y=function(){Q.postMessage(null)}}else Y=function(){b(V,0)};function U(k){T=k,E||(E=!0,Y())}function z(k,j){P=b(function(){k(e.unstable_now())},j)}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(k){k.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,U(C))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(h){case 1:case 2:case 3:var j=3;break;default:j=h}var I=h;h=j;try{return k()}finally{h=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,j){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var I=h;h=k;try{return j()}finally{h=I}},e.unstable_scheduleCallback=function(k,j,I){var W=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?W+I:W):I=W,k){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}
vendor: 4,614 bytes, lines 25-33
25return $=I+$,k={id:c++,callback:j,priorityLevel:k,startTime:I,expirationTime:$,sortIndex:-1},I>W?(k.sortIndex=I,t(u,k),n(l)===null&&k===n(u)&&(y?(g(P),P=-1):y=!0,z(S,I-W))):(k.sortIndex=$,t(l,k),w||p||(w=!0,U(C))),k},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(k){var j=h;return function(){var I=h;h=j;try{return k.apply(this,arguments)}finally{h=I}}}})(gy);my.exports=gy;var fb=my.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 hb=x,ut=fb;function M(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 yy=new Set,Os={};function $r(e,t){Li(e,t),Li(e+"Capture",t)}function Li(e,t){for(Os[e]=t,e=0;e<t.length;e++)yy.add(t[e])}var mn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wu=Object.prototype.hasOwnProperty,pb=/^[: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]*$/,Nh={},jh={};function mb(e){return Wu.call(jh,e)?!0:Wu.call(Nh,e)?!1:pb.test(e)?jh[e]=!0:(Nh[e]=!0,!1)}function gb(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 yb(e,t,n,r){if(t===null||typeof t>"u"||gb(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 Ye(e,t,n,r,i,s,o){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=s,this.removeEmptyString=o}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new Ye(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 Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new Ye(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 Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pd=/[\-:]([a-z])/g;function kd(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(Pd,kd);Me[t]=new Ye(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(Pd,kd);Me[t]=new Ye(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(Pd,kd);Me[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function Nd(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")&&(yb(t,n,i,r)&&(n=null),r||i===null?mb(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 Sn=hb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,jo=Symbol.for("react.element"),qr=Symbol.for("react.portal"),Zr=Symbol.for("react.fragment"),jd=Symbol.for("react.strict_mode"),Hu=Symbol.for("react.profiler"),vy=Symbol.for("react.provider"),xy=Symbol.for("react.context"),Rd=Symbol.for("react.forward_ref"),Ku=Symbol.for("react.suspense"),Gu=Symbol.for("react.suspense_list"),Ad=Symbol.for("react.memo"),On=Symbol.for("react.lazy"),wy=Symbol.for("react.offscreen"),Rh=Symbol.iterator;function ns(e){return e===null||typeof e!="object"?null:(e=Rh&&e[Rh]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,Ql;function ps(e){if(Ql===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ql=t&&t[1]||""}return`
34`+Ql+e}var Xl=!1;function ql(e,t){if(!e||Xl)return"";Xl=!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`),s=r.stack.split(`
36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`
37`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ps(e):""}function vb(e){switch(e.tag){case 5:return ps(e.type);case 16:return ps("Lazy");case 13:return ps("Suspense");case 19:return ps("SuspenseList");case 0:case 2:case 15:return e=ql(e.type,!1),e;case 11:return e=ql(e.type.render,!1),e;case 1:return e=ql(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 Zr:return"Fragment";case qr:return"Portal";case Hu:return"Profiler";case jd:return"StrictMode";case Ku:return"Suspense";case Gu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xy:return(e.displayName||"Context")+".Consumer";case vy:return(e._context.displayName||"Context")+".Provider";case Rd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ad:return t=e.displayName||null,t!==null?t:Yu(e.type)||"Memo";case On:t=e._payload,e=e._init;try{return Yu(e(t))}catch{}}return null}function xb(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===jd?"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 nr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function by(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wb(e){var t=by(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ro(e){e._valueTracker||(e._valueTracker=wb(e))}function Sy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=by(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Sa(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 Qu(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ah(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;
vendor: 4,810 bytes, line 37
37n=nr(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 Cy(e,t){t=t.checked,t!=null&&Nd(e,"checked",t,!1)}function Xu(e,t){Cy(e,t);var n=nr(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")?qu(e,t.type,n):t.hasOwnProperty("defaultValue")&&qu(e,t.type,nr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mh(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 qu(e,t,n){(t!=="number"||Sa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ms=Array.isArray;function mi(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=""+nr(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 Zu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Lh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(ms(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nr(n)}}function Ey(e,t){var n=nr(t.value),r=nr(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 Dh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ty(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 Ju(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ty(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ao,Py=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(Ao=Ao||document.createElement("div"),Ao.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ao.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Is(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ws={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},bb=["Webkit","ms","Moz","O"];Object.keys(ws).forEach(function(e){bb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ws[t]=ws[e]})});function ky(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ws.hasOwnProperty(e)&&ws[e]?(""+t).trim():t+"px"}function Ny(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ky(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Sb=ge({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 ec(e,t){if(t){if(Sb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function tc(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 nc=null;function Md(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rc=null,gi=null,yi=null;function Oh(e){if(e=po(e)){if(typeof rc!="function")throw Error(M(280));var t=e.stateNode;t&&(t=dl(t),rc(e.stateNode,e.type,t))}}function jy(e){gi?yi?yi.push(e):yi=[e]:gi=e}function Ry(){if(gi){var e=gi,t=yi;if(yi=gi=null,Oh(e),t)for(e=0;e<t.length;e++)Oh(t[e])}}function Ay(e,t){return e(t)}function My(){}var Zl=!1;function Ly(e,t,n){if(Zl)return e(t,n);Zl=!0;try{return Ay(e,t,n)}finally{Zl=!1,(gi!==null||yi!==null)&&(My(),Ry())}}function Vs(e,t){var n=e.stateNode;if(n===null)return null;var r=dl(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(M(231,t,typeof n));return n}var ic=!1;if(mn)try{var rs={};Object.defineProperty(rs,"passive",{get:function(){ic=!0}}),window.addEventListener("test",rs,rs),window.removeEventListener("test",rs,rs)}catch{ic=!1}function Cb(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var bs=!1,Ca=null,Ea=!1,sc=null,Eb={onError:function(e){bs=!0,Ca=e}};function Tb(e,t,n,r,i,s,o,a,l){bs=!1,Ca=null,Cb.apply(Eb,arguments)}function Pb(e,t,n,r,i,s,o,a,l){if(Tb.apply(this,arguments),bs){if(bs){var u=Ca;bs=!1,Ca=null}else throw Error(M(198));Ea||(Ea=!0,sc=u)}}function Ur(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 Dy(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ih(e){if(Ur(e)!==e)throw Error(M(188))}function kb(e){var t=e.alternate;if(!t){if(t=Ur(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Ih(i),e;if(s===r)return Ih(i),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function Oy(e){return e=kb(e),e!==null?Iy(e):null}function Iy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Iy(e);if(t!==null)return t;e=e.sibling}return null}var Vy=ut.unstable_scheduleCallback,Vh=ut.unstable_cancelCallback,Nb=ut.unstable_shouldYield,jb=ut.unstable_requestPaint,xe=ut.unstable_now,Rb=ut.unstable_getCurrentPriorityLevel,Ld=ut.unstable_ImmediatePriority,Fy=ut.unstable_UserBlockingPriority,Ta=ut.unstable_NormalPriority,Ab=ut.unstable_LowPriority,_y=ut.unstable_IdlePriority,al=null,Zt=null;function Mb(e){if(Zt&&typeof Zt.onCommitFiberRoot=="function")try{Zt.onCommitFiberRoot(al,e,void 0,(e.current.flags&128)===128)}catch{}}var Vt=Math.clz32?Math.clz32:Ob,Lb=Math.log,Db=Math.LN2;function Ob(e){return e>>>=0,e===0?32:31-(Lb(e)/Db|0)|0}var Mo=64,Lo=4194304;function gs(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 Pa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=gs(a):(s&=o,s!==0&&(r=gs(s)))}else o=n&~i,o!==0?r=gs(o):s!==0&&(r=gs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&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-Vt(t),i=1<<n,r|=e[n],t&=~i;return r}function Ib(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 Vb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Vt(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=Ib(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function oc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zy(){var e=Mo;return Mo<<=1,!(Mo&4194240)&&(Mo=64),e}function Jl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Vt(t),e[t]=n}function Fb(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-Vt(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function Dd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Vt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var re=0;function By(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var $y,Od,Uy,Wy,Hy,ac=!1,Do=[],Yn=null,Qn=null,Xn=null,Fs=new Map,_s=new Map,Vn=[],_b="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 Fh(e,t){switch(e){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Qn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":Fs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_s.delete(t.pointerId)}}function is(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=po(t),t!==null&&Od(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function zb(e,t,n,r,i){switch(t){case"focusin":return Yn=is(Yn,e,t,n,r,i),!0;case"dragenter":return Qn=is(Qn,e,t,n,r,i),!0;case"mouseover":return Xn=is(Xn,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Fs.set(s,is(Fs.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,_s.set(s,is(_s.get(s)||null,e,t,n,r,i)),!0}return!1}function Ky(e){var t=Sr(e.target);if(t!==null){var n=Ur(t);if(n!==null){if(t=n.tag,t===13){if(t=Dy(n),t!==null){e.blockedOn=t,Hy(e.priority,function(){Uy(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 ra(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=lc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);nc=r,n.target.dispatchEvent(r),nc=null}else return t=po(n),t!==null&&Od(t),e.blockedOn=n,!1;t.shift()}return!0}function _h(e,t,n){ra(e)&&n.delete(t)}function Bb(){ac=!1,Yn!==null&&ra(Yn)&&(Yn=null),Qn!==null&&ra(Qn)&&(Qn=null),Xn!==null&&ra(Xn)&&(Xn=null),Fs.forEach(_h),_s.forEac
vendor: 11,826 bytes, line 37
37h(_h)}function ss(e,t){e.blockedOn===t&&(e.blockedOn=null,ac||(ac=!0,ut.unstable_scheduleCallback(ut.unstable_NormalPriority,Bb)))}function zs(e){function t(i){return ss(i,e)}if(0<Do.length){ss(Do[0],e);for(var n=1;n<Do.length;n++){var r=Do[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yn!==null&&ss(Yn,e),Qn!==null&&ss(Qn,e),Xn!==null&&ss(Xn,e),Fs.forEach(t),_s.forEach(t),n=0;n<Vn.length;n++)r=Vn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Vn.length&&(n=Vn[0],n.blockedOn===null);)Ky(n),n.blockedOn===null&&Vn.shift()}var vi=Sn.ReactCurrentBatchConfig,ka=!0;function $b(e,t,n,r){var i=re,s=vi.transition;vi.transition=null;try{re=1,Id(e,t,n,r)}finally{re=i,vi.transition=s}}function Ub(e,t,n,r){var i=re,s=vi.transition;vi.transition=null;try{re=4,Id(e,t,n,r)}finally{re=i,vi.transition=s}}function Id(e,t,n,r){if(ka){var i=lc(e,t,n,r);if(i===null)uu(e,t,r,Na,n),Fh(e,r);else if(zb(i,e,t,n,r))r.stopPropagation();else if(Fh(e,r),t&4&&-1<_b.indexOf(e)){for(;i!==null;){var s=po(i);if(s!==null&&$y(s),s=lc(e,t,n,r),s===null&&uu(e,t,r,Na,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else uu(e,t,r,null,n)}}var Na=null;function lc(e,t,n,r){if(Na=null,e=Md(r),e=Sr(e),e!==null)if(t=Ur(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Dy(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 Na=e,null}function Gy(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(Rb()){case Ld:return 1;case Fy:return 4;case Ta:case Ab:return 16;case _y:return 536870912;default:return 16}default:return 16}}var Wn=null,Vd=null,ia=null;function Yy(){if(ia)return ia;var e,t=Vd,n=t.length,r,i="value"in Wn?Wn.value:Wn.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return ia=i.slice(e,1<r?1-r:void 0)}function sa(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 Oo(){return!0}function zh(){return!1}function dt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Oo:zh,this.isPropagationStopped=zh,this}return ge(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=Oo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Oo)},persist:function(){},isPersistent:Oo}),t}var Hi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fd=dt(Hi),ho=ge({},Hi,{view:0,detail:0}),Wb=dt(ho),eu,tu,os,ll=ge({},ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_d,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!==os&&(os&&e.type==="mousemove"?(eu=e.screenX-os.screenX,tu=e.screenY-os.screenY):tu=eu=0,os=e),eu)},movementY:function(e){return"movementY"in e?e.movementY:tu}}),Bh=dt(ll),Hb=ge({},ll,{dataTransfer:0}),Kb=dt(Hb),Gb=ge({},ho,{relatedTarget:0}),nu=dt(Gb),Yb=ge({},Hi,{animationName:0,elapsedTime:0,pseudoElement:0}),Qb=dt(Yb),Xb=ge({},Hi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qb=dt(Xb),Zb=ge({},Hi,{data:0}),$h=dt(Zb),Jb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},eS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tS[e])?!!t[e]:!1}function _d(){return nS}var rS=ge({},ho,{key:function(e){if(e.key){var t=Jb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=sa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?eS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_d,charCode:function(e){return e.type==="keypress"?sa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?sa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),iS=dt(rS),sS=ge({},ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uh=dt(sS),oS=ge({},ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_d}),aS=dt(oS),lS=ge({},Hi,{propertyName:0,elapsedTime:0,pseudoElement:0}),uS=dt(lS),cS=ge({},ll,{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}),dS=dt(cS),fS=[9,13,27,32],zd=mn&&"CompositionEvent"in window,Ss=null;mn&&"documentMode"in document&&(Ss=document.documentMode);var hS=mn&&"TextEvent"in window&&!Ss,Qy=mn&&(!zd||Ss&&8<Ss&&11>=Ss),Wh=" ",Hh=!1;function Xy(e,t){switch(e){case"keyup":return fS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jr=!1;function pS(e,t){switch(e){case"compositionend":return qy(t);case"keypress":return t.which!==32?null:(Hh=!0,Wh);case"textInput":return e=t.data,e===Wh&&Hh?null:e;default:return null}}function mS(e,t){if(Jr)return e==="compositionend"||!zd&&Xy(e,t)?(e=Yy(),ia=Vd=Wn=null,Jr=!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 Qy&&t.locale!=="ko"?null:t.data;default:return null}}var gS={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 Kh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gS[e.type]:t==="textarea"}function Zy(e,t,n,r){jy(r),t=ja(t,"onChange"),0<t.length&&(n=new Fd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Cs=null,Bs=null;function yS(e){u0(e,0)}function ul(e){var t=ni(e);if(Sy(t))return e}function vS(e,t){if(e==="change")return t}var Jy=!1;if(mn){var ru;if(mn){var iu="oninput"in document;if(!iu){var Gh=document.createElement("div");Gh.setAttribute("oninput","return;"),iu=typeof Gh.oninput=="function"}ru=iu}else ru=!1;Jy=ru&&(!document.documentMode||9<document.documentMode)}function Yh(){Cs&&(Cs.detachEvent("onpropertychange",e0),Bs=Cs=null)}function e0(e){if(e.propertyName==="value"&&ul(Bs)){var t=[];Zy(t,Bs,e,Md(e)),Ly(yS,t)}}function xS(e,t,n){e==="focusin"?(Yh(),Cs=t,Bs=n,Cs.attachEvent("onpropertychange",e0)):e==="focusout"&&Yh()}function wS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ul(Bs)}function bS(e,t){if(e==="click")return ul(t)}function SS(e,t){if(e==="input"||e==="change")return ul(t)}function CS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:CS;function $s(e,t){if(_t(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(!Wu.call(t,i)||!_t(e[i],t[i]))return!1}return!0}function Qh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xh(e,t){var n=Qh(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=Qh(n)}}function t0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?t0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function n0(){for(var e=window,t=Sa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sa(e.document)}return t}function Bd(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 ES(e){var t=n0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&t0(n.ownerDocument.documentElement,n)){if(r!==null&&Bd(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,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Xh(n,s);var o=Xh(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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 TS=mn&&"documentMode"in document&&11>=document.documentMode,ei=null,uc=null,Es=null,cc=!1;function qh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cc||ei==null||ei!==Sa(r)||(r=ei,"selectionStart"in r&&Bd(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}),Es&&$s(Es,r)||(Es=r,r=ja(uc,"onSelect"),0<r.length&&(t=new Fd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ei)))}function Io(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ti={animationend:Io("Animation","AnimationEnd"),animationiteration:Io("Animation","AnimationIteration"),animationstart:Io("Animation","AnimationStart"),transitionend:Io("Transition","TransitionEnd")},su={},r0={};mn&&(r0=document.createElement("div").style,"AnimationEvent"in window||(delete ti.animationend.animation,delete ti.animationiteration.animation,delete ti.animationstart.animation),"TransitionEvent"in window||delete ti.transitionend.transition);function cl(e){if(su[e])return su[e];if(!ti[e])return e;var t=ti[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in r0)return su[e]=t[n];return e}var i0=cl("animationend"),s0=cl("animationiteration"),o0=cl("animationstart"),a0=cl("transitionend"),l0=new Map,Zh="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 cr(e,t){l0.set(e,t),$r(t,[e])}for(var ou=0;ou<Zh.length;ou++){var au=Zh[ou],PS=au.toLowerCase(),kS=au[0].toUpperCase()+au.slice(1);cr(PS,"on"+kS)}cr(i0,"onAnimationEnd");cr(s0,"onAnimationIteration");cr(o0,"onAnimationStart");cr("dblclick","onDoubleClick");cr("focusin","onFocus");cr("focusout","onBlur");cr(a0,"onTransitionEnd");Li("onMouseEnter",["mouseout","mouseover"]);Li("onMouseLeave",["mouseout","mouseover"]);Li("onPointerEnter",["pointerout","pointerover"]);Li("onPointerLeave",["pointerout","pointerover"]);$r("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));$r("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));$r("onBeforeInput",["compositionend","keypress","textInput","paste"]);$r("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));$r("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));$r("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ys="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(" "),NS=new Set("cancel close invalid load scroll toggle".split(" ").concat(ys));function Jh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Pb(r,t,void 0,e),e.currentTarget=null}function u0(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 s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;Jh(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;Jh(i,a,u),s=l}}}if(Ea)throw e=sc,Ea=!1,sc=null,e}function ae(e,t){var n=t[mc];n===void 0&&(n=t[mc]=new Set);var r=e+"__bubble";n.has(r)||(c0(t,e,2,!1),n.add(r))}function lu(e,t,n){var r=0;t&&(r|=4),c0(n,e,r,t)}var Vo="_reactListening"+Math.random().toString(36).slice(2);function Us(e){if(!e[Vo]){e[Vo]=!0,yy.forEach(function(n){n!=="selectionchange"&&(NS.has(n)||lu(n,!1,e),lu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vo]||(t[Vo]=!0,lu("selectionchange",!1,t))}}function c0(e,t,n,r){switch(Gy(t)){case 1:var i=$b;break;case 4:i=Ub;break;default:i=Id}n=i.bind(null,t,n,e),i=void 0,!ic||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 uu(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;
vendor: 4,719 bytes, lines 37-38
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Sr(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}Ly(function(){var u=s,c=Md(n),d=[];e:{var h=l0.get(e);if(h!==void 0){var p=Fd,w=e;switch(e){case"keypress":if(sa(n)===0)break e;case"keydown":case"keyup":p=iS;break;case"focusin":w="focus",p=nu;break;case"focusout":w="blur",p=nu;break;case"beforeblur":case"afterblur":p=nu;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":p=Bh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Kb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=aS;break;case i0:case s0:case o0:p=Qb;break;case a0:p=uS;break;case"scroll":p=Wb;break;case"wheel":p=dS;break;case"copy":case"cut":case"paste":p=qb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Uh}var y=(t&4)!==0,b=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=u,v;m!==null;){v=m;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,g!==null&&(S=Vs(m,g),S!=null&&y.push(Ws(m,S,v)))),b)break;m=m.return}0<y.length&&(h=new p(h,w,null,n,c),d.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==nc&&(w=n.relatedTarget||n.fromElement)&&(Sr(w)||w[gn]))break e;if((p||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=u,w=w?Sr(w):null,w!==null&&(b=Ur(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=u),p!==w)){if(y=Bh,S="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=Uh,S="onPointerLeave",g="onPointerEnter",m="pointer"),b=p==null?h:ni(p),v=w==null?h:ni(w),h=new y(S,m+"leave",p,n,c),h.target=b,h.relatedTarget=v,S=null,Sr(c)===u&&(y=new y(g,m+"enter",w,n,c),y.target=v,y.relatedTarget=b,S=y),b=S,p&&w)t:{for(y=p,g=w,m=0,v=y;v;v=Xr(v))m++;for(v=0,S=g;S;S=Xr(S))v++;for(;0<m-v;)y=Xr(y),m--;for(;0<v-m;)g=Xr(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=Xr(y),g=Xr(g)}y=null}else y=null;p!==null&&ep(d,h,p,y,!1),w!==null&&b!==null&&ep(d,b,w,y,!0)}}e:{if(h=u?ni(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var C=vS;else if(Kh(h))if(Jy)C=SS;else{C=wS;var E=xS}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=bS);if(C&&(C=C(e,u))){Zy(d,C,n,c);break e}E&&E(e,h,u),e==="focusout"&&(E=h._wrapperState)&&E.controlled&&h.type==="number"&&qu(h,"number",h.value)}switch(E=u?ni(u):window,e){case"focusin":(Kh(E)||E.contentEditable==="true")&&(ei=E,uc=u,Es=null);break;case"focusout":Es=uc=ei=null;break;case"mousedown":cc=!0;break;case"contextmenu":case"mouseup":case"dragend":cc=!1,qh(d,n,c);break;case"selectionchange":if(TS)break;case"keydown":case"keyup":qh(d,n,c)}var T;if(zd)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Jr?Xy(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Qy&&n.locale!=="ko"&&(Jr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Jr&&(T=Yy()):(Wn=c,Vd="value"in Wn?Wn.value:Wn.textContent,Jr=!0)),E=ja(u,P),0<E.length&&(P=new $h(P,e,null,n,c),d.push({event:P,listeners:E}),T?P.data=T:(T=qy(n),T!==null&&(P.data=T)))),(T=hS?pS(e,n):mS(e,n))&&(u=ja(u,"onBeforeInput"),0<u.length&&(c=new $h("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=T))}u0(d,t)})}function Ws(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ja(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Vs(e,n),s!=null&&r.unshift(Ws(e,s,i)),s=Vs(e,t),s!=null&&r.push(Ws(e,s,i))),e=e.return}return r}function Xr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ep(e,t,n,r,i){for(var s=t._reactName,o=[];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=Vs(n,s),l!=null&&o.unshift(Ws(n,l,a))):i||(l=Vs(n,s),l!=null&&o.push(Ws(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var jS=/\r\n?/g,RS=/\u0000|\uFFFD/g;function tp(e){return(typeof e=="string"?e:""+e).replace(jS,`
38`).replace(RS,"")}
vendor: 2,890 bytes, line 38
38function Fo(e,t,n){if(t=tp(t),tp(e)!==t&&n)throw Error(M(425))}function Ra(){}var dc=null,fc=null;function hc(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 pc=typeof setTimeout=="function"?setTimeout:void 0,AS=typeof clearTimeout=="function"?clearTimeout:void 0,np=typeof Promise=="function"?Promise:void 0,MS=typeof queueMicrotask=="function"?queueMicrotask:typeof np<"u"?function(e){return np.resolve(null).then(e).catch(LS)}:pc;function LS(e){setTimeout(function(){throw e})}function cu(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),zs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);zs(t)}function qn(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 rp(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 Ki=Math.random().toString(36).slice(2),Xt="__reactFiber$"+Ki,Hs="__reactProps$"+Ki,gn="__reactContainer$"+Ki,mc="__reactEvents$"+Ki,DS="__reactListeners$"+Ki,OS="__reactHandles$"+Ki;function Sr(e){var t=e[Xt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[gn]||n[Xt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=rp(e);e!==null;){if(n=e[Xt])return n;e=rp(e)}return t}e=n,n=e.parentNode}return null}function po(e){return e=e[Xt]||e[gn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ni(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function dl(e){return e[Hs]||null}var gc=[],ri=-1;function dr(e){return{current:e}}function le(e){0>ri||(e.current=gc[ri],gc[ri]=null,ri--)}function se(e,t){ri++,gc[ri]=e.current,e.current=t}var rr={},ze=dr(rr),Ze=dr(!1),Ir=rr;function Di(e,t){var n=e.type.contextTypes;if(!n)return rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Je(e){return e=e.childContextTypes,e!=null}function Aa(){le(Ze),le(ze)}function ip(e,t,n){if(ze.current!==rr)throw Error(M(168));se(ze,t),se(Ze,n)}function d0(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(M(108,xb(e)||"Unknown",i));return ge({},n,r)}function Ma(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rr,Ir=ze.current,se(ze,e),se(Ze,Ze.current),!0}
vendor: 15,081 bytes, line 38
38function sp(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=d0(e,t,Ir),r.__reactInternalMemoizedMergedChildContext=e,le(Ze),le(ze),se(ze,e)):le(Ze),se(Ze,n)}var cn=null,fl=!1,du=!1;function f0(e){cn===null?cn=[e]:cn.push(e)}function IS(e){fl=!0,f0(e)}function fr(){if(!du&&cn!==null){du=!0;var e=0,t=re;try{var n=cn;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}cn=null,fl=!1}catch(i){throw cn!==null&&(cn=cn.slice(e+1)),Vy(Ld,fr),i}finally{re=t,du=!1}}return null}var ii=[],si=0,La=null,Da=0,mt=[],gt=0,Vr=null,fn=1,hn="";function xr(e,t){ii[si++]=Da,ii[si++]=La,La=e,Da=t}function h0(e,t,n){mt[gt++]=fn,mt[gt++]=hn,mt[gt++]=Vr,Vr=e;var r=fn;e=hn;var i=32-Vt(r)-1;r&=~(1<<i),n+=1;var s=32-Vt(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,fn=1<<32-Vt(t)+i|n<<i|r,hn=s+e}else fn=1<<s|n<<i|r,hn=e}function $d(e){e.return!==null&&(xr(e,1),h0(e,1,0))}function Ud(e){for(;e===La;)La=ii[--si],ii[si]=null,Da=ii[--si],ii[si]=null;for(;e===Vr;)Vr=mt[--gt],mt[gt]=null,hn=mt[--gt],mt[gt]=null,fn=mt[--gt],mt[gt]=null}var at=null,ot=null,ce=!1,Ot=null;function p0(e,t){var n=yt(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 op(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,at=e,ot=qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,at=e,ot=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Vr!==null?{id:fn,overflow:hn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,at=e,ot=null,!0):!1;default:return!1}}function yc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function vc(e){if(ce){var t=ot;if(t){var n=t;if(!op(e,t)){if(yc(e))throw Error(M(418));t=qn(n.nextSibling);var r=at;t&&op(e,t)?p0(r,n):(e.flags=e.flags&-4097|2,ce=!1,at=e)}}else{if(yc(e))throw Error(M(418));e.flags=e.flags&-4097|2,ce=!1,at=e}}}function ap(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;at=e}function _o(e){if(e!==at)return!1;if(!ce)return ap(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!hc(e.type,e.memoizedProps)),t&&(t=ot)){if(yc(e))throw m0(),Error(M(418));for(;t;)p0(e,t),t=qn(t.nextSibling)}if(ap(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ot=qn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ot=null}}else ot=at?qn(e.stateNode.nextSibling):null;return!0}function m0(){for(var e=ot;e;)e=qn(e.nextSibling)}function Oi(){ot=at=null,ce=!1}function Wd(e){Ot===null?Ot=[e]:Ot.push(e)}var VS=Sn.ReactCurrentBatchConfig;function as(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(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function zo(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function lp(e){var t=e._init;return t(e._payload)}function g0(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function i(g,m){return g=tr(g,m),g.index=0,g.sibling=null,g}function s(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,v,S){return m===null||m.tag!==6?(m=vu(v,g.mode,S),m.return=g,m):(m=i(m,v),m.return=g,m)}function l(g,m,v,S){var C=v.type;return C===Zr?c(g,m,v.props.children,S,v.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===On&&lp(C)===m.type)?(S=i(m,v.props),S.ref=as(g,m,v),S.return=g,S):(S=fa(v.type,v.key,v.props,null,g.mode,S),S.ref=as(g,m,v),S.return=g,S)}function u(g,m,v,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=xu(v,g.mode,S),m.return=g,m):(m=i(m,v.children||[]),m.return=g,m)}function c(g,m,v,S,C){return m===null||m.tag!==7?(m=Dr(v,g.mode,S,C),m.return=g,m):(m=i(m,v),m.return=g,m)}function d(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=vu(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case jo:return v=fa(m.type,m.key,m.props,null,g.mode,v),v.ref=as(g,null,m),v.return=g,v;case qr:return m=xu(m,g.mode,v),m.return=g,m;case On:var S=m._init;return d(g,S(m._payload),v)}if(ms(m)||ns(m))return m=Dr(m,g.mode,v,null),m.return=g,m;zo(g,m)}return null}function h(g,m,v,S){var C=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(g,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case jo:return v.key===C?l(g,m,v,S):null;case qr:return v.key===C?u(g,m,v,S):null;case On:return C=v._init,h(g,m,C(v._payload),S)}if(ms(v)||ns(v))return C!==null?null:c(g,m,v,S,null);zo(g,v)}return null}function p(g,m,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(v)||null,a(m,g,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case jo:return g=g.get(S.key===null?v:S.key)||null,l(m,g,S,C);case qr:return g=g.get(S.key===null?v:S.key)||null,u(m,g,S,C);case On:var E=S._init;return p(g,m,v,E(S._payload),C)}if(ms(S)||ns(S))return g=g.get(v)||null,c(m,g,S,C,null);zo(m,S)}return null}function w(g,m,v,S){for(var C=null,E=null,T=m,P=m=0,R=null;T!==null&&P<v.length;P++){T.index>P?(R=T,T=null):R=T.sibling;var A=h(g,T,v[P],S);if(A===null){T===null&&(T=R);break}e&&T&&A.alternate===null&&t(g,T),m=s(A,m,P),E===null?C=A:E.sibling=A,E=A,T=R}if(P===v.length)return n(g,T),ce&&xr(g,P),C;if(T===null){for(;P<v.length;P++)T=d(g,v[P],S),T!==null&&(m=s(T,m,P),E===null?C=T:E.sibling=T,E=T);return ce&&xr(g,P),C}for(T=r(g,T);P<v.length;P++)R=p(T,g,P,v[P],S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?P:R.key),m=s(R,m,P),E===null?C=R:E.sibling=R,E=R);return e&&T.forEach(function(B){return t(g,B)}),ce&&xr(g,P),C}function y(g,m,v,S){var C=ns(v);if(typeof C!="function")throw Error(M(150));if(v=C.call(v),v==null)throw Error(M(151));for(var E=C=null,T=m,P=m=0,R=null,A=v.next();T!==null&&!A.done;P++,A=v.next()){T.index>P?(R=T,T=null):R=T.sibling;var B=h(g,T,A.value,S);if(B===null){T===null&&(T=R);break}e&&T&&B.alternate===null&&t(g,T),m=s(B,m,P),E===null?C=B:E.sibling=B,E=B,T=R}if(A.done)return n(g,T),ce&&xr(g,P),C;if(T===null){for(;!A.done;P++,A=v.next())A=d(g,A.value,S),A!==null&&(m=s(A,m,P),E===null?C=A:E.sibling=A,E=A);return ce&&xr(g,P),C}for(T=r(g,T);!A.done;P++,A=v.next())A=p(T,g,P,A.value,S),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?P:A.key),m=s(A,m,P),E===null?C=A:E.sibling=A,E=A);return e&&T.forEach(function(V){return t(g,V)}),ce&&xr(g,P),C}function b(g,m,v,S){if(typeof v=="object"&&v!==null&&v.type===Zr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case jo:e:{for(var C=v.key,E=m;E!==null;){if(E.key===C){if(C=v.type,C===Zr){if(E.tag===7){n(g,E.sibling),m=i(E,v.props.children),m.return=g,g=m;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===On&&lp(C)===E.type){n(g,E.sibling),m=i(E,v.props),m.ref=as(g,E,v),m.return=g,g=m;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===Zr?(m=Dr(v.props.children,g.mode,S,v.key),m.return=g,g=m):(S=fa(v.type,v.key,v.props,null,g.mode,S),S.ref=as(g,m,v),S.return=g,g=S)}return o(g);case qr:e:{for(E=v.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=i(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=xu(v,g.mode,S),m.return=g,g=m}return o(g);case On:return E=v._init,b(g,m,E(v._payload),S)}if(ms(v))return w(g,m,v,S);if(ns(v))return y(g,m,v,S);zo(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,v),m.return=g,g=m):(n(g,m),m=vu(v,g.mode,S),m.return=g,g=m),o(g)):n(g,m)}return b}var Ii=g0(!0),y0=g0(!1),Oa=dr(null),Ia=null,oi=null,Hd=null;function Kd(){Hd=oi=Ia=null}function Gd(e){var t=Oa.current;le(Oa),e._currentValue=t}function xc(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 xi(e,t){Ia=e,Hd=oi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function bt(e){var t=e._currentValue;if(Hd!==e)if(e={context:e,memoizedValue:t,next:null},oi===null){if(Ia===null)throw Error(M(308));oi=e,Ia.dependencies={lanes:0,firstContext:e}}else oi=oi.next=e;return t}var Cr=null;function Yd(e){Cr===null?Cr=[e]:Cr.push(e)}function v0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Yd(t)):(n.next=i.next,i.next=n),t.interleaved=n,yn(e,r)}function yn(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 In=!1;function Qd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function x0(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 pn(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,J&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,yn(e,n)}return i=r.interleaved,i===null?(t.next=t,Yd(r)):(t.next=i.next,i.next=t),r.interleaved=t,yn(e,n)}function oa(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,Dd(e,n)}}function up(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,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 Va(e,t,n,r){var i=e.updateQueue;In=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var d=i.baseState;o=0,c=u=l=null,a=s;do{var h=a.lane,p=a.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,y=a;switch(h=t,p=n,y.tag){case 1:if(w=y.payload,typeof w=="function"){d=w.call(p,d,h);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=y.payload,h=typeof w=="function"?w.call(p,d,h):w,h==null)break e;d=ge({},d,h);break e;case 2:In=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=d):c=c.next=p,o|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);_r|=o,e.lanes=o,e.memoizedState=d}}function cp(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(M(191,i));i.call(r)}}}var mo={},Jt=dr(mo),Ks=dr(mo),Gs=dr(mo);function Er(e){if(e===mo)throw Error(M(174));return e}function Xd(e,t){switch(se(Gs,t),se(Ks,e),se(Jt,mo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ju(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ju(t,e)}le(Jt),se(Jt,t)}function Vi(){le(Jt),le(Ks),le(Gs)}function w0(e){Er(Gs.current);var t=Er(Jt.current),n=Ju(t,e.type);t!==n&&(se(Ks,e),se(Jt,n))}function qd(e){Ks.current===e&&(le(Jt),le(Ks))}var he=dr(0);function Fa(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 fu=[];function Zd(){for(var e=0;e<fu.length;e++)fu[e]._workInProgressVersionPrimary=null;fu.length=0}var aa=Sn.ReactCurrentDispatcher,hu=Sn.ReactCurrentBatchConfig,Fr=0,me=null,Ee=null,Ne=null,_a=!1,Ts=!1,Ys=0,FS=0;function Oe(){throw Error(M(321))}function Jd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!_t(e[n],t[n]))return!1;return!0}function ef(e,t,n,r,i,s){if(Fr=s,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,aa.current=e===null||e.memoizedState===null?$S:US,e=n(r,i),Ts){s=0;do{if(Ts=!1,Ys=0,25<=s)throw Error(M(301));s+=1,Ne=Ee=null,t.updateQueue=null,aa.current=WS,e=n(r,i)}while(Ts)}if(aa.current=za,t=Ee!==null&&Ee.next!==null,Fr=0,Ne=Ee=me=null,_a=!1,t)throw Error(M(300));return e}function tf(){var e=Ys!==0;return Ys=0,e}function Kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ne===null?me.memoizedState=Ne=e:Ne=Ne.next=e,Ne}function St(){if(Ee===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Ne===null?me.memoizedState:Ne.next;if(t!==null)Ne=t,Ee=e;else{if(e===null)throw Error(M(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Ne===null?me.memoizedState=Ne=e:Ne=Ne.next=e}return Ne}function Qs(e,t){return typeof t=="function"?t(e):t}function pu(e){var t=St(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=Ee,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;
vendor: 5,614 bytes, line 38
38i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((Fr&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 d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,o=r):l=l.next=d,me.lanes|=c,_r|=c}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,_t(r,t.memoizedState)||(qe=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,me.lanes|=s,_r|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function mu(e){var t=St(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);_t(s,t.memoizedState)||(qe=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function b0(){}function S0(e,t){var n=me,r=St(),i=t(),s=!_t(r.memoizedState,i);if(s&&(r.memoizedState=i,qe=!0),r=r.queue,nf(T0.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Ne!==null&&Ne.memoizedState.tag&1){if(n.flags|=2048,Xs(9,E0.bind(null,n,r,i,t),void 0,null),je===null)throw Error(M(349));Fr&30||C0(n,t,i)}return i}function C0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function E0(e,t,n,r){t.value=n,t.getSnapshot=r,P0(t)&&k0(e)}function T0(e,t,n){return n(function(){P0(t)&&k0(e)})}function P0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function k0(e){var t=yn(e,1);t!==null&&Ft(t,e,1,-1)}function dp(e){var t=Kt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qs,lastRenderedState:e},t.queue=e,e=e.dispatch=BS.bind(null,me,e),[t.memoizedState,e]}function Xs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.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 N0(){return St().memoizedState}function la(e,t,n,r){var i=Kt();me.flags|=e,i.memoizedState=Xs(1|t,n,void 0,r===void 0?null:r)}function hl(e,t,n,r){var i=St();r=r===void 0?null:r;var s=void 0;if(Ee!==null){var o=Ee.memoizedState;if(s=o.destroy,r!==null&&Jd(r,o.deps)){i.memoizedState=Xs(t,n,s,r);return}}me.flags|=e,i.memoizedState=Xs(1|t,n,s,r)}function fp(e,t){return la(8390656,8,e,t)}function nf(e,t){return hl(2048,8,e,t)}function j0(e,t){return hl(4,2,e,t)}function R0(e,t){return hl(4,4,e,t)}function A0(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 M0(e,t,n){return n=n!=null?n.concat([e]):null,hl(4,4,A0.bind(null,t,e),n)}function rf(){}function L0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Jd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function D0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Jd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function O0(e,t,n){return Fr&21?(_t(n,t)||(n=zy(),me.lanes|=n,_r|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qe=!0),e.memoizedState=n)}function _S(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=hu.transition;hu.transition={};try{e(!1),t()}finally{re=n,hu.transition=r}}function I0(){return St().memoizedState}function zS(e,t,n){var r=er(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},V0(e))F0(t,n);else if(n=v0(e,t,n,r),n!==null){var i=Ke();Ft(n,e,r,i),_0(n,t,r)}}function BS(e,t,n){var r=er(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(V0(e))F0(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,_t(a,o)){var l=t.interleaved;l===null?(i.next=i,Yd(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=v0(e,t,i,r),n!==null&&(i=Ke(),Ft(n,e,r,i),_0(n,t,r))}}function V0(e){var t=e.alternate;return e===me||t!==null&&t===me}function F0(e,t){Ts=_a=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Dd(e,n)}}var za={readContext:bt,useCallback:Oe,useContext:Oe,useEffect:Oe,useImperativeHandle:Oe,useInsertionEffect:Oe,useLayoutEffect:Oe,useMemo:Oe,useReducer:Oe,useRef:Oe,useState:Oe,useDebugValue:Oe,useDeferredValue:Oe,useTransition:Oe,useMutableSource:Oe,useSyncExternalStore:Oe,useId:Oe,unstable_isNewReconciler:!1},$S={readContext:bt,useCallback:function(e,t){return Kt().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:fp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,la(4194308,4,A0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return la(4194308,4,e,t)},useInsertionEffect:function(e,t){return la(4,2,e,t)},useMemo:function(e,t){var n=Kt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Kt();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=zS.bind(null,me,e),[r.memoizedState,e]}
vendor: 4,766 bytes, lines 38-40
38,useRef:function(e){var t=Kt();return e={current:e},t.memoizedState=e},useState:dp,useDebugValue:rf,useDeferredValue:function(e){return Kt().memoizedState=e},useTransition:function(){var e=dp(!1),t=e[0];return e=_S.bind(null,e[1]),Kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,i=Kt();if(ce){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),je===null)throw Error(M(349));Fr&30||C0(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,fp(T0.bind(null,r,s,e),[e]),r.flags|=2048,Xs(9,E0.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Kt(),t=je.identifierPrefix;if(ce){var n=hn,r=fn;n=(r&~(1<<32-Vt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ys++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=FS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},US={readContext:bt,useCallback:L0,useContext:bt,useEffect:nf,useImperativeHandle:M0,useInsertionEffect:j0,useLayoutEffect:R0,useMemo:D0,useReducer:pu,useRef:N0,useState:function(){return pu(Qs)},useDebugValue:rf,useDeferredValue:function(e){var t=St();return O0(t,Ee.memoizedState,e)},useTransition:function(){var e=pu(Qs)[0],t=St().memoizedState;return[e,t]},useMutableSource:b0,useSyncExternalStore:S0,useId:I0,unstable_isNewReconciler:!1},WS={readContext:bt,useCallback:L0,useContext:bt,useEffect:nf,useImperativeHandle:M0,useInsertionEffect:j0,useLayoutEffect:R0,useMemo:D0,useReducer:mu,useRef:N0,useState:function(){return mu(Qs)},useDebugValue:rf,useDeferredValue:function(e){var t=St();return Ee===null?t.memoizedState=e:O0(t,Ee.memoizedState,e)},useTransition:function(){var e=mu(Qs)[0],t=St().memoizedState;return[e,t]},useMutableSource:b0,useSyncExternalStore:S0,useId:I0,unstable_isNewReconciler:!1};function Rt(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function wc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var pl={isMounted:function(e){return(e=e._reactInternals)?Ur(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=er(e),s=pn(r,i);s.payload=t,n!=null&&(s.callback=n),t=Zn(e,s,i),t!==null&&(Ft(t,e,i,r),oa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=er(e),s=pn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Zn(e,s,i),t!==null&&(Ft(t,e,i,r),oa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ke(),r=er(e),i=pn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Zn(e,i,r),t!==null&&(Ft(t,e,r,n),oa(t,e,r))}};function hp(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!$s(n,r)||!$s(i,s):!0}function z0(e,t,n){var r=!1,i=rr,s=t.contextType;return typeof s=="object"&&s!==null?s=bt(s):(i=Je(t)?Ir:ze.current,r=t.contextTypes,s=(r=r!=null)?Di(e,i):rr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=pl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function pp(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&&pl.enqueueReplaceState(t,t.state,null)}function bc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Qd(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=bt(s):(s=Je(t)?Ir:ze.current,i.context=Di(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(wc(e,t,s,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&&pl.enqueueReplaceState(i,i.state,null),Va(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Fi(e,t){try{var n="",r=t;do n+=vb(r),r=r.return;while(r);var i=n}catch(s){i=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function gu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Sc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var HS=typeof WeakMap=="function"?WeakMap:Map;function B0(e,t,n){n=pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$a||($a=!0,Mc=r),Sc(e,t)},n}
vendor: 10,686 bytes, line 40
40function $0(e,t,n){n=pn(-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(){Sc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Sc(e,t),typeof r!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function mp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new HS;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=sC.bind(null,e,t,n),t.then(e,e))}function gp(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 yp(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=pn(-1,1),t.tag=2,Zn(n,t,1))),n.lanes|=1),e)}var KS=Sn.ReactCurrentOwner,qe=!1;function $e(e,t,n,r){t.child=e===null?y0(t,null,n,r):Ii(t,e.child,n,r)}function vp(e,t,n,r,i){n=n.render;var s=t.ref;return xi(t,i),r=ef(e,t,n,r,s,i),n=tf(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vn(e,t,i)):(ce&&n&&$d(t),t.flags|=1,$e(e,t,r,i),t.child)}function xp(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!ff(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,U0(e,t,s,r,i)):(e=fa(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:$s,n(o,r)&&e.ref===t.ref)return vn(e,t,i)}return t.flags|=1,e=tr(s,r),e.ref=t.ref,e.return=t,t.child=e}function U0(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if($s(s,r)&&e.ref===t.ref)if(qe=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(qe=!0);else return t.lanes=e.lanes,vn(e,t,i)}return Cc(e,t,n,r,i)}function W0(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(li,it),it|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(li,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,se(li,it),it|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,se(li,it),it|=r;return $e(e,t,i,n),t.child}function H0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cc(e,t,n,r,i){var s=Je(n)?Ir:ze.current;return s=Di(t,s),xi(t,i),n=ef(e,t,n,r,s,i),r=tf(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vn(e,t,i)):(ce&&r&&$d(t),t.flags|=1,$e(e,t,n,i),t.child)}function wp(e,t,n,r,i){if(Je(n)){var s=!0;Ma(t)}else s=!1;if(xi(t,i),t.stateNode===null)ua(e,t),z0(t,n,r),bc(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=bt(u):(u=Je(n)?Ir:ze.current,u=Di(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&pp(t,o,r,u),In=!1;var h=t.memoizedState;o.state=h,Va(t,r,o,i),l=t.memoizedState,a!==r||h!==l||Ze.current||In?(typeof c=="function"&&(wc(t,n,c,r),l=t.memoizedState),(a=In||hp(t,n,a,r,h,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,x0(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Rt(t.type,a),o.props=u,d=t.pendingProps,h=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=bt(l):(l=Je(n)?Ir:ze.current,l=Di(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||h!==l)&&pp(t,o,r,l),In=!1,h=t.memoizedState,o.state=h,Va(t,r,o,i);var w=t.memoizedState;a!==d||h!==w||Ze.current||In?(typeof p=="function"&&(wc(t,n,p,r),w=t.memoizedState),(u=In||hp(t,n,u,r,h,w,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ec(e,t,n,r,s,i)}function Ec(e,t,n,r,i,s){H0(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&sp(t,n,!1),vn(e,t,s);r=t.stateNode,KS.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ii(t,e.child,null,s),t.child=Ii(t,null,a,s)):$e(e,t,a,s),t.memoizedState=r.state,i&&sp(t,n,!0),t.child}function K0(e){var t=e.stateNode;t.pendingContext?ip(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ip(e,t.context,!1),Xd(e,t.containerInfo)}function bp(e,t,n,r,i){return Oi(),Wd(i),t.flags|=256,$e(e,t,n,r),t.child}var Tc={dehydrated:null,treeContext:null,retryLane:0};function Pc(e){return{baseLanes:e,cachePool:null,transitions:null}}function G0(e,t,n){var r=t.pendingProps,i=he.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),se(he,i&1),e===null)return vc(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):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=yl(o,r,0,null),e=Dr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Pc(n),t.memoizedState=Tc,e):sf(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return GS(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=tr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=tr(a,s):(s=Dr(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?Pc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Tc,r}return s=e.child,e=s.sibling,r=tr(s,{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 sf(e,t){return t=yl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Bo(e,t,n,r){return r!==null&&Wd(r),Ii(t,e.child,null,n),e=sf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function GS(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=gu(Error(M(422))),Bo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=yl({mode:"visible",children:r.children},i,0,null),s=Dr(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Ii(t,e.child,null,o),t.child.memoizedState=Pc(o),t.memoizedState=Tc,s);if(!(t.mode&1))return Bo(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=gu(s,r,void 0),Bo(e,t,o,r)}if(a=(o&e.childLanes)!==0,qe||a){if(r=je,r!==null){switch(o&-o){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|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,yn(e,i),Ft(r,e,i,-1))}return df(),r=gu(Error(M(421))),Bo(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=oC.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,ot=qn(i.nextSibling),at=t,ce=!0,Ot=null,e!==null&&(mt[gt++]=fn,mt[gt++]=hn,mt[gt++]=Vr,fn=e.id,hn=e.overflow,Vr=t),t=sf(t,r.children),t.flags|=4096,t)}function Sp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),xc(e.return,t,n)}function yu(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Y0(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if($e(e,t,r.children,n),r=he.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&&Sp(e,n,t);else if(e.tag===19)Sp(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(se(he,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&&Fa(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),yu(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Fa(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}yu(t,!0,n,null,s);break;case"together":yu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ua(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 4,903 bytes, line 40
40function vn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),_r|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=tr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function YS(e,t,n){switch(t.tag){case 3:K0(t),Oi();break;case 5:w0(t);break;case 1:Je(t.type)&&Ma(t);break;case 4:Xd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;se(Oa,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(se(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?G0(e,t,n):(se(he,he.current&1),e=vn(e,t,n),e!==null?e.sibling:null);se(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Y0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),se(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,W0(e,t,n)}return vn(e,t,n)}var Q0,kc,X0,q0;Q0=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}};kc=function(){};X0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Er(Jt.current);var s=null;switch(n){case"input":i=Qu(e,i),r=Qu(e,r),s=[];break;case"select":i=ge({},i,{value:void 0}),r=ge({},r,{value:void 0}),s=[];break;case"textarea":i=Zu(e,i),r=Zu(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ra)}ec(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Os.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Os.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};q0=function(e,t,n,r){n!==r&&(t.flags|=4)};function ls(e,t){if(!ce)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 Ie(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 QS(e,t,n){var r=t.pendingProps;switch(Ud(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return Je(t.type)&&Aa(),Ie(t),null;case 3:return r=t.stateNode,Vi(),le(Ze),le(ze),Zd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(_o(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ot!==null&&(Oc(Ot),Ot=null))),kc(e,t),Ie(t),null;case 5:qd(t);var i=Er(Gs.current);if(n=t.type,e!==null&&t.stateNode!=null)X0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Ie(t),null}if(e=Er(Jt.current),_o(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xt]=t,r[Hs]=s,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(i=0;i<ys.length;i++)ae(ys[i],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":Ah(r,s),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ae("invalid",r);break;case"textarea":Lh(r,s),ae("invalid",r)}ec(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];
vendor: 14,313 bytes, line 40
40o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Fo(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Fo(r.textContent,a,e),i=["children",""+a]):Os.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&ae("scroll",r)}switch(n){case"input":Ro(r),Mh(r,s,!0);break;case"textarea":Ro(r),Dh(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Ra)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ty(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xt]=t,e[Hs]=r,Q0(e,t,!1,!1),t.stateNode=e;e:{switch(o=tc(n,r),n){case"dialog":ae("cancel",e),ae("close",e),i=r;break;case"iframe":case"object":case"embed":ae("load",e),i=r;break;case"video":case"audio":for(i=0;i<ys.length;i++)ae(ys[i],e);i=r;break;case"source":ae("error",e),i=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),i=r;break;case"details":ae("toggle",e),i=r;break;case"input":Ah(e,r),i=Qu(e,r),ae("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ge({},r,{value:void 0}),ae("invalid",e);break;case"textarea":Lh(e,r),i=Zu(e,r),ae("invalid",e);break;default:i=r}ec(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Ny(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Py(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Is(e,l):typeof l=="number"&&Is(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Os.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ae("scroll",e):l!=null&&Nd(e,s,l,o))}switch(n){case"input":Ro(e),Mh(e,r,!1);break;case"textarea":Ro(e),Dh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?mi(e,!!r.multiple,s,!1):r.defaultValue!=null&&mi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ra)}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)}return Ie(t),null;case 6:if(e&&t.stateNode!=null)q0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Er(Gs.current),Er(Jt.current),_o(t)){if(r=t.stateNode,n=t.memoizedProps,r[Xt]=t,(s=r.nodeValue!==n)&&(e=at,e!==null))switch(e.tag){case 3:Fo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Fo(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Xt]=t,t.stateNode=r}return Ie(t),null;case 13:if(le(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&ot!==null&&t.mode&1&&!(t.flags&128))m0(),Oi(),t.flags|=98560,s=!1;else if(s=_o(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[Xt]=t}else Oi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ie(t),s=!1}else Ot!==null&&(Oc(Ot),Ot=null),s=!0;if(!s)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||he.current&1?Pe===0&&(Pe=3):df())),t.updateQueue!==null&&(t.flags|=4),Ie(t),null);case 4:return Vi(),kc(e,t),e===null&&Us(t.stateNode.containerInfo),Ie(t),null;case 10:return Gd(t.type._context),Ie(t),null;case 17:return Je(t.type)&&Aa(),Ie(t),null;case 19:if(le(he),s=t.memoizedState,s===null)return Ie(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)ls(s,!1);else{if(Pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Fa(e),o!==null){for(t.flags|=128,ls(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return se(he,he.current&1|2),t.child}e=e.sibling}s.tail!==null&&xe()>_i&&(t.flags|=128,r=!0,ls(s,!1),t.lanes=4194304)}else{if(!r)if(e=Fa(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ls(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ce)return Ie(t),null}else 2*xe()-s.renderingStartTime>_i&&n!==1073741824&&(t.flags|=128,r=!0,ls(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=xe(),t.sibling=null,n=he.current,se(he,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return cf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?it&1073741824&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function XS(e,t){switch(Ud(t),t.tag){case 1:return Je(t.type)&&Aa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vi(),le(Ze),le(ze),Zd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qd(t),null;case 13:if(le(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Oi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(he),null;case 4:return Vi(),null;case 10:return Gd(t.type._context),null;case 22:case 23:return cf(),null;case 24:return null;default:return null}}var $o=!1,Fe=!1,qS=typeof WeakSet=="function"?WeakSet:Set,_=null;function ai(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function Nc(e,t,n){try{n()}catch(r){ve(e,t,r)}}var Cp=!1;function ZS(e,t){if(dc=ka,e=n0(),Bd(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,d=e,h=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=o+i),d!==s||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++u===i&&(a=o),h===s&&++c===r&&(l=o),(p=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(fc={focusedElem:e,selectionRange:n},ka=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,b=w.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Rt(t.type,y),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(S){ve(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return w=Cp,Cp=!1,w}function Ps(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 s=i.destroy;i.destroy=void 0,s!==void 0&&Nc(t,n,s)}i=i.next}while(i!==r)}}function ml(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 jc(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 Z0(e){var t=e.alternate;t!==null&&(e.alternate=null,Z0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xt],delete t[Hs],delete t[mc],delete t[DS],delete t[OS])),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 J0(e){return e.tag===5||e.tag===3||e.tag===4}function Ep(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||J0(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 Rc(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=Ra));else if(r!==4&&(e=e.child,e!==null))for(Rc(e,t,n),e=e.sibling;e!==null;)Rc(e,t,n),e=e.sibling}function Ac(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(Ac(e,t,n),e=e.sibling;e!==null;)Ac(e,t,n),e=e.sibling}var Re=null,Dt=!1;function jn(e,t,n){for(n=n.child;n!==null;)ev(e,t,n),n=n.sibling}function ev(e,t,n){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(al,n)}catch{}switch(n.tag){case 5:Fe||ai(n,t);case 6:var r=Re,i=Dt;Re=null,jn(e,t,n),Re=r,Dt=i,Re!==null&&(Dt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(Dt?(e=Re,n=n.stateNode,e.nodeType===8?cu(e.parentNode,n):e.nodeType===1&&cu(e,n),zs(e)):cu(Re,n.stateNode));break;case 4:r=Re,i=Dt,Re=n.stateNode.containerInfo,Dt=!0,jn(e,t,n),Re=r,Dt=i;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Nc(n,t,o),i=i.next}while(i!==r)}jn(e,t,n);break;case 1:if(!Fe&&(ai(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ve(n,t,a)}jn(e,t,n);break;case 21:jn(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,jn(e,t,n),Fe=r):jn(e,t,n);break;default:jn(e,t,n)}}function Tp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new qS),t.forEach(function(r){var i=aC.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,Dt=!1;break e;case 3:Re=a.stateNode.containerInfo,Dt=!0;break e;case 4:Re=a.stateNode.containerInfo,Dt=!0;break e}a=a.return}if(Re===null)throw Error(M(160));ev(s,o,i),Re=null,Dt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ve(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)tv(t,e),t=t.sibling}function tv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pt(t,e),Ht(e),r&4){try{Ps(3,e,e.return),ml(3,e)}catch(y){ve(e,e.return,y)}try{Ps(5,e,e.return)}catch(y){ve(e,e.return,y)}}break;case 1:Pt(t,e),Ht(e),r&512&&n!==null&&ai(n,n.return);break;case 5:if(Pt(t,e),Ht(e),r&512&&n!==null&&ai(n,n.return),e.flags&32){var i=e.stateNode;try{Is(i,"")}catch(y){ve(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Cy(i,s),tc(a,o);var u=tc(a,s);for(o=0;o<l.length;o+=2){var c=l[o],d=l[o+1];c==="style"?Ny(i,d):c==="dangerouslySetInnerHTML"?Py(i,d):c==="children"?Is(i,d):Nd(i,c,d,u)}switch(a){case"input":Xu(i,s);break;case"textarea":Ey(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?mi(i,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?mi(i,!!s.multiple,s.defaultValue,!0):mi(i,!!s.multiple,s.multiple?[]:"",!1))}i[Hs]=s}catch(y){ve(e,e.return,y)}}break;case 6:if(Pt(t,e),Ht(e),r&4){if(e.stateNode===null)throw Error(M(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ve(e,e.return,y)}}break;case 3:if(Pt(t,e),Ht(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{zs(t.containerInfo)}catch(y){ve(e,e.return,y)}break;case 4:Pt(t,e),Ht(e);break;case 13:Pt(t,e),Ht(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(lf=xe())),r&4&&Tp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||c,Pt(t,e),Fe=u):Pt(t,e),Ht(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(_=e,c=e.child;c!==null;){for(d=_=c;_!==null;){switch(h=_,p=h.child,h.tag){case 0:case 11:case 14:case 15:Ps(4,h,h.return);break;case 1:ai(h,h.return);var w=h.stateNode;if(typeof w.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(y){ve(r,n,y)}}break;case 5:ai(h,h.return);break;case 22:if(h.memoizedState!==null){kp(d);continue}}p!==null?(p.return=h,_=p):kp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=d.stateNode,l=d.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=ky("display",o))}catch(y){ve(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){ve(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.
vendor: 10,017 bytes, line 40
40child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Pt(t,e),Ht(e),r&4&&Tp(e);break;case 21:break;default:Pt(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(J0(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Is(i,""),r.flags&=-33);var s=Ep(e);Ac(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Ep(e);Rc(e,a,o);break;default:throw Error(M(161))}}catch(l){ve(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function JS(e,t,n){_=e,nv(e)}function nv(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var i=_,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||$o;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Fe;a=$o;var u=Fe;if($o=o,(Fe=l)&&!u)for(_=i;_!==null;)o=_,l=o.child,o.tag===22&&o.memoizedState!==null?Np(i):l!==null?(l.return=o,_=l):Np(i);for(;s!==null;)_=s,nv(s),s=s.sibling;_=i,$o=a,Fe=u}Pp(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,_=s):Pp(e)}}function Pp(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||ml(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Rt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&cp(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}cp(t,o,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 d=c.dehydrated;d!==null&&zs(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Fe||t.flags&512&&jc(t)}catch(h){ve(t,t.return,h)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function kp(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function Np(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ml(4,t)}catch(l){ve(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ve(t,i,l)}}var s=t.return;try{jc(t)}catch(l){ve(t,s,l)}break;case 5:var o=t.return;try{jc(t)}catch(l){ve(t,o,l)}}}catch(l){ve(t,t.return,l)}if(t===e){_=null;break}var a=t.sibling;if(a!==null){a.return=t.return,_=a;break}_=t.return}}var eC=Math.ceil,Ba=Sn.ReactCurrentDispatcher,of=Sn.ReactCurrentOwner,xt=Sn.ReactCurrentBatchConfig,J=0,je=null,Se=null,Ae=0,it=0,li=dr(0),Pe=0,qs=null,_r=0,gl=0,af=0,ks=null,Xe=null,lf=0,_i=1/0,un=null,$a=!1,Mc=null,Jn=null,Uo=!1,Hn=null,Ua=0,Ns=0,Lc=null,ca=-1,da=0;function Ke(){return J&6?xe():ca!==-1?ca:ca=xe()}function er(e){return e.mode&1?J&2&&Ae!==0?Ae&-Ae:VS.transition!==null?(da===0&&(da=zy()),da):(e=re,e!==0||(e=window.event,e=e===void 0?16:Gy(e.type)),e):1}function Ft(e,t,n,r){if(50<Ns)throw Ns=0,Lc=null,Error(M(185));fo(e,n,r),(!(J&2)||e!==je)&&(e===je&&(!(J&2)&&(gl|=n),Pe===4&&Fn(e,Ae)),et(e,r),n===1&&J===0&&!(t.mode&1)&&(_i=xe()+500,fl&&fr()))}function et(e,t){var n=e.callbackNode;Vb(e,t);var r=Pa(e,e===je?Ae:0);if(r===0)n!==null&&Vh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Vh(n),t===1)e.tag===0?IS(jp.bind(null,e)):f0(jp.bind(null,e)),MS(function(){!(J&6)&&fr()}),n=null;else{switch(By(r)){case 1:n=Ld;break;case 4:n=Fy;break;case 16:n=Ta;break;case 536870912:n=_y;break;default:n=Ta}n=cv(n,rv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rv(e,t){if(ca=-1,da=0,J&6)throw Error(M(327));var n=e.callbackNode;if(wi()&&e.callbackNode!==n)return null;var r=Pa(e,e===je?Ae:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Wa(e,r);else{t=r;var i=J;J|=2;var s=sv();(je!==e||Ae!==t)&&(un=null,_i=xe()+500,Lr(e,t));do try{rC();break}catch(a){iv(e,a)}while(!0);Kd(),Ba.current=s,J=i,Se!==null?t=0:(je=null,Ae=0,t=Pe)}if(t!==0){if(t===2&&(i=oc(e),i!==0&&(r=i,t=Dc(e,i))),t===1)throw n=qs,Lr(e,0),Fn(e,r),et(e,xe()),n;if(t===6)Fn(e,r);else{if(i=e.current.alternate,!(r&30)&&!tC(i)&&(t=Wa(e,r),t===2&&(s=oc(e),s!==0&&(r=s,t=Dc(e,s))),t===1))throw n=qs,Lr(e,0),Fn(e,r),et(e,xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:wr(e,Xe,un);break;case 3:if(Fn(e,r),(r&130023424)===r&&(t=lf+500-xe(),10<t)){if(Pa(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ke(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=pc(wr.bind(null,e,Xe,un),t);break}wr(e,Xe,un);break;case 4:if(Fn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Vt(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*eC(r/1960))-r,10<r){e.timeoutHandle=pc(wr.bind(null,e,Xe,un),r);break}wr(e,Xe,un);break;case 5:wr(e,Xe,un);break;default:throw Error(M(329))}}}return et(e,xe()),e.callbackNode===n?rv.bind(null,e):null}function Dc(e,t){var n=ks;return e.current.memoizedState.isDehydrated&&(Lr(e,t).flags|=256),e=Wa(e,t),e!==2&&(t=Xe,Xe=n,t!==null&&Oc(t)),e}function Oc(e){Xe===null?Xe=e:Xe.push.apply(Xe,e)}function tC(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],s=i.getSnapshot;i=i.value;try{if(!_t(s(),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 Fn(e,t){for(t&=~af,t&=~gl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vt(t),r=1<<n;e[n]=-1,t&=~r}}function jp(e){if(J&6)throw Error(M(327));wi();var t=Pa(e,0);if(!(t&1))return et(e,xe()),null;var n=Wa(e,t);if(e.tag!==0&&n===2){var r=oc(e);r!==0&&(t=r,n=Dc(e,r))}if(n===1)throw n=qs,Lr(e,0),Fn(e,t),et(e,xe()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wr(e,Xe,un),et(e,xe()),null}function uf(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(_i=xe()+500,fl&&fr())}}function zr(e){Hn!==null&&Hn.tag===0&&!(J&6)&&wi();var t=J;J|=1;var n=xt.transition,r=re;try{if(xt.transition=null,re=1,e)return e()}finally{re=r,xt.transition=n,J=t,!(J&6)&&fr()}}function cf(){it=li.current,le(li)}function Lr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,AS(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Ud(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Aa();break;case 3:Vi(),le(Ze),le(ze),Zd();break;case 5:qd(r);break;case 4:Vi();break;case 13:le(he);break;case 19:le(he);break;case 10:Gd(r.type._context);break;case 22:case 23:cf()}n=n.return}if(je=e,Se=e=tr(e.current,null),Ae=it=t,Pe=0,qs=null,af=gl=_r=0,Xe=ks=null,Cr!==null){for(t=0;t<Cr.length;t++)if(n=Cr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Cr=null}return e}function iv(e,t){do{var n=Se;try{if(Kd(),aa.current=za,_a){for(var r=me.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}_a=!1}if(Fr=0,Ne=Ee=me=null,Ts=!1,Ys=0,of.current=null,n===null||n.return===null){Pe=1,qs=t,Se=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Ae,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=gp(o);if(p!==null){p.flags&=-257,yp(p,o,a,s,t),p.mode&1&&mp(s,u,t),t=p,l=u;var w=t.updateQueue;if(w===null){var y=new Set;y.add(l),t.updateQueue=y}else w.add(l);break e}else{if(!(t&1)){mp(s,u,t),df();break e}l=Error(M(426))}}else if(ce&&a.mode&1){var b=gp(o);if(b!==null){!(b.flags&65536)&&(b.flags|=256),yp(b,o,a,s,t),Wd(Fi(l,a));break e}}s=l=Fi(l,a),Pe!==4&&(Pe=2),ks===null?ks=[s]:ks.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=B0(s,l,t);up(s,g);break e;case 1:a=l;var m=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Jn===null||!Jn.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=$0(s,a,t);up(s,S);break e}}s=s.return}while(s!==null)}av(n)}catch(C){t=C,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function sv(){var e=Ba.current;return Ba.current=za,e===null?za:e}function df(){(Pe===0||Pe===3||Pe===2)&&(Pe=4),je===null||!(_r&268435455)&&!(gl&268435455)||Fn(je,Ae)}function Wa(e,t){var n=J;J|=2;var r=sv();(je!==e||Ae!==t)&&(un=null,Lr(e,t));do try{nC();break}catch(i){iv(e,i)}while(!0);if(Kd(),J=n,Ba.current=r,Se!==null)throw Error(M(261));return je=null,Ae=0,Pe}function nC(){for(;Se!==null;)ov(Se)}function rC(){for(;Se!==null&&!Nb();)ov(Se)}function ov(e){var t=uv(e.alternate,e,it);e.memoizedProps=e.pendingProps,t===null?av(e):Se=t,of.current=null}function av(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=XS(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pe=6,Se=null;return}}else if(n=QS(n,t,it),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Pe===0&&(Pe=5)}function wr(e,t,n){var r=re,i=xt.transition;try{xt.transition=null,re=1,iC(e,t,n,r)}finally{xt.transition=i,re=r}return null}function iC(e,t,n,r){do wi();while(Hn!==null);if(J&6)throw Error(M(327));
vendor: 4,534 bytes, line 40
40n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Fb(e,s),e===je&&(Se=je=null,Ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Uo||(Uo=!0,cv(Ta,function(){return wi(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=xt.transition,xt.transition=null;var o=re;re=1;var a=J;J|=4,of.current=null,ZS(e,n),tv(n,e),ES(fc),ka=!!dc,fc=dc=null,e.current=n,JS(n),jb(),J=a,re=o,xt.transition=s}else e.current=n;if(Uo&&(Uo=!1,Hn=e,Ua=i),s=e.pendingLanes,s===0&&(Jn=null),Mb(n.stateNode),et(e,xe()),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($a)throw $a=!1,e=Mc,Mc=null,e;return Ua&1&&e.tag!==0&&wi(),s=e.pendingLanes,s&1?e===Lc?Ns++:(Ns=0,Lc=e):Ns=0,fr(),null}function wi(){if(Hn!==null){var e=By(Ua),t=xt.transition,n=re;try{if(xt.transition=null,re=16>e?16:e,Hn===null)var r=!1;else{if(e=Hn,Hn=null,Ua=0,J&6)throw Error(M(331));var i=J;for(J|=4,_=e.current;_!==null;){var s=_,o=s.child;if(_.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(_=u;_!==null;){var c=_;switch(c.tag){case 0:case 11:case 15:Ps(8,c,s)}var d=c.child;if(d!==null)d.return=c,_=d;else for(;_!==null;){c=_;var h=c.sibling,p=c.return;if(Z0(c),c===u){_=null;break}if(h!==null){h.return=p,_=h;break}_=p}}}var w=s.alternate;if(w!==null){var y=w.child;if(y!==null){w.child=null;do{var b=y.sibling;y.sibling=null,y=b}while(y!==null)}}_=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,_=o;else e:for(;_!==null;){if(s=_,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Ps(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,_=g;break e}_=s.return}}var m=e.current;for(_=m;_!==null;){o=_;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,_=v;else e:for(o=m;_!==null;){if(a=_,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ml(9,a)}}catch(C){ve(a,a.return,C)}if(a===o){_=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,_=S;break e}_=a.return}}if(J=i,fr(),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(al,e)}catch{}r=!0}return r}finally{re=n,xt.transition=t}}return!1}function Rp(e,t,n){t=Fi(n,t),t=B0(e,t,1),e=Zn(e,t,1),t=Ke(),e!==null&&(fo(e,1,t),et(e,t))}function ve(e,t,n){if(e.tag===3)Rp(e,e,n);else for(;t!==null;){if(t.tag===3){Rp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jn===null||!Jn.has(r))){e=Fi(n,e),e=$0(t,e,1),t=Zn(t,e,1),e=Ke(),t!==null&&(fo(t,1,e),et(t,e));break}}t=t.return}}function sC(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ke(),e.pingedLanes|=e.suspendedLanes&n,je===e&&(Ae&n)===n&&(Pe===4||Pe===3&&(Ae&130023424)===Ae&&500>xe()-lf?Lr(e,0):af|=n),et(e,t)}function lv(e,t){t===0&&(e.mode&1?(t=Lo,Lo<<=1,!(Lo&130023424)&&(Lo=4194304)):t=1);var n=Ke();e=yn(e,t),e!==null&&(fo(e,t,n),et(e,n))}function oC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),lv(e,n)}function aC(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(M(314))}r!==null&&r.delete(t),lv(e,n)}var uv;uv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ze.current)qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return qe=!1,YS(e,t,n);qe=!!(e.flags&131072)}else qe=!1,ce&&t.flags&1048576&&h0(t,Da,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ua(e,t),e=t.pendingProps;var i=Di(t,ze.current);xi(t,n),i=ef(null,t,r,e,i,n);var s=tf();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,Je(r)?(s=!0,Ma(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Qd(t),i.updater=pl,t.stateNode=i,i._reactInternals=t,bc(t,r,e,n),t=Ec(null,t,r,!0,s,n)):(t.tag=0,ce&&s&&$d(t),$e(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ua(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=uC(r),e=Rt(r,e),i){case 0:t=Cc(null,t,r,e,n);break e;case 1:t=wp(null,t,r,e,n);break e;case 11:t=vp(null,t,r,e,n);break e;case 14:t=xp(null,t,r,Rt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),Cc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),wp(e,t,r,i,n);case 3:e:{if(K0(t),e===null)throw Error(M(387));
vendor: 10,364 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,i=s.element,x0(e,t),Va(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Fi(Error(M(423)),t),t=bp(e,t,r,n,i);break e}else if(r!==i){i=Fi(Error(M(424)),t),t=bp(e,t,r,n,i);break e}else for(ot=qn(t.stateNode.containerInfo.firstChild),at=t,ce=!0,Ot=null,n=y0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Oi(),r===i){t=vn(e,t,n);break e}$e(e,t,r,n)}t=t.child}return t;case 5:return w0(t),e===null&&vc(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,hc(r,i)?o=null:s!==null&&hc(r,s)&&(t.flags|=32),H0(e,t),$e(e,t,o,n),t.child;case 6:return e===null&&vc(t),null;case 13:return G0(e,t,n);case 4:return Xd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ii(t,null,r,n):$e(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),vp(e,t,r,i,n);case 7:return $e(e,t,t.pendingProps,n),t.child;case 8:return $e(e,t,t.pendingProps.children,n),t.child;case 12:return $e(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,se(Oa,r._currentValue),r._currentValue=o,s!==null)if(_t(s.value,o)){if(s.children===i.children&&!Ze.current){t=vn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=pn(-1,n&-n),l.tag=2;var u=s.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}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),xc(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(M(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),xc(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}$e(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,xi(t,n),i=bt(i),r=r(i),t.flags|=1,$e(e,t,r,n),t.child;case 14:return r=t.type,i=Rt(r,t.pendingProps),i=Rt(r.type,i),xp(e,t,r,i,n);case 15:return U0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),ua(e,t),t.tag=1,Je(r)?(e=!0,Ma(t)):e=!1,xi(t,n),z0(t,r,i),bc(t,r,i,n),Ec(null,t,r,!0,e,n);case 19:return Y0(e,t,n);case 22:return W0(e,t,n)}throw Error(M(156,t.tag))};function cv(e,t){return Vy(e,t)}function lC(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 yt(e,t,n,r){return new lC(e,t,n,r)}function ff(e){return e=e.prototype,!(!e||!e.isReactComponent)}function uC(e){if(typeof e=="function")return ff(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rd)return 11;if(e===Ad)return 14}return 2}function tr(e,t){var n=e.alternate;return n===null?(n=yt(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 fa(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")ff(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Zr:return Dr(n.children,i,s,t);case jd:o=8,i|=8;break;case Hu:return e=yt(12,n,t,i|2),e.elementType=Hu,e.lanes=s,e;case Ku:return e=yt(13,n,t,i),e.elementType=Ku,e.lanes=s,e;case Gu:return e=yt(19,n,t,i),e.elementType=Gu,e.lanes=s,e;case wy:return yl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vy:o=10;break e;case xy:o=9;break e;case Rd:o=11;break e;case Ad:o=14;break e;case On:o=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=yt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Dr(e,t,n,r){return e=yt(7,e,r,t),e.lanes=n,e}function yl(e,t,n,r){return e=yt(22,e,r,t),e.elementType=wy,e.lanes=n,e.stateNode={isHidden:!1},e}function vu(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function xu(e,t,n){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cC(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=Jl(0),this.expirationTimes=Jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function hf(e,t,n,r,i,s,o,a,l){return e=new cC(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=yt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qd(s),e}function dC(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:qr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function dv(e){if(!e)return rr;e=e._reactInternals;e:{if(Ur(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(Je(n))return d0(e,n,t)}return t}function fv(e,t,n,r,i,s,o,a,l){return e=hf(n,r,!0,e,i,s,o,a,l),e.context=dv(null),n=e.current,r=Ke(),i=er(n),s=pn(r,i),s.callback=t??null,Zn(n,s,i),e.current.lanes=i,fo(e,i,r),et(e,r),e}function vl(e,t,n,r){var i=t.current,s=Ke(),o=er(i);return n=dv(n),t.context===null?t.context=n:t.pendingContext=n,t=pn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zn(i,t,o),e!==null&&(Ft(e,i,o,s),oa(e,i,o)),o}function Ha(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 Ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function pf(e,t){Ap(e,t),(e=e.alternate)&&Ap(e,t)}function fC(){return null}var hv=typeof reportError=="function"?reportError:function(e){console.error(e)};function mf(e){this._internalRoot=e}xl.prototype.render=mf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));vl(e,t,null,null)};xl.prototype.unmount=mf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zr(function(){vl(null,e,null,null)}),t[gn]=null}};function xl(e){this._internalRoot=e}xl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Wy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Vn.length&&t!==0&&t<Vn[n].priority;n++);Vn.splice(n,0,e),n===0&&Ky(e)}};function gf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function wl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Mp(){}function hC(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=Ha(o);s.call(u)}}var o=fv(t,r,e,0,null,!1,!1,"",Mp);return e._reactRootContainer=o,e[gn]=o.current,Us(e.nodeType===8?e.parentNode:e),zr(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Ha(l);a.call(u)}}var l=hf(e,0,!1,null,null,!1,!1,"",Mp);return e._reactRootContainer=l,e[gn]=l.current,Us(e.nodeType===8?e.parentNode:e),zr(function(){vl(t,l,n,r)}),l}function bl(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Ha(o);a.call(l)}}vl(t,o,e,i)}else o=hC(n,t,e,i,r);return Ha(o)}$y=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=gs(t.pendingLanes);n!==0&&(Dd(t,n|1),et(t,xe()),!(J&6)&&(_i=xe()+500,fr()))}break;case 13:zr(function(){var r=yn(e,1);if(r!==null){var i=Ke();Ft(r,e,1,i)}}),pf(e,1)}};Od=function(e){if(e.tag===13){var t=yn(e,134217728);if(t!==null){var n=Ke();Ft(t,e,134217728,n)}pf(e,134217728)}};Uy=function(e){if(e.tag===13){var t=er(e),n=yn(e,t);if(n!==null){var r=Ke();Ft(n,e,t,r)}pf(e,t)}};Wy=function(){return re};Hy=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};rc=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=dl(r);if(!i)throw Error(M(90));Sy(r),Xu(r,i)}}}break;case"textarea":Ey(e,n);break;case"select":t=n.value,t!=null&&mi(e,!!n.multiple,t,!1)}};Ay=uf;My=zr;var pC={usingClientEntryPoint:!1,Events:[po,ni,dl,jy,Ry,uf]},us={findFiberByHostInstance:Sr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},mC={bundleType:us.bundleType,version:us.version,rendererPackageName:us.rendererPackageName,rendererConfig:us.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Sn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Oy(e),e===null?null:e.stateNode},findFiberByHostInstance:us.findFiberByHostInstance||fC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wo.isDisabled&&Wo.supportsFiber)try{al=Wo.inject(mC),Zt=Wo}catch{}}ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pC;ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gf(t))throw Error(M(200));return dC(e,t,null,n)};ct.createRoot=function(e,t){if(!gf(e))throw Error(M(299));var n=!1,r="",i=hv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=hf(e,1,!1,null,null,n,!1,r,i),e[gn]=t.current,Us(e.nodeType===8?e.parentNode:e),new mf(t)};ct.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(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=Oy(t),e=e===null?null:e.stateNode,e};ct.flushSync=function(e){return zr(e)};ct.hydrate=function(e,t,n){if(!wl(t))throw Error(M(200));return bl(null,e,t,!0,n)};ct.hydrateRoot=function(e,t,n){if(!gf(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=hv;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=fv(t,null,e,1,n??null,i,!1,s,o),e[gn]=t.current,Us(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 xl(t)};ct.render=function(e,t,n){if(!wl(t))throw Error(M(200));return bl(null,e,t,!1,n)};ct.unmountComponentAtNode=function(e){if(!wl(e))throw Error(M(40));return e._reactRootContainer?(zr(function(){bl(null,null,e,!1,function(){e._reactRootContainer=null,e[gn]=null})}),!0):!1};ct.unstable_batchedUpdates=uf;ct.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!wl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return bl(e,t,n,!1,r)};ct.version="18.3.1-next-f1338f8080-20240426";function pv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pv)}catch(e){console.error(e)}}pv(),py.exports=ct;var go=py.exports;const mv=ty(go);var gv,Lp=go;gv=Lp.createRoot,Lp.hydrateRoot;const gC=1,yC=1e6;let wu=0;function vC(){return wu=(wu+1)%Number.MAX_SAFE_INTEGER,wu.toString()}const bu=new Map,Dp=e=>{if(bu.has(e))return;const t=setTimeout(()=>{bu.delete(e),js({type:"REMOVE_TOAST",toastId:e})},yC);bu.set(e,t)},xC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,gC)};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?Dp(n):e.toasts.forEach(r=>{Dp(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)}}},ha=[];let pa={toasts:[]};
vendor: 13,396 bytes, line 40
40function js(e){pa=xC(pa,e),ha.forEach(t=>{t(pa)})}function wC({...e}){const t=vC(),n=i=>js({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>js({type:"DISMISS_TOAST",toastId:t});return js({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function bC(){const[e,t]=x.useState(pa);return x.useEffect(()=>(ha.push(t),()=>{const n=ha.indexOf(t);n>-1&&ha.splice(n,1)}),[e]),{...e,toast:wC,dismiss:n=>js({type:"DISMISS_TOAST",toastId:n})}}function Te(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 Op(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function yv(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Op(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Op(e[i],null)}}}}function zt(...e){return x.useCallback(yv(...e),e)}function Sl(e,t=[]){let n=[];function r(s,o){const a=x.createContext(o),l=n.length;n=[...n,o];const u=d=>{var g;const{scope:h,children:p,...w}=d,y=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,b=x.useMemo(()=>w,Object.values(w));return f.jsx(y.Provider,{value:b,children:p})};u.displayName=s+"Provider";function c(d,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,w=x.useContext(p);if(w)return w;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,c]}const i=()=>{const s=n.map(o=>x.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,SC(i,...t)]}function SC(...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(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Ka(e){const t=EC(e),n=x.forwardRef((r,i)=>{const{children:s,...o}=r,a=x.Children.toArray(s),l=a.find(PC);if(l){const u=l.props.children,c=a.map(d=>d===l?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:d);return f.jsx(t,{...o,ref:i,children:x.isValidElement(u)?x.cloneElement(u,void 0,c):null})}return f.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var CC=Ka("Slot");function EC(e){const t=x.forwardRef((n,r)=>{const{children:i,...s}=n;if(x.isValidElement(i)){const o=NC(i),a=kC(s,i.props);return i.type!==x.Fragment&&(a.ref=r?yv(r,o):o),x.cloneElement(i,a)}return x.Children.count(i)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var vv=Symbol("radix.slottable");function TC(e){const t=({children:n})=>f.jsx(f.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=vv,t}function PC(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vv}function kC(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function NC(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 jC(e){const t=e+"CollectionProvider",[n,r]=Sl(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:b,children:g}=y,m=L.useRef(null),v=L.useRef(new Map).current;return f.jsx(i,{scope:b,itemMap:v,collectionRef:m,children:g})};o.displayName=t;const a=e+"CollectionSlot",l=Ka(a),u=L.forwardRef((y,b)=>{const{scope:g,children:m}=y,v=s(a,g),S=zt(b,v.collectionRef);return f.jsx(l,{ref:S,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",h=Ka(c),p=L.forwardRef((y,b)=>{const{scope:g,children:m,...v}=y,S=L.useRef(null),C=zt(b,S),E=s(c,g);return L.useEffect(()=>(E.itemMap.set(S,{ref:S,...v}),()=>void E.itemMap.delete(S))),f.jsx(h,{[d]:"",ref:C,children:m})});p.displayName=c;function w(y){const b=s(e+"CollectionConsumer",y);return L.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((E,T)=>v.indexOf(E.ref.current)-v.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},w,r]}var RC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=RC.reduce((e,t)=>{const n=Ka(`Primitive.${t}`),r=x.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function xv(e,t){e&&go.flushSync(()=>e.dispatchEvent(t))}function ir(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function AC(e,t=globalThis==null?void 0:globalThis.document){const n=ir(e);x.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 MC="DismissableLayer",Ic="dismissableLayer.update",LC="dismissableLayer.pointerDownOutside",DC="dismissableLayer.focusOutside",Ip,wv=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yf=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=x.useContext(wv),[c,d]=x.useState(null),h=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),w=zt(t,T=>d(T)),y=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(b),m=c?y.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=g,C=IC(T=>{const P=T.target,R=[...u.branches].some(A=>A.contains(P));!S||R||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},h),E=VC(T=>{const P=T.target;[...u.branches].some(A=>A.contains(P))||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},h);return AC(T=>{m===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),x.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ip=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Vp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Ip)}},[c,h,n,u]),x.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Vp())},[c,u]),x.useEffect(()=>{const T=()=>p({});return document.addEventListener(Ic,T),()=>document.removeEventListener(Ic,T)},[]),f.jsx(rt.div,{...l,ref:w,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,C.onPointerDownCapture)})});yf.displayName=MC;var OC="DismissableLayerBranch",bv=x.forwardRef((e,t)=>{const n=x.useContext(wv),r=x.useRef(null),i=zt(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),f.jsx(rt.div,{...e,ref:i})});bv.displayName=OC;function IC(e,t=globalThis==null?void 0:globalThis.document){const n=ir(e),r=x.useRef(!1),i=x.useRef(()=>{});return x.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Sv(LC,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},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function VC(e,t=globalThis==null?void 0:globalThis.document){const n=ir(e),r=x.useRef(!1);return x.useEffect(()=>{const i=s=>{s.target&&!r.current&&Sv(DC,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Vp(){const e=new CustomEvent(Ic);document.dispatchEvent(e)}function Sv(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?xv(i,s):i.dispatchEvent(s)}var FC=yf,_C=bv,sr=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},zC="Portal",Cv=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=x.useState(!1);sr(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?mv.createPortal(f.jsx(rt.div,{...r,ref:t}),o):null});Cv.displayName=zC;function BC(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var vf=e=>{const{present:t,children:n}=e,r=$C(t),i=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=zt(r.ref,UC(i));return typeof n=="function"||r.isPresent?x.cloneElement(i,{ref:s}):null};vf.displayName="Presence";function $C(e){const[t,n]=x.useState(),r=x.useRef(null),i=x.useRef(e),s=x.useRef("none"),o=e?"mounted":"unmounted",[a,l]=BC(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Ho(r.current);s.current=a==="mounted"?u:"none"},[a]),sr(()=>{const u=r.current,c=i.current;if(c!==e){const h=s.current,p=Ho(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&h!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),sr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=p=>{const y=Ho(r.current).includes(p.animationName);if(p.target===t&&y&&(l("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(s.current=Ho(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Ho(e){return(e==null?void 0:e.animationName)||"none"}function UC(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)}var WC=fy[" useInsertionEffect ".trim().toString()]||sr;function HC({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=KC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=x.useRef(e!==void 0);x.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=x.useCallback(c=>{var d;if(a){const h=GC(c)?c(e):c;h!==e&&((d=o.current)==null||d.call(o,h))}else s(c)},[a,e,s,o]);return[l,u]}function KC({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),i=x.useRef(n),s=x.useRef(t);return WC(()=>{s.current=t},[t]),x.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function GC(e){return typeof e=="function"}var YC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),QC="VisuallyHidden",Cl=x.forwardRef((e,t)=>f.jsx(rt.span,{...e,ref:t,style:{...YC,...e.style}}));Cl.displayName=QC;var XC=Cl,xf="ToastProvider",[wf,qC,ZC]=jC("Toast"),[Ev,zL]=Sl("Toast",[ZC]),[JC,El]=Ev(xf),Tv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=x.useState(null),[u,c]=x.useState(0),d=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${xf}\`. Expected non-empty \`string\`.`),f.jsx(wf.Provider,{scope:t,children:f.jsx(JC,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>c(p=>p+1),[]),onToastRemove:x.useCallback(()=>c(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:h,children:o})})};Tv.displayName=xf;var Pv="ToastViewport",eE=["F8"],Vc="toast.viewportPause",Fc="toast.viewportResume",kv=x.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=eE,label:i="Notifications ({hotkey})",...s}=e,o=El(Pv,n),a=qC(n),l=x.useRef(null),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),h=zt(t,d,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=o.toastCount>0;x.useEffect(()=>{const b=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),x.useEffect(()=>{const b=l.current,g=d.current;if(w&&b&&g){const m=()=>{if(!o.isClosePausedRef.current){const E=new CustomEvent(Vc);g.dispatchEvent(E),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const E=new CustomEvent(Fc);g.dispatchEvent(E),o.isClosePausedRef.current=!1}},S=E=>{!b.contains(E.relatedTarget)&&v()},C=()=>{b.contains(document.activeElement)||v()};return b.addEventListener("focusin",m),b.addEventListener("focusout",S),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",S),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[w,o.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:b})=>{const m=a().map(v=>{const S=v.ref.current,C=[S,...hE(S)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?m.reverse():m).flat()},[a]);return x.useEffect(()=>{const b=d.current;if(b){const g=m=>{var C,E,T;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const P=document.activeElement,R=m.shiftKey;if(m.target===b&&R){(C=u.current)==null||C.focus();return}const V=y({tabbingDirection:R?"backwards":"forwards"}),Y=V.findIndex(O=>O===P);Su(V.slice(Y+1))?m.preventDefault():R?(E=u.current)==null||E.focus():(T=c.current)==null||T.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[a,y]),f.jsxs(_C,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&f.jsx(_c,{ref:u,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"forwards"});Su(b)}}),f.jsx(wf.Slot,{scope:n,children:f.jsx(rt.ol,{tabIndex:-1,...s,ref:h})}),w&&f.jsx(_c,{ref:c,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"backwards"});Su(b)}})]})});kv.displayName=Pv;var Nv="ToastFocusProxy",_c=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=El(Nv,n);return f.jsx(Cl,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});_c.displayName=Nv;var yo="Toast",tE="toast.swipeStart",nE="toast.swipeMove",rE="toast.swipeCancel",iE="toast.swipeEnd",jv=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=HC({prop:r,defaultProp:i??!0,onChange:s,caller:yo});return f.jsx(vf,{present:n||a,children:f.jsx(aE,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:ir(e.onPause),onResume:ir(e.onResume),onSwipeStart:Te(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Te(e.onSwipeMove,u=>{const{x:c,y:d}=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",`${d}px`)}),onSwipeCancel:Te(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:Te(e.onSwipeEnd,u=>{const{x:c,y:d}=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",`${d}px`),l(!1)})})})});
40jv.displayName=yo;var[sE,oE]=Ev(yo,{onClose(){}}),aE=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:h,onSwipeEnd:p,...w}=e,y=El(yo,n),[b,g]=x.useState(null),m=zt(t,O=>g(O)),v=x.useRef(null),S=x.useRef(null),C=i||y.duration,E=x.useRef(0),T=x.useRef(C),P=x.useRef(0),{onToastAdd:R,onToastRemove:A}=y,B=ir(()=>{var Q;(b==null?void 0:b.contains(document.activeElement))&&((Q=y.viewport)==null||Q.focus()),o()}),V=x.useCallback(O=>{!O||O===1/0||(window.clearTimeout(P.current),E.current=new Date().getTime(),P.current=window.setTimeout(B,O))},[B]);x.useEffect(()=>{const O=y.viewport;if(O){const Q=()=>{V(T.current),u==null||u()},U=()=>{const z=new Date().getTime()-E.current;T.current=T.current-z,window.clearTimeout(P.current),l==null||l()};return O.addEventListener(Vc,U),O.addEventListener(Fc,Q),()=>{O.removeEventListener(Vc,U),O.removeEventListener(Fc,Q)}}},[y.viewport,C,l,u,V]),x.useEffect(()=>{s&&!y.isClosePausedRef.current&&V(C)},[s,C,y.isClosePausedRef,V]),x.useEffect(()=>(R(),()=>A()),[R,A]);const Y=x.useMemo(()=>b?Iv(b):null,[b]);return y.viewport?f.jsxs(f.Fragment,{children:[Y&&f.jsx(lE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:Y}),f.jsx(sE,{scope:n,onClose:B,children:go.createPortal(f.jsx(wf.ItemSlot,{scope:n,children:f.jsx(FC,{asChild:!0,onEscapeKeyDown:Te(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||B(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:f.jsx(rt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...w,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Te(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:Te(e.onPointerDown,O=>{O.button===0&&(v.current={x:O.clientX,y:O.clientY})}),onPointerMove:Te(e.onPointerMove,O=>{if(!v.current)return;const Q=O.clientX-v.current.x,U=O.clientY-v.current.y,z=!!S.current,k=["left","right"].includes(y.swipeDirection),j=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,I=k?j(0,Q):0,W=k?0:j(0,U),$=O.pointerType==="touch"?10:2,X={x:I,y:W},Z={originalEvent:O,delta:X};z?(S.current=X,Ko(nE,d,Z,{discrete:!1})):Fp(X,y.swipeDirection,$)?(S.current=X,Ko(tE,c,Z,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(Q)>$||Math.abs(U)>$)&&(v.current=null)}),onPointerUp:Te(e.onPointerUp,O=>{const Q=S.current,U=O.target;if(U.hasPointerCapture(O.pointerId)&&U.releasePointerCapture(O.pointerId),S.current=null,v.current=null,Q){const z=O.currentTarget,k={originalEvent:O,delta:Q};Fp(Q,y.swipeDirection,y.swipeThreshold)?Ko(iE,p,k,{discrete:!0}):Ko(rE,h,k,{discrete:!0}),z.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),lE=e=>{const{__scopeToast:t,children:n,...r}=e,i=El(yo,t),[s,o]=x.useState(!1),[a,l]=x.useState(!1);return dE(()=>o(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:f.jsx(Cv,{asChild:!0,children:f.jsx(Cl,{...r,children:s&&f.jsxs(f.Fragment,{children:[i.label," ",n]})})})},uE="ToastTitle",Rv=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(rt.div,{...r,ref:t})});Rv.displayName=uE;var cE="ToastDescription",Av=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(rt.div,{...r,ref:t})});Av.displayName=cE;var Mv="ToastAction",Lv=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?f.jsx(Ov,{altText:n,asChild:!0,children:f.jsx(bf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Mv}\`. Expected non-empty \`string\`.`),null)});
vendor: 7,678 bytes, lines 40-109
40Lv.displayName=Mv;var Dv="ToastClose",bf=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=oE(Dv,n);return f.jsx(Ov,{asChild:!0,children:f.jsx(rt.button,{type:"button",...r,ref:t,onClick:Te(e.onClick,i.onClose)})})});bf.displayName=Dv;var Ov=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return f.jsx(rt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function Iv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),fE(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...Iv(r))}}),t}function Ko(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?xv(i,s):i.dispatchEvent(s)}var Fp=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function dE(e=()=>{}){const t=ir(e);sr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function fE(e){return e.nodeType===e.ELEMENT_NODE}function hE(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 Su(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var pE=Tv,Vv=kv,Fv=jv,_v=Rv,zv=Av,Bv=Lv,$v=bf;function Uv(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=Uv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Wv(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Uv(e))&&(r&&(r+=" "),r+=t);return r}const _p=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,zp=Wv,Hv=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return zp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=s==null?void 0:s[u];if(c===null)return null;const h=_p(c)||_p(d);return i[u][h]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,h]=c;return h===void 0||(u[d]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:h,...p}=c;return Object.entries(p).every(w=>{let[y,b]=w;return Array.isArray(b)?b.includes({...s,...a}[y]):{...s,...a}[y]===b})?[...u,d,h]:u},[]);return zp(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.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 mE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Kv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.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 gE={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.462.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 yE=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>x.createElement("svg",{ref:l,...gE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Kv("lucide",i),...a},[...o.map(([u,c])=>x.createElement(u,c)),...Array.isArray(s)?s:[s]]));/**
56 * @license lucide-react v0.462.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 de=(e,t)=>{const n=x.forwardRef(({className:r,...i},s)=>x.createElement(yE,{ref:s,iconNode:t,className:Kv(`lucide-${mE(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.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 vo=de("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
66 * @license lucide-react v0.462.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 vE=de("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
71 * @license lucide-react v0.462.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 Bp=de("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
76 * @license lucide-react v0.462.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 xE=de("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const Gv=de("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const Sf=de("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const wE=de("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const Zs=de("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Tl=de("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const bE=de("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const SE=de("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const CE=de("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const EE=de("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const Cf=de("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const TE=de("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const Js=de("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const PE=de("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const kE=de("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const NE=de("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const jE=de("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const RE=de("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const Yv=de("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const zc=de("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 6,283 bytes, lines 175-180
175],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const AE=de("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Ef="-",ME=e=>{const t=DE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Ef);return a[0]===""&&a.length!==1&&a.shift(),Qv(a,t)||LE(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},Qv=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Qv(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(Ef);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},$p=/^\[(.+)\]$/,LE=e=>{if($p.test(e)){const t=$p.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},DE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return IE(Object.entries(e.classGroups),n).forEach(([s,o])=>{Bc(o,r,s,t)}),r},Bc=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Up(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(OE(i)){Bc(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Bc(o,Up(t,s),n,r)})})},Up=(e,t)=>{let n=e;return t.split(Ef).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},OE=e=>e.isThemeGetter,IE=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,VE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},Xv="!",FE=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,c=0,d;for(let b=0;b<a.length;b++){let g=a[b];if(u===0){if(g===i&&(r||a.slice(b,b+s)===t)){l.push(a.slice(c,b)),c=b+s;continue}if(g==="/"){d=b;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?a:a.substring(c),p=h.startsWith(Xv),w=p?h.substring(1):h,y=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:w,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},_E=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},zE=e=>({cache:VE(e.cacheSize),parseClassName:FE(e),...ME(e)}),BE=/\s+/,$E=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(BE);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let w=!!p,y=r(w?h.substring(0,p):h);if(!y){if(!w){a=u+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=u+(a.length>0?" "+a:a);continue}w=!1}const b=_E(c).join(":"),g=d?b+Xv:b,m=g+y;if(s.includes(m))continue;s.push(m);const v=i(y,w);for(let S=0;S<v.length;++S){const C=v[S];s.push(g+C)}a=u+(a.length>0?" "+a:a)}return a};function UE(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=qv(t))&&(r&&(r+=" "),r+=n);return r}const qv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=qv(e[r]))&&(n&&(n+=" "),n+=t);return n};function WE(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((c,d)=>d(c),e());return n=zE(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=$E(l,n);return i(l,c),c}return function(){return s(UE.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Zv=/^\[(?:([a-z-]+):)?(.+)\]$/i,HE=/^\d+\/\d+$/,KE=new Set(["px","full","screen"]),GE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,YE=/\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$/,QE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,XE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,an=e=>bi(e)||KE.has(e)||HE.test(e),Rn=e=>Gi(e,"length",sT),bi=e=>!!e&&!Number.isNaN(Number(e)),Cu=e=>Gi(e,"number",bi),cs=e=>!!e&&Number.isInteger(Number(e)),ZE=e=>e.endsWith("%")&&bi(e.slice(0,-1)),G=e=>Zv.test(e),An=e=>GE.test(e),JE=new Set(["length","size","percentage"]),eT=e=>Gi(e,JE,Jv),tT=e=>Gi(e,"position",Jv),nT=new Set(["image","url"]),rT=e=>Gi(e,nT,aT),iT=e=>Gi(e,"",oT),ds=()=>!0,Gi=(e,t,n)=>{const r=Zv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},sT=e=>YE.test(e)&&!QE.test(e),Jv=()=>!1,oT=e=>XE.test(e),aT=e=>qE.test(e),lT=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),i=oe("borderColor"),s=oe("borderRadius"),o=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),d=oe("invert"),h=oe("gap"),p=oe("gradientColorStops"),w=oe("gradientColorStopPositions"),y=oe("inset"),b=oe("margin"),g=oe("opacity"),m=oe("padding"),v=oe("saturate"),S=oe("scale"),C=oe("sepia"),E=oe("skew"),T=oe("space"),P=oe("translate"),R=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",G,t],V=()=>[G,t],Y=()=>["",an,Rn],O=()=>["auto",bi,G],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["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"],k=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",G],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[bi,G];return{cacheSize:500,separator:":",theme:{colors:[ds],spacing:[an,Rn],blur:["none","",An,G],brightness:W(),borderColor:[e],borderRadius:["n
180one","","full",An,G],borderSpacing:V(),borderWidth:Y(),contrast:W(),grayscale:j(),hueRotate:W(),invert:j(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[ZE,Rn],inset:B(),margin:B(),opacity:W(),padding:V(),saturate:W(),scale:W(),sepia:j(),skew:W(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[An]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"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(),G]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",cs,G]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",cs,G]}],"grid-cols":[{"grid-cols":[ds]}],"col-start-end":[{col:["auto",{span:["full",cs,G]},G]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[ds]}],"row-start-end":[{row:["auto",{span:[cs,G]},G]}],"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",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"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:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[An]},An]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",An,Rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Cu]}],"font-family":[{font:[ds]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",G]}],"line-clamp":[{"line-clamp":["none",bi,Cu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",an,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",an,Rn]}],"underline-offset":[{"underline-offset":["auto",an,G]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",G]}],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",G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),tT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
vendor: 5,172 bytes, line 180
180],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"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":[g]}],"border-style":[{border:[...U(),"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":[g]}],"divide-style":[{divide:U()}],"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:["",...U()]}],"outline-offset":[{"outline-offset":[an,G]}],"outline-w":[{outline:[an,Rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[an,Rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",An,iT]}],"shadow-color":[{shadow:[ds]}],opacity:[{opacity:[g]}],"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",An,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"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":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",G]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[cs,G]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",G]}],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",G]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 180
180],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[an,Rn,Cu]}],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"]}}},uT=WE(lT);function hr(...e){return uT(Wv(e))}const cT=pE,ex=x.forwardRef(({className:e,...t},n)=>f.jsx(Vv,{ref:n,className:hr("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}));ex.displayName=Vv.displayName;const dT=Hv("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"}}),tx=x.forwardRef(({className:e,variant:t,...n},r)=>f.jsx(Fv,{ref:r,className:hr(dT({variant:t}),e),...n}));tx.displayName=Fv.displayName;const fT=x.forwardRef(({className:e,...t},n)=>f.jsx(Bv,{ref:n,className:hr("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));fT.displayName=Bv.displayName;const nx=x.forwardRef(({className:e,...t},n)=>f.jsx($v,{ref:n,className:hr("absolute right-2 top-2 rounded-md p-1 text-foreground
180/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:f.jsx(zc,{className:"h-4 w-4"})}));nx.displayName=$v.displayName;const rx=x.forwardRef(({className:e,...t},n)=>f.jsx(_v,{ref:n,className:hr("text-sm font-semibold",e),...t}));rx.displayName=_v.displayName;const ix=x.forwardRef(({className:e,...t},n)=>f.jsx(zv,{ref:n,className:hr("text-sm opacity-90",e),...t}));ix.displayName=zv.displayName;function hT(){const{toasts:e}=bC();return f.jsxs(cT,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return f.jsxs(tx,{...s,children:[f.jsxs("div",{className:"grid gap-1",children:[n&&f.jsx(rx,{children:n}),r&&f.jsx(ix,{children:r})]}),i,f.jsx(nx,{})]},t)}),f.jsx(ex,{})]})}var Wp=["light","dark"],pT="(prefers-color-scheme: dark)",mT=x.createContext(void 0),gT={setTheme:e=>{},themes:[]},yT=()=>{var e;return(e=x.useContext(mT))!=null?e:gT};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let u=s==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?Wp.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(w,y=!1,b=!0)=>{let g=o?o[w]:w,m=y?w+"|| ''":`'${g}'`,v="";return i&&b&&!y&&Wp.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},p=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${pT}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${d}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var vT=e=>{switch(e){case"success":return bT;case"info":return CT;case"warning":return ST;case"error":return ET;default:return null}},xT=Array(12).fill(0),wT=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},xT.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),bT=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),ST=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.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"})),CT=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),ET=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),TT=L.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"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),PT=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};
180return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},$c=1,kT=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:$c++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(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)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
180this.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,s,o=r.then(async l=>{if(s=["resolve",l],L.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(jT(l)&&!l.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>o.then(()=>s[0]==="reject"?u(s[1]):l(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||$c++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Qe=new kT,NT=(e,t)=>{let n=(t==null?void 0:t.id)||$c++;return Qe.addToast({title:e,...t,id:n}),n},jT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",RT=NT,AT=()=>Qe.toasts,MT=()=>Qe.getActiveToasts();Object.assign(RT,{success:Qe.success,info:Qe.info,warning:Qe.warning,error:Qe.error,custom:Qe.custom,message:Qe.message,promise:Qe.promise,dismiss:Qe.dismiss,loading:Qe.loading},{getHistory:AT,getToasts:MT});function LT(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))}LT(`: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;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-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;
180left: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;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}[data-sonner-toast] [data-close-button]{background:var(--gray1)}: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:-50%;right:-50%;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}
180: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-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);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-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--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%);
180--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[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%)}
181`);function Go(e){return e.label!==void 0}var DT=3,OT="32px",IT="16px",Hp=4e3,VT=356,FT=14,_T=20,zT=200;function kt(...e){return e.filter(Boolean).join(" ")}function BT(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var $T=e=>{var t,n,r,i,s,o,a,l,u,c,d;let{invert:h,toast:p,unstyled:w,interacting:y,setHeights:b,visibleToasts:g,heights:m,index:v,toasts:S,expanded:C,removeToast:E,defaultRichColors:T,closeButton:P,style:R,cancelButtonStyle:A,actionButtonStyle:B,className:V="",descriptionClassName:Y="",duration:O,position:Q,gap:U,loadingIcon:z,expandByDefault:k,classNames:j,icons:I,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:$}=e,[X,Z]=L.useState(null),[we,Le]=L.useState(null),[te,Wr]=L.useState(!1),[Cn,mr]=L.useState(!1),[En,Hr]=L.useState(!1),[Tn,Eo]=L.useState(!1),[Ul,To]=L.useState(!1),[Wl,es]=L.useState(0),[Kr,vh]=L.useState(0),ts=L.useRef(p.duration||O||Hp),xh=L.useRef(null),gr=L.useRef(null),O1=v===0,I1=v+1<=g,ft=p.type,Gr=p.dismissible!==!1,V1=p.className||"",F1=p.descriptionClassName||"",Po=L.useMemo(()=>m.findIndex(H=>H.toastId===p.id)||0,[m,p.id]),_1=L.useMemo(()=>{var H;return(H=p.closeButton)!=null?H:P},[p.closeButton,P]),wh=L.useMemo(()=>p.duration||O||Hp,[p.duration,O]),Hl=L.useRef(0),Yr=L.useRef(0),bh=L.useRef(0),Qr=L.useRef(null),[z1,B1]=Q.split("-"),Sh=L.useMemo(()=>m.reduce((H,ie,ue)=>ue>=Po?H:H+ie.height,0),[m,Po]),Ch=PT(),$1=p.invert||h,Kl=ft==="loading";Yr.current=L.useMemo(()=>Po*U+Sh,[Po,Sh]),L.useEffect(()=>{ts.current=wh},[wh]),L.useEffect(()=>{Wr(!0)},[]),L.useEffect(()=>{let H=gr.current;if(H){let ie=H.getBoundingClientRect().height;return vh(ie),b(ue=>[{toastId:p.id,height:ie,position:p.position},...ue]),()=>b(ue=>ue.filter(Ct=>Ct.toastId!==p.id))}},[b,p.id]),L.useLayoutEffect(()=>{if(!te)return;let H=gr.current,ie=H.style.height;H.style.height="auto";let ue=H.getBoundingClientRect().height;H.style.height=ie,vh(ue),b(Ct=>Ct.find(Et=>Et.toastId===p.id)?Ct.map(Et=>Et.toastId===p.id?{...Et,height:ue}:Et):[{toastId:p.id,height:ue,position:p.position},...Ct])},[te,p.title,p.description,b,p.id]);let Pn=L.useCallback(()=>{mr(!0),es(Yr.current),b(H=>H.filter(ie=>ie.toastId!==p.id)),setTimeout(()=>{E(p)},zT)},[p,E,b,Yr]);L.useEffect(()=>{if(p.promise&&ft==="loading"||p.duration===1/0||p.type==="loading")return;let H;return C||y||$&&Ch?(()=>{if(bh.current<Hl.current){let ie=new Date().getTime()-Hl.current;ts.current=ts.current-ie}
181bh.current=new Date().getTime()})():ts.current!==1/0&&(Hl.current=new Date().getTime(),H=setTimeout(()=>{var ie;(ie=p.onAutoClose)==null||ie.call(p,p),Pn()},ts.current)),()=>clearTimeout(H)},[C,y,p,ft,$,Ch,Pn]),L.useEffect(()=>{p.delete&&Pn()},[Pn,p.delete]);function U1(){var H,ie,ue;return I!=null&&I.loading?L.createElement("div",{className:kt(j==null?void 0:j.loader,(H=p==null?void 0:p.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":ft==="loading"},I.loading):z?L.createElement("div",{className:kt(j==null?void 0:j.loader,(ie=p==null?void 0:p.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":ft==="loading"},z):L.createElement(wT,{className:kt(j==null?void 0:j.loader,(ue=p==null?void 0:p.classNames)==null?void 0:ue.loader),visible:ft==="loading"})}return L.createElement("li",{tabIndex:0,ref:gr,className:kt(V,V1,j==null?void 0:j.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,j==null?void 0:j.default,j==null?void 0:j[ft],(n=p==null?void 0:p.classNames)==null?void 0:n[ft]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||w),"data-mounted":te,"data-promise":!!p.promise,"data-swiped":Ul,"data-removed":Cn,"data-visible":I1,"data-y-position":z1,"data-x-position":B1,"data-index":v,"data-front":O1,"data-swiping":En,"data-dismissible":Gr,"data-type":ft,"data-invert":$1,"data-swipe-out":Tn,"data-swipe-direction":we,"data-expanded":!!(C||k&&te),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${Cn?Wl:Yr.current}px`,"--initial-height":k?"auto":`${Kr}px`,...R,...p.style},onDragEnd:()=>{Hr(!1),Z(null),Qr.current=null},onPointerDown:H=>{Kl||!Gr||(xh.current=new Date,es(Yr.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(Hr(!0),Qr.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,ie,ue,Ct;if(Tn||!Gr)return;Qr.current=null;let Et=Number(((H=gr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kn=Number(((ie=gr.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),yr=new Date().getTime()-((ue=xh.current)==null?void 0:ue.getTime()),Tt=X==="x"?Et:kn,Nn=Math.abs(Tt)/yr;if(Math.abs(Tt)>=_T||Nn>.11){es(Yr.current),(Ct=p.onDismiss)==null||Ct.call(p,p),Le(X==="x"?Et>0?"right":"left":kn>0?"down":"up"),Pn(),Eo(!0),To(!1);return}Hr(!1),Z(null)},onPointerMove:H=>{var ie,ue,Ct,Et;if(!Qr.current||!Gr||((ie=window.getSelection())==null?void 0:ie.toString().length)>0)return;let kn=H.clientY-Qr.current.y,yr=H.clientX-Qr.current.x,Tt=(ue=e.swipeDirections)!=null?ue:BT(Q);!X&&(Math.abs(yr)>1||Math.abs(kn)>1)&&Z(Math.abs(yr)>Math.abs(kn)?"x":"y");let Nn={x:0,y:0};X==="y"?(Tt.includes("top")||Tt.includes("bottom"))&&(Tt.includes("top")&&kn<0||Tt.includes("bottom")&&kn>0)&&(Nn.y=kn):X==="x"&&(Tt.includes("left")||Tt.includes("right"))&&(Tt.includes("left")&&yr<0||Tt.includes("right")&&yr>0)&&(Nn.x=yr),(Math.abs(Nn.x)>0||Math.abs(Nn.y)>0)&&To(!0),(Ct=gr.current)==null||Ct.style.setProperty("--swipe-amount-x",`${Nn.x}px`),(Et=gr.current)==null||Et.style.setProperty("--swipe-amount-y",`${Nn.y}px`)}},_1&&!p.jsx?L.createElement("button",{"aria-label":W,"data-disabled":Kl,"data-close-button":!0,onClick:Kl||!Gr?()=>{}:()=>{var H;Pn(),(H=p.onDismiss)==null||H.call(p,p)},className:kt(j==null?void 0:j.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=I==null?void 0:I.close)!=null?s:TT):null,p.jsx||x.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:L.createElement(L.Fragment,null,ft||p.icon||p.promise?L.createElement("div",{"data-icon":"",className:kt(j==null?void 0:j.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||U1():null,p.type!=="loading"?p.icon||(I==null?void 0:I[ft])||vT(ft):null):null,L.createElement("div",{"data-content":"",className:kt(j==null?void 0:j.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:kt(j==null?void 0:j.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?L.createElement("div",{"data-description":"",className:kt(Y,F1,j==null?void 0:j.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),x.isValidElement(p.cancel)?p.cancel:p.cancel&&Go(p.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||A,onClick:H=>{var ie,ue;Go(p.cancel)&&Gr&&((ue=(ie=p.cancel).onClick)==null||ue.call(ie,H),Pn())},className:kt(j==null?void 0:j.cancelButton,(c=p==null?void 0:p.classNames)==null?void 0:c.cancelButton)},p.cancel.label):null,x.isValidElement(p.action)?p.action:p.action&&Go(p.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||B,onClick:H=>{var ie,ue;Go(p.action)&&((ue=(ie=p.action).onClick)==null||ue.call(ie,H),!H.defaultPrevented&&Pn())},className:kt(j==null?void 0:j.actionButton,(d=p==null?void 0:p.classNames)==null?void 0:d.actionButton)},p.action.label):null))};function Kp(){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}function UT(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?IT:OT;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${o}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var WT=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:h,style:p,visibleToasts:w=DT,toastOptions:y,dir:b=Kp(),gap:g=FT,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,T]=L.useState([]),P=L.useMemo(()=>Array.from(new Set([r].concat(E.filter($=>$.position).map($=>$.position)))),[E,r]),[R,A]=L.useState([]),[B,V]=L.useState(!1),[Y,O]=L.useState(!1),[Q,U]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
181k":"light"),z=L.useRef(null),k=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=L.useRef(null),I=L.useRef(!1),W=L.useCallback($=>{T(X=>{var Z;return(Z=X.find(we=>we.id===$.id))!=null&&Z.delete||Qe.dismiss($.id),X.filter(({id:we})=>we!==$.id)})},[]);return L.useEffect(()=>Qe.subscribe($=>{if($.dismiss){T(X=>X.map(Z=>Z.id===$.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{mv.flushSync(()=>{T(X=>{let Z=X.findIndex(we=>we.id===$.id);return Z!==-1?[...X.slice(0,Z),{...X[Z],...$},...X.slice(Z+1)]:[$,...X]})})})}),[]),L.useEffect(()=>{if(c!=="system"){U(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:X})=>{U(X?"dark":"light")})}catch{$.addListener(({matches:Z})=>{try{U(Z?"dark":"light")}catch(we){console.error(we)}})}},[c]),L.useEffect(()=>{E.length<=1&&V(!1)},[E]),L.useEffect(()=>{let $=X=>{var Z,we;i.every(Le=>X[Le]||X.code===Le)&&(V(!0),(Z=z.current)==null||Z.focus()),X.code==="Escape"&&(document.activeElement===z.current||(we=z.current)!=null&&we.contains(document.activeElement))&&V(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[i]),L.useEffect(()=>{if(z.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,I.current=!1)}},[z.current]),L.createElement("section",{ref:t,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map(($,X)=>{var Z;let[we,Le]=$.split("-");return E.length?L.createElement("ol",{key:$,dir:b==="auto"?Kp():b,tabIndex:-1,ref:z,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":we,"data-lifted":B&&E.length>1&&!s,"data-x-position":Le,style:{"--front-toast-height":`${((Z=R[0])==null?void 0:Z.height)||0}px`,"--width":`${VT}px`,"--gap":`${g}px`,...p,...UT(l,u)},onBlur:te=>{I.current&&!te.currentTarget.contains(te.relatedTarget)&&(I.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||I.current||(I.current=!0,j.current=te.relatedTarget)},onMouseEnter:()=>V(!0),onMouseMove:()=>V(!0),onMouseLeave:()=>{Y||V(!1)},onDragEnd:()=>V(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},E.filter(te=>!te.position&&X===0||te.position===$).map((te,Wr)=>{var Cn,mr;return L.createElement($T,{key:te.id,icons:v,index:Wr,toast:te,defaultRichColors:d,duration:(Cn=y==null?void 0:y.duration)!=null?Cn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:w,closeButton:(mr=y==null?void 0:y.closeButton)!=null?mr:o,interacting:Y,position:$,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:W,toasts:E.filter(En=>En.position==te.position),heights:R.filter(En=>En.position==te.position),setHeights:A,expandByDefault:s,gap:g,loadingIcon:m,expanded:B,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const HT=({...e})=>{const{theme:t="system"}=yT();return f.jsx(WT,{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})},KT=["top","right","bottom","left"],or=Math.min,st=Math.max,Ga=Math.round,Yo=Math.floor,en=e=>({x:e,y:e}),GT={left:"right",right:"left",bottom:"top",top:"bottom"},YT={start:"end",end:"start"};function Uc(e,t,n){return st(e,or(t,n))}function xn(e,t){return typeof e=="function"?e(t):e}function wn(e){return e.split("-")[0]}function Yi(e){return e.split("-")[1]}function Tf(e){return e==="x"?"y":"x"}function Pf(e){return e==="y"?"height":"width"}const QT=new Set(["top","bottom"]);function qt(e){return QT.has(wn(e))?"y":"x"}function kf(e){return Tf(qt(e))}function XT(e,t,n){n===void 0&&(n=!1);const r=Yi(e),i=kf(e),s=Pf(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Ya(o)),[o,Ya(o)]}function qT(e){const t=Ya(e);return[Wc(e),t,Wc(t)]}function Wc(e){return e.replace(/start|end/g,t=>YT[t])}const Gp=["left","right"],Yp=["right","left"],ZT=["top","bottom"],JT=["bottom","top"];function e2(e,t,n){switch(e){case"top":case"bottom":return n?t?Yp:Gp:t?Gp:Yp;case"left":case"right":return t?ZT:JT;default:return[]}}function t2(e,t,n,r){const i=Yi(e);let s=e2(wn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Wc)))),s}function Ya(e){return e.replace(/left|right|bottom|top/g,t=>GT[t])}function n2(e){return{top:0,right:0,bottom:0,left:0,...e}}function sx(e){return typeof e!="number"?n2(e):{top:e,right:e,bottom:e,left:e}}function Qa(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}}function Qp(e,t,n){let{reference:r,floating:i}=e;const s=qt(t),o=kf(t),a=Pf(o),l=wn(t),u=s==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-i.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Yi(t)){case"start":p[o]-=h*(n&&u?-1:1);break;case"end":p[o]+=h*(n&&u?-1:1);break}return p}const r2=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}
vendor: 9,299 bytes, line 181
181=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=Qp(u,r,l),h=r,p={},w=0;for(let y=0;y<a.length;y++){const{name:b,fn:g}=a[y],{x:m,y:v,data:S,reset:C}=await g({x:c,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});c=m??c,d=v??d,p={...p,[b]:{...p[b],...S}},C&&w<=50&&(w++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(u=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:c,y:d}=Qp(u,h,l)),y=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:p}};async function eo(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=xn(t,e),w=sx(p),b=a[h?d==="floating"?"reference":"floating":d],g=Qa(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Qa(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(g.top-C.top+w.top)/S.y,bottom:(C.bottom-g.bottom+w.bottom)/S.y,left:(g.left-C.left+w.left)/S.x,right:(C.right-g.right+w.right)/S.x}}const i2=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=xn(e,t)||{};if(u==null)return{};const d=sx(c),h={x:n,y:r},p=kf(i),w=Pf(p),y=await o.getDimensions(u),b=p==="y",g=b?"top":"left",m=b?"bottom":"right",v=b?"clientHeight":"clientWidth",S=s.reference[w]+s.reference[p]-h[p]-s.floating[w],C=h[p]-s.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=E?E[v]:0;(!T||!await(o.isElement==null?void 0:o.isElement(E)))&&(T=a.floating[v]||s.floating[w]);const P=S/2-C/2,R=T/2-y[w]/2-1,A=or(d[g],R),B=or(d[m],R),V=A,Y=T-y[w]-B,O=T/2-y[w]/2+P,Q=Uc(V,O,Y),U=!l.arrow&&Yi(i)!=null&&O!==Q&&s.reference[w]/2-(O<V?A:B)-y[w]/2<0,z=U?O<V?O-V:O-Y:0;return{[p]:h[p]+z,data:{[p]:Q,centerOffset:O-Q-z,...U&&{alignmentOffset:z}},reset:U}}}),s2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:y=!0,...b}=xn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=wn(i),m=qt(a),v=wn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=h||(v||!y?[Ya(a)]:qT(a)),E=w!=="none";!h&&E&&C.push(...t2(a,y,w,S));const T=[a,...C],P=await eo(t,b),R=[];let A=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&R.push(P[g]),d){const O=XT(i,o,S);R.push(P[O[0]],P[O[1]])}if(A=[...A,{placement:i,overflows:R}],!R.every(O=>O<=0)){var B,V;const O=(((B=s.flip)==null?void 0:B.index)||0)+1,Q=T[O];if(Q&&(!(d==="alignment"?m!==qt(Q):!1)||A.every(k=>k.overflows[0]>0&&qt(k.placement)===m)))return{data:{index:O,overflows:A},reset:{placement:Q}};let U=(V=A.filter(z=>z.overflows[0]<=0).sort((z,k)=>z.overflows[1]-k.overflows[1])[0])==null?void 0:V.placement;if(!U)switch(p){case"bestFit":{var Y;const z=(Y=A.filter(k=>{if(E){const j=qt(k.placement);return j===m||j==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(j=>j>0).reduce((j,I)=>j+I,0)]).sort((k,j)=>k[1]-j[1])[0])==null?void 0:Y[0];z&&(U=z);break}case"initialPlacement":U=a;break}if(i!==U)return{reset:{placement:U}}}return{}}}};function Xp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qp(e){return KT.some(t=>e[t]>=0)}const o2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=xn(e,t);switch(r){case"referenceHidden":{const s=await eo(t,{...i,elementContext:"reference"}),o=Xp(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:qp(o)}}}case"escaped":{const s=await eo(t,{...i,altBoundary:!0}),o=Xp(s,n.floating);return{data:{escapedOffsets:o,escaped:qp(o)}}}default:return{}}}}},ox=new Set(["left","top"]);async function a2(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=wn(n),a=Yi(n),l=qt(n)==="y",u=ox.has(o)?-1:1,c=s&&l?-1:1,d=xn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof w=="number"&&(p=a==="end"?w*-1:w),l?{x:p*c,y:h*u}:{x:h*u,y:p*c}}const l2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await a2(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},u2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:b=>{let{x:g,y:m}=b;return{x:g,y:m}}},...l}=xn(e,t),u={x:n,y:r},c=await eo(t,l),d=qt(wn(i)),h=Tf(d);let p=u[h],w=u[d];if(s){const b=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+c[b],v=p-c[g];p=Uc(m,p,v)}if(o){const b=d==="y"?"top":"left",g=d==="y"?"bottom":"right",m=w+c[b],v=w-c[g];w=Uc(m,w,v)}const y=a.fn({...t,[h]:p,[d]:w});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[d]:o}}}}}},c2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=xn(e,t),c={x:n,y:r},d=qt(i),h=Tf(d);let p=c[h],w=c[d];const y=xn(a,t),b=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=h==="y"?"height":"width",S=s.reference[h]-s.floating[v]+b.mainAxis,C=s.reference[h]+s.reference[v]-b.mainAxis;p<S?p=S:p>C&&(p=C)}if(u){var g,m;const v=h==="y"?"width":"height",S=ox.has(wn(i)),C=s.reference[d]-s.floating[v]+(S&&((g=o.offset)==null?void 0:g[d])||0)+(S?0:b.crossAxis),E=s.reference[d]+s.reference[v]+(S?0:((m=o.offset)==null?void 0:m[d])||0)-(S?b.crossAxis:0);w<C?w=C:w>E&&(w=E)}return{[h]:p,[d]:w}}}},d2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=xn(e,t),c=await eo(t,u),d=wn(i),h=Yi(i),p=qt(i)==="y",{width:w,height:y}=s.floating;let b,g;d==="top"||d==="bottom"?(b=d,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=d,b=h==="end"?"top":"bottom");const m=y-c.top-c.bottom,v=w-c.left-c.right,S=or(y-c[b],m),C=or(w-c[g],v),E=!t.middlewareData.shift;let T=S,P=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=m),E&&!h){const A=st(c.left,0),B=st(c.right,0),V=st(c.top,0),Y=st(c.bottom,0);p?P=w-2*(A!==0||B!==0?A+B:st(c.left,c.right)):T=y-2*(V!==0||Y!==0?V+Y:st(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:T});const R=await o.getDimensions(a.floating);return w!==R.width||y!==R.height?{reset:{rects:!0}}:{}}}};function Pl(){return typeof window<"u"}function Qi(e){return ax(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sn(e){var t;return(t=(ax(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ax(e){return Pl()?e instanceof Node||e instanceof lt(e).Node:!1}function Bt(e){return Pl()?e instanceof Element||e instanceof lt(e).Element:!1}function rn(e){return Pl()?e instanceof HTMLElement||e instanceof lt(e).HTMLElement:!1}function Zp(e){return!Pl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot}const f2=new Set(["inline","contents"]);function xo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=$t(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!f2.has(i)}const h2=new Set(["table","td","th"]);function p2(e){return h2.has(Qi(e))}const m2=[":popover-open",":modal"];function kl(e){return m2.some(t=>{try{return e.matches(t)}catch{return!1}})}const g2=["transform","translate","scale","rotate","perspective"],y2=["transform","translate","scale","rotate","perspective","filter"],v2=["paint","layout","strict","content"];function Nf(e){const t=jf(),n=Bt(e)?$t(e):e;return g2.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||y2.some(r=>(n.willChange||"").includes(r))||v2.some(r=>(n.contain||"").includes(r))}function x2(e){let t=ar(e);for(;rn(t)&&!zi(t);){if(Nf(t))return t;if(kl(t))return null;t=ar(t)}return null}function jf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}
vendor: 4,494 bytes, line 181
181const w2=new Set(["html","body","#document"]);function zi(e){return w2.has(Qi(e))}function $t(e){return lt(e).getComputedStyle(e)}function Nl(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Qi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zp(e)&&e.host||sn(e);return Zp(t)?t.host:t}function lx(e){const t=ar(e);return zi(t)?e.ownerDocument?e.ownerDocument.body:e.body:rn(t)&&xo(t)?t:lx(t)}function to(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=lx(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=lt(i);if(s){const a=Hc(o);return t.concat(o,o.visualViewport||[],xo(i)?i:[],a&&n?to(a):[])}return t.concat(i,to(i,[],n))}function Hc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ux(e){const t=$t(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=rn(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Ga(n)!==s||Ga(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Rf(e){return Bt(e)?e:e.contextElement}function Si(e){const t=Rf(e);if(!rn(t))return en(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=ux(t);let o=(s?Ga(n.width):n.width)/r,a=(s?Ga(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const b2=en(0);function cx(e){const t=lt(e);return!jf()||!t.visualViewport?b2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function S2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==lt(e)?!1:t}function Br(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=Rf(e);let o=en(1);t&&(r?Bt(r)&&(o=Si(r)):o=Si(e));const a=S2(s,n,r)?cx(s):en(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,d=i.height/o.y;if(s){const h=lt(s),p=r&&Bt(r)?lt(r):r;let w=h,y=Hc(w);for(;y&&r&&p!==w;){const b=Si(y),g=y.getBoundingClientRect(),m=$t(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*b.x,S=g.top+(y.clientTop+parseFloat(m.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,d*=b.y,l+=v,u+=S,w=lt(y),y=Hc(w)}}return Qa({width:c,height:d,x:l,y:u})}function Af(e,t){const n=Nl(e).scrollLeft;return t?t.left+n:Br(sn(e)).left+n}function dx(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Af(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function C2(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=sn(r),a=t?kl(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=en(1);const c=en(0),d=rn(r);if((d||!d&&!s)&&((Qi(r)!=="body"||xo(o))&&(l=Nl(r)),rn(r))){const p=Br(r);u=Si(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}const h=o&&!d&&!s?dx(o,l,!0):en(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:n.y*u.y-l.scrollTop*u.y+c.y+h.y}}function E2(e){return Array.from(e.getClientRects())}function T2(e){const t=sn(e),n=Nl(e),r=e.ownerDocument.body,i=st(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=st(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Af(e);const a=-n.scrollTop;return $t(r).direction==="rtl"&&(o+=st(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function P2(e,t){const n=lt(e),r=sn(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=jf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}const k2=new Set(["absolute","fixed"]);function N2(e,t){const n=Br(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=rn(e)?Si(e):en(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function Jp(e,t,n){let r;if(t==="viewport")r=P2(e,n);else if(t==="document")r=T2(sn(e));else if(Bt(t))r=N2(t,n);else{const i=cx(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Qa(r)}function fx(e,t){const n=ar(e);return n===t||!Bt(n)||zi(n)?!1:$t(n).position==="fixed"||fx(n,t)}function j2(e,t){const n=t.get(e);if(n)return n;let r=to(e,[],!1).filter(a=>Bt(a)&&Qi(a)!=="body"),i=null;const s=$t(e).position==="fixed";let o=s?ar(e):e;for(;Bt(o)&&!zi(o);){const a=$t(o),l=Nf(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&k2.has(i.position)||xo(o)&&!l&&fx(e,o))?r=r.filter(c=>c!==o):i=a,o=ar(o)}return t.set(e,r),r}function R2(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?kl(t)?[]:j2(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,c)=>{const d=Jp(t,c,i);
vendor: 8,544 bytes, line 181
181return u.top=st(d.top,u.top),u.right=or(d.right,u.right),u.bottom=or(d.bottom,u.bottom),u.left=st(d.left,u.left),u},Jp(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function A2(e){const{width:t,height:n}=ux(e);return{width:t,height:n}}function M2(e,t,n){const r=rn(t),i=sn(t),s=n==="fixed",o=Br(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=en(0);function u(){l.x=Af(i)}if(r||!r&&!s)if((Qi(t)!=="body"||xo(i))&&(a=Nl(t)),r){const p=Br(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&u();s&&!r&&i&&u();const c=i&&!r&&!s?dx(i,a):en(0),d=o.left+a.scrollLeft-l.x-c.x,h=o.top+a.scrollTop-l.y-c.y;return{x:d,y:h,width:o.width,height:o.height}}function Eu(e){return $t(e).position==="static"}function em(e,t){if(!rn(e)||$t(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return sn(e)===n&&(n=n.ownerDocument.body),n}function hx(e,t){const n=lt(e);if(kl(e))return n;if(!rn(e)){let i=ar(e);for(;i&&!zi(i);){if(Bt(i)&&!Eu(i))return i;i=ar(i)}return n}let r=em(e,t);for(;r&&p2(r)&&Eu(r);)r=em(r,t);return r&&zi(r)&&Eu(r)&&!Nf(r)?n:r||x2(e)||n}const L2=async function(e){const t=this.getOffsetParent||hx,n=this.getDimensions,r=await n(e.floating);return{reference:M2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function D2(e){return $t(e).direction==="rtl"}const O2={convertOffsetParentRelativeRectToViewportRelativeRect:C2,getDocumentElement:sn,getClippingRect:R2,getOffsetParent:hx,getElementRects:L2,getClientRects:E2,getDimensions:A2,getScale:Si,isElement:Bt,isRTL:D2};function px(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function I2(e,t){let n=null,r;const i=sn(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:c,top:d,width:h,height:p}=u;if(a||t(),!h||!p)return;const w=Yo(d),y=Yo(i.clientWidth-(c+h)),b=Yo(i.clientHeight-(d+p)),g=Yo(c),v={rootMargin:-w+"px "+-y+"px "+-b+"px "+-g+"px",threshold:st(0,or(1,l))||1};let S=!0;function C(E){const T=E[0].intersectionRatio;if(T!==l){if(!S)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!px(u,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(C,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(e)}return o(!0),s}function V2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Rf(e),c=i||s?[...u?to(u):[],...to(t)]:[];c.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const d=u&&a?I2(u,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let w,y=l?Br(e):null;l&&b();function b(){const g=Br(e);y&&!px(y,g)&&n(),y=g,w=requestAnimationFrame(b)}return n(),()=>{var g;c.forEach(m=>{i&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),d==null||d(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(w)}}const F2=l2,_2=u2,z2=s2,B2=d2,$2=o2,tm=i2,U2=c2,W2=(e,t,n)=>{const r=new Map,i={platform:O2,...n},s={...i.platform,_c:r};return r2(e,t,{...i,platform:s})};var H2=typeof document<"u",K2=function(){},ma=H2?x.useLayoutEffect:K2;function Xa(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(!Xa(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 s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Xa(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function mx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nm(e,t){const n=mx(e);return Math.round(t*n)/n}function Tu(e){const t=x.useRef(e);return ma(()=>{t.current=e}),t}function G2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=x.useState(r);Xa(h,r)||p(r);const[w,y]=x.useState(null),[b,g]=x.useState(null),m=x.useCallback(k=>{k!==E.current&&(E.current=k,y(k))},[]),v=x.useCallback(k=>{k!==T.current&&(T.current=k,g(k))},[]),S=s||w,C=o||b,E=x.useRef(null),T=x.useRef(null),P=x.useRef(c),R=l!=null,A=Tu(l),B=Tu(i),V=Tu(u),Y=x.useCallback(()=>{if(!E.current||!T.current)return;const k={placement:t,strategy:n,middleware:h};B.current&&(k.platform=B.current),W2(E.current,T.current,k).then(j=>{const I={...j,isPositioned:V.current!==!1};O.current&&!Xa(P.current,I)&&(P.current=I,go.flushSync(()=>{d(I)}))})},[h,t,n,B,V]);ma(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const O=x.useRef(!1);ma(()=>(O.current=!0,()=>{O.current=!1}),[]),ma(()=>{if(S&&(E.current=S),C&&(T.current=C),S&&C){if(A.current)return A.current(S,C,Y);Y()}},[S,C,Y,A,R]);const Q=x.useMemo(()=>({reference:E,floating:T,setReference:m,setFloating:v}),[m,v]),U=x.useMemo(()=>({reference:S,floating:C}),[S,C]),z=x.useMemo(()=>{const k={position:n,left:0,top:0};if(!U.floating)return k;const j=nm(U.floating,c.x),I=nm(U.floating,c.y);return a?{...k,transform:"translate("+j+"px, "+I+"px)",...mx(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:I}},[n,a,U.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:Y,refs:Q,elements:U,floatingStyles:z}),[c,Y,Q,U,z])}const Y2=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?tm({element:r.current,padding:i}).fn(n):{}:r?tm({element:r,padding:i}).fn(n):{}}}},Q2=(e,t)=>({...F2(e),options:[e,t]}),X2=(e,t)=>({..._2(e),options:[e,t]}),q2=(e,t)=>({...U2(e),options:[e,t]}),Z2=(e,t)=>({...z2(e),options:[e,t]}),J2=(e,t)=>({...B2(e),options:[e,t]}),eP=(e,t)=>({...$2(e),options:[e,t]}),tP=(e,t)=>({...Y2(e),options:[e,t]});var nP="Arrow",gx=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return f.jsx(rt.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:f.jsx("polygon",{points:"0,0 30,0 15,10"})})});gx.displayName=nP;var rP=gx;function iP(e){const[t,n]=x.useState(void 0);return sr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var yx="Popper",[vx,xx]=Sl(yx),[BL,wx]=vx(yx),bx="PopperAnchor",Sx=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=wx(bx,n),o=x.useRef(null),a=zt(t,o);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:f.jsx(rt.div,{...i,ref:a})});Sx.displayName=bx;var Mf="PopperContent",[sP,oP]=vx(Mf),Cx=x.forwardRef((e,t)=>{var te,Wr,Cn,mr,En,Hr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:w,...y}=e,b=wx(Mf,n),[g,m]=x.useState(null),v=zt(t,Tn=>m(Tn)),[S,C]=x.useState(null),E=iP(S),T=(E==null?void 0:E.width)??0,P=(E==null?void 0:E.height)??0,R=r+(s!=="center"?"-"+s:""),A=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},B=Array.isArray(u)?u:[u],V=B.length>0,Y={padding:A,boundary:B.filter(lP),altBoundary:V},{refs:O,floatingStyles:Q,placement:U,isPositioned:z,middlewareData:k}=G2({strategy:"fixed",placement:R,whileElementsMounted:(...Tn)=>V2(...Tn,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[Q2({mainAxis:i+P,alignmentAxis:o}),l&&X2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?q2():void 0,...Y}),l&&Z2({...Y}),J2({...Y,apply:({elements:Tn,rects:Eo,availableWidth:Ul,availableHeight:To}
vendor: 9,024 bytes, line 181
181)=>{const{width:Wl,height:es}=Eo.reference,Kr=Tn.floating.style;Kr.setProperty("--radix-popper-available-width",`${Ul}px`),Kr.setProperty("--radix-popper-available-height",`${To}px`),Kr.setProperty("--radix-popper-anchor-width",`${Wl}px`),Kr.setProperty("--radix-popper-anchor-height",`${es}px`)}}),S&&tP({element:S,padding:a}),uP({arrowWidth:T,arrowHeight:P}),h&&eP({strategy:"referenceHidden",...Y})]}),[j,I]=Px(U),W=ir(w);sr(()=>{z&&(W==null||W())},[z,W]);const $=(te=k.arrow)==null?void 0:te.x,X=(Wr=k.arrow)==null?void 0:Wr.y,Z=((Cn=k.arrow)==null?void 0:Cn.centerOffset)!==0,[we,Le]=x.useState();return sr(()=>{g&&Le(window.getComputedStyle(g).zIndex)},[g]),f.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:z?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(mr=k.transformOrigin)==null?void 0:mr.x,(En=k.transformOrigin)==null?void 0:En.y].join(" "),...((Hr=k.hide)==null?void 0:Hr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:f.jsx(sP,{scope:n,placedSide:j,onArrowChange:C,arrowX:$,arrowY:X,shouldHideArrow:Z,children:f.jsx(rt.div,{"data-side":j,"data-align":I,...y,ref:v,style:{...y.style,animation:z?void 0:"none"}})})})});Cx.displayName=Mf;var Ex="PopperArrow",aP={top:"bottom",right:"left",bottom:"top",left:"right"},Tx=x.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=oP(Ex,r),o=aP[s.placedSide];return f.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:f.jsx(rP,{...i,ref:n,style:{...i.style,display:"block"}})})});Tx.displayName=Ex;function lP(e){return e!==null}var uP=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:i}=t,o=((b=i.arrow)==null?void 0:b.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,c]=Px(n),d={start:"0%",center:"50%",end:"100%"}[c],h=(((g=i.arrow)==null?void 0:g.x)??0)+a/2,p=(((m=i.arrow)==null?void 0:m.y)??0)+l/2;let w="",y="";return u==="bottom"?(w=o?d:`${h}px`,y=`${-l}px`):u==="top"?(w=o?d:`${h}px`,y=`${r.floating.height+l}px`):u==="right"?(w=`${-l}px`,y=o?d:`${p}px`):u==="left"&&(w=`${r.floating.width+l}px`,y=o?d:`${p}px`),{data:{x:w,y}}}});function Px(e){const[t,n="center"]=e.split("-");return[t,n]}var cP=Sx,dP=Cx,fP=Tx,[jl,$L]=Sl("Tooltip",[xx]),Lf=xx(),kx="TooltipProvider",hP=700,rm="tooltip.open",[pP,Nx]=jl(kx),jx=e=>{const{__scopeTooltip:t,delayDuration:n=hP,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=x.useRef(!0),a=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),f.jsx(pP,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};jx.displayName=kx;var Rx="Tooltip",[UL,Rl]=jl(Rx),Kc="TooltipTrigger",mP=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Rl(Kc,n),s=Nx(Kc,n),o=Lf(n),a=x.useRef(null),l=zt(t,a,i.onTriggerChange),u=x.useRef(!1),c=x.useRef(!1),d=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.jsx(cP,{asChild:!0,...o,children:f.jsx(rt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Te(e.onPointerMove,h=>{h.pointerType!=="touch"&&!c.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Te(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Te(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Te(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Te(e.onBlur,i.onClose),onClick:Te(e.onClick,i.onClose)})})});mP.displayName=Kc;var gP="TooltipPortal",[WL,yP]=jl(gP,{forceMount:void 0}),Bi="TooltipContent",Ax=x.forwardRef((e,t)=>{const n=yP(Bi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=Rl(Bi,e.__scopeTooltip);return f.jsx(vf,{present:r||o.open,children:o.disableHoverableContent?f.jsx(Mx,{side:i,...s,ref:t}):f.jsx(vP,{side:i,...s,ref:t})})}),vP=x.forwardRef((e,t)=>{const n=Rl(Bi,e.__scopeTooltip),r=Nx(Bi,e.__scopeTooltip),i=x.useRef(null),s=zt(t,i),[o,a]=x.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,h=x.useCallback(()=>{a(null),d(!1)},[d]),p=x.useCallback((w,y)=>{const b=w.currentTarget,g={x:w.clientX,y:w.clientY},m=CP(g,b.getBoundingClientRect()),v=EP(g,m),S=TP(y.getBoundingClientRect()),C=kP([...v,...S]);a(C),d(!0)},[d]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(l&&c){const w=b=>p(b,c),y=b=>p(b,l);return l.addEventListener("pointerleave",w),c.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",w),c.removeEventListener("pointerleave",y)}}},[l,c,p,h]),x.useEffect(()=>{if(o){const w=y=>{const b=y.target,g={x:y.clientX,y:y.clientY},m=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),v=!PP(g,o);m?h():v&&(h(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,c,o,u,h]),f.jsx(Mx,{...e,ref:s})}),[xP,wP]=jl(Rx,{isInside:!1}),bP=TC("TooltipContent"),Mx=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=Rl(Bi,n),u=Lf(n),{onClose:c}=l;return x.useEffect(()=>(document.addEventListener(rm,c),()=>document.removeEventListener(rm,c)),[c]),x.useEffect(()=>{if(l.trigger){const d=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),f.jsx(yf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:f.jsxs(dP,{"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:[f.jsx(bP,{children:r}),f.jsx(xP,{scope:n,isInside:!0,children:f.jsx(XC,{id:l.contentId,role:"tooltip",children:i||r})})]})})});Ax.displayName=Bi;var Lx="TooltipArrow",SP=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Lf(n);return wP(Lx,n).isInside?null:f.jsx(fP,{...i,...r,ref:t})});SP.displayName=Lx;function CP(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function EP(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 TP(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 PP(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],l=t[o],u=a.x,c=a.y,d=l.x,h=l.y;c>r!=h>r&&n<(d-u)*(r-c)/(h-c)+u&&(i=!i)}return i}function kP(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),NP(t)}function NP(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 s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.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 s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.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 jP=jx,Dx=Ax;const RP=jP,AP=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>f.jsx(Dx,{ref:r,sideOffset:t,className:hr("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]:sli
181de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));AP.displayName=Dx.displayName;var Al=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(){}},Ml=typeof window>"u"||"Deno"in globalThis;function At(){}function MP(e,t){return typeof e=="function"?e(t):e}function LP(e){return typeof e=="number"&&e>=0&&e!==1/0}function DP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Gc(e,t){return typeof e=="function"?e(t):e}function OP(e,t){return typeof e=="function"?e(t):e}function im(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Df(o,t.options))return!1}else if(!ro(t.queryKey,o))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||s&&!s(t))}function sm(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(no(t.options.mutationKey)!==no(s))return!1}else if(!ro(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Df(e,t){return((t==null?void 0:t.queryKeyHashFn)||no)(e)}function no(e){return JSON.stringify(e,(t,n)=>Yc(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function ro(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ro(e[n],t[n])):!1}function Ox(e,t){if(e===t)return e;const n=om(e)&&om(t);if(n||Yc(e)&&Yc(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<o;c++){const d=n?c:s[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=Ox(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function om(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Yc(e){if(!am(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!am(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function am(e){return Object.prototype.toString.call(e)==="[object Object]"}function IP(e){return new Promise(t=>{setTimeout(t,e)})}function VP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ox(e,t):t}function FP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function _P(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Of=Symbol();function Ix(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Of?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var kr,_n,Ti,Gg,zP=(Gg=class extends Al{constructor(){super();ee(this,kr);ee(this,_n);ee(this,Ti);K(this,Ti,t=>{if(!Ml&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,_n)||this.setEventListener(N(this,Ti))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,_n))==null||t.call(this),K(this,_n,void 0))}setEventListener(t){var n;K(this,Ti,t),(n=N(this,_n))==null||n.call(this),K(this,_n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,kr)!==t&&(K(this,kr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,kr)=="boolean"?N(this,kr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},kr=new WeakMap,_n=new WeakMap,Ti=new WeakMap,Gg),Vx=new zP,Pi,zn,ki,Yg,BP=(Yg=class extends Al{constructor(){super();ee(this,Pi,!0);ee(this,zn);ee(this,ki);K(this,ki,t=>{if(!Ml&&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(){N(this,zn)||this.setEventListener(N(this,ki))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,zn))==null||t.call(this),K(this,zn,void 0))}setEventListener(t){var n;K(this,ki,t),(n=N(this,zn))==null||n.call(this),K(this,zn,t(this.setOnline.bind(this)))}setOnline(t){N(this,Pi)!==t&&(K(this,Pi,t),this.listeners.forEac
vendor: 11,797 bytes, line 181
181h(r=>{r(t)}))}isOnline(){return N(this,Pi)}},Pi=new WeakMap,zn=new WeakMap,ki=new WeakMap,Yg),qa=new BP;function $P(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});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 UP(e){return Math.min(1e3*2**e,3e4)}function Fx(e){return(e??"online")==="online"?qa.isOnline():!0}var _x=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Pu(e){return e instanceof _x}function zx(e){let t=!1,n=0,r=!1,i;const s=$P(),o=y=>{var b;r||(h(new _x(y)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Vx.isFocused()&&(e.networkMode==="always"||qa.isOnline())&&e.canRun(),c=()=>Fx(e.networkMode)&&e.canRun(),d=y=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,y),i==null||i(),s.resolve(y))},h=y=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,y),i==null||i(),s.reject(y))},p=()=>new Promise(y=>{var b;i=g=>{(r||u())&&y(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),w=()=>{if(r)return;let y;const b=n===0?e.initialPromise:void 0;try{y=b??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(d).catch(g=>{var E;if(r)return;const m=e.retry??(Ml?0:3),v=e.retryDelay??UP,S=typeof v=="function"?v(n,g):v,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!C){h(g);return}n++,(E=e.onFail)==null||E.call(e,n,g),IP(S).then(()=>u()?void 0:p()).then(()=>{t?h(g):w()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?w():p().then(w),s)}}var WP=e=>setTimeout(e,0);function HP(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=WP;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{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||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Ue=HP(),Nr,Qg,Bx=(Qg=class{constructor(){ee(this,Nr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),LP(this.gcTime)&&K(this,Nr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ml?1/0:5*60*1e3))}clearGcTimeout(){N(this,Nr)&&(clearTimeout(N(this,Nr)),K(this,Nr,void 0))}},Nr=new WeakMap,Qg),Ni,jr,pt,Rr,Ve,lo,Ar,Mt,ln,Xg,KP=(Xg=class extends Bx{constructor(t){super();ee(this,Mt);ee(this,Ni);ee(this,jr);ee(this,pt);ee(this,Rr);ee(this,Ve);ee(this,lo);ee(this,Ar);K(this,Ar,!1),K(this,lo,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Rr,t.client),K(this,pt,N(this,Rr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Ni,YP(this.options)),this.state=t.state??N(this,Ni),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...N(this,lo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,pt).remove(this)}setData(t,n){const r=VP(this.state.data,t,this.options);return De(this,Mt,ln).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){De(this,Mt,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=N(this,Ve))==null?void 0:r.promise;return(i=N(this,Ve))==null||i.cancel(t),n?n.then(At).catch(At):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,Ni))}isActive(){return this.observers.some(t=>OP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Of||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Gc(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!DP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(this,pt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(N(this,Ve)&&(N(this,Ar)?N(this,Ve).cancel({revert:!0}):N(this,Ve).cancelRetry()),this.scheduleGc()),N(this,pt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||De(this,Mt,ln).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,Ve))return N(this,Ve).continueRetry(),N(this,Ve).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(K(this,Ar,!0),r.signal)})},s=()=>{const h=Ix(this.options,n),w=(()=>{const y={client:N(this,Rr),queryKey:this.queryKey,meta:this.meta};return i(y),y})();return K(this,Ar,!1),this.options.persister?this.options.persister(h,w,this):h(w)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,Rr),state:this.state,fetchFn:s};return i(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),K(this,jr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&De(this,Mt,ln).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=h=>{var p,w,y,b;Pu(h)&&h.silent||De(this,Mt,ln).call(this,{type:"error",error:h}),Pu(h)||((w=(p=N(this,pt).config).onError)==null||w.call(p,h,this),(b=(y=N(this,pt).config).onSettled)==null||b.call(y,this.state.data,h,this)),this.scheduleGc()};return K(this,Ve,zx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,w,y,b;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(w=(p=N(this,pt).config).onSuccess)==null||w.call(p,h,this),(b=(y=N(this,pt).config).onSettled)==null||b.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{De(this,Mt,ln).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{De(this,Mt,ln).call(this,{type:"pause"})},onContinue:()=>{De(this,Mt,ln).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),N(this,Ve).start()}},Ni=new WeakMap,jr=new WeakMap,pt=new WeakMap,Rr=new WeakMap,Ve=new WeakMap,lo=new WeakMap,Ar=new WeakMap,Mt=new WeakSet,ln=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,...GP(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,jr,void 0),{...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 Pu(i)&&i.revert&&N(this,jr)?{...N(this,jr),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),Ue.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,pt).notify({query:this,type:"updated",action:t})})},Xg);function GP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Fx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function YP(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 Gt,qg,QP=(qg=class extends Al{constructor(t={}){super();ee(this,Gt);this.config=t,K(this,Gt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??Df(i,n);let o=this.get(s);return o||(o=new KP({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){N(this,Gt).has(t.queryHash)||(N(this,Gt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,Gt).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,Gt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ue.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,Gt).get(t)}getAll(){return[...N(this,Gt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>im(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>im(t,r)):n}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ue.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ue.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Gt=new WeakMap,qg),Yt,Be,Mr,Qt,Mn,Zg,XP=(Zg=class extends Bx{constructor(t){super();ee(this,Qt);ee(this,Yt);ee(this,Be);ee(this,Mr);this.mutationId=t.mutationId,K(this,Be,t.mutationCache),K(this,Yt,[]),this.state=t.state||qP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,Yt).includes(t)||(N(this,Yt).push(t),this.clearGcTimeout(),N(this,Be).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Yt,N(this,Yt).filter(n=>n!==t)),this.scheduleGc(),N(this,Be).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Yt).length||(this.state.status==="pending"?this.scheduleGc():N(this,Be).remove(this))}continue(){var t;return((t=N(this,Mr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,c,d,h,p,w,y,b,g,m,v,S,C,E,T,P;const n=()=>{De(this,Qt,Mn).call(this,{type:"continue"})};K(this,Mr,zx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,A)=>{De(this,Qt,Mn).call(this,{type:"failed",failureCount:R,error:A})},onPause:()=>{De(this,Qt,Mn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,Be).canRun(this)}));const r=this.state.status==="pending",i=!N(this,Mr).canStart();try{if(r)n();else{De(this,Qt,Mn).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=N(this,Be).config).onMutate)==null?void 0:o.call(s,t,this));
181const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&De(this,Qt,Mn).call(this,{type:"pending",context:A,variables:t,isPaused:i})}const R=await N(this,Mr).start();return await((c=(u=N(this,Be).config).onSuccess)==null?void 0:c.call(u,R,t,this.state.context,this)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,R,t,this.state.context)),await((w=(p=N(this,Be).config).onSettled)==null?void 0:w.call(p,R,null,this.state.variables,this.state.context,this)),await((b=(y=this.options).onSettled)==null?void 0:b.call(y,R,null,t,this.state.context)),De(this,Qt,Mn).call(this,{type:"success",data:R}),R}catch(R){try{throw await((m=(g=N(this,Be).config).onError)==null?void 0:m.call(g,R,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,R,t,this.state.context)),await((E=(C=N(this,Be).config).onSettled)==null?void 0:E.call(C,void 0,R,this.state.variables,this.state.context,this)),await((P=(T=this.options).onSettled)==null?void 0:P.call(T,void 0,R,t,this.state.context)),R}finally{De(this,Qt,Mn).call(this,{type:"error",error:R})}}finally{N(this,Be).runNext(this)}}},Yt=new WeakMap,Be=new WeakMap,Mr=new WeakMap,Qt=new WeakSet,Mn=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),Ue.batch(()=>{N(this,Yt).forEach(r=>{r.onMutationUpdate(t)}),N(this,Be).notify({mutation:this,type:"updated",action:t})})},Zg);function qP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var dn,Lt,uo,Jg,ZP=(Jg=class extends Al{constructor(t={}){super();ee(this,dn);ee(this,Lt);ee(this,uo);this.config=t,K(this,dn,new Set),K(this,Lt,new Map),K(this,uo,0)}build(t,n,r){const i=new XP({mutationCache:this,mutationId:++ko(this,uo)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){N(this,dn).add(t);const n=Qo(t);if(typeof n=="string"){const r=N(this,Lt).get(n);r?r.push(t):N(this,Lt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,dn).delete(t)){const n=Qo(t);if(typeof n=="string"){const r=N(this,Lt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&N(this,Lt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Qo(t);if(typeof n=="string"){const r=N(this,Lt).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=Qo(t);if(typeof n=="string"){const i=(r=N(this,Lt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ue.batch(()=>{N(this,dn).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,dn).clear(),N(this,Lt).clear()})}getAll(){return Array.from(N(this,dn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>sm(n,r))}findAll(t={}){return this.getAll().filter(n=>sm(t,n))}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ue.batch(()=>Promise.all(t.map(n=>n.continue().catch(At))))}},dn=new WeakMap,Lt=new WeakMap,uo=new WeakMap,Jg);function Qo(e){var t;return(t=e.options.scope)==null?void 0:t.id}function lm(e){return{onFetch:(t,n)=>{var c,d,h,p,w;const r=t.options,i=(h=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const b=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)}
181)},g=Ix(t.options,t.fetchOptions),m=async(v,S,C)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const T=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return b(B),B})(),P=await g(T),{maxPages:R}=t.options,A=C?_P:FP;return{pages:A(v.pages,P,R),pageParams:A(v.pageParams,S,R)}};if(i&&s.length){const v=i==="backward",S=v?JP:um,C={pages:s,pageParams:o},E=S(r,C);a=await m(C,E,v)}else{const v=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:um(r,a);if(l>0&&S==null)break;a=await m(a,S),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var y,b;return(b=(y=t.options).persister)==null?void 0:b.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function um(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 JP(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 ye,Bn,$n,ji,Ri,Un,Ai,Mi,ey,ek=(ey=class{constructor(e={}){ee(this,ye);ee(this,Bn);ee(this,$n);ee(this,ji);ee(this,Ri);ee(this,Un);ee(this,Ai);ee(this,Mi);K(this,ye,e.queryCache||new QP),K(this,Bn,e.mutationCache||new ZP),K(this,$n,e.defaultOptions||{}),K(this,ji,new Map),K(this,Ri,new Map),K(this,Un,0)}mount(){ko(this,Un)._++,N(this,Un)===1&&(K(this,Ai,Vx.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onFocus())})),K(this,Mi,qa.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onOnline())})))}unmount(){var e,t;ko(this,Un)._--,N(this,Un)===0&&((e=N(this,Ai))==null||e.call(this),K(this,Ai,void 0),(t=N(this,Mi))==null||t.call(this),K(this,Mi,void 0))}isFetching(e){return N(this,ye).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,Bn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,ye).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Gc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,ye).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=N(this,ye).get(r.queryHash),s=i==null?void 0:i.state.data,o=MP(t,s);if(o!==void 0)return N(this,ye).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Ue.batch(()=>N(this,ye).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,ye);Ue.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,ye);return Ue.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ue.batch(()=>N(this,ye).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(At).catch(At)}invalidateQueries(e,t={}){return Ue.batch(()=>(N(this,ye).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ue.batch(()=>N(this,ye).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(At)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(At)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,ye).build(this,t);return n.isStaleByTime(Gc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(At).catch(At)}fetchInfiniteQuery(e){return e.behavior=lm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(At).catch(At)}ensureInfiniteQueryData(e){return e.behavior=lm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return qa.isOnline()?N(this,Bn).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,ye)}getMutationCache(){return N(this,Bn)}getDefaultOptions(){return N(this,$n)}setDefaultOptions(e){K(this,$n,e)}setQueryDefaults(e,t){N(this,ji).set(no(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,ji).values()],n={};return t.forEach(r=>{ro(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,Ri).set(no(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,Ri).values()],n={};return t.forEach(r=>{ro(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,$n).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Df(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.queryFn===Of&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,$n).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,ye).clear(),N(this,Bn).clear()}},ye=new WeakMap,Bn=new WeakMap,$n=new WeakMap,ji=new WeakMap,Ri=new WeakMap,Un=new WeakMap,Ai=new WeakMap,Mi=new WeakMap,ey),tk=x.createContext(void 0),nk=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),f.jsx(tk.Provider,{value:e,children:t}));/**
182 * @remix-run/router v1.23.0
183 *
184 * Copyright (c) Remix Software Inc.
185 *
186 * This source code is licensed under the MIT license found in the
187 * LICENSE.md file in the root directory of this source tree.
188 *
189 * @license MIT
190 */function Za(){return Za=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},Za.apply(this,arguments)}var Kn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Kn||(Kn={}));const cm="popstate";function rk(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return Qc("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Ux(i)}return sk(t,n,null,e)}function nt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $x(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ik(){return Math.random().toString(36).substr(2,8)}function dm(e,t){return{usr:e.state,key:e.key,idx:t}}function Qc(e,t,n,r){return n===void 0&&(n=null),Za({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ll(t):t,{state:n,key:t&&t.key||r||ik()})}function Ux(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 sk(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Kn.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(Za({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=Kn.Pop;let b=c(),g=b==null?null:b-u;u=b,l&&l({action:a,location:y.location,delta:g})}function h(b,g){a=Kn.Push;let m=Qc(y.location,b,g);u=c()+1;let v=dm(m,u),S=y.createHref(m);try{o.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(S)}s&&l&&l({action:a,location:y.location,delta:1})}function p(b,g){a=Kn.Replace;let m=Qc(y.location,b,g);u=c();let v=dm(m,u),S=y.createHref(m);o.replaceState(v,"",S),s&&l&&l({action:a,location:y.location,delta:0})}function w(b){let g=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof b=="string"?b:Ux(b);return m=m.replace(/ $/,"%20"),nt(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return a},get location(){return e(i,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(cm,d),l=b,()=>{i.removeEventListener(cm,d),l=null}},createHref(b){return t(i,b)},createURL:w,encodeLocation(b){let g=w(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(b){return o.go(b)}};return y}var fm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fm||(fm={}));function ok(e,t,n){return n===void 0&&(n="/"),ak(e,t,n,!1)}function ak(e,t,n,r){let i=typeof t=="string"?Ll(t):t,s=Kx(i.pathname||"/",n);if(s==null)return null;let o=Wx(e);lk(o);let a=null;for(let l=0;a==null&&l<o.length;
vendor: 6,197 bytes, lines 190-199
190++l){let u=xk(s);a=yk(o[l],u,r)}return a}function Wx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(nt(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=Ci([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(nt(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Wx(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:mk(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of Hx(s.path))i(s,o,l)}),t}function Hx(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=Hx(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function lk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:gk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const uk=/^:[\w-]+$/,ck=3,dk=2,fk=1,hk=10,pk=-2,hm=e=>e==="*";function mk(e,t){let n=e.split("/"),r=n.length;return n.some(hm)&&(r+=pk),t&&(r+=dk),n.filter(i=>!hm(i)).reduce((i,s)=>i+(uk.test(s)?ck:s===""?fk:hk),r)}function gk(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 yk(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",d=pm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),h=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=pm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;Object.assign(i,d.params),o.push({params:i,pathname:Ci([s,d.pathname]),pathnameBase:wk(Ci([s,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(s=Ci([s,d.pathnameBase]))}return o}function pm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=vk(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:h,isOptional:p}=c;if(h==="*"){let y=a[d]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const w=a[d];return p&&!w?u[h]=void 0:u[h]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function vk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$x(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,(o,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 xk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $x(!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 Kx(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 Ci=e=>e.join("/").replace(/\/\/+/g,"/"),wk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function bk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Gx=["post","put","patch","delete"];new Set(Gx);const Sk=["get",...Gx];new Set(Sk);/**
191 * React Router v6.30.1
192 *
193 * Copyright (c) Remix Software Inc.
194 *
195 * This source code is licensed under the MIT license found in the
196 * LICENSE.md file in the root directory of this source tree.
197 *
198 * @license MIT
199 */function Ja(){return Ja=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},Ja.apply(this,arguments)}const Ck=x.createContext(null),Ek=x.createContext(null),Yx=x.createContext(null),Dl=x.createContext(null),Ol=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Qx=x.createContext(null);function If(){return x.useContext(Dl)!=null}function Xx(){return If()||nt(!1),x.useContext(Dl).location}function Tk(e,t){return Pk(e,t)}function Pk(e,t,n,r){If()||nt(!1);let{navigator:i}=x.useContext(Yx),{matches:s}=x.useContext(Ol),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Xx(),c;if(t){var d;let b=typeof t=="string"?Ll(t):t;l==="/"||(d=b.pathname)!=null&&d.startsWith(l)||nt(!1),c=b}else c=u;let h=c.pathname||"/",p=h;if(l!=="/"){let b=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=ok(e,{pathname:p}),y=Ak(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:Ci([l,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:Ci([l,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,r);return t&&y?x.createElement(Dl.Provider,{value:{location:Ja({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Kn.Pop}},y):y}function kk(){let e=Ok(),t=bk(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 x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application 
199Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:i},n):null,null)}const Nk=x.createElement(kk,null);class jk extends x.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?x.createElement(Ol.Provider,{value:this.props.routeContext},x.createElement(Qx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Rk(e){let{routeContext:t,match:n,children:r}=e,i=x.useContext(Ck);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Ol.Provider,{value:t},r)}function Ak(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||nt(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let d=o[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:h,errors:p}=n,w=d.route.loader&&h[d.route.id]===void 0&&(!p||p[d.route.id]===void 0);if(d.route.lazy||w){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,h)=>{let p,w=!1,y=null,b=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||Nk,l&&(u<0&&h===0?(w=!0,b=null):u===h&&(w=!0,b=d.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,h+1)),m=()=>{let v;return p?v=y:w?v=b:d.route.Component?v=x.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,x.createElement(Rk,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?x.createElement(jk,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Xc=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}(Xc||{});function Mk(e){let t=x.useContext(Ek);return t||nt(!1),t}function Lk(e){let t=x.useContext(Ol);return t||nt(!1),t}function Dk(e){let t=Lk(),n=t.matches[t.matches.length-1];return n.route.id||nt(!1),n.route.id}function Ok(){var e;let t=x.useContext(Qx),n=Mk(Xc.UseRouteError),r=Dk(Xc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Ik(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function qc(e){nt(!1)}function Vk(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Kn.Pop,navigator:s,static:o=!1,future:a}=e;If()&&nt(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:s,static:o,future:Ja({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=Ll(r));let{pathname:c="/",search:d="",hash:h="",state:p=null,key:w="default"}=r,y=x.useMemo(()=>{let b=Kx(c,l);return b==null?null:{location:{pathname:b,search:d,hash:h,state:p,key:w},navigationType:i}},[l,c,d,h,p,w,i]);return y==null?null:x.createElement(Yx.Provider,{value:u},x.createElement(Dl.Provider,{children:n,value:y}))}function Fk(e){let{children:t,location:n}=e;return Tk(Zc(t),n)}new Promise(()=>{});function Zc(e,t){t===void 0&&(t=[]);let n=[];
199return x.Children.forEach(e,(r,i)=>{if(!x.isValidElement(r))return;let s=[...t,i];if(r.type===x.Fragment){n.push.apply(n,Zc(r.props.children,s));return}r.type!==qc&&nt(!1),!r.props.index||!r.props.children||nt(!1);let o={id:r.props.id||s.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&&(o.children=Zc(r.props.children,s)),n.push(o)}),n}/**
200 * React Router DOM v6.30.1
201 *
202 * Copyright (c) Remix Software Inc.
203 *
204 * This source code is licensed under the MIT license found in the
205 * LICENSE.md file in the root directory of this source tree.
206 *
207 * @license MIT
208 */const _k="6";try{window.__reactRouterVersion=_k}catch{}const zk="startTransition",mm=fy[zk];function Bk(e){let{basename:t,children:n,future:r,window:i}=e,s=x.useRef();s.current==null&&(s.current=rk({window:i,v5Compat:!0}));let o=s.current,[a,l]=x.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=x.useCallback(d=>{u&&mm?mm(()=>l(d)):l(d)},[l,u]);return x.useLayoutEffect(()=>o.listen(c),[o,c]),x.useEffect(()=>Ik(r),[r]),x.createElement(Vk,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}var gm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(gm||(gm={}));var ym;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ym||(ym={}));const Vf=x.createContext({});function Xi(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ff=typeof window<"u",Il=Ff?x.useLayoutEffect:x.useEffect,Vl=x.createContext(null);function _f(e,t){e.indexOf(t)===-1&&e.push(t)}function zf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ut=(e,t,n)=>n>t?t:n<e?e:n;let Fl=()=>{},lr=()=>{};const bn={},qx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Zx(e){return typeof e=="object"&&e!==null}const Jx=e=>/^0[^.\s]+$/u.test(e);function Bf(e){let t;return()=>(t===void 0&&(t=e()),t)}const tt=e=>e,$k=(e,t)=>n=>t(e(n)),wo=(...e)=>e.reduce($k),$i=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class $f{constructor(){this.subscriptions=[]}add(t){return _f(this.subscriptions,t),()=>zf(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 s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const tn=e=>e*1e3,vt=e=>e/1e3;function Uf(e,t){return t?e*(1e3/t):0}const ew=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Uk=1e-7,Wk=12;function Hk(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ew(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>Uk&&++a<Wk);return o}function bo(e,t,n,r){if(e===t&&n===r)return tt;const i=s=>Hk(s,0,1,e,n);return s=>s===0||s===1?s:ew(i(s),t,r)}const tw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nw=e=>t=>1-e(1-t),rw=bo(.33,1.53,.69,.99),Wf=nw(rw),iw=tw(Wf),sw=e=>(e*=2)<1?.5*Wf(e):.5*(2-Math.pow(2,-10*(e-1))),Hf=e=>1-Math.sin(Math.acos(e)),ow=nw(Hf),aw=tw(Hf),Kk=bo(.42,0,1,1),Gk=bo(0,0,.58,1),lw=bo(.42,0,.58,1),Yk=e=>Array.isArray(e)&&typeof e[0]!="number",uw=e=>Array.isArray(e)&&typeof e[0]=="number",vm={linear:tt,easeIn:Kk,easeInOut:lw,easeOut:Gk,circIn:Hf,circInOut:aw,circOut:ow,backIn:Wf,backInOut:iw,backOut:rw,anticipate:sw},Qk=e=>typeof e=="string",xm=e=>{if(uw(e)){lr(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return bo(t,n,r,i)}else if(Qk(e))return lr(vm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),vm[e];return e},Xo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],wm={value:null,addProjectionMetrics:null};function Xk(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){o.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,h=!1,p=!1)=>{const y=p&&i?n:r;return h&&o.add(d),y.has(d)||y.add(d),d},cancel:d=>
vendor: 26,551 bytes, line 208
208{r.delete(d),o.delete(d)},process:d=>{if(a=d,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&wm.value&&wm.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,c.process(d))}};return c}const qk=40;function cw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Xo.reduce((v,S)=>(v[S]=Xk(s,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:p,postRender:w}=o,y=()=>{const v=bn.useManualTiming?i.timestamp:performance.now();n=!1,bn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(v-i.timestamp,qk),1)),i.timestamp=v,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),p.process(i),w.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},b=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:Xo.reduce((v,S)=>{const C=o[S];return v[S]=(E,T=!1,P=!1)=>(n||b(),C.schedule(E,T,P)),v},{}),cancel:v=>{for(let S=0;S<Xo.length;S++)o[Xo[S]].cancel(v)},state:i,steps:o}}const{schedule:ne,cancel:Wt,state:ke,steps:ku}=cw(typeof requestAnimationFrame<"u"?requestAnimationFrame:tt,!0);let ga;function Zk(){ga=void 0}const We={now:()=>(ga===void 0&&We.set(ke.isProcessing||bn.useManualTiming?ke.timestamp:performance.now()),ga),set:e=>{ga=e,queueMicrotask(Zk)}},dw=e=>t=>typeof t=="string"&&t.startsWith(e),fw=dw("--"),Jk=dw("var(--"),Kf=e=>Jk(e)?eN.test(e.split("/*")[0].trim()):!1,eN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function bm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const qi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},io={...qi,transform:e=>Ut(0,1,e)},qo={...qi,default:1},Rs=e=>Math.round(e*1e5)/1e5,Gf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function tN(e){return e==null}const nN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yf=(e,t)=>n=>!!(typeof n=="string"&&nN.test(n)&&n.startsWith(e)||t&&!tN(n)&&Object.prototype.hasOwnProperty.call(n,t)),hw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Gf);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},rN=e=>Ut(0,255,e),Nu={...qi,transform:e=>Math.round(rN(e))},Tr={test:Yf("rgb","red"),parse:hw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Nu.transform(e)+", "+Nu.transform(t)+", "+Nu.transform(n)+", "+Rs(io.transform(r))+")"};function iN(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 Jc={test:Yf("#"),parse:iN,transform:Tr.transform},So=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=So("deg"),nn=So("%"),F=So("px"),sN=So("vh"),oN=So("vw"),Sm={...nn,parse:e=>nn.parse(e)/100,transform:e=>nn.transform(e*100)},ui={test:Yf("hsl","hue"),parse:hw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+nn.transform(Rs(t))+", "+nn.transform(Rs(n))+", "+Rs(io.transform(r))+")"},be={test:e=>Tr.test(e)||Jc.test(e)||ui.test(e),parse:e=>Tr.test(e)?Tr.parse(e):ui.test(e)?ui.parse(e):Jc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Tr.transform(e):ui.transform(e),getAnimatableNone:e=>{const t=be.parse(e);return t.alpha=0,be.transform(t)}},aN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function lN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Gf))==null?void 0:t.length)||0)+(((n=e.match(aN))==null?void 0:n.length)||0)>0}const pw="number",mw="color",uN="var",cN="var(",Cm="${}",dN=/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 so(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(dN,l=>(be.test(l)?(r.color.push(s),i.push(mw),n.push(be.parse(l))):l.startsWith(cN)?(r.var.push(s),i.push(uN),n.push(l)):(r.number.push(s),i.push(pw),n.push(parseFloat(l))),++s,Cm)).split(Cm);return{values:n,split:a,indexes:r,types:i}}function gw(e){return so(e).values}function yw(e){const{split:t,types:n}=so(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const a=n[o];a===pw?s+=Rs(i[o]):a===mw?s+=be.transform(i[o]):s+=i[o]}return s}}const fN=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e;function hN(e){const t=gw(e);return yw(e)(t.map(fN))}const ur={test:lN,parse:gw,createTransformer:yw,getAnimatableNone:hN};function ju(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 pN({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=ju(l,a,e+1/3),s=ju(l,a,e),o=ju(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function el(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,Ru=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},mN=[Jc,Tr,ui],gN=e=>mN.find(t=>t.test(e));function Em(e){const t=gN(e);if(Fl(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===ui&&(n=pN(n)),n}const Tm=(e,t)=>{const n=Em(e),r=Em(t);if(!n||!r)return el(e,t);const i={...n};return s=>(i.red=Ru(n.red,r.red,s),i.green=Ru(n.green,r.green,s),i.blue=Ru(n.blue,r.blue,s),i.alpha=pe(n.alpha,r.alpha,s),Tr.transform(i))},ed=new Set(["none","hidden"]);function yN(e,t){return ed.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function vN(e,t){return n=>pe(e,t,n)}function Qf(e){return typeof e=="number"?vN:typeof e=="string"?Kf(e)?el:be.test(e)?Tm:bN:Array.isArray(e)?vw:typeof e=="object"?be.test(e)?Tm:xN:el}function vw(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Qf(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function xN(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Qf(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function wN(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const bN=(e,t)=>{const n=ur.createTransformer(t),r=so(e),i=so(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?ed.has(e)&&!i.values.length||ed.has(t)&&!r.values.length?yN(e,t):wo(vw(wN(r,i),i.values),n):(Fl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),el(e,t))};function xw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):Qf(e)(e,t)}const SN=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ne.update(t,n),stop:()=>Wt(t),now:()=>ke.isProcessing?ke.timestamp:We.now()}},ww=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},tl=2e4;function Xf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<tl;)t+=n,r=e.next(t);return t>=tl?1/0:t}function CN(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Xf(r),tl);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:vt(i)}}const EN=5;function bw(e,t,n){const r=Math.max(t-EN,0);return Uf(n-e(r),t-r)}const fe={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},Au=.001;function TN({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let i,s;Fl(e<=tn(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=Ut(fe.minDamping,fe.maxDamping,o),e=Ut(fe.minDuration,fe.maxDuration,vt(e)),o<1?(i=u=>{const c=u*o,d=c*e,h=c-n,p=td(u,o),w=Math.exp(-d);return Au-h/p*w},s=u=>{const d=u*o*e,h=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,w=Math.exp(-d),y=td(Math.pow(u,2),o);return(-i(u)+Au>0?-1:1)*((h-p)*w)/y}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Au+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=kN(i,s,a);if(e=tn(e),isNaN(l))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const PN=12;function kN(e,t,n){let r=n;for(let i=1;i<PN;i++)r=r-e(r)/t(r);return r}function td(e,t){return e*Math.sqrt(1-t*t)}const NN=["duration","bounce"],jN=["stiffness","damping","mass"];function Pm(e,t){return t.some(n=>e[n]!==void 0)}function RN(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!Pm(e,jN)&&Pm(e,NN))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*Ut(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:fe.mass,stiffness:i,damping:s}}else{const n=TN(e);t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function nl(e=fe.visualDuration,t=fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:d,velocity:h,isResolvedFromDuration:p}=RN({...n,velocity:-vt(n.velocity||0)}),w=h||0,y=u/(2*Math.sqrt(l*c)),b=o-s,g=vt(Math.sqrt(l/c)),m=Math.abs(b)<5;r||(r=m?fe.restSpeed.granular:fe.restSpeed.default),i||(i=m?fe.restDelta.granular:fe.restDelta.default);let v;if(y<1){const C=td(g,y);v=E=>{const T=Math.exp(-y*g*E);return o-T*((w+y*g*b)/C*Math.sin(C*E)+b*Math.cos(C*E))}}else if(y===1)v=C=>o-Math.exp(-g*C)*(b+(w+g*b)*C);else{const C=g*Math.sqrt(y*y-1);v=E=>{const T=Math.exp(-y*g*E),P=Math.min(C*E,300);return o-T*((w+y*g*b)*Math.sinh(P)+C*b*Math.cosh(P))/C}}const S={calculatedDuration:p&&d||null,next:C=>{const E=v(C);if(p)a.done=C>=d;else{let T=C===0?w:0;y<1&&(T=C===0?tn(w):bw(v,C,E));const P=Math.abs(T)<=r,R=Math.abs(o-E)<=i;a.done=P&&R}return a.value=a.done?o:E,a},toString:()=>{const C=Math.min(Xf(S),tl),E=ww(T=>S.next(C*T).value,C,30);return C+"ms "+E},toTransition:()=>{}};return S}nl.applyToOptions=e=>{const t=CN(e,100,nl);return e.ease=t.ease,e.duration=tn(t.duration),e.type="keyframes",e};function nd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],h={done:!1,value:d},p=P=>a!==void 0&&P<a||l!==void 0&&P>l,w=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let y=n*t;const b=d+y,g=o===void 0?b:o(b);g!==b&&(y=g-d);const m=P=>-y*Math.exp(-P/r),v=P=>g+m(P),S=P=>{const R=m(P),A=v(P);h.done=Math.abs(R)<=u,h.value=h.done?g:A};let C,E;const T=P=>{p(h.value)&&(C=P,E=nl({keyframes:[h.value,w(h.value)],velocity:bw(v,P,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let R=!1;return!E&&C===void 0&&(R=!0,S(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!R&&S(P),h)}}}function AN(e,t,n){const r=[],i=n||bn.mix||xw,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||tt:t;a=wo(l,a)}r.push(a)}return r}function qf(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(lr(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=AN(t,r,i),l=a.length,u=c=>{if(o&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const h=$i(e[d],e[d+1],c);return a[d](h)};return n?c=>u(Ut(e[0],e[s-1],c)):u}function MN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=$i(0,t,r);e.push(pe(n,1,i))}}function Sw(e){const t=[0];return MN(t,e.length-1),t}function LN(e,t){return e.map(n=>n*t)}function DN(e,t){return e.map(()=>t||lw).splice(0,e.length-1)}function As({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=Yk(r)?r.map(xm):xm(r),s={done:!1,value:t[0]},o=LN(n&&n.length===t.length?n:Sw(t),e),a=qf(o,t,{ease:Array.isArray(i)?i:DN(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const ON=e=>e!==null;function Zf(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(ON),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const IN={decay:nd,inertia:nd,tween:As,keyframes:As,spring:nl};function Cw(e){typeof e.type=="string"&&(e.type=IN[e.type])}class Jf{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 VN=e=>e/100;class eh extends Jf{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!==We.now()&&this.tick(We.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;Cw(t);const{type:n=As,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||As;l!==As&&typeof a[0]!="number"&&(this.mixKeyframes=wo(VN,xw(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Xf(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:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:h,repeatDelay:p,type:w,onUpdate:y,finalKeyframe:b}=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 g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,S=r;if(d){const P=Math.min(this.currentTime,i)/a;let R=Math.floor(P),A=P%1;!A&&P>=1&&(A=1),A===1&&R--,R=Math.min(R,d+1),!!(R%2)&&(h==="reverse"?(A=1-A,p&&(A-=p/a)):h==="mirror"&&(S=o)),v=Ut(0,1,A)*a}const C=m?{done:!1,value:c[0]}:S.next(v);s&&(C.value=s(C.value));let{done:E}=C;!m&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&w!==nd&&(C.value=Zf(c,this.options,b,this.speed)),y&&y(C.value),T&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return vt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(this.currentTime)}set time(t){var n;t=tn(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(We.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=vt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=SN,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.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(We.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 FN(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Pr=e=>e*180/Math.PI,rd=e=>{const t=Pr(Math.atan2(e[1],e[0]));return id(t)},_N={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:rd,rotateZ:rd,skewX:e=>Pr(Math.atan(e[1])),skewY:e=>Pr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},id=e=>(e=e%360,e<0&&(e+=360),e),km=rd,Nm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),jm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),zN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Nm,scaleY:jm,scale:e=>(Nm(e)+jm(e))/2,rotateX:e=>id(Pr(Math.atan2(e[6],e[5]))),rotateY:e=>id(Pr(Math.atan2(-e[2],e[0]))),rotateZ:km,rotate:km,skewX:e=>Pr(Math.atan(e[4])),skewY:e=>Pr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function sd(e){return e.includes("scale")?1:0}function od(e,t){if(!e||e==="none")return sd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=zN,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=_N,i=a}if(!i)return sd(t);const s=r[t],o=i[1].split(",").map($N);return typeof s=="function"?s(o):o[s]}const BN=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return od(n,t)};function $N(e){return parseFloat(e.trim())}const Zi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ji=new Set(Zi),Rm=e=>e===qi||e===F,UN=new Set(["x","y","z"]),WN=Zi.filter(e=>!UN.has(e));function HN(e){const t=[];return WN.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Gn={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})=>od(t,"x"),y:(e,{transform:t})=>od(t,"y")};Gn.translateX=Gn.x;Gn.translateY=Gn.y;const Or=new Set;let ad=!1,ld=!1,ud=!1;function Ew(){if(ld){const e=Array.from(Or).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=HN(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(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ld=!1,ad=!1,Or.forEach(e=>e.complete(ud)),Or.clear()}function Tw(){Or.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ld=!0)})}function KN(){ud=!0,Tw(),Ew(),ud=!1}class th{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Or.add(this),ad||(ad=!0,ne.read(Tw),ne.resolveKeyframes(Ew))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}FN(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Or.delete(this)}cancel(){this.state==="scheduled"&&(Or.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const GN=e=>e.startsWith("--");function YN(e,t,n){GN(t)?e.style.setProperty(t,n):e.style[t]=n}const Pw=Bf(()=>window.ScrollTimeline!==void 0),QN={};function XN(e,t){const n=Bf(e);return()=>QN[t]??n()}const kw=XN(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),vs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Am={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:vs([0,.65,.55,1]),circOut:vs([.55,0,1,.45]),backIn:vs([.31,.01,.66,-.59]),backOut:vs([.33,1.53,.69,.99])};function Nw(e,t){if(e)return typeof e=="function"?kw()?ww(e,t):"ease-out":uw(e)?vs(e):Array.isArray(e)?e.map(n=>Nw(n,t)||Am.easeOut):Am[e]}function qN(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=Nw(a,i);Array.isArray(d)&&(c.easing=d);const h={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(c,h)}function jw(e){return typeof e=="function"&&"applyToOptions"in e}function ZN({type:e,...t}){return jw(e)&&kw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class JN extends Jf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,lr(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=ZN(t);this.animation=qN(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const c=Zf(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):YN(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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 vt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tn(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 this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=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&&Pw()?(this.animation.timeline=t,tt):n(this)}}const Rw={anticipate:sw,backInOut:iw,circInOut:aw};function ej(e){return e in Rw}function tj(e){typeof e.ease=="string"&&ej(e.ease)&&(e.ease=Rw[e.ease])}const Mu=10;class nj extends JN{constructor(t){tj(t),Cw(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new eh({...o,autoplay:!1}),l=Math.max(Mu,We.now()-this.startTime),u=Ut(0,Mu,l-Mu);n.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Mm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ur.test(e)||e==="0")&&!e.startsWith("url("));function rj(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 ij(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Mm(i,t),a=Mm(s,t);return Fl(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:rj(e)||(n==="spring"||jw(n))&&r}function cd(e){e.duration=0,e.type="keyframes"}const sj=new Set(["opacity","clipPath","filter","transform"]),oj=Bf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function aj(e){var c;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(((c=t==null?void 0:t.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return oj()&&n&&sj.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const lj=40;class uj extends Jf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
208o="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var w;super(),this.stop=()=>{var y,b;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=We.now();const h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:c,...d},p=(c==null?void 0:c.KeyframeResolver)||th;this.keyframeResolver=new p(a,(y,b,g)=>this.onKeyframesResolved(y,b,h,!g),l,u,c),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=We.now(),ij(t,s,o,a)||((bn.instantAnimations||!l)&&(c==null||c(Zf(t,r,n))),t[0]=t[t.length-1],cd(r),r.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>lj?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!u&&aj(h)?new nj({...h,element:h.motionValue.owner.current}):new eh(h);p.finished.then(()=>this.notifyFinished()).catch(tt),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}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(),KN()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const cj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function dj(e){const t=cj.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const fj=4;function Aw(e,t,n=1){lr(n<=fj,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=dj(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return qx(o)?parseFloat(o):o}return Kf(i)?Aw(i,t,n+1):i}function nh(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const Mw=new Set(["width","height","top","left","right","bottom",...Zi]),hj={test:e=>e==="auto",parse:e=>e},Lw=e=>t=>t.test(e),Dw=[qi,F,nn,Ln,oN,sN,hj],Lm=e=>Dw.find(Lw(e));function pj(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Jx(e):!0}const mj=new Set(["brightness","contrast","saturate","opacity"]);function gj(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Gf)||[];if(!r)return e;const i=n.replace(r,"");let s=mj.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const yj=/\b([a-z-]*)\(.*?\)/gu,dd={...ur,getAnimatableNone:e=>{const t=e.match(yj);return t?t.map(gj).join(" "):e}},Dm={...qi,transform:Math.round},vj={rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:qo,scaleX:qo,scaleY:qo,scaleZ:qo,skew:Ln,skewX:Ln,skewY:Ln,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:io,originX:Sm,originY:Sm,originZ:F},rh={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,radius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,backgroundPositionX:F,backgroundPositionY:F,...vj,zIndex:Dm,fillOpacity:io,strokeOpacity:io,numOctaves:Dm},xj={...rh,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:dd,WebkitFilter:dd},Ow=e=>xj[e];function Iw(e,t){let n=Ow(e);return n!==dd&&(n=ur),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
vendor: 1,717 bytes, line 208
208const wj=new Set(["auto","none","0"]);function bj(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!wj.has(s)&&so(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=Iw(n,i)}class Sj extends th{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),Kf(d))){const h=Aw(d,n.current);h!==void 0&&(t[c]=h),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Mw.has(r)||t.length!==2)return;const[i,s]=t,o=Lm(i),a=Lm(s),l=bm(i),u=bm(s);if(l!==u&&Gn[r]){this.needsMeasurement=!0;return}if(o!==a)if(Rm(o)&&Rm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Gn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||pj(t[i]))&&r.push(i);r.length&&bj(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=Gn[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 s=r.length-1,o=r[s];r[s]=Gn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 5,348 bytes, line 208
208h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function ih(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)}const Vw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function sh(e){return Zx(e)&&"offsetHeight"in e}const Om=30,Cj=e=>!isNaN(parseFloat(e)),Ms={current:void 0};class Ej{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=We.now();if(this.updatedAt!==i&&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 o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=We.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Cj(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 $f);const r=this.events[t].add(n);return t==="change"?()=>{r(),ne.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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 Ms.current&&Ms.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=We.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Om)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Om);return Uf(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 It(e,t){return new Ej(e,t)}const{schedule:oh,cancel:HL}=cw(queueMicrotask,!1),jt={x:!1,y:!1};function Fw(){return jt.x||jt.y}function Tj(e){return e==="x"||e==="y"?jt[e]?null:(jt[e]=!0,()=>{jt[e]=!1}):jt.x||jt.y?null:(jt.x=jt.y=!0,()=>{jt.x=jt.y=!1})}function _w(e,t){const n=ih(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Im(e){return!(e.pointerType==="touch"||Fw())}function Pj(e,t,n={}){const[r,i,s]=_w(e,n),o=a=>{if(!Im(a))return;const{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;const c=d=>{Im(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return r.forEach(a=>{a.addEventListener("pointerenter",o,i)}),s}const zw=(e,t)=>t?e===t?!0:zw(e,t.parentElement):!1,ah=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,kj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Bw(e){return kj.has(e.tagName)||e.isContentEditable===!0}const ya=new WeakSet;function Vm(e){return t=>{t.key==="Enter"&&e(t)}}function Lu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Nj=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Vm(()=>{if(ya.has(n))return;Lu(n,"down");const i=Vm(()=>{Lu(n,"up")}),s=()=>Lu(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Fm(e){return ah(e)&&!Fw()}function jj(e,t,n={}){const[r,i,s]=_w(e,n),o=a=>{const l=a.currentTarget;if(!Fm(a))return;ya.add(l);const u=t(l,a),c=(p,w)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),ya.has(l)&&ya.delete(l),Fm(p)&&typeof u=="function"&&u(p,{success:w})},d=p=>{c(p,l===window||l===document||n.useGlobalTarget||zw(l,p.target))},h=p=>{c(p,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),sh(a)&&(a.addEventListener("focus",u=>Nj(u,i)),!Bw(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function lh(e){return Zx(e)&&"ownerSVGElement"in e}const va=new WeakMap;let Dn;const $w=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:lh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],Rj=$w("inline","width","offsetWidth"),Aj=$w("block","height","offsetHeight");function Mj({target:e,borderBoxSize:t}){var n;
208(n=va.get(e))==null||n.forEach(r=>{r(e,{get width(){return Rj(e,t)},get height(){return Aj(e,t)}})})}function Lj(e){e.forEach(Mj)}function Dj(){typeof ResizeObserver>"u"||(Dn=new ResizeObserver(Lj))}function Oj(e,t){Dn||Dj();const n=ih(e);return n.forEach(r=>{let i=va.get(r);i||(i=new Set,va.set(r,i)),i.add(t),Dn==null||Dn.observe(r)}),()=>{n.forEach(r=>{const i=va.get(r);i==null||i.delete(t),i!=null&&i.size||Dn==null||Dn.unobserve(r)})}}const xa=new Set;let ci;function Ij(){ci=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};xa.forEach(t=>t(e))},window.addEventListener("resize",ci)}function Vj(e){return xa.add(e),ci||Ij(),()=>{xa.delete(e),!xa.size&&typeof ci=="function"&&(window.removeEventListener("resize",ci),ci=void 0)}}function Fj(e,t){return typeof e=="function"?Vj(e):Oj(e,t)}function Uw(e,t){let n;const r=()=>{const{currentTime:i}=t,o=(i===null?0:i.value)/100;n!==o&&e(o),n=o};return ne.preUpdate(r,!0),()=>Wt(r)}function _j(e){return lh(e)&&e.tagName==="svg"}function zj(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],s=e[2+n],o=e[3+n],a=qf(i,s,o);return t?a(r):a}const _e=e=>!!(e&&e.getVelocity),Bj=[...Dw,be,ur],$j=e=>Bj.find(Lw(e)),_l=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function _m(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Uj(...e){return t=>{let n=!1;const r=e.map(i=>{const s=_m(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():_m(e[i],null)}}}}function Wj(...e){return x.useCallback(Uj(...e),e)}class Hj extends x.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=sh(r)&&r.offsetWidth||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=i-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Kj({children:e,isPresent:t,anchorX:n,root:r}){var c;const i=x.useId(),s=x.useRef(null),o=x.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=x.useContext(_l),l=((c=e.props)==null?void 0:c.ref)??(e==null?void 0:e.ref),u=Wj(s,l);return x.useInsertionEffect(()=>{const{width:d,height:h,top:p,left:w,right:y}=o.current;if(t||!s.current||!d||!h)return;const b=n==="left"?`left: ${w}`:`right: ${y}`;s.current.dataset.motionPopId=i;const g=document.createElement("style");a&&(g.nonce=a);const m=r??document.head;return m.appendChild(g),g.sheet&&g.sheet.insertRule(`
209          [data-motion-pop-id="${i}"] {
210            position: absolute !important;
211            width: ${d}px !important;
212            height: ${h}px !important;
213            ${b}px !important;
214            top: ${p}px !important;
215          }
216        `),()=>{m.contains(g)&&m.removeChild(g)}},[t]),f.jsx(Hj,{isPresent:t,childRef:s,sizeRef:o,children:x.cloneElement(e,{ref:u})})}const Gj=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,root:l})=>{const u=Xi(Yj),c=x.useId();let d=!0,h=x.useMemo(()=>(d=!1,{id:c,initial:t,isPresent:n,custom:i,onExitComplete:p=>{u.set(p,!0);for(const w of u.values())if(!w)return;r&&r()},register:p=>(u.set(p,!1),()=>u.delete(p))}),[n,u,r]);return s&&d&&(h={...h}),x.useMemo(()=>{u.forEach((p,w)=>u.set(w,!1))},[n]),x.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),o==="popLayout"&&(e=f.jsx(Kj,{isPresent:n,anchorX:a,root:l,children:e})),f.jsx(Vl.Provider,{value:h,children:e})};function Yj(){return new Map}function Ww(e=!0){const t=x.useContext(Vl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=x.useId();x.useEffect(()=>{if(e)return i(s)},[e]);const o=x.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const Zo=e=>e.key||"";function zm(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const Bm=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",root:l})=>{const[u,c]=Ww(o),d=x.useMemo(()=>zm(e),[e]),h=o&&!u?[]:d.map(Zo),p=x.useRef(!0),w=x.useRef(d),y=Xi(()=>new Map),b=x.useRef(new Set),[g,m]=x.useState(d),[v,S]=x.useState(d);Il(()=>{p.current=!1,w.current=d;for(let T=0;T<v.length;T++){const P=Zo(v[T]);h.includes(P)?(y.delete(P),b.current.delete(P)):y.get(P)!==!0&&y.set(P,!1)}},[v,h.length,h.join("-")]);const C=[];if(d!==g){let T=[...d];for(let P=0;P<v.length;P++){const R=v[P],A=Zo(R);h.includes(A)||(T.splice(P,0,R),C.push(R))}return s==="wait"&&C.length&&(T=C),S(zm(T)),m(d),null}const{forceRender:E}=x.useContext(Vf);return f.jsx(f.Fragment,{children:v.map(T=>{const P=Zo(T),R=o&&!u?!1:d===v||h.includes(P),A=()=>{if(b.current.has(P))return;if(b.current.add(P),y.has(P))y.set(P,!0);else return;let B=!0;
vendor: 4,810 bytes, line 216
216y.forEach(V=>{V||(B=!1)}),B&&(E==null||E(),S(w.current),o&&(c==null||c()),r&&r())};return f.jsx(Gj,{isPresent:R,initial:!p.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:l,onExitComplete:R?void 0:A,anchorX:a,children:T},P)})})},Hw=x.createContext({strict:!1}),$m={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"]},Ui={};for(const e in $m)Ui[e]={isEnabled:t=>$m[e].some(n=>!!t[n])};function Qj(e){for(const t in e)Ui[t]={...Ui[t],...e[t]}}const Xj=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 rl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Xj.has(e)}let Kw=e=>!rl(e);function qj(e){typeof e=="function"&&(Kw=t=>t.startsWith("on")?!rl(t):e(t))}try{qj(require("@emotion/is-prop-valid").default)}catch{}function Zj(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Kw(i)||n===!0&&rl(i)||!t&&!rl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const zl=x.createContext({});function Bl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function oo(e){return typeof e=="string"||Array.isArray(e)}const uh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ch=["initial",...uh];function $l(e){return Bl(e.animate)||ch.some(t=>oo(e[t]))}function Gw(e){return!!($l(e)||e.variants)}function Jj(e,t){if($l(e)){const{initial:n,animate:r}=e;return{initial:n===!1||oo(n)?n:void 0,animate:oo(r)?r:void 0}}return e.inherit!==!1?t:{}}function eR(e){const{initial:t,animate:n}=Jj(e,x.useContext(zl));return x.useMemo(()=>({initial:t,animate:n}),[Um(t),Um(n)])}function Um(e){return Array.isArray(e)?e.join(" "):e}function Wm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Wm(e,t.target.x),r=Wm(e,t.target.y);return`${n}% ${r}%`}},tR={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=ur.parse(e);if(i.length>5)return r;const s=ur.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=pe(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},fd={borderRadius:{...fs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fs,borderTopRightRadius:fs,borderBottomLeftRadius:fs,borderBottomRightRadius:fs,boxShadow:tR};function Yw(e,{layout:t,layoutId:n}){return Ji.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!fd[e]||e==="opacity")}const nR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rR=Zi.length;function iR(e,t,n){let r="",i=!0;for(let s=0;s<rR;s++){const o=Zi[s],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(o.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=Vw(a,rh[o]);if(!l){i=!1;const c=nR[o]||o;r+=`${c}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function dh(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(Ji.has(l)){o=!0;continue}else if(fw(l)){i[l]=u;continue}else{const c=Vw(u,rh[l]);l.startsWith("origin")?(a=!0,s[l]=c):r[l]=c}}if(t.transform||(o||n?r.transform=iR(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${l} ${u} ${c}`}}const fh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Qw(e,t,n){for(const r in t)!_e(t[r])&&!Yw(r,n)&&(e[r]=t[r])}function sR({transformTemplate:e},t){return x.useMemo(()=>{const n=fh();return dh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function oR(e,t){const n=e.style||{},r={};return Qw(r,n,e),Object.assign(r,sR(e,t)),r}function aR(e,t){const n={},r=oR(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"}
216`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const lR={offset:"stroke-dashoffset",array:"stroke-dasharray"},uR={offset:"strokeDashoffset",array:"strokeDasharray"};function cR(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?lR:uR;e[s.offset]=F.transform(-r);const o=F.transform(t),a=F.transform(n);e[s.array]=`${o} ${a}`}const dR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Xw(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(dh(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const p of dR)d[p]!==void 0&&(h[p]=d[p],delete d[p]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&cR(d,i,s,o,!1)}const qw=()=>({...fh(),attrs:{}}),Zw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function fR(e,t,n,r){const i=x.useMemo(()=>{const s=qw();return Xw(s,t,Zw(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Qw(s,e.style,e),i.style={...s,...i.style}}return i}const hR=["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 hh(e){return typeof e!="string"||e.includes("-")?!1:!!(hR.indexOf(e)>-1||/[A-Z]/u.test(e))}function pR(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??hh(e)?fR:aR)(t,r,i,e),u=Zj(t,typeof e=="string",s),c=e!==x.Fragment?{...u,...l,ref:n}:{},{children:d}=t,h=x.useMemo(()=>_e(d)?d.get():d,[d]);return x.createElement(e,{...c,children:h})}function Hm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function ph(e,t,n,r){if(typeof t=="function"){const[i,s]=Hm(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=Hm(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function wa(e){return _e(e)?e.get():e}function mR({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:gR(n,r,i,e),renderState:t()}}function gR(e,t,n,r){const i={},s=r(e,{});for(const h in s)i[h]=wa(s[h]);let{initial:o,animate:a}=e;const l=$l(e),u=Gw(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?a:o;if(d&&typeof d!="boolean"&&!Bl(d)){const h=Array.isArray(d)?d:[d];for(let p=0;p<h.length;p++){const w=ph(e,h[p]);if(w){const{transitionEnd:y,transition:b,...g}=w;for(const m in g){let v=g[m];if(Array.isArray(v)){const S=c?v.length-1:0;v=v[S]}v!==null&&(i[m]=v)}for(const m in y)i[m]=y[m]}}}return i}const Jw=e=>(t,n)=>{const r=x.useContext(zl),i=x.useContext(Vl),s=()=>mR(e,t,r,i);return n?s():Xi(s)};function mh(e,t,n){var s;const{style:r}=e,i={};for(const o in r)(_e(r[o])||t.style&&_e(t.style[o])||Yw(o,e)||((s=n==null?void 0:n.getValue(o))==null?void 0:s.liveStyle)!==void 0)&&(i[o]=r[o]);return i}const yR=Jw({scrapeMotionValuesFromProps:mh,createRenderState:fh});function e1(e,t,n){const r=mh(e,t,n);for(const i in e)if(_e(e[i])||_e(t[i])){const s=Zi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}const vR=Jw({scrapeMotionValuesFromProps:e1,createRenderState:qw}),xR=Symbol.for("motionComponentSymbol");function wR(e,t,n){const r=x.useRef(n);x.useInsertionEffect(()=>{r.current=n});const i=x.useRef(null);return x.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const gh=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),bR="framerAppearId",t1="data-"+gh(bR),n1=x.createContext({});function xs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function SR(e,t,n,r,i,s){var b,g;const{visualElement:o}=x.useContext(zl),a=x.useContext(Hw),l=x.useContext(Vl),u=x.useContext(_l).reducedMotion,c=x.useRef(null);r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,isSVG:s}));const d=c.current,h=x.useContext(n1);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&CR(c.current,n,i,h);const p=x.useRef(!1);x.useInsertionEffect(()=>{d&&p.current&&d.update(n,l)});const w=n[t1],y=x.useRef(!!w&&!((b=window.MotionHandoffIsComplete)!=null&&b.call(window,w))&&((g=window.MotionHasOptimisedAnimation)==null?void 0:g.call(window,w)));return Il(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),y.current&&d.animationState&&d.animationState.animateChanges())}),x.useEffect(()=>
vendor: 17,154 bytes, line 216
216{d&&(!y.current&&d.animationState&&d.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)==null||m.call(window,w)}),y.current=!1),d.enteringChildren=void 0)}),d}function CR(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:r1(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&xs(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function r1(e){if(e)return e.options.allowProjection!==!1?e.projection:r1(e.parent)}function Du(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Qj(r);const s=n?n==="svg":hh(e),o=s?vR:yR;function a(u,c){let d;const h={...x.useContext(_l),...u,layoutId:ER(u)},{isStatic:p}=h,w=eR(u),y=o(u,p);if(!p&&Ff){TR();const b=PR(h);d=b.MeasureLayout,w.visualElement=SR(e,y,h,i,b.ProjectionNode,s)}return f.jsxs(zl.Provider,{value:w,children:[d&&w.visualElement?f.jsx(d,{visualElement:w.visualElement,...h}):null,pR(e,u,wR(y,w.visualElement,c),y,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=x.forwardRef(a);return l[xR]=e,l}function ER({layoutId:e}){const t=x.useContext(Vf).id;return t&&e!==void 0?t+"-"+e:e}function TR(e,t){x.useContext(Hw).strict}function PR(e){const{drag:t,layout:n}=Ui;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}}function kR(e,t){if(typeof Proxy>"u")return Du;const n=new Map,r=(s,o)=>Du(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,Du(o,void 0,e,t)),n.get(o))})}function i1({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function NR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function jR(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}}function Ou(e){return e===void 0||e===1}function hd({scale:e,scaleX:t,scaleY:n}){return!Ou(e)||!Ou(t)||!Ou(n)}function br(e){return hd(e)||s1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function s1(e){return Km(e.x)||Km(e.y)}function Km(e){return e&&e!=="0%"}function il(e,t,n){const r=e-n,i=t*r;return n+i}function Gm(e,t,n,r,i){return i!==void 0&&(e=il(e,i,r)),il(e,n,r)+t}function pd(e,t=0,n=1,r,i){e.min=Gm(e.min,t,n,r,i),e.max=Gm(e.max,t,n,r,i)}function o1(e,{x:t,y:n}){pd(e.x,t.translate,t.scale,t.originPoint),pd(e.y,n.translate,n.scale,n.originPoint)}const Ym=.999999999999,Qm=1.0000000000001;function RR(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a<i;a++){s=n[a],o=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&fi(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,o1(e,o)),r&&br(s.latestValues)&&fi(e,s.latestValues))}t.x<Qm&&t.x>Ym&&(t.x=1),t.y<Qm&&t.y>Ym&&(t.y=1)}function di(e,t){e.min=e.min+t,e.max=e.max+t}function Xm(e,t,n,r,i=.5){const s=pe(e.min,e.max,i);pd(e,t,n,s,r)}function fi(e,t){Xm(e.x,t.x,t.scaleX,t.scale,t.originX),Xm(e.y,t.y,t.scaleY,t.scale,t.originY)}function a1(e,t){return i1(jR(e.getBoundingClientRect(),t))}function AR(e,t,n){const r=a1(e,n),{scroll:i}=t;return i&&(di(r.x,i.offset.x),di(r.y,i.offset.y)),r}const qm=()=>({translate:0,scale:1,origin:0,originPoint:0}),hi=()=>({x:qm(),y:qm()}),Zm=()=>({min:0,max:0}),Ce=()=>({x:Zm(),y:Zm()}),md={current:null},l1={current:!1};function MR(){if(l1.current=!0,!!Ff)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>md.current=e.matches;e.addEventListener("change",t),t()}else md.current=!1}const LR=new WeakMap;function DR(e,t,n){for(const r in t){const i=t[r],s=n[r];if(_e(i))e.addValue(r,i);else if(_e(s))e.addValue(r,It(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,It(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Jm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class OR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=th,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 h=We.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ne.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;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=!!s,this.isControllingVariants=$l(n),this.isVariantNode=Gw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in d){const p=d[h];l[h]!==void 0&&_e(p)&&p.set(l[h])}}mount(t){var n;this.current=t,LR.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((r,i)=>this.bindToMotionValue(i,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(l1.current||MR(),this.shouldReduceMotion=md.current),(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),Wt(this.notifyUpdate),Wt(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Ji.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&ne.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),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 Ui){const n=Ui[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 s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ce()}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<Jm.length;r++){const i=Jm[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=DR(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=It(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"&&(qx(r)||Jx(r))?r=parseFloat(r):!$j(r)&&ur.test(n)&&(r=Iw(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 s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=ph(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[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 $f),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){oh.render(this.render)}}class u1 extends OR{constructor(){super(...arguments),this.KeyframeResolver=Sj}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 c1(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function IR(e){return window.getComputedStyle(e)}class VR extends u1{constructor(){super(...arguments),this.type="html",this.renderInstance=c1}readValueFromInstance(t,n){var r;if(Ji.has(n))return(r=this.projection)!=null&&r.isProjecting?sd(n):BN(t,n);{const i=IR(t),s=(fw(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return a1(t,n)}build(t,n,r){dh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return mh(t,n,r)}}const d1=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 FR(e,t,n,r){c1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(d1.has(i)?i:gh(i),t.attrs[i])}class _R extends u1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ce}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ji.has(n)){const r=Ow(n);return r&&r.default||0}return n=d1.has(n)?n:gh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return e1(t,n,r)}build(t,n,r){Xw(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){FR(t,n,r,i)}mount(t){this.isSVGTag=Zw(t.tagName),super.mount(t)}}const zR=(e,t)=>t.isSVG??hh(e)?new _R(t):new VR(t,{allowProjection:e!==x.Fragment});function Ei(e,t,n){const r=e.getProps();return ph(r,t,n!==void 0?n:r.custom,e)}const gd=e=>Array.isArray(e);function BR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,It(n))}function $R(e){return gd(e)?e[e.length-1]||0:e}function UR(e,t){const n=Ei(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=$R(s[o]);BR(e,o,a)}}function WR(e){return!!(_e(e)&&e.add)}function yd(e,t){const n=e.getValue("willChange");if(WR(n))return n.add(t);if(!n&&bn.WillChange){const r=new bn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function f1(e){return e.props[t1]}const HR=e=>e!==null;function KR(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(HR),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}const GR={type:"spring",stiffness:500,damping:25,restSpeed:10},YR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),QR={type:"keyframes",duration:.8},XR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},qR=(e,{keyframes:t})=>t.length>2?QR:Ji.has(e)?e.startsWith("scale")?YR(t[1]):GR:XR;function ZR({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const yh=(e,t,n,r={},i,s)=>o=>{const a=nh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-tn(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};ZR(a)||Object.assign(c,qR(e,c)),c.duration&&(c.duration=tn(c.duration)),c.repeatDelay&&(c.repeatDelay=tn(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(cd(c),c.delay===0&&(d=!0)),(bn.instantAnimations||bn.skipAnimations)&&(d=!0,cd(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&t.get()!==void 0){const h=KR(c.keyframes,a);if(h!==void 0){ne.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new eh(c):new uj(c)};function JR({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function h1(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...a}=t;r&&(s=r);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const c in a){const d=e.getValue(c,e.latestValues[c]??null),h=a[c];if(h===void 0||u&&JR(u,c))continue;const p={delay:n,...nh(s||{},c)},w=d.get();if(w!==void 0&&!d.isAnimating&&!Array.isArray(h)&&h===w&&!p.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const g=f1(e);if(g){const m=window.MotionHandoffAnimation(g,c,ne);m!==null&&(p.startTime=m,y=!0)}}yd(e,c),d.start(yh(c,d,h,e.shouldReduceMotion&&Mw.has(c)?{type:!1}:p,e,y));const b=d.animation;b&&l.push(b)}return o&&Promise.all(l).then(()=>{ne.update(()=>{o&&UR(e,o)})}),l}function p1(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}function vd(e,t,n={}){var l;const r=Ei(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 s=r?()=>Promise.all(h1(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:h}=i;return eA(e,t,u,c,d,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>c())}else return Promise.all([s(),o(n.delay)])}function eA(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(vd(l,t,{...o,delay:n+(typeof r=="function"?0:r)+p1(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function tA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>vd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=vd(e,t,n);else{const i=typeof t=="function"?Ei(e,t,n.custom):t;r=Promise.all(h1(e,i,n))}return r.then(()=>
vendor: 4,086 bytes, line 216
216{e.notify("AnimationComplete",t)})}function m1(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 nA=ch.length;function g1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?g1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<nA;n++){const r=ch[n],i=e.props[r];(oo(i)||i===!1)&&(t[r]=i)}return t}const rA=[...uh].reverse(),iA=uh.length;function sA(e){return t=>Promise.all(t.map(({animation:n,options:r})=>tA(e,n,r)))}function oA(e){let t=sA(e),n=eg(),r=!0;const i=l=>(u,c)=>{var h;const d=Ei(e,c,l==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(d){const{transition:p,transitionEnd:w,...y}=d;u={...u,...y,...w}}return u};function s(l){t=l(e)}function o(l){const{props:u}=e,c=g1(e.parent)||{},d=[],h=new Set;let p={},w=1/0;for(let b=0;b<iA;b++){const g=rA[b],m=n[g],v=u[g]!==void 0?u[g]:c[g],S=oo(v),C=g===l?m.isActive:null;C===!1&&(w=b);let E=v===c[g]&&v!==u[g]&&S;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),m.protectedKeys={...p},!m.isActive&&C===null||!v&&!m.prevProp||Bl(v)||typeof v=="boolean")continue;const T=aA(m.prevProp,v);let P=T||g===l&&m.isActive&&!E&&S||b>w&&S,R=!1;const A=Array.isArray(v)?v:[v];let B=A.reduce(i(g),{});C===!1&&(B={});const{prevResolvedValues:V={}}=m,Y={...V,...B},O=z=>{P=!0,h.has(z)&&(R=!0,h.delete(z)),m.needsAnimating[z]=!0;const k=e.getValue(z);k&&(k.liveStyle=!1)};for(const z in Y){const k=B[z],j=V[z];if(p.hasOwnProperty(z))continue;let I=!1;gd(k)&&gd(j)?I=!m1(k,j):I=k!==j,I?k!=null?O(z):h.add(z):k!==void 0&&h.has(z)?O(z):m.protectedKeys[z]=!0}m.prevProp=v,m.prevResolvedValues=B,m.isActive&&(p={...p,...B}),r&&e.blockInitialAnimation&&(P=!1);const Q=E&&T;P&&(!Q||R)&&d.push(...A.map(z=>{const k={type:g};if(typeof z=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:j}=e,I=Ei(j,z);if(j.enteringChildren&&I){const{delayChildren:W}=I.transition||{};k.delay=p1(j.enteringChildren,e,W)}}return{animation:z,options:k}}))}if(h.size){const b={};if(typeof u.initial!="boolean"){const g=Ei(e,Array.isArray(u.initial)?u.initial[0]:u.initial);g&&g.transition&&(b.transition=g.transition)}h.forEach(g=>{const m=e.getBaseTarget(g),v=e.getValue(g);v&&(v.liveStyle=!0),b[g]=m??null}),d.push({animation:b})}let y=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(d):Promise.resolve()}function a(l,u){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(h=>{var p;return(p=h.animationState)==null?void 0:p.setActive(l,u)}),n[l].isActive=u;const c=o(l);for(const h in n)n[h].protectedKeys={};return c}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=eg()}}}function aA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!m1(t,e):!1}function vr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eg(){return{animate:vr(!0),whileInView:vr(),whileHover:vr(),whileTap:vr(),whileDrag:vr(),whileFocus:vr(),exit:vr()}}class pr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class lA extends pr{constructor(t){super(t),t.animationState||(t.animationState=oA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Bl(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 uA=0;class cA extends pr{constructor(){super(...arguments),this.id=uA++}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||{};
vendor: 16,057 bytes, line 216
216n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const dA={animation:{Feature:lA},exit:{Feature:cA}};function ao(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Co(e){return{point:{x:e.pageX,y:e.pageY}}}const fA=e=>t=>ah(t)&&e(t,Co(t));function Ls(e,t,n,r){return ao(e,t,fA(n),r)}const y1=1e-4,hA=1-y1,pA=1+y1,v1=.01,mA=0-v1,gA=0+v1;function He(e){return e.max-e.min}function yA(e,t,n){return Math.abs(e-t)<=n}function tg(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=He(n)/He(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=hA&&e.scale<=pA||isNaN(e.scale))&&(e.scale=1),(e.translate>=mA&&e.translate<=gA||isNaN(e.translate))&&(e.translate=0)}function Ds(e,t,n,r){tg(e.x,t.x,n.x,r?r.originX:void 0),tg(e.y,t.y,n.y,r?r.originY:void 0)}function ng(e,t,n){e.min=n.min+t.min,e.max=e.min+He(t)}function vA(e,t,n){ng(e.x,t.x,n.x),ng(e.y,t.y,n.y)}function rg(e,t,n){e.min=t.min-n.min,e.max=e.min+He(t)}function sl(e,t,n){rg(e.x,t.x,n.x),rg(e.y,t.y,n.y)}function ht(e){return[e("x"),e("y")]}const x1=({current:e})=>e?e.ownerDocument.defaultView:null,ig=(e,t)=>Math.abs(e-t);function xA(e,t){const n=ig(e.x,t.x),r=ig(e.y,t.y);return Math.sqrt(n**2+r**2)}const sg=new Set(["auto","scroll"]);class w1{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Vu(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,y=xA(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!y)return;const{point:b}=p,{timestamp:g}=ke;this.history.push({...b,timestamp:g});const{onStart:m,onMove:v}=this.handlers;w||(m&&m(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,w)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=Iu(w,this.transformPagePoint),ne.update(this.updatePoint,!0)},this.handlePointerUp=(p,w)=>{this.end();const{onEnd:y,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Vu(p.type==="pointercancel"?this.lastMoveEventInfo:Iu(w,this.transformPagePoint),this.history);this.startEvent&&y&&y(p,m),b&&b(p,m)},!ah(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=Co(t),u=Iu(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=ke;this.history=[{...c,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Vu(u,this.history)),this.removeListeners=wo(Ls(this.contextWindow,"pointermove",this.handlePointerMove),Ls(this.contextWindow,"pointerup",this.handlePointerUp),Ls(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(sg.has(r.overflowX)||sg.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),ne.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Wt(this.updatePoint)}}function Iu(e,t){return t?{point:t(e.point)}:e}function og(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vu({point:e},t){return{point:e,delta:og(e,b1(t)),offset:og(e,wA(t)),velocity:bA(t,.1)}}function wA(e){return e[0]}function b1(e){return e[e.length-1]}function bA(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=b1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>tn(t)));)n--;if(!r)return{x:0,y:0};const s=vt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function SA(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function ag(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 CA(e,{top:t,left:n,bottom:r,right:i}){return{x:ag(e.x,n,i),y:ag(e.y,t,r)}}function lg(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 EA(e,t){return{x:lg(e.x,t.x),y:lg(e.y,t.y)}}function TA(e,t){let n=.5;const r=He(e),i=He(t);return i>r?n=$i(t.min,t.max-r,e.min):r>i&&(n=$i(e.min,e.max-i,t.min)),Ut(0,1,n)}function PA(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 xd=.35;function kA(e=xd){return e===!1?e=0:e===!0&&(e=xd),{x:ug(e,"left","right"),y:ug(e,"top","bottom")}}function ug(e,t,n){return{min:cg(e,t),max:cg(e,n)}}function cg(e,t){return typeof e=="number"?e:e[t]||0}const NA=new WeakMap;class jA{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=Ce(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=d=>{n?(this.stopAnimation(),this.snapToCursor(Co(d).point)):this.pauseAnimation()},o=(d,h)=>{this.stopAnimation();const{drag:p,dragPropagation:w,onDragStart:y}=this.getProps();if(p&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Tj(p),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ht(g=>{let m=this.getAxisMotionValue(g).get()||0;if(nn.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[g];S&&(m=He(S)*(parseFloat(m)/100))}}this.originPoint[g]=m}),y&&ne.postRender(()=>y(d,h)),yd(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:w,onDirectionLock:y,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=h;if(w&&this.currentDirection===null){this.currentDirection=RA(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),b&&b(d,h)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>ht(d=>{var h;return this.getAnimationState(d)==="paused"&&((h=this.getAxisMotionValue(d).animation)==null?void 0:h.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new w1(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:x1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&ne.postRender(()=>a(r,i))}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||!Jo(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=SA(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&xs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=CA(r.layoutBox,t):this.constraints=!1,this.elastic=kA(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ht(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=PA(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!xs(t))return!1;const r=t.current;lr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=AR(r,i.root,this.visualElement.getTransformPagePoint());let o=EA(i.layout.layoutBox,s);if(n){const a=n(NR(o));this.hasMutatedConstraints=!!a,a&&(o=i1(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=ht(c=>{if(!Jo(c,n,this.currentDirection))return;let d=l&&l[c]||{};o&&(d={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,w={type:"inertia",velocity:r?t[c]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return yd(this.visualElement,t),r.start(yh(t,r,0,n,this.visualElement,!1))}stopAnimation(){ht(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ht(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){ht(n=>{const{drag:r}=this.getProps();if(!Jo(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-pe(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!xs(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};ht(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=TA({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ht(o=>{if(!Jo(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(pe(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;NA.set(this.visualElement,this);const t=this.visualElement.current,n=Ls(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&!Bw(l.target)&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();xs(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ne.read(r);const o=ao(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(ht(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=xd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function Jo(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function RA(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class AA extends pr{constructor(t){super(t),this.removeGroupControls=tt,this.removeListeners=tt,this.controls=new jA(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const dg=e=>(t,n)=>{e&&ne.postRender(()=>e(t,n))};class MA extends pr{constructor(){super(...arguments),this.removePointerDownListener=tt}onPointerDown(t){this.session=new w1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:dg(t),onStart:dg(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&ne.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Ls(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 ba={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Fu=!1;class LA extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),Fu&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),ba.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,Fu=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||ne.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),oh.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Fu=!0,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 S1(e){const[t,n]=Ww(),r=x.useContext(Vf);return f.jsx(LA,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(n1),isPresent:t,safeToRemove:n})}function DA(e,t,n){const r=_e(e)?e:It(e);return r.start(yh("",r,t,n)),r.animation}const OA=(e,t)=>
vendor: 5,367 bytes, line 216
216e.depth-t.depth;class IA{constructor(){this.children=[],this.isDirty=!1}add(t){_f(this.children,t),this.isDirty=!0}remove(t){zf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(OA),this.isDirty=!1,this.children.forEach(t)}}function VA(e,t){const n=We.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(Wt(r),e(s-t))};return ne.setup(r,!0),()=>Wt(r)}const C1=["TopLeft","TopRight","BottomLeft","BottomRight"],FA=C1.length,fg=e=>typeof e=="string"?parseFloat(e):e,hg=e=>typeof e=="number"||F.test(e);function _A(e,t,n,r,i,s){i?(e.opacity=pe(0,n.opacity??1,zA(r)),e.opacityExit=pe(t.opacity??1,0,BA(r))):s&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let o=0;o<FA;o++){const a=`border${C1[o]}Radius`;let l=pg(t,a),u=pg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||hg(l)===hg(u)?(e[a]=Math.max(pe(fg(l),fg(u),r),0),(nn.test(u)||nn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function pg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const zA=E1(0,.5,ow),BA=E1(.5,.95,tt);function E1(e,t,n){return r=>r<e?0:r>t?1:n($i(e,t,r))}function mg(e,t){e.min=t.min,e.max=t.max}function Nt(e,t){mg(e.x,t.x),mg(e.y,t.y)}function gg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function yg(e,t,n,r,i){return e-=t,e=il(e,1/n,r),i!==void 0&&(e=il(e,1/i,r)),e}function $A(e,t=0,n=1,r=.5,i,s=e,o=e){if(nn.test(t)&&(t=parseFloat(t),t=pe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=pe(s.min,s.max,r);e===s&&(a-=t),e.min=yg(e.min,t,n,a,i),e.max=yg(e.max,t,n,a,i)}function vg(e,t,[n,r,i],s,o){$A(e,t[n],t[r],t[i],t.scale,s,o)}const UA=["x","scaleX","originX"],WA=["y","scaleY","originY"];function xg(e,t,n,r){vg(e.x,t,UA,n?n.x:void 0,r?r.x:void 0),vg(e.y,t,WA,n?n.y:void 0,r?r.y:void 0)}function wg(e){return e.translate===0&&e.scale===1}function T1(e){return wg(e.x)&&wg(e.y)}function bg(e,t){return e.min===t.min&&e.max===t.max}function HA(e,t){return bg(e.x,t.x)&&bg(e.y,t.y)}function Sg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function P1(e,t){return Sg(e.x,t.x)&&Sg(e.y,t.y)}function Cg(e){return He(e.x)/He(e.y)}function Eg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class KA{constructor(){this.members=[]}add(t){_f(this.members,t),t.scheduleRender()}remove(t){if(zf(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 s=this.members[i];if(s.isPresent!==!1){r=s;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 GA(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:h,skewX:p,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),w&&(r+=`skewY(${w}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"}const _u=["","X","Y","Z"],YA=1e3;let QA=0;function zu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function k1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=f1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ne,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&k1(r)}function N1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=QA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 10,562 bytes, line 216
216{this.projectionUpdateScheduled=!1,this.nodes.forEach(ZA),this.nodes.forEach(nM),this.nodes.forEach(rM),this.nodes.forEach(JA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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 IA)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new $f),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=lh(o)&&!_j(o),this.instance=o;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const h=()=>this.root.updateBlockedByResize=!1;ne.read(()=>{d=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,c&&c(),c=VA(h,250),ba.hasAnimatedSinceResize&&(ba.hasAnimatedSinceResize=!1,this.nodes.forEach(kg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||u.getDefaultTransition()||lM,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=u.getProps(),g=!this.targetLayout||!P1(this.targetLayout,p),m=!d&&h;if(this.options.layoutRoot||this.resumeFrom||m||d&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...nh(w,"layout"),onPlay:y,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,m)}else d||kg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Wt(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(iM),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&k1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.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(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Tg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Pg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tM),this.nodes.forEach(XA),this.nodes.forEach(qA)):this.nodes.forEach(Pg),this.clearAllSnapshots();const a=We.now();ke.delta=Ut(0,1e3/60,a-ke.timestamp),ke.timestamp=a,ke.isProcessing=!0,ku.update.process(ke),ku.preRender.process(ke),ku.render.process(ke),ke.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,oh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eM),this.sharedNodes.forEach(sM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!He(this.snapshot.measuredBox.x)&&!He(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Ce(),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,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!T1(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||br(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),uM(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Ce();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(cM))){const{scroll:c}=this.root;c&&(di(a.x,c.offset.x),di(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=Ce();if(Nt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:h}=c;c!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&Nt(a,o),di(a.x,d.offset.x),di(a.y,d.offset.y))}return a}applyTransform(o,a=!1){const l=Ce();Nt(l,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&fi(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),br(c.latestValues)&&fi(l,c.latestValues)}return br(this.latestValues)&&fi(l,this.latestValues),l}removeTransform(o){const a=Ce();Nt(a,o);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!br(u.latestValues))continue;hd(u.latestValues)&&u.updateSnapshot();const c=Ce(),d=u.measurePageBox();Nt(c,d),xg(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return br(this.latestValues)&&xg(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==ke.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;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(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=ke.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ce(),this.targetWithTransforms=Ce()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Nt(this.target,this.layout.layoutBox),o1(this.target,this.targetDelta)):Nt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||hd(this.parent.latestValues)||s1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ce(),this.relativeTargetOrigin=Ce(),sl(this.relativeTargetOrigin,a,l),Nt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&
vendor: 5,271 bytes, line 216
216(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===ke.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;Nt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;RR(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Ce());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(gg(this.prevProjectionDelta.x,this.projectionDelta.x),gg(this.prevProjectionDelta.y,this.projectionDelta.y)),Ds(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!Eg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Eg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hi(),this.projectionDelta=hi(),this.projectionDeltaWithTransform=hi()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=hi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Ce(),p=l?l.source:void 0,w=this.layout?this.layout.source:void 0,y=p!==w,b=this.getStack(),g=!b||b.members.length<=1,m=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(aM));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const C=S/1e3;Ng(d.x,o.x,C),Ng(d.y,o.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sl(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),oM(this.relativeTarget,this.relativeTargetOrigin,h,C),v&&HA(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ce()),Nt(v,this.relativeTarget)),y&&(this.animationValues=c,_A(c,u,this.latestValues,C,m,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){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&&(Wt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ne.update(()=>{ba.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=It(0)),this.currentAnimation=DA(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),o.onUpdate&&o.onUpdate(c)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(YA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&j1(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ce();const d=He(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const h=He(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}Nt(a,l),fi(a,c),Ds(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new KA),this.sharedNodes.get(o).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 o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}
vendor: 4,211 bytes, line 216
216resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&zu("z",o,u,this.animationValues);for(let c=0;c<_u.length;c++)zu(`rotate${_u[c]}`,o,u,this.animationValues),zu(`skew${_u[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=wa(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=wa(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!br(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=GA(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),o.transform=d;const{x:h,y:p}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:o.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const w in fd){if(c[w]===void 0)continue;const{correct:y,applyTo:b,isCSSVariable:g}=fd[w],m=d==="none"?c[w]:y(c[w],u);if(b){const v=b.length;for(let S=0;S<v;S++)o[b[S]]=m}else g?this.options.visualElement.renderState.vars[w]=m:o[w]=m}this.options.layoutId&&(o.pointerEvents=u===this?wa(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Tg),this.root.sharedNodes.clear()}}}function XA(e){e.updateLayout()}function qA(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:s}=e.options,o=t.source!==e.layout.source;s==="size"?ht(d=>{const h=o?t.measuredBox[d]:t.layoutBox[d],p=He(h);h.min=r[d].min,h.max=h.min+p}):j1(s,t.layoutBox,r)&&ht(d=>{const h=o?t.measuredBox[d]:t.layoutBox[d],p=He(r[d]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=hi();Ds(a,r,t.layoutBox);const l=hi();o?Ds(l,e.applyTransform(i,!0),t.measuredBox):Ds(l,r,t.layoutBox);const u=!T1(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:h,layout:p}=d;if(h&&p){const w=Ce();sl(w,t.layoutBox,h.layoutBox);const y=Ce();sl(y,r,p.layoutBox),P1(w,y)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=w,e.relativeParent=d)}}}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 ZA(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 JA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function eM(e){e.clearSnapshot()}function Tg(e){e.clearMeasurements()}function Pg(e){e.isLayoutDirty=!1}function tM(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function kg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nM(e){e.resolveTargetDelta()}function rM(e){e.calcProjection()}
216function iM(e){e.resetSkewAndRotation()}function sM(e){e.removeLeadSnapshot()}function Ng(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function jg(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function oM(e,t,n,r){jg(e.x,t.x,n.x,r),jg(e.y,t.y,n.y,r)}function aM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const lM={duration:.45,ease:[.4,0,.1,1]},Rg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ag=Rg("applewebkit/")&&!Rg("chrome/")?Math.round:tt;function Mg(e){e.min=Ag(e.min),e.max=Ag(e.max)}function uM(e){Mg(e.x),Mg(e.y)}function j1(e,t,n){return e==="position"||e==="preserve-aspect"&&!yA(Cg(t),Cg(n),.2)}function cM(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const dM=N1({attachResizeListener:(e,t)=>ao(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Bu={current:void 0},R1=N1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Bu.current){const e=new dM({});e.mount(window),e.setOptions({layoutScroll:!0}),Bu.current=e}return Bu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),fM={pan:{Feature:MA},drag:{Feature:AA,ProjectionNode:R1,MeasureLayout:S1}};function Lg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&ne.postRender(()=>s(t,Co(t)))}class hM extends pr{mount(){const{current:t}=this.node;t&&(this.unmount=Pj(t,(n,r)=>(Lg(this.node,r,"Start"),i=>Lg(this.node,i,"End"))))}unmount(){}}class pM extends pr{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=wo(ao(this.node.current,"focus",()=>this.onFocus()),ao(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Dg(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),s=r[i];s&&ne.postRender(()=>s(t,Co(t)))}class mM extends pr{mount(){const{current:t}=this.node;t&&(this.unmount=jj(t,(n,r)=>(Dg(this.node,r,"Start"),(i,{success:s})=>Dg(this.node,i,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const wd=new WeakMap,$u=new WeakMap,gM=e=>{const t=wd.get(e.target);t&&t(e)},yM=e=>{e.forEach(gM)};function vM({root:e,...t}){const n=e||document;$u.has(n)||$u.set(n,{});const r=$u.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(yM,{root:e,...t})),r[i]}function xM(e,t,n){const r=vM(t);return wd.set(e,n),r.observe(e),()=>{wd.delete(e),r.unobserve(e)}}const wM={some:0,all:1};class bM extends pr{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:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:wM[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),h=u?c:d;h&&h(l)};return xM(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(SM(t,n))&&this.startObserver()}unmount(){}}function SM({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const CM={inView:{Feature:bM},tap:{Feature:mM},focus:{Feature:pM},hover:{Feature:hM}},EM={layout:{ProjectionNode:R1,MeasureLayout:S1}},TM={...dA,...CM,...fM,...EM},D=kR(TM,zR),PM=50,Og=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),kM=()=>({time:0,x:Og(),y:Og()}),NM={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Ig(e,t,n,r){const i=n[t],{length:s,position:o}=NM[t],a=i.current,l=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=$i(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>PM?0:Uf(i.current-a,u)}function jM(e,t,n){Ig(e,"x",t,n),Ig(e,"y",t,n),t.time=n}function RM(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(sh(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const i=r.getBoundingClientRect();r=r.parentElement;const s=r.getBoundingClientRect();n.x+=i.left-s.left,n.y+=i.top-s.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:s}=r.getBBox();n.x+=i,n.y+=s;let o=null,a=r.parentNode;for(;!o;)a.tagName==="svg"&&(o=a),a=r.parentNode;r=o}else break;return n}const bd={start:0,center:.5,end:1};function Vg(e,t,n=0){let r=0;if(e in bd&&(e=bd[e]),typeof e=="string"){const i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}const AM=[0,0];function MM(e,t,n,r){let i=Array.isArray(e)?e:AM,s=0,o=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,bd[e]?e:"0"]),s=Vg(i[0],n,r),o=Vg(i[1],t),s-o}const LM={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},DM={x:0,y:0};function OM(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}
216function IM(e,t,n){const{offset:r=LM.All}=n,{target:i=e,axis:s="y"}=n,o=s==="y"?"height":"width",a=i!==e?RM(i,e):DM,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:OM(i),u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let c=!t[s].interpolate;const d=r.length;for(let h=0;h<d;h++){const p=MM(r[h],u[o],l[o],a[s]);!c&&p!==t[s].interpolatorOffsets[h]&&(c=!0),t[s].offset[h]=p}c&&(t[s].interpolate=qf(t[s].offset,Sw(r),{clamp:!1}),t[s].interpolatorOffsets=[...t[s].offset]),t[s].progress=Ut(0,1,t[s].interpolate(t[s].current))}function VM(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function FM(e,t,n,r={}){return{measure:i=>{VM(e,r.target,n),jM(e,n,i),(r.offset||r.target)&&IM(e,n,r)},notify:()=>t(n)}}const hs=new WeakMap,Fg=new WeakMap,Uu=new WeakMap,_g=e=>e===document.scrollingElement?window:e;function A1(e,{container:t=document.scrollingElement,...n}={}){if(!t)return tt;let r=Uu.get(t);r||(r=new Set,Uu.set(t,r));const i=kM(),s=FM(t,e,i,n);if(r.add(s),!hs.has(t)){const a=()=>{for(const d of r)d.measure(ke.timestamp);ne.preUpdate(l)},l=()=>{for(const d of r)d.notify()},u=()=>ne.read(a);hs.set(t,u);const c=_g(t);window.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&Fg.set(t,Fj(t,u)),c.addEventListener("scroll",u,{passive:!0}),u()}const o=hs.get(t);return ne.read(o,!1,!0),()=>{var u;Wt(o);const a=Uu.get(t);if(!a||(a.delete(s),a.size))return;const l=hs.get(t);hs.delete(t),l&&(_g(t).removeEventListener("scroll",l),(u=Fg.get(t))==null||u(),window.removeEventListener("resize",l))}}const zg=new Map;function _M(e){const t={value:0},n=A1(r=>
216{t.value=r[e.axis].progress*100},e);return{currentTime:t,cancel:n}}function M1({source:e,container:t,...n}){const{axis:r}=n;e&&(t=e);const i=zg.get(t)??new Map;zg.set(t,i);const s=n.target??"self",o=i.get(s)??{},a=r+(n.offset??[]).join(",");return o[a]||(o[a]=!n.target&&Pw()?new ScrollTimeline({source:t,axis:r}):_M({container:t,...n})),o[a]}function zM(e,t){const n=M1(t);return e.attachTimeline({timeline:t.target?void 0:n,observe:r=>(r.pause(),Uw(i=>{r.time=r.iterationDuration*i},n))})}function BM(e){return e.length===2}function $M(e,t){return BM(e)?A1(n=>{e(n[t.axis].progress,n)},t):Uw(e,M1(t))}function UM(e,{axis:t="y",container:n=document.scrollingElement,...r}={}){if(!n)return tt;const i={axis:t,container:n,...r};return typeof e=="function"?$M(e,i):zM(e,i)}const WM=()=>({scrollX:It(0),scrollY:It(0),scrollXProgress:It(0),scrollYProgress:It(0)}),ea=e=>e?!e.current:!1;function L1({container:e,target:t,...n}={}){const r=Xi(WM),i=x.useRef(null),s=x.useRef(!1),o=x.useCallback(()=>(i.current=UM((a,{x:l,y:u})=>{r.scrollX.set(l.current),r.scrollXProgress.set(l.progress),r.scrollY.set(u.current),r.scrollYProgress.set(u.progress)},{...n,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0}),()=>{var a;(a=i.current)==null||a.call(i)}),[e,t,JSON.stringify(n.offset)]);return Il(()=>{if(s.current=!1,ea(e)||ea(t)){s.current=!0;return}else return o()},[o]),x.useEffect(()=>{if(s.current)return lr(!ea(e),"Container ref is defined but not hydrated","use-scroll-ref"),lr(!ea(t),"Target ref is defined but not hydrated","use-scroll-ref"),o()},[o]),r}function HM(e){const t=Xi(()=>It(e)),{isStatic:n}=x.useContext(_l);if(n){const[,r]=x.useState(e);x.useEffect(()=>t.on("change",r),[])}return t}function D1(e,t){const n=HM(t()),r=()=>n.set(t());return r(),Il(()=>{const i=()=>ne.preRender(r,!1,!0),s=e.map(o=>o.on("change",i));return()=>{s.forEach(o=>o()),Wt(r)}}),n}function KM(e){Ms.current=[],e();const t=D1(Ms.current,e);return Ms.current=void 0,t}function pi(e,t,n,r){if(typeof e=="function")return KM(e);const i=typeof t=="function"?t:zj(t,n,r);return Array.isArray(e)?Bg(e,i):Bg([e],([s])=>i(s))}function Bg(e,t){const n=Xi(()=>[]);return D1(e,()=>{n.length=0;const r=e.length;for(let i=0;i<r;i++)n[i]=e[i].get();return t(n)})}const GM={some:0,all:1};function YM(e,t,{root:n,margin:r,amount:i="some"}={}){const s=ih(e),o=new WeakMap,a=u=>{u.forEach(c=>{const d=o.get(c.target);if(c.isIntersecting!==!!d)if(c.isIntersecting){const h=t(c.target,c);typeof h=="function"?o.set(c.target,h):l.unobserve(c.target)}else typeof d=="function"&&(d(c),o.delete(c.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof i=="number"?i:GM[i]});return s.forEach(u=>l.observe(u)),()=>l.disconnect()}function on(e,{root:t,margin:n,amount:r,once:i=!1,initial:s=!1}={}){const[o,a]=x.useState(s);return x.useEffect(()=>{if(!e.current||i&&o)return;const l=()=>(a(!0),i?void 0:()=>a(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return YM(e.current,l,u)},[t,e,n,i,r]),o}const $g=[{name:"About",href:"#about"},{name:"Programs",href:"#programs"},{name:"Leadership",href:"#leadership"},{name:"Stories",href:"#stories"},{name:"Contact",href:"#contact"}],QM=()=>{const[e,t]=x.useState(!1),[n,r]=x.useState(!1);return x.useEffect(()=>{const i=setTimeout(()=>r(!0),2e3);return()=>clearTimeout(i)},[]),f.jsxs(f.Fragment,{children:[f.jsx(Bm,{children:n&&f.jsxs(D.div,{initial:{opacity:0,y:-20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-20,scale:.95},transition:{duration:.3},className:"fixed top-24 right-4 z-[70] bg-foreground text-background rounded-xl shadow-lg p-4 max-w-xs border border-border",children:[f.jsx("button",{onClick:()=>r(!1),className:"absolute top-2 right-2 text-background/60 hover:text-background transition-colors","aria-label":"Dismiss",children:f.jsx(zc,{className:"w-4 h-4"})}),f.jsxs("a",{href:"tel:211",className:"flex items-center gap-3 group",children:[f.jsx("div",{className:"w-10 h-10 bg-primary rounded-full flex items-center justify-center shrink-0",children:f.jsx(Cf,{className:"w-5 h-5 text-primary-foreground"})}),f.jsxs("div",{children:[f.jsx("p",{className:"font-semibold text-sm",children:"Need immediate help?"}),f.jsxs("p",{className:"text-xs text-background/70",children:["Call ",f.jsx("span",{className:"font-bold text-background",children:"2-1-1"})," — free, confidential 24/7"]})]})]})]})}),f.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-sm border-b border-border",children:f.jsxs("div",{className:"container-main",children:[f.jsxs("nav",{className:"flex items-center justify-between h-20 px-6 md:px-8",children:[f.jsxs("a",{href:"#",className:"flex items-center gap-3 group",children:[f.jsx("div",{className:"w-10 h-10 bg-primary rounded-lg flex items-center justify-center shadow-soft group-hover:shadow-medium transition-shadow duration-300",children:f.jsx(Tl,{className:"w-5 h-5 text-primary-foreground"})}),f.jsx("span",{className:"font-display text-xl font-semibold text-foreground",children:"Level Up Home"})]}),f.jsx("div",{className:"hidden md:flex items-center gap-8",children:$g.map(i=>f.jsx("a",{href:i.href,className:"text-muted-foreground hover:text-foreground transition-colors duration-200 font-medium text-sm",children:i.name},i.name))}),f.jsx("button",{onClick:()=>t(!e),className:"md:hidden p-2 text-foreground","aria-label":"Toggle menu",children:e?f.jsx(zc,{className:"w-6 h-6"}):f.jsx(CE,{className:"w-6 h-6"})})]}),f.jsx(Bm,{children:e&&f.jsx(D.div,{initial:{opacity:0,height:0}
216,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"md:hidden overflow-hidden bg-card border-t border-border",children:f.jsx("div",{className:"flex flex-col py-6 px-6 gap-4",children:$g.map(i=>f.jsx("a",{href:i.href,onClick:()=>t(!1),className:"text-foreground hover:text-primary transition-colors duration-200 font-medium py-2",children:i.name},i.name))})})})]})})]})},XM=Hv("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-all duration-300 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 font-body",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-forest-dark shadow-soft hover:shadow-medium",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border-2 border-primary bg-transparent text-primary hover:bg-primary hover:text-primary-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-cream-dark",ghost:"hover:bg-secondary hover:text-secondary-foreground",link:"text-primary underline-offset-4 hover:underline",hero:"bg-primary text-primary-foreground hover:bg-forest-dark shadow-medium hover:shadow-lg text-base px-8 py-6 rounded-xl",heroOutline:"border-2 border-primary bg-transparent text-primary hover:bg-primary hover:text-primary-foreground text-base px-8 py-6 rounded-xl",accent:"bg-amber text-charcoal hover:bg-amber-light shadow-soft hover:shadow-medium"},size:{default:"h-10 px-5 py-2",sm:"h-9 rounded-md px-3",lg:"h-12 rounded-xl px-8 text-base",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),wt=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?CC:"button";return f.jsx(o,{className:hr(XM({variant:t,size:n,className:e})),ref:s,...i})});wt.displayName="Button";const qM="/assets/hero-image-C5yAL9SB.jpg",ZM=()=>{const e=x.useRef(null),{scrollYProgress:t}=L1({target:e,offset:["start start","end start"]}),n=pi(t,[0,1],["0%","30%"]),r=pi(t,[0,1],["0%","50%"]),i=pi(t,[0,1],[1,1.1]),s=pi(t,[0,.5],[1,0]);return f.jsxs("section",{ref:e,className:"relative min-h-screen flex items-center pt-[120px] overflow-hidden",children:[f.jsx(D.div,{style:{y:n},className:"absolute inset-0 bg-gradient-to-br from-cream via-background to-cream-dark"}),f.jsx(D.div,{animate:{scale:[1,1.2,1],opacity:[.05,.1,.05]},transition:{duration:8,repeat:1/0,ease:"easeInOut"},className:"absolute top-40 left-10 w-72 h-72 bg-primary/10 rounded-full blur-3xl"}),f.jsx(D.div,{animate:{scale:[1.2,1,1.2],opacity:[.1,.15,.1]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute bottom-20 right-10 w-96 h-96 bg-amber/15 rounded-full blur-3xl"}),f.jsx(D.div,{style:{opacity:s},className:"container-main relative z-10 px-6 md:px-8",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[f.jsxs(D.div,{style:{y:r},initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"text-center lg:text-left",children:[f.jsxs(D.div,{initial:{opacity:0,y:20,scale:.9},animate:{opacity:1,y:0,scale:1},transition:{delay:.2,duration:.6},className:"flex flex-wrap items-center justify-center lg:justify-start gap-3 mb-6",children:[f.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 text-primary px-4 py-2 rounded-full text-sm font-medium",children:[f.jsx(D.div,{animate:{scale:[1,1.2,1]},transition:{duration:1.5,repeat:1/0},children:f.jsx(Zs,{className:"w-4 h-4"})}),f.jsx("span",{children:"The Unfinished Work"})]}),f.jsxs("div",{className:"inline-flex items-center gap-1.5 text-muted-foreground text-sm",children:[f.jsx(Js,{className:"w-4 h-4"}),f.jsx("span",{children:"501(c)(3) Nonprofit"})]})]}),f.jsx(D.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.25,duration:.6},className:"text-base text-muted-foreground italic mb-2",children:"If you're carrying the weight of what's happened and quietly wondering what comes next—"}),f.jsxs(D.h1,{initial:{opacity:0,y:20}
216,animate:{opacity:1,y:0},transition:{delay:.3,duration:.6},className:"font-display text-4xl md:text-5xl lg:text-6xl font-bold text-foreground leading-tight mb-6",children:["Your Next Chapter"," ",f.jsx(D.span,{className:"text-primary inline-block",whileHover:{scale:1.05},transition:{type:"spring",stiffness:300},children:"Starts Here"})]}),f.jsx(D.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6},className:"text-lg md:text-xl text-muted-foreground max-w-xl mx-auto lg:mx-0 mb-8 leading-relaxed",children:"Level Up offers a steady, practical path forward. No judgment. No shortcuts. Just real support, recovery housing, and real change—led by people who've walked this path."}),f.jsx(D.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6,duration:.6},className:"space-y-4",children:f.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center lg:justify-start",children:[f.jsxs(D.div,{whileHover:{scale:1.05},whileTap:{scale:.98},className:"flex flex-col items-center lg:items-start",children:[f.jsx(wt,{variant:"hero",asChild:!0,className:"btn-glow min-h-[52px] text-base px-8 shadow-lg",children:f.jsxs("a",{href:"https://www.sobrietyhub.app/dashboard/forms/public/2557430c-ec5a-4b0f-ac8c-40ccc037182c",target:"_blank",rel:"noopener noreferrer",children:["Apply Now",f.jsx(D.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0},children:f.jsx(vo,{className:"w-5 h-5"})})]})}),f.jsxs("div",{className:"flex items-center gap-3 mt-2 text-xs text-muted-foreground",children:[f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(bE,{className:"w-3 h-3"}),"Confidential"]}),f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(Sf,{className:"w-3 h-3"}),"Under 10 min"]})]})]}),f.jsx(D.div,{whileHover:{scale:1.05},whileTap:{scale:.98},children:f.jsx(wt,{variant:"accent",size:"lg",asChild:!0,className:"min-h-[48px]",children:f.jsx("a",{href:"https://www.paypal.com/ncp/payment/6XGWZNZDCCATL",target:"_blank",rel:"noopener noreferrer",children:"Donate"})})})]})})]}),f.jsxs(D.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{delay:.3,duration:.8},className:"relative",children:[f.jsxs(D.div,{style:{scale:i},className:"relative rounded-2xl overflow-hidden shadow-medium img-zoom",children:[f.jsx("img",{src:qM,alt:"Community members at Level Up Home",className:"w-full h-[500px] object-cover"}),f.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-charcoal/30 to-transparent"})]}),f.jsxs(D.div,{initial:{opacity:0,x:20,y:20},animate:{opacity:1,x:0,y:0},transition:{delay:.8,duration:.6},whileHover:{scale:1.05,y:-5},className:"absolute -bottom-6 -left-6 bg-card p-6 rounded-xl shadow-medium border border-border max-w-xs float-animation",children:[f.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[f.jsx(D.div,{className:"w-10 h-10 bg-amber/20 rounded-full flex items-center justify-center",animate:{rotate:[0,10,-10,0]},transition:{duration:4,repeat:1/0},children:f.jsx(Zs,{className:"w-5 h-5 text-amber"})}),f.jsx("span",{className:"font-display font-semibold text-foreground",children:"Our Mission"})]}),f.jsx("p",{className:"text-sm text-muted-foreground",children:"Dignity, opportunity, and community create momentum from surviving to thriving."})]})]})]})})]})},JM="/assets/about-image-DK7pVozM.jpg",eL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"});return f.jsx("section",{id:"about",className:"section-padding bg-secondary",ref:e,children:f.jsx("div",{className:"container-main",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-20 items-center",children:[f.jsxs(D.div,{initial:{opacity:0,x:-30},animate:t?{opacity:1,x:0}:{},transition:{duration:.8,ease:"easeOut"},className:"relative order-2 lg:order-1",children:[f.jsx("div",{className:"relative rounded-2xl overflow-hidden shadow-medium",children:f.jsx("img",{src:JM,alt:"Supportive community environment",className:"w-full h-[450px] object-cover"})}),f.jsx("div",{className:"absolute -bottom-4 -right-4 w-full h-full bg-primary/10 rounded-2xl -z-10"})]}),f.jsxs(D.div,{initial:{opacity:0,x:30},animate:t?{opacity:1,x:0}:{},transition:{duration:.8,ease:"easeOut",delay:.2},className:"order-1 lg:order-2",children:[f.jsx(D.p,{initial:{opacity:0}
216,animate:t?{opacity:1}:{},transition:{delay:.1,duration:.6},className:"text-primary font-medium text-lg italic mb-6 border-l-4 border-primary pl-4",children:"You don't have to have everything figured out to take the next step. You just have to be willing to start."}),f.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Who We Serve"}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 mb-6",children:"For Men Ready to Rebuild"}),f.jsx("p",{className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:"We serve men leaving incarceration and those committed to a journey of recovery, accountability and progress. Our community is built on mutual respect, shared experience, and the understanding that change happens through consistent action and unwavering support."}),f.jsxs("div",{className:"bg-card p-6 rounded-xl border border-border",children:[f.jsx("h3",{className:"font-display text-xl font-semibold text-foreground mb-4",children:"What You'll Find Here"}),f.jsxs("ul",{className:"space-y-3",children:[f.jsxs("li",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"w-2 h-2 bg-amber rounded-full mt-2"}),f.jsx("span",{className:"text-foreground",children:"Coaching, job readiness training, and financial foundations"})]}),f.jsxs("li",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"w-2 h-2 bg-amber rounded-full mt-2"}),f.jsx("span",{className:"text-foreground",children:"Community that believes in your next chapter and walks alongside you"})]})]})]})]})]})})})},tL=[{icon:NE,title:"Growth Mindset",description:"Learn, practice, prove. Every day strengthens your capacity for change."},{icon:Yv,title:"Belonging",description:"Community, mentors, brotherhood. You're not walking this path alone."},{icon:kE,title:"Agency",description:"Clear goals, real choices, responsibility. Your decisions shape your future."},{icon:Tl,title:"Stability",description:"Structure, safety, housing. A solid foundation makes everything else possible."},{icon:AE,title:"Momentum",description:"Daily wins that compound. Small steps forward create lasting transformation."}],nL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"});return f.jsx("section",{className:"section-padding bg-background",ref:e,children:f.jsxs("div",{className:"container-main",children:[f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Our Approach"}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 mb-4",children:"Healing and Progress Through Practice"}),f.jsx("p",{className:"text-base text-foreground/80 italic mb-4",children:'Staying stuck often looks like "handling it" from the outside, while quietly paying the cost on the inside.'}),f.jsx("p",{className:"text-lg text-muted-foreground",children:"We pair stable housing with coaching, circles, and practical steps. This is healing and progress through practice. We learn from lived experience."})]}),f.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:tL.map((n,r)=>f.jsxs(D.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:r*.1,duration:.5},className:`group bg-card p-8 rounded-2xl shadow-card border border-border card-hover ${r===4?"md:col-span-2 lg:col-span-1":""}`,children:[f.jsx("div",{className:"w-14 h-14 bg-primary/10 rounded-xl flex items-center justify-center mb-6 group-hover:bg-primary/20 transition-colors duration-300",children:f.jsx(n.icon,{className:"w-7 h-7 text-primary"})}),f.jsx("h3",{className:"font-display text-xl font-semibold text-foreground mb-3",children:n.title}),f.jsx("p",{className:"text-muted-foreground leading-relaxed",children:n.description})]},r))})]})})},rL="/assets/housing-image-CwRQ5Daz.jpg",iL="/assets/program-image-DGmFTgw6.jpg",sL=["Clean and recovery-focused shared homes with private or semi-private rooms","Utilities included in your stay","Locations near transit and employment c
216orridors for easy access","Structured daily routines that support recovery and growth"],oL=["Weekly meetings and peer support circles","Reentry planning and personalized case management","Employment readiness, resume building, and interview labs","Financial basics, budgeting, and credit rebuilding workshops","Recovery support and community circles for ongoing healing","Life admin support: IDs, benefits applications, transportation assistance"],Ug={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.2}}},Wg={hidden:{opacity:0,x:-20},visible:{opacity:1,x:0,transition:{duration:.5}}},aL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"}),{scrollYProgress:n}=L1({target:e,offset:["start end","end start"]}),r=pi(n,[0,1],[100,-100]),i=pi(n,[0,1],[50,-50]);return f.jsx("section",{id:"programs",className:"section-padding bg-secondary overflow-hidden",ref:e,children:f.jsxs("div",{className:"container-main",children:[f.jsxs(D.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.7},className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx(D.span,{initial:{opacity:0,scale:.9},animate:t?{opacity:1,scale:1}:{},transition:{delay:.2,duration:.5},className:"inline-block text-primary font-medium text-sm uppercase tracking-wider mb-3",children:"Housing & Programming"}),f.jsx(D.h2,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.3,duration:.6},className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-6",children:"A Safe Bed and a Team in Your Corner"}),f.jsx(D.p,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.4,duration:.6},className:"text-lg text-muted-foreground",children:"You get a safe bed, a steady rhythm, and a team in your corner. Our program combines the essentials of stable housing with the support and skills you need to move forward with confidence."})]}),f.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[f.jsxs(D.div,{style:{y:r},initial:{opacity:0,x:-50},animate:t?{opacity:1,x:0}:{},transition:{delay:.2,duration:.7},whileHover:{y:-10},className:"bg-card rounded-2xl overflow-hidden shadow-card border-2 border-primary/20 card-interactive",children:[f.jsxs(D.div,{className:"relative h-64 img-zoom",whileHover:{scale:1},children:[f.jsx("img",{src:rL,alt:"Transitional housing",className:"w-full h-full object-cover transition-transform duration-700"}),f.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-charcoal/70 via-charcoal/20 to-transparent"}),f.jsxs("div",{className:"absolute bottom-6 left-6 right-6",children:[f.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[f.jsx(Tl,{className:"w-5 h-5 text-amber"}),f.jsx("span",{className:"text-xs text-primary-foreground/80 uppercase tracking-wider",children:"Stable Foundation"})]}),f.jsx(D.h3,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.4,duration:.5},className:"font-display text-2xl font-bold text-primary-foreground",children:"Housing Includes"})]})]}),f.jsx("div",{className:"p-8",children:f.jsx(D.ul,{className:"space-y-4",variants:Ug,initial:"hidden",animate:t?"visible":"hidden",role:"list","aria-label":"Housing features",children:sL.map((s,o)=>f.jsxs(D.li,{className:"flex items-start gap-3",variants:Wg,whileHover:{x:10},children:[f.jsx(D.div,{className:"w-6 h-6 bg-primary/10 rounded-full flex items-center justify-center mt-0.5 flex-shrink-0",whileHover:{scale:1.2,backgroundColor:"hsl(var(--primary) / 0.2)"},children:f.jsx(Bp,{className:"w-3 h-3 text-primary","aria-hidden":"true"})}),f.jsx("span",{className:"text-foreground leading-relaxed",children:s})]},o))})})]}),f.jsxs(D.div,{style:{y:i},initial:{opacity:0,x:50},animate:t?{opacity:1,x:0}:{},transition:{delay:.3,duration:.7},whileHover:{y:-10},className:"bg-card rounded-2xl overflow-hidden shadow-card border-2 border-amber/20 card-interactive",children:[f.jsxs(D.div,{className:"relative h-64 img-zoom",children:[f.jsx("img",{src:iL,alt:"Program and coaching",className:"w-full h-full object-cover transition-transform duration-700"}),f.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-charcoal/70 via-charcoal/20 to-transparent"}),f.jsxs("div",{className:"absolute bottom-6 left-6 right-6",children:[f.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[f.jsx(vE,{className:"w-5 h-5 text-amber"}
216),f.jsx("span",{className:"text-xs text-primary-foreground/80 uppercase tracking-wider",children:"Skills & Support"})]}),f.jsx(D.h3,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.5,duration:.5},className:"font-display text-2xl font-bold text-primary-foreground",children:"Programming Includes"})]})]}),f.jsx("div",{className:"p-8",children:f.jsx(D.ul,{className:"space-y-4",variants:Ug,initial:"hidden",animate:t?"visible":"hidden",role:"list","aria-label":"Programming features",children:oL.map((s,o)=>f.jsxs(D.li,{className:"flex items-start gap-3",variants:Wg,whileHover:{x:10},children:[f.jsx(D.div,{className:"w-6 h-6 bg-amber/10 rounded-full flex items-center justify-center mt-0.5 flex-shrink-0",whileHover:{scale:1.2,backgroundColor:"hsl(var(--amber) / 0.2)"},children:f.jsx(Bp,{className:"w-3 h-3 text-amber","aria-hidden":"true"})}),f.jsx("span",{className:"text-foreground leading-relaxed",children:s})]},o))})})]})]}),f.jsxs(D.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:.6,duration:.6},className:"text-center mt-12",children:[f.jsx(D.div,{whileHover:{scale:1.05},whileTap:{scale:.98},className:"inline-block",children:f.jsx(wt,{variant:"default",size:"lg",className:"btn-glow min-h-[52px] px-8 shadow-md",asChild:!0,children:f.jsxs("a",{href:"https://www.sobrietyhub.app/dashboard/forms/public/2557430c-ec5a-4b0f-ac8c-40ccc037182c",target:"_blank",rel:"noopener noreferrer",children:["Apply Now",f.jsx(D.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0},children:f.jsx(vo,{className:"w-4 h-4"})})]})})}),f.jsxs("div",{className:"flex items-center justify-center gap-4 mt-3 text-xs text-muted-foreground",children:[f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(Sf,{className:"w-3 h-3"}),"Response within 48 hours"]}),f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(Js,{className:"w-3 h-3"}),"Confidential"]})]})]})]})})},lL="/assets/leadership-image-BmfqTihD.jpg",uL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"});return f.jsx("section",{id:"leadership",className:"section-padding bg-background",ref:e,children:f.jsx("div",{className:"container-main",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-20 items-center",children:[f.jsxs(D.div,{initial:{opacity:0,x:-30},animate:t?{opacity:1,x:0}:{},transition:{duration:.8},className:"relative",children:[f.jsx("div",{className:"relative rounded-2xl overflow-hidden shadow-medium",children:f.jsx("img",{src:lL,alt:"Fatherhood and mentorship",className:"w-full h-[500px] object-cover"})}),f.jsx("div",{className:"absolute -bottom-4 -left-4 w-full h-full bg-amber/10 rounded-2xl -z-10"})]}),f.jsxs(D.div,{initial:{opacity:0,x:30},animate:t?{opacity:1,x:0}:{},transition:{duration:.8,delay:.2},children:[f.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Spotlight: Fatherhood & Leadership"}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 mb-6",children:"Fathers Change Futures"}),f.jsx("p",{className:"text-xl text-foreground font-medium mb-4",children:"Mentors multiply it."}),f.jsx("p",{className:"text-lg text-muted-foreground mb-6 leading-relaxed",children:"Being a present father and engaged mentor creates ripples of positive change that extend far beyond one family."}),f.jsxs("div",{className:"bg-secondary p-6 rounded-xl mb-8",children:[f.jsx("h4",{className:"font-display text-lg font-semibold text-foreground mb-3",children:"Our fatherhood circles provide:"}),f.jsx("p",{className:"text-muted-foreground mb-4",children:"Space for men to share struggles, celebrate wins, and learn practical strategies for being the dads their children deserve."}),f.jsx("p",{className:"text-muted-foreground",children:"We help men navigate custody arrangements, child support systems, and the emotional complexity of reconnecting after absence."})]}),f.jsx("div",{className:"bg-primary/5 border-l-4 border-primary p-6 rounded-r-xl mb-8",children:f.jsx("p",{className:"text-foreground font-medium italic",children:"Accountability, vulnerability, and consistent showing up."})}),f.jsxs("div",{children:[f.jsx(wt,{variant:"default",asChild:!0,children:f.jsxs("a",{href:"https://www.paypal.com/ncp/payment/6XGWZNZDCCATL",target:"_blank",rel:"noopener noreferrer",children:[f.jsx(Zs,{className:"w-4 h-4"}),"Support Fatherhood Mentorship"]})}),f.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:"Donate $1,200 to support a mentorship circle"})]})]})]})})})},cL=[{number:"1",title:"Intake",description:"Assessment and goal setting. We listen to your story, together."},{number:"2",title:"Stabilize",description:"Housing, structure, recovery. Establish routines, build trust, and create the foundation for everything that follows."},{number:"3",title:"Skill-Build",description:"Job readiness and life admin. Develop the practical skills and documents you need to access opportunities."},{number:"4",title:"Work",description:"Connect with employers who value second chances and provide ongoing workplace coaching."},{number:"5",title:"Financial Foundations",description:"Budgeting, banking, credit rebuilding. Manage money, save for the future, and repair your financial foundation."},{number:"6",title:"Alumni",description:"Transition to independence and continue growing as part of our extended community."}],dL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"});return f.jsx("section",{className:"section-padding bg-secondary",ref:e,children:f.jsxs("div",{className:"container-main",children:[f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Success Pathway"}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 mb-6",children:"Your Journey With Level Up"}),f.jsx("p",{className:"text-lg text-muted-foreground",children:"Your journey with Level Up follows a clear progression. Each stage builds on the last, creating momentum toward independence, stability, and leadership. This is not a rigid timeline but a flexible framework that adapts to your pace and priorities."})]}),f.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-12",children:cL.map((n,r)=>f.jsx(D.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:r*.1,duration:.5},className:"bg-card p-6 rounded-2xl shadow-card border border-border 
216card-hover",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"w-12 h-12 bg-primary text-primary-foreground rounded-full flex items-center justify-center font-display font-bold text-lg flex-shrink-0",children:n.number}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-display text-lg font-semibold text-foreground mb-2",children:n.title}),f.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:n.description})]})]})},r))}),f.jsx(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.6,duration:.6},className:"text-center",children:f.jsxs(wt,{variant:"default",size:"lg",children:["Apply Now",f.jsx(vo,{className:"w-4 h-4"})]})})]})})},fL=["Men 18 and older exiting incarceration with no registered offenses or facing housing instability","Commitment to recovery and willingness to submit to regular testing","Agreement to program participation and house standards","Willingness to work, learn, and contribute to the community"],hL=["Maintain recovery living environment; participate in random testing","Respect shared spaces, observe quiet hours, clean up after yourself","Attend required meetings and keep your commitments","Zero tolerance for violence, threats, or intimidation","Guests require prior approval from house managers"],pL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"});return f.jsx("section",{className:"section-padding bg-background",ref:e,children:f.jsxs("div",{className:"container-main",children:[f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/10 text-primary px-4 py-2 rounded-full text-sm font-medium mb-4",children:[f.jsx(Js,{className:"w-4 h-4"}),f.jsx("span",{className:"uppercase tracking-wider",children:"Eligibility & House Rules"})]}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 mb-6",children:"Protecting Our Community"}),f.jsx("p",{className:"text-lg text-muted-foreground",children:"Our guidelines exist to protect the community and create an environment where everyone can thrive."})]}),f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.15,duration:.6},className:"bg-amber/10 border border-amber/30 rounded-xl p-4 mb-8 flex items-start gap-3",children:[f.jsx(Yv,{className:"w-5 h-5 text-amber flex-shrink-0 mt-0.5"}),f.jsxs("div",{children:[f.jsx("p",{className:"text-sm font-medium text-foreground",children:"Community Standards"}),f.jsx("p",{className:"text-sm text-muted-foreground",children:"We maintain these standards to ensure safety and accountability for all residents."})]})]}),f.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[f.jsxs(D.div,{initial:{opacity:0,x:-30},animate:t?{opacity:1,x:0}:{},transition:{delay:.2,duration:.6},className:"bg-card p-8 rounded-2xl shadow-card border-2 border-primary/20",children:[f.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[f.jsx("div",{className:"w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center",children:f.jsx(Gv,{className:"w-5 h-5 text-primary"})}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-display text-2xl font-bold text-foreground",children:"Eligibility"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"Who qualifies for our program"})]})]}),f.jsx("ul",{className:"space-y-4",role:"list","aria-label":"Eligibility requirements",children:fL.map((n,r)=>f.jsxs(D.li,{className:"flex items-start gap-3",initial:{opacity:0,x:-20},animate:t?{opacity:1,x:0}:{},transition:{delay:.3+r*.1,duration:.4},children:[f.jsx("div",{className:"w-6 h-6 bg-primary rounded-full flex items-center justify-center flex-shrink-0 mt-0.5",children:f.jsx("svg",{className:"w-3.5 h-3.5 text-primary-foreground",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),f.jsx("span",{className:"text-foreground leading-relaxed",children:n})]},r))})]}),f.jsxs(D.div,{initial:{opacity:0,x:30},animate:t?{opacity:1,x:0}:{},transition:{delay:.3,duration:.6},className:"bg-card p-8 rounded-2xl shadow-card border-2 border-amber/20",children:[f.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[f.jsx("div",{className:"w-10 h-10 bg-amber/10 rounded-full flex items-center justify-center",children:f.jsx(jE,{className:"w-5 h-5 text-amber"})}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-display text-2xl font-bold text-foreground",children:"House Rules"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"Community expectations"})]})]}),f.jsx("ul",{className:"space-y-4",role:"list","aria-label":"House rules",children:hL.map((n,r)=>f.jsxs(D.li,{className:"flex items-start gap-3",initial:{opacity:0,x:20},animate:t?{opacity:1,x:0}:{},transition:{delay:.4+r*.1,duration:.4},children:[f.jsx("div",{className:"w-6 h-6 bg-amber rounded-full flex items-center justify-center flex-shrink-0 mt-0.5",children:f.jsx("svg",{className:"w-3.5 h-3.5 text-charcoal",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),f.jsx("span",{className:"text-foreground leading-relaxed",children:n})]},r))})]})]}),f.jsx(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.5,duration:.6},className:"mt-8 bg-secondary p-6 rounded-xl border border-border",children:f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx(Js,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),f.jsxs("div",{children:[f.jsx("p",{className:"text-sm font-medium text-foreground mb-1",children:"Safety & Accountability"}),f.jsx("p",{className:"text-sm text-muted-foreground",children:"Guidelines help us maintain a supportive environment for everyone. We understand that accountability comes with both firmness and grace."})]})]})})]})})},mL=[{quote:"Stability gave me momentum. For the first time in years, I could plan beyond tomorrow. That changed everything.",label:"Program Graduate",year:"2023"},{quote:"I learned how to hold a job and hold myself accountable. The skills I built, I see the difference.",label:"Program Graduate",year:"2022"},{quote:"I'm building credit and trust, one month at a time. My family sees the difference.",label:"Current Resident",year:"2024"}],gL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"}
216),[n,r]=x.useState(null);return f.jsx("section",{id:"stories",className:"section-padding bg-primary",ref:e,children:f.jsxs("div",{className:"container-main",children:[f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx("span",{className:"text-amber font-medium text-sm uppercase tracking-wider",children:"In Their Words"}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-primary-foreground mt-3 mb-6",children:"What Changes Look Like"})]}),f.jsx("div",{className:"grid md:grid-cols-3 gap-8 mb-12",children:mL.map((i,s)=>f.jsxs(D.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:s*.15,duration:.6},whileHover:{y:-5,scale:1.02},className:"bg-primary-foreground/10 backdrop-blur-sm p-8 rounded-2xl border border-primary-foreground/20 cursor-pointer group",onClick:()=>r(n===s?null:s),children:[f.jsxs("div",{className:"flex items-center justify-between mb-4",children:[f.jsx(TE,{className:"w-10 h-10 text-amber"}),f.jsx("div",{className:"flex items-center gap-2",children:f.jsx("span",{className:"text-xs bg-primary-foreground/20 text-primary-foreground px-2 py-1 rounded-full",children:i.label})})]}),f.jsxs("blockquote",{className:"text-primary-foreground text-lg leading-relaxed mb-4",children:['"',i.quote,'"']}),f.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-primary-foreground/10",children:[f.jsxs("div",{className:"flex items-center gap-2 text-primary-foreground/50",children:[f.jsx(RE,{className:"w-4 h-4"}),f.jsx("span",{className:"text-xs",children:i.year})]}),f.jsx(D.div,{animate:{rotate:n===s?180:0},className:"text-primary-foreground/50 group-hover:text-amber transition-colors",children:f.jsx(xE,{className:"w-4 h-4"})})]}),f.jsx(D.div,{initial:!1,animate:{height:n===s?"auto":0,opacity:n===s?1:0},className:"overflow-hidden",children:f.jsx("p",{className:"text-sm text-primary-foreground/60 pt-4",children:"Click to read more about their journey →"})})]},s))})]})})},yL="/assets/partner-ctc-BgLMe8x2.png",vL="/assets/partner-respace-D9YjIG2a.png",xL="/assets/partner-katrina-C4dsc1bW.png",wL="/assets/partner-savvy-CjAasVJK.png",bL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"}),n=[{name:"Columbia Tower Club",logo:yL,url:"https://www.invitedclubs.com/clubs/columbia-tower-club"},{name:"reSpace",logo:vL,url:"https://respace.co"},{name:"Katrina Eileen Real Estate",logo:xL,url:"https://www.katrinaeileen.com/"},{name:"The Savvy Digital Co.",logo:wL,url:"https://www.thesavvydigitalco.com"}],r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15}}},i={hidden:{opacity:0,scale:.8,y:20},visible:{opacity:1,scale:1,y:0,transition:{duration:.5}}};return f.jsx("section",{className:"section-padding bg-secondary overflow-hidden",ref:e,children:f.jsx("div",{className:"container-main",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[f.jsxs(D.div,{initial:{opacity:0,x:-50},animate:t?{opacity:1,x:0}:{},transition:{duration:.7},children:[f.jsxs(D.span,{initial:{opacity:0,y:10},animate:t?{opacity:1,y:0}:{},transition:{delay:.2,duration:.5},className:"inline-flex items-center gap-2 text-primary font-medium text-sm uppercase tracking-wider",children:[f.jsx(PE,{className:"w-4 h-4"}),"Our Partners"]}),f.jsx(D.h2,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.3,duration:.6},className:"font-display text-3xl md:text-4xl font-bold text-foreground mt-3 mb-6",children:"Building an Ecosystem of Support"}),f.jsx(D.p,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.4,duration:.6},className:"text-lg text-muted-foreground mb-6 leading-relaxed",children:"We collaborate with employers, training programs, recovery networks, and reentry allies to open real pathways to work and opportunity. Strong partnerships multiply our impact and create opportunities that might otherwise remain closed."}),f.jsx(D.p,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.5,duration:.6},className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:"Together, we are building an ecosystem of support that recognizes talent, values lived experience, and creates pathways to economic stability and family reunification."}),f.jsx(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.6,duration:.6},whileHover:{scale:1.05},whileTap:{scale:.98},children:f.jsx(wt,{variant:"default",className:"btn-glow",asChild:!0,children:f.jsxs("a",{href:"mailto:[email protected]?subject=Partnership%20Inquiry%20-%20Level%20Up%20Home&body=Hi%20Teri%2C%0A%0AI%20would%20like%20to%20get%20involved%20with%20Level%20Up%20Home.%20I%E2%80%99m%20interested%20in%20learning%20more%20about%20partnership%20opportunities%20and%20how%20I%20can%20support%20your%20mission.%0A%0APlease%20let%20me%20know%20the%20best%20way%20to%20connect.%0A%0AThank%20you%2C%0A",children:[f.jsx(wE,{className:"w-4 h-4"}),"Partner With Us"]})})})]}),f.jsx(D.div,{initial:{opacity:0,x:50},animate:t?{opacity:1,x:0}:{},transition:{delay:.3,duration:.7},className:"bg-card p-12 rounded-2xl border border-border shadow-card",children:f.jsx(D.div,{className:"grid grid-cols-2 gap-8",variants:r,initial:"hidden",animate:t?"visible":"hidden",children:n.map((s,o)=>
216f.jsx(D.div,{variants:i,whileHover:{scale:1.1,y:-5,boxShadow:"0 10px 30px -10px hsl(var(--primary) / 0.2)"},className:`bg-muted rounded-xl flex items-center justify-center p-4 transition-colors hover:bg-muted/80 ${s.name==="reSpace"?"h-[120px]":"h-20"}`,children:s.logo?s.url?f.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:"w-full h-full flex items-center justify-center",children:f.jsx("img",{src:s.logo,alt:s.name,className:"max-h-full max-w-full object-contain transition-transform duration-300"})}):f.jsx("img",{src:s.logo,alt:s.name,className:"max-h-full max-w-full object-contain"}):f.jsx("span",{className:"text-muted-foreground text-sm",children:"Partner Logo"})},o))})})]})})})},SL="/assets/team-katrina-DlwJZpE-.png",CL="/assets/team-rachael-Cdrcngpl.png",EL="/assets/team-anthony-Dd7RmKDG.png",TL="/assets/team-ronnie-Zqm1YRrG.png",PL="/assets/team-robert-DzPIkL-F.png",kL="/assets/team-joe-DztGhcjt.png",NL="/assets/team-teri-REDDsB1x.png",jL="/assets/team-carrie-DlWQt_2L.png",Hg=[{name:"Teri Devlin",role:"Executive Director, Level Up",impact:"",bio:`Teri serves as the Executive Director of Level Up, bringing both personal experience and deep conviction to the mission. Having been directly impacted by incarceration in her own life, she understands the ripple effects it can have on families and communities.
217
218She is passionate about building real support systems that empower men to step into leadership, responsibility, and long-term success. Teri believes transformation is possible when individuals are met with structure, accountability, and belief.
219
220As Executive Director, she leads with empathy, strength, and clarity, ensuring Level Up remains focused on measurable impact and sustainable change.`,photo:NL},{name:"Joe Brassy-Apodaca",role:"Mentor · Restorative Justice Advocate",impact:"Fourteen years incarcerated. Now a respected voice in reentry and restorative practice.",bio:"Joe's lived experience informs his advocacy for restorative justice practices that prioritize healing over punishment, community over isolation.",photo:kL},{name:"Robert Britten",role:"Mentor · Executive, Higher Education Equity",impact:"Advances systemic reform in institutions, moving beyond intention to measurable change.",bio:"Robert works at the intersection of education and equity, ensuring that institutions don't just talk about change—they measure and achieve it.",photo:PL},{name:"Anthony Powers",role:"Mentor · Founder, American Equity and Justice Group",impact:"3x Microsoft Global Hackathon winner. Creates technology exposing sentencing inequities.",bio:"Anthony leverages his expertise in data science and technology to build tools that reveal hidden patterns in the justice system. His work has influenced policy conversations at the state level.",photo:EL},{name:"Ronnie Jackson",role:"Mentor · Real Estate Professional, Community Mentor",impact:"Translates consistency and opportunity into stability for others navigating reentry.",bio:"After his own journey through the system, Ronnie built a successful career in real estate and now dedicates his time to mentoring others seeking a second chance.",photo:TL}],RL=[{name:"Katrina Romatowski",role:"Co-Founder, Level Up",photo:SL,bio:`Katrina is the Co-Founder of Level Up and a fierce advocate for second chances that lead to real opportunity. She believes that men who have served their time deserve more than survival—they deserve structure, mentorship, and a clear path to sustainable success.
221
222Level Up was built on the belief that transformation happens when accountability meets leadership. Katrina is committed to building a brotherhood where formerly incarcerated men are guided by those who have rebuilt their own lives and are now thriving.
223
224Her focus is long-term impact, economic independence, and helping men reclaim their identity, confidence, and future. For Katrina, this is legacy work.`,website:"https://www.respace.co",website2:"https://www.katrinaeileen.com"},{name:"Rachael Barclay",role:"Marketing Strategic Partner & Advisor, Level Up",photo:CL,bio:`Rachael serves as the Marketing Strategic Partner and Advisor for Level Up, helping turn mission into momentum. She brings expertise in brand positioning, growth strategy, and scalable systems that ensure the work reaches the people who need it most.
225
226Rachael believes powerful missions deserve powerful strategy. Her role is to amplify impact, build credibility, and create sustainable visibility that supports expansion and long-term success.`,website:"https://www.thesavvydigitalco.com"},{name:"Carrie Bixel",role:"Legal Advisor, Level Up · Bixel Law",photo:jL,bio:`Carrie Bixel is a criminal defense attorney with more than 20 years of experience in Seattle, including serving as a former public defender. She has spent her career advocating for individuals navigating the justice system.
227
228As Legal Advisor to Level Up, Carrie provides informed guidance and structural support to strengthen the reentry process. She believes strong legal support is foundational to rebuilding successfully and creating long-term stability.`,website:"https://www.bixellaw.
228com"}],Kg=({member:e,index:t,isInView:n})=>f.jsxs(D.div,{initial:{opacity:0,y:30},animate:n?{opacity:1,y:0}:{},transition:{delay:t*.1,duration:.5},className:"bg-card border border-border rounded-2xl p-8 shadow-card card-hover",children:[e.photo?f.jsx("img",{src:e.photo,alt:e.name,className:"w-28 h-28 rounded-full object-cover object-top mb-5"}):f.jsx("div",{className:"w-28 h-28 rounded-full bg-primary/10 flex items-center justify-center mb-5",children:f.jsx("span",{className:"font-display text-3xl font-bold text-primary",children:e.name.split(" ").map(r=>r[0]).join("")})}),f.jsx("h3",{className:"font-display text-xl font-semibold text-foreground mb-1",children:e.name}),f.jsx("p",{className:"text-sm text-primary font-medium mb-4",children:e.role}),e.impact&&f.jsxs("p",{className:"text-sm font-medium text-foreground/80 italic mb-3",children:['"',e.impact,'"']}),e.bio&&f.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.bio}),(e.website||e.website2)&&f.jsxs("div",{className:"mt-4 flex flex-wrap gap-3",children:[e.website&&f.jsx("a",{href:e.website,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline",children:new URL(e.website).hostname.replace("www.","")}),e.website2&&f.jsx("a",{href:e.website2,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline",children:new URL(e.website2).hostname.replace("www.","")})]})]},t),AL=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"});return f.jsx("section",{id:"team",className:"section-padding bg-background",ref:e,children:f.jsxs("div",{className:"container-main",children:[f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"The People Behind Level Up"}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 mb-6",children:"Who's Involved"}),f.jsx("p",{className:"text-lg text-muted-foreground",children:"Level Up is built by people who understand the journey—because many of them have lived it. Our team brings together lived experience, professional expertise, and a shared commitment to meaningful change."})]}),f.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:Hg.map((n,r)=>f.jsx(Kg,{member:n,index:r,isInView:t},n.name))}),f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{delay:.5,duration:.6},className:"mt-16",children:[f.jsx("h3",{className:"font-display text-2xl md:text-3xl font-bold text-foreground text-center mb-10",children:"Board Members"}),f.jsx("div",{className:"grid md:grid-cols-3 gap-8 justify-items-center",children:RL.map((n,r)=>f.jsx(Kg,{member:n,index:r+Hg.length,isInView:t},n.name))})]})]})})},ML=()=>{const e=x.useRef(null),t=on(e,{once:!0,margin:"-100px"}),n=[{amount:"$500",label:"Housing Sponsor",description:"One month of housing"},{amount:"$1,200",label:"Mentorship Circle",description:"Fund a mentorship circle"},{amount:"$5,000",label:"Full Support",description:"Comprehensive reentry support"}];return f.jsx("section",{id:"contact",className:"section-padding bg-background",ref:e,children:f.jsxs("div",{className:"container-main",children:[f.jsxs(D.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Take the Next Step"}),f.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 mb-4",children:"Ready When You Are"}),f.jsx("p",{className:"text-base text-foreground/80 italic mb-4 max-w-2xl mx-auto",children:"Most men wait longer than they need to. Not because they don't care, but because they're used to carrying things alone. Level Up exists so you don't have to."}),f.jsx("p",{className:"text-lg text-muted-foreground",children:"Apply for housing, refer someone you know, or help fund the next man's fresh start."})]}),f.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 mb-12",children:[f.jsxs(D.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:.2,duration:.6},className:"bg-card p-8 md:p-10 rounded-2xl shadow-card border border-border",children:[f.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[f.jsx("h3",{className:"font-display text-2xl font-bold text-foreground",children:"Apply"}),f.jsx("span",{className:"text-xs bg-primary/10 text-primary px-2 py-1 rounded-full font-medium",children:"No Obligation"})]}),f.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:"Ready to take the next step? Start your intake process today. We will review your application and connect with you within 48 hours."}),f.jsxs("div",{className:"bg-secondary p-4 rounded-xl mb-6",children:[f.jsx("p",{className:"text-sm text-foreground font-medium mb-2",children:"What to expect:"}),f.jsx("p",{className:"text-sm text-muted-foreground",children:"Phone conversation, assessment, personalized plan built around your goals and timeline."})]}),f.jsxs("div",{className:"space-y-4",children:[f.jsx(wt,{variant:"default",size:"lg",className:"w-full min-h-[52px] text-base shadow-md hover:shadow-lg transition-shadow",asChild:!0,children:f.jsxs("a",{href:"https://www.sobrietyhub.app/dashboard/forms/public/2557430c-ec5a-4b0f-ac8c-40ccc037182c",target:"_blank",rel:"noopener noreferrer",children:["Take the First Step",f.jsx(vo,{className:"w-4 h-4"})]})}),f.jsxs("div",{className:"flex flex-col gap-2 pt-2",children:[f.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[f.jsx(Sf,{className:"w-3.5 h-3.5 text-primary"}),f.jsx("span",{children:"Response within 48 hours"})]}),f.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[f.jsx(Js,{className:"w-3.5 h-3.5 text-primary"}),f.jsx("span",{children:"Your information stays confidential"})]}),f.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[f.jsx(Gv,{className:"w-3.5 h-3.5 text-primary"}),f.jsx("span",{children:"No commitment required to apply"})]})]}),f.jsx("div",{className:"pt-4 border-t border-border",children:f.jsxs("a",{href:"mailto:[email protected]?subject=Question",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-primary transition-colors",children:[f.jsx(EE,{className:"w-4 h-4"}),"Have questions first? Contact us"]})})]})]}),f.jsxs(D.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:.3,duration:.6},className:"bg-gradient-to-br from-primary to-forest-dark p-8 md:p-10 rounded-2xl shadow-medium",children:[f.jsxs("div",{className:"flex items-center justify-between mb-4",children:[f.jsx("h3",{className:"font-display text-2xl font-bold text-primary-foreground",children:"Donate"}),f.jsxs("div",{className:"flex gap-2",children:[f.jsx("span",{className:"text-xs bg-primary-foreground
228/20 text-primary-foreground px-2 py-1 rounded-full font-medium",children:"Monthly"}),f.jsx("span",{className:"text-xs bg-primary-foreground/10 text-primary-foreground/70 px-2 py-1 rounded-full font-medium",children:"One-time"})]})]}),f.jsx("p",{className:"text-primary-foreground/90 mb-6 leading-relaxed",children:"Help someone cross the bridge from surviving to thriving. Your contribution provides housing stability, coaching, and the practical support that makes lasting change possible."}),f.jsx("p",{className:"text-xs text-amber font-medium uppercase tracking-wider mb-3",children:"Your support helps fund"}),f.jsx("div",{className:"space-y-3 mb-6",children:n.map((r,i)=>f.jsxs(D.div,{initial:{opacity:0,x:-20},animate:t?{opacity:1,x:0}:{},transition:{delay:.4+i*.1,duration:.4},className:"flex items-center justify-between bg-primary-foreground/10 p-3 rounded-xl hover:bg-primary-foreground/15 transition-colors cursor-pointer group",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("span",{className:"font-display text-lg font-bold text-primary-foreground",children:r.amount}),f.jsx("span",{className:"text-xs bg-amber/20 text-amber px-2 py-0.5 rounded-full",children:r.label})]}),f.jsx("span",{className:"text-sm text-primary-foreground/70 group-hover:text-primary-foreground/90 transition-colors",children:r.description})]},i))}),f.jsx(wt,{variant:"accent",size:"lg",className:"w-full min-h-[52px] text-base shadow-md hover:shadow-lg transition-shadow",asChild:!0,children:f.jsxs("a",{href:"https://www.paypal.com/ncp/payment/6XGWZNZDCCATL",target:"_blank",rel:"noopener noreferrer",children:[f.jsx(Zs,{className:"w-4 h-4"}),"Fund a Fresh Start"]})}),f.jsx("p",{className:"text-xs text-primary-foreground/60 text-center mt-3",children:"Level Up Home is a 501(c)(3) nonprofit. Donations are tax-deductible."})]})]})]})})},LL=()=>f.jsx("footer",{className:"bg-charcoal text-primary-foreground",children:f.jsxs("div",{className:"container-main section-padding",children:[f.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-12 mb-12",children:[f.jsxs("div",{className:"lg:col-span-2",children:[f.jsxs("a",{href:"#",className:"flex items-center gap-3 mb-6",children:[f.jsx("div",{className:"w-10 h-10 bg-primary rounded-lg flex items-center justify-center",children:f.jsx(Tl,{className:"w-5 h-5 text-primary-foreground"})}),f.jsx("span",{className:"font-display text-xl font-semibold",children:"Level Up Home"})]}),f.jsx("p",{className:"text-primary-foreground/70 max-w-md leading-relaxed mb-4",children:"Level Up Seattle is a Washington nonprofit corporation exempt from federal income tax under Section 501(c)(3) of the Internal Revenue Code."}),f.jsx("p",{className:"text-primary-foreground/50 text-sm mb-6",children:"Federal Identification Number (EIN): 83-2283933"}),f.jsx("p",{className:"text-primary-foreground/70 text-sm",children:"Follow us on LinkedIn, Instagram, and Facebook for stories, updates, and opportunities to get involved."})]}),f.jsxs("div",{children:[f.jsx("h4",{className:"font-display font-semibold mb-6",children:"Quick Links"}),f.jsx("ul",{className:"space-y-3",children:["About Us","Programs","Success Pathway","Stories","Partner With Us"].map(e=>f.jsx("li",{children:f.jsx("a",{href:"#",className:"text-primary-foreground/70 hover:text-amber transition-colors duration-200",children:e})},e))})]}),f.jsxs("div",{children:[f.jsx("h4",{className:"font-display font-semibold mb-6",children:"Connect With Us"}),f.jsxs("ul",{className:"space-y-4",children:[f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx(SE,{className:"w-5 h-5 text-amber flex-shrink-0"}),f.jsx("a",{href:"mailto:[email protected]",className:"text-primary-foreground/70 hover:text-amber transition-colors",children:"[email protected]"})]}),f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx(Cf,{className:"w-5 h-5 text-amber flex-shrink-0"}),f.jsx("a",{href:"tel:+12062225410",className:"text-primary-foreground/70 hover:text-amber transition-colors",children:"206-222-5410"})]})]})]})]}
228),f.jsxs("div",{className:"border-t border-primary-foreground/10 pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[f.jsx("p",{className:"text-primary-foreground/50 text-sm",children:"© 2025 Level Up Home. All rights reserved."}),f.jsxs("div",{className:"flex gap-6",children:[f.jsx("a",{href:"#",className:"text-primary-foreground/50 hover:text-primary-foreground text-sm transition-colors",children:"Privacy"}),f.jsx("a",{href:"#",className:"text-primary-foreground/50 hover:text-primary-foreground text-sm transition-colors",children:"Terms"}),f.jsx("a",{href:"#",className:"text-primary-foreground/50 hover:text-primary-foreground text-sm transition-colors",children:"Non-Discrimination"})]})]})]})}),DL=()=>f.jsx(D.div,{initial:{y:100},animate:{y:0},transition:{delay:1,duration:.5},className:"fixed bottom-0 left-0 right-0 z-50 lg:hidden bg-card/95 backdrop-blur-lg border-t border-border shadow-medium px-4 py-3 safe-area-pb",children:f.jsxs("div",{className:"flex items-center justify-center gap-2 max-w-md mx-auto",children:[f.jsx(D.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{delay:1.2,duration:.4},className:"flex-1",children:f.jsx(wt,{variant:"default",size:"sm",className:"w-full min-h-[48px] shadow-md font-medium",asChild:!0,children:f.jsxs("a",{href:"https://www.sobrietyhub.app/dashboard/forms/public/2557430c-ec5a-4b0f-ac8c-40ccc037182c",target:"_blank",rel:"noopener noreferrer",children:["Apply Now ",f.jsx(vo,{className:"w-4 h-4"})]})})}),f.jsx(D.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:1.6,duration:.4},className:"flex-1",children:f.jsx(wt,{variant:"accent",size:"sm",className:"w-full min-h-[44px]",asChild:!0,children:f.jsxs("a",{href:"https://www.paypal.com/ncp/payment/6XGWZNZDCCATL",target:"_blank",rel:"noopener noreferrer",children:[f.jsx(Zs,{className:"w-4 h-4"})," Donate"]})})}),f.jsx(D.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:1.8,duration:.4},children:f.jsx(wt,{variant:"destructive",size:"sm",className:"min-h-[44px] min-w-[44px] px-3",asChild:!0,children:f.jsxs("a",{href:"tel:211",children:[f.jsx(Cf,{className:"w-4 h-4"})," 211"]})})})]})}),OL=()=>f.jsxs("div",{className:"min-h-screen bg-background",children:[f.jsx(QM,{}),f.jsxs("main",{className:"pb-20 lg:pb-0",children:[f.jsx(ZM,{}),f.jsx(eL,{}),f.jsx(nL,{}),f.jsx(aL,{}),f.jsx(uL,{}),f.jsx(pL,{}),f.jsx(gL,{}),f.jsx(bL,{}),f.jsx(AL,{}),f.jsx(dL,{}),f.jsx(ML,{})]}),f.jsx(LL,{}),f.jsx(DL,{})]}),IL=()=>{const e=Xx();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),f.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:f.jsxs("div",{className:"text-center",children:[f.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),f.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),f.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},VL=new ek,FL=()=>f.jsx(nk,{client:VL,children:f.jsxs(RP,{children:[f.jsx(hT,{}),f.jsx(HT,{}),f.jsx(Bk,{children:f.jsxs(Fk,{children:[f.jsx(qc,{path:"/",element:f.jsx(OL,{})}),f.jsx(qc,{path:"*",element:f.jsx(IL,{})})]})})]})});gv(document.getElementById("root")).render(f.jsx(FL,{}));

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.