PageSourceSearch

https://promocitynavpro.lovable.app/assets/index-HRSmZzHw.js

js promocitynavpro.lovable.app collected 2026-10-03 03:40:23 UTC 437,345 bytes, 248 lines download raw bytes

vendor: 6,112 bytes, lines 1-9
1var Wd=e=>{throw TypeError(e)};var ul=(e,t,n)=>t.has(e)||Wd("Cannot "+n);var P=(e,t,n)=>(ul(e,t,"read from private field"),n?n.call(e):t.get(e)),re=(e,t,n)=>t.has(e)?Wd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),q=(e,t,n,r)=>(ul(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ue=(e,t,n)=>(ul(e,t,"access private method"),n);var Xs=(e,t,n,r)=>({set _(o){q(e,t,o,n)},get _(){return P(e,t,r)}});function Q0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function dh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fh={exports:{}},Na={},ph={exports:{}},J={};/**
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 Bs=Symbol.for("react.element"),q0=Symbol.for("react.portal"),Y0=Symbol.for("react.fragment"),X0=Symbol.for("react.strict_mode"),Z0=Symbol.for("react.profiler"),J0=Symbol.for("react.provider"),ex=Symbol.for("react.context"),tx=Symbol.for("react.forward_ref"),nx=Symbol.for("react.suspense"),rx=Symbol.for("react.memo"),ox=Symbol.for("react.lazy"),Kd=Symbol.iterator;function sx(e){return e===null||typeof e!="object"?null:(e=Kd&&e[Kd]||e["@@iterator"],typeof e=="function"?e:null)}var hh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mh=Object.assign,gh={};function Mo(e,t,n){this.props=e,this.context=t,this.refs=gh,this.updater=n||hh}Mo.prototype.isReactComponent={};Mo.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")};Mo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vh(){}vh.prototype=Mo.prototype;function vu(e,t,n){this.props=e,this.context=t,this.refs=gh,this.updater=n||hh}var yu=vu.prototype=new vh;yu.constructor=vu;mh(yu,Mo.prototype);yu.isPureReactComponent=!0;var Gd=Array.isArray,yh=Object.prototype.hasOwnProperty,xu={current:null},xh={key:!0,ref:!0,__self:!0,__source:!0};function wh(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)yh.call(t,r)&&!xh.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Bs,type:e,key:s,ref:i,props:o,_owner:xu.current}}function ix(e,t){return{$$typeof:Bs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function wu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Bs}function ax(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qd=/\/+/g;function dl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ax(""+e.key):t.toString(36)}function ki(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Bs:case q0:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+dl(i,0):r,Gd(o)?(n="",e!=null&&(n=e.replace(Qd,"$&/")+"/"),ki(o,t,n,"",function(u){return u})):o!=null&&(wu(o)&&(o=ix(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Qd,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Gd(e))for(var l=0;l<e.length;l++){s=e[l];var c=r+dl(s,l);i+=ki(s,t,n,c,o)}else if(c=sx(e),typeof c=="function")for(e=c.call(e),l=0;!(s=e.next()).done;)s=s.value,c=r+dl(s,l++),i+=ki(s,t,n,c,o);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 i}function Zs(e,t,n){if(e==null)return e;var r=[],o=0;return ki(e,r,"","",function(s){return t.call(n,s,o++)}),r}function lx(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 Je={current:null},Pi={transition:null},cx={ReactCurrentDispatcher:Je,ReactCurrentBatchConfig:Pi,ReactCurrentOwner:xu};function bh(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:Zs,forEach:function(e,t,n){Zs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Zs(e,function(){t++}),t},toArray:function(e){return Zs(e,function(t){return t})||[]},only:function(e){if(!wu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=Mo;J.Fragment=Y0;J.Profiler=Z0;J.PureComponent=vu;J.StrictMode=X0;J.Suspense=nx;
vendor: 5,022 bytes, lines 9-25
9J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cx;J.act=bh;J.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=mh({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=xu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)yh.call(t,c)&&!xh.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Bs,type:e.type,key:o,ref:s,props:r,_owner:i}};J.createContext=function(e){return e={$$typeof:ex,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:J0,_context:e},e.Consumer=e};J.createElement=wh;J.createFactory=function(e){var t=wh.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:tx,render:e}};J.isValidElement=wu;J.lazy=function(e){return{$$typeof:ox,_payload:{_status:-1,_result:e},_init:lx}};J.memo=function(e,t){return{$$typeof:rx,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Pi.transition;Pi.transition={};try{e()}finally{Pi.transition=t}};J.unstable_act=bh;J.useCallback=function(e,t){return Je.current.useCallback(e,t)};J.useContext=function(e){return Je.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return Je.current.useDeferredValue(e)};J.useEffect=function(e,t){return Je.current.useEffect(e,t)};J.useId=function(){return Je.current.useId()};J.useImperativeHandle=function(e,t,n){return Je.current.useImperativeHandle(e,t,n)};J.useInsertionEffect=function(e,t){return Je.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return Je.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return Je.current.useMemo(e,t)};J.useReducer=function(e,t,n){return Je.current.useReducer(e,t,n)};J.useRef=function(e){return Je.current.useRef(e)};J.useState=function(e){return Je.current.useState(e)};J.useSyncExternalStore=function(e,t,n){return Je.current.useSyncExternalStore(e,t,n)};J.useTransition=function(){return Je.current.useTransition()};J.version="18.3.1";ph.exports=J;var g=ph.exports;const _=dh(g),bu=Q0({__proto__:null,default:_},[g]);/**
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 ux=g,dx=Symbol.for("react.element"),fx=Symbol.for("react.fragment"),px=Object.prototype.hasOwnProperty,hx=ux.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,mx={key:!0,ref:!0,__self:!0,__source:!0};function Sh(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)px.call(t,r)&&!mx.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:dx,type:e,key:s,ref:i,props:o,_owner:hx.current}}Na.Fragment=fx;Na.jsx=Sh;Na.jsxs=Sh;fh.exports=Na;var a=fh.exports,Ch={exports:{}},mt={},Nh={exports:{}},jh={};/**
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,T){var D=k.length;k.push(T);e:for(;0<D;){var K=D-1>>>1,U=k[K];if(0<o(U,T))k[K]=T,k[D]=U,D=K;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var T=k[0],D=k.pop();if(D!==T){k[0]=D;e:for(var K=0,U=k.length,Y=U>>>1;K<Y;){var G=2*(K+1)-1,pe=k[G],Ce=G+1,F=k[Ce];if(0>o(pe,D))Ce<U&&0>o(F,pe)?(k[K]=F,k[Ce]=D,K=Ce):(k[K]=pe,k[G]=D,K=G);else if(Ce<U&&0>o(F,D))k[K]=F,k[Ce]=D,K=Ce;else break e}}return T}function o(k,T){var D=k.sortIndex-T.sortIndex;return D!==0?D:k.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var c=[],u=[],f=1,d=null,v=3,h=!1,b=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(k){for(var T=n(u);T!==null;){if(T.callback===null)r(u);else if(T.startTime<=k)r(u),T.sortIndex=T.expirationTime,t(c,T);else break;T=n(u)}}function C(k){if(m=!1,x(k),!b)if(n(c)!==null)b=!0,$(S);else{var T=n(u);T!==null&&B(C,T.startTime-k)}}function S(k,T){b=!1,m&&(m=!1,y(E),E=-1),h=!0;var D=v;try{for(x(T),d=n(c);d!==null&&(!(d.expirationTime>T)||k&&!O());){var K=d.callback;
vendor: 9,152 bytes, lines 25-34
25if(typeof K=="function"){d.callback=null,v=d.priorityLevel;var U=K(d.expirationTime<=T);T=e.unstable_now(),typeof U=="function"?d.callback=U:d===n(c)&&r(c),x(T)}else r(c);d=n(c)}if(d!==null)var Y=!0;else{var G=n(u);G!==null&&B(C,G.startTime-T),Y=!1}return Y}finally{d=null,v=D,h=!1}}var N=!1,j=null,E=-1,A=5,R=-1;function O(){return!(e.unstable_now()-R<A)}function L(){if(j!==null){var k=e.unstable_now();R=k;var T=!0;try{T=j(!0,k)}finally{T?V():(N=!1,j=null)}}else N=!1}var V;if(typeof p=="function")V=function(){p(L)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,H=M.port2;M.port1.onmessage=L,V=function(){H.postMessage(null)}}else V=function(){w(L,0)};function $(k){j=k,N||(N=!0,V())}function B(k,T){E=w(function(){k(e.unstable_now())},T)}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(){b||h||(b=!0,$(S))},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"):A=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(k){switch(v){case 1:case 2:case 3:var T=3;break;default:T=v}var D=v;v=T;try{return k()}finally{v=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,T){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var D=v;v=k;try{return T()}finally{v=D}},e.unstable_scheduleCallback=function(k,T,D){var K=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?K+D:K):D=K,k){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=D+U,k={id:f++,callback:T,priorityLevel:k,startTime:D,expirationTime:U,sortIndex:-1},D>K?(k.sortIndex=D,t(u,k),n(c)===null&&k===n(u)&&(m?(y(E),E=-1):m=!0,B(C,D-K))):(k.sortIndex=U,t(c,k),b||h||(b=!0,$(S))),k},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(k){var T=v;return function(){var D=v;v=T;try{return k.apply(this,arguments)}finally{v=D}}}})(jh);Nh.exports=jh;var gx=Nh.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 vx=g,ht=gx;function I(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 Eh=new Set,ys={};function Or(e,t){jo(e,t),jo(e+"Capture",t)}function jo(e,t){for(ys[e]=t,e=0;e<t.length;e++)Eh.add(t[e])}var hn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ec=Object.prototype.hasOwnProperty,yx=/^[: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]*$/,qd={},Yd={};function xx(e){return ec.call(Yd,e)?!0:ec.call(qd,e)?!1:yx.test(e)?Yd[e]=!0:(qd[e]=!0,!1)}function wx(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 bx(e,t,n,r){if(t===null||typeof t>"u"||wx(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 et(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$e[t]=new et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new et(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){$e[e]=new et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new et(e,5,!1,e.toLowerCase(),null,!1,!1)});var Su=/[\-:]([a-z])/g;function Cu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Su,Cu);$e[t]=new et(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(Su,Cu);$e[t]=new et(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(Su,Cu);$e[t]=new et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new et(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new et(e,1,!1,e.toLowerCase(),null,!0,!0)});function Nu(e,t,n,r){var o=$e.hasOwnProperty(t)?$e[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(bx(t,n,o,r)&&(n=null),r||o===null?xx(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var wn=vx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Js=Symbol.for("react.element"),Qr=Symbol.for("react.portal"),qr=Symbol.for("react.fragment"),ju=Symbol.for("react.strict_mode"),tc=Symbol.for("react.profiler"),kh=Symbol.for("react.provider"),Ph=Symbol.for("react.context"),Eu=Symbol.for("react.forward_ref"),nc=Symbol.for("react.suspense"),rc=Symbol.for("react.suspense_list"),ku=Symbol.for("react.memo"),In=Symbol.for("react.lazy"),Th=Symbol.for("react.offscreen"),Xd=Symbol.iterator;function Wo(e){return e===null||typeof e!="object"?null:(e=Xd&&e[Xd]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Object.assign,fl;function ts(e){if(fl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);fl=t&&t[1]||""}return`
34`+fl+e}var pl=!1;function hl(e,t){if(!e||pl)return"";pl=!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()}}
vendor: 16,737 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),s=r.stack.split(`
36`),i=o.length-1,l=s.length-1;1<=i&&0<=l&&o[i]!==s[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==s[l]){if(i!==1||l!==1)do if(i--,l--,0>l||o[i]!==s[l]){var c=`
37`+o[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=l);break}}}finally{pl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ts(e):""}function Sx(e){switch(e.tag){case 5:return ts(e.type);case 16:return ts("Lazy");case 13:return ts("Suspense");case 19:return ts("SuspenseList");case 0:case 2:case 15:return e=hl(e.type,!1),e;case 11:return e=hl(e.type.render,!1),e;case 1:return e=hl(e.type,!0),e;default:return""}}function oc(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 qr:return"Fragment";case Qr:return"Portal";case tc:return"Profiler";case ju:return"StrictMode";case nc:return"Suspense";case rc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ph:return(e.displayName||"Context")+".Consumer";case kh:return(e._context.displayName||"Context")+".Provider";case Eu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ku:return t=e.displayName||null,t!==null?t:oc(e.type)||"Memo";case In:t=e._payload,e=e._init;try{return oc(e(t))}catch{}}return null}function Cx(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 oc(t);case 8:return t===ju?"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 Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Nx(e){var t=Rh(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 o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ei(e){e._valueTracker||(e._valueTracker=Nx(e))}function Ah(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function sc(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Zd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(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 Ih(e,t){t=t.checked,t!=null&&Nu(e,"checked",t,!1)}function ic(e,t){Ih(e,t);var n=Jn(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")?ac(e,t.type,n):t.hasOwnProperty("defaultValue")&&ac(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Jd(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 ac(e,t,n){(t!=="number"||Wi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ns=Array.isArray;function io(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Jn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function lc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return Se({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ef(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(ns(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Jn(n)}}function _h(e,t){var n=Jn(t.value),r=Jn(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 tf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Mh(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 cc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Mh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ti,Oh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ti=ti||document.createElement("div"),ti.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ti.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ls={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},jx=["Webkit","ms","Moz","O"];Object.keys(ls).forEach(function(e){jx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ls[t]=ls[e]})});function Lh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ls.hasOwnProperty(e)&&ls[e]?(""+t).trim():t+"px"}function Dh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Lh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Ex=Se({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 uc(e,t){if(t){if(Ex[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function dc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fc=null;function Pu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pc=null,ao=null,lo=null;function nf(e){if(e=Ws(e)){if(typeof pc!="function")throw Error(I(280));var t=e.stateNode;t&&(t=Ta(t),pc(e.stateNode,e.type,t))}}function Fh(e){ao?lo?lo.push(e):lo=[e]:ao=e}function $h(){if(ao){var e=ao,t=lo;if(lo=ao=null,nf(e),t)for(e=0;e<t.length;e++)nf(t[e])}}function zh(e,t){return e(t)}function Uh(){}var ml=!1;function Bh(e,t,n){if(ml)return e(t,n);ml=!0;try{return zh(e,t,n)}finally{ml=!1,(ao!==null||lo!==null)&&(Uh(),$h())}}function ws(e,t){var n=e.stateNode;if(n===null)return null;var r=Ta(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(I(231,t,typeof n));return n}var hc=!1;if(hn)try{var Ko={};Object.defineProperty(Ko,"passive",{get:function(){hc=!0}}),window.addEventListener("test",Ko,Ko),window.removeEventListener("test",Ko,Ko)}catch{hc=!1}function kx(e,t,n,r,o,s,i,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var cs=!1,Ki=null,Gi=!1,mc=null,Px={onError:function(e){cs=!0,Ki=e}};function Tx(e,t,n,r,o,s,i,l,c){cs=!1,Ki=null,kx.apply(Px,arguments)}function Rx(e,t,n,r,o,s,i,l,c){if(Tx.apply(this,arguments),cs){if(cs){var u=Ki;cs=!1,Ki=null}else throw Error(I(198));Gi||(Gi=!0,mc=u)}}function Lr(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 Vh(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 rf(e){if(Lr(e)!==e)throw Error(I(188))}function Ax(e){var t=e.alternate;if(!t){if(t=Lr(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return rf(o),e;if(s===r)return rf(o),t;s=s.sibling}throw Error(I(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=s;break}if(l===r){i=!0,r=o,n=s;break}l=l.sibling}if(!i){for(l=s.child;l;){if(l===n){i=!0,n=s,r=o;break}if(l===r){i=!0,r=s,n=o;break}l=l.sibling}if(!i)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function Hh(e){return e=Ax(e),e!==null?Wh(e):null}function Wh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Wh(e);if(t!==null)return t;e=e.sibling}return null}var Kh=ht.unstable_scheduleCallback,of=ht.unstable_cancelCallback,Ix=ht.unstable_shouldYield,_x=ht.unstable_requestPaint,ke=ht.unstable_now,Mx=ht.unstable_getCurrentPriorityLevel,Tu=ht.unstable_ImmediatePriority,Gh=ht.unstable_UserBlockingPriority,Qi=ht.unstable_NormalPriority,Ox=ht.unstable_LowPriority,Qh=ht.unstable_IdlePriority,ja=null,Jt=null;function Lx(e){if(Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(ja,e,void 0,(e.current.flags&128)===128)}catch{}}var $t=Math.clz32?Math.clz32:$x,Dx=Math.log,Fx=Math.LN2;function $x(e){return e>>>=0,e===0?32:31-(Dx(e)/Fx|0)|0}var ni=64,ri=4194304;function rs(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 qi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=rs(l):(s&=i,s!==0&&(r=rs(s)))}else i=n&~o,i!==0?r=rs(i):s!==0&&(r=rs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===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-$t(t),o=1<<n,r|=e[n],t&=~o;return r}function zx(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 Ux(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-$t(s),l=1<<i,c=o[i];c===-1?(!(l&n)||l&r)&&(o[i]=zx(l,t)):c<=t&&(e.expiredLanes|=l),s&=~l}}function gc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qh(){var e=ni;return ni<<=1,!(ni&4194240)&&(ni=64),e}function gl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-$t(t),e[t]=n}function Bx(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 o=31-$t(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Ru(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-$t(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var le=0;function Yh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Xh,Au,Zh,Jh,em,vc=!1,oi=[],Hn=null,Wn=null,Kn=null,bs=new Map,Ss=new Map,Mn=[],Vx="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 sf(e,t){switch(e){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":Kn=null;break;case"pointerover":case"pointerout":bs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ss.delete(t.pointerId)}}function Go(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Ws(t),t!==null&&Au(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Hx(e,t,n,r,o){switch(t){case"focusin":return Hn=Go(Hn,e,t,n,r,o),!0;case"dragenter":return Wn=Go(Wn,e,t,n,r,o),!0;case"mouseover":return Kn=Go(Kn,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return bs.set(s,Go(bs.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,Ss.set(s,Go(Ss.get(s)||null,e,t,n,r,o)),!0}return!1}function tm(e){var t=hr(e.target);if(t!==null){var n=Lr(t);if(n!==null){if(t=n.tag,t===13){if(t=Vh(n),t!==null){e.blockedOn=t,em(e.priority,function(){Zh(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 Ti(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);fc=r,n.target.dispatchEvent(r),fc=null}else return t=Ws(n),t!==null&&Au(t),e.blockedOn=n,!1;t.shift()}return!0}function af(e,t,n){Ti(e)&&n.delete(t)}function Wx(){vc=!1,Hn!==null&&Ti(Hn)&&(Hn=null),Wn!==null&&Ti(Wn)&&(Wn=null),Kn!==null&&Ti(Kn)&&(Kn=null),bs.forEac
vendor: 11,841 bytes, line 37
37h(af),Ss.forEach(af)}function Qo(e,t){e.blockedOn===t&&(e.blockedOn=null,vc||(vc=!0,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,Wx)))}function Cs(e){function t(o){return Qo(o,e)}if(0<oi.length){Qo(oi[0],e);for(var n=1;n<oi.length;n++){var r=oi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Hn!==null&&Qo(Hn,e),Wn!==null&&Qo(Wn,e),Kn!==null&&Qo(Kn,e),bs.forEach(t),Ss.forEach(t),n=0;n<Mn.length;n++)r=Mn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Mn.length&&(n=Mn[0],n.blockedOn===null);)tm(n),n.blockedOn===null&&Mn.shift()}var co=wn.ReactCurrentBatchConfig,Yi=!0;function Kx(e,t,n,r){var o=le,s=co.transition;co.transition=null;try{le=1,Iu(e,t,n,r)}finally{le=o,co.transition=s}}function Gx(e,t,n,r){var o=le,s=co.transition;co.transition=null;try{le=4,Iu(e,t,n,r)}finally{le=o,co.transition=s}}function Iu(e,t,n,r){if(Yi){var o=yc(e,t,n,r);if(o===null)El(e,t,r,Xi,n),sf(e,r);else if(Hx(o,e,t,n,r))r.stopPropagation();else if(sf(e,r),t&4&&-1<Vx.indexOf(e)){for(;o!==null;){var s=Ws(o);if(s!==null&&Xh(s),s=yc(e,t,n,r),s===null&&El(e,t,r,Xi,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else El(e,t,r,null,n)}}var Xi=null;function yc(e,t,n,r){if(Xi=null,e=Pu(r),e=hr(e),e!==null)if(t=Lr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Vh(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 Xi=e,null}function nm(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(Mx()){case Tu:return 1;case Gh:return 4;case Qi:case Ox:return 16;case Qh:return 536870912;default:return 16}default:return 16}}var Un=null,_u=null,Ri=null;function rm(){if(Ri)return Ri;var e,t=_u,n=t.length,r,o="value"in Un?Un.value:Un.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return Ri=o.slice(e,1<r?1-r:void 0)}function Ai(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 si(){return!0}function lf(){return!1}function gt(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?si:lf,this.isPropagationStopped=lf,this}return Se(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=si)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=si)},persist:function(){},isPersistent:si}),t}var Oo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mu=gt(Oo),Hs=Se({},Oo,{view:0,detail:0}),Qx=gt(Hs),vl,yl,qo,Ea=Se({},Hs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ou,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!==qo&&(qo&&e.type==="mousemove"?(vl=e.screenX-qo.screenX,yl=e.screenY-qo.screenY):yl=vl=0,qo=e),vl)},movementY:function(e){return"movementY"in e?e.movementY:yl}}),cf=gt(Ea),qx=Se({},Ea,{dataTransfer:0}),Yx=gt(qx),Xx=Se({},Hs,{relatedTarget:0}),xl=gt(Xx),Zx=Se({},Oo,{animationName:0,elapsedTime:0,pseudoElement:0}),Jx=gt(Zx),ew=Se({},Oo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tw=gt(ew),nw=Se({},Oo,{data:0}),uf=gt(nw),rw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ow={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"},sw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function iw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=sw[e])?!!t[e]:!1}function Ou(){return iw}var aw=Se({},Hs,{key:function(e){if(e.key){var t=rw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ai(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ow[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ou,charCode:function(e){return e.type==="keypress"?Ai(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ai(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lw=gt(aw),cw=Se({},Ea,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),df=gt(cw),uw=Se({},Hs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ou}),dw=gt(uw),fw=Se({},Oo,{propertyName:0,elapsedTime:0,pseudoElement:0}),pw=gt(fw),hw=Se({},Ea,{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}),mw=gt(hw),gw=[9,13,27,32],Lu=hn&&"CompositionEvent"in window,us=null;hn&&"documentMode"in document&&(us=document.documentMode);var vw=hn&&"TextEvent"in window&&!us,om=hn&&(!Lu||us&&8<us&&11>=us),ff=" ",pf=!1;function sm(e,t){switch(e){case"keyup":return gw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function im(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yr=!1;function yw(e,t){switch(e){case"compositionend":return im(t);case"keypress":return t.which!==32?null:(pf=!0,ff);case"textInput":return e=t.data,e===ff&&pf?null:e;default:return null}}function xw(e,t){if(Yr)return e==="compositionend"||!Lu&&sm(e,t)?(e=rm(),Ri=_u=Un=null,Yr=!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 om&&t.locale!=="ko"?null:t.data;default:return null}}var ww={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 hf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ww[e.type]:t==="textarea"}function am(e,t,n,r){Fh(r),t=Zi(t,"onChange"),0<t.length&&(n=new Mu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ds=null,Ns=null;function bw(e){ym(e,0)}function ka(e){var t=Jr(e);if(Ah(t))return e}function Sw(e,t){if(e==="change")return t}var lm=!1;if(hn){var wl;if(hn){var bl="oninput"in document;if(!bl){var mf=document.createElement("div");mf.setAttribute("oninput","return;"),bl=typeof mf.oninput=="function"}wl=bl}else wl=!1;lm=wl&&(!document.documentMode||9<document.documentMode)}function gf(){ds&&(ds.detachEvent("onpropertychange",cm),Ns=ds=null)}function cm(e){if(e.propertyName==="value"&&ka(Ns)){var t=[];am(t,Ns,e,Pu(e)),Bh(bw,t)}}function Cw(e,t,n){e==="focusin"?(gf(),ds=t,Ns=n,ds.attachEvent("onpropertychange",cm)):e==="focusout"&&gf()}function Nw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ka(Ns)}function jw(e,t){if(e==="click")return ka(t)}function Ew(e,t){if(e==="input"||e==="change")return ka(t)}function kw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ut=typeof Object.is=="function"?Object.is:kw;function js(e,t){if(Ut(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 o=n[r];if(!ec.call(t,o)||!Ut(e[o],t[o]))return!1}return!0}function vf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yf(e,t){var n=vf(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=vf(n)}}function um(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?um(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dm(){for(var e=window,t=Wi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wi(e.document)}return t}function Du(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 Pw(e){var t=dm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&um(n.ownerDocument.documentElement,n)){if(r!==null&&Du(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 o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=yf(n,s);var i=yf(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 Tw=hn&&"documentMode"in document&&11>=document.documentMode,Xr=null,xc=null,fs=null,wc=!1;function xf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;wc||Xr==null||Xr!==Wi(r)||(r=Xr,"selectionStart"in r&&Du(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}),fs&&js(fs,r)||(fs=r,r=Zi(xc,"onSelect"),0<r.length&&(t=new Mu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Xr)))}function ii(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zr={animationend:ii("Animation","AnimationEnd"),animationiteration:ii("Animation","AnimationIteration"),animationstart:ii("Animation","AnimationStart"),transitionend:ii("Transition","TransitionEnd")},Sl={},fm={};hn&&(fm=document.createElement("div").style,"AnimationEvent"in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),"TransitionEvent"in window||delete Zr.transitionend.transition);function Pa(e){if(Sl[e])return Sl[e];if(!Zr[e])return e;var t=Zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in fm)return Sl[e]=t[n];return e}var pm=Pa("animationend"),hm=Pa("animationiteration"),mm=Pa("animationstart"),gm=Pa("transitionend"),vm=new Map,wf="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 rr(e,t){vm.set(e,t),Or(t,[e])}for(var Cl=0;Cl<wf.length;Cl++){var Nl=wf[Cl],Rw=Nl.toLowerCase(),Aw=Nl[0].toUpperCase()+Nl.slice(1);rr(Rw,"on"+Aw)}rr(pm,"onAnimationEnd");rr(hm,"onAnimationIteration");rr(mm,"onAnimationStart");rr("dblclick","onDoubleClick");rr("focusin","onFocus");rr("focusout","onBlur");rr(gm,"onTransitionEnd");jo("onMouseEnter",["mouseout","mouseover"]);jo("onMouseLeave",["mouseout","mouseover"]);jo("onPointerEnter",["pointerout","pointerover"]);jo("onPointerLeave",["pointerout","pointerover"]);Or("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Or("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Or("onBeforeInput",["compositionend","keypress","textInput","paste"]);Or("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Or("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Or("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var os="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(" "),Iw=new Set("cancel close invalid load scroll toggle".split(" ").concat(os));function bf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Rx(r,t,void 0,e),e.currentTarget=null}function ym(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==s&&o.isPropagationStopped())break e;bf(o,l,u),s=c}else for(i=0;i<r.length;i++){if(l=r[i],c=l.instance,u=l.currentTarget,l=l.listener,c!==s&&o.isPropagationStopped())break e;bf(o,l,u),s=c}}}if(Gi)throw e=mc,Gi=!1,mc=null,e}function me(e,t){var n=t[jc];n===void 0&&(n=t[jc]=new Set);var r=e+"__bubble";n.has(r)||(xm(t,e,2,!1),n.add(r))}function jl(e,t,n){var r=0;t&&(r|=4),xm(n,e,r,t)}var ai="_reactListening"+Math.random().toString(36).slice(2);function Es(e){if(!e[ai]){e[ai]=!0,Eh.forEach(function(n){n!=="selectionchange"&&(Iw.has(n)||jl(n,!1,e),jl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ai]||(t[ai]=!0,jl("selectionchange",!1,t))}}function xm(e,t,n,r){switch(nm(t)){case 1:var o=Kx;break;case 4:o=Gx;break;default:o=Iu}n=o.bind(null,t,n,e),o=void 0,!hc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function El(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;
vendor: 2,923 bytes, line 37
37if(l===o||l.nodeType===8&&l.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;i=i.return}for(;l!==null;){if(i=hr(l),i===null)return;if(c=i.tag,c===5||c===6){r=s=i;continue e}l=l.parentNode}}r=r.return}Bh(function(){var u=s,f=Pu(n),d=[];e:{var v=vm.get(e);if(v!==void 0){var h=Mu,b=e;switch(e){case"keypress":if(Ai(n)===0)break e;case"keydown":case"keyup":h=lw;break;case"focusin":b="focus",h=xl;break;case"focusout":b="blur",h=xl;break;case"beforeblur":case"afterblur":h=xl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=cf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Yx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=dw;break;case pm:case hm:case mm:h=Jx;break;case gm:h=pw;break;case"scroll":h=Qx;break;case"wheel":h=mw;break;case"copy":case"cut":case"paste":h=tw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=df}var m=(t&4)!==0,w=!m&&e==="scroll",y=m?v!==null?v+"Capture":null:v;m=[];for(var p=u,x;p!==null;){x=p;var C=x.stateNode;if(x.tag===5&&C!==null&&(x=C,y!==null&&(C=ws(p,y),C!=null&&m.push(ks(p,C,x)))),w)break;p=p.return}0<m.length&&(v=new h(v,b,null,n,f),d.push({event:v,listeners:m}))}}if(!(t&7)){e:{if(v=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",v&&n!==fc&&(b=n.relatedTarget||n.fromElement)&&(hr(b)||b[mn]))break e;if((h||v)&&(v=f.window===f?f:(v=f.ownerDocument)?v.defaultView||v.parentWindow:window,h?(b=n.relatedTarget||n.toElement,h=u,b=b?hr(b):null,b!==null&&(w=Lr(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(h=null,b=u),h!==b)){if(m=cf,C="onMouseLeave",y="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(m=df,C="onPointerLeave",y="onPointerEnter",p="pointer"),w=h==null?v:Jr(h),x=b==null?v:Jr(b),v=new m(C,p+"leave",h,n,f),v.target=w,v.relatedTarget=x,C=null,hr(f)===u&&(m=new m(y,p+"enter",b,n,f),m.target=x,m.relatedTarget=w,C=m),w=C,h&&b)t:{for(m=h,y=b,p=0,x=m;x;x=Br(x))p++;for(x=0,C=y;C;C=Br(C))x++;for(;0<p-x;)m=Br(m),p--;for(;0<x-p;)y=Br(y),x--;for(;p--;){if(m===y||y!==null&&m===y.alternate)break t;m=Br(m),y=Br(y)}m=null}else m=null;h!==null&&Sf(d,v,h,m,!1),b!==null&&w!==null&&Sf(d,w,b,m,!0)}}e:{if(v=u?Jr(u):window,h=v.nodeName&&v.nodeName.toLowerCase(),h==="select"||h==="input"&&v.type==="file")var S=Sw;else if(hf(v))if(lm)S=Ew;else{S=Nw;var N=Cw}else(h=v.nodeName)&&h.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(S=jw);if(S&&(S=S(e,u))){am(d,S,n,f);break e}N&&N(e,v,u),e==="focusout"&&(N=v._wrapperState)&&N.controlled&&v.type==="number"&&ac(v,"number",v.value)}
vendor: 7,186 bytes, lines 37-38
37switch(N=u?Jr(u):window,e){case"focusin":(hf(N)||N.contentEditable==="true")&&(Xr=N,xc=u,fs=null);break;case"focusout":fs=xc=Xr=null;break;case"mousedown":wc=!0;break;case"contextmenu":case"mouseup":case"dragend":wc=!1,xf(d,n,f);break;case"selectionchange":if(Tw)break;case"keydown":case"keyup":xf(d,n,f)}var j;if(Lu)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else Yr?sm(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(om&&n.locale!=="ko"&&(Yr||E!=="onCompositionStart"?E==="onCompositionEnd"&&Yr&&(j=rm()):(Un=f,_u="value"in Un?Un.value:Un.textContent,Yr=!0)),N=Zi(u,E),0<N.length&&(E=new uf(E,e,null,n,f),d.push({event:E,listeners:N}),j?E.data=j:(j=im(n),j!==null&&(E.data=j)))),(j=vw?yw(e,n):xw(e,n))&&(u=Zi(u,"onBeforeInput"),0<u.length&&(f=new uf("onBeforeInput","beforeinput",null,n,f),d.push({event:f,listeners:u}),f.data=j))}ym(d,t)})}function ks(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Zi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=ws(e,n),s!=null&&r.unshift(ks(e,s,o)),s=ws(e,t),s!=null&&r.push(ks(e,s,o))),e=e.return}return r}function Br(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Sf(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,o?(c=ws(n,s),c!=null&&i.unshift(ks(n,c,l))):o||(c=ws(n,s),c!=null&&i.push(ks(n,c,l)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var _w=/\r\n?/g,Mw=/\u0000|\uFFFD/g;function Cf(e){return(typeof e=="string"?e:""+e).replace(_w,`
38`).replace(Mw,"")}function li(e,t,n){if(t=Cf(t),Cf(e)!==t&&n)throw Error(I(425))}function Ji(){}var bc=null,Sc=null;function Cc(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 Nc=typeof setTimeout=="function"?setTimeout:void 0,Ow=typeof clearTimeout=="function"?clearTimeout:void 0,Nf=typeof Promise=="function"?Promise:void 0,Lw=typeof queueMicrotask=="function"?queueMicrotask:typeof Nf<"u"?function(e){return Nf.resolve(null).then(e).catch(Dw)}:Nc;function Dw(e){setTimeout(function(){throw e})}function kl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Cs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Cs(t)}function Gn(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 jf(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 Lo=Math.random().toString(36).slice(2),Yt="__reactFiber$"+Lo,Ps="__reactProps$"+Lo,mn="__reactContainer$"+Lo,jc="__reactEvents$"+Lo,Fw="__reactListeners$"+Lo,$w="__reactHandles$"+Lo;function hr(e){var t=e[Yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mn]||n[Yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=jf(e);e!==null;){if(n=e[Yt])return n;e=jf(e)}return t}e=n,n=e.parentNode}return null}function Ws(e){return e=e[Yt]||e[mn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function Ta(e){return e[Ps]||null}var Ec=[],eo=-1;function or(e){return{current:e}}function ge(e){0>eo||(e.current=Ec[eo],Ec[eo]=null,eo--)}function de(e,t){eo++,Ec[eo]=e.current,e.current=t}var er={},Qe=or(er),ot=or(!1),Er=er;function Eo(e,t){var n=e.type.contextTypes;if(!n)return er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function st(e){return e=e.childContextTypes,e!=null}function ea(){ge(ot),ge(Qe)}function Ef(e,t,n){if(Qe.current!==er)throw Error(I(168));de(Qe,t),de(ot,n)}function wm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(I(108,Cx(e)||"Unknown",o));return Se({},n,r)}function ta(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,Er=Qe.current,de(Qe,e),de(ot,ot.current),!0}function kf(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=wm(e,t,Er),r.__reactInternalMemoizedMergedChildContext=e,ge(ot),ge(Qe),de(Qe,e)):ge(ot),de(ot,n)}var cn=null,Ra=!1,Pl=!1;function bm(e){cn===null?cn=[e]:cn.push(e)}function zw(e){Ra=!0,bm(e)}function sr(){if(!Pl&&cn!==null){Pl=!0;var e=0,t=le;try{var n=cn;for(le=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}cn=null,Ra=!1}catch(o){throw cn!==null&&(cn=cn.slice(e+1)),Kh(Tu,sr),o}finally{le=t,Pl=!1}}return null}var to=[],no=0,na=null,ra=0,wt=[],bt=0,kr=null,dn=1,fn="";function fr(e,t){to[no++]=ra,to[no++]=na,na=e,ra=t}function Sm(e,t,n){wt[bt++]=dn,wt[bt++]=fn,wt[bt++]=kr,kr=e;var r=dn;e=fn;var o=32-$t(r)-1;r&=~(1<<o),n+=1;var s=32-$t(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,dn=1<<32-$t(t)+o|n<<o|r,fn=s+e}else dn=1<<s|n<<o|r,fn=e}function Fu(e){e.return!==null&&(fr(e,1),Sm(e,1,0))}function $u(e){for(;e===na;)na=to[--no],to[no]=null,ra=to[--no],to[no]=null;for(;e===kr;)kr=wt[--bt],wt[bt]=null,fn=wt[--bt],wt[bt]=null,dn=wt[--bt],wt[bt]=null}var ft=null,dt=null,ye=!1,Ft=null;function Cm(e,t){var n=St(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 Pf(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,ft=e,dt=Gn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=kr!==null?{id:dn,overflow:fn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=St(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,dt=null,!0):!1;default:return!1}}function kc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Pc(e){if(ye){var t=dt;if(t){var n=t;if(!Pf(e,t)){if(kc(e))throw Error(I(418));t=Gn(n.nextSibling);var r=ft;t&&Pf(e,t)?Cm(r,n):(e.flags=e.flags&-4097|2,ye=!1,ft=e)}}else{if(kc(e))throw Error(I(418));e.flags=e.flags&-4097|2,ye=!1,ft=e}}}function Tf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ft=e}function ci(e){if(e!==ft)return!1;if(!ye)return Tf(e),ye=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Cc(e.type,e.memoizedProps)),t&&(t=dt)){if(kc(e))throw Nm(),Error(I(418));for(;t;)Cm(e,t),t=Gn(t.nextSibling)}if(Tf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317)
vendor: 25,627 bytes, lines 38-40
38);e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){dt=Gn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}dt=null}}else dt=ft?Gn(e.stateNode.nextSibling):null;return!0}function Nm(){for(var e=dt;e;)e=Gn(e.nextSibling)}function ko(){dt=ft=null,ye=!1}function zu(e){Ft===null?Ft=[e]:Ft.push(e)}var Uw=wn.ReactCurrentBatchConfig;function Yo(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(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var l=o.refs;i===null?delete l[s]:l[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function ui(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Rf(e){var t=e._init;return t(e._payload)}function jm(e){function t(y,p){if(e){var x=y.deletions;x===null?(y.deletions=[p],y.flags|=16):x.push(p)}}function n(y,p){if(!e)return null;for(;p!==null;)t(y,p),p=p.sibling;return null}function r(y,p){for(y=new Map;p!==null;)p.key!==null?y.set(p.key,p):y.set(p.index,p),p=p.sibling;return y}function o(y,p){return y=Xn(y,p),y.index=0,y.sibling=null,y}function s(y,p,x){return y.index=x,e?(x=y.alternate,x!==null?(x=x.index,x<p?(y.flags|=2,p):x):(y.flags|=2,p)):(y.flags|=1048576,p)}function i(y){return e&&y.alternate===null&&(y.flags|=2),y}function l(y,p,x,C){return p===null||p.tag!==6?(p=Ol(x,y.mode,C),p.return=y,p):(p=o(p,x),p.return=y,p)}function c(y,p,x,C){var S=x.type;return S===qr?f(y,p,x.props.children,C,x.key):p!==null&&(p.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===In&&Rf(S)===p.type)?(C=o(p,x.props),C.ref=Yo(y,p,x),C.return=y,C):(C=Fi(x.type,x.key,x.props,null,y.mode,C),C.ref=Yo(y,p,x),C.return=y,C)}function u(y,p,x,C){return p===null||p.tag!==4||p.stateNode.containerInfo!==x.containerInfo||p.stateNode.implementation!==x.implementation?(p=Ll(x,y.mode,C),p.return=y,p):(p=o(p,x.children||[]),p.return=y,p)}function f(y,p,x,C,S){return p===null||p.tag!==7?(p=jr(x,y.mode,C,S),p.return=y,p):(p=o(p,x),p.return=y,p)}function d(y,p,x){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Ol(""+p,y.mode,x),p.return=y,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Js:return x=Fi(p.type,p.key,p.props,null,y.mode,x),x.ref=Yo(y,null,p),x.return=y,x;case Qr:return p=Ll(p,y.mode,x),p.return=y,p;case In:var C=p._init;return d(y,C(p._payload),x)}if(ns(p)||Wo(p))return p=jr(p,y.mode,x,null),p.return=y,p;ui(y,p)}return null}function v(y,p,x,C){var S=p!==null?p.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return S!==null?null:l(y,p,""+x,C);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Js:return x.key===S?c(y,p,x,C):null;case Qr:return x.key===S?u(y,p,x,C):null;case In:return S=x._init,v(y,p,S(x._payload),C)}if(ns(x)||Wo(x))return S!==null?null:f(y,p,x,C,null);ui(y,x)}return null}function h(y,p,x,C,S){if(typeof C=="string"&&C!==""||typeof C=="number")return y=y.get(x)||null,l(p,y,""+C,S);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Js:return y=y.get(C.key===null?x:C.key)||null,c(p,y,C,S);case Qr:return y=y.get(C.key===null?x:C.key)||null,u(p,y,C,S);case In:var N=C._init;return h(y,p,x,N(C._payload),S)}if(ns(C)||Wo(C))return y=y.get(x)||null,f(p,y,C,S,null);ui(p,C)}return null}function b(y,p,x,C){for(var S=null,N=null,j=p,E=p=0,A=null;j!==null&&E<x.length;E++){j.index>E?(A=j,j=null):A=j.sibling;var R=v(y,j,x[E],C);if(R===null){j===null&&(j=A);break}e&&j&&R.alternate===null&&t(y,j),p=s(R,p,E),N===null?S=R:N.sibling=R,N=R,j=A}if(E===x.length)return n(y,j),ye&&fr(y,E),S;if(j===null){for(;E<x.length;E++)j=d(y,x[E],C),j!==null&&(p=s(j,p,E),N===null?S=j:N.sibling=j,N=j);return ye&&fr(y,E),S}for(j=r(y,j);E<x.length;E++)A=h(j,y,E,x[E],C),A!==null&&(e&&A.alternate!==null&&j.delete(A.key===null?E:A.key),p=s(A,p,E),N===null?S=A:N.sibling=A,N=A);return e&&j.forEach(function(O){return t(y,O)}),ye&&fr(y,E),S}function m(y,p,x,C){var S=Wo(x);if(typeof S!="function")throw Error(I(150));if(x=S.call(x),x==null)throw Error(I(151));for(var N=S=null,j=p,E=p=0,A=null,R=x.next();j!==null&&!R.done;E++,R=x.next()){j.index>E?(A=j,j=null):A=j.sibling;var O=v(y,j,R.value,C);if(O===null){j===null&&(j=A);break}e&&j&&O.alternate===null&&t(y,j),p=s(O,p,E),N===null?S=O:N.sibling=O,N=O,j=A}if(R.done)return n(y,j),ye&&fr(y,E),S;if(j===null){for(;!R.done;E++,R=x.next())R=d(y,R.value,C),R!==null&&(p=s(R,p,E),N===null?S=R:N.sibling=R,N=R);return ye&&fr(y,E),S}for(j=r(y,j);!R.done;E++,R=x.next())R=h(j,y,E,R.value,C),R!==null&&(e&&R.alternate!==null&&j.delete(R.key===null?E:R.key),p=s(R,p,E),N===null?S=R:N.sibling=R,N=R);return e&&j.forEach(function(L){return t(y,L)}),ye&&fr(y,E),S}function w(y,p,x,C){if(typeof x=="object"&&x!==null&&x.type===qr&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Js:e:{for(var S=x.key,N=p;N!==null;){if(N.key===S){if(S=x.type,S===qr){if(N.tag===7){n(y,N.sibling),p=o(N,x.props.children),p.return=y,y=p;break e}}else if(N.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===In&&Rf(S)===N.type){n(y,N.sibling),p=o(N,x.props),p.ref=Yo(y,N,x),p.return=y,y=p;break e}n(y,N);break}else t(y,N);N=N.sibling}x.type===qr?(p=jr(x.props.children,y.mode,C,x.key),p.return=y,y=p):(C=Fi(x.type,x.key,x.props,null,y.mode,C),C.ref=Yo(y,p,x),C.return=y,y=C)}return i(y);case Qr:e:{for(N=x.key;p!==null;){if(p.key===N)if(p.tag===4&&p.stateNode.containerInfo===x.containerInfo&&p.stateNode.implementation===x.implementation){n(y,p.sibling),p=o(p,x.children||[]),p.return=y,y=p;break e}else{n(y,p);break}else t(y,p);p=p.sibling}p=Ll(x,y.mode,C),p.return=y,y=p}return i(y);case In:return N=x._init,w(y,p,N(x._payload),C)}if(ns(x))return b(y,p,x,C);if(Wo(x))return m(y,p,x,C);ui(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,p!==null&&p.tag===6?(n(y,p.sibling),p=o(p,x),p.return=y,y=p):(n(y,p),p=Ol(x,y.mode,C),p.return=y,y=p),i(y)):n(y,p)}return w}var Po=jm(!0),Em=jm(!1),oa=or(null),sa=null,ro=null,Uu=null;function Bu(){Uu=ro=sa=null}function Vu(e){var t=oa.current;ge(oa),e._currentValue=t}function Tc(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 uo(e,t){sa=e,Uu=ro=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(rt=!0),e.firstContext=null)}function Nt(e){var t=e._currentValue;if(Uu!==e)if(e={context:e,memoizedValue:t,next:null},ro===null){if(sa===null)throw Error(I(308));ro=e,sa.dependencies={lanes:0,firstContext:e}}else ro=ro.next=e;return t}var mr=null;function Hu(e){mr===null?mr=[e]:mr.push(e)}function km(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Hu(t)):(n.next=o.next,o.next=n),t.interleaved=n,gn(e,r)}function gn(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 _n=!1;function Wu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pm(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 Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,gn(e,n)}return o=r.interleaved,o===null?(t.next=t,Hu(r)):(t.next=o.next,o.next=t),r.interleaved=t,gn(e,n)}function Ii(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,Ru(e,n)}}function Af(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,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 ia(e,t,n,r){var o=e.updateQueue;_n=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,u=c.next;c.next=null,i===null?s=u:i.next=u,i=c;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==i&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=c))}if(s!==null){var d=o.baseState;i=0,f=u=c=null,l=s;do{var v=l.lane,h=l.eventTime;if((r&v)===v){f!==null&&(f=f.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,m=l;switch(v=t,h=n,m.tag){case 1:if(b=m.payload,typeof b=="function"){d=b.call(h,d,v);break e}d=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=m.payload,v=typeof b=="function"?b.call(h,d,v):b,v==null)break e;d=Se({},d,v);break e;case 2:_n=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,v=o.effects,v===null?o.effects=[l]:v.push(l))}else h={eventTime:h,lane:v,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=h,c=d):f=f.next=h,i|=v;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;v=l,l=v.next,v.next=null,o.lastBaseUpdate=v,o.shared.pending=null}}while(!0);if(f===null&&(c=d),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);Tr|=i,e.lanes=i,e.memoizedState=d}}function If(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(I(191,o));o.call(r)}}}var Ks={},en=or(Ks),Ts=or(Ks),Rs=or(Ks);function gr(e){if(e===Ks)throw Error(I(174));return e}function Ku(e,t){switch(de(Rs,t),de(Ts,e),de(en,Ks),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cc(t,e)}ge(en),de(en,t)}function To(){ge(en),ge(Ts),ge(Rs)}function Tm(e){gr(Rs.current);var t=gr(en.current),n=cc(t,e.type);t!==n&&(de(Ts,e),de(en,n))}function Gu(e){Ts.current===e&&(ge(en),ge(Ts))}var we=or(0);function aa(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 Tl=[];function Qu(){for(var e=0;e<Tl.length;e++)Tl[e]._workInProgressVersionPrimary=null;Tl.length=0}var _i=wn.ReactCurrentDispatcher,Rl=wn.ReactCurrentBatchConfig,Pr=0,be=null,Re=null,Me=null,la=!1,ps=!1,As=0,Bw=0;function Be(){throw Error(I(321))}function qu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ut(e[n],t[n]))return!1;return!0}function Yu(e,t,n,r,o,s){if(Pr=s,be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_i.current=e===null||e.memoizedState===null?Kw:Gw,e=n(r,o),ps){s=0;do{if(ps=!1,As=0,25<=s)throw Error(I(301));s+=1,Me=Re=null,t.updateQueue=null,_i.current=Qw,e=n(r,o)}while(ps)}if(_i.current=ca,t=Re!==null&&Re.next!==null,Pr=0,Me=Re=be=null,la=!1,t)throw Error(I(300));return e}function Xu(){var e=As!==0;return As=0,e}function Kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Me===null?be.memoizedState=Me=e:Me=Me.next=e,Me}function jt(){if(Re===null){var e=be.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=Me===null?be.memoizedState:Me.next;if(t!==null)Me=t,Re=e;else{if(e===null)throw Error(I(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},Me===null?be.memoizedState=Me=e:Me=Me.next=e}return Me}function Is(e,t){return typeof t=="function"?t(e):t}function Al(e){var t=jt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=Re,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var l=i=null,c=null,u=s;do{var f=u.lane;if((Pr&f)===f)c!==null&&(c=c.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:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=d,i=r):c=c.next=d,be.lanes|=f,Tr|=f}u=u.next}while(u!==null&&u!==s);c===null?i=r:c.next=l,Ut(r,t.memoizedState)||(rt=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,be.lanes|=s,Tr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Il(e){var t=jt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Ut(s,t.memoizedState)||(rt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Rm(){}function Am(e,t){var n=be,r=jt(),o=t(),s=!Ut(r.memoizedState,o);if(s&&(r.memoizedState=o,rt=!0),r=r.queue,Zu(Mm.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Me!==null&&Me.memoizedState.tag&1){if(n.flags|=2048,_s(9,_m.bind(null,n,r,o,t),void 0,null),Oe===null)throw Error(I(349));Pr&30||Im(n,t,o)}return o}function Im(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function _m(e,t,n,r){t.value=n,t.getSnapshot=r,Om(t)&&Lm(e)}function Mm(e,t,n){return n(function(){Om(t)&&Lm(e)})}function Om(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ut(e,n)}catch{return!0}}function Lm(e){var t=gn(e,1);t!==null&&zt(t,e,1,-1)}function _f(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:Is,lastRenderedState:e},t.queue=e,e=e.dispatch=Ww.bind(null,be,e),[t.memoizedState,e]}function _s(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.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 Dm(){return jt().memoizedState}function Mi(e,t,n,r){var o=Kt();be.flags|=e,o.memoizedState=_s(1|t,n,void 0,r===void 0?null:r)}function Aa(e,t,n,r){var o=jt();r=r===void 0?null:r;var s=void 0;if(Re!==null){var i=Re.memoizedState;if(s=i.destroy,r!==null&&qu(r,i.deps)){o.memoizedState=_s(t,n,s,r);return}}be.flags|=e,o.memoizedState=_s(1|t,n,s,r)}function Mf(e,t){return Mi(8390656,8,e,t)}function Zu(e,t){return Aa(2048,8,e,t)}function Fm(e,t){return Aa(4,2,e,t)}function $m(e,t){return Aa(4,4,e,t)}function zm(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 Um(e,t,n){return n=n!=null?n.concat([e]):null,Aa(4,4,zm.bind(null,t,e),n)}function Ju(){}function Bm(e,t){var n=jt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Vm(e,t){var n=jt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hm(e,t,n){return Pr&21?(Ut(n,t)||(n=qh(),be.lanes|=n,Tr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,rt=!0),e.memoizedState=n)}function Vw(e,t){var n=le;le=n!==0&&4>n?n:4,e(!0);var r=Rl.transition;Rl.transition={};try{e(!1),t()}finally{le=n,Rl.transition=r}}function Wm(){return jt().memoizedState}function Hw(e,t,n){var r=Yn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Km(e))Gm(t,n);else if(n=km(e,t,n,r),n!==null){var o=Ze();zt(n,e,r,o),Qm(n,t,r)}}function Ww(e,t,n){var r=Yn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Km(e))Gm(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,l=s(i,n);if(o.hasEagerState=!0,o.eagerState=l,Ut(l,i)){var c=t.interleaved;c===null?(o.next=o,Hu(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=km(e,t,o,r),n!==null&&(o=Ze(),zt(n,e,r,o),Qm(n,t,r))}}function Km(e){var t=e.alternate;return e===be||t!==null&&t===be}function Gm(e,t){ps=la=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ru(e,n)}}var ca={readContext:Nt,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useInsertionEffect:Be,useLayoutEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useMutableSource:Be,useSyncExternalStore:Be,useId:Be,unstable_isNewReconciler:!1},Kw={readContext:Nt,useCallback:function(e,t){return Kt().memoizedState=[e,t===void 0?null:t],e},useContext:Nt,useEffect:Mf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mi(4194308,4,zm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mi(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=Hw.bind(null,be,e),[r.memoizedState,e]},useRef:function(e){var t=Kt();return e={current:e},t.memoizedState=e},useState:_f,useDebugValue:Ju,useDeferredValue:function(e){return Kt().memoizedState=e},useTransition:function(){var e=_f(!1),t=e[0];return e=Vw.bind(null,e[1]),Kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=be,o=Kt();if(ye){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),Oe===null)throw Error(I(349));Pr&30||Im(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Mf(Mm.bind(null,r,s,e),[e]),r.flags|=2048,_s(9,_m.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Kt(),t=Oe.identifierPrefix;if(ye){var n=fn,r=dn;n=(r&~(1<<32-$t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=As++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Bw++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Gw={readContext:Nt,useCallback:Bm,useContext:Nt,useEffect:Zu,useImperativeHandle:Um,useInsertionEffect:Fm,useLayoutEffect:$m,useMemo:Vm,useReducer:Al,useRef:Dm,useState:function(){return Al(Is)},useDebugValue:Ju,useDeferredValue:function(e){var t=jt();return Hm(t,Re.memoizedState,e)},useTransition:function(){var e=Al(Is)[0],t=jt().memoizedState;return[e,t]},useMutableSource:Rm,useSyncExternalStore:Am,useId:Wm,unstable_isNewReconciler:!1},Qw={readContext:Nt,useCallback:Bm,useContext:Nt,useEffect:Zu,useImperativeHandle:Um,useInsertionEffect:Fm,useLayoutEffect:$m,useMemo:Vm,useReducer:Il,useRef:Dm,useState:function(){return Il(Is)},useDebugValue:Ju,useDeferredValue:function(e){var t=jt();return Re===null?t.memoizedState=e:Hm(t,Re.memoizedState,e)},useTransition:function(){var e=Il(Is)[0],t=jt().memoizedState;return[e,t]},useMutableSource:Rm,useSyncExternalStore:Am,useId:Wm,unstable_isNewReconciler:!1};function _t(e,t){if(e&&e.defaultProps){t=Se({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Rc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ia={isMounted:function(e){return(e=e._reactInternals)?Lr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ze(),o=Yn(e),s=pn(r,o);s.payload=t,n!=null&&(s.callback=n),t=Qn(e,s,o),t!==null&&(zt(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ze(),o=Yn(e),s=pn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Qn(e,s,o),t!==null&&(zt(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ze(),r=Yn(e),o=pn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Qn(e,o,r),t!==null&&(zt(t,e,r,n),Ii(t,e,r))}};function Of(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!js(n,r)||!js(o,s):!0}function qm(e,t,n){var r=!1,o=er,s=t.contextType;return typeof s=="object"&&s!==null?s=Nt(s):(o=st(t)?Er:Qe.current,r=t.contextTypes,s=(r=r!=null)?Eo(e,o):er),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ia,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Lf(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&&Ia.enqueueReplaceState(t,t.state,null)}function Ac(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Wu(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=Nt(s):(s=st(t)?Er:Qe.current,o.context=Eo(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Rc(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Ia.enqueueReplaceState(o,o.state,null),ia(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ro(e,t){try{var n="",r=t;do n+=Sx(r),r=r.return;while(r);var o=n}catch(s){o=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:o,digest:null}}function _l(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ic(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var qw=typeof WeakMap=="function"?WeakMap:Map;function Ym(e,t,n){n=pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){da||(da=!0,Bc=r),Ic(e,t)},n}function Xm(e,t,n){n=pn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ic(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ic(e,t),typeof r!="function"&&(qn===null?qn=new Set([this]):qn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Df(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new qw;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=c1.bind(null,e,t,n),t.then(e,e))}function Ff(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 $f(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,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,Qn(n,t,1))),n.lanes|=1),e)}var Yw=wn.ReactCurrentOwner,rt=!1;function Ye(e,t,n,r){t.child=e===null?Em(t,null,n,r):Po(t,e.child,n,r)}function zf(e,t,n,r,o){n=n.render;var s=t.ref;return uo(t,o),r=Yu(e,t,n,r,s,o),n=Xu(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,vn(e,t,o)):(ye&&n&&Fu(t),t.flags|=1,Ye(e,t,r,o),t.child)}function Uf(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!ad(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Zm(e,t,s,r,o)):(e=Fi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:js,n(i,r)&&e.ref===t.ref)return vn(e,t,o)}return t.flags|=1,e=Xn(s,r),e.ref=t.ref,e.return=t,t.child=e}function Zm(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(js(s,r)&&e.ref===t.ref)if(rt=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(rt=!0);else return t.lanes=e.lanes,vn(e,t,o)}return _c(e,t,n,r,o)}function Jm(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},de(so,ct),ct|=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,de(so,ct),ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,de(so,ct),ct|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,de(so,ct),ct|=r;return Ye(e,t,o,n),t.child}function eg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 8,021 bytes, line 40
40function _c(e,t,n,r,o){var s=st(n)?Er:Qe.current;return s=Eo(t,s),uo(t,o),n=Yu(e,t,n,r,s,o),r=Xu(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,vn(e,t,o)):(ye&&r&&Fu(t),t.flags|=1,Ye(e,t,n,o),t.child)}function Bf(e,t,n,r,o){if(st(n)){var s=!0;ta(t)}else s=!1;if(uo(t,o),t.stateNode===null)Oi(e,t),qm(t,n,r),Ac(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=Nt(u):(u=st(n)?Er:Qe.current,u=Eo(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Lf(t,i,r,u),_n=!1;var v=t.memoizedState;i.state=v,ia(t,r,i,o),c=t.memoizedState,l!==r||v!==c||ot.current||_n?(typeof f=="function"&&(Rc(t,n,f,r),c=t.memoizedState),(l=_n||Of(t,n,l,r,v,c,u))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=u,r=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Pm(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:_t(t.type,l),i.props=u,d=t.pendingProps,v=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=Nt(c):(c=st(n)?Er:Qe.current,c=Eo(t,c));var h=n.getDerivedStateFromProps;(f=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==d||v!==c)&&Lf(t,i,r,c),_n=!1,v=t.memoizedState,i.state=v,ia(t,r,i,o);var b=t.memoizedState;l!==d||v!==b||ot.current||_n?(typeof h=="function"&&(Rc(t,n,h,r),b=t.memoizedState),(u=_n||Of(t,n,u,r,v,b,c)||!1)?(f||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,b,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,b,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),i.props=r,i.state=b,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return Mc(e,t,n,r,s,o)}function Mc(e,t,n,r,o,s){eg(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&kf(t,n,!1),vn(e,t,s);r=t.stateNode,Yw.current=t;var l=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Po(t,e.child,null,s),t.child=Po(t,null,l,s)):Ye(e,t,l,s),t.memoizedState=r.state,o&&kf(t,n,!0),t.child}function tg(e){var t=e.stateNode;t.pendingContext?Ef(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ef(e,t.context,!1),Ku(e,t.containerInfo)}function Vf(e,t,n,r,o){return ko(),zu(o),t.flags|=256,Ye(e,t,n,r),t.child}var Oc={dehydrated:null,treeContext:null,retryLane:0};function Lc(e){return{baseLanes:e,cachePool:null,transitions:null}}function ng(e,t,n){var r=t.pendingProps,o=we.current,s=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),de(we,o&1),e===null)return Pc(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):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=Oa(i,r,0,null),e=jr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Lc(n),t.memoizedState=Oc,e):ed(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return Xw(e,t,i,r,l,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,l=o.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Xn(o,c),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?s=Xn(l,s):(s=jr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Lc(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Oc,r}return s=e.child,e=s.sibling,r=Xn(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 ed(e,t){return t=Oa({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function di(e,t,n,r){return r!==null&&zu(r),Po(t,e.child,null,n),e=ed(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Xw(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=_l(Error(I(422))),di(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=Oa({mode:"visible",children:r.children},o,0,null),s=jr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Po(t,e.child,null,i),t.child.memoizedState=Lc(i),t.memoizedState=Oc,s);if(!(t.mode&1))return di(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(I(419)),r=_l(s,r,void 0),di(e,t,i,r)}if(l=(i&e.childLanes)!==0,rt||l){if(r=Oe,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,gn(e,o),zt(r,e,o,-1))}return id(),r=_l(Error(I(421))),di(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=u1.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,dt=Gn(o.nextSibling),ft=t,ye=!0,Ft=null,e!==null&&(wt[bt++]=dn,wt[bt++]=fn,wt[bt++]=kr,dn=e.id,fn=e.overflow,kr=t),t=ed(t,r.children),t.flags|=4096,t)}function Hf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Tc(e.return,t,n)}function Ml(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function rg(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Ye(e,t,r.children,n),r=we.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&&Hf(e,n,t);else if(e.tag===19)Hf(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(de(we,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&aa(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ml(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&aa(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ml(t,!0,n,null,s);break;case"together":Ml(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Oi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 3,570 bytes, line 40
40function vn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Tr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,n=Xn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Zw(e,t,n){switch(t.tag){case 3:tg(t),ko();break;case 5:Tm(t);break;case 1:st(t.type)&&ta(t);break;case 4:Ku(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;de(oa,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(de(we,we.current&1),t.flags|=128,null):n&t.child.childLanes?ng(e,t,n):(de(we,we.current&1),e=vn(e,t,n),e!==null?e.sibling:null);de(we,we.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return rg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),de(we,we.current),r)break;return null;case 22:case 23:return t.lanes=0,Jm(e,t,n)}return vn(e,t,n)}var og,Dc,sg,ig;og=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}};Dc=function(){};sg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,gr(en.current);var s=null;switch(n){case"input":o=sc(e,o),r=sc(e,r),s=[];break;case"select":o=Se({},o,{value:void 0}),r=Se({},r,{value:void 0}),s=[];break;case"textarea":o=lc(e,o),r=lc(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ji)}uc(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ys.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ys.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&me("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};ig=function(e,t,n,r){n!==r&&(t.flags|=4)};function Xo(e,t){if(!ye)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 Ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 30,229 bytes, line 40
40function Jw(e,t,n){var r=t.pendingProps;switch($u(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return st(t.type)&&ea(),Ve(t),null;case 3:return r=t.stateNode,To(),ge(ot),ge(Qe),Qu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ci(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ft!==null&&(Wc(Ft),Ft=null))),Dc(e,t),Ve(t),null;case 5:Gu(t);var o=gr(Rs.current);if(n=t.type,e!==null&&t.stateNode!=null)sg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return Ve(t),null}if(e=gr(en.current),ci(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Yt]=t,r[Ps]=s,e=(t.mode&1)!==0,n){case"dialog":me("cancel",r),me("close",r);break;case"iframe":case"object":case"embed":me("load",r);break;case"video":case"audio":for(o=0;o<os.length;o++)me(os[o],r);break;case"source":me("error",r);break;case"img":case"image":case"link":me("error",r),me("load",r);break;case"details":me("toggle",r);break;case"input":Zd(r,s),me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},me("invalid",r);break;case"textarea":ef(r,s),me("invalid",r)}uc(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&li(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&li(r.textContent,l,e),o=["children",""+l]):ys.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&me("scroll",r)}switch(n){case"input":ei(r),Jd(r,s,!0);break;case"textarea":ei(r),tf(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Ji)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Mh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Yt]=t,e[Ps]=r,og(e,t,!1,!1),t.stateNode=e;e:{switch(i=dc(n,r),n){case"dialog":me("cancel",e),me("close",e),o=r;break;case"iframe":case"object":case"embed":me("load",e),o=r;break;case"video":case"audio":for(o=0;o<os.length;o++)me(os[o],e);o=r;break;case"source":me("error",e),o=r;break;case"img":case"image":case"link":me("error",e),me("load",e),o=r;break;case"details":me("toggle",e),o=r;break;case"input":Zd(e,r),o=sc(e,r),me("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Se({},r,{value:void 0}),me("invalid",e);break;case"textarea":ef(e,r),o=lc(e,r),me("invalid",e);break;default:o=r}uc(n,o),l=o;for(s in l)if(l.hasOwnProperty(s)){var c=l[s];s==="style"?Dh(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Oh(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&xs(e,c):typeof c=="number"&&xs(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(ys.hasOwnProperty(s)?c!=null&&s==="onScroll"&&me("scroll",e):c!=null&&Nu(e,s,c,i))}switch(n){case"input":ei(e),Jd(e,r,!1);break;case"textarea":ei(e),tf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Jn(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?io(e,!!r.multiple,s,!1):r.defaultValue!=null&&io(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ji)}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 Ve(t),null;case 6:if(e&&t.stateNode!=null)ig(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=gr(Rs.current),gr(en.current),ci(t)){if(r=t.stateNode,n=t.memoizedProps,r[Yt]=t,(s=r.nodeValue!==n)&&(e=ft,e!==null))switch(e.tag){case 3:li(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&li(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Yt]=t,t.stateNode=r}return Ve(t),null;case 13:if(ge(we),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ye&&dt!==null&&t.mode&1&&!(t.flags&128))Nm(),ko(),t.flags|=98560,s=!1;else if(s=ci(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(I(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(I(317));s[Yt]=t}else ko(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),s=!1}else Ft!==null&&(Wc(Ft),Ft=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||we.current&1?Ae===0&&(Ae=3):id())),t.updateQueue!==null&&(t.flags|=4),Ve(t),null);case 4:return To(),Dc(e,t),e===null&&Es(t.stateNode.containerInfo),Ve(t),null;case 10:return Vu(t.type._context),Ve(t),null;case 17:return st(t.type)&&ea(),Ve(t),null;case 19:if(ge(we),s=t.memoizedState,s===null)return Ve(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)Xo(s,!1);else{if(Ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=aa(e),i!==null){for(t.flags|=128,Xo(s,!1),r=i.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,i=s.alternate,i===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=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return de(we,we.current&1|2),t.child}e=e.sibling}s.tail!==null&&ke()>Ao&&(t.flags|=128,r=!0,Xo(s,!1),t.lanes=4194304)}else{if(!r)if(e=aa(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Xo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!ye)return Ve(t),null}else 2*ke()-s.renderingStartTime>Ao&&n!==1073741824&&(t.flags|=128,r=!0,Xo(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ke(),t.sibling=null,n=we.current,de(we,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return sd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ct&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function e1(e,t){switch($u(t),t.tag){case 1:return st(t.type)&&ea(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return To(),ge(ot),ge(Qe),Qu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gu(t),null;case 13:if(ge(we),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));ko()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ge(we),null;case 4:return To(),null;case 10:return Vu(t.type._context),null;case 22:case 23:return sd(),null;case 24:return null;default:return null}}var fi=!1,Ge=!1,t1=typeof WeakSet=="function"?WeakSet:Set,z=null;function oo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ee(e,t,r)}else n.current=null}function Fc(e,t,n){try{n()}catch(r){Ee(e,t,r)}}var Wf=!1;function n1(e,t){if(bc=Yi,e=dm(),Du(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 o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,l=-1,c=-1,u=0,f=0,d=e,v=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(l=i+o),d!==s||r!==0&&d.nodeType!==3||(c=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(h=d.firstChild)!==null;)v=d,d=h;for(;;){if(d===e)break t;if(v===n&&++u===o&&(l=i),v===s&&++f===r&&(c=i),(h=d.nextSibling)!==null)break;d=v,v=d.parentNode}d=h}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Sc={focusedElem:e,selectionRange:n},Yi=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var m=b.memoizedProps,w=b.memoizedState,y=t.stateNode,p=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:_t(t.type,m),w);y.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(C){Ee(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return b=Wf,Wf=!1,b}function hs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Fc(t,n,s)}o=o.next}while(o!==r)}}function _a(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 $c(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 ag(e){var t=e.alternate;t!==null&&(e.alternate=null,ag(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Yt],delete t[Ps],delete t[jc],delete t[Fw],delete t[$w])),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 lg(e){return e.tag===5||e.tag===3||e.tag===4}function Kf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lg(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 zc(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=Ji));else if(r!==4&&(e=e.child,e!==null))for(zc(e,t,n),e=e.sibling;e!==null;)zc(e,t,n),e=e.sibling}function Uc(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(Uc(e,t,n),e=e.sibling;e!==null;)Uc(e,t,n),e=e.sibling}var De=null,Dt=!1;function En(e,t,n){for(n=n.child;n!==null;)cg(e,t,n),n=n.sibling}function cg(e,t,n){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(ja,n)}catch{}switch(n.tag){case 5:Ge||oo(n,t);case 6:var r=De,o=Dt;De=null,En(e,t,n),De=r,Dt=o,De!==null&&(Dt?(e=De,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):De.removeChild(n.stateNode));break;case 18:De!==null&&(Dt?(e=De,n=n.stateNode,e.nodeType===8?kl(e.parentNode,n):e.nodeType===1&&kl(e,n),Cs(e)):kl(De,n.stateNode));break;case 4:r=De,o=Dt,De=n.stateNode.containerInfo,Dt=!0,En(e,t,n),De=r,Dt=o;break;case 0:case 11:case 14:case 15:if(!Ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Fc(n,t,i),o=o.next}while(o!==r)}En(e,t,n);break;case 1:if(!Ge&&(oo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ee(n,t,l)}En(e,t,n);break;case 21:En(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,En(e,t,n),Ge=r):En(e,t,n);break;default:En(e,t,n)}}function Gf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new t1),t.forEach(function(r){var o=d1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 5:De=l.stateNode,Dt=!1;break e;case 3:De=l.stateNode.containerInfo,Dt=!0;break e;case 4:De=l.stateNode.containerInfo,Dt=!0;break e}l=l.return}if(De===null)throw Error(I(160));cg(s,i,o),De=null,Dt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){Ee(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ug(t,e),t=t.sibling}function ug(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Rt(t,e),Ht(e),r&4){try{hs(3,e,e.return),_a(3,e)}catch(m){Ee(e,e.return,m)}try{hs(5,e,e.return)}catch(m){Ee(e,e.return,m)}}break;case 1:Rt(t,e),Ht(e),r&512&&n!==null&&oo(n,n.return);break;case 5:if(Rt(t,e),Ht(e),r&512&&n!==null&&oo(n,n.return),e.flags&32){var o=e.stateNode;try{xs(o,"")}catch(m){Ee(e,e.return,m)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&Ih(o,s),dc(l,i);var u=dc(l,s);for(i=0;i<c.length;i+=2){var f=c[i],d=c[i+1];f==="style"?Dh(o,d):f==="dangerouslySetInnerHTML"?Oh(o,d):f==="children"?xs(o,d):Nu(o,f,d,u)}switch(l){case"input":ic(o,s);break;case"textarea":_h(o,s);break;case"select":var v=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var h=s.value;h!=null?io(o,!!s.multiple,h,!1):v!==!!s.multiple&&(s.defaultValue!=null?io(o,!!s.multiple,s.defaultValue,!0):io(o,!!s.multiple,s.multiple?[]:"",!1))}o[Ps]=s}catch(m){Ee(e,e.return,m)}}break;case 6:if(Rt(t,e),Ht(e),r&4){if(e.stateNode===null)throw Error(I(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(m){Ee(e,e.return,m)}}break;case 3:if(Rt(t,e),Ht(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Cs(t.containerInfo)}catch(m){Ee(e,e.return,m)}break;case 4:Rt(t,e),Ht(e);break;case 13:Rt(t,e),Ht(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(rd=ke())),r&4&&Gf(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Ge=(u=Ge)||f,Rt(t,e),Ge=u):Rt(t,e),Ht(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(z=e,f=e.child;f!==null;){for(d=z=f;z!==null;){switch(v=z,h=v.child,v.tag){case 0:case 11:case 14:case 15:hs(4,v,v.return);break;case 1:oo(v,v.return);var b=v.stateNode;if(typeof b.componentWillUnmount=="function"){r=v,n=v.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(m){Ee(r,n,m)}}break;case 5:oo(v,v.return);break;case 22:if(v.memoizedState!==null){qf(d);continue}}h!==null?(h.return=v,z=h):qf(d)}f=f.sibling}e:for(f=null,d=e;;){if(d.tag===5){if(f===null){f=d;try{o=d.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=d.stateNode,c=d.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=Lh("display",i))}catch(m){Ee(e,e.return,m)}}}else if(d.tag===6){if(f===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){Ee(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Rt(t,e),Ht(e),r&4&&Gf(e);break;case 21:break;default:Rt(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(lg(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(xs(o,""),r.flags&=-33);var s=Kf(e);Uc(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,l=Kf(e);zc(e,l,i);break;default:throw Error(I(161))}}catch(c){Ee(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function r1(e,t,n){z=e,dg(e)}function dg(e,t,n){for(var r=(e.mode&1)!==0;z!==null;){var o=z,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||fi;if(!i){var l=o.alternate,c=l!==null&&l.memoizedState!==null||Ge;l=fi;var u=Ge;if(fi=i,(Ge=c)&&!u)for(z=o;z!==null;)i=z,c=i.child,i.tag===22&&i.memoizedState!==null?Yf(o):c!==null?(c.return=i,z=c):Yf(o);for(;s!==null;)z=s,dg(s),s=s.sibling;z=o,fi=l,Ge=u}Qf(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,z=s):Qf(e)}}function Qf(e){for(;z!==null;){var t=z;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ge||_a(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ge)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:_t(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&If(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}If(t,i,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.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 f=u.memoizedState;if(f!==null){var d=f.dehydrated;d!==null&&Cs(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}Ge||t.flags&512&&$c(t)}catch(v){Ee(t,t.return,v)}}if(t===e){z=null;break}if(n=t.sibling,n!==null){n.return=t.return,z=n;break}z=t.return}}function qf(e){for(;z!==null;){var t=z;if(t===e){z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,z=n;break}z=t.return}}function Yf(e){for(;z!==null;){var t=z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{_a(4,t)}catch(c){Ee(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){Ee(t,o,c)}}var s=t.return;try{$c(t)}catch(c){Ee(t,s,c)}break;case 5:var i=t.return;try{$c(t)}catch(c){Ee(t,i,c)}}}catch(c){Ee(t,t.return,c)}if(t===e){z=null;break}var l=t.sibling;if(l!==null){l.return=t.return,z=l;break}z=t.return}}var o1=Math.ceil,ua=wn.ReactCurrentDispatcher,td=wn.ReactCurrentOwner,Ct=wn.ReactCurrentBatchConfig,te=0,Oe=null,Pe=null,Fe=0,ct=0,so=or(0),Ae=0,Ms=null,Tr=0,Ma=0,nd=0,ms=null,nt=null,rd=0,Ao=1/0,ln=null,da=!1,Bc=null,qn=null,pi=!1,Bn=null,fa=0,gs=0,Vc=null,Li=-1,Di=0;function Ze(){return te&6?ke():Li!==-1?Li:Li=ke()}function Yn(e){return e.mode&1?te&2&&Fe!==0?Fe&-Fe:Uw.transition!==null?(Di===0&&(Di=qh()),Di):(e=le,e!==0||(e=window.event,e=e===void 0?16:nm(e.type)),e):1}function zt(e,t,n,r){if(50<gs)throw gs=0,Vc=null,Error(I(185));Vs(e,n,r),(!(te&2)||e!==Oe)&&(e===Oe&&(!(te&2)&&(Ma|=n),Ae===4&&On(e,Fe)),it(e,r),n===1&&te===0&&!(t.mode&1)&&(Ao=ke()+500,Ra&&sr()))}function it(e,t){var n=e.callbackNode;Ux(e,t);var r=qi(e,e===Oe?Fe:0);if(r===0)n!==null&&of(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&of(n),t===1)e.tag===0?zw(Xf.bind(null,e)):bm(Xf.bind(null,e)),Lw(function(){!(te&6)&&sr()}),n=null;else{switch(Yh(r)){case 1:n=Tu;break;case 4:n=Gh;break;case 16:n=Qi;break;case 536870912:n=Qh;break;default:n=Qi}n=xg(n,fg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function fg(e,t){if(Li=-1,Di=0,te&6)throw Error(I(327));var n=e.callbackNode;if(fo()&&e.callbackNode!==n)return null;var r=qi(e,e===Oe?Fe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=pa(e,r);else{t=r;var o=te;te|=2;var s=hg();(Oe!==e||Fe!==t)&&(ln=null,Ao=ke()+500,Nr(e,t));do try{a1();break}catch(l){pg(e,l)}while(!0);Bu(),ua.current=s,te=o,Pe!==null?t=0:(Oe=null,Fe=0,t=Ae)}if(t!==0){if(t===2&&(o=gc(e),o!==0&&(r=o,t=Hc(e,o))),t===1)throw n=Ms,Nr(e,0),On(e,r),it(e,ke()),n;if(t===6)On(e,r);else{if(o=e.current.alternate,!(r&30)&&!s1(o)&&(t=pa(e,r),t===2&&(s=gc(e),s!==0&&(r=s,t=Hc(e,s))),t===1))throw n=Ms,Nr(e,0),On(e,r),it(e,ke()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:pr(e,nt,ln);break;case 3:if(On(e,r),(r&130023424)===r&&(t=rd+500-ke(),10<t)){if(qi(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ze(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Nc(pr.bind(null,e,nt,ln),t);break}pr(e,nt,ln);break;case 4:if(On(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-$t(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*o1(r/1960))-r,10<r){e.timeoutHandle=Nc(pr.bind(null,e,nt,ln),r);break}pr(e,nt,ln);break;case 5:pr(e,nt,ln);break;default:throw Error(I(329))}}}return it(e,ke()),e.callbackNode===n?fg.bind(null,e):null}function Hc(e,t){var n=ms;return e.current.memoizedState.isDehydrated&&(Nr(e,t).flags|=256),e=pa(e,t),e!==2&&(t=nt,nt=n,t!==null&&Wc(t)),e}function Wc(e){nt===null?nt=e:nt.push.apply(nt,e)}function s1(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 o=n[r],s=o.getSnapshot;o=o.value;try{if(!Ut(s(),o))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 On(e,t){for(t&=~nd,t&=~Ma,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-$t(t),r=1<<n;e[n]=-1,t&=~r}}function Xf(e){if(te&6)throw Error(I(327));fo();var t=qi(e,0);if(!(t&1))return it(e,ke()),null;var n=pa(e,t);if(e.tag!==0&&n===2){var r=gc(e);r!==0&&(t=r,n=Hc(e,r))}if(n===1)throw n=Ms,Nr(e,0),On(e,t),it(e,ke()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pr(e,nt,ln),it(e,ke()),null}function od(e,t){var n=te;te|=1;try{return e(t)}finally{te=n,te===0&&(Ao=ke()+500,Ra&&sr())}}function Rr(e){Bn!==null&&Bn.tag===0&&!(te&6)&&fo();var t=te;te|=1;var n=Ct.transition,r=le;try{if(Ct.transition=null,le=1,e)return e()}finally{le=r,Ct.transition=n,te=t,!(te&6)&&sr()}}function sd(){ct=so.current,ge(so)}function Nr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ow(n)),Pe!==null)for(n=Pe.return;n!==null;){var r=n;switch($u(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ea();break;case 3:To(),ge(ot),ge(Qe),Qu();break;case 5:Gu(r);break;case 4:To();break;case 13:ge(we);break;case 19:ge(we);break;case 10:Vu(r.type._context);break;case 22:case 23:sd()}n=n.return}if(Oe=e,Pe=e=Xn(e.current,null),Fe=ct=t,Ae=0,Ms=null,nd=Ma=Tr=0,nt=ms=null,mr!==null){for(t=0;t<mr.length;t++)if(n=mr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}mr=null}return e}function pg(e,t){do{var n=Pe;try{if(Bu(),_i.current=ca,la){for(var r=be.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}la=!1}if(Pr=0,Me=Re=be=null,ps=!1,As=0,td.current=null,n===null||n.return===null){Ae=1,Ms=t,Pe=null;break}e:{var s=e,i=n.return,l=n,c=t;if(t=Fe,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,f=l,d=f.tag;if(!(f.mode&1)&&(d===0||d===11||d===15)){var v=f.alternate;v?(f.updateQueue=v.updateQueue,f.memoizedState=v.memoizedState,f.lanes=v.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=Ff(i);if(h!==null){h.flags&=-257,$f(h,i,l,s,t),h.mode&1&&Df(s,u,t),t=h,c=u;var b=t.updateQueue;if(b===null){var m=new Set;m.add(c),t.updateQueue=m}else b.add(c);break e}else{if(!(t&1)){Df(s,u,t),id();break e}c=Error(I(426))}}else if(ye&&l.mode&1){var w=Ff(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),$f(w,i,l,s,t),zu(Ro(c,l));break e}}s=c=Ro(c,l),Ae!==4&&(Ae=2),ms===null?ms=[s]:ms.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var y=Ym(s,c,t);Af(s,y);break e;case 1:l=c;var p=s.type,x=s.stateNode;if(!(s.flags&128)&&(typeof p.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(qn===null||!qn.has(x)))){s.flags|=65536,t&=-t,s.lanes|=t;var C=Xm(s,l,t);Af(s,C);break e}}s=s.return}while(s!==null)}gg(n)}catch(S){t=S,Pe===n&&n!==null&&(Pe=n=n.return);continue}break}while(!0)}function hg(){var e=ua.current;return ua.current=ca,e===null?ca:e}function id(){(Ae===0||Ae===3||Ae===2)&&(Ae=4),Oe===null||!(Tr&268435455)&&!(Ma&268435455)||On(Oe,Fe)}function pa(e,t){var n=te;te|=2;var r=hg();(Oe!==e||Fe!==t)&&(ln=null,Nr(e,t));do try{i1();break}catch(o){pg(e,o)}while(!0);if(Bu(),te=n,ua.current=r,Pe!==null)throw Error(I(261));return Oe=null,Fe=0,Ae}function i1(){for(;Pe!==null;)mg(Pe)}function a1(){for(;Pe!==null&&!Ix();)mg(Pe)}function mg(e){var t=yg(e.alternate,e,ct);e.memoizedProps=e.pendingProps,t===null?gg(e):Pe=t,td.current=null}function gg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=e1(n,t),n!==null){n.flags&=32767,Pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ae=6,Pe=null;return}}else if(n=Jw(n,t,ct),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);Ae===0&&(Ae=5)}function pr(e,t,n){var r=le,o=Ct.transition;try{Ct.transition=null,le=1,l1(e,t,n,r)}finally{Ct.transition=o,le=r}return null}function l1(e,t,n,r){do fo();while(Bn!==null);if(te&6)throw Error(I(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(I(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Bx(e,s),e===Oe&&(Pe=Oe=null,Fe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||pi||(pi=!0,xg(Qi,function(){return fo(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Ct.transition,Ct.transition=null;var i=le;le=1;var l=te;te|=4,td.current=null,n1(e,n),ug(n,e),Pw(Sc),Yi=!!bc,Sc=bc=null,e.current=n,r1(n),_x(),te=l,le=i,Ct.transition=s}else e.current=n;if(pi&&(pi=!1,Bn=e,fa=o),s=e.pendingLanes,s===0&&(qn=null),Lx(n.stateNode),it(e,ke()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(da)throw da=!1,e=Bc,Bc=null,e;return fa&1&&e.tag!==0&&fo(),s=e.pendingLanes,s&1?e===Vc?gs++:(gs=0,Vc=e):gs=0,sr(),null}function fo(){if(Bn!==null){var e=Yh(fa),t=Ct.transition,n=le;try{if(Ct.transition=null,le=16>e?16:e,Bn===null)var r=!1;else{if(e=Bn,Bn=null,fa=0,te&6)throw Error(I(331));var o=te;for(te|=4,z=e.current;z!==null;){var s=z,i=s.child;if(z.flags&16){var l=s.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(z=u;z!==null;){var f=z;switch(f.tag){case 0:case 11:case 15:hs(8,f,s)}var d=f.child;if(d!==null)d.return=f,z=d;else for(;z!==null;){f=z;var v=f.sibling,h=f.return;if(ag(f),f===u){z=null;break}if(v!==null){v.return=h,z=v;break}z=h}}}var b=s.alternate;if(b!==null){var m=b.child;if(m!==null){b.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}z=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,z=i;else e:for(;z!==null;){if(s=z,s.flags&2048)switch(s.tag){case 0:case 11:case 15:hs(9,s,s.return)}var y=s.sibling;if(y!==null){y.return=s.return,z=y;break e}z=s.return}}var p=e.current;for(z=p;z!==null;){i=z;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,z=x;else e:for(i=p;z!==null;){if(l=z,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:_a(9,l)}}catch(S){Ee(l,l.return,S)}if(l===i){z=null;break e}var C=l.sibling;if(C!==null){C.return=l.return,z=C;break e}z=l.return}}if(te=o,sr(),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(ja,e)}catch{}r=!0}return r}finally{le=n,Ct.transition=t}}return!1}function Zf(e,t,n){t=Ro(n,t),t=Ym(e,t,1),e=Qn(e,t,1),t=Ze(),e!==null&&(Vs(e,1,t),it(e,t))}function Ee(e,t,n){if(e.tag===3)Zf(e,e,n);else for(;t!==null;){if(t.tag===3){Zf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qn===null||!qn.has(r))){e=Ro(n,e),e=Xm(t,e,1),t=Qn(t,e,1),e=Ze(),t!==null&&(Vs(t,1,e),it(t,e));break}}t=t.return}}function c1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ze(),e.pingedLanes|=e.suspendedLanes&n,Oe===e&&(Fe&n)===n&&(Ae===4||Ae===3&&(Fe&130023424)===Fe&&500>ke()-rd?Nr(e,0):nd|=n),it(e,t)}function vg(e,t){t===0&&(e.mode&1?(t=ri,ri<<=1,!(ri&130023424)&&(ri=4194304)):t=1);var n=Ze();e=gn(e,t),e!==null&&(Vs(e,t,n),it(e,n))}function u1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vg(e,n)}function d1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),vg(e,n)}var yg;yg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ot.current)rt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return rt=!1,Zw(e,t,n);rt=!!(e.flags&131072)}else rt=!1,ye&&t.flags&1048576&&Sm(t,ra,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Oi(e,t),e=t.pendingProps;var o=Eo(t,Qe.current);uo(t,n),o=Yu(null,t,r,e,o,n);var s=Xu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,st(r)?(s=!0,ta(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Wu(t),o.updater=Ia,t.stateNode=o,o._reactInternals=t,Ac(t,r,e,n),t=Mc(null,t,r,!0,s,n)):(t.tag=0,ye&&s&&Fu(t),Ye(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Oi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=p1(r),e=_t(r,e),o){case 0:t=_c(null,t,r,e,n);break e;case 1:t=Bf(null,t,r,e,n);break e;case 11:t=zf(null,t,r,e,n);break e;case 14:t=Uf(null,t,r,_t(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_t(r,o),_c(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_t(r,o),Bf(e,t,r,o,n);case 3:e:{if(tg(t),e===null)throw Error(I(387));
vendor: 7,995 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,o=s.element,Pm(e,t),ia(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=Ro(Error(I(423)),t),t=Vf(e,t,r,n,o);break e}else if(r!==o){o=Ro(Error(I(424)),t),t=Vf(e,t,r,n,o);break e}else for(dt=Gn(t.stateNode.containerInfo.firstChild),ft=t,ye=!0,Ft=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ko(),r===o){t=vn(e,t,n);break e}Ye(e,t,r,n)}t=t.child}return t;case 5:return Tm(t),e===null&&Pc(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,Cc(r,o)?i=null:s!==null&&Cc(r,s)&&(t.flags|=32),eg(e,t),Ye(e,t,i,n),t.child;case 6:return e===null&&Pc(t),null;case 13:return ng(e,t,n);case 4:return Ku(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Po(t,null,r,n):Ye(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_t(r,o),zf(e,t,r,o,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,de(oa,r._currentValue),r._currentValue=i,s!==null)if(Ut(s.value,i)){if(s.children===o.children&&!ot.current){t=vn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){i=s.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=pn(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?c.next=c:(c.next=f.next,f.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Tc(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(I(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Tc(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Ye(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,uo(t,n),o=Nt(o),r=r(o),t.flags|=1,Ye(e,t,r,n),t.child;case 14:return r=t.type,o=_t(r,t.pendingProps),o=_t(r.type,o),Uf(e,t,r,o,n);case 15:return Zm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_t(r,o),Oi(e,t),t.tag=1,st(r)?(e=!0,ta(t)):e=!1,uo(t,n),qm(t,r,o),Ac(t,r,o,n),Mc(null,t,r,!0,e,n);case 19:return rg(e,t,n);case 22:return Jm(e,t,n)}throw Error(I(156,t.tag))};function xg(e,t){return Kh(e,t)}function f1(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 St(e,t,n,r){return new f1(e,t,n,r)}function ad(e){return e=e.prototype,!(!e||!e.isReactComponent)}function p1(e){if(typeof e=="function")return ad(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Eu)return 11;if(e===ku)return 14}return 2}function Xn(e,t){var n=e.alternate;return n===null?(n=St(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 Fi(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")ad(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case qr:return jr(n.children,o,s,t);case ju:i=8,o|=8;break;case tc:return e=St(12,n,t,o|2),e.elementType=tc,e.lanes=s,e;case nc:return e=St(13,n,t,o),e.elementType=nc,e.lanes=s,e;case rc:return e=St(19,n,t,o),e.elementType=rc,e.lanes=s,e;case Th:return Oa(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kh:i=10;break e;case Ph:i=9;break e;case Eu:i=11;break e;case ku:i=14;break e;case In:i=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=St(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function jr(e,t,n,r){return e=St(7,e,r,t),e.lanes=n,e}function Oa(e,t,n,r){return e=St(22,e,r,t),e.elementType=Th,e.lanes=n,e.stateNode={isHidden:!1},e}function Ol(e,t,n){return e=St(6,e,null,t),e.lanes=n,e}function Ll(e,t,n){return t=St(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function h1(e,t,n,r,o){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=gl(0),this.expirationTimes=gl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ld(e,t,n,r,o,s,i,l,c){return e=new h1(e,t,n,l,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=St(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wu(s),e}function m1(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 wg(e){if(!e)return er;e=e._reactInternals;e:{if(Lr(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(st(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(st(n))return wm(e,n,t)}return t}function bg(e,t,n,r,o,s,i,l,c){return e=ld(n,r,!0,e,o,s,i,l,c),e.context=wg(null),n=e.current,r=Ze(),o=Yn(n),s=pn(r,o),s.callback=t??null,Qn(n,s,o),e.current.lanes=o,Vs(e,o,r),it(e,r),e}function La(e,t,n,r){var o=t.current,s=Ze(),i=Yn(o);return n=wg(n),t.context===null?t.context=n:t.pendingContext=n,t=pn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(o,t,i),e!==null&&(zt(e,o,i,s),Ii(e,o,i)),i}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 Jf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function cd(e,t){Jf(e,t),(e=e.alternate)&&Jf(e,t)}function g1(){return null}var Sg=typeof reportError=="function"?reportError:function(e){console.error(e)};function ud(e){this._internalRoot=e}Da.prototype.render=ud.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));La(e,t,null,null)};Da.prototype.unmount=ud.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rr(function(){La(null,e,null,null)}),t[mn]=null}};function Da(e){this._internalRoot=e}Da.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mn.length&&t!==0&&t<Mn[n].priority;n++);Mn.splice(n,0,e),n===0&&tm(e)}};function dd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ep(){}function v1(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=ha(i);s.call(u)}}var i=bg(t,r,e,0,null,!1,!1,"",ep);
vendor: 5,242 bytes, line 40
40return e._reactRootContainer=i,e[mn]=i.current,Es(e.nodeType===8?e.parentNode:e),Rr(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=ha(c);l.call(u)}}var c=ld(e,0,!1,null,null,!1,!1,"",ep);return e._reactRootContainer=c,e[mn]=c.current,Es(e.nodeType===8?e.parentNode:e),Rr(function(){La(t,c,n,r)}),c}function $a(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var l=o;o=function(){var c=ha(i);l.call(c)}}La(t,i,e,o)}else i=v1(n,t,e,o,r);return ha(i)}Xh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=rs(t.pendingLanes);n!==0&&(Ru(t,n|1),it(t,ke()),!(te&6)&&(Ao=ke()+500,sr()))}break;case 13:Rr(function(){var r=gn(e,1);if(r!==null){var o=Ze();zt(r,e,1,o)}}),cd(e,1)}};Au=function(e){if(e.tag===13){var t=gn(e,134217728);if(t!==null){var n=Ze();zt(t,e,134217728,n)}cd(e,134217728)}};Zh=function(e){if(e.tag===13){var t=Yn(e),n=gn(e,t);if(n!==null){var r=Ze();zt(n,e,t,r)}cd(e,t)}};Jh=function(){return le};em=function(e,t){var n=le;try{return le=e,t()}finally{le=n}};pc=function(e,t,n){switch(t){case"input":if(ic(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 o=Ta(r);if(!o)throw Error(I(90));Ah(r),ic(r,o)}}}break;case"textarea":_h(e,n);break;case"select":t=n.value,t!=null&&io(e,!!n.multiple,t,!1)}};zh=od;Uh=Rr;var y1={usingClientEntryPoint:!1,Events:[Ws,Jr,Ta,Fh,$h,od]},Zo={findFiberByHostInstance:hr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},x1={bundleType:Zo.bundleType,version:Zo.version,rendererPackageName:Zo.rendererPackageName,rendererConfig:Zo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Hh(e),e===null?null:e.stateNode},findFiberByHostInstance:Zo.findFiberByHostInstance||g1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var hi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hi.isDisabled&&hi.supportsFiber)try{ja=hi.inject(x1),Jt=hi}catch{}}mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=y1;mt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!dd(t))throw Error(I(200));return m1(e,t,null,n)};mt.createRoot=function(e,t){if(!dd(e))throw Error(I(299));var n=!1,r="",o=Sg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=ld(e,1,!1,null,null,n,!1,r,o),e[mn]=t.current,Es(e.nodeType===8?e.parentNode:e),new ud(t)};mt.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(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=Hh(t),e=e===null?null:e.stateNode,e};mt.flushSync=function(e){return Rr(e)};mt.hydrate=function(e,t,n){if(!Fa(t))throw Error(I(200));return $a(null,e,t,!0,n)};mt.hydrateRoot=function(e,t,n){if(!dd(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=Sg;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=bg(t,null,e,1,n??null,o,!1,s,i),e[mn]=t.current,Es(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Da(t)};mt.render=function(e,t,n){if(!Fa(t))throw Error(I(200));return $a(null,e,t,!1,n)};mt.unmountComponentAtNode=function(e){if(!Fa(e))throw Error(I(40));return e._reactRootContainer?(Rr(function(){$a(null,null,e,!1,function(){e._reactRootContainer=null,e[mn]=null})}),!0):!1};mt.unstable_batchedUpdates=od;mt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fa(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return $a(e,t,n,!1,r)};mt.version="18.3.1-next-f1338f8080-20240426";function Cg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cg)}catch(e){console.error(e)}}Cg(),Ch.exports=mt;var Dr=Ch.exports;const Ng=dh(Dr);var jg,tp=Dr;jg=tp.createRoot,tp.hydrateRoot;const w1=1,b1=1e6;let Dl=0;function S1(){return Dl=(Dl+1)%Number.MAX_SAFE_INTEGER,Dl.toString()}const Fl=new Map,np=e=>{if(Fl.has(e))return;const t=setTimeout(()=>{Fl.delete(e),vs({type:"REMOVE_TOAST",toastId:e})},b1);Fl.set(e,t)},C1=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,w1)};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;
40return n?np(n):e.toasts.forEach(r=>{np(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)}}},$i=[];let zi={toasts:[]};function vs(e){zi=C1(zi,e),$i.forEach(t=>{t(zi)})}function N1({...e}){const t=S1(),n=o=>vs({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>vs({type:"DISMISS_TOAST",toastId:t});return vs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Eg(){const[e,t]=g.useState(zi);return g.useEffect(()=>($i.push(t),()=>{const n=$i.indexOf(t);n>-1&&$i.splice(n,1)}),[e]),{...e,toast:N1,dismiss:n=>vs({type:"DISMISS_TOAST",toastId:n})}}function W(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function rp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function kg(...e){return t=>{let n=!1;const r=e.map(o=>{const s=rp(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():rp(e[o],null)}}}}function fe(...e){return g.useCallback(kg(...e),e)}function bn(e,t=[]){let n=[];function r(s,i){const l=g.createContext(i),c=n.length;n=[...n,i];const u=d=>{var y;const{scope:v,children:h,...b}=d,m=((y=v==null?void 0:v[e])==null?void 0:y[c])||l,w=g.useMemo(()=>b,Object.values(b));return a.jsx(m.Provider,{value:w,children:h})};u.displayName=s+"Provider";function f(d,v){var m;const h=((m=v==null?void 0:v[e])==null?void 0:m[c])||l,b=g.useContext(h);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=n.map(i=>g.createContext(i));return function(l){const c=(l==null?void 0:l[e])||s;return g.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,j1(o,...t)]}function j1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((l,{useScope:c,scopeName:u})=>{const d=c(s)[`__scope${u}`];return{...l,...d}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Os(e){const t=k1(e),n=g.forwardRef((r,o)=>{const{children:s,...i}=r,l=g.Children.toArray(s),c=l.find(T1);if(c){const u=c.props.children,f=l.map(d=>d===c?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:d);return a.jsx(t,{...i,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,f):null})}return a.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var E1=Os("Slot");function k1(e){const t=g.forwardRef((n,r)=>{const{children:o,...s}=n;if(g.isValidElement(o)){const i=A1(o),l=R1(s,o.props);return o.type!==g.Fragment&&(l.ref=r?kg(r,i):i),g.cloneElement(o,l)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Pg=Symbol("radix.slottable");function P1(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Pg,t}function T1(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Pg}function R1(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...l)=>{const c=s(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function A1(e){var r,o;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=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function fd(e){const t=e+"CollectionProvider",[n,r]=bn(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:w,children:y}=m,p=_.useRef(null),x=_.useRef(new Map).current;return a.jsx(o,{scope:w,itemMap:x,collectionRef:p,children:y})};i.displayName=t;const l=e+"CollectionSlot",c=Os(l),u=_.forwardRef((m,w)=>{const{scope:y,children:p}=m,x=s(l,y),C=fe(w,x.collectionRef);return a.jsx(c,{ref:C,children:p})});u.displayName=l;const f=e+"CollectionItemSlot",d="data-radix-collection-item",v=Os(f),h=_.forwardRef((m,w)=>{const{scope:y,children:p,...x}=m,C=_.useRef(null),S=fe(w,C),N=s(f,y);return _.useEffect(()=>(N.itemMap.set(C,{ref:C,...x}
vendor: 9,166 bytes, line 40
40),()=>void N.itemMap.delete(C))),a.jsx(v,{[d]:"",ref:S,children:p})});h.displayName=f;function b(m){const w=s(e+"CollectionConsumer",m);return _.useCallback(()=>{const p=w.collectionRef.current;if(!p)return[];const x=Array.from(p.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((N,j)=>x.indexOf(N.ref.current)-x.indexOf(j.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:h},b,r]}var I1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Z=I1.reduce((e,t)=>{const n=Os(`Primitive.${t}`),r=g.forwardRef((o,s)=>{const{asChild:i,...l}=o,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Tg(e,t){e&&Dr.flushSync(()=>e.dispatchEvent(t))}function Et(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function _1(e,t=globalThis==null?void 0:globalThis.document){const n=Et(e);g.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var M1="DismissableLayer",Kc="dismissableLayer.update",O1="dismissableLayer.pointerDownOutside",L1="dismissableLayer.focusOutside",op,Rg=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),za=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...c}=e,u=g.useContext(Rg),[f,d]=g.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=g.useState({}),b=fe(t,j=>d(j)),m=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(w),p=f?m.indexOf(f):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,C=p>=y,S=F1(j=>{const E=j.target,A=[...u.branches].some(R=>R.contains(E));!C||A||(o==null||o(j),i==null||i(j),j.defaultPrevented||l==null||l())},v),N=$1(j=>{const E=j.target;[...u.branches].some(R=>R.contains(E))||(s==null||s(j),i==null||i(j),j.defaultPrevented||l==null||l())},v);return _1(j=>{p===u.layers.size-1&&(r==null||r(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),g.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(op=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),sp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=op)}},[f,v,n,u]),g.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),sp())},[f,u]),g.useEffect(()=>{const j=()=>h({});return document.addEventListener(Kc,j),()=>document.removeEventListener(Kc,j)},[]),a.jsx(Z.div,{...c,ref:b,style:{pointerEvents:x?C?"auto":"none":void 0,...e.style},onFocusCapture:W(e.onFocusCapture,N.onFocusCapture),onBlurCapture:W(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:W(e.onPointerDownCapture,S.onPointerDownCapture)})});za.displayName=M1;var D1="DismissableLayerBranch",Ag=g.forwardRef((e,t)=>{const n=g.useContext(Rg),r=g.useRef(null),o=fe(t,r);return g.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),a.jsx(Z.div,{...e,ref:o})});Ag.displayName=D1;function F1(e,t=globalThis==null?void 0:globalThis.document){const n=Et(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let c=function(){Ig(O1,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function $1(e,t=globalThis==null?void 0:globalThis.document){const n=Et(e),r=g.useRef(!1);return g.useEffect(()=>{const o=s=>{s.target&&!r.current&&Ig(L1,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function sp(){const e=new CustomEvent(Kc);document.dispatchEvent(e)}function Ig(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Tg(o,s):o.dispatchEvent(s)}var z1=za,U1=Ag,Le=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},B1="Portal",pd=g.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,s]=g.useState(!1);Le(()=>s(!0),[]);const i=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return i?Ng.createPortal(a.jsx(Z.div,{...r,ref:t}),i):null});pd.displayName=B1;function V1(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var Do=e=>{const{present:t,children:n}=e,r=H1(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),s=fe(r.ref,W1(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:s}):null};Do.displayName="Presence";function H1(e){const[t,n]=g.useState(),r=g.useRef(null),o=g.useRef(e),s=g.useRef("none"),i=e?"mounted":"unmounted",[l,c]=V1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=mi(r.current);s.current=l==="mounted"?u:"none"},[l]),Le(()=>{const u=r.current,f=o.current;if(f!==e){const v=s.current,h=mi(u);e?c("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(f&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Le(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,d=h=>{const m=mi(r.current).includes(h.animationName);if(h.target===t&&m&&(c("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},v=h=>{h.target===t&&(s.current=mi(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function mi(e){return(e==null?void 0:e.animationName)||"none"}function W1(e){var r,o;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=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var K1=bu[" useInsertionEffect ".trim().toString()]||Le;function Ar({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=G1({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const f=g.useRef(e!==void 0);g.useEffect(()=>{const d=f.current;d!==l&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${l?"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.`),f.current=l},[l,r])}const u=g.useCallback(f=>{var d;if(l){const v=Q1(f)?f(e):f;v!==e&&((d=i.current)==null||d.call(i,v))}else s(f)},[l,e,s,i]);return[c,u]}function G1({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),o=g.useRef(n),s=g.useRef(t);return K1(()=>{s.current=t},[t]),g.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function Q1(e){return typeof e=="function"}var _g=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"}),q1="VisuallyHidden",Ua=g.forwardRef((e,t)=>a.jsx(Z.span,{...e,ref:t,style:{..._g,...e.style}}));Ua.displayName=q1;var Y1=Ua,hd="ToastProvider",[md,X1,Z1]=fd("Toast"),[Mg,QE]=bn("Toast",[Z1]),[J1,Ba]=Mg(hd),Og=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[l,c]=g.useState(null),[u,f]=g.useState(0),d=g.useRef(!1),v=g.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${hd}\`. Expected non-empty \`string\`.`),a.jsx(md.Provider,{scope:t,children:a.jsx(J1,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:g.useCallback(()=>f(h=>h+1),[]),onToastRemove:g.useCallback(()=>f(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:v,children:i})})};Og.displayName=hd;var Lg="ToastViewport",eb=["F8"],Gc="toast.viewportPause",Qc="toast.viewportResume",Dg=g.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=eb,label:o="Notifications ({hotkey})",...s}=e,i=Ba(Lg,n),l=X1(n),c=g.useRef(null),u=g.useRef(null),f=g.useRef(null),d=g.useRef(null),v=fe(t,d,i.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;g.useEffect(()=>{const w=y=>{var x;r.length!==0&&r.every(C=>y[C]||y.code===C)&&((x=d.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),g.useEffect(()=>{const w=c.current,y=d.current;if(b&&w&&y){const p=()=>{if(!i.isClosePausedRef.current){const N=new CustomEvent(Gc);y.dispatchEvent(N),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(Qc);y.dispatchEvent(N),i.isClosePausedRef.current=!1}},C=N=>{!w.contains(N.relatedTarget)&&x()},S=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",p),w.addEventListener("focusout",C),w.addEventListener("pointermove",p),w.addEventListener("pointerleave",S),window.addEventListener("blur",p),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",p),w.removeEventListener("focusout",C),w.removeEventListener("pointermove",p),w.removeEventListener("pointerleave",S),window.removeEventListener("blur",p),window.removeEventListener("focus",x)}}},[b,i.isClosePausedRef]);const m=g.useCallback(({tabbingDirection:w})=>{const p=l().map(x=>{const C=x.ref.current,S=[C,...pb(C)];return w==="forwards"?S:S.reverse()});return(w==="forwards"?p.reverse():p).flat()},[l]);return g.useEffect(()=>{const w=d.current;if(w){const y=p=>{var S,N,j;const x=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!x){const E=document.activeElement,A=p.shiftKey;if(p.target===w&&A){(S=u.current)==null||S.focus();return}const L=m({tabbingDirection:A?"backwards":"forwards"}),V=L.findIndex(M=>M===E);$l(L.slice(V+1))?p.preventDefault():A?(N=u.current)==null||N.focus():(j=f.current)==null||j.focus()}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[l,m]),a.jsxs(U1,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&a.jsx(qc,{ref:u,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"forwards"});$l(w)}}),a.jsx(md.Slot,{scope:n,children:a.jsx(Z.ol,{tabIndex:-1,...s,ref:v})}),b&&a.jsx(qc,{ref:f,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"backwards"});$l(w)}})]})});Dg.displayName=Lg;var Fg="ToastFocusProxy",qc=g.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=Ba(Fg,n);return a.jsx(Ua,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const l=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(l))&&r()}})});qc.displayName=Fg;var Gs="Toast",tb="toast.swipeStart",nb="toast.swipeMove",rb="toast.swipeCancel",ob="toast.swipeEnd",$g=g.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[l,c]=Ar({prop:r,defaultProp:o??!0,onChange:s,caller:Gs});return a.jsx(Do,{present:n||l,children:a.jsx(ab,{open:l,...i,ref:t,onClose:()=>c(!1),onPause:Et(e.onPause),onResume:Et(e.onResume),onSwipeStart:W(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:W(e.onSwipeMove,u=>{const{x:f,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:W(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:W(e.onSwipeEnd,u=>{const{x:f,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",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),c(!1)})})})});$g.displayName=Gs;var[sb,ib]=Mg(Gs,{onClose(){}}),ab=g.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:f,onSwipeMove:d,onSwipeCancel:v,onSwipeEnd:h,...b}=e,m=Ba(Gs,n),[w,y]=g.useState(null),p=fe(t,M=>y(M)),x=g.useRef(null),C=g.useRef(null),S=o||m.duration,N=g.useRef(0),j=g.useRef(S),E=g.useRef(0),{onToastAdd:A,onToastRemove:R}=m,O=Et(()=>{var H;(w==null?void 0:w.contains(document.activeElement))&&((H=m.viewport)==null||H.focus()),i()}),L=g.useCallback(M=>{!M||M===1/0||(window.clearTimeout(E.current),N.current=new Date().getTime(),E.current=window.setTimeout(O,M))},[O]);g.useEffect(()=>{const M=m.viewport;if(M){const H=()=>{L(j.current),u==null||u()},$=()=>{const B=new Date().getTime()-N.current;j.current=j.current-B,window.clearTimeout(E.current),c==null||c()};return M.addEventListener(Gc,$),M.addEventListener(Qc,H),()=>{M.removeEventListener(Gc,$),M.removeEventListener(Qc,H)}}},[m.viewport,S,c,u,L]),g.useEffect(()=>{s&&!m.isClosePausedRef.current&&L(S)},[s,S,m.isClosePausedRef,L]),g.useEffect(()=>(A(),()=>R()),[A,R]);const V=g.useMemo(()=>w?Kg(w):null,[w]);return m.viewport?a.jsxs(a.Fragment,{children:[V&&a.jsx(lb,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:V}),a.jsx(sb,{scope:n,onClose:O,children:Dr.createPortal(a.jsx(md.ItemSlot,{scope:n,children:a.jsx(z1,{asChild:!0,onEscapeKeyDown:W(l,()=>{m.isFocusedToastEscapeKeyDownRef.current||O(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(Z.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":m.swipeDirection,...b,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:W(e.onKeyDown,M=>{M.key==="Escape"&&(l==null||l(M.nativeEvent),M.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,O()))}),onPointerDown:W(e.onPointerDown,M=>{M.button===0&&(x.current={x:M.clientX,y:M.clientY})}),onPointerMove:W(e.onPointerMove,M=>{if(!x.current)return;const H=M.clientX-x.current.x,$=M.clientY-x.current.y,B=!!C.current,k=["left","right"].includes(m.swipeDirection),T=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,D=k?T(0,H):0,K=k?0:T(0,$),U=M.pointerType==="touch"?10:2,Y={x:D,y:K},G={originalEvent:M,delta:Y};B?(C.current=Y,gi(nb,d,G,{discrete:!1})):ip(Y,m.swipeDirection,U)?(C.current=Y,gi(tb,f,G,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(H)>U||Math.abs($)>U)&&(x.current=null)}),onPointerUp:W(e.onPointerUp,M=>{const H=C.current,$=M.target;if($.hasPointerCapture(M.pointerId)&&$.releasePointerCapture(M.pointerId),C.current=null,x.current=null,H){const B=M.currentTarget,k={originalEvent:M,delta:H};ip(H,m.swipeDirection,m.swipeThreshold)?gi(ob,h,k,{discrete:!0}):gi(rb,v,k,{discrete:!0}),B.addEventListener("click",T=>T.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),lb=e=>{const{__scopeToast:t,children:n,...r}=e,o=Ba(Gs,t),[s,i]=g.useState(!1),[l,c]=g.useState(!1);return db(()=>i(!0)),g.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(pd,{asChild:!0,children:a.jsx(Ua,{...r,children:s&&a.jsxs(a.Fragment,{children:[o.label," ",n]})})})},cb="ToastTitle",zg=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(Z.div,{...r,ref:t})});zg.displayName=cb;var ub="ToastDescription",Ug=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(Z.div,{...r,ref:t})});Ug.displayName=ub;var Bg="ToastAction",Vg=g.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(Wg,{altText:n,asChild:!0,children:a.jsx(gd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Bg}\`. Expected non-empty \`string\`.`),null)});Vg.displayName=Bg;var Hg="ToastClose",gd=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=ib(Hg,n);return a.jsx(Wg,{asChild:!0,children:a.jsx(Z.button,{type:"button",...r,ref:t,onClick:W(e.onClick,o.onClose)})})});gd.displayName=Hg;var Wg=g.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return a.jsx(Z.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Kg(e){const t=[];
vendor: 5,239 bytes, lines 40-80
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),fb(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Kg(r))}}),t}function gi(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Tg(o,s):o.dispatchEvent(s)}var ip=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function db(e=()=>{}){const t=Et(e);Le(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function fb(e){return e.nodeType===e.ELEMENT_NODE}function pb(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function $l(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var hb=Og,Gg=Dg,Qg=$g,qg=zg,Yg=Ug,Xg=Vg,Zg=gd;function Jg(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Jg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ev(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Jg(e))&&(r&&(r+=" "),r+=t);return r}const ap=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,lp=ev,Va=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return lp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],d=s==null?void 0:s[u];if(f===null)return null;const v=ap(f)||ap(d);return o[u][v]}),l=n&&Object.entries(n).reduce((u,f)=>{let[d,v]=f;return v===void 0||(u[d]=v),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:d,className:v,...h}=f;return Object.entries(h).every(b=>{let[m,w]=b;return Array.isArray(w)?w.includes({...s,...l}[m]):{...s,...l}[m]===w})?[...u,d,v]:u},[]);return lp(e,i,c,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 mb=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tv=(...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 gb={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 vb=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...l},c)=>g.createElement("svg",{ref:c,...gb,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:tv("lucide",o),...l},[...i.map(([u,f])=>g.createElement(u,f)),...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 xe=(e,t)=>{const n=g.forwardRef(({className:r,...o},s)=>g.createElement(vb,{ref:s,iconNode:t,className:tv(`lucide-${mb(e)}`,r),...o}));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 yb=xe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
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 Yc=xe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
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 cp=xe("Bike",[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]]);/**
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 up=xe("Bus",[["path",{d:"M8 6v6",key:"18i7km"}],["path",{d:"M15 6v6",key:"1sg6z9"}],["path",{d:"M2 12h19.6",key:"de5uta"}
80],["path",{d:"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3",key:"1wwztk"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}],["path",{d:"M9 18h5",key:"lrx6i"}],["circle",{cx:"16",cy:"18",r:"2",key:"1v4tcr"}]]);/**
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 dp=xe("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/**
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 nv=xe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
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 ma=xe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
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 xb=xe("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
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 rv=xe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
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 wb=xe("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/**
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 Te=xe("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
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 vi=xe("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
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 fp=xe("Footprints",[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]]);/**
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 zl=xe("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
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 Ul=xe("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"}]]);/**
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 bb=xe("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"}]]);/**
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 Ui=xe("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
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 Sb=xe("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}
vendor: 9,996 bytes, lines 150-180
150],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
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 Cb=xe("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"}]]);/**
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 Nb=xe("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
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 jb=xe("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
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 Eb=xe("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"}]]);/**
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 kb=xe("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"}]]);/**
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 Pb=xe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),vd="-",Tb=e=>{const t=Ab(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const l=i.split(vd);return l[0]===""&&l.length!==1&&l.shift(),ov(l,t)||Rb(i)},getConflictingClassGroupIds:(i,l)=>{const c=n[i]||[];return l&&r[i]?[...c,...r[i]]:c}}},ov=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ov(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(vd);return(i=t.validators.find(({validator:l})=>l(s)))==null?void 0:i.classGroupId},pp=/^\[(.+)\]$/,Rb=e=>{if(pp.test(e)){const t=pp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Ab=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return _b(Object.entries(e.classGroups),n).forEach(([s,i])=>{Xc(i,r,s,t)}),r},Xc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:hp(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Ib(o)){Xc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Xc(i,hp(t,s),n,r)})})},hp=(e,t)=>{let n=e;return t.split(vd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ib=e=>e.isThemeGetter,_b=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,l])=>[t+i,l])):s);return[n,o]}):e,Mb=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},sv="!",Ob=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=l=>{const c=[];let u=0,f=0,d;for(let w=0;w<l.length;w++){let y=l[w];if(u===0){if(y===o&&(r||l.slice(w,w+s)===t)){c.push(l.slice(f,w)),f=w+s;continue}if(y==="/"){d=w;continue}}y==="["?u++:y==="]"&&u--}const v=c.length===0?l:l.substring(f),h=v.startsWith(sv),b=h?v.substring(1):v,m=d&&d>f?d-f:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:m}};return n?l=>n({className:l,parseClassName:i}):i},Lb=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},Db=e=>({cache:Mb(e.cacheSize),parseClassName:Ob(e),...Tb(e)}),Fb=/\s+/,$b=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(Fb);let l="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:f,hasImportantModifier:d,baseClassName:v,maybePostfixModifierPosition:h}=n(u);let b=!!h,m=r(b?v.substring(0,h):v);if(!m){if(!b){l=u+(l.length>0?" "+l:l);continue}if(m=r(v),!m){l=u+(l.length>0?" "+l:l);continue}b=!1}const w=Lb(f).join(":"),y=d?w+sv:w,p=y+m;if(s.includes(p))continue;s.push(p);const x=o(m,b);for(let C=0;C<x.length;++C){const S=x[C];s.push(y+S)}l=u+(l.length>0?" "+l:l)}return l};function zb(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=iv(t))&&(r&&(r+=" "),r+=n);return r}const iv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=iv(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ub(e,...t){let n,r,o,s=i;function i(c){const u=t.reduce((f,d)=>d(f),e());return n=Db(u),r=n.cache.get,o=n.cache.set,s=l,l(c)}function l(c){const u=r(c);if(u)return u;const f=$b(c,n);return o(c,f),f}return function(){return s(zb.apply(null,arguments))}}const he=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},av=/^\[(?:([a-z-]+):)?(.+)\]$/i,Bb=/^\d+\/\d+$/,Vb=new Set(["px","full","screen"]),Hb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wb=/\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$/,Kb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sn=e=>po(e)||Vb.has(e)||Bb.test(e),kn=e=>Fo(e,"length",nS),po=e=>!!e&&!Number.isNaN(Number(e)),Bl=e=>Fo(e,"number",po),Jo=e=>!!e&&Number.isInteger(Number(e)),qb=e=>e.endsWith("%")&&po(e.slice(0,-1)),X=e=>av.test(e),Pn=e=>Hb.test(e),Yb=new Set(["length","size","percentage"]),Xb=e=>Fo(e,Yb,lv),Zb=e=>Fo(e,"position",lv),Jb=new Set(["image","url"]),eS=e=>Fo(e,Jb,oS),tS=e=>Fo(e,"",rS),es=()=>!0,Fo=(e,t,n)=>{const r=av.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},nS=e=>Wb.test(e)&&!Kb.test(e),lv=()=>!1,rS=e=>Gb.test(e),oS=e=>Qb.test(e),sS=()=>{const e=he("colors"),t=he("spacing"),n=he("blur"),r=he("brightness"),o=he("borderColor"),s=he("borderRadius"),i=he("borderSpacing"),l=he("borderWidth"),c=he("contrast"),u=he("grayscale"),f=he("hueRotate"),d=he("invert"),v=he("gap"),h=he("gradientColorStops"),b=he("gradientColorStopPositions"),m=he("inset"),w=he("margin"),y=he("opacity"),p=he("padding"),x=he("saturate"),C=he("scale"),S=he("sepia"),N=he("skew"),j=he("space"),E=he("translate"),A=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",X,t],L=()=>[X,t],V=()=>["",sn,kn],M=()=>["auto",po,X],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],B=()=>["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"],T=()=>["","0",X],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[po,X];return{cacheSize:500,separator:":",theme:{colors:[es],spacing:[sn,kn],blur:["none","",Pn,X],brightness:K(),borderColor:[e],borderRadius:["none","","full",Pn,X],borderSpacing:L(),borderWidth:V(),contrast:K(),grayscale:T(),hueRotate:K(),invert:T(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[qb,kn],inset:O(),margin:O(),opacity:K(),padding:L(),saturate:K(),scale:K(),sepia:T(),skew:K(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",X]}],container:["container"],columns:[{columns:[Pn]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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:[...H(),X]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}
vendor: 4,744 bytes, line 180
180],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jo,X]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",X]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",Jo,X]}],"grid-cols":[{"grid-cols":[es]}],"col-start-end":[{col:["auto",{span:["full",Jo,X]},X]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[es]}],"row-start-end":[{row:["auto",{span:[Jo,X]},X]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",X]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",X]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"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:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",X,t]}],"min-w":[{"min-w":[X,t,"min","max","fit"]}],"max-w":[{"max-w":[X,t,"none","full","min","max","fit","prose",{screen:[Pn]},Pn]}],h:[{h:[X,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[X,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Pn,kn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Bl]}],"font-family":[{font:[es]}],"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",X]}],"line-clamp":[{"line-clamp":["none",po,Bl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",sn,X]}],"list-image":[{"list-image":["none",X]}],"list-style-type":[{list:["none","disc","decimal",X]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",sn,kn]}],"underline-offset":[{"underline-offset":["auto",sn,X]}],"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:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X]}],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",X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),Zb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
180],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,458 bytes, line 180
180],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[sn,X]}],"outline-w":[{outline:[sn,kn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[sn,kn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pn,tS]}],"shadow-color":[{shadow:[es]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Pn,X]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[x]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",X]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Jo,X]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X]}],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",X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[sn,kn,Bl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
180none"]}]},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"]}}},iS=Ub(sS);function se(...e){return iS(ev(e))}const aS=hb,cv=g.forwardRef(({className:e,...t},n)=>a.jsx(Gg,{ref:n,className:se("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}));cv.displayName=Gg.displayName;const lS=Va("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"}}),uv=g.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(Qg,{ref:r,className:se(lS({variant:t}),e),...n}));uv.displayName=Qg.displayName;const cS=g.forwardRef(({className:e,...t},n)=>a.jsx(Xg,{ref:n,className:se("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}));cS.displayName=Xg.displayName;const dv=g.forwardRef(({className:e,...t},n)=>a.jsx(Zg,{ref:n,className:se("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:a.jsx(Pb,{className:"h-4 w-4"})}));dv.displayName=Zg.displayName;const fv=g.forwardRef(({className:e,...t},n)=>a.jsx(qg,{ref:n,className:se("text-sm font-semibold",e),...t}));fv.displayName=qg.displayName;const pv=g.forwardRef(({className:e,...t},n)=>a.jsx(Yg,{ref:n,className:se("text-sm opacity-90",e),...t}));pv.displayName=Yg.displayName;function uS(){const{toasts:e}=Eg();return a.jsxs(aS,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return a.jsxs(uv,{...s,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(fv,{children:n}),r&&a.jsx(pv,{children:r})]}),o,a.jsx(dv,{})]},t)}),a.jsx(cv,{})]})}var mp=["light","dark"],dS="(prefers-color-scheme: dark)",fS=g.createContext(void 0),pS={setTheme:e=>{},themes:[]},hS=()=>{var e;return(e=g.useContext(fS))!=null?e:pS};g.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:l,nonce:c})=>{let u=s==="system",f=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?mp.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",v=(b,m=!1,w=!0)=>{let y=i?i[b]:b,p=m?b+"|| ''":`'${y}'`,x="";return o&&w&&!m&&mp.includes(b)&&(x+=`d.style.colorScheme = '${b}';`),n==="class"?m||y?x+=`c.add(${p})`:x+="null":y&&(x+=`d[s](n,${p})`),x},h=e?`!function(){${f}${v(e)}}()`:r?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${dS}',m=window.matchMedia(t);if(m.media!==t||m.matches){${v("dark")}}else{${v("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${v(i?"x[e]":"e",!0)}}${u?"":"else{"+v(s,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${v(i?"x[e]":"e",!0)}}else{${v(s,!1,!1)};}${d}}catch(t){}}();`;return g.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:h}})});var mS=e=>{switch(e){case"success":return yS;case"info":return wS;case"warning":return xS;case"error":return bS;default:return null}},gS=Array(12).fill(0),vS=({visible:e,className:t})=>_.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},_.createElement("div",{className:"sonner-spinner"},gS.map((n,r)=>_.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),yS=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),xS=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},_.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"})),wS=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),bS=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),SS=_.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"},_.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),_.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),CS=()=>{let[e,t]=_.useState(document.hidden);return _.useEffect(()=>{let n=()=>{t(document.hidden)};
180return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Zc=1,NS=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,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Zc++,s=this.toasts.find(l=>l.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:i,title:n}):l):this.addToast({title:n,...r,dismissible:i,id:o}),o},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(),o=n!==void 0,s,i=r.then(async c=>{if(s=["resolve",c],_.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(ES(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:f})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:f})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:f})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>i.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Zc++;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}},tt=new NS,jS=(e,t)=>{let n=(t==null?void 0:t.id)||Zc++;return tt.addToast({title:e,...t,id:n}),n},ES=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",kS=jS,PS=()=>tt.toasts,TS=()=>tt.getActiveToasts();Object.assign(kS,{success:tt.success,info:tt.info,warning:tt.warning,error:tt.error,custom:tt.custom,message:tt.message,promise:tt.promise,dismiss:tt.dismiss,loading:tt.loading},{getHistory:PS,getToasts:TS});function RS(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))}RS(`: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 yi(e){return e.label!==void 0}var AS=3,IS="32px",_S="16px",gp=4e3,MS=356,OS=14,LS=20,DS=200;function At(...e){return e.filter(Boolean).join(" ")}function FS(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var $S=e=>{var t,n,r,o,s,i,l,c,u,f,d;let{invert:v,toast:h,unstyled:b,interacting:m,setHeights:w,visibleToasts:y,heights:p,index:x,toasts:C,expanded:S,removeToast:N,defaultRichColors:j,closeButton:E,style:A,cancelButtonStyle:R,actionButtonStyle:O,className:L="",descriptionClassName:V="",duration:M,position:H,gap:$,loadingIcon:B,expandByDefault:k,classNames:T,icons:D,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:U}=e,[Y,G]=_.useState(null),[pe,Ce]=_.useState(null),[F,ie]=_.useState(!1),[Ne,oe]=_.useState(!1),[ee,ne]=_.useState(!1),[ze,vt]=_.useState(!1),[lr,Sn]=_.useState(!1),[cr,Vo]=_.useState(0),[Fr,$d]=_.useState(0),Ho=_.useRef(h.duration||M||gp),zd=_.useRef(null),ur=_.useRef(null),$0=x===0,z0=x+1<=y,yt=h.type,$r=h.dismissible!==!1,U0=h.className||"",B0=h.descriptionClassName||"",Ys=_.useMemo(()=>p.findIndex(Q=>Q.toastId===h.id)||0,[p,h.id]),V0=_.useMemo(()=>{var Q;return(Q=h.closeButton)!=null?Q:E},[h.closeButton,E]),Ud=_.useMemo(()=>h.duration||M||gp,[h.duration,M]),ll=_.useRef(0),zr=_.useRef(0),Bd=_.useRef(0),Ur=_.useRef(null),[H0,W0]=H.split("-"),Vd=_.useMemo(()=>p.reduce((Q,ce,ve)=>ve>=Ys?Q:Q+ce.height,0),[p,Ys]),Hd=CS(),K0=h.invert||v,cl=yt==="loading";zr.current=_.useMemo(()=>Ys*$+Vd,[Ys,Vd]),_.useEffect(()=>{Ho.current=Ud},[Ud]),_.useEffect(()=>{ie(!0)},[]),_.useEffect(()=>{let Q=ur.current;if(Q){let ce=Q.getBoundingClientRect().height;return $d(ce),w(ve=>[{toastId:h.id,height:ce,position:h.position},...ve]),()=>w(ve=>ve.filter(kt=>kt.toastId!==h.id))}},[w,h.id]),_.useLayoutEffect(()=>{if(!F)return;let Q=ur.current,ce=Q.style.height;Q.style.height="auto";let ve=Q.getBoundingClientRect().height;Q.style.height=ce,$d(ve),w(kt=>kt.find(Pt=>Pt.toastId===h.id)?kt.map(Pt=>Pt.toastId===h.id?{...Pt,height:ve}:Pt):[{toastId:h.id,height:ve,position:h.position},...kt])},[F,h.title,h.description,w,h.id]);let Cn=_.useCallback(()=>{oe(!0),Vo(zr.current),w(Q=>Q.filter(ce=>ce.toastId!==h.id)),setTimeout(()=>{N(h)},DS)},[h,N,w,zr]);_.useEffect(()=>{if(h.promise&&yt==="loading"||h.duration===1/0||h.type==="loading")return;let Q;return S||m||U&&Hd?(()=>{if(Bd.current<ll.current){let ce=new Date().getTime()-ll.current;Ho.current=Ho.current-ce}
181Bd.current=new Date().getTime()})():Ho.current!==1/0&&(ll.current=new Date().getTime(),Q=setTimeout(()=>{var ce;(ce=h.onAutoClose)==null||ce.call(h,h),Cn()},Ho.current)),()=>clearTimeout(Q)},[S,m,h,yt,U,Hd,Cn]),_.useEffect(()=>{h.delete&&Cn()},[Cn,h.delete]);function G0(){var Q,ce,ve;return D!=null&&D.loading?_.createElement("div",{className:At(T==null?void 0:T.loader,(Q=h==null?void 0:h.classNames)==null?void 0:Q.loader,"sonner-loader"),"data-visible":yt==="loading"},D.loading):B?_.createElement("div",{className:At(T==null?void 0:T.loader,(ce=h==null?void 0:h.classNames)==null?void 0:ce.loader,"sonner-loader"),"data-visible":yt==="loading"},B):_.createElement(vS,{className:At(T==null?void 0:T.loader,(ve=h==null?void 0:h.classNames)==null?void 0:ve.loader),visible:yt==="loading"})}return _.createElement("li",{tabIndex:0,ref:ur,className:At(L,U0,T==null?void 0:T.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[yt],(n=h==null?void 0:h.classNames)==null?void 0:n[yt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:j,"data-styled":!(h.jsx||h.unstyled||b),"data-mounted":F,"data-promise":!!h.promise,"data-swiped":lr,"data-removed":Ne,"data-visible":z0,"data-y-position":H0,"data-x-position":W0,"data-index":x,"data-front":$0,"data-swiping":ee,"data-dismissible":$r,"data-type":yt,"data-invert":K0,"data-swipe-out":ze,"data-swipe-direction":pe,"data-expanded":!!(S||k&&F),style:{"--index":x,"--toasts-before":x,"--z-index":C.length-x,"--offset":`${Ne?cr:zr.current}px`,"--initial-height":k?"auto":`${Fr}px`,...A,...h.style},onDragEnd:()=>{ne(!1),G(null),Ur.current=null},onPointerDown:Q=>{cl||!$r||(zd.current=new Date,Vo(zr.current),Q.target.setPointerCapture(Q.pointerId),Q.target.tagName!=="BUTTON"&&(ne(!0),Ur.current={x:Q.clientX,y:Q.clientY}))},onPointerUp:()=>{var Q,ce,ve,kt;if(ze||!$r)return;Ur.current=null;let Pt=Number(((Q=ur.current)==null?void 0:Q.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Nn=Number(((ce=ur.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),dr=new Date().getTime()-((ve=zd.current)==null?void 0:ve.getTime()),Tt=Y==="x"?Pt:Nn,jn=Math.abs(Tt)/dr;if(Math.abs(Tt)>=LS||jn>.11){Vo(zr.current),(kt=h.onDismiss)==null||kt.call(h,h),Ce(Y==="x"?Pt>0?"right":"left":Nn>0?"down":"up"),Cn(),vt(!0),Sn(!1);return}ne(!1),G(null)},onPointerMove:Q=>{var ce,ve,kt,Pt;if(!Ur.current||!$r||((ce=window.getSelection())==null?void 0:ce.toString().length)>0)return;let Nn=Q.clientY-Ur.current.y,dr=Q.clientX-Ur.current.x,Tt=(ve=e.swipeDirections)!=null?ve:FS(H);!Y&&(Math.abs(dr)>1||Math.abs(Nn)>1)&&G(Math.abs(dr)>Math.abs(Nn)?"x":"y");let jn={x:0,y:0};Y==="y"?(Tt.includes("top")||Tt.includes("bottom"))&&(Tt.includes("top")&&Nn<0||Tt.includes("bottom")&&Nn>0)&&(jn.y=Nn):Y==="x"&&(Tt.includes("left")||Tt.includes("right"))&&(Tt.includes("left")&&dr<0||Tt.includes("right")&&dr>0)&&(jn.x=dr),(Math.abs(jn.x)>0||Math.abs(jn.y)>0)&&Sn(!0),(kt=ur.current)==null||kt.style.setProperty("--swipe-amount-x",`${jn.x}px`),(Pt=ur.current)==null||Pt.style.setProperty("--swipe-amount-y",`${jn.y}px`)}},V0&&!h.jsx?_.createElement("button",{"aria-label":K,"data-disabled":cl,"data-close-button":!0,onClick:cl||!$r?()=>{}:()=>{var Q;Cn(),(Q=h.onDismiss)==null||Q.call(h,h)},className:At(T==null?void 0:T.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(s=D==null?void 0:D.close)!=null?s:SS):null,h.jsx||g.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:_.createElement(_.Fragment,null,yt||h.icon||h.promise?_.createElement("div",{"data-icon":"",className:At(T==null?void 0:T.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||G0():null,h.type!=="loading"?h.icon||(D==null?void 0:D[yt])||mS(yt):null):null,_.createElement("div",{"data-content":"",className:At(T==null?void 0:T.content,(l=h==null?void 0:h.classNames)==null?void 0:l.content)},_.createElement("div",{"data-title":"",className:At(T==null?void 0:T.title,(c=h==null?void 0:h.classNames)==null?void 0:c.title)},typeof h.title=="function"?h.title():h.title),h.description?_.createElement("div",{"data-description":"",className:At(V,B0,T==null?void 0:T.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),g.isValidElement(h.cancel)?h.cancel:h.cancel&&yi(h.cancel)?_.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||R,onClick:Q=>{var ce,ve;yi(h.cancel)&&$r&&((ve=(ce=h.cancel).onClick)==null||ve.call(ce,Q),Cn())},className:At(T==null?void 0:T.cancelButton,(f=h==null?void 0:h.classNames)==null?void 0:f.cancelButton)},h.cancel.label):null,g.isValidElement(h.action)?h.action:h.action&&yi(h.action)?_.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||O,onClick:Q=>{var ce,ve;yi(h.action)&&((ve=(ce=h.action).onClick)==null||ve.call(ce,Q),!Q.defaultPrevented&&Cn())},className:At(T==null?void 0:T.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function vp(){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 zS(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",l=s?_S:IS;function c(u){["top","right","bottom","left"].forEach(f=>{n[`${i}-${f}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var US=g.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:l,offset:c,mobileOffset:u,theme:f="light",richColors:d,duration:v,style:h,visibleToasts:b=AS,toastOptions:m,dir:w=vp(),gap:y=OS,loadingIcon:p,icons:x,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:S}=e,[N,j]=_.useState([]),E=_.useMemo(()=>Array.from(new Set([r].concat(N.filter(U=>U.position).map(U=>U.position)))),[N,r]),[A,R]=_.useState([]),[O,L]=_.useState(!1),[V,M]=_.useState(!1),[H,$]=_.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
181k":"light"),B=_.useRef(null),k=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=_.useRef(null),D=_.useRef(!1),K=_.useCallback(U=>{j(Y=>{var G;return(G=Y.find(pe=>pe.id===U.id))!=null&&G.delete||tt.dismiss(U.id),Y.filter(({id:pe})=>pe!==U.id)})},[]);return _.useEffect(()=>tt.subscribe(U=>{if(U.dismiss){j(Y=>Y.map(G=>G.id===U.id?{...G,delete:!0}:G));return}setTimeout(()=>{Ng.flushSync(()=>{j(Y=>{let G=Y.findIndex(pe=>pe.id===U.id);return G!==-1?[...Y.slice(0,G),{...Y[G],...U},...Y.slice(G+1)]:[U,...Y]})})})}),[]),_.useEffect(()=>{if(f!=="system"){$(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let U=window.matchMedia("(prefers-color-scheme: dark)");try{U.addEventListener("change",({matches:Y})=>{$(Y?"dark":"light")})}catch{U.addListener(({matches:G})=>{try{$(G?"dark":"light")}catch(pe){console.error(pe)}})}},[f]),_.useEffect(()=>{N.length<=1&&L(!1)},[N]),_.useEffect(()=>{let U=Y=>{var G,pe;o.every(Ce=>Y[Ce]||Y.code===Ce)&&(L(!0),(G=B.current)==null||G.focus()),Y.code==="Escape"&&(document.activeElement===B.current||(pe=B.current)!=null&&pe.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[o]),_.useEffect(()=>{if(B.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,D.current=!1)}},[B.current]),_.createElement("section",{ref:t,"aria-label":`${C} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},E.map((U,Y)=>{var G;let[pe,Ce]=U.split("-");return N.length?_.createElement("ol",{key:U,dir:w==="auto"?vp():w,tabIndex:-1,ref:B,className:l,"data-sonner-toaster":!0,"data-theme":H,"data-y-position":pe,"data-lifted":O&&N.length>1&&!s,"data-x-position":Ce,style:{"--front-toast-height":`${((G=A[0])==null?void 0:G.height)||0}px`,"--width":`${MS}px`,"--gap":`${y}px`,...h,...zS(c,u)},onBlur:F=>{D.current&&!F.currentTarget.contains(F.relatedTarget)&&(D.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:F=>{F.target instanceof HTMLElement&&F.target.dataset.dismissible==="false"||D.current||(D.current=!0,T.current=F.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{V||L(!1)},onDragEnd:()=>L(!1),onPointerDown:F=>{F.target instanceof HTMLElement&&F.target.dataset.dismissible==="false"||M(!0)},onPointerUp:()=>M(!1)},N.filter(F=>!F.position&&Y===0||F.position===U).map((F,ie)=>{var Ne,oe;return _.createElement($S,{key:F.id,icons:x,index:ie,toast:F,defaultRichColors:d,duration:(Ne=m==null?void 0:m.duration)!=null?Ne:v,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:b,closeButton:(oe=m==null?void 0:m.closeButton)!=null?oe:i,interacting:V,position:U,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:K,toasts:N.filter(ee=>ee.position==F.position),heights:A.filter(ee=>ee.position==F.position),setHeights:R,expandByDefault:s,gap:y,loadingIcon:p,expanded:O,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const BS=({...e})=>{const{theme:t="system"}=hS();return a.jsx(US,{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})};var VS=bu[" useId ".trim().toString()]||(()=>{}),HS=0;function $o(e){const[t,n]=g.useState(VS());return Le(()=>{n(r=>r??String(HS++))},[e]),t?`radix-${t}`:""}const WS=["top","right","bottom","left"],tr=Math.min,ut=Math.max,ga=Math.round,xi=Math.floor,tn=e=>({x:e,y:e}
vendor: 9,886 bytes, line 181
181),KS={left:"right",right:"left",bottom:"top",top:"bottom"},GS={start:"end",end:"start"};function Jc(e,t,n){return ut(e,tr(t,n))}function yn(e,t){return typeof e=="function"?e(t):e}function xn(e){return e.split("-")[0]}function zo(e){return e.split("-")[1]}function yd(e){return e==="x"?"y":"x"}function xd(e){return e==="y"?"height":"width"}const QS=new Set(["top","bottom"]);function Zt(e){return QS.has(xn(e))?"y":"x"}function wd(e){return yd(Zt(e))}function qS(e,t,n){n===void 0&&(n=!1);const r=zo(e),o=wd(e),s=xd(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=va(i)),[i,va(i)]}function YS(e){const t=va(e);return[eu(e),t,eu(t)]}function eu(e){return e.replace(/start|end/g,t=>GS[t])}const yp=["left","right"],xp=["right","left"],XS=["top","bottom"],ZS=["bottom","top"];function JS(e,t,n){switch(e){case"top":case"bottom":return n?t?xp:yp:t?yp:xp;case"left":case"right":return t?XS:ZS;default:return[]}}function eC(e,t,n,r){const o=zo(e);let s=JS(xn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(eu)))),s}function va(e){return e.replace(/left|right|bottom|top/g,t=>KS[t])}function tC(e){return{top:0,right:0,bottom:0,left:0,...e}}function hv(e){return typeof e!="number"?tC(e):{top:e,right:e,bottom:e,left:e}}function ya(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function wp(e,t,n){let{reference:r,floating:o}=e;const s=Zt(t),i=wd(t),l=xd(i),c=xn(t),u=s==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,v=r[l]/2-o[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-o.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(zo(t)){case"start":h[i]-=v*(n&&u?-1:1);break;case"end":h[i]+=v*(n&&u?-1:1);break}return h}const nC=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=wp(u,r,c),v=r,h={},b=0;for(let m=0;m<l.length;m++){const{name:w,fn:y}=l[m],{x:p,y:x,data:C,reset:S}=await y({x:f,y:d,initialPlacement:r,placement:v,strategy:o,middlewareData:h,rects:u,platform:i,elements:{reference:e,floating:t}});f=p??f,d=x??d,h={...h,[w]:{...h[w],...C}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(v=S.placement),S.rects&&(u=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:f,y:d}=wp(u,v,c)),m=-1)}return{x:f,y:d,placement:v,strategy:o,middlewareData:h}};async function Ls(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:v=!1,padding:h=0}=yn(t,e),b=hv(h),w=l[v?d==="floating"?"reference":"floating":d],y=ya(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:c})),p=d==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),C=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},S=ya(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:p,offsetParent:x,strategy:c}):p);return{top:(y.top-S.top+b.top)/C.y,bottom:(S.bottom-y.bottom+b.bottom)/C.y,left:(y.left-S.left+b.left)/C.x,right:(S.right-y.right+b.right)/C.x}}const rC=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:l,middlewareData:c}=t,{element:u,padding:f=0}=yn(e,t)||{};if(u==null)return{};const d=hv(f),v={x:n,y:r},h=wd(o),b=xd(h),m=await i.getDimensions(u),w=h==="y",y=w?"top":"left",p=w?"bottom":"right",x=w?"clientHeight":"clientWidth",C=s.reference[b]+s.reference[h]-v[h]-s.floating[b],S=v[h]-s.reference[h],N=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let j=N?N[x]:0;(!j||!await(i.isElement==null?void 0:i.isElement(N)))&&(j=l.floating[x]||s.floating[b]);const E=C/2-S/2,A=j/2-m[b]/2-1,R=tr(d[y],A),O=tr(d[p],A),L=R,V=j-m[b]-O,M=j/2-m[b]/2+E,H=Jc(L,M,V),$=!c.arrow&&zo(o)!=null&&M!==H&&s.reference[b]/2-(M<L?R:O)-m[b]/2<0,B=$?M<L?M-L:M-V:0;return{[h]:v[h]+B,data:{[h]:H,centerOffset:M-H-B,...$&&{alignmentOffset:B}},reset:$}}}),oC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:v,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:m=!0,...w}=yn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=xn(o),p=Zt(l),x=xn(l)===l,C=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=v||(x||!m?[va(l)]:YS(l)),N=b!=="none";!v&&N&&S.push(...eC(l,m,b,C));const j=[l,...S],E=await Ls(t,w),A=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&A.push(E[y]),d){const M=qS(o,i,C);A.push(E[M[0]],E[M[1]])}if(R=[...R,{placement:o,overflows:A}],!A.every(M=>M<=0)){var O,L;const M=(((O=s.flip)==null?void 0:O.index)||0)+1,H=j[M];if(H&&(!(d==="alignment"?p!==Zt(H):!1)||R.every(k=>k.overflows[0]>0&&Zt(k.placement)===p)))return{data:{index:M,overflows:R},reset:{placement:H}};let $=(L=R.filter(B=>B.overflows[0]<=0).sort((B,k)=>B.overflows[1]-k.overflows[1])[0])==null?void 0:L.placement;if(!$)switch(h){case"bestFit":{var V;const B=(V=R.filter(k=>{if(N){const T=Zt(k.placement);return T===p||T==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(T=>T>0).reduce((T,D)=>T+D,0)]).sort((k,T)=>k[1]-T[1])[0])==null?void 0:V[0];B&&($=B);break}case"initialPlacement":$=l;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function bp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sp(e){return WS.some(t=>e[t]>=0)}const sC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=yn(e,t);switch(r){case"referenceHidden":{const s=await Ls(t,{...o,elementContext:"reference"}),i=bp(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Sp(i)}}}case"escaped":{const s=await Ls(t,{...o,altBoundary:!0}),i=bp(s,n.floating);return{data:{escapedOffsets:i,escaped:Sp(i)}}}default:return{}}}}},mv=new Set(["left","top"]);async function iC(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=xn(n),l=zo(n),c=Zt(n)==="y",u=mv.has(i)?-1:1,f=s&&c?-1:1,d=yn(t,e);let{mainAxis:v,crossAxis:h,alignmentAxis:b}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof b=="number"&&(h=l==="end"?b*-1:b),c?{x:h*f,y:v*u}:{x:v*u,y:h*f}}const aC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:l}=t,c=await iC(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},lC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:w=>{let{x:y,y:p}=w;return{x:y,y:p}}},...c}=yn(e,t),u={x:n,y:r},f=await Ls(t,c),d=Zt(xn(o)),v=yd(d);let h=u[v],b=u[d];if(s){const w=v==="y"?"top":"left",y=v==="y"?"bottom":"right",p=h+f[w],x=h-f[y];h=Jc(p,h,x)}if(i){const w=d==="y"?"top":"left",y=d==="y"?"bottom":"right",p=b+f[w],x=b-f[y];b=Jc(p,b,x)}const m=l.fn({...t,[v]:h,[d]:b});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[v]:s,[d]:i}}}}}},cC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=yn(e,t),f={x:n,y:r},d=Zt(o),v=yd(d);let h=f[v],b=f[d];const m=yn(l,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const x=v==="y"?"height":"width",C=s.reference[v]-s.floating[x]+w.mainAxis,S=s.reference[v]+s.reference[x]-w.mainAxis;h<C?h=C:h>S&&(h=S)}if(u){var y,p;const x=v==="y"?"width":"height",C=mv.has(xn(o)),S=s.reference[d]-s.floating[x]+(C&&((y=i.offset)==null?void 0:y[d])||0)+(C?0:w.crossAxis),N=s.reference[d]+s.reference[x]+(C?0:((p=i.offset)==null?void 0:p[d])||0)-(C?w.crossAxis:0);b<S?b=S:b>N&&(b=N)}return{[v]:h,[d]:b}}}},uC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:l}=t,{apply:c=()=>{},...u}=yn(e,t),f=await Ls(t,u),d=xn(o),v=zo(o),h=Zt(o)==="y",{width:b,height:m}=s.floating;let w,y;d==="top"||d==="bottom"?(w=d,y=v===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(y=d,w=v==="end"?"top":"bottom");const p=m-f.top-f.bottom,x=b-f.left-f.right,C=tr(m-f[w],p),S=tr(b-f[y],x),N=!t.middlewareData.shift;let j=C,E=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=p),N&&!v){const R=ut(f.left,0),O=ut(f.right,0),L=ut(f.top,0),V=ut(f.bottom,0);h?E=b-2*(R!==0||O!==0?R+O:ut(f.left,f.right)):j=m-2*(L!==0||V!==0?L+V:ut(f.top,f.bottom))}await c({...t,availableWidth:E,availableHeight:j});const A=await i.getDimensions(l.floating);return b!==A.width||m!==A.height?{reset:{rects:!0}}:{}}}};function Ha(){return typeof window<"u"}function Uo(e){return gv(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function on(e){var t;return(t=(gv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}
vendor: 4,581 bytes, line 181
181function gv(e){return Ha()?e instanceof Node||e instanceof pt(e).Node:!1}function Bt(e){return Ha()?e instanceof Element||e instanceof pt(e).Element:!1}function rn(e){return Ha()?e instanceof HTMLElement||e instanceof pt(e).HTMLElement:!1}function Cp(e){return!Ha()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}const dC=new Set(["inline","contents"]);function Qs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Vt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!dC.has(o)}const fC=new Set(["table","td","th"]);function pC(e){return fC.has(Uo(e))}const hC=[":popover-open",":modal"];function Wa(e){return hC.some(t=>{try{return e.matches(t)}catch{return!1}})}const mC=["transform","translate","scale","rotate","perspective"],gC=["transform","translate","scale","rotate","perspective","filter"],vC=["paint","layout","strict","content"];function bd(e){const t=Sd(),n=Bt(e)?Vt(e):e;return mC.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)||gC.some(r=>(n.willChange||"").includes(r))||vC.some(r=>(n.contain||"").includes(r))}function yC(e){let t=nr(e);for(;rn(t)&&!Io(t);){if(bd(t))return t;if(Wa(t))return null;t=nr(t)}return null}function Sd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const xC=new Set(["html","body","#document"]);function Io(e){return xC.has(Uo(e))}function Vt(e){return pt(e).getComputedStyle(e)}function Ka(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function nr(e){if(Uo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cp(e)&&e.host||on(e);return Cp(t)?t.host:t}function vv(e){const t=nr(e);return Io(t)?e.ownerDocument?e.ownerDocument.body:e.body:rn(t)&&Qs(t)?t:vv(t)}function Ds(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vv(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=pt(o);if(s){const l=tu(i);return t.concat(i,i.visualViewport||[],Qs(o)?o:[],l&&n?Ds(l):[])}return t.concat(o,Ds(o,[],n))}function tu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yv(e){const t=Vt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=rn(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=ga(n)!==s||ga(r)!==i;return l&&(n=s,r=i),{width:n,height:r,$:l}}function Cd(e){return Bt(e)?e:e.contextElement}function ho(e){const t=Cd(e);if(!rn(t))return tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=yv(t);let i=(s?ga(n.width):n.width)/r,l=(s?ga(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const wC=tn(0);function xv(e){const t=pt(e);return!Sd()||!t.visualViewport?wC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==pt(e)?!1:t}function Ir(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Cd(e);let i=tn(1);t&&(r?Bt(r)&&(i=ho(r)):i=ho(e));const l=bC(s,n,r)?xv(s):tn(0);let c=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,f=o.width/i.x,d=o.height/i.y;if(s){const v=pt(s),h=r&&Bt(r)?pt(r):r;let b=v,m=tu(b);for(;m&&r&&h!==b;){const w=ho(m),y=m.getBoundingClientRect(),p=Vt(m),x=y.left+(m.clientLeft+parseFloat(p.paddingLeft))*w.x,C=y.top+(m.clientTop+parseFloat(p.paddingTop))*w.y;c*=w.x,u*=w.y,f*=w.x,d*=w.y,c+=x,u+=C,b=pt(m),m=tu(b)}}return ya({width:f,height:d,x:c,y:u})}function Nd(e,t){const n=Ka(e).scrollLeft;return t?t.left+n:Ir(on(e)).left+n}function wv(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Nd(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function SC(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=on(r),l=t?Wa(t.floating):!1;if(r===i||l&&s)return n;let c={scrollLeft:0,scrollTop:0},u=tn(1);const f=tn(0),d=rn(r);if((d||!d&&!s)&&((Uo(r)!=="body"||Qs(i))&&(c=Ka(r)),rn(r))){const h=Ir(r);u=ho(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}const v=i&&!d&&!s?wv(i,c,!0):tn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x+v.x,y:n.y*u.y-c.scrollTop*u.y+f.y+v.y}}function CC(e){return Array.from(e.getClientRects())}function NC(e){const t=on(e),n=Ka(e),r=e.ownerDocument.body,o=ut(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ut(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Nd(e);const l=-n.scrollTop;return Vt(r).direction==="rtl"&&(i+=ut(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:l}}
vendor: 4,850 bytes, line 181
181function jC(e,t){const n=pt(e),r=on(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,l=0,c=0;if(o){s=o.width,i=o.height;const u=Sd();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:l,y:c}}const EC=new Set(["absolute","fixed"]);function kC(e,t){const n=Ir(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=rn(e)?ho(e):tn(1),i=e.clientWidth*s.x,l=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:i,height:l,x:c,y:u}}function Np(e,t,n){let r;if(t==="viewport")r=jC(e,n);else if(t==="document")r=NC(on(e));else if(Bt(t))r=kC(t,n);else{const o=xv(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ya(r)}function bv(e,t){const n=nr(e);return n===t||!Bt(n)||Io(n)?!1:Vt(n).position==="fixed"||bv(n,t)}function PC(e,t){const n=t.get(e);if(n)return n;let r=Ds(e,[],!1).filter(l=>Bt(l)&&Uo(l)!=="body"),o=null;const s=Vt(e).position==="fixed";let i=s?nr(e):e;for(;Bt(i)&&!Io(i);){const l=Vt(i),c=bd(i);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&EC.has(o.position)||Qs(i)&&!c&&bv(e,i))?r=r.filter(f=>f!==i):o=l,i=nr(i)}return t.set(e,r),r}function TC(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Wa(t)?[]:PC(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,f)=>{const d=Np(t,f,o);return u.top=ut(d.top,u.top),u.right=tr(d.right,u.right),u.bottom=tr(d.bottom,u.bottom),u.left=ut(d.left,u.left),u},Np(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function RC(e){const{width:t,height:n}=yv(e);return{width:t,height:n}}function AC(e,t,n){const r=rn(t),o=on(t),s=n==="fixed",i=Ir(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=tn(0);function u(){c.x=Nd(o)}if(r||!r&&!s)if((Uo(t)!=="body"||Qs(o))&&(l=Ka(t)),r){const h=Ir(t,!0,s,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else o&&u();s&&!r&&o&&u();const f=o&&!r&&!s?wv(o,l):tn(0),d=i.left+l.scrollLeft-c.x-f.x,v=i.top+l.scrollTop-c.y-f.y;return{x:d,y:v,width:i.width,height:i.height}}function Vl(e){return Vt(e).position==="static"}function jp(e,t){if(!rn(e)||Vt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return on(e)===n&&(n=n.ownerDocument.body),n}function Sv(e,t){const n=pt(e);if(Wa(e))return n;if(!rn(e)){let o=nr(e);for(;o&&!Io(o);){if(Bt(o)&&!Vl(o))return o;o=nr(o)}return n}let r=jp(e,t);for(;r&&pC(r)&&Vl(r);)r=jp(r,t);return r&&Io(r)&&Vl(r)&&!bd(r)?n:r||yC(e)||n}const IC=async function(e){const t=this.getOffsetParent||Sv,n=this.getDimensions,r=await n(e.floating);return{reference:AC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function _C(e){return Vt(e).direction==="rtl"}const MC={convertOffsetParentRelativeRectToViewportRelativeRect:SC,getDocumentElement:on,getClippingRect:TC,getOffsetParent:Sv,getElementRects:IC,getClientRects:CC,getDimensions:RC,getScale:ho,isElement:Bt,isRTL:_C};function Cv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function OC(e,t){let n=null,r;const o=on(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:f,top:d,width:v,height:h}=u;if(l||t(),!v||!h)return;const b=xi(d),m=xi(o.clientWidth-(f+v)),w=xi(o.clientHeight-(d+h)),y=xi(f),x={rootMargin:-b+"px "+-m+"px "+-w+"px "+-y+"px",threshold:ut(0,tr(1,c))||1};let C=!0;function S(N){const j=N[0].intersectionRatio;if(j!==c){if(!C)return i();j?i(!1,j):r=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!Cv(u,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(S,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,x)}n.observe(e)}return i(!0),s}function LC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Cd(e),f=o||s?[...u?Ds(u):[],...Ds(t)]:[];f.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const d=u&&l?OC(u,n):null;let v=-1,h=null;i&&(h=new ResizeObserver(y=>{let[p]=y;p&&p.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),u&&!c&&h.observe(u),h.observe(t));let b,m=c?Ir(e):null;c&&w();function w(){const y=Ir(e);m&&!Cv(m,y)&&n(),m=y,b=requestAnimationFrame(w)}return n(),()=>{var y;f.forEach(p=>{o&&p.removeEventListener("scroll",n),s&&p.removeEventListener("resize",n)}),d==null||d(),(y=h)==null||y.disconnect(),h=null,c&&cancelAnimationFrame(b)}}const DC=aC,FC=lC,$C=oC,zC=uC,UC=sC,Ep=rC,BC=cC,VC=(e,t,n)=>{const r=new Map,o={platform:MC,...n},s={...o.platform,_c:r};return nC(e,t,{...o,platform:s})};var HC=typeof document<"u",WC=function(){},Bi=HC?g.useLayoutEffect:WC;function xa(e,t){if(e===t)return!0;
vendor: 4,141 bytes, line 181
181if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;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(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!xa(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Nv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function kp(e,t){const n=Nv(e);return Math.round(t*n)/n}function Hl(e){const t=g.useRef(e);return Bi(()=>{t.current=e}),t}function KC(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[f,d]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,h]=g.useState(r);xa(v,r)||h(r);const[b,m]=g.useState(null),[w,y]=g.useState(null),p=g.useCallback(k=>{k!==N.current&&(N.current=k,m(k))},[]),x=g.useCallback(k=>{k!==j.current&&(j.current=k,y(k))},[]),C=s||b,S=i||w,N=g.useRef(null),j=g.useRef(null),E=g.useRef(f),A=c!=null,R=Hl(c),O=Hl(o),L=Hl(u),V=g.useCallback(()=>{if(!N.current||!j.current)return;const k={placement:t,strategy:n,middleware:v};O.current&&(k.platform=O.current),VC(N.current,j.current,k).then(T=>{const D={...T,isPositioned:L.current!==!1};M.current&&!xa(E.current,D)&&(E.current=D,Dr.flushSync(()=>{d(D)}))})},[v,t,n,O,L]);Bi(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const M=g.useRef(!1);Bi(()=>(M.current=!0,()=>{M.current=!1}),[]),Bi(()=>{if(C&&(N.current=C),S&&(j.current=S),C&&S){if(R.current)return R.current(C,S,V);V()}},[C,S,V,R,A]);const H=g.useMemo(()=>({reference:N,floating:j,setReference:p,setFloating:x}),[p,x]),$=g.useMemo(()=>({reference:C,floating:S}),[C,S]),B=g.useMemo(()=>{const k={position:n,left:0,top:0};if(!$.floating)return k;const T=kp($.floating,f.x),D=kp($.floating,f.y);return l?{...k,transform:"translate("+T+"px, "+D+"px)",...Nv($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:D}},[n,l,$.floating,f.x,f.y]);return g.useMemo(()=>({...f,update:V,refs:H,elements:$,floatingStyles:B}),[f,V,H,$,B])}const GC=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Ep({element:r.current,padding:o}).fn(n):{}:r?Ep({element:r,padding:o}).fn(n):{}}}},QC=(e,t)=>({...DC(e),options:[e,t]}),qC=(e,t)=>({...FC(e),options:[e,t]}),YC=(e,t)=>({...BC(e),options:[e,t]}),XC=(e,t)=>({...$C(e),options:[e,t]}),ZC=(e,t)=>({...zC(e),options:[e,t]}),JC=(e,t)=>({...UC(e),options:[e,t]}),e2=(e,t)=>({...GC(e),options:[e,t]});var t2="Arrow",jv=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return a.jsx(Z.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});jv.displayName=t2;var n2=jv;function Ev(e){const[t,n]=g.useState(void 0);return Le(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,l;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,l=u.blockSize}else i=e.offsetWidth,l=e.offsetHeight;n({width:i,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var jd="Popper",[kv,Ga]=bn(jd),[r2,Pv]=kv(jd),Tv=e=>{const{__scopePopper:t,children:n}=e,[r,o]=g.useState(null);return a.jsx(r2,{scope:t,anchor:r,onAnchorChange:o,children:n})};Tv.displayName=jd;var Rv="PopperAnchor",Av=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Pv(Rv,n),i=g.useRef(null),l=fe(t,i);return g.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:a.jsx(Z.div,{...o,ref:l})});Av.displayName=Rv;var Ed="PopperContent",[o2,s2]=kv(Ed),Iv=g.forwardRef((e,t)=>
vendor: 4,449 bytes, line 181
181{var F,ie,Ne,oe,ee,ne;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:b,...m}=e,w=Pv(Ed,n),[y,p]=g.useState(null),x=fe(t,ze=>p(ze)),[C,S]=g.useState(null),N=Ev(C),j=(N==null?void 0:N.width)??0,E=(N==null?void 0:N.height)??0,A=r+(s!=="center"?"-"+s:""),R=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},O=Array.isArray(u)?u:[u],L=O.length>0,V={padding:R,boundary:O.filter(a2),altBoundary:L},{refs:M,floatingStyles:H,placement:$,isPositioned:B,middlewareData:k}=KC({strategy:"fixed",placement:A,whileElementsMounted:(...ze)=>LC(...ze,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[QC({mainAxis:o+E,alignmentAxis:i}),c&&qC({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?YC():void 0,...V}),c&&XC({...V}),ZC({...V,apply:({elements:ze,rects:vt,availableWidth:lr,availableHeight:Sn})=>{const{width:cr,height:Vo}=vt.reference,Fr=ze.floating.style;Fr.setProperty("--radix-popper-available-width",`${lr}px`),Fr.setProperty("--radix-popper-available-height",`${Sn}px`),Fr.setProperty("--radix-popper-anchor-width",`${cr}px`),Fr.setProperty("--radix-popper-anchor-height",`${Vo}px`)}}),C&&e2({element:C,padding:l}),l2({arrowWidth:j,arrowHeight:E}),v&&JC({strategy:"referenceHidden",...V})]}),[T,D]=Ov($),K=Et(b);Le(()=>{B&&(K==null||K())},[B,K]);const U=(F=k.arrow)==null?void 0:F.x,Y=(ie=k.arrow)==null?void 0:ie.y,G=((Ne=k.arrow)==null?void 0:Ne.centerOffset)!==0,[pe,Ce]=g.useState();return Le(()=>{y&&Ce(window.getComputedStyle(y).zIndex)},[y]),a.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:B?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[(oe=k.transformOrigin)==null?void 0:oe.x,(ee=k.transformOrigin)==null?void 0:ee.y].join(" "),...((ne=k.hide)==null?void 0:ne.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(o2,{scope:n,placedSide:T,onArrowChange:S,arrowX:U,arrowY:Y,shouldHideArrow:G,children:a.jsx(Z.div,{"data-side":T,"data-align":D,...m,ref:x,style:{...m.style,animation:B?void 0:"none"}})})})});Iv.displayName=Ed;var _v="PopperArrow",i2={top:"bottom",right:"left",bottom:"top",left:"right"},Mv=g.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=s2(_v,r),i=i2[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]: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:a.jsx(n2,{...o,ref:n,style:{...o.style,display:"block"}})})});Mv.displayName=_v;function a2(e){return e!==null}var l2=e=>({name:"transformOrigin",options:e,fn(t){var w,y,p;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,f]=Ov(n),d={start:"0%",center:"50%",end:"100%"}[f],v=(((y=o.arrow)==null?void 0:y.x)??0)+l/2,h=(((p=o.arrow)==null?void 0:p.y)??0)+c/2;let b="",m="";return u==="bottom"?(b=i?d:`${v}px`,m=`${-c}px`):u==="top"?(b=i?d:`${v}px`,m=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,m=i?d:`${h}px`):u==="left"&&(b=`${r.floating.width+c}px`,m=i?d:`${h}px`),{data:{x:b,y:m}}}});function Ov(e){const[t,n="center"]=e.split("-");return[t,n]}var c2=Tv,Lv=Av,Dv=Iv,Fv=Mv,[Qa,qE]=bn("Tooltip",[Ga]),kd=Ga(),$v="TooltipProvider",u2=700,Pp="tooltip.open",[d2,zv]=Qa($v),Uv=e=>{const{__scopeTooltip:t,delayDuration:n=u2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=g.useRef(!0),l=g.useRef(!1),c=g.useRef(0);return g.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(d2,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:g.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:g.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:g.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:s})};Uv.displayName=$v;var Bv="Tooltip",[YE,qa]=Qa(Bv),nu="TooltipTrigger",f2=g.forwardRef((e,t)=>
vendor: 5,219 bytes, line 181
181{const{__scopeTooltip:n,...r}=e,o=qa(nu,n),s=zv(nu,n),i=kd(n),l=g.useRef(null),c=fe(t,l,o.onTriggerChange),u=g.useRef(!1),f=g.useRef(!1),d=g.useCallback(()=>u.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),a.jsx(Lv,{asChild:!0,...i,children:a.jsx(Z.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:W(e.onPointerMove,v=>{v.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:W(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:W(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:W(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:W(e.onBlur,o.onClose),onClick:W(e.onClick,o.onClose)})})});f2.displayName=nu;var p2="TooltipPortal",[XE,h2]=Qa(p2,{forceMount:void 0}),_o="TooltipContent",Vv=g.forwardRef((e,t)=>{const n=h2(_o,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=qa(_o,e.__scopeTooltip);return a.jsx(Do,{present:r||i.open,children:i.disableHoverableContent?a.jsx(Hv,{side:o,...s,ref:t}):a.jsx(m2,{side:o,...s,ref:t})})}),m2=g.forwardRef((e,t)=>{const n=qa(_o,e.__scopeTooltip),r=zv(_o,e.__scopeTooltip),o=g.useRef(null),s=fe(t,o),[i,l]=g.useState(null),{trigger:c,onClose:u}=n,f=o.current,{onPointerInTransitChange:d}=r,v=g.useCallback(()=>{l(null),d(!1)},[d]),h=g.useCallback((b,m)=>{const w=b.currentTarget,y={x:b.clientX,y:b.clientY},p=w2(y,w.getBoundingClientRect()),x=b2(y,p),C=S2(m.getBoundingClientRect()),S=N2([...x,...C]);l(S),d(!0)},[d]);return g.useEffect(()=>()=>v(),[v]),g.useEffect(()=>{if(c&&f){const b=w=>h(w,f),m=w=>h(w,c);return c.addEventListener("pointerleave",b),f.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",m)}}},[c,f,h,v]),g.useEffect(()=>{if(i){const b=m=>{const w=m.target,y={x:m.clientX,y:m.clientY},p=(c==null?void 0:c.contains(w))||(f==null?void 0:f.contains(w)),x=!C2(y,i);p?v():x&&(v(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,f,i,u,v]),a.jsx(Hv,{...e,ref:s})}),[g2,v2]=Qa(Bv,{isInside:!1}),y2=P1("TooltipContent"),Hv=g.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...l}=e,c=qa(_o,n),u=kd(n),{onClose:f}=c;return g.useEffect(()=>(document.addEventListener(Pp,f),()=>document.removeEventListener(Pp,f)),[f]),g.useEffect(()=>{if(c.trigger){const d=v=>{const h=v.target;h!=null&&h.contains(c.trigger)&&f()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[c.trigger,f]),a.jsx(za,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:d=>d.preventDefault(),onDismiss:f,children:a.jsxs(Dv,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.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:[a.jsx(y2,{children:r}),a.jsx(g2,{scope:n,isInside:!0,children:a.jsx(Y1,{id:c.contentId,role:"tooltip",children:o||r})})]})})});Vv.displayName=_o;var Wv="TooltipArrow",x2=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=kd(n);return v2(Wv,n).isInside?null:a.jsx(Fv,{...o,...r,ref:t})});x2.displayName=Wv;function w2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function b2(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 S2(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function C2(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const l=t[s],c=t[i],u=l.x,f=l.y,d=c.x,v=c.y;f>r!=v>r&&n<(d-u)*(r-f)/(v-f)+u&&(o=!o)}return o}function N2(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),j2(t)}function j2(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}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 E2=Uv,Kv=Vv;const k2=E2,P2=g.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 23,813 bytes, line 181
181a.jsx(Kv,{ref:r,sideOffset:t,className:se("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));P2.displayName=Kv.displayName;var Ya=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(){}},Xa=typeof window>"u"||"Deno"in globalThis;function Mt(){}function T2(e,t){return typeof e=="function"?e(t):e}function R2(e){return typeof e=="number"&&e>=0&&e!==1/0}function A2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ru(e,t){return typeof e=="function"?e(t):e}function I2(e,t){return typeof e=="function"?e(t):e}function Tp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:l}=e;if(i){if(r){if(t.queryHash!==Pd(i,t.options))return!1}else if(!$s(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||s&&!s(t))}function Rp(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Fs(t.options.mutationKey)!==Fs(s))return!1}else if(!$s(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Pd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fs)(e)}function Fs(e){return JSON.stringify(e,(t,n)=>ou(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function $s(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>$s(e[n],t[n])):!1}function Gv(e,t){if(e===t)return e;const n=Ap(e)&&Ap(t);if(n||ou(e)&&ou(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,l=n?[]:{},c=new Set(r);let u=0;for(let f=0;f<i;f++){const d=n?f:s[f];(!n&&c.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(l[d]=void 0,u++):(l[d]=Gv(e[d],t[d]),l[d]===e[d]&&e[d]!==void 0&&u++)}return o===i&&u===o?e:l}return t}function Ap(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ou(e){if(!Ip(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ip(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ip(e){return Object.prototype.toString.call(e)==="[object Object]"}function _2(e){return new Promise(t=>{setTimeout(t,e)})}function M2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gv(e,t):t}function O2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function L2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Td=Symbol();function Qv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Td?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var yr,Ln,vo,rh,D2=(rh=class extends Ya{constructor(){super();re(this,yr);re(this,Ln);re(this,vo);q(this,vo,t=>{if(!Xa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){P(this,Ln)||this.setEventListener(P(this,vo))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,Ln))==null||t.call(this),q(this,Ln,void 0))}setEventListener(t){var n;q(this,vo,t),(n=P(this,Ln))==null||n.call(this),q(this,Ln,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){P(this,yr)!==t&&(q(this,yr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof P(this,yr)=="boolean"?P(this,yr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},yr=new WeakMap,Ln=new WeakMap,vo=new WeakMap,rh),qv=new D2,yo,Dn,xo,oh,F2=(oh=class extends Ya{constructor(){super();re(this,yo,!0);re(this,Dn);re(this,xo);q(this,xo,t=>{if(!Xa&&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(){P(this,Dn)||this.setEventListener(P(this,xo))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,Dn))==null||t.call(this),q(this,Dn,void 0))}setEventListener(t){var n;q(this,xo,t),(n=P(this,Dn))==null||n.call(this),q(this,Dn,t(this.setOnline.bind(this)))}setOnline(t){P(this,yo)!==t&&(q(this,yo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return P(this,yo)}},yo=new WeakMap,Dn=new WeakMap,xo=new WeakMap,oh),wa=new F2;function $2(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function z2(e){return Math.min(1e3*2**e,3e4)}function Yv(e){return(e??"online")==="online"?wa.isOnline():!0}var Xv=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Wl(e){return e instanceof Xv}function Zv(e){let t=!1,n=0,r=!1,o;const s=$2(),i=m=>{var w;r||(v(new Xv(m)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>qv.isFocused()&&(e.networkMode==="always"||wa.isOnline())&&e.canRun(),f=()=>Yv(e.networkMode)&&e.canRun(),d=m=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,m),o==null||o(),s.resolve(m))},v=m=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,m),o==null||o(),s.reject(m))},h=()=>new Promise(m=>{var w;o=y=>{(r||u())&&m(y)},(w=e.onPause)==null||w.call(e)}).then(()=>{var m;o=void 0,r||(m=e.onContinue)==null||m.call(e)}),b=()=>{if(r)return;let m;const w=n===0?e.initialPromise:void 0;try{m=w??e.fn()}catch(y){m=Promise.reject(y)}Promise.resolve(m).then(d).catch(y=>{var N;if(r)return;const p=e.retry??(Xa?0:3),x=e.retryDelay??z2,C=typeof x=="function"?x(n,y):x,S=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,y);if(t||!S){v(y);return}n++,(N=e.onFail)==null||N.call(e,n,y),_2(C).then(()=>u()?void 0:h()).then(()=>{t?v(y):b()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:l,continueRetry:c,canStart:f,start:()=>(f()?b():h().then(b),s)}}var U2=e=>setTimeout(e,0);function B2(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=U2;const s=l=>{t?e.push(l):o(()=>{n(l)})},i=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||i()}return c},batchCalls:l=>(...c)=>{s(()=>{l(...c)})},schedule:s,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var Xe=B2(),xr,sh,Jv=(sh=class{constructor(){re(this,xr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),R2(this.gcTime)&&q(this,xr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Xa?1/0:5*60*1e3))}clearGcTimeout(){P(this,xr)&&(clearTimeout(P(this,xr)),q(this,xr,void 0))}},xr=new WeakMap,sh),wo,wr,xt,br,He,zs,Sr,Ot,an,ih,V2=(ih=class extends Jv{constructor(t){super();re(this,Ot);re(this,wo);re(this,wr);re(this,xt);re(this,br);re(this,He);re(this,zs);re(this,Sr);q(this,Sr,!1),q(this,zs,t.defaultOptions),this.setOptions(t.options),this.observers=[],q(this,br,t.client),q(this,xt,P(this,br).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,q(this,wo,W2(this.options)),this.state=t.state??P(this,wo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=P(this,He))==null?void 0:t.promise}setOptions(t){this.options={...P(this,zs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,xt).remove(this)}setData(t,n){const r=M2(this.state.data,t,this.options);return Ue(this,Ot,an).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ue(this,Ot,an).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=P(this,He))==null?void 0:r.promise;return(o=P(this,He))==null||o.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,wo))}isActive(){return this.observers.some(t=>I2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Td||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ru(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:!A2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,He))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,He))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,xt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(P(this,He)&&(P(this,Sr)?P(this,He).cancel({revert:!0}):P(this,He).cancelRetry()),this.scheduleGc()),P(this,xt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,Ot,an).call(this,{type:"invalidate"})}fetch(t,n){var u,f,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(P(this,He))return P(this,He).continueRetry(),P(this,He).promise}if(t&&this.setOptions(t),!this.options.queryFn){const v=this.observers.find(h=>h.options.queryFn);v&&this.setOptions(v.options)}const r=new AbortController,o=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(q(this,Sr,!0),r.signal)})},s=()=>{const v=Qv(this.options,n),b=(()=>{const m={client:P(this,br),queryKey:this.queryKey,meta:this.meta};return o(m),m})();return q(this,Sr,!1),this.options.persister?this.options.persister(v,b,this):v(b)},l=(()=>{const v={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:P(this,br),state:this.state,fetchFn:s};return o(v),v})();(u=this.options.behavior)==null||u.onFetch(l,this),q(this,wr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((f=l.fetchOptions)==null?void 0:f.meta))&&Ue(this,Ot,an).call(this,{type:"fetch",meta:(d=l.fetchOptions)==null?void 0:d.meta});const c=v=>{var h,b,m,w;Wl(v)&&v.silent||Ue(this,Ot,an).call(this,{type:"error",error:v}),Wl(v)||((b=(h=P(this,xt).config).onError)==null||b.call(h,v,this),(w=(m=P(this,xt).config).onSettled)==null||w.call(m,this.state.data,v,this)),this.scheduleGc()};return q(this,He,Zv({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:v=>{var h,b,m,w;if(v===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(v)}catch(y){c(y);return}(b=(h=P(this,xt).config).onSuccess)==null||b.call(h,v,this),(w=(m=P(this,xt).config).onSettled)==null||w.call(m,v,this.state.error,this),this.scheduleGc()},onError:c,onFail:(v,h)=>{Ue(this,Ot,an).call(this,{type:"failed",failureCount:v,error:h})},onPause:()=>{Ue(this,Ot,an).call(this,{type:"pause"})},onContinue:()=>{Ue(this,Ot,an).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),P(this,He).start()}},wo=new WeakMap,wr=new WeakMap,xt=new WeakMap,br=new WeakMap,He=new WeakMap,zs=new WeakMap,Sr=new WeakMap,Ot=new WeakSet,an=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,...H2(r.data,this.options),fetchMeta:t.meta??null};case"success":return q(this,wr,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 o=t.error;return Wl(o)&&o.revert&&P(this,wr)?{...P(this,wr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),P(this,xt).notify({query:this,type:"updated",action:t})})},ih);function H2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Yv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function W2(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,ah,K2=(ah=class extends Ya{constructor(t={}){super();re(this,Gt);this.config=t,q(this,Gt,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Pd(o,n);let i=this.get(s);return i||(i=new V2({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){P(this,Gt).has(t.queryHash)||(P(this,Gt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=P(this,Gt).get(t.queryHash);n&&(t.destroy(),n===t&&P(this,Gt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,Gt).get(t)}getAll(){return[...P(this,Gt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Tp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Tp(t,r)):n}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Gt=new WeakMap,ah),Qt,qe,Cr,qt,Tn,lh,G2=(lh=class extends Jv{constructor(t){super();re(this,qt);re(this,Qt);re(this,qe);re(this,Cr);this.mutationId=t.mutationId,q(this,qe,t.mutationCache),q(this,Qt,[]),this.state=t.state||Q2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,Qt).includes(t)||(P(this,Qt).push(t),this.clearGcTimeout(),P(this,qe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){q(this,Qt,P(this,Qt).filter(n=>n!==t)),this.scheduleGc(),P(this,qe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,Qt).length||(this.state.status==="pending"?this.scheduleGc():P(this,qe).remove(this))}continue(){var t;return((t=P(this,Cr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,l,c,u,f,d,v,h,b,m,w,y,p,x,C,S,N,j,E;const n=()=>{Ue(this,qt,Tn).call(this,{type:"continue"})};q(this,Cr,Zv({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,R)=>{Ue(this,qt,Tn).call(this,{type:"failed",failureCount:A,error:R})},onPause:()=>{Ue(this,qt,Tn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,qe).canRun(this)}));const r=this.state.status==="pending",o=!P(this,Cr).canStart();try{if(r)n();else{Ue(this,qt,Tn).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=P(this,qe).config).onMutate)==null?void 0:i.call(s,t,this));const R=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));R!==this.state.context&&Ue(this,qt,Tn).call(this,{type:"pending",context:R,variables:t,isPaused:o})}const A=await P(this,Cr).start();return await((f=(u=P(this,qe).config).onSuccess)==null?void 0:f.call(u,A,t,this.state.context,this)),await((v=(d=this.options).onSuccess)==null?void 0:v.call(d,A,t,this.state.context)),await((b=(h=P(this,qe).config).onSettled)==null?void 0:b.call(h,A,null,this.state.variables,this.state.context,this)),await((w=(m=this.options).onSettled)==null?void 0:w.call(m,A,null,t,this.state.context)),Ue(this,qt,Tn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((p=(y=P(this,qe).config).onError)==null?void 0:p.call(y,A,t,this.state.context,this)),await((C=(x=this.options).onError)==null?void 0:C.call(x,A,t,this.state.context)),await((N=(S=P(this,qe).config).onSettled)==null?void 0:N.call(S,void 0,A,this.state.variables,this.state.context,this)),await((E=(j=this.options).onSettled)==null?void 0:E.call(j,void 0,A,t,this.state.context)),A}finally{Ue(this,qt,Tn).call(this,{type:"error",error:A})}}finally{P(this,qe).runNext(this)}}},Qt=new WeakMap,qe=new WeakMap,Cr=new WeakMap,qt=new WeakSet,Tn=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),Xe.batch(()=>{P(this,Qt).forEach(r=>{r.onMutationUpdate(t)}),P(this,qe).notify({mutation:this,type:"updated",action:t})})},lh);function Q2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Lt,Us,ch,q2=(ch=class extends Ya{constructor(t={}){super();re(this,un);re(this,Lt);re(this,Us);this.config=t,q(this,un,new Set),q(this,Lt,new Map),q(this,Us,0)}build(t,n,r){const o=new G2({mutationCache:this,mutationId:++Xs(this,Us)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){P(this,un).add(t);const n=wi(t);if(typeof n=="string"){const r=P(this,Lt).get(n);r?r.push(t):P(this,Lt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(P(this,un).delete(t)){const n=wi(t);if(typeof n=="string"){const r=P(this,Lt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&P(this,Lt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=wi(t);if(typeof n=="string"){const r=P(this,Lt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=wi(t);if(typeof n=="string"){const o=(r=P(this,Lt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Xe.batch(()=>{P(this,un).forEach(t=>{this.notify({type:"removed",mutation:t})}),P(this,un).clear(),P(this,Lt).clear()})}getAll(){return Array.from(P(this,un))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rp(n,r))}findAll(t={}){return this.getAll().filter(n=>Rp(t,n))}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(Mt))))}},un=new WeakMap,Lt=new WeakMap,Us=new WeakMap,ch);function wi(e){var t;return(t=e.options.scope)==null?void 0:t.id}function _p(e){return{onFetch:(t,n)=>{var f,d,v,h,b;const r=t.options,o=(v=(d=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:d.fetchMore)==null?void 0:v.direction,s=((h=t.state.data)==null?void 0:h.pages)||[],i=((b=t.state.data)==null?void 0:b.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let m=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},y=Qv(t.options,t.fetchOptions),p=async(x,C,S)=>{if(m)return Promise.reject();if(C==null&&x.pages.length)return Promise.resolve(x);const j=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:C,direction:S?"backward":"forward",meta:t.options.meta};return w(O),O})(),E=await y(j),{maxPages:A}=t.options,R=S?L2:O2;return{pages:R(x.pages,E,A),pageParams:R(x.pageParams,C,A)}};if(o&&s.length){const x=o==="backward",C=x?Y2:Mp,S={pages:s,pageParams:i},N=C(r,S);l=await p(S,N,x)}else{const x=e??s.length;do{const C=c===0?i[0]??r.initialPageParam:Mp(r,l);if(c>0&&C==null)break;l=await p(l,C),c++}while(c<x)}return l};t.options.persister?t.fetchFn=()=>{var m,w;return(w=(m=t.options).persister)==null?void 0:w.call(m,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Mp(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 Y2(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 je,Fn,$n,bo,So,zn,Co,No,uh,X2=(uh=class{constructor(e={}){re(this,je);re(this,Fn);re(this,$n);re(this,bo);re(this,So);re(this,zn);re(this,Co);re(this,No);q(this,je,e.queryCache||new K2),q(this,Fn,e.mutationCache||new q2),q(this,$n,e.defaultOptions||{}),q(this,bo,new Map),q(this,So,new Map),q(this,zn,0)}mount(){Xs(this,zn)._++,P(this,zn)===1&&(q(this,Co,qv.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,je).onFocus())})),q(this,No,wa.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,je).onOnline())})))}unmount(){var e,t;Xs(this,zn)._--,P(this,zn)===0&&((e=P(this,Co))==null||e.call(this),q(this,Co,void 0),(t=P(this,No))==null||t.call(this),q(this,No,void 0))}isFetching(e){return P(this,je).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,Fn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,je).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=P(this,je).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ru(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return P(this,je).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=P(this,je).get(r.queryHash),s=o==null?void 0:o.state.data,i=T2(t,s);if(i!==void 0)return P(this,je).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Xe.batch(()=>P(this,je).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,je).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=P(this,je);Xe.batch(()=>
181{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=P(this,je);return Xe.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Xe.batch(()=>P(this,je).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Mt).catch(Mt)}invalidateQueries(e,t={}){return Xe.batch(()=>(P(this,je).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=Xe.batch(()=>P(this,je).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(Mt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Mt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,je).build(this,t);return n.isStaleByTime(ru(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Mt).catch(Mt)}fetchInfiniteQuery(e){return e.behavior=_p(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mt).catch(Mt)}ensureInfiniteQueryData(e){return e.behavior=_p(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return wa.isOnline()?P(this,Fn).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,je)}getMutationCache(){return P(this,Fn)}getDefaultOptions(){return P(this,$n)}setDefaultOptions(e){q(this,$n,e)}setQueryDefaults(e,t){P(this,bo).set(Fs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,bo).values()],n={};return t.forEach(r=>{$s(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){P(this,So).set(Fs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,So).values()],n={};return t.forEach(r=>{$s(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,$n).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Pd(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===Td&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,$n).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,je).clear(),P(this,Fn).clear()}},je=new WeakMap,Fn=new WeakMap,$n=new WeakMap,bo=new WeakMap,So=new WeakMap,zn=new WeakMap,Co=new WeakMap,No=new WeakMap,uh),Z2=g.createContext(void 0),J2=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(Z2.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 ba(){return ba=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},ba.apply(this,arguments)}var Vn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Vn||(Vn={}));const Op="popstate";function eN(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:l}=r.location;return su("",{pathname:s,search:i,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:ty(o)}return nN(t,n,null,e)}function at(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ey(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function tN(){return Math.random().toString(36).substr(2,8)}function Lp(e,t){return{usr:e.state,key:e.key,idx:t}}function su(e,t,n,r){return n===void 0&&(n=null),ba({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Za(t):t,{state:n,key:t&&t.key||r||tN()})}function ty(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 Za(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 nN(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,l=Vn.Pop,c=null,u=f();u==null&&(u=0,i.replaceState(ba({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function d(){l=Vn.Pop;let w=f(),y=w==null?null:w-u;u=w,c&&c({action:l,location:m.location,delta:y})}function v(w,y){l=Vn.Push;let p=su(m.location,w,y);u=f()+1;let x=Lp(p,u),C=m.createHref(p);try{i.pushState(x,"",C)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(C)}s&&c&&c({action:l,location:m.location,delta:1})}function h(w,y){l=Vn.Replace;let p=su(m.location,w,y);u=f();let x=Lp(p,u),C=m.createHref(p);i.replaceState(x,"",C),s&&c&&c({action:l,location:m.location,delta:0})}function b(w){let y=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof w=="string"?w:ty(w);return p=p.replace(/ $/,"%20"),at(y,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,y)}let m={get action(){return l},get location(){return e(o,i)},listen(w){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Op,d),c=w,()=>{o.removeEventListener(Op,d),c=null}},createHref(w){return t(o,w)},createURL:b,encodeLocation(w){let y=b(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:v,replace:h,go(w){return i.go(w)}};return m}var Dp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Dp||(Dp={}));function rN(e,t,n){return n===void 0&&(n="/"),oN(e,t,n,!1)}function oN(e,t,n,r){let o=typeof t=="string"?Za(t):t,s=oy(o.pathname||"/",n);if(s==null)return null;let i=ny(e);sN(i);let l=null;for(let c=0;l==null&&c<i.length;++c){let u=gN(s);l=hN(i[c],u,r)}return l}function ny(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,l)=>{let c={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};c.relativePath.startsWith("/")&&(at(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not val
190id. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=mo([r,c.relativePath]),f=n.concat(c);s.children&&s.children.length>0&&(at(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),ny(s.children,t,f,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:fN(u,s.index),routesMeta:f})};return e.forEach((s,i)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))o(s,i);else for(let c of ry(s.path))o(s,i,c)}),t}function ry(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=ry(r.join("/")),l=[];return l.push(...i.map(c=>c===""?s:[s,c].join("/"))),o&&l.push(...i),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function sN(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:pN(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const iN=/^:[\w-]+$/,aN=3,lN=2,cN=1,uN=10,dN=-2,Fp=e=>e==="*";function fN(e,t){let n=e.split("/"),r=n.length;return n.some(Fp)&&(r+=dN),t&&(r+=lN),n.filter(o=>!Fp(o)).reduce((o,s)=>o+(iN.test(s)?aN:s===""?cN:uN),r)}function pN(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function hN(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,f=s==="/"?t:t.slice(s.length)||"/",d=$p({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},f),v=c.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=$p({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},f)),!d)return null;
vendor: 4,131 bytes, lines 190-199
190Object.assign(o,d.params),i.push({params:o,pathname:mo([s,d.pathname]),pathnameBase:vN(mo([s,d.pathnameBase])),route:v}),d.pathnameBase!=="/"&&(s=mo([s,d.pathnameBase]))}return i}function $p(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=mN(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,f,d)=>{let{paramName:v,isOptional:h}=f;if(v==="*"){let m=l[d]||"";i=s.slice(0,s.length-m.length).replace(/(.)\/+$/,"$1")}const b=l[d];return h&&!b?u[v]=void 0:u[v]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function mN(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ey(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function gN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ey(!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 oy(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 mo=e=>e.join("/").replace(/\/\/+/g,"/"),vN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function yN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const sy=["post","put","patch","delete"];new Set(sy);const xN=["get",...sy];new Set(xN);/**
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 Sa(){return Sa=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},Sa.apply(this,arguments)}const wN=g.createContext(null),bN=g.createContext(null),iy=g.createContext(null),Ja=g.createContext(null),el=g.createContext({outlet:null,matches:[],isDataRoute:!1}),ay=g.createContext(null);function Rd(){return g.useContext(Ja)!=null}function ly(){return Rd()||at(!1),g.useContext(Ja).location}function SN(e,t){return CN(e,t)}function CN(e,t,n,r){Rd()||at(!1);let{navigator:o}=g.useContext(iy),{matches:s}=g.useContext(el),i=s[s.length-1],l=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=ly(),f;if(t){var d;let w=typeof t=="string"?Za(t):t;c==="/"||(d=w.pathname)!=null&&d.startsWith(c)||at(!1),f=w}else f=u;let v=f.pathname||"/",h=v;if(c!=="/"){let w=c.replace(/^\//,"").split("/");h="/"+v.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=rN(e,{pathname:h}),m=PN(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:mo([c,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:mo([c,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&m?g.createElement(Ja.Provider,{value:{location:Sa({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Vn.Pop}},m):m}function NN(){let e=IN(),t=yN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application 
199Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:o},n):null,null)}const jN=g.createElement(NN,null);class EN extends g.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?g.createElement(el.Provider,{value:this.props.routeContext},g.createElement(ay.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function kN(e){let{routeContext:t,match:n,children:r}=e,o=g.useContext(wN);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),g.createElement(el.Provider,{value:t},r)}function PN(e,t,n,r){var o;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 i=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let f=i.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id])!==void 0);f>=0||at(!1),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<i.length;f++){let d=i[f];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=f),d.route.id){let{loaderData:v,errors:h}=n,b=d.route.loader&&v[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||b){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((f,d,v)=>{let h,b=!1,m=null,w=null;n&&(h=l&&d.route.id?l[d.route.id]:void 0,m=d.route.errorElement||jN,c&&(u<0&&v===0?(b=!0,w=null):u===v&&(b=!0,w=d.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,v+1)),p=()=>{let x;return h?x=m:b?x=w:d.route.Component?x=g.createElement(d.route.Component,null):d.route.element?x=d.route.element:x=f,g.createElement(kN,{match:d,routeContext:{outlet:f,matches:y,isDataRoute:n!=null},children:x})};return n&&(d.route.ErrorBoundary||d.route.errorElement||v===0)?g.createElement(EN,{location:n.location,revalidation:n.revalidation,component:m,error:h,children:p(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):p()},null)}var iu=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}(iu||{});function TN(e){let t=g.useContext(bN);return t||at(!1),t}function RN(e){let t=g.useContext(el);return t||at(!1),t}function AN(e){let t=RN(),n=t.matches[t.matches.length-1];return n.route.id||at(!1),n.route.id}function IN(){var e;let t=g.useContext(ay),n=TN(iu.UseRouteError),r=AN(iu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function _N(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function au(e){at(!1)}function MN(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Vn.Pop,navigator:s,static:i=!1,future:l}=e;Rd()&&at(!1);let c=t.replace(/^\/*/,"/"),u=g.useMemo(()=>({basename:c,navigator:s,static:i,future:Sa({v7_relativeSplatPath:!1},l)}),[c,l,s,i]);typeof r=="string"&&(r=Za(r));let{pathname:f="/",search:d="",hash:v="",state:h=null,key:b="default"}=r,m=g.useMemo(()=>{let w=oy(f,c);return w==null?null:{location:{pathname:w,search:d,hash:v,state:h,key:b},navigationType:o}},[c,f,d,v,h,b,o]);return m==null?null:g.createElement(iy.Provider,{value:u},g.createElement(Ja.Provider,{children:n,value:m}))}function ON(e){let{children:t,location:n}=e;return SN(lu(t),n)}new Promise(()=>{});function lu(e,t){t===void 0&&(t=[]);let n=[];
199return g.Children.forEach(e,(r,o)=>{if(!g.isValidElement(r))return;let s=[...t,o];if(r.type===g.Fragment){n.push.apply(n,lu(r.props.children,s));return}r.type!==au&&at(!1),!r.props.index||!r.props.children||at(!1);let i={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&&(i.children=lu(r.props.children,s)),n.push(i)}),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 LN="6";try{window.__reactRouterVersion=LN}catch{}const DN="startTransition",zp=bu[DN];function FN(e){let{basename:t,children:n,future:r,window:o}=e,s=g.useRef();s.current==null&&(s.current=eN({window:o,v5Compat:!0}));let i=s.current,[l,c]=g.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},f=g.useCallback(d=>{u&&zp?zp(()=>c(d)):c(d)},[c,u]);return g.useLayoutEffect(()=>i.listen(f),[i,f]),g.useEffect(()=>_N(r),[r]),g.createElement(MN,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:i,future:r})}var Up;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Up||(Up={}));var Bp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bp||(Bp={}));const $N=Va("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),nn=g.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?E1:"button";return a.jsx(i,{className:se($N({variant:t,size:n,className:e})),ref:s,...o})});nn.displayName="Button";const Rn=g.forwardRef(({className:e,type:t,...n},r)=>a.jsx("input",{type:t,className:se("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Rn.displayName="Input";var zN="Label",cy=g.forwardRef((e,t)=>a.jsx(Z.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));cy.displayName=zN;var uy=cy;const UN=Va("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ue=g.forwardRef(({className:e,...t},n)=>a.jsx(uy,{ref:n,className:se(UN(),e),...t}));ue.displayName=uy.displayName;const Ie=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:se("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));
vendor: 5,830 bytes, line 208
208Ie.displayName="Card";const We=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:se("flex flex-col space-y-1.5 p-6",e),...t}));We.displayName="CardHeader";const Ke=g.forwardRef(({className:e,...t},n)=>a.jsx("h3",{ref:n,className:se("text-2xl font-semibold leading-none tracking-tight",e),...t}));Ke.displayName="CardTitle";const vr=g.forwardRef(({className:e,...t},n)=>a.jsx("p",{ref:n,className:se("text-sm text-muted-foreground",e),...t}));vr.displayName="CardDescription";const _e=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:se("p-6 pt-0",e),...t}));_e.displayName="CardContent";const BN=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:se("flex items-center p-6 pt-0",e),...t}));BN.displayName="CardFooter";function Vp(e,[t,n]){return Math.min(n,Math.max(t,e))}var VN=g.createContext(void 0);function Ad(e){const t=g.useContext(VN);return e||t||"ltr"}var Kl=0;function HN(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Hp()),document.body.insertAdjacentElement("beforeend",e[1]??Hp()),Kl++,()=>{Kl===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Kl--}},[])}function Hp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Gl="focusScope.autoFocusOnMount",Ql="focusScope.autoFocusOnUnmount",Wp={bubbles:!1,cancelable:!0},WN="FocusScope",dy=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[l,c]=g.useState(null),u=Et(o),f=Et(s),d=g.useRef(null),v=fe(t,m=>c(m)),h=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let m=function(x){if(h.paused||!l)return;const C=x.target;l.contains(C)?d.current=C:An(d.current,{select:!0})},w=function(x){if(h.paused||!l)return;const C=x.relatedTarget;C!==null&&(l.contains(C)||An(d.current,{select:!0}))},y=function(x){if(document.activeElement===document.body)for(const S of x)S.removedNodes.length>0&&An(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",w);const p=new MutationObserver(y);return l&&p.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w),p.disconnect()}}},[r,l,h.paused]),g.useEffect(()=>{if(l){Gp.add(h);const m=document.activeElement;if(!l.contains(m)){const y=new CustomEvent(Gl,Wp);l.addEventListener(Gl,u),l.dispatchEvent(y),y.defaultPrevented||(KN(XN(fy(l)),{select:!0}),document.activeElement===m&&An(l))}return()=>{l.removeEventListener(Gl,u),setTimeout(()=>{const y=new CustomEvent(Ql,Wp);l.addEventListener(Ql,f),l.dispatchEvent(y),y.defaultPrevented||An(m??document.body,{select:!0}),l.removeEventListener(Ql,f),Gp.remove(h)},0)}}},[l,u,f,h]);const b=g.useCallback(m=>{if(!n&&!r||h.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(w&&y){const p=m.currentTarget,[x,C]=GN(p);x&&C?!m.shiftKey&&y===C?(m.preventDefault(),n&&An(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),n&&An(C,{select:!0})):y===p&&m.preventDefault()}},[n,r,h.paused]);return a.jsx(Z.div,{tabIndex:-1,...i,ref:v,onKeyDown:b})});dy.displayName=WN;function KN(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(An(r,{select:t}),document.activeElement!==n)return}function GN(e){const t=fy(e),n=Kp(t,e),r=Kp(t.reverse(),e);return[n,r]}function fy(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Kp(e,t){for(const n of e)if(!QN(n,{upTo:t}))return n}function QN(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function qN(e){return e instanceof HTMLInputElement&&"select"in e}function An(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&qN(e)&&t&&e.select()}}var Gp=YN();function YN(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Qp(e,t),e.unshift(t)},remove(t){var n;e=Qp(e,t),(n=e[0])==null||n.resume()}}}function Qp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function XN(e){return e.filter(t=>t.tagName!=="A")}function py(e){const t=g.useRef({value:e,previous:e});return g.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var ZN=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Vr=new WeakMap,bi=new WeakMap,Si={},ql=0,hy=function(e){return e&&(e.host||hy(e.parentNode))},JN=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=hy(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ej=function(e,t,n,r){var o=JN(t,Array.isArray(e)?e:[e]);Si[n]||(Si[n]=new WeakMap);var s=Si[n],i=[],l=new Set,c=new Set(o),u=function(d){!d||l.has(d)||(l.add(d),u(d.parentNode))};o.forEach(u);var f=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(v){if(l.has(v))f(v);else try{var h=v.getAttribute(r),b=h!==null&&h!=="false",m=(Vr.get(v)||0)+1,w=(s.get(v)||0)+1;Vr.set(v,m),s.set(v,w),i.push(v),m===1&&b&&bi.set(v,!0),w===1&&v.setAttribute(n,"true"),b||v.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",v,y)}})};
vendor: 6,072 bytes, lines 208-223
208return f(t),l.clear(),ql++,function(){i.forEach(function(d){var v=Vr.get(d)-1,h=s.get(d)-1;Vr.set(d,v),s.set(d,h),v||(bi.has(d)||d.removeAttribute(r),bi.delete(d)),h||d.removeAttribute(n)}),ql--,ql||(Vr=new WeakMap,Vr=new WeakMap,bi=new WeakMap,Si={})}},tj=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=ZN(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ej(r,o,n,"aria-hidden")):function(){return null}},Xt=function(){return Xt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Xt.apply(this,arguments)};function my(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function nj(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Vi="right-scroll-bar-position",Hi="width-before-scroll-bar",rj="with-scroll-bars-hidden",oj="--removed-body-scroll-bar-size";function Yl(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sj(e,t){var n=g.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var ij=typeof window<"u"?g.useLayoutEffect:g.useEffect,qp=new WeakMap;function aj(e,t){var n=sj(null,function(r){return e.forEach(function(o){return Yl(o,r)})});return ij(function(){var r=qp.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(l){s.has(l)||Yl(l,null)}),s.forEach(function(l){o.has(l)||Yl(l,i)})}qp.set(n,e)},[e]),n}function lj(e){return e}function cj(e,t){t===void 0&&(t=lj);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(l){return l!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(l){return s(l)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var l=n;n=[],l.forEach(s),i=n}var c=function(){var f=i;i=[],f.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(f){i.push(f),u()},filter:function(f){return i=i.filter(f),n}}}};return o}function uj(e){e===void 0&&(e={});var t=cj(null);return t.options=Xt({async:!0,ssr:!1},e),t}var gy=function(e){var t=e.sideCar,n=my(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return g.createElement(r,Xt({},n))};gy.isSideCarExport=!0;function dj(e,t){return e.useMedium(t),gy}var vy=uj(),Xl=function(){},tl=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:Xl,onWheelCapture:Xl,onTouchMoveCapture:Xl}),o=r[0],s=r[1],i=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,f=e.enabled,d=e.shards,v=e.sideCar,h=e.noRelative,b=e.noIsolation,m=e.inert,w=e.allowPinchZoom,y=e.as,p=y===void 0?"div":y,x=e.gapMode,C=my(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=v,N=aj([n,t]),j=Xt(Xt({},C),o);return g.createElement(g.Fragment,null,f&&g.createElement(S,{sideCar:vy,removeScrollBar:u,shards:d,noRelative:h,noIsolation:b,inert:m,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:x}),i?g.cloneElement(g.Children.only(l),Xt(Xt({},j),{ref:N})):g.createElement(p,Xt({},j,{className:c,ref:N}),l))});tl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};tl.classNames={fullWidth:Hi,zeroRight:Vi};var fj=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function pj(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=fj();return t&&e.setAttribute("nonce",t),e}function hj(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function mj(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var gj=function(){var e=0,t=null;return{add:function(n){e==0&&(t=pj())&&(hj(t,n),mj(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},vj=function(){var e=gj();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},yy=function(){var e=vj(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},yj={left:0,top:0,right:0,gap:0},Zl=function(e){return parseInt(e||"",10)||0},xj=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Zl(n),Zl(r),Zl(o)]},wj=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yj;var t=xj(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},bj=yy(),go="data-scroll-locked",Sj=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,l=e.gap;return n===void 0&&(n="margin"),`
209  .`.concat(rj,` {
210   overflow: hidden `).concat(r,`;
211   padding-right: `).concat(l,"px ").concat(r,`;
212  }
213  body[`).concat(go,`] {
214    overflow: hidden `).concat(r,`;
215    overscroll-behavior: contain;
216    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
217    padding-left: `.concat(o,`px;
218    padding-top: `).concat(s,`px;
219    padding-right: `).concat(i,`px;
220    margin-left:0;
221    margin-top:0;
222    margin-right: `).concat(l,"px ").concat(r,`;
223    `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";
223")].filter(Boolean).join(""),`
224  }
225  
226  .`).concat(Vi,` {
227    right: `).concat(l,"px ").concat(r,`;
228  }
229  
230  .`).concat(Hi,` {
231    margin-right: `).concat(l,"px ").concat(r,`;
232  }
233  
234  .`).concat(Vi," .").concat(Vi,` {
235    right: 0 `).concat(r,`;
236  }
237  
238  .`).concat(Hi," .").concat(Hi,` {
239    margin-right: 0 `).concat(r,`;
240  }
241  
242  body[`).concat(go,`] {
243    `).concat(oj,": ").concat(l,`px;
244  }
245`)},Yp=function(){var e=parseInt(document.body.getAttribute(go)||"0",10);return isFinite(e)?e:0},Cj=function(){g.useEffect(function(){return document.body.setAttribute(go,(Yp()+1).toString()),function(){var e=Yp()-1;e<=0?document.body.removeAttribute(go):document.body.setAttribute(go,e.toString())}},[])},Nj=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Cj();var s=g.useMemo(function(){return wj(o)},[o]);return g.createElement(bj,{styles:Sj(s,!t,o,n?"":"!important")})},cu=!1;if(typeof window<"u")try{var Ci=Object.defineProperty({},"passive",{get:function(){return cu=!0,!0}});window.addEventListener("test",Ci,Ci),window.removeEventListener("test",Ci,Ci)}catch{cu=!1}var Hr=cu?{passive:!1}:!1,jj=function(e){return e.tagName==="TEXTAREA"},xy=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!jj(e)&&n[t]==="visible")},Ej=function(e){return xy(e,"overflowY")},kj=function(e){return xy(e,"overflowX")},Xp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=wy(e,r);if(o){var s=by(e,r),i=s[1],l=s[2];if(i>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Pj=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Tj=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},wy=function(e,t){return e==="v"?Ej(t):kj(t)},by=function(e,t){return e==="v"?Pj(t):Tj(t)},Rj=function(e,t){return e==="h"&&t==="rtl"?-1:1},Aj=function(e,t,n,r,o){var s=Rj(e,window.getComputedStyle(t).direction),i=s*r,l=n.target,c=t.contains(l),u=!1,f=i>0,d=0,v=0;do{if(!l)break;var h=by(e,l),b=h[0],m=h[1],w=h[2],y=m-w-s*b;(b||y)&&wy(e,l)&&(d+=y,v+=b);var p=l.parentNode;l=p&&p.nodeType===Node.DOCUMENT_FRAGMENT_NODE?p.host:p}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(f&&(Math.abs(d)<1||!o)||!f&&(Math.abs(v)<1||!o))&&(u=!0),u},Ni=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Zp=function(e){return[e.deltaX,e.deltaY]},Jp=function(e){return e&&"current"in e?e.current:e},Ij=function(e,t){return e[0]===t[0]&&e[1]===t[1]},_j=function(e){return`
246  .block-interactivity-`.concat(e,` {pointer-events: none;}
247  .allow-interactivity-`).concat(e,` {pointer-events: all;}
248`)},Mj=0,Wr=[];function Oj(e){var t=g.useRef([]),n=g.useRef([0,0]),r=g.useRef(),o=g.useState(Mj++)[0],s=g.useState(yy)[0],i=g.useRef(e);g.useEffect(function(){i.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=nj([e.lockRef.current],(e.shards||[]).map(Jp),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=g.useCallback(function(m,w){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!i.current.allowPinchZoom;var y=Ni(m),p=n.current,x="deltaX"in m?m.deltaX:p[0]-y[0],C="deltaY"in m?m.deltaY:p[1]-y[1],S,N=m.target,j=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in m&&j==="h"&&N.type==="range")return!1;var E=Xp(j,N);if(!E)return!0;if(E?S=j:(S=j==="v"?"h":"v",E=Xp(j,N)),!E)return!1;if(!r.current&&"changedTouches"in m&&(x||C)&&(r.current=S),!S)return!0;var A=r.current||S;return Aj(A,w,m,A==="h"?x:C,!0)},[]),c=g.useCallback(function(m){var w=m;if(!(!Wr.length||Wr[Wr.length-1]!==s)){var y="deltaY"in w?Zp(w):Ni(w),p=t.current.filter(function(S){return S.name===w.type&&(S.target===w.target||w.target===S.shadowParent)&&Ij(S.delta,y)})[0];if(p&&p.should){w.cancelable&&w.preventDefault();return}
vendor: 4,121 bytes, line 248
248if(!p){var x=(i.current.shards||[]).map(Jp).filter(Boolean).filter(function(S){return S.contains(w.target)}),C=x.length>0?l(w,x[0]):!i.current.noIsolation;C&&w.cancelable&&w.preventDefault()}}},[]),u=g.useCallback(function(m,w,y,p){var x={name:m,delta:w,target:y,should:p,shadowParent:Lj(y)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),f=g.useCallback(function(m){n.current=Ni(m),r.current=void 0},[]),d=g.useCallback(function(m){u(m.type,Zp(m),m.target,l(m,e.lockRef.current))},[]),v=g.useCallback(function(m){u(m.type,Ni(m),m.target,l(m,e.lockRef.current))},[]);g.useEffect(function(){return Wr.push(s),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:v}),document.addEventListener("wheel",c,Hr),document.addEventListener("touchmove",c,Hr),document.addEventListener("touchstart",f,Hr),function(){Wr=Wr.filter(function(m){return m!==s}),document.removeEventListener("wheel",c,Hr),document.removeEventListener("touchmove",c,Hr),document.removeEventListener("touchstart",f,Hr)}},[]);var h=e.removeScrollBar,b=e.inert;return g.createElement(g.Fragment,null,b?g.createElement(s,{styles:_j(o)}):null,h?g.createElement(Nj,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Lj(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Dj=dj(vy,Oj);var Sy=g.forwardRef(function(e,t){return g.createElement(tl,Xt({},e,{ref:t,sideCar:Dj}))});Sy.classNames=tl.classNames;var Fj=[" ","Enter","ArrowUp","ArrowDown"],$j=[" ","Enter"],_r="Select",[nl,rl,zj]=fd(_r),[Bo,ZE]=bn(_r,[zj,Ga]),ol=Ga(),[Uj,ir]=Bo(_r),[Bj,Vj]=Bo(_r),Cy=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:l,onValueChange:c,dir:u,name:f,autoComplete:d,disabled:v,required:h,form:b}=e,m=ol(t),[w,y]=g.useState(null),[p,x]=g.useState(null),[C,S]=g.useState(!1),N=Ad(u),[j,E]=Ar({prop:r,defaultProp:o??!1,onChange:s,caller:_r}),[A,R]=Ar({prop:i,defaultProp:l,onChange:c,caller:_r}),O=g.useRef(null),L=w?b||!!w.closest("form"):!0,[V,M]=g.useState(new Set),H=Array.from(V).map($=>$.props.value).join(";");return a.jsx(c2,{...m,children:a.jsxs(Uj,{required:h,scope:t,trigger:w,onTriggerChange:y,valueNode:p,onValueNodeChange:x,valueNodeHasChildren:C,onValueNodeHasChildrenChange:S,contentId:$o(),value:A,onValueChange:R,open:j,onOpenChange:E,dir:N,triggerPointerDownPosRef:O,disabled:v,children:[a.jsx(nl.Provider,{scope:t,children:a.jsx(Bj,{scope:e.__scopeSelect,onNativeOptionAdd:g.useCallback($=>{M(B=>new Set(B).add($))},[]),onNativeOptionRemove:g.useCallback($=>{M(B=>{const k=new Set(B);return k.delete($),k})},[]),children:n})}),L?a.jsxs(Gy,{"aria-hidden":!0,required:h,tabIndex:-1,name:f,autoComplete:d,value:A,onChange:$=>R($.target.value),disabled:v,form:b,children:[A===void 0?a.jsx("option",{value:""}):null,Array.from(V)]},H):null]})})};Cy.displayName=_r;var Ny="SelectTrigger",jy=g.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=ol(n),i=ir(Ny,n),l=i.disabled||r,c=fe(t,i.onTriggerChange),u=rl(n),f=g.useRef("touch"),[d,v,h]=qy(m=>{const w=u().filter(x=>!x.disabled),y=w.find(x=>x.value===i.value),p=Yy(w,m,y);p!==void 0&&i.onValueChange(p.value)}),b=m=>{l||(i.onOpenChange(!0),h()),m&&(i.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return a.jsx(Lv,{asChild:!0,...s,children:a.jsx(Z.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":Qy(i.value)?"":void 0,...o,ref:c,onClick:W(o.onClick,m=>{m.currentTarget.focus(),f.current!=="mouse"&&b(m)}),onPointerDown:W(o.onPointerDown,m=>{f.current=m.pointerType;const w=m.target;w.hasPointerCapture(m.pointerId)&&w.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(b(m),m.preventDefault())}),onKeyDown:W(o.onKeyDown,m=>{const w=d.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&v(m.key),!(w&&m.key===" ")&&Fj.includes(m.key)&&
vendor: 15,606 bytes, line 248
248(b(),m.preventDefault())})})})});jy.displayName=Ny;var Ey="SelectValue",ky=g.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...l}=e,c=ir(Ey,n),{onValueNodeHasChildrenChange:u}=c,f=s!==void 0,d=fe(t,c.onValueNodeChange);return Le(()=>{u(f)},[u,f]),a.jsx(Z.span,{...l,ref:d,style:{pointerEvents:"none"},children:Qy(c.value)?a.jsx(a.Fragment,{children:i}):s})});ky.displayName=Ey;var Hj="SelectIcon",Py=g.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return a.jsx(Z.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});Py.displayName=Hj;var Wj="SelectPortal",Ty=e=>a.jsx(pd,{asChild:!0,...e});Ty.displayName=Wj;var Mr="SelectContent",Ry=g.forwardRef((e,t)=>{const n=ir(Mr,e.__scopeSelect),[r,o]=g.useState();if(Le(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?Dr.createPortal(a.jsx(Ay,{scope:e.__scopeSelect,children:a.jsx(nl.Slot,{scope:e.__scopeSelect,children:a.jsx("div",{children:e.children})})}),s):null}return a.jsx(Iy,{...e,ref:t})});Ry.displayName=Mr;var It=10,[Ay,ar]=Bo(Mr),Kj="SelectContentImpl",Gj=Os("SelectContent.RemoveScroll"),Iy=g.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:l,sideOffset:c,align:u,alignOffset:f,arrowPadding:d,collisionBoundary:v,collisionPadding:h,sticky:b,hideWhenDetached:m,avoidCollisions:w,...y}=e,p=ir(Mr,n),[x,C]=g.useState(null),[S,N]=g.useState(null),j=fe(t,F=>C(F)),[E,A]=g.useState(null),[R,O]=g.useState(null),L=rl(n),[V,M]=g.useState(!1),H=g.useRef(!1);g.useEffect(()=>{if(x)return tj(x)},[x]),HN();const $=g.useCallback(F=>{const[ie,...Ne]=L().map(ne=>ne.ref.current),[oe]=Ne.slice(-1),ee=document.activeElement;for(const ne of F)if(ne===ee||(ne==null||ne.scrollIntoView({block:"nearest"}),ne===ie&&S&&(S.scrollTop=0),ne===oe&&S&&(S.scrollTop=S.scrollHeight),ne==null||ne.focus(),document.activeElement!==ee))return},[L,S]),B=g.useCallback(()=>$([E,x]),[$,E,x]);g.useEffect(()=>{V&&B()},[V,B]);const{onOpenChange:k,triggerPointerDownPosRef:T}=p;g.useEffect(()=>{if(x){let F={x:0,y:0};const ie=oe=>{var ee,ne;F={x:Math.abs(Math.round(oe.pageX)-(((ee=T.current)==null?void 0:ee.x)??0)),y:Math.abs(Math.round(oe.pageY)-(((ne=T.current)==null?void 0:ne.y)??0))}},Ne=oe=>{F.x<=10&&F.y<=10?oe.preventDefault():x.contains(oe.target)||k(!1),document.removeEventListener("pointermove",ie),T.current=null};return T.current!==null&&(document.addEventListener("pointermove",ie),document.addEventListener("pointerup",Ne,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ie),document.removeEventListener("pointerup",Ne,{capture:!0})}}},[x,k,T]),g.useEffect(()=>{const F=()=>k(!1);return window.addEventListener("blur",F),window.addEventListener("resize",F),()=>{window.removeEventListener("blur",F),window.removeEventListener("resize",F)}},[k]);const[D,K]=qy(F=>{const ie=L().filter(ee=>!ee.disabled),Ne=ie.find(ee=>ee.ref.current===document.activeElement),oe=Yy(ie,F,Ne);oe&&setTimeout(()=>oe.ref.current.focus())}),U=g.useCallback((F,ie,Ne)=>{const oe=!H.current&&!Ne;(p.value!==void 0&&p.value===ie||oe)&&(A(F),oe&&(H.current=!0))},[p.value]),Y=g.useCallback(()=>x==null?void 0:x.focus(),[x]),G=g.useCallback((F,ie,Ne)=>{const oe=!H.current&&!Ne;(p.value!==void 0&&p.value===ie||oe)&&O(F)},[p.value]),pe=r==="popper"?uu:_y,Ce=pe===uu?{side:l,sideOffset:c,align:u,alignOffset:f,arrowPadding:d,collisionBoundary:v,collisionPadding:h,sticky:b,hideWhenDetached:m,avoidCollisions:w}:{};return a.jsx(Ay,{scope:n,content:x,viewport:S,onViewportChange:N,itemRefCallback:U,selectedItem:E,onItemLeave:Y,itemTextRefCallback:G,focusSelectedItem:B,selectedItemText:R,position:r,isPositioned:V,searchRef:D,children:a.jsx(Sy,{as:Gj,allowPinchZoom:!0,children:a.jsx(dy,{asChild:!0,trapped:p.open,onMountAutoFocus:F=>{F.preventDefault()},onUnmountAutoFocus:W(o,F=>{var ie;(ie=p.trigger)==null||ie.focus({preventScroll:!0}),F.preventDefault()}),children:a.jsx(za,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:F=>F.preventDefault(),onDismiss:()=>p.onOpenChange(!1),children:a.jsx(pe,{role:"listbox",id:p.contentId,"data-state":p.open?"open":"closed",dir:p.dir,onContextMenu:F=>F.preventDefault(),...y,...Ce,onPlaced:()=>M(!0),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:W(y.onKeyDown,F=>{const ie=F.ctrlKey||F.altKey||F.metaKey;if(F.key==="Tab"&&F.preventDefault(),!ie&&F.key.length===1&&K(F.key),["ArrowUp","ArrowDown","Home","End"].includes(F.key)){let oe=L().filter(ee=>!ee.disabled).map(ee=>ee.ref.current);if(["ArrowUp","End"].includes(F.key)&&(oe=oe.slice().reverse()),["ArrowUp","ArrowDown"].includes(F.key)){const ee=F.target,ne=oe.indexOf(ee);oe=oe.slice(ne+1)}setTimeout(()=>$(oe)),F.preventDefault()}})})})})})})});Iy.displayName=Kj;var Qj="SelectItemAlignedPosition",_y=g.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=ir(Mr,n),i=ar(Mr,n),[l,c]=g.useState(null),[u,f]=g.useState(null),d=fe(t,j=>f(j)),v=rl(n),h=g.useRef(!1),b=g.useRef(!0),{viewport:m,selectedItem:w,selectedItemText:y,focusSelectedItem:p}=i,x=g.useCallback(()=>{if(s.trigger&&s.valueNode&&l&&u&&m&&w&&y){const j=s.trigger.getBoundingClientRect(),E=u.getBoundingClientRect(),A=s.valueNode.getBoundingClientRect(),R=y.getBoundingClientRect();if(s.dir!=="rtl"){const ee=R.left-E.left,ne=A.left-ee,ze=j.left-ne,vt=j.width+ze,lr=Math.max(vt,E.width),Sn=window.innerWidth-It,cr=Vp(ne,[It,Math.max(It,Sn-lr)]);l.style.minWidth=vt+"px",l.style.left=cr+"px"}else{const ee=E.right-R.right,ne=window.innerWidth-A.right-ee,ze=window.innerWidth-j.right-ne,vt=j.width+ze,lr=Math.max(vt,E.width),Sn=window.innerWidth-It,cr=Vp(ne,[It,Math.max(It,Sn-lr)]);l.style.minWidth=vt+"px",l.style.right=cr+"px"}const O=v(),L=window.innerHeight-It*2,V=m.scrollHeight,M=window.getComputedStyle(u),H=parseInt(M.borderTopWidth,10),$=parseInt(M.paddingTop,10),B=parseInt(M.borderBottomWidth,10),k=parseInt(M.paddingBottom,10),T=H+$+V+k+B,D=Math.min(w.offsetHeight*5,T),K=window.getComputedStyle(m),U=parseInt(K.paddingTop,10),Y=parseInt(K.paddingBottom,10),G=j.top+j.height/2-It,pe=L-G,Ce=w.offsetHeight/2,F=w.offsetTop+Ce,ie=H+$+F,Ne=T-ie;if(ie<=G){const ee=O.length>0&&w===O[O.length-1].ref.current;l.style.bottom="0px";const ne=u.clientHeight-m.offsetTop-m.offsetHeight,ze=Math.max(pe,Ce+(ee?Y:0)+ne+B),vt=ie+ze;l.style.height=vt+"px"}else{const ee=O.length>0&&w===O[0].ref.current;l.style.top="0px";const ze=Math.max(G,H+m.offsetTop+(ee?U:0)+Ce)+Ne;l.style.height=ze+"px",m.scrollTop=ie-G+m.offsetTop}l.style.margin=`${It}px 0`,l.style.minHeight=D+"px",l.style.maxHeight=L+"px",r==null||r(),requestAnimationFrame(()=>h.current=!0)}},[v,s.trigger,s.valueNode,l,u,m,w,y,s.dir,r]);Le(()=>x(),[x]);const[C,S]=g.useState();Le(()=>{u&&S(window.getComputedStyle(u).zIndex)},[u]);const N=g.useCallback(j=>{j&&b.current===!0&&(x(),p==null||p(),b.current=!1)},[x,p]);return a.jsx(Yj,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:h,onScrollButtonChange:N,children:a.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:a.jsx(Z.div,{...o,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});_y.displayName=Qj;var qj="SelectPopperPosition",uu=g.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=It,...s}=e,i=ol(n);return a.jsx(Dv,{...i,...s,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});uu.displayName=qj;var[Yj,Id]=Bo(Mr,{}),du="SelectViewport",My=g.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=ar(du,n),i=Id(du,n),l=fe(t,s.onViewportChange),c=g.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),a.jsx(nl.Slot,{scope:n,children:a.jsx(Z.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:W(o.onScroll,u=>{const f=u.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:v}=i;if(v!=null&&v.current&&d){const h=Math.abs(c.current-f.scrollTop);if(h>0){const b=window.innerHeight-It*2,m=parseFloat(d.style.minHeight),w=parseFloat(d.style.height),y=Math.max(m,w);if(y<b){const p=y+h,x=Math.min(b,p),C=p-x;d.style.height=x+"px",d.style.bottom==="0px"&&(f.scrollTop=C>0?C:0,d.style.justifyContent="flex-end")}}}c.current=f.scrollTop})})})]})});My.displayName=du;var Oy="SelectGroup",[Xj,Zj]=Bo(Oy),Jj=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=$o();return a.jsx(Xj,{scope:n,id:o,children:a.jsx(Z.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Jj.displayName=Oy;var Ly="SelectLabel",Dy=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Zj(Ly,n);return a.jsx(Z.div,{id:o.id,...r,ref:t})});Dy.displayName=Ly;var Ca="SelectItem",[eE,Fy]=Bo(Ca),$y=g.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,l=ir(Ca,n),c=ar(Ca,n),u=l.value===r,[f,d]=g.useState(s??""),[v,h]=g.useState(!1),b=fe(t,p=>{var x;return(x=c.itemRefCallback)==null?void 0:x.call(c,p,r,o)}),m=$o(),w=g.useRef("touch"),y=()=>{o||(l.onValueChange(r),l.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(eE,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:g.useCallback(p=>{d(x=>x||((p==null?void 0:p.textContent)??"").trim())},[]),children:a.jsx(nl.ItemSlot,{scope:n,value:r,disabled:o,textValue:f,children:a.jsx(Z.div,{role:"option","aria-labelledby":m,"data-highlighted":v?"":void 0,"aria-selected":u&&v,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:W(i.onFocus,()=>h(!0)),onBlur:W(i.onBlur,()=>h(!1)),onClick:W(i.onClick,()=>{w.current!=="mouse"&&y()}),onPointerUp:W(i.onPointerUp,()=>{w.current==="mouse"&&y()}),onPointerDown:W(i.onPointerDown,p=>{w.current=p.pointerType}),onPointerMove:W(i.onPointerMove,p=>{var x;w.current=p.pointerType,o?(x=c.onItemLeave)==null||x.call(c):w.current==="mouse"&&p.currentTarget.focus({preventScroll:!0})}),onPointerLeave:W(i.onPointerLeave,p=>{var x;p.currentTarget===document.activeElement&&((x=c.onItemLeave)==null||x.call(c))}),onKeyDown:W(i.onKeyDown,p=>{var C;((C=c.searchRef)==null?void 0:C.current)!==""&&p.key===" "||($j.includes(p.key)&&y(),p.key===" "&&p.preventDefault())})})})})});$y.displayName=Ca;var ss="SelectItemText",zy=g.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=ir(ss,n),l=ar(ss,n),c=Fy(ss,n),u=Vj(ss,n),[f,d]=g.useState(null),v=fe(t,y=>d(y),c.onItemTextChange,y=>{var p;return(p=l.itemTextRefCallback)==null?void 0:p.call(l,y,c.value,c.disabled)}),h=f==null?void 0:f.textContent,b=g.useMemo(()=>a.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:w}=u;return Le(()=>(m(b),()=>w(b)),[m,w,b]),a.jsxs(a.Fragment,{children:[a.jsx(Z.span,{id:c.textId,...s,ref:v}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Dr.createPortal(s.children,i.valueNode):null]})});zy.displayName=ss;var Uy="SelectItemIndicator",By=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Fy(Uy,n).isSelected?a.jsx(Z.span,{"aria-hidden":!0,...r,ref:t}):null});By.displayName=Uy;var fu="SelectScrollUpButton",Vy=g.forwardRef((e,t)=>{const n=ar(fu,e.__scopeSelect),r=Id(fu,e.__scopeSelect),[o,s]=g.useState(!1),i=fe(t,r.onScrollButtonChange);return Le(()=>{if(n.viewport&&n.isPositioned){let l=function(){const u=c.scrollTop>0;s(u)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?a.jsx(Wy,{...e,ref:i,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});Vy.displayName=fu;var pu="SelectScrollDownButton",Hy=g.forwardRef((e,t)=>{const n=ar(pu,e.__scopeSelect),r=Id(pu,e.__scopeSelect),[o,s]=g.useState(!1),i=fe(t,r.onScrollButtonChange);return Le(()=>{if(n.viewport&&n.isPositioned){let l=function(){const u=c.scrollHeight-c.clientHeight,f=Math.ceil(c.scrollTop)<u;s(f)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?a.jsx(Wy,{...e,ref:i,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});Hy.displayName=pu;var Wy=g.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=ar("SelectScrollButton",n),i=g.useRef(null),l=rl(n),c=g.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return g.useEffect(()=>()=>c(),[c]),Le(()=>{var f;const u=l().find(d=>d.ref.current===document.activeElement);(f=u==null?void 0:u.ref.current)==null||f.scrollIntoView({block:"nearest"})},[l]),a.jsx(Z.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:W(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:W(o.onPointerMove,()=>{var u;(u=s.onItemLeave)==null||u.call(s),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:W(o.onPointerLeave,()=>{c()})})}),tE="SelectSeparator",Ky=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return a.jsx(Z.div,{"aria-hidden":!0,...r,ref:t})});Ky.displayName=tE;var hu="SelectArrow",nE=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=ol(n),s=ir(hu,n),i=ar(hu,n);return s.open&&i.position==="popper"?a.jsx(Fv,{...o,...r,ref:t}):null});nE.displayName=hu;var rE="SelectBubbleInput",Gy=g.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=g.useRef(null),s=fe(r,o),i=py(t);return g.useEffect(()=>{const l=o.current;if(!l)return;const c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==t&&f){const d=new Event("change",{bubbles:!0});f.call(l,t),l.dispatchEvent(d)}},[i,t]),a.jsx(Z.select,{...n,style:{..._g,...n.style},ref:s,defaultValue:t})});Gy.displayName=rE;function Qy(e){return e===""||e===void 0}function qy(e){const t=Et(e),n=g.useRef(""),r=g.useRef(0),o=g.useCallback(i=>{const l=n.current+i;t(l),function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(l)},[t]),s=g.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function Yy(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=oE(e,Math.max(s,0));o.length===1&&(i=i.filter(u=>u!==n));const c=i.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function oE(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var sE=Cy,Xy=jy,iE=ky,aE=Py,lE=Ty,Zy=Ry,cE=My,Jy=Dy,e0=$y,uE=zy,dE=By,t0=Vy,n0=Hy,r0=Ky;const ji=sE,Ei=iE,is=g.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(Xy,{ref:r,className:se("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
248ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,a.jsx(aE,{asChild:!0,children:a.jsx(ma,{className:"h-4 w-4 opacity-50"})})]}));is.displayName=Xy.displayName;const o0=g.forwardRef(({className:e,...t},n)=>a.jsx(t0,{ref:n,className:se("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(xb,{className:"h-4 w-4"})}));o0.displayName=t0.displayName;const s0=g.forwardRef(({className:e,...t},n)=>a.jsx(n0,{ref:n,className:se("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(ma,{className:"h-4 w-4"})}));s0.displayName=n0.displayName;const as=g.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>a.jsx(lE,{children:a.jsxs(Zy,{ref:o,className:se("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[a.jsx(o0,{}),a.jsx(cE,{className:se("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),a.jsx(s0,{})]})}));as.displayName=Zy.displayName;const fE=g.forwardRef(({className:e,...t},n)=>a.jsx(Jy,{ref:n,className:se("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));fE.displayName=Jy.displayName;const ae=g.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(e0,{ref:r,className:se("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(dE,{children:a.jsx(nv,{className:"h-4 w-4"})})}),a.jsx(uE,{children:t})]}));ae.displayName=e0.displayName;const pE=g.forwardRef(({className:e,...t},n)=>a.jsx(r0,{ref:n,className:se("-mx-1 my-1 h-px bg-muted",e),...t}));pE.displayName=r0.displayName;var sl="Checkbox",[hE,JE]=bn(sl),[mE,_d]=hE(sl);function gE(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:s,form:i,name:l,onCheckedChange:c,required:u,value:f="on",internal_do_not_use_render:d}=e,[v,h]=Ar({prop:n,defaultProp:o??!1,onChange:c,caller:sl}),[b,m]=g.useState(null),[w,y]=g.useState(null),p=g.useRef(!1),x=b?!!i||!!b.closest("form"):!0,C={checked:v,disabled:s,setChecked:h,control:b,setControl:m,name:l,form:i,value:f,hasConsumerStoppedPropagationRef:p,required:u,defaultChecked:Zn(o)?!1:o,isFormControl:x,bubbleInput:w,setBubbleInput:y};return a.jsx(mE,{scope:t,...C,children:vE(d)?d(C):r})}var i0="CheckboxTrigger",a0=g.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},o)=>{const{control:s,value:i,disabled:l,checked:c,required:u,setControl:f,setChecked:d,hasConsumerStoppedPropagationRef:v,isFormControl:h,bubbleInput:b}=_d(i0,e),m=fe(o,f),w=g.useRef(c);return g.useEffect(()=>{const y=s==null?void 0:s.form;if(y){const p=()=>d(w.current);return y.addEventListener("reset",p),()=>y.removeEventListener("reset",p)}},[s,d]),a.jsx(Z.button,{type:"button",role:"checkbox","aria-checked":Zn(c)?"mixed":c,"aria-required":u,"data-state":f0(c),"data-disabled":l?"":void 0,disabled:l,value:i,...r,ref:m,onKeyDown:W(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:W(n,y=>{d(p=>Zn(p)?!0:!p),b&&h&&(v.current=y.isPropagationStopped(),v.current||y.stopPropagation())})})});a0.displayName=i0;var Md=g.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:s,required:i,disabled:l,value:c,onCheckedChange:u,form:f,...d}=e;return a.jsx(gE,{__scopeCheckbox:n,checked:o,defaultChecked:s,disabled:l,required:i,onCheckedChange:u,name:r,form:f,value:c,internal_do_not_use_render:({isFormControl:v})=>a.jsxs(a.Fragment,{children:[a.jsx(a0,{...d,ref:t,__scopeCheckbox:n}),v&&a.jsx(d0,{__scopeCheckbox:n})]})})});Md.displayName=sl;var l0="CheckboxIndicator",c0=g.forwardRef((e,t)=>
vendor: 1,995 bytes, line 248
248{const{__scopeCheckbox:n,forceMount:r,...o}=e,s=_d(l0,n);return a.jsx(Do,{present:r||Zn(s.checked)||s.checked===!0,children:a.jsx(Z.span,{"data-state":f0(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});c0.displayName=l0;var u0="CheckboxBubbleInput",d0=g.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:i,required:l,disabled:c,name:u,value:f,form:d,bubbleInput:v,setBubbleInput:h}=_d(u0,e),b=fe(n,h),m=py(s),w=Ev(r);g.useEffect(()=>{const p=v;if(!p)return;const x=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(x,"checked").set,N=!o.current;if(m!==s&&S){const j=new Event("click",{bubbles:N});p.indeterminate=Zn(s),S.call(p,Zn(s)?!1:s),p.dispatchEvent(j)}},[v,m,s,o]);const y=g.useRef(Zn(s)?!1:s);return a.jsx(Z.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??y.current,required:l,disabled:c,name:u,value:f,form:d,...t,tabIndex:-1,ref:b,style:{...t.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});d0.displayName=u0;function vE(e){return typeof e=="function"}function Zn(e){return e==="indeterminate"}function f0(e){return Zn(e)?"indeterminate":e?"checked":"unchecked"}const Wt=g.forwardRef(({className:e,...t},n)=>a.jsx(Md,{ref:n,className:se("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:a.jsx(c0,{className:se("flex items-center justify-center text-current"),children:a.jsx(nv,{className:"h-4 w-4"})})}));Wt.displayName=Md.displayName;const mu=g.forwardRef(({className:e,...t},n)=>a.jsx("textarea",{className:se("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
248ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));mu.displayName="Textarea";const yE=({onComplete:e,initialData:t})=>{var f;const[n,r]=g.useState(1);Eg();const[o,s]=g.useState(t||{hasChildren:!1,petOwner:!1,hasVehicle:!1,fromNonUSCountry:!1,visaProcessStarted:!1,interests:[],housingPreferences:[],schoolPreferences:[]}),i=(d,v)=>{s(h=>({...h,[d]:v}))},l=()=>{e(o)},c=()=>r(d=>Math.min(d+1,5)),u=()=>r(d=>Math.max(d-1,1));return a.jsxs(Ie,{className:"w-full max-w-3xl mx-auto shadow-soft",children:[a.jsxs(We,{className:"bg-primary text-primary-foreground rounded-t-lg",children:[a.jsx(Ke,{className:"text-2xl",children:"Relocation Needs Assessment"}),a.jsxs(vr,{className:"text-primary-foreground/90",children:["Step ",n," of 5 - Tell us about your relocation needs"]})]}),a.jsxs(_e,{className:"pt-6 space-y-6",children:[n===1&&a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"city",children:"Destination City"}),a.jsx(Rn,{id:"city",placeholder:"e.g., Austin",value:o.city||"",onChange:d=>i("city",d.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"state",children:"State"}),a.jsx(Rn,{id:"state",placeholder:"e.g., Texas",value:o.state||"",onChange:d=>i("state",d.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"familySize",children:"Family Size"}),a.jsx(Rn,{id:"familySize",type:"number",min:"1",placeholder:"Number of people relocating",value:o.familySize||"",onChange:d=>i("familySize",parseInt(d.target.value))})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"relocationType",children:"Relocation Type"}),a.jsxs(ji,{value:o.relocationType,onValueChange:d=>i("relocationType",d),children:[a.jsx(is,{children:a.jsx(Ei,{placeholder:"Select relocation type"})}),a.jsxs(as,{children:[a.jsx(ae,{value:"permanent",children:"Permanent Transfer"}),a.jsx(ae,{value:"short-term",children:"Short Term Assignment"}),a.jsx(ae,{value:"long-term",children:"Long-Term Assignment"})]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"moveInDate",children:"Expected Move-In Date"}),a.jsx(Rn,{id:"moveInDate",type:"date",value:o.moveInDate||"",onChange:d=>i("moveInDate",d.target.value)})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-4",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:"fromNonUSCountry",checked:o.fromNonUSCountry,onCheckedChange:d=>i("fromNonUSCountry",d)}),a.jsx(ue,{htmlFor:"fromNonUSCountry",className:"text-sm font-normal cursor-pointer",children:"Are you coming from a non-US country?"})]}),o.fromNonUSCountry&&a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:"visaProcessStarted",checked:o.visaProcessStarted,onCheckedChange:d=>i("visaProcessStarted",d)}),a.jsx(ue,{htmlFor:"visaProcessStarted",className:"text-sm font-normal cursor-pointer",children:"Have you started the visa process?"})]})]}),o.fromNonUSCountry&&a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"originCountry",children:"Country of Origin"}),a.jsxs(ji,{value:o.originCountry,onValueChange:d=>i("originCountry",d),children:[a.jsx(is,{children:a.jsx(Ei,{placeholder:"Select your country"})}),a.jsxs(as,{children:[a.jsx(ae,{value:"canada",children:"Canada"}),a.jsx(ae,{value:"mexico",children:"Mexico"}),a.jsx(ae,{value:"uk",children:"United Kingdom"}),a.jsx(ae,{value:"germany",children:"Germany"}),a.jsx(ae,{value:"france",children:"France"}),a.jsx(ae,{value:"spain",children:"Spain"}),a.jsx(ae,{value:"italy",children:"Italy"}),a.jsx(ae,{value:"netherlands",children:"Netherlands"}),a.jsx(ae,{value:"belgium",children:"Belgium"}),a.jsx(ae,{value:"switzerland",children:"Switzerland"}),a.jsx(ae,{value:"australia",children:"Australia"}),a.jsx(ae,{value:"japan",children:"Japan"}),a.jsx(ae,{value:"south-korea",children:"South Korea"}),a.jsx(ae,{value:"china",children:"China"}),a.jsx(ae,{value:"india",children:"India"}),a.jsx(ae,{value:"brazil",children:"Brazil"}),a.jsx(ae,{value:"argentina",children:"Argentina"}),a.jsx(ae,{value:"south-africa",children:"South Africa"}),a.jsx(ae,{value:"other",children:"Other"})]})]})]})]}),n===2&&a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{children:"Housing Preferences (select all that apply)"}),a.jsx("div",{className:"grid grid-cols-2 gap-3",children:["apartment","house","condo","temporary"].map(d=>{var v;return a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:d,checked:(v=o.housingPreferences)==null?void 0:v.includes(d),onCheckedChange:h=>{const b=o.housingPreferences||[];i("housingPreferences",h?[...b,d]:b.filter(m=>m!==d))}}),a.jsx(ue,{htmlFor:d,className:"text-sm font-normal cursor-pointer capitalize",children:d==="temporary"?"Temporary/Corporate Housing":d})]},d)})})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"bedrooms",children:"Number of Bedrooms"}),a.jsx(Rn,{id:"bedrooms",type:"number",min:"0",placeholder:"e.g., 3",value:o.bedrooms||"",onChange:d=>i("bedrooms",parseInt(d.target.value))})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"bathrooms",children:"Number of Bathrooms"}),a.jsx(Rn,{id:"bathrooms",type:"number",min:"0",step:"0.5",placeholder:"e.g., 2.5",value:o.bathrooms||"",onChange:d=>i("bathrooms",parseFloat(d.target.value))})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"budget",children:"Monthly Budget"}),a.jsxs(ji,{value:o.budget,onValueChange:d=>i("budget",d),children:[a.jsx(is,{children:a.jsx(Ei,{placeholder:"Select your budget range"})}),a.jsxs(as,{children:[a.jsx(ae,{value:"under-2000",children:"Under $2,000"}),a.jsx(ae,{value:"2000-3500",children:"$2,000 - $3,500"}),a.jsx(ae,{value:"3500-5000",children:"$3,500 - $5,000"}),a.jsx(ae,{value:"5000-plus",children:"$5,000+"})]})]})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:"hasVehicle",checked:o.hasVehicle,onCheckedChange:d=>i("hasVehicle",d)}),a.jsx(ue,{htmlFor:"hasVehicle",className:"text-sm font-normal cursor-pointer",children:"I will have a vehicle"})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:"petOwner",checked:o.petOwner,onCheckedChange:d=>i("petOwner",d)}),a.jsx(ue,{htmlFor:"petOwner",className:"text-sm font-normal cursor-pointer",children:"I have pets"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"planToBuyOrRent",children:"Do you plan to buy or rent in the new location?"}),a.jsxs(ji,{value:o.planToBuyOrRent,onValueChange:d=>i("planToBuyOrRent",d),children:[a.jsx(is,{children:a.jsx(Ei,{placeholder:"Select an option"})}),a.jsxs(as,{children:[a.jsx(ae,{value:"buy",children:"Buy"}),a.jsx(ae,{value:"rent",children:"Rent"})]})]})]})]}),n===3&&a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:"hasChildren",checked:o.hasChildren,onCheckedChange:d=>i("hasChildren",d)}),a.jsx(ue,{htmlFor:"hasChildren",className:"text-sm font-normal cursor-pointer",children:"I have school-age children"})]}),o.hasChildren&&a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"childrenAges",children:"Children's Ages (comma-separated)"}),a.jsx(Rn,{id:"childrenAges",placeholder:"e.g., 3, 8, 12",value:Array.isArray(o.childrenAges)?o.childrenAges.join(", "):o.childrenAges||"",onChange:d=>{const v=d.target.value;i("childrenAges",v)},onBlur:d=>{const v=d.target.value;if(v===""||v.trim()===""){i("childrenAges",[]);return}const h=v.split(",").map(b=>b.trim()).filter(b=>b!==""&&/^\d+$/.test(b)).map(b=>parseInt(b,10)).filter(b=>b>=0&&b<=18);i("childrenAges",h.length>0?h:[])}})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{children:"School Preferences (select all that apply)"}),a.jsx("div",{className:"grid grid-cols-2 gap-3",children:["public","private","charter","homeschool","daycare"].map(d=>{var v;return a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:`school-${d}`,checked:(v=o.schoolPreferences)==null?void 0:v.includes(d),onCheckedChange:h=>{const b=o.schoolPreferences||[];i("schoolPreferences",h?[...b,d]:b.filter(m=>m!==d))}}),a.jsx(ue,{htmlFor:`school-${d}`,className:"text-sm font-normal cursor-pointer capitalize",children:d==="public"?"Public School":d==="private"?"Private School":d==="charter"?"Charter School":d==="homeschool"?"Homeschool":"Daycare"})]},d)})})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"specialNeeds",children:"Special Needs or Accommodations"}),a.jsx(mu,{id:"specialNeeds",placeholder:"Any special requirements, accessibility needs, or medical considerations...",value:o.specialNeeds||"",onChange:d=>i("specialNeeds",d.target.value),rows:3})]})]}),n===4&&a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{children:"Interests & Hobbies"}),a.jsx("div",{className:"grid grid-cols-2 gap-3",children:["Sports","Arts & Culture","Outdoor Activities","Dining","Nightlife","Family Activities"].map(d=>{var v;return a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Wt,{id:d,checked:(v=o.interests)==null?void 0:v.includes(d),onCheckedChange:h=>{const b=o.interests||[];
248i("interests",h?[...b,d]:b.filter(m=>m!==d))}}),a.jsx(ue,{htmlFor:d,className:"text-sm font-normal cursor-pointer",children:d})]},d)})})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{htmlFor:"additionalNotes",children:"Additional Notes"}),a.jsx(mu,{id:"additionalNotes",placeholder:"Any other information that would help us personalize your relocation guide...",value:o.additionalNotes||"",onChange:d=>i("additionalNotes",d.target.value),rows:4})]})]}),n===5&&a.jsx("div",{className:"space-y-4",children:a.jsxs("div",{className:"space-y-2",children:[a.jsx(ue,{children:"I would like personalized assistance with:"}),a.jsx("div",{className:"grid grid-cols-1 gap-4",children:[{id:"Departure Assistance",label:"Departure Assistance",description:"Home sale assistance, lease break, move out inspections, cleaning and repair coordination, deposit collection and property return.",condition:!0},{id:"Visa & Immigration Support",label:"Visa & Immigration Support",description:"End-to-end visa management for work permits and visas, residency and naturalization services.",condition:o.fromNonUSCountry===!0&&!o.visaProcessStarted},{id:"Area Orientation Tours",label:"Area Orientation Tours",description:"Personalized and accompanied tour of the destination location with a Promotion Consultant, based on your preferences e.g. work area, preferred neighborhoods, housing, places of interest and more.",condition:!0},{id:"Cultural & Language Training",label:"Cultural & Language Training",description:"Online self-paced and virtual training options with a Promotion Consultant for relocating employees and family members.",condition:o.fromNonUSCountry===!0},{id:"Temporary Housing Arrangements",label:"Temporary Housing Arrangements",description:"We book furnished accommodations, ideal for short term assignments and relocating employees awaiting permanent housing. Accommodations include: utilities, internet, cable, parking and other amenities based on location and budget.",condition:(f=o.housingPreferences)==null?void 0:f.includes("temporary")},{id:"Rental Home Finding Services",label:"Rental Home Finding Services",description:"Personalized assistance with a Promotion Consultant for home searches, appointment setting, property viewing accompaniment, move-in inspections, lease negotiations and execution.",condition:o.planToBuyOrRent==="rent"},{id:"Home Buying Assistance",label:"Home Buying Assistance",description:"Personalized home purchase assistance including mortgage approvals, Promotion vetted agents for home searches, appointment setting, property viewing accompaniment, inspections, negotiations and buy contract executions.",condition:o.planToBuyOrRent==="buy"},{id:"School Assistance",label:"School Assistance",description:"Virtual and accompanied assistance with finding the right schools for families. A Promotion Consultant will conduct research, manage appointment setting, registration and transcript process, ensuring a hassle-free process.",condition:o.hasChildren===!0},{id:"Settling-In Services",label:"Settling-In Services",description:"Tailored and accompanied assistance activities such as: utility connections, local banking, places of worship, shopping, memberships and special interest.",condition:!0},{id:"International Pet Relocation Services",label:"International Pet Relocation Services",description:"Pet travel coordination, including immunizations, kenneling, insurance and clearance support.",condition:o.fromNonUSCountry===!0},{id:"Vehicle Transportation",label:"Vehicle Transportation",description:"Vehicle shipment coordination including, load, transport, insurance and delivery.",condition:o.hasVehicle===!0},{id:"Domestic Household Goods Moving",label:"Domestic Household Goods Moving",description:"Coordination of household's goods, including pack, load, insurance and delivery.",condition:o.fromNonUSCountry===!1},{id:"International Household Goods Moving",label:"International Household Goods Moving",description:"Coordination of household's goods, including pack, load, insurance, customs clearance and delivery.",condition:o.fromNonUSCountry===!0}].filter(d=>d.condition).map(d=>{var v;return a.jsxs("div",{className:"flex items-start space-x-2 p-3 rounded-lg border",children:[a.jsx(Wt,{id:d.id,checked:(v=o.personalizedServices)==null?void 0:v.includes(d.id),onCheckedChange:h=>{const b=o.personalizedServices||[];i("personalizedServices",h?[...b,d.id]:b.filter(m=>m!==d.id))},className:"mt-1"}),a.jsxs("div",{className:"flex-1",children:[a.jsx(ue,{htmlFor:d.id,className:"text-sm font-medium cursor-pointer",children:d.label}),a.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:d.description})]})]},d.id)})})]})}),a.jsxs("div",{className:"flex justify-between pt-4",children:[n>1&&a.jsxs(nn,{variant:"outline",onClick:u,children:[a.jsx(yb,{className:"mr-2"}),"Previous"]}),n<5?a.jsxs(nn,{onClick:c,className:"ml-auto",children:["Next",a.jsx(Yc,{className:"ml-2"})]}):a.jsx(nn,{onClick:l,className:"ml-auto bg-secondary hover:bg-secondary/90",children:"Generate My Guide"})]})]})]})};var Jl="rovingFocusGroup.onEntryFocus",xE={bubbles:!1,cancelable:!0},qs="RovingFocusGroup",[gu,p0,wE]=fd(qs),[bE,h0]=bn(qs,[wE]),[SE,CE]=bE(qs),m0=g.forwardRef((e,t)=>
vendor: 1,744 bytes, line 248
248a.jsx(gu.Provider,{scope:e.__scopeRovingFocusGroup,children:a.jsx(gu.Slot,{scope:e.__scopeRovingFocusGroup,children:a.jsx(NE,{...e,ref:t})})}));m0.displayName=qs;var NE=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...d}=e,v=g.useRef(null),h=fe(t,v),b=Ad(s),[m,w]=Ar({prop:i,defaultProp:l??null,onChange:c,caller:qs}),[y,p]=g.useState(!1),x=Et(u),C=p0(n),S=g.useRef(!1),[N,j]=g.useState(0);return g.useEffect(()=>{const E=v.current;if(E)return E.addEventListener(Jl,x),()=>E.removeEventListener(Jl,x)},[x]),a.jsx(SE,{scope:n,orientation:r,dir:b,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(E=>w(E),[w]),onItemShiftTab:g.useCallback(()=>p(!0),[]),onFocusableItemAdd:g.useCallback(()=>j(E=>E+1),[]),onFocusableItemRemove:g.useCallback(()=>j(E=>E-1),[]),children:a.jsx(Z.div,{tabIndex:y||N===0?-1:0,"data-orientation":r,...d,ref:h,style:{outline:"none",...e.style},onMouseDown:W(e.onMouseDown,()=>{S.current=!0}),onFocus:W(e.onFocus,E=>{const A=!S.current;if(E.target===E.currentTarget&&A&&!y){const R=new CustomEvent(Jl,xE);if(E.currentTarget.dispatchEvent(R),!R.defaultPrevented){const O=C().filter($=>$.focusable),L=O.find($=>$.active),V=O.find($=>$.id===m),H=[L,V,...O].filter(Boolean).map($=>$.ref.current);y0(H,f)}}S.current=!1}),onBlur:W(e.onBlur,()=>p(!1))})})}),g0="RovingFocusGroupItem",v0=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:s,children:i,...l}=e,c=$o(),u=s||c,f=CE(g0,n),d=f.currentTabStopId===u,v=p0(n),{onFocusableItemAdd:h,onFocusableItemRemove:b,currentTabStopId:m}=f;return g.useEffect(()=>{if(r)return h(),()=>b()}
vendor: 4,508 bytes, line 248
248,[r,h,b]),a.jsx(gu.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:a.jsx(Z.span,{tabIndex:d?0:-1,"data-orientation":f.orientation,...l,ref:t,onMouseDown:W(e.onMouseDown,w=>{r?f.onItemFocus(u):w.preventDefault()}),onFocus:W(e.onFocus,()=>f.onItemFocus(u)),onKeyDown:W(e.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){f.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const y=kE(w,f.orientation,f.dir);if(y!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let x=v().filter(C=>C.focusable).map(C=>C.ref.current);if(y==="last")x.reverse();else if(y==="prev"||y==="next"){y==="prev"&&x.reverse();const C=x.indexOf(w.currentTarget);x=f.loop?PE(x,C+1):x.slice(C+1)}setTimeout(()=>y0(x))}}),children:typeof i=="function"?i({isCurrentTabStop:d,hasTabStop:m!=null}):i})})});v0.displayName=g0;var jE={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function EE(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function kE(e,t,n){const r=EE(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return jE[r]}function y0(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function PE(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var TE=m0,RE=v0,il="Tabs",[AE,ek]=bn(il,[h0]),x0=h0(),[IE,Od]=AE(il),w0=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:l,activationMode:c="automatic",...u}=e,f=Ad(l),[d,v]=Ar({prop:r,onChange:o,defaultProp:s??"",caller:il});return a.jsx(IE,{scope:n,baseId:$o(),value:d,onValueChange:v,orientation:i,dir:f,activationMode:c,children:a.jsx(Z.div,{dir:f,"data-orientation":i,...u,ref:t})})});w0.displayName=il;var b0="TabsList",S0=g.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,s=Od(b0,n),i=x0(n);return a.jsx(TE,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:r,children:a.jsx(Z.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});S0.displayName=b0;var C0="TabsTrigger",N0=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...s}=e,i=Od(C0,n),l=x0(n),c=k0(i.baseId,r),u=P0(i.baseId,r),f=r===i.value;return a.jsx(RE,{asChild:!0,...l,focusable:!o,active:f,children:a.jsx(Z.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":u,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c,...s,ref:t,onMouseDown:W(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?i.onValueChange(r):d.preventDefault()}),onKeyDown:W(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&i.onValueChange(r)}),onFocus:W(e.onFocus,()=>{const d=i.activationMode!=="manual";!f&&!o&&d&&i.onValueChange(r)})})})});N0.displayName=C0;var j0="TabsContent",E0=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:s,...i}=e,l=Od(j0,n),c=k0(l.baseId,r),u=P0(l.baseId,r),f=r===l.value,d=g.useRef(f);return g.useEffect(()=>{const v=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(v)},[]),a.jsx(Do,{present:o||f,children:({present:v})=>a.jsx(Z.div,{"data-state":f?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!v,id:u,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:v&&s})})});E0.displayName=j0;function k0(e,t){return`${e}-trigger-${t}`}function P0(e,t){return`${e}-content-${t}`}var _E=w0,T0=S0,R0=N0,A0=E0;const ME=_E,I0=g.forwardRef(({className:e,...t},n)=>a.jsx(T0,{ref:n,className:se("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));I0.displayName=T0.displayName;const Kr=g.forwardRef(({className:e,...t},n)=>a.jsx(R0,{ref:n,className:se("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...t}));Kr.displayName=R0.displayName;const Gr=g.forwardRef(({className:e,...t},n)=>a.jsx(A0,{ref:n,className:se("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));
248Gr.displayName=A0.displayName;const OE=Va("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function lt({className:e,variant:t,...n}){return a.jsx("div",{className:se(OE({variant:t}),e),...n})}var al="Collapsible",[LE,tk]=bn(al),[DE,Ld]=LE(al),_0=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:s,onOpenChange:i,...l}=e,[c,u]=Ar({prop:r,defaultProp:o??!1,onChange:i,caller:al});return a.jsx(DE,{scope:n,disabled:s,contentId:$o(),open:c,onOpenToggle:g.useCallback(()=>u(f=>!f),[u]),children:a.jsx(Z.div,{"data-state":Fd(c),"data-disabled":s?"":void 0,...l,ref:t})})});_0.displayName=al;var M0="CollapsibleTrigger",O0=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Ld(M0,n);return a.jsx(Z.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Fd(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:W(e.onClick,o.onOpenToggle)})});O0.displayName=M0;var Dd="CollapsibleContent",L0=g.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ld(Dd,e.__scopeCollapsible);return a.jsx(Do,{present:n||o.open,children:({present:s})=>a.jsx(FE,{...r,ref:t,present:s})})});L0.displayName=Dd;var FE=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...s}=e,i=Ld(Dd,n),[l,c]=g.useState(r),u=g.useRef(null),f=fe(t,u),d=g.useRef(0),v=d.current,h=g.useRef(0),b=h.current,m=i.open||l,w=g.useRef(m),y=g.useRef(void 0);return g.useEffect(()=>{const p=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(p)},[]),Le(()=>{const p=u.current;if(p){y.current=y.current||{transitionDuration:p.style.transitionDuration,animationName:p.style.animationName},p.style.transitionDuration="0s",p.style.animationName="none";const x=p.getBoundingClientRect();d.current=x.height,h.current=x.width,w.current||(p.style.transitionDuration=y.current.transitionDuration,p.style.animationName=y.current.animationName),c(r)}},[i.open,r]),a.jsx(Z.div,{"data-state":Fd(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!m,...s,ref:f,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:m&&o})});function Fd(e){return e?"open":"closed"}var $E=_0;const eh=$E,th=O0,nh=L0,D0="/assets/school-BxpGXpV_.jpg",F0="/assets/promo-logo-B1utmwb1.png",zE=({housingOptions:e,city:t})=>{const n={"New York":[{name:"Financial District",type:"Finance"},{name:"Midtown Manhattan",type:"Corporate"},{name:"Brooklyn Tech Triangle",type:"Tech"}],"Los Angeles":[{name:"Downtown LA",type:"Corporate"},{name:"Silicon Beach",type:"Tech"},{name:"Century City",type:"Entertainment"}],Chicago:[{name:"The Loop",type:"Finance"},{name:"River North",type:"Tech"},{name:"O'Hare Area",type:"Corporate"}],Houston:[{name:"Downtown Houston",type:"Corporate"},{name:"Energy Corridor",type:"Energy"},{name:"Medical Center",type:"Healthcare"}],Phoenix:[{name:"Downtown Phoenix",type:"Corporate"},{name:"Scottsdale Airpark",type:"Tech"},{name:"Tempe Town Lake",type:"Tech"}],Default:[{name:"Downtown",type:"Corporate"},{name:"Business District",type:"Mixed"},{name:"Industrial Park",type:"Manufacturing"}]},r=n[t]||n.Default,o=(i,l)=>{const c=20+l*5,u=Math.random()*10;return{driving:Math.round(c+u),transit:Math.round((c+u)*1.5),biking:Math.round((c+u)*1.8),walking:Math.round((c+u)*3.2)}},s=(i,l)=>l==="driving"?i<=20?"text-green-600":i<=35?"text-blue-600":i<=50?"text-yellow-600":"text-orange-600":l==="transit"?i<=30?"text-green-600":i<=45?"text-blue-600":i<=60?"text-yellow-600":"text-orange-600":"text-muted-foreground";return a.jsxs("div",{className:"space-y-4",children:[a.jsxs(Ie,{className:"bg-gradient-to-br from-primary/5 to-secondary/5 border-primary/20",children:[a.jsxs(We,{children:[a.jsxs(Ke,{className:"flex items-center gap-2",children:[a.jsx(Ui,{className:"h-5 w-5 text-primary"}),"Commute Time Analysis"]}),a.jsx(vr,{children:"Estimated travel times from each neighborhood to major employment centers"})]}),a.jsxs(_e,{children:[a.jsx("div",{className:"space-y-6",children:r.map((i,l)=>a.jsxs("div",{className:"border-b last:border-b-0 pb-6 last:pb-0",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[a.jsx("h4",{className:"font-semibold text-lg",children:i.name}),a.jsx(lt,{variant:"outline",className:"text-xs",children:i.type})]}),a.jsx("div",{className:"grid gap-3",children:e.map((c,u)=>{const f=o(c.location,l);return a.jsx(Ie,{className:"hover:shadow-md transition-shadow",children:a.jsxs(_e,{className:"pt-4",children:[a.jsxs("div",{className:"flex items-start justify-between mb-3",children:[a.jsxs("div",{children:[a.jsx("h5",{className:"font-medium text-sm",children:c.location}),a.jsx("p",{className:"text-xs text-muted-foreground",children:c.name})]}),a.jsxs("div",{className:"text-xs px-2 py-1 bg-muted rounded-full",children:["#",u+1]})]}),a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:[a.jsxs("div",{className:"flex items-center gap-2 p-2 bg-muted/50 rounded-lg",children:[a.jsx(dp,{className:"h-4 w-4 text-blue-600"}),a.jsxs("div",{children:[a.jsx("div",{className:"text-xs text-muted-foreground",children:"Driving"}),a.jsxs("div",{className:`text-sm font-semibold ${s(f.driving,"driving")}`,children:[f.driving," min"]})]})]}),a.jsxs("div",{className:"flex items-center gap-2 p-2 bg-muted/50 rounded-lg",children:[a.jsx(up,{className:"h-4 w-4 text-green-600"}),a.jsxs("div",{children:[a.jsx("div",{className:"text-xs text-muted-foreground",children:"Transit"}),a.jsxs("div",{className:`text-sm font-semibold ${s(f.transit,"transit")}`,children:[f.transit," min"]})]})]}),a.jsxs("div",{className:"flex items-center gap-2 p-2 bg-muted/50 rounded-lg",children:[a.jsx(cp,{className:"h-4 w-4 text-orange-600"}),a.jsxs("div",{children:[a.jsx("div",{className:"text-xs text-muted-foreground",children:"Biking"}),a.jsxs("div",{className:"text-sm font-semibold text-muted-foreground",children:[f.biking," min"]})]})]}),a.jsxs("div",{className:"flex items-center gap-2 p-2 bg-muted/50 rounded-lg",children:[a.jsx(fp,{className:"h-4 w-4 text-purple-600"}),a.jsxs("div",{children:[a.jsx("div",{className:"text-xs text-muted-foreground",children:"Walking"}),a.jsxs("div",{className:"text-sm font-semibold text-muted-foreground",children:[f.walking," min"]})]})]})]}),f.driving<=25&&a.jsxs("div",{className:"mt-2 flex items-center gap-1 text-xs text-green-600",children:[a.jsx(rv,{className:"h-3 w-3"}
248),a.jsx("span",{children:"Quick commute - under 25 minutes by car"})]})]})},u)})})]},l))}),a.jsxs("div",{className:"mt-6 p-4 bg-muted/50 rounded-lg",children:[a.jsx("h5",{className:"font-semibold text-sm mb-2",children:"About These Estimates"}),a.jsxs("ul",{className:"text-xs text-muted-foreground space-y-1",children:[a.jsx("li",{children:"• Times are estimates based on average traffic conditions"}),a.jsx("li",{children:"• Actual commute times may vary based on time of day and route"}),a.jsx("li",{children:"• Transit times include waiting and transfer time"}),a.jsx("li",{children:"• Consider testing your actual commute during peak hours"})]})]})]})]}),a.jsxs(Ie,{children:[a.jsx(We,{children:a.jsx(Ke,{className:"text-lg",children:"Commute Planning Tips"})}),a.jsx(_e,{children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-4 text-sm",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsxs("h6",{className:"font-semibold flex items-center gap-2",children:[a.jsx(dp,{className:"h-4 w-4 text-primary"}),"Driving"]}),a.jsxs("ul",{className:"text-muted-foreground space-y-1 ml-6",children:[a.jsx("li",{children:"• Consider parking costs ($100-300/month)"}),a.jsx("li",{children:"• Peak hour traffic can add 20-40% to commute"}),a.jsx("li",{children:"• Carpool lanes can save significant time"})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs("h6",{className:"font-semibold flex items-center gap-2",children:[a.jsx(up,{className:"h-4 w-4 text-primary"}),"Public Transit"]}),a.jsxs("ul",{className:"text-muted-foreground space-y-1 ml-6",children:[a.jsx("li",{children:"• Monthly passes typically $70-120"}),a.jsx("li",{children:"• More predictable than driving in traffic"}),a.jsx("li",{children:"• Use commute time for reading or work"})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs("h6",{className:"font-semibold flex items-center gap-2",children:[a.jsx(cp,{className:"h-4 w-4 text-primary"}),"Biking"]}),a.jsxs("ul",{className:"text-muted-foreground space-y-1 ml-6",children:[a.jsx("li",{children:"• Free, healthy, and eco-friendly"}),a.jsx("li",{children:"• Check for bike lanes and safety"}),a.jsx("li",{children:"• Weather-dependent option"})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs("h6",{className:"font-semibold flex items-center gap-2",children:[a.jsx(fp,{className:"h-4 w-4 text-primary"}),"Walking"]}),a.jsxs("ul",{className:"text-muted-foreground space-y-1 ml-6",children:[a.jsx("li",{children:"• Best for short distances (under 2 miles)"}),a.jsx("li",{children:"• Great exercise and zero cost"}),a.jsx("li",{children:"• Consider weather conditions"})]})]})]})})]})]})},UE=({data:e,onEdit:t})=>{var b,m,w,y,p,x,C;const[n,r]=g.useState(!1),o=e.city?e.city.charAt(0).toUpperCase()+e.city.slice(1):"",s=e.state?e.state.charAt(0).toUpperCase()+e.state.slice(1):"",i=`${o}, ${s}`,l=(e.city||"").toLowerCase().replace(/\s+/g,"-"),c=(e.state||"").toLowerCase().replace(/\s+/g,"-"),f=(S=>{const N={"New York":{neighborhoods:["Upper West Side","Brooklyn Heights","Queens Village","Westchester"],schoolDistricts:["District 2","District 3","District 15"],zipCodes:["10023","11201","11427"]},"Los Angeles":{neighborhoods:["Santa Monica","Pasadena","Glendale","West Hollywood"],schoolDistricts:["LAUSD District 4","Pasadena USD"],zipCodes:["90401","91101","91204"]},Chicago:{neighborhoods:["Lincoln Park","Lakeview","Evanston","Oak Park"],schoolDistricts:["District 299 - North Side","District 65"],zipCodes:["60614","60201","60302"]},Houston:{neighborhoods:["The Heights","Montrose","Sugar Land","Katy"],schoolDistricts:["HISD Central","Spring Branch ISD","Katy ISD"],zipCodes:["77008","77006","77479"]},Phoenix:{neighborhoods:["Scottsdale","Tempe","Chandler","Gilbert"],schoolDistricts:["Scottsdale USD","Tempe USD","Chandler USD"],zipCodes:["85251","85281","85224"]},Default:{neighborhoods:["Downtown","Midtown","Suburban Area","Nearby Township"],schoolDistricts:["Central District","North District"],zipCodes:["00000"]}};return N[S]||N.Default})(e.city),d=[{type:"Short-term",name:"Extended Stay America - "+f.neighborhoods[0],priceRange:"$1,200-$1,800/month",location:f.neighborhoods[0],amenities:["Fully furnished","Kitchen","Weekly housekeeping","Free WiFi","Pet-friendly"],duration:"1-6 months",walkabilityScore:85,costOfLivingIndex:112,crimeRating:"Low",neighborhoodInsights:{demographics:"Young professionals and urban dwellers, median age 32",atmosphere:"Vibrant, walkable neighborhood with excellent dining and entertainment",popularFor:["Nightlife","Restaurants","Cultural attractions","Public transit"],nearbyAmenities:["Grocery stores within 0.3 miles","Parks and recreation","Shopping districts","Medical facilities"]}},{type:"Short-term",name:"Corporate Housing - "+f.neighborhoods[1],priceRange:"$2,500-$4,000/month",location:f.neighborhoods[1],amenities:["Luxury furnishings","Full kitchen","Utilities included","Gym access","24/7 concierge"],duration:"1-12 months",walkabilityScore:78,costOfLivingIndex:125,crimeRating:"Very Low",neighborhoodInsights:{demographics:"Affluent professionals and families, median age 38",atmosphere:"Upscale, quiet residential area with boutique shops and fine dining",popularFor:["Safety","Quality schools","Fine dining","Boutique shopping"],nearbyAmenities:["Upscale grocery within 0.5 miles","Premium fitness centers","Private schools","Specialty healthcare"]}},{type:"Long-term",name:"Family Homes - "+f.neighborhoods[2],priceRange:(b=e.budget)!=null&&b.includes("2000")?"$1,500-$2,500/month":(m=e.budget)!=null&&m.includes("3500")||(w=e.budget)!=null&&w.includes("5000")?"$3,000-$5,000/month":"$2,000-$3,500/month",location:f.neighborhoods[2],amenities:["3-4 bedrooms","Yard","Good school district","Community pool","Safe neighborhood"],duration:"12+ months",walkabilityScore:62,costOfLivingIndex:98,crimeRating:"Low",neighborhoodInsights:{demographics:"Families with children, median age 35, diverse community",atmosphere:"Family-friendly suburban setting with excellent schools and parks",popularFor:["Top-rated schools","Family activities","Safe streets","Community events"],nearbyAmenities:["Major supermarkets 1.2 miles","Community centers","Youth sports facilities","Family healthcare"]}},{type:"Long-term",name:"Apartments - "+f.neighborhoods[3],priceRange:(y=e.budget)!=null&&y.includes("under")?"$1,200-$1,800/month":(p=e.budget)!=null&&p.includes("5000")?"$2,800-$4,500/month":"$1,800-$2,800/month",location:f.neighborhoods[3],amenities:["Modern amenities","Public transit access","Fitness center","Parking available"],duration:"12+ months",walkabilityScore:70,costOfLivingIndex:105,crimeRating:"Moderate",neighborhoodInsights:{demographics:"Mixed age groups, students and young families, median age 29",atmosphere:"Growing neighborhood with blend of residential and commercial areas",popularFor:["Affordability","Transit access","Local cafes","Community vibe"],nearbyAmenities:["Chain groceries 0.8 miles","Gyms and fitness","Public libraries","Urgent care centers"]}}],h=(S=>{if(!S||S.length===0)return[];const N=[],j=S.some(O=>O<5),E=S.some(O=>O>=5&&O<=10),A=S.some(O=>O>=11&&O<=13),R=S.some(O=>O>=14&&O<=18);return j&&(N.push({name:`Bright Beginnings Daycare - ${f.neighborhoods[0]}`,type:"Private Daycare",grades:"6 weeks - 4 years",rating:9,distance:"1.5 miles",specialPrograms:["Early learning","Full-time care","Meals included","Licensed caregivers"]}),N.push({name:`Little Scholars Preschool - ${f.neighborhoods[1]}
248`,type:"Preschool",grades:"2-5 years",rating:10,distance:"2.0 miles",specialPrograms:["Pre-K curriculum","Art & Music","Parent engagement","Play-based learning"]})),E&&(N.push({name:`${o} Elementary - ${f.neighborhoods[0]}`,type:"Public",grades:"K-5",rating:9,distance:"2.3 miles",specialPrograms:["STEM Focus","Art Program","After-school care","Library resources"]}),N.push({name:`${f.neighborhoods[1]} Academy`,type:"Private",grades:"K-6",rating:10,distance:"3.5 miles",specialPrograms:["Small class sizes","Advanced curriculum","Foreign language","Music & Arts"]})),A&&N.push({name:`${o} Middle School - ${f.neighborhoods[1]}`,type:"Public",grades:"6-8",rating:8,distance:"3.1 miles",specialPrograms:["Advanced Math","Music Program","Sports teams","Student clubs"]}),R&&(N.push({name:`${o} High School - ${f.neighborhoods[2]}`,type:"Public",grades:"9-12",rating:9,distance:"4.2 miles",specialPrograms:["AP Courses","College prep","Athletics","Arts & Theater"]}),N.push({name:`${f.neighborhoods[0]} Preparatory`,type:"Private",grades:"9-12",rating:10,distance:"5.0 miles",specialPrograms:["IB Program","College counseling","Leadership development","100% college acceptance"]})),N})(e.childrenAges);return a.jsxs("div",{className:"w-full max-w-7xl mx-auto space-y-6",children:[a.jsxs("div",{className:"mb-6",children:[a.jsxs("div",{className:"flex items-center justify-between mb-4",children:[a.jsx("a",{href:"https://www.promotionrelocation.com",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:F0,alt:"Promotion Relocation Alliance",className:"h-12 md:h-16"})}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx("a",{href:"https://www.promotionrelocation.com/contact-me",target:"_blank",rel:"noopener noreferrer",children:a.jsx(nn,{size:"sm",className:"bg-primary text-white hover:bg-primary/90 text-xs",children:"Contact Us"})}),a.jsxs(nn,{onClick:t,variant:"outline",size:"sm",className:"flex items-center gap-1 text-xs",children:[a.jsx(Nb,{className:"h-3 w-3"}),"Edit Assessment"]})]})]}),a.jsxs("div",{children:[a.jsxs("h1",{className:"text-4xl font-bold text-primary",children:["Your ",i," Relocation Guide"]}),a.jsx("p",{className:"text-muted-foreground mt-2",children:"Personalized recommendations based on your needs"})]})]}),a.jsx("div",{id:"relocation-guide",children:a.jsxs(ME,{defaultValue:"housing",className:"w-full",children:[a.jsxs(I0,{className:"grid w-full grid-cols-5",children:[a.jsxs(Kr,{value:"housing",children:[a.jsx(bb,{className:"h-4 w-4 mr-2"}),"Housing"]}),a.jsxs(Kr,{value:"schools",children:[a.jsx(zl,{className:"h-4 w-4 mr-2"}),"Schools"]}),a.jsxs(Kr,{value:"ssn",children:[a.jsx(vi,{className:"h-4 w-4 mr-2"}),"SSN, ID/Drivers Lic. & Reg."]}),a.jsxs(Kr,{value:"utilities",children:[a.jsx(Sb,{className:"h-4 w-4 mr-2"}),"Utilities"]}),a.jsxs(Kr,{value:"lifestyle",children:[a.jsx(Ul,{className:"h-4 w-4 mr-2"}),"Lifestyle"]})]}),a.jsxs(Gr,{value:"housing",className:"space-y-6",children:[a.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Housing Budget Options"}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"relative h-80 rounded-lg overflow-hidden",children:[a.jsx("img",{src:`https://images.unsplash.com/photo-1570129477492-45c003edd2be?w=800&h=600&fit=crop&q=80&city=${encodeURIComponent(e.city)}&state=${encodeURIComponent(e.state)}`,alt:`${i} housing`,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent flex items-end",children:a.jsxs("div",{className:"p-6 text-white",children:[a.jsx("h3",{className:"text-2xl font-bold",children:i}),a.jsx("p",{className:"text-white/90",children:"Your new home destination"})]})})]}),a.jsx("div",{className:"h-80 rounded-lg overflow-hidden shadow-lg",children:a.jsx("iframe",{title:`Housing map for ${i}`,width:"100%",height:"100%",style:{border:0},loading:"lazy",allowFullScreen:!0,src:`https://www.google.com/maps/embed/v1/search?q=housing+apartments+in+${encodeURIComponent(i)}&key=`})})]}),a.jsxs("div",{className:"p-4 bg-muted/50 rounded-lg",children:[a.jsxs("h3",{className:"font-semibold mb-3 flex items-center gap-2",children:[a.jsx(Te,{className:"h-5 w-5"}),"Housing Search Resources"]}),a.jsxs("div",{className:"flex flex-wrap gap-3",children:[a.jsxs("a",{href:`https://www.zillow.com/${encodeURIComponent(l)}-${encodeURIComponent(c)}/`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Search on Zillow"]}),a.jsxs("a",{href:`https://www.apartments.com/${encodeURIComponent(l)}-${encodeURIComponent((e.state||"").toLowerCase())}/`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-secondary text-secondary-foreground rounded-md hover:bg-secondary/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Search on Apartments.com"]}),a.jsxs("a",{href:`https://www.realtor.com/realestateandhomes-search/${encodeURIComponent((e.city||"").replace(/\s+/g,"_"))}/${encodeURIComponent((e.state||"").replace(/\s+/g,"_"))}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-accent text-accent-foreground rounded-md hover:bg-accent/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Search on Realtor.com"]})]})]}),a.jsx("div",{className:"grid gap-4",children:d.map((S,N)=>{const j=["https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=400&h=300&fit=crop&q=80&seed=1","https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=400&h=300&fit=crop&q=80&seed=2","https://images.unsplash.com/photo-1518780664697-55e3ad937233?w=400&h=300&fit=crop&q=80&seed=3","https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=400&h=300&fit=crop&q=80&seed=4","https://images.unsplash.com/photo-1493809842364-78817add7ffb?w=400&h=300&fit=crop&q=80&seed=5","https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=400&h=300&fit=crop&q=80&seed=6"],E=R=>R?R>=90?"text-green-600":R>=70?"text-blue-600":R>=50?"text-yellow-600":"text-orange-600":"text-muted-foreground",A=R=>R?R<100?"text-green-600":R<110?"text-blue-600":R<120?"text-yellow-600":"text-orange-600":"text-muted-foreground";return a.jsxs(Ie,{className:"hover:shadow-lg transition-shadow",children:[a.jsx(We,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(lt,{className:"bg-secondary mb-2",children:S.t
248ype}),a.jsx(Ke,{className:"text-xl",children:S.name})]}),a.jsx("span",{className:"text-lg font-semibold text-primary",children:S.priceRange})]})}),a.jsxs(_e,{children:[a.jsxs("div",{className:"grid md:grid-cols-[200px_1fr] gap-4 mb-4",children:[a.jsx("div",{className:"relative h-40 rounded-lg overflow-hidden",children:a.jsx("img",{src:j[N],alt:S.name,className:"w-full h-full object-cover"})}),a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[a.jsx(Ui,{className:"h-4 w-4"}),a.jsx("span",{children:S.location})]}),a.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[a.jsx(rv,{className:"h-4 w-4"}),a.jsxs("span",{children:["Available for: ",S.duration]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Amenities:"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:S.amenities.map((R,O)=>a.jsx(lt,{variant:"outline",children:R},O))})]})]})]}),a.jsxs("div",{className:"border-t pt-4 space-y-4",children:[a.jsxs("h4",{className:"font-semibold text-lg flex items-center gap-2",children:[a.jsx(Eb,{className:"h-5 w-5 text-primary"}),"Neighborhood Insights"]}),a.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[a.jsxs("div",{className:"bg-muted/50 rounded-lg p-3 text-center",children:[a.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Walkability"}),a.jsx("div",{className:`text-2xl font-bold ${E(S.walkabilityScore)}`,children:S.walkabilityScore||"N/A"}),a.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:S.walkabilityScore&&S.walkabilityScore>=90?"Walker's Paradise":S.walkabilityScore&&S.walkabilityScore>=70?"Very Walkable":S.walkabilityScore&&S.walkabilityScore>=50?"Somewhat Walkable":"Car-Dependent"})]}),a.jsxs("div",{className:"bg-muted/50 rounded-lg p-3 text-center",children:[a.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Cost of Living"}),a.jsx("div",{className:`text-2xl font-bold ${A(S.costOfLivingIndex)}`,children:S.costOfLivingIndex||"N/A"}),a.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:S.costOfLivingIndex&&S.costOfLivingIndex<100?"Below Average":S.costOfLivingIndex&&S.costOfLivingIndex<110?"Average":"Above Average"})]}),a.jsxs("div",{className:"bg-muted/50 rounded-lg p-3 text-center",children:[a.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Crime Rating"}),a.jsxs("div",{className:"text-2xl font-bold text-green-600 flex items-center justify-center gap-1",children:[a.jsx(Cb,{className:"h-5 w-5"}),S.crimeRating||"N/A"]}),a.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"Safety Level"})]})]}),S.neighborhoodInsights&&a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-start gap-2",children:[a.jsx(kb,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("span",{className:"font-medium text-sm",children:"Demographics: "}),a.jsx("span",{className:"text-sm text-muted-foreground",children:S.neighborhoodInsights.demographics})]})]}),a.jsxs("div",{className:"flex items-start gap-2",children:[a.jsx(wb,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("span",{className:"font-medium text-sm",children:"Atmosphere: "}),a.jsx("span",{className:"text-sm text-muted-foreground",children:S.neighborhoodInsights.atmosphere})]})]}),a.jsxs("div",{children:[a.jsx("h5",{className:"font-medium text-sm mb-2",children:"Popular For:"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:S.neighborhoodInsights.popularFor.map((R,O)=>a.jsx(lt,{className:"bg-primary/10 text-primary",children:R},O))})]}),a.jsxs("div",{children:[a.jsx("h5",{className:"font-medium text-sm mb-2",children:"Nearby Amenities:"}),a.jsx("ul",{className:"text-sm text-muted-foreground space-y-1 ml-4",children:S.neighborhoodInsights.nearbyAmenities.map((R,O)=>a.jsx("li",{className:"list-disc",children:R},O))})]})]})]})]})]},N)})})]}),a.jsx(Gr,{value:"schools",className:"space-y-6",children:e.hasChildren&&h.length>0?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"relative h-64 roun
248ded-lg overflow-hidden",children:[a.jsx("img",{src:D0,alt:`Schools in ${i}`,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent flex items-end",children:a.jsxs("div",{className:"p-6 text-white",children:[a.jsxs("h2",{className:"text-2xl font-bold",children:["Education Options in ",i]}),a.jsxs("p",{className:"text-white/90",children:["Children ages: ",(x=e.childrenAges)==null?void 0:x.join(", ")]})]})})]}),a.jsx("div",{className:"h-64 rounded-lg overflow-hidden shadow-lg",children:a.jsx("iframe",{title:`Schools map for ${i}`,width:"100%",height:"100%",style:{border:0},loading:"lazy",allowFullScreen:!0,src:`https://www.google.com/maps/embed/v1/search?q=schools+in+${encodeURIComponent(i)}&key=AIzaSyBFw0Qbyq9zTFTd-tUY6dZWTgaQzuU17R8`})})]}),e.specialNeeds&&a.jsxs(Ie,{className:"border-primary/20 bg-primary/5",children:[a.jsxs(We,{children:[a.jsxs(Ke,{className:"text-primary flex items-center gap-2",children:[a.jsx(Ul,{className:"h-5 w-5"}),"Special Education Services"]}),a.jsx(vr,{children:"Support available for your child's needs"})]}),a.jsxs(_e,{children:[a.jsxs("p",{className:"text-muted-foreground mb-4",children:[a.jsx("strong",{children:"Special Needs:"})," ",e.specialNeeds]}),a.jsxs("p",{className:"text-sm text-muted-foreground mb-4",children:["Schools in ",i," offer specialized programs and support services. Contact individual schools for specific accommodations and IEP services."]}),a.jsxs("div",{className:"flex flex-wrap gap-3",children:[a.jsxs("a",{href:`https://duckduckgo.com/?q=special+education+services+${encodeURIComponent(e.specialNeeds)}+schools+in+${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Find Special Education Resources"]}),a.jsxs("a",{href:"https://www.understood.org/en/school-learning/choosing-starting-school/finding-right-school/find-schools-with-services",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-secondary text-secondary-foreground rounded-md hover:bg-secondary/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Special Education Guide"]})]})]})]}),a.jsx(Ie,{className:"bg-primary/5 border-primary/20",children:a.jsx(We,{children:a.jsxs(eh,{open:n,onOpenChange:r,children:[a.jsx(th,{asChild:!0,children:a.jsxs(nn,{variant:"ghost",className:"w-full justify-between p-0 hover:bg-transparent",children:[a.jsxs(Ke,{className:"text-primary flex items-center gap-2",children:[a.jsx(zl,{className:"h-5 w-5"}),"School Registration Guide for ",i]}),a.jsx(ma,{className:`h-5 w-5 transition-transform ${n?"rotate-180":""}`})]})}),a.jsx(nh,{className:"mt-4",children:a.jsxs(_e,{className:"space-y-4 p-0",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Required Documents:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground ml-2",children:[a.jsx("li",{children:"Proof of residency (lease agreement, utility bill, or mortgage statement)"}),a.jsx("li",{children:"Child's birth certificate or passport"}),a.jsx("li",{children:"Immunization records (required for all grades)"}),a.jsx("li",{children:"Previous school records and transcripts"}),a.jsx("li",{children:"Parent/guardian photo ID"}),a.jsx("li",{children:"Social Security card (if available)"})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Registration Steps:"}),a.jsxs("ol",{className:"list-decimal list-inside space-y-1 text-muted-foreground ml-2",children:[a.jsx("li",{children:"Contact the school district office to schedule a registration appointment"}),a.jsx("li",{children:"Gather all required documents (listed above)"}),a.jsx("li",{children:"Complete enrollment forms at the district office or online"}),a.jsx("li",{children:"Meet with school counselor for grade placement evaluation"}),a.jsx("li",{children:"Attend school orientation (if available)"})]})]}),a.jsx("div",{className:"pt-2",children:a.jsxs("a",{href:`https://duckduckgo.com/?q=${encodeURIComponent(i+" school district registration")}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-primary hover:underline",children:[a.jsx(Te,{className:"h-4 w-4"}),"Find ",i," School District Registration Info"]})})]})})]})})}),a.jsx("div",{className:"grid gap-4",children:h.map((S,N)=>{const j=["https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=400&h=300&fit=crop&q=80","https://images.unsplash.com/photo-1509062522246-3755977927d7?w=400&h=300&fit=crop&q=80","https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=400&h=300&fit=crop&q=80","https://images.unsplash.com/photo-1588072432836-e10032774350?w=400&h=300&fit=crop&q=80","https://images.unsplash.com/photo-1571260899304-425eee4c7efc?w=400&h=300&fit=crop&q=80","https://images.unsplash.com/photo-1546410531-bb4caa6b424d?w=400&h=300&fit=crop&q=80"],E=j[N%j.length],A=S.rating>=9&&N%2===0;return a.jsxs(Ie,{className:`hover:shadow-lg transition-shadow ${A?"border-primary/50":""}`,children:[a.jsx(We,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[a.jsx(lt,{variant:"outline",children:S.t
248ype}),A&&a.jsx(lt,{className:"bg-primary text-primary-foreground",children:"⭐ Our Pick"})]}),a.jsx(Ke,{className:"text-xl",children:S.name}),a.jsxs("p",{className:"text-muted-foreground mt-1",children:["Grades: ",S.grades]})]}),a.jsxs("div",{className:"flex items-center gap-1 bg-primary/10 px-3 py-1 rounded-full",children:[a.jsx(jb,{className:"h-4 w-4 text-primary fill-primary"}),a.jsxs("span",{className:"font-semibold",children:[S.rating,"/10"]})]})]})}),a.jsx(_e,{children:a.jsxs("div",{className:"grid md:grid-cols-[200px_1fr] gap-4",children:[a.jsx("div",{className:"relative h-40 rounded-lg overflow-hidden",children:a.jsx("img",{src:E,alt:S.name,className:"w-full h-full object-cover"})}),a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[a.jsx(Ui,{className:"h-4 w-4"}),a.jsxs("span",{children:[S.distance," from city center"]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Special Programs:"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:S.specialPrograms.map((R,O)=>a.jsx(lt,{className:"bg-secondary",children:R},O))})]}),a.jsxs("div",{className:"flex flex-wrap gap-2 pt-2",children:[a.jsxs("a",{href:`https://duckduckgo.com/?q=${encodeURIComponent(S.name+" "+i)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm text-primary hover:underline",children:[a.jsx(Te,{className:"h-3 w-3"}),"Search School Info"]}),a.jsxs("a",{href:`https://www.greatschools.org/search/search.page?q=${encodeURIComponent(S.name)}&state=${encodeURIComponent(e.state)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm text-primary hover:underline",children:[a.jsx(Te,{className:"h-3 w-3"}),"GreatSchools Rating"]})]})]})]})})]},N)})})]}):a.jsx(Ie,{className:"shadow-soft",children:a.jsxs(_e,{className:"py-12 text-center",children:[a.jsx(zl,{className:"h-16 w-16 mx-auto text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No school-age children indicated in your assessment"})]})})}),a.jsxs(Gr,{value:"ssn",className:"space-y-6",children:[a.jsxs(Ie,{children:[a.jsx(We,{children:a.jsxs(Ke,{className:"flex items-center gap-2",children:[a.jsx(vi,{className:"h-5 w-5"}),"Social Security Number Application"]})}),a.jsxs(_e,{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Local Social Security Office:"}),a.jsxs("div",{className:"bg-muted/50 p-4 rounded-md mb-4",children:[a.jsxs("p",{className:"font-medium text-lg",children:[i," Social Security Administration"]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-2",children:[a.jsx("strong",{children:"Find your nearest office:"})," Visit"," ",a.jsx("a",{href:"https://secure.ssa.gov/ICON/main.jsp",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:"SSA.gov Office Locator"})]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[a.jsx("strong",{children:"Hours:"})," Monday-Friday, 9:00 AM - 4:00 PM"]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[a.jsx("strong",{children:"Phone:"})," 1-800-772-1213"]})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Required Documents:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground ml-2",children:[a.jsx("li",{children:"Completed SS-5 application form"}),a.jsx("li",{children:"Proof of identity (passport, driver's license)"}),a.jsx("li",{children:"Proof of age (birth certificate)"}),a.jsx("li",{children:"Proof of U.S. citizenship or lawful immigration status"})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Application Process:"}),a.jsxs("ol",{className:"list-decimal list-inside space-y-1 text-muted-foreground ml-2",children:[a.jsx("li",{children:"Download and complete Form SS-5 from SSA.gov"}),a.jsx("li",{children:"Gather all required original documents"}),a.jsx("li",{children:"Visit your local Social Security office in person"}),a.jsx("li",{children:"Submit application and documents"}),a.jsx("li",{children:"Receive your SSN card by mail within 2 weeks"})]})]}),a.jsxs("a",{href:"https://www.ssa.gov/number-card/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Visit SSA.gov for More Info"]})]})]}),a.jsxs(Ie,{children:[a.jsx(We,{children:a.jsxs(Ke,{className:"flex items-center gap-2",children:[a.jsx(vi,{className:"h-5 w-5"}),"Driver's License / State ID"]})}),a.jsx(_e,{className:"space-y-4",children:a.jsxs("div",{children:[a.jsxs("div",{className:"bg-muted/50 p-4 rounded-md mb-2",children:[a.jsxs("p",{className:"font-medium",children:[i," DMV Office"]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[a.jsx("strong",{children:"Find your nearest DMV:"})," ",a.jsxs("a",{href:`https://duckduckgo.com/?q=DMV+near+${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:["Search ",i," DMV locations"]})]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[a.jsx("strong",{children:"Tip:"})," Make an appointment online to avoid wait times"]})]}),a.jsx("h4",{className:"font-semibold mb-2",children:"Required Documents:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground ml-2",children:[a.jsx("li",{children:"Current license (if transferring from another state)"}),a.jsx("li",{children:"Proof of residency (2 documents required)"}),a.jsx("li",{children:"Social Security number"}),a.jsx("li",{children:"Proof of identity (passport or birth certificate)"}),a.jsx("li",{children:"Take vision test and written/driving test if required"})]})]})})]}),a.jsxs(Ie,{children:[a.jsx(We,{children:a.jsxs(Ke,{className:"flex items-center gap-2",children:[a.jsx(vi,{className:"h-5 w-5"}),"Vehicle Registration"]})}),a.jsx(_e,{className:"space-y-4",children:a.jsxs("div",{children:[a.jsxs("div",{className:"bg-muted/50 p-4 rounded-md mb-2",children:[a.jsxs("p",{className:"font-medium",children:[s," Vehicle Registration"]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[a.jsx("strong",{children:"Register within 30 days"})," of moving to avoid penalties"]}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[a.jsx("strong",{children:"Find registration office:"})," ",a.jsxs("a",{href:`https://duckduckgo.com/?q=vehicle+registration+DMV+near+${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:["Find vehicle registration office in ",i]})]})]}),a.jsx("h4",{className:"font-semibold mb-2",children:"Required Documents:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground ml-2",children:[a.jsx("li",{children:"Current vehicle title"}),a.jsx("li",{children:"Proof of insurance"}),a.jsxs("li",{children:["Emission test certificate (if required in ",s,")"]}),a.jsx("li",{children:"Valid photo ID"}),a.jsx("li",{children:"Registration fees (varies by state)"})]})]})})]})]}),a.jsx(Gr,{value:"utilities",className:"space-y-6",children:a.jsxs(Ie,{children:[a.jsxs(We,{children:[a.jsxs(Ke,{children:["Essential Utilities Setup in ",i]}),a.jsx(vr,{children:"Contact information and setup guides"})]}),a.jsx(_e,{children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"border-b pb-4",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx("h4",{className:"font-semibold",children:"Electricity & Gas"}),a.jsx(lt,{children:"Required"})]}),a.jsxs("p",{className:"text-sm mb-2",children:[a.jsx("strong",{children:"Find providers:"})," ",a.jsxs("a",{href:`https://duckduckgo.com/?q=electricity+gas+providers+in+${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:["Search ",i," utility providers"]})]}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Setup time: 1-3 business days | Initial deposit: $100-200"})]}),a.jsxs("div",{className:"border-b pb-4",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx("h4",{className:"font-semibold",children:"Water & Sewer"}),a.jsx(lt,{children:"Required"})]}),a.jsxs("p",{className:"text-sm mb-2",children:[a.jsx("strong",{children:"Provider:"})," ",o," Water Department"]}),a.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:a.jsx("a",{href:`https://duckduckgo.com/?q=${encodeURIComponent(o+" water department phone number address")}`,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:"Find water department contact info"})}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Setup time: Same day | Initial deposit: $50-100"})]}),a.jsxs("div",{className:"border-b pb-4",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx("h4",{className:"font-semibold",children:"Internet & Cable"}),a.jsx(lt,{variant:"secondary",children:"Optional"})]}),a.jsxs("p",{className:"text-sm mb-2",children:[a.jsx("strong",{children:"Top Providers:"})," Xfinity, AT&T Fiber, Spectrum, Verizon Fios"]}),a.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:a.jsxs("a",{href:`https://duckduckgo.com/?q=internet+providers+${encodeURIComponent(i)}+comparison`,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:["Compare providers in ",i]})}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Speeds: 100 Mbps - 1 Gbps | $50-120/month"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Setup time: 3-7 days | Installation fee: $50-100"})]}),a.jsxs("div",{className:"border-b pb-4",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx("h4",{className:"font-semibold",children:"Trash & Recycling"}),a.jsx(lt,{children:"Required"})]}),a.jsxs("p",{className:"text-sm mb-2",children:[a.jsx("strong",{children:"Provider:"})," ",o," Waste Management"]}),a.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:a.jsx("a",{href:`https://duckduckgo.com/?q=${encodeURIComponent(o+" trash recycling pickup schedule contact")}`,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:"Find trash/recycling info"})}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Pickup: Typically twice weekly | Fee: Usually included in city utilities"})]}),a.jsxs("div",{className:"pb-4",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx("h4",{className:"font-semibold",children:"Mobile Phone"}),a.jsx(lt,{variant:"secondary",children:"Optional"})]}),a.jsxs("p",{className:"text-sm mb-2",children:[a.jsx("strong",{children:"Major Carriers:"})," Verizon, AT&T, T-Mobile"]}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Plans start at $30-70/month per line"})]})]})})]})}),a.jsxs(Gr,{value:"lifestyle",className:"space-y-6",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"relative h-80 rounded-lg overflow-hidden",children:[a.jsx("img",{src:`https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=800&h=600&fit=crop&q=80&city=${encodeURIComponent(e.city)}&state=${encodeURIComponent(e.state)}`,alt:`${i} lifestyle`,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent flex items-end",children:a.jsxs("div",{className:"p-6 text-white",children:[a.jsxs("h3",{className:"text-2xl font-bold",children:[i," Lifestyle"]}),a.jsx("p",{className:"text-white/90",children:"Explore your new community"})]})})]}),a.jsx("div",{className:"h-80 rounded-lg overflow-hidden shadow-lg",children:a.jsx("iframe",{title:`${i} attractions and activities map`,width:"100%",height:"100%",style:{border:0},loading:"lazy",allowFullScreen:!0,src:`https://www.google.com/maps/embed/v1/search?q=${encodeURIComponent((((C=e.interests)==null?void 0:C.join(" OR "))||"attractions")+" in "+i)}&key=AIzaSyBFw0Qbyq9zTFTd-tUY6dZWTgaQzuU17R8`})})]}),a.jsx(eh,{children:a.jsxs(Ie,{children:[a.jsxs(We,{children:[a.jsxs(th,{className:"flex items-center justify-between w-full hover:opacity-80 transition-opacity",children:[a.jsxs(Ke,{className:"flex items-center gap-2",children:[a.jsx(Ui,{className:"h-5 w-5 text-primary"}),"Commute Time Analysis"]}),a.jsx(ma,{className:"h-5 w-5 text-muted-foreground transition-transform duration-200 ui-state-open:rotate-180"})]}),a.jsx(vr,{children:"Click to view estimated travel times from each neighborhood to major employment centers"})]}),a.jsx(nh,{children:a.jsx(_e,{className:"pt-0",children:a.jsx(zE,{housingOptions:d,city:e.city})})})]})}),a.jsxs(Ie,{children:[a.jsx(We,{children:a.jsxs(Ke,{className:"flex items-center gap-2",children:[a.jsx(Ul,{className:"h-5 w-5"}),"Recreation & Entertainment in ",i]})}),a.jsx(_e,{children:a.jsx("div",{className:"space-y-4",children:e.interests&&e.interests.length>0?a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-muted-foreground",children:"Based on your interests, here are some recommendations:"}),a.jsx("div",{className:"grid gap-4",children:e.interests.map((S,N)=>{const j=["https://images.unsplash.com/photo-1517457373958-b7bdd4587205?w=400&h=300&fit=crop&q=80&seed=20","https://images.unsplash.com/photo-1532798442725-41036acc7489?w=400&h=300&fit=crop&q=80&seed=21","https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?w=400&h=300&fit=crop&q=80&seed=22","https://images.unsplash.com/photo-1528605248644-14dd04022da1?w=400&h=300&fit=crop&q=80&seed=23","https://images.unsplash.com/photo-1541963463532-d68292c34b19?w=400&h=300&fit=crop&q=80&seed=24","https://images.unsplash.com/photo-1533174072545-7a4b6ad7a6c3?w=400&h=300&fit=crop&q=80&seed=25","https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop&q=80&seed=26","https://images.unsplash.com/photo-1472214103451-9374bd1c798e?w=400&h=300&fit=crop&q=80&seed=27"];return a.jsx("div",{className:"border rounded-lg p-4 hover:shadow-md transition-shadow",children:a.jsxs("div",{className:"grid md:grid-cols-[200px_1fr] gap-4",children:[a.jsx("div",{className:"relative h-40 rounded-lg overflow-hidden",children:a.jsx("img",{src:j[N%j.length],alt:S,className:"w-full h-full object-cover"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx("div",{className:"flex items-center gap-2 mb-2",children:a.jsx(lt,{className:"bg-secondary",children:S})}),a.jsxs("h4",{className:"font-semibold mb-2 capitalize",children:[S," in ",i]}),a.jsxs("p",{className:"text-sm text-muted-foreground mb-3",children:["Discover top-rated ",(S||"").toLowerCase()," venues, clubs, and activities in your new city."]}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsxs("a",{href:`https://duckduckgo.com/?q=best+${encodeURIComponent(S)}+in+${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm text-primary hover:underline",children:[a.jsx(Te,{className:"h-3 w-3"}),"Search ",S," Options"]}),a.jsxs("a",{href:`https://www.yelp.com/search?find_desc=${encodeURIComponent(S)}&find_loc=${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm text-primary hover:underline",children:[a.jsx(Te,{className:"h-3 w-3"}),"View on Yelp"]}),a.jsxs("a",{href:`https://www.tripadvisor.com/Search?q=${encodeURIComponent(S+" "+i)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm text-primary hover:underline",children:[a.jsx(Te,{className:"h-3 w-3"}),"TripAdvisor"]})]})]})]})},N)})})]}):a.jsxs("p",{className:"text-muted-foreground",children:["Explore all that ",i," has to offer!"]})})})]}),e.additionalNotes&&a.jsxs(Ie,{className:"border-primary/20 bg-primary/5",children:[a.jsxs(We,{children:[a.jsx(Ke,{className:"text-primary",children:"Personalized Recommendations"}),a.jsx(vr,{children:"Based on your specific needs and preferences"})]}),a.jsx(_e,{children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{c
248lassName:"grid md:grid-cols-[300px_1fr] gap-4",children:[a.jsx("div",{className:"relative h-48 rounded-lg overflow-hidden",children:a.jsx("img",{src:"https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?w=300&h=200&fit=crop&q=80",alt:"Personalized recommendations",className:"w-full h-full object-cover"})}),a.jsxs("div",{className:"bg-background p-4 rounded-lg border",children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Your Notes:"}),a.jsx("p",{className:"text-muted-foreground italic whitespace-pre-line",children:e.additionalNotes})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-3",children:"Recommended Resources:"}),a.jsxs("div",{className:"flex flex-wrap gap-3",children:[a.jsxs("a",{href:`https://duckduckgo.com/?q=${encodeURIComponent(e.additionalNotes+" in "+i)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Search Related Resources"]}),a.jsxs("a",{href:`https://www.yelp.com/search?find_desc=${encodeURIComponent(e.additionalNotes)}&find_loc=${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-secondary text-secondary-foreground rounded-md hover:bg-secondary/90 transition-colors",children:[a.jsx(Te,{className:"h-4 w-4"}),"Find on Yelp"]})]})]})]})})]}),a.jsxs(Ie,{children:[a.jsx(We,{children:a.jsx(Ke,{children:"Community Resources"})}),a.jsx(_e,{children:a.jsxs("div",{className:"grid gap-3",children:[a.jsxs("a",{href:`https://www.meetup.com/find/?keywords=${encodeURIComponent(i)}&source=EVENTS`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between p-3 border rounded-lg hover:bg-muted/50 transition-colors",children:[a.jsx("span",{className:"font-medium",children:"Join Local Meetup Groups"}),a.jsx(Te,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs("a",{href:`https://www.eventbrite.com/d/online/events--${encodeURIComponent((i||"").toLowerCase().replace(/\s+/g,"-"))}/`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between p-3 border rounded-lg hover:bg-muted/50 transition-colors",children:[a.jsx("span",{className:"font-medium",children:"Browse Local Events"}),a.jsx(Te,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs("a",{href:`https://www.tripadvisor.com/Search?q=${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between p-3 border rounded-lg hover:bg-muted/50 transition-colors",children:[a.jsx("span",{className:"font-medium",children:"Explore Attractions & Activities"}),a.jsx(Te,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs("a",{href:`https://www.yelp.com/search?find_loc=${encodeURIComponent(i)}`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between p-3 border rounded-lg hover:bg-muted/50 transition-colors",children:[a.jsx("span",{className:"font-medium",children:"Find Local Businesses & Services"}),a.jsx(Te,{className:"h-4 w-4 text-muted-foreground"})]})]})})]})]})]})})]})},BE="/assets/housing-DEQkZHkB.jpg",VE=()=>{const[e,t]=g.useState(!1),[n,r]=g.useState(null),o=g.useMemo(()=>{const l=[BE,D0];return l[Math.floor(Math.random()*l.length)]},[]),s=l=>{r(l),t(!1)},i=()=>{t(!0)};return n&&!e?a.jsx("div",{className:"min-h-screen bg-background py-8 px-4",children:a.jsx(UE,{data:n,onEdit:i})}):e?a.jsx("div",{className:"min-h-screen bg-background py-8 px-4",children:a.jsx(yE,{onComplete:s,initialData:n})}):a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx("header",{className:"bg-transparent py-2 px-4",children:a.jsxs("div",{className:"container mx-auto flex items-center justify-between",children:[a.jsx("a",{href:"https://www.promotionrelocation.com",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:F0,alt:"Promotion Relocation Alliance",className:"h-16 md:h-20"})}),a.jsx("a",{href:"https://www.promotionrelocation.com/contact-me",target:"_blank",rel:"noopener noreferrer",children:a.jsx(nn,{className:"bg-primary text-white hover:bg-primary/90",children:"Contact Us"})})]})}),a.jsxs("div",{className:"relative h-[65vh] overflow-hidden",children:[a.jsx("img",{src:o,alt:"City skyline",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/70 to-black/40 flex items-center",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-2xl text-white",children:[a.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6 leading-tight",children:["Get Your",a.jsx("span",{className:"block text-primary",style:{textShadow:"0 2px 10px rgba(0,0,0,0.5)"},children:"City Spotlight"})]}),a.jsx("p",{className:"text-xl mb-8 text-white/90 leading-relaxed",children:"Get personalized recommendations for housing, schools, utilities, and more. We make your relocation smooth and stress-free with insights tailored to your needs."}),a.jsxs(nn,{size:"lg",className:"text-lg px-8 bg-primary hover:bg-primary/90",onClick:()=>t(!0),children:["Start Your Assessment",a.jsx(Yc,{className:"ml-2"})]})]})})})]}),a.jsxs("div",{className:"container mx-auto px-4 py-16",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:"What We Provide"}),a.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:"Comprehensive relocation support covering all aspects of your move"})]}),a.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:[a.jsxs("div",{className:"p-6 rounded-lg border border-border bg-card shadow-soft hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",children:a.jsxs("svg",{className:"h-6 w-6 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]})}),a.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Housing Options"}),a.jsx("p",{className:"text-muted-foreground",children:"Short-term and long-term housing recommendations based on your budget and preferences"})]}),a.jsxs("div",{className:"p-6 rounded-lg border border-border bg-card shadow-soft hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",children:a.jsx("svg",{className:"h-6 w-6 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"})})}),a.jsx("h3",{className:"text-xl font-semibold mb-2",children:"School Recommendations"}),a.jsx("p",{className:"text-muted-foreground",children:"Top-rated schools matching your children's needs and educational preferences"})]}),a.jsxs("div",{className:"p-6 rounded-lg border border-border bg-card shadow-soft hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",children:a.jsx("svg",{className:"h-6 w-6 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),a.jsx("h3",{className:"text-xl font-semibold mb-2",children:"SSN & Documentation"}),a.jsx("p",{className:"text-muted-foreground",children:"Step-by-step guides for obtaining your Social Security Number and other essential documents"})]}),a.jsxs("div",{className:"p-6 rounded-lg border border-border bg-card shadow-soft hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",children:a.jsx("svg",{className:"h-6 w-6 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})})}),a.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Utilities Setup"}),a.jsx("p",{className:"text-muted-foreground",children:"Complete guide for electricity, water, internet, and all essential services"})]}),a.jsxs("div",{className:"p-6 rounded-lg border border-border bg-card shadow-soft hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",children:a.jsx("svg",{className:"h-6 w-6 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})})}),a.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Special Needs Support"}),a.jsx("p",{className:"text-muted-foreground",children:"Tailored recommendations for accessibility and special requirements"})]}),a.jsxs("div",{className:"p-6 rounded-lg border border-border bg-card shadow-soft hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",children:a.jsx("svg",{className:"h-6 w-6 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),a.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Lifestyle Insights"}),a.jsx("p",{className:"text-muted-foreground",children:"Personalized suggestions based on your interests and hobbies in your new city"})]})]}),a.jsx("div",{className:"text-center mt-12",children:a.jsxs(nn,{size:"lg",className:"bg-primary hover:bg-primary/90",onClick:()=>t(!0),children:["Get Started Now",a.jsx(Yc,{className:"ml-2"})]})})]})]})},HE=()=>{const e=ly();return g.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),a.jsx("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"}),a.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},WE=new X2,KE=()=>a.jsx(J2,{client:WE,children:a.jsxs(k2,{children:[a.jsx(uS,{}),a.jsx(BS,{}),a.jsx(FN,{children:a.jsxs(ON,{children:[a.jsx(au,{path:"/",element:a.jsx(VE,{})}),a.jsx(au,{path:"*",element:a.jsx(HE,{})})]})})]})});jg(document.getElementById("root")).render(a.jsx(_.StrictMode,{children:a.jsx(KE,{})}));

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.