PageSourceSearch

https://revyu.ai/assets/index-DWy-Jg7t.js

js revyu.ai collected 2026-09-24 13:32:37 UTC 598,487 bytes, 262 lines download raw bytes

vendor: 19,123 bytes, lines 1-33
1var Hp=e=>{throw TypeError(e)};var Bc=(e,t,n)=>t.has(e)||Hp("Cannot "+n);var j=(e,t,n)=>(Bc(e,t,"read from private field"),n?n.call(e):t.get(e)),ie=(e,t,n)=>t.has(e)?Hp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),X=(e,t,n,r)=>(Bc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),He=(e,t,n)=>(Bc(e,t,"access private method"),n);var la=(e,t,n,r)=>({set _(o){X(e,t,o,n)},get _(){return j(e,t,r)}});function uC(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 Ey(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Py={exports:{}},ql={},Ny={exports:{}},te={};/**
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 qi=Symbol.for("react.element"),dC=Symbol.for("react.portal"),fC=Symbol.for("react.fragment"),hC=Symbol.for("react.strict_mode"),pC=Symbol.for("react.profiler"),mC=Symbol.for("react.provider"),gC=Symbol.for("react.context"),vC=Symbol.for("react.forward_ref"),yC=Symbol.for("react.suspense"),xC=Symbol.for("react.memo"),wC=Symbol.for("react.lazy"),Kp=Symbol.iterator;function bC(e){return e===null||typeof e!="object"?null:(e=Kp&&e[Kp]||e["@@iterator"],typeof e=="function"?e:null)}var jy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ay=Object.assign,Ry={};function ks(e,t,n){this.props=e,this.context=t,this.refs=Ry,this.updater=n||jy}ks.prototype.isReactComponent={};ks.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")};ks.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Iy(){}Iy.prototype=ks.prototype;function Pf(e,t,n){this.props=e,this.context=t,this.refs=Ry,this.updater=n||jy}var Nf=Pf.prototype=new Iy;Nf.constructor=Pf;Ay(Nf,ks.prototype);Nf.isPureReactComponent=!0;var Gp=Array.isArray,My=Object.prototype.hasOwnProperty,jf={current:null},Dy={key:!0,ref:!0,__self:!0,__source:!0};function Oy(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)My.call(t,r)&&!Dy.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:qi,type:e,key:s,ref:i,props:o,_owner:jf.current}}function SC(e,t){return{$$typeof:qi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Af(e){return typeof e=="object"&&e!==null&&e.$$typeof===qi}function kC(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var qp=/\/+/g;function zc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?kC(""+e.key):t.toString(36)}function Ba(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 qi:case dC:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+zc(i,0):r,Gp(o)?(n="",e!=null&&(n=e.replace(qp,"$&/")+"/"),Ba(o,t,n,"",function(c){return c})):o!=null&&(Af(o)&&(o=SC(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(qp,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Gp(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+zc(s,a);i+=Ba(s,t,n,l,o)}else if(l=bC(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+zc(s,a++),i+=Ba(s,t,n,l,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 ca(e,t,n){if(e==null)return e;var r=[],o=0;return Ba(e,r,"","",function(s){return t.call(n,s,o++)}),r}function CC(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 rt={current:null},za={transition:null},TC={ReactCurrentDispatcher:rt,ReactCurrentBatchConfig:za,ReactCurrentOwner:jf};function _y(){throw Error("act(...) is not supported in production builds of React.")}te.Children={map:ca,forEach:function(e,t,n){ca(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ca(e,function(){t++}),t},toArray:function(e){return ca(e,function(t){return t})||[]},only:function(e){if(!Af(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};te.Component=ks;te.Fragment=fC;te.Profiler=pC;te.PureComponent=Pf;te.StrictMode=hC;te.Suspense=yC;te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=TC;te.act=_y;te.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=Ay({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=jf.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)My.call(t,l)&&!Dy.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:qi,type:e.type,key:o,ref:s,props:r,_owner:i}};te.createContext=function(e){return e={$$typeof:gC,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:mC,_context:e},e.Consumer=e};te.createElement=Oy;te.createFactory=function(e){var t=Oy.bind(null,e);return t.type=e,t};te.createRef=function(){return{current:null}};te.forwardRef=function(e){return{$$typeof:vC,render:e}};te.isValidElement=Af;te.lazy=function(e){return{$$typeof:wC,_payload:{_status:-1,_result:e},_init:CC}};te.memo=function(e,t){return{$$typeof:xC,type:e,compare:t===void 0?null:t}};te.startTransition=function(e){var t=za.transition;za.transition={};try{e()}finally{za.transition=t}};te.unstable_act=_y;te.useCallback=function(e,t){return rt.current.useCallback(e,t)};te.useContext=function(e){return rt.current.useContext(e)};te.useDebugValue=function(){};te.useDeferredValue=function(e){return rt.current.useDeferredValue(e)};te.useEffect=function(e,t){return rt.current.useEffect(e,t)};te.useId=function(){return rt.current.useId()};te.useImperativeHandle=function(e,t,n){return rt.current.useImperativeHandle(e,t,n)};te.useInsertionEffect=function(e,t){return rt.current.useInsertionEffect(e,t)};te.useLayoutEffect=function(e,t){return rt.current.useLayoutEffect(e,t)};te.useMemo=function(e,t){return rt.current.useMemo(e,t)};te.useReducer=function(e,t,n){return rt.current.useReducer(e,t,n)};te.useRef=function(e){return rt.current.useRef(e)};te.useState=function(e){return rt.current.useState(e)};te.useSyncExternalStore=function(e,t,n){return rt.current.useSyncExternalStore(e,t,n)};te.useTransition=function(){return rt.current.useTransition()};te.version="18.3.1";Ny.exports=te;var m=Ny.exports;const I=Ey(m),Rf=uC({__proto__:null,default:I},[m]);/**
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 EC=m,PC=Symbol.for("react.element"),NC=Symbol.for("react.fragment"),jC=Object.prototype.hasOwnProperty,AC=EC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,RC={key:!0,ref:!0,__self:!0,__source:!0};function Ly(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)jC.call(t,r)&&!RC.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:PC,type:e,key:s,ref:i,props:o,_owner:AC.current}}ql.Fragment=NC;ql.jsx=Ly;ql.jsxs=Ly;Py.exports=ql;var u=Py.exports,Fy={exports:{}},xt={},Vy={exports:{}},By={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(P,N){var _=P.length;P.push(N);e:for(;0<_;){var K=_-1>>>1,$=P[K];if(0<o($,N))P[K]=N,P[_]=$,_=K;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var N=P[0],_=P.pop();if(_!==N){P[0]=_;e:for(var K=0,$=P.length,J=$>>>1;K<J;){var Y=2*(K+1)-1,pe=P[Y],Te=Y+1,L=P[Te];if(0>o(pe,_))Te<$&&0>o(L,pe)?(P[K]=L,P[Te]=_,K=Te):(P[K]=pe,P[Y]=_,K=Y);else if(Te<$&&0>o(L,_))P[K]=L,P[Te]=_,K=Te;else break e}}return N}function o(P,N){var _=P.sortIndex-N.sortIndex;return _!==0?_:P.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],c=[],d=1,f=null,h=3,p=!1,b=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,v=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(P){for(var N=n(c);N!==null;){if(N.callback===null)r(c);else if(N.startTime<=P)r(c),N.sortIndex=N.expirationTime,t(l,N);else break;N=n(c)}}function S(P){if(g=!1,x(P),!b)if(n(l)!==null)b=!0,z(k);else{var N=n(c);N!==null&&F(S,N.startTime-P)}}function k(P,N){b=!1,g&&(g=!1,y(E),E=-1),p=!0;var _=h;try{for(x(N),f=n(l);f!==null&&(!(f.expirationTime>N)||P&&!B());){var K=f.callback;if(typeof K=="function"){f.callback=null,h=f.priorityLevel;var $=K(f.expirationTime<=N);N=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(l)&&r(l),x(N)}else r(l);f=n(l)}if(f!==null)var J=!0;else{var Y=n(c);Y!==null&&F(S,Y.startTime-N),J=!1}return J}finally{f=null,h=_,p=!1}}var C=!1,T=null,E=-1,A=5,R=-1;function B(){return!(e.unstable_now()-R<A)}function O(){if(T!==null){var P=e.unstable_now();R=P;var N=!0;try{N=T(!0,P)}finally{N?W():(C=!1,T=null)}}else C=!1}var W;if(typeof v=="function")W=function(){v(O)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,H=D.port2;D.port1.onmessage=O,W=function(){H.postMessage(null)}}else W=function(){w(O,0)};function z(P){T=P,C||(C=!0,W())}function F(P,N){E=w(function(){P(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){b||p||(b=!0,z(k))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var _=h;h=N;try{return P()}finally{h=_}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,N){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var _=h;h=P;try{return N()}finally{h=_}},e.unstable_scheduleCallback=function(P,N,_){var K=e.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?K+_:K):_=K,P){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=_+$,P={id:d++,callback:N,priorityLevel:P,startTime:_,expirationTime:$,sortIndex:-1},_>K?(P.sortIndex=_,t(c,P),n(l)===null&&P===n(c)&&(g?(y(E),E=-1):g=!0,F(S,_-K))):(P.sortIndex=$,t(l,P),b||p||(b=!0,z(k))),P},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(P){var N=h;return function(){var _=h;h=N;try{return P.apply(this,arguments)}finally{h=_}}}})(By);Vy.exports=By;var IC=Vy.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 MC=m,vt=IC;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var zy=new Set,vi={};function ho(e,t){cs(e,t),cs(e+"Capture",t)}function cs(e,t){for(vi[e]=t,e=0;e<t.length;e++)zy.add(t[e])}var An=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$u=Object.prototype.hasOwnProperty,DC=/^[: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]*$/,Yp={},Qp={};function OC(e){return $u.call(Qp,e)?!0:$u.call(Yp,e)?!1:DC.test(e)?Qp[e]=!0:(Yp[e]=!0,!1)}function _C(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 LC(e,t,n,r){if(t===null||typeof t>"u"||_C(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 ot(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 Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new ot(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new ot(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new ot(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new ot(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){Ue[e]=new ot(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new ot(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new ot(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new ot(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var If=/[\-:]([a-z])/g;function Mf(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(If,Mf);Ue[t]=new ot(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(If,Mf);Ue[t]=new ot(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(If,Mf);Ue[t]=new ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new ot(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function Df(e,t,n,r){var o=Ue.hasOwnProperty(t)?Ue[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(LC(t,n,o,r)&&(n=null),r||o===null?OC(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))))}
vendor: 5,027 bytes, lines 33-37
33var Vn=MC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ua=Symbol.for("react.element"),Po=Symbol.for("react.portal"),No=Symbol.for("react.fragment"),Of=Symbol.for("react.strict_mode"),Uu=Symbol.for("react.profiler"),$y=Symbol.for("react.provider"),Uy=Symbol.for("react.context"),_f=Symbol.for("react.forward_ref"),Wu=Symbol.for("react.suspense"),Hu=Symbol.for("react.suspense_list"),Lf=Symbol.for("react.memo"),Qn=Symbol.for("react.lazy"),Wy=Symbol.for("react.offscreen"),Xp=Symbol.iterator;function _s(e){return e===null||typeof e!="object"?null:(e=Xp&&e[Xp]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,$c;function qs(e){if($c===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$c=t&&t[1]||""}return`
34`+$c+e}var Uc=!1;function Wc(e,t){if(!e||Uc)return"";Uc=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
35`),s=r.stack.split(`
36`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var l=`
37`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Uc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?qs(e):""}function FC(e){switch(e.tag){case 5:return qs(e.type);case 16:return qs("Lazy");case 13:return qs("Suspense");case 19:return qs("SuspenseList");case 0:case 2:case 15:return e=Wc(e.type,!1),e;case 11:return e=Wc(e.type.render,!1),e;case 1:return e=Wc(e.type,!0),e;default:return""}}function Ku(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 No:return"Fragment";case Po:return"Portal";case Uu:return"Profiler";case Of:return"StrictMode";case Wu:return"Suspense";case Hu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Uy:return(e.displayName||"Context")+".Consumer";case $y:return(e._context.displayName||"Context")+".Provider";case _f:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lf:return t=e.displayName||null,t!==null?t:Ku(e.type)||"Memo";case Qn:t=e._payload,e=e._init;try{return Ku(e(t))}catch{}}return null}function VC(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 Ku(t);case 8:return t===Of?"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 xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function BC(e){var t=Hy(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 da(e){e._valueTracker||(e._valueTracker=BC(e))}function Ky(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function al(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 Gu(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Zp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xr(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}}
vendor: 4,651 bytes, line 37
37function Gy(e,t){t=t.checked,t!=null&&Df(e,"checked",t,!1)}function qu(e,t){Gy(e,t);var n=xr(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")?Yu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yu(e,t.type,xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Jp(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 Yu(e,t,n){(t!=="number"||al(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ys=Array.isArray;function Wo(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=""+xr(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 Qu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function em(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(Ys(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:xr(n)}}function qy(e,t){var n=xr(t.value),r=xr(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 tm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Yy(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 Xu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Yy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fa,Qy=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(fa=fa||document.createElement("div"),fa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ri={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},zC=["Webkit","ms","Moz","O"];Object.keys(ri).forEach(function(e){zC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ri[t]=ri[e]})});function Xy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ri.hasOwnProperty(e)&&ri[e]?(""+t).trim():t+"px"}function Zy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Xy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var $C=Ce({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 Zu(e,t){if(t){if($C[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Ju(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ed=null;function Ff(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var td=null,Ho=null,Ko=null;function nm(e){if(e=Xi(e)){if(typeof td!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Jl(t),td(e.stateNode,e.type,t))}}function Jy(e){Ho?Ko?Ko.push(e):Ko=[e]:Ho=e}function ex(){if(Ho){var e=Ho,t=Ko;if(Ko=Ho=null,nm(e),t)for(e=0;e<t.length;e++)nm(t[e])}}function tx(e,t){return e(t)}function nx(){}var Hc=!1;function rx(e,t,n){if(Hc)return e(t,n);Hc=!0;try{return tx(e,t,n)}finally{Hc=!1,(Ho!==null||Ko!==null)&&(nx(),ex())}}function xi(e,t){var n=e.stateNode;if(n===null)return null;var r=Jl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(M(231,t,typeof n));return n}var nd=!1;if(An)try{var Ls={};Object.defineProperty(Ls,"passive",{get:function(){nd=!0}}),window.addEventListener("test",Ls,Ls),window.removeEventListener("test",Ls,Ls)}catch{nd=!1}function UC(e,t,n,r,o,s,i,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var oi=!1,ll=null,cl=!1,rd=null,WC={onError:function(e){oi=!0,ll=e}};function HC(e,t,n,r,o,s,i,a,l){oi=!1,ll=null,UC.apply(WC,arguments)}function KC(e,t,n,r,o,s,i,a,l){if(HC.apply(this,arguments),oi){if(oi){var c=ll;oi=!1,ll=null}else throw Error(M(198));cl||(cl=!0,rd=c)}}function po(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 ox(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 rm(e){if(po(e)!==e)throw Error(M(188))}function GC(e){var t=e.alternate;if(!t){if(t=po(e),t===null)throw Error(M(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 rm(o),e;if(s===r)return rm(o),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function sx(e){return e=GC(e),e!==null?ix(e):null}function ix(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ix(e);if(t!==null)return t;e=e.sibling}return null}var ax=vt.unstable_scheduleCallback,om=vt.unstable_cancelCallback,qC=vt.unstable_shouldYield,YC=vt.unstable_requestPaint,Re=vt.unstable_now,QC=vt.unstable_getCurrentPriorityLevel,Vf=vt.unstable_ImmediatePriority,lx=vt.unstable_UserBlockingPriority,ul=vt.unstable_NormalPriority,XC=vt.unstable_LowPriority,cx=vt.unstable_IdlePriority,Yl=null,un=null;function ZC(e){if(un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(Yl,e,void 0,(e.current.flags&128)===128)}catch{}}var Kt=Math.clz32?Math.clz32:tT,JC=Math.log,eT=Math.LN2;function tT(e){return e>>>=0,e===0?32:31-(JC(e)/eT|0)|0}var ha=64,pa=4194304;function Qs(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 dl(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 a=i&~o;a!==0?r=Qs(a):(s&=i,s!==0&&(r=Qs(s)))}else i=n&~o,i!==0?r=Qs(i):s!==0&&(r=Qs(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-Kt(t),o=1<<n,r|=e[n],t&=~o;return r}function nT(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 rT(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Kt(s),a=1<<i,l=o[i];l===-1?(!(a&n)||a&r)&&(o[i]=nT(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function od(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ux(){var e=ha;return ha<<=1,!(ha&4194240)&&(ha=64),e}function Kc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,087 bytes, line 37
37function Yi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Kt(t),e[t]=n}function oT(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-Kt(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Bf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Kt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ue=0;function dx(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var fx,zf,hx,px,mx,sd=!1,ma=[],lr=null,cr=null,ur=null,wi=new Map,bi=new Map,Zn=[],sT="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 sm(e,t){switch(e){case"focusin":case"focusout":lr=null;break;case"dragenter":case"dragleave":cr=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":wi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bi.delete(t.pointerId)}}function Fs(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=Xi(t),t!==null&&zf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function iT(e,t,n,r,o){switch(t){case"focusin":return lr=Fs(lr,e,t,n,r,o),!0;case"dragenter":return cr=Fs(cr,e,t,n,r,o),!0;case"mouseover":return ur=Fs(ur,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return wi.set(s,Fs(wi.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,bi.set(s,Fs(bi.get(s)||null,e,t,n,r,o)),!0}return!1}function gx(e){var t=Ur(e.target);if(t!==null){var n=po(t);if(n!==null){if(t=n.tag,t===13){if(t=ox(n),t!==null){e.blockedOn=t,mx(e.priority,function(){hx(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 $a(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=id(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ed=r,n.target.dispatchEvent(r),ed=null}else return t=Xi(n),t!==null&&zf(t),e.blockedOn=n,!1;t.shift()}return!0}function im(e,t,n){$a(e)&&n.delete(t)}function aT(){sd=!1,lr!==null&&$a(lr)&&(lr=null),cr!==null&&$a(cr)&&(cr=null),ur!==null&&$a(ur)&&(ur=null),wi.forEach(im),bi.forEach(im)}function Vs(e,t){e.blockedOn===t&&(e.blockedOn=null,sd||(sd=!0,vt.unstable_scheduleCallback(vt.unstable_NormalPriority,aT)))}function Si(e){function t(o){return Vs(o,e)}if(0<ma.length){Vs(ma[0],e);for(var n=1;n<ma.length;n++){var r=ma[n];r.blockedOn===e&&(r.blockedOn=null)}}for(lr!==null&&Vs(lr,e),cr!==null&&Vs(cr,e),ur!==null&&Vs(ur,e),wi.forEach(t),bi.forEach(t),n=0;n<Zn.length;n++)r=Zn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Zn.length&&(n=Zn[0],n.blockedOn===null);)gx(n),n.blockedOn===null&&Zn.shift()}var Go=Vn.ReactCurrentBatchConfig,fl=!0;function lT(e,t,n,r){var o=ue,s=Go.transition;Go.transition=null;try{ue=1,$f(e,t,n,r)}finally{ue=o,Go.transition=s}}function cT(e,t,n,r){var o=ue,s=Go.transition;Go.transition=null;try{ue=4,$f(e,t,n,r)}finally{ue=o,Go.transition=s}}function $f(e,t,n,r){if(fl){var o=id(e,t,n,r);if(o===null)nu(e,t,r,hl,n),sm(e,r);else if(iT(o,e,t,n,r))r.stopPropagation();else if(sm(e,r),t&4&&-1<sT.indexOf(e)){for(;o!==null;){var s=Xi(o);if(s!==null&&fx(s),s=id(e,t,n,r),s===null&&nu(e,t,r,hl,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else nu(e,t,r,null,n)}}var hl=null;function id(e,t,n,r){if(hl=null,e=Ff(r),e=Ur(e),e!==null)if(t=po(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ox(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 hl=e,null}
vendor: 10,401 bytes, line 37
37function vx(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(QC()){case Vf:return 1;case lx:return 4;case ul:case XC:return 16;case cx:return 536870912;default:return 16}default:return 16}}var sr=null,Uf=null,Ua=null;function yx(){if(Ua)return Ua;var e,t=Uf,n=t.length,r,o="value"in sr?sr.value:sr.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 Ua=o.slice(e,1<r?1-r:void 0)}function Wa(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 ga(){return!0}function am(){return!1}function wt(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 a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ga:am,this.isPropagationStopped=am,this}return Ce(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=ga)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ga)},persist:function(){},isPersistent:ga}),t}var Cs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wf=wt(Cs),Qi=Ce({},Cs,{view:0,detail:0}),uT=wt(Qi),Gc,qc,Bs,Ql=Ce({},Qi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hf,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!==Bs&&(Bs&&e.type==="mousemove"?(Gc=e.screenX-Bs.screenX,qc=e.screenY-Bs.screenY):qc=Gc=0,Bs=e),Gc)},movementY:function(e){return"movementY"in e?e.movementY:qc}}),lm=wt(Ql),dT=Ce({},Ql,{dataTransfer:0}),fT=wt(dT),hT=Ce({},Qi,{relatedTarget:0}),Yc=wt(hT),pT=Ce({},Cs,{animationName:0,elapsedTime:0,pseudoElement:0}),mT=wt(pT),gT=Ce({},Cs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vT=wt(gT),yT=Ce({},Cs,{data:0}),cm=wt(yT),xT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wT={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"},bT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ST(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bT[e])?!!t[e]:!1}function Hf(){return ST}var kT=Ce({},Qi,{key:function(e){if(e.key){var t=xT[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Wa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hf,charCode:function(e){return e.type==="keypress"?Wa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Wa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),CT=wt(kT),TT=Ce({},Ql,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),um=wt(TT),ET=Ce({},Qi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hf}),PT=wt(ET),NT=Ce({},Cs,{propertyName:0,elapsedTime:0,pseudoElement:0}),jT=wt(NT),AT=Ce({},Ql,{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}),RT=wt(AT),IT=[9,13,27,32],Kf=An&&"CompositionEvent"in window,si=null;An&&"documentMode"in document&&(si=document.documentMode);var MT=An&&"TextEvent"in window&&!si,xx=An&&(!Kf||si&&8<si&&11>=si),dm=" ",fm=!1;function wx(e,t){switch(e){case"keyup":return IT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jo=!1;function DT(e,t){switch(e){case"compositionend":return bx(t);case"keypress":return t.which!==32?null:(fm=!0,dm);case"textInput":return e=t.data,e===dm&&fm?null:e;default:return null}}function OT(e,t){if(jo)return e==="compositionend"||!Kf&&wx(e,t)?(e=yx(),Ua=Uf=sr=null,jo=!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 xx&&t.locale!=="ko"?null:t.data;default:return null}}var _T={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 hm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_T[e.type]:t==="textarea"}function Sx(e,t,n,r){Jy(r),t=pl(t,"onChange"),0<t.length&&(n=new Wf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ii=null,ki=null;function LT(e){Mx(e,0)}function Xl(e){var t=Io(e);if(Ky(t))return e}function FT(e,t){if(e==="change")return t}var kx=!1;if(An){var Qc;if(An){var Xc="oninput"in document;if(!Xc){var pm=document.createElement("div");pm.setAttribute("oninput","return;"),Xc=typeof pm.oninput=="function"}Qc=Xc}else Qc=!1;kx=Qc&&(!document.documentMode||9<document.documentMode)}function mm(){ii&&(ii.detachEvent("onpropertychange",Cx),ki=ii=null)}function Cx(e){if(e.propertyName==="value"&&Xl(ki)){var t=[];Sx(t,ki,e,Ff(e)),rx(LT,t)}}function VT(e,t,n){e==="focusin"?(mm(),ii=t,ki=n,ii.attachEvent("onpropertychange",Cx)):e==="focusout"&&mm()}function BT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xl(ki)}function zT(e,t){if(e==="click")return Xl(t)}function $T(e,t){if(e==="input"||e==="change")return Xl(t)}function UT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qt=typeof Object.is=="function"?Object.is:UT;function Ci(e,t){if(qt(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(!$u.call(t,o)||!qt(e[o],t[o]))return!1}return!0}function gm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vm(e,t){var n=gm(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=gm(n)}}function Tx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Tx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ex(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=al(e.document)}return t}function Gf(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 WT(e){var t=Ex(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Tx(n.ownerDocument.documentElement,n)){if(r!==null&&Gf(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=vm(n,s);var i=vm(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 HT=An&&"documentMode"in document&&11>=document.documentMode,Ao=null,ad=null,ai=null,ld=!1;function ym(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ld||Ao==null||Ao!==al(r)||(r=Ao,"selectionStart"in r&&Gf(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}),ai&&Ci(ai,r)||(ai=r,r=pl(ad,"onSelect"),0<r.length&&(t=new Wf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ao)))}function va(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ro={animationend:va("Animation","AnimationEnd"),animationiteration:va("Animation","AnimationIteration"),animationstart:va("Animation","AnimationStart"),transitionend:va("Transition","TransitionEnd")},Zc={},Px={};An&&(Px=document.createElement("div").style,"AnimationEvent"in window||(delete Ro.animationend.animation,delete Ro.animationiteration.animation,delete Ro.animationstart.animation),"TransitionEvent"in window||delete Ro.transitionend.transition);function Zl(e){if(Zc[e])return Zc[e];if(!Ro[e])return e;var t=Ro[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Px)return Zc[e]=t[n];return e}var Nx=Zl("animationend"),jx=Zl("animationiteration"),Ax=Zl("animationstart"),Rx=Zl("transitionend"),Ix=new Map,xm="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 Tr(e,t){Ix.set(e,t),ho(t,[e])}for(var Jc=0;Jc<xm.length;Jc++){var eu=xm[Jc],KT=eu.toLowerCase(),GT=eu[0].toUpperCase()+eu.slice(1);Tr(KT,"on"+GT)}Tr(Nx,"onAnimationEnd");Tr(jx,"onAnimationIteration");Tr(Ax,"onAnimationStart");Tr("dblclick","onDoubleClick");Tr("focusin","onFocus");Tr("focusout","onBlur");Tr(Rx,"onTransitionEnd");cs("onMouseEnter",["mouseout","mouseover"]);cs("onMouseLeave",["mouseout","mouseover"]);cs("onPointerEnter",["pointerout","pointerover"]);cs("onPointerLeave",["pointerout","pointerover"]);ho("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ho("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ho("onBeforeInput",["compositionend","keypress","textInput","paste"]);ho("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ho("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ho("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xs="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(" "),qT=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xs));function wm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,KC(r,t,void 0,e),e.currentTarget=null}function Mx(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 a=r[i],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==s&&o.isPropagationStopped())break e;wm(o,a,c),s=l}else for(i=0;i<r.length;i++){if(a=r[i],l=a.instance,c=a.currentTarget,a=a.listener,l!==s&&o.isPropagationStopped())break e;wm(o,a,c),s=l}}}if(cl)throw e=rd,cl=!1,rd=null,e}function ge(e,t){var n=t[hd];n===void 0&&(n=t[hd]=new Set);var r=e+"__bubble";n.has(r)||(Dx(t,e,2,!1),n.add(r))}function tu(e,t,n){var r=0;t&&(r|=4),Dx(n,e,r,t)}var ya="_reactListening"+Math.random().toString(36).slice(2);function Ti(e){if(!e[ya]){e[ya]=!0,zy.forEach(function(n){n!=="selectionchange"&&(qT.has(n)||tu(n,!1,e),tu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ya]||(t[ya]=!0,tu("selectionchange",!1,t))}}function Dx(e,t,n,r){switch(vx(t)){case 1:var o=lT;break;case 4:o=cT;break;default:o=$f}n=o.bind(null,t,n,e),o=void 0,!nd||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 nu(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 a=r.stateNode.containerInfo;
vendor: 2,527 bytes, line 37
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;a!==null;){if(i=Ur(a),i===null)return;if(l=i.tag,l===5||l===6){r=s=i;continue e}a=a.parentNode}}r=r.return}rx(function(){var c=s,d=Ff(n),f=[];e:{var h=Ix.get(e);if(h!==void 0){var p=Wf,b=e;switch(e){case"keypress":if(Wa(n)===0)break e;case"keydown":case"keyup":p=CT;break;case"focusin":b="focus",p=Yc;break;case"focusout":b="blur",p=Yc;break;case"beforeblur":case"afterblur":p=Yc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=lm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=fT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=PT;break;case Nx:case jx:case Ax:p=mT;break;case Rx:p=jT;break;case"scroll":p=uT;break;case"wheel":p=RT;break;case"copy":case"cut":case"paste":p=vT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=um}var g=(t&4)!==0,w=!g&&e==="scroll",y=g?h!==null?h+"Capture":null:h;g=[];for(var v=c,x;v!==null;){x=v;var S=x.stateNode;if(x.tag===5&&S!==null&&(x=S,y!==null&&(S=xi(v,y),S!=null&&g.push(Ei(v,S,x)))),w)break;v=v.return}0<g.length&&(h=new p(h,b,null,n,d),f.push({event:h,listeners:g}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==ed&&(b=n.relatedTarget||n.fromElement)&&(Ur(b)||b[Rn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(b=n.relatedTarget||n.toElement,p=c,b=b?Ur(b):null,b!==null&&(w=po(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(p=null,b=c),p!==b)){if(g=lm,S="onMouseLeave",y="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(g=um,S="onPointerLeave",y="onPointerEnter",v="pointer"),w=p==null?h:Io(p),x=b==null?h:Io(b),h=new g(S,v+"leave",p,n,d),h.target=w,h.relatedTarget=x,S=null,Ur(d)===c&&(g=new g(y,v+"enter",b,n,d),g.target=x,g.relatedTarget=w,S=g),w=S,p&&b)t:{for(g=p,y=b,v=0,x=g;x;x=So(x))v++;for(x=0,S=y;S;S=So(S))x++;for(;0<v-x;)g=So(g),v--;for(;0<x-v;)y=So(y),x--;for(;v--;){if(g===y||y!==null&&g===y.alternate)break t;g=So(g),y=So(y)}g=null}else g=null;p!==null&&bm(f,h,p,g,!1),b!==null&&w!==null&&bm(f,w,b,g,!0)}}
vendor: 6,372 bytes, lines 37-38
37e:{if(h=c?Io(c):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var k=FT;else if(hm(h))if(kx)k=$T;else{k=BT;var C=VT}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=zT);if(k&&(k=k(e,c))){Sx(f,k,n,d);break e}C&&C(e,h,c),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&Yu(h,"number",h.value)}switch(C=c?Io(c):window,e){case"focusin":(hm(C)||C.contentEditable==="true")&&(Ao=C,ad=c,ai=null);break;case"focusout":ai=ad=Ao=null;break;case"mousedown":ld=!0;break;case"contextmenu":case"mouseup":case"dragend":ld=!1,ym(f,n,d);break;case"selectionchange":if(HT)break;case"keydown":case"keyup":ym(f,n,d)}var T;if(Kf)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 jo?wx(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(xx&&n.locale!=="ko"&&(jo||E!=="onCompositionStart"?E==="onCompositionEnd"&&jo&&(T=yx()):(sr=d,Uf="value"in sr?sr.value:sr.textContent,jo=!0)),C=pl(c,E),0<C.length&&(E=new cm(E,e,null,n,d),f.push({event:E,listeners:C}),T?E.data=T:(T=bx(n),T!==null&&(E.data=T)))),(T=MT?DT(e,n):OT(e,n))&&(c=pl(c,"onBeforeInput"),0<c.length&&(d=new cm("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:c}),d.data=T))}Mx(f,t)})}function Ei(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pl(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=xi(e,n),s!=null&&r.unshift(Ei(e,s,o)),s=xi(e,t),s!=null&&r.push(Ei(e,s,o))),e=e.return}return r}function So(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bm(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,o?(l=xi(n,s),l!=null&&i.unshift(Ei(n,l,a))):o||(l=xi(n,s),l!=null&&i.push(Ei(n,l,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var YT=/\r\n?/g,QT=/\u0000|\uFFFD/g;function Sm(e){return(typeof e=="string"?e:""+e).replace(YT,`
38`).replace(QT,"")}function xa(e,t,n){if(t=Sm(t),Sm(e)!==t&&n)throw Error(M(425))}function ml(){}var cd=null,ud=null;function dd(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 fd=typeof setTimeout=="function"?setTimeout:void 0,XT=typeof clearTimeout=="function"?clearTimeout:void 0,km=typeof Promise=="function"?Promise:void 0,ZT=typeof queueMicrotask=="function"?queueMicrotask:typeof km<"u"?function(e){return km.resolve(null).then(e).catch(JT)}:fd;function JT(e){setTimeout(function(){throw e})}function ru(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),Si(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Si(t)}function dr(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 Cm(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 Ts=Math.random().toString(36).slice(2),an="__reactFiber$"+Ts,Pi="__reactProps$"+Ts,Rn="__reactContainer$"+Ts,hd="__reactEvents$"+Ts,eE="__reactListeners$"+Ts,tE="__reactHandles$"+Ts;function Ur(e){var t=e[an];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Rn]||n[an]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cm(e);e!==null;){if(n=e[an])return n;e=Cm(e)}return t}e=n,n=e.parentNode}return null}function Xi(e){return e=e[an]||e[Rn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Io(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function Jl(e){return e[Pi]||null}var pd=[],Mo=-1;function Er(e){return{current:e}}function ve(e){0>Mo||(e.current=pd[Mo],pd[Mo]=null,Mo--)}function fe(e,t){Mo++,pd[Mo]=e.current,e.current=t}var wr={},Ze=Er(wr),lt=Er(!1),ro=wr;function us(e,t){var n=e.type.contextTypes;if(!n)return wr;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 ct(e){return e=e.childContextTypes,e!=null}function gl(){ve(lt),ve(Ze)}function Tm(e,t,n){if(Ze.current!==wr)throw Error(M(168));fe(Ze,t),fe(lt,n)}function Ox(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(M(108,VC(e)||"Unknown",o));return Ce({},n,r)}function vl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wr,ro=Ze.current,fe(Ze,e),fe(lt,lt.current),!0}function Em(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Ox(e,t,ro),r.__reactInternalMemoizedMergedChildContext=e,ve(lt),ve(Ze),fe(Ze,e)):ve(lt),fe(lt,n)}var kn=null,ec=!1,ou=!1;function _x(e){kn===null?kn=[e]:kn.push(e)}function nE(e){ec=!0,_x(e)}function Pr(){if(!ou&&kn!==null){ou=!0;var e=0,t=ue;try{var n=kn;for(ue=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}kn=null,ec=!1}catch(o){throw kn!==null&&(kn=kn.slice(e+1)),ax(Vf,Pr),o}finally{ue=t,ou=!1}}return null}var Do=[],Oo=0,yl=null,xl=0,Et=[],Pt=0,oo=null,Tn=1,En="";function Vr(e,t){Do[Oo++]=xl,Do[Oo++]=yl,yl=e,xl=t}function Lx(e,t,n){Et[Pt++]=Tn,Et[Pt++]=En,Et[Pt++]=oo,oo=e;var r=Tn;e=En;var o=32-Kt(r)-1;r&=~(1<<o),n+=1;var s=32-Kt(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Tn=1<<32-Kt(t)+o|n<<o|r,En=s+e}else Tn=1<<s|n<<o|r,En=e}function qf(e){e.return!==null&&(Vr(e,1),Lx(e,1,0))}function Yf(e){for(;e===yl;)yl=Do[--Oo],Do[Oo]=null,xl=Do[--Oo],Do[Oo]=null;for(;e===oo;)oo=Et[--Pt],Et[Pt]=null,En=Et[--Pt],Et[Pt]=null,Tn=Et[--Pt],Et[Pt]=null}var pt=null,ht=null,we=!1,Ht=null;function Fx(e,t){var n=Nt(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 Pm(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 13,792 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,pt=e,ht=dr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,pt=e,ht=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=oo!==null?{id:Tn,overflow:En}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Nt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,pt=e,ht=null,!0):!1;default:return!1}}function md(e){return(e.mode&1)!==0&&(e.flags&128)===0}function gd(e){if(we){var t=ht;if(t){var n=t;if(!Pm(e,t)){if(md(e))throw Error(M(418));t=dr(n.nextSibling);var r=pt;t&&Pm(e,t)?Fx(r,n):(e.flags=e.flags&-4097|2,we=!1,pt=e)}}else{if(md(e))throw Error(M(418));e.flags=e.flags&-4097|2,we=!1,pt=e}}}function Nm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;pt=e}function wa(e){if(e!==pt)return!1;if(!we)return Nm(e),we=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!dd(e.type,e.memoizedProps)),t&&(t=ht)){if(md(e))throw Vx(),Error(M(418));for(;t;)Fx(e,t),t=dr(t.nextSibling)}if(Nm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ht=dr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ht=null}}else ht=pt?dr(e.stateNode.nextSibling):null;return!0}function Vx(){for(var e=ht;e;)e=dr(e.nextSibling)}function ds(){ht=pt=null,we=!1}function Qf(e){Ht===null?Ht=[e]:Ht.push(e)}var rE=Vn.ReactCurrentBatchConfig;function zs(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function ba(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jm(e){var t=e._init;return t(e._payload)}function Bx(e){function t(y,v){if(e){var x=y.deletions;x===null?(y.deletions=[v],y.flags|=16):x.push(v)}}function n(y,v){if(!e)return null;for(;v!==null;)t(y,v),v=v.sibling;return null}function r(y,v){for(y=new Map;v!==null;)v.key!==null?y.set(v.key,v):y.set(v.index,v),v=v.sibling;return y}function o(y,v){return y=mr(y,v),y.index=0,y.sibling=null,y}function s(y,v,x){return y.index=x,e?(x=y.alternate,x!==null?(x=x.index,x<v?(y.flags|=2,v):x):(y.flags|=2,v)):(y.flags|=1048576,v)}function i(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,v,x,S){return v===null||v.tag!==6?(v=du(x,y.mode,S),v.return=y,v):(v=o(v,x),v.return=y,v)}function l(y,v,x,S){var k=x.type;return k===No?d(y,v,x.props.children,S,x.key):v!==null&&(v.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Qn&&jm(k)===v.type)?(S=o(v,x.props),S.ref=zs(y,v,x),S.return=y,S):(S=Xa(x.type,x.key,x.props,null,y.mode,S),S.ref=zs(y,v,x),S.return=y,S)}function c(y,v,x,S){return v===null||v.tag!==4||v.stateNode.containerInfo!==x.containerInfo||v.stateNode.implementation!==x.implementation?(v=fu(x,y.mode,S),v.return=y,v):(v=o(v,x.children||[]),v.return=y,v)}function d(y,v,x,S,k){return v===null||v.tag!==7?(v=eo(x,y.mode,S,k),v.return=y,v):(v=o(v,x),v.return=y,v)}function f(y,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return v=du(""+v,y.mode,x),v.return=y,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ua:return x=Xa(v.type,v.key,v.props,null,y.mode,x),x.ref=zs(y,null,v),x.return=y,x;case Po:return v=fu(v,y.mode,x),v.return=y,v;case Qn:var S=v._init;return f(y,S(v._payload),x)}if(Ys(v)||_s(v))return v=eo(v,y.mode,x,null),v.return=y,v;ba(y,v)}return null}function h(y,v,x,S){var k=v!==null?v.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return k!==null?null:a(y,v,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ua:return x.key===k?l(y,v,x,S):null;case Po:return x.key===k?c(y,v,x,S):null;case Qn:return k=x._init,h(y,v,k(x._payload),S)}if(Ys(x)||_s(x))return k!==null?null:d(y,v,x,S,null);ba(y,x)}return null}function p(y,v,x,S,k){if(typeof S=="string"&&S!==""||typeof S=="number")return y=y.get(x)||null,a(v,y,""+S,k);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ua:return y=y.get(S.key===null?x:S.key)||null,l(v,y,S,k);case Po:return y=y.get(S.key===null?x:S.key)||null,c(v,y,S,k);case Qn:var C=S._init;return p(y,v,x,C(S._payload),k)}if(Ys(S)||_s(S))return y=y.get(x)||null,d(v,y,S,k,null);ba(v,S)}return null}function b(y,v,x,S){for(var k=null,C=null,T=v,E=v=0,A=null;T!==null&&E<x.length;E++){T.index>E?(A=T,T=null):A=T.sibling;var R=h(y,T,x[E],S);if(R===null){T===null&&(T=A);break}e&&T&&R.alternate===null&&t(y,T),v=s(R,v,E),C===null?k=R:C.sibling=R,C=R,T=A}if(E===x.length)return n(y,T),we&&Vr(y,E),k;if(T===null){for(;E<x.length;E++)T=f(y,x[E],S),T!==null&&(v=s(T,v,E),C===null?k=T:C.sibling=T,C=T);return we&&Vr(y,E),k}for(T=r(y,T);E<x.length;E++)A=p(T,y,E,x[E],S),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?E:A.key),v=s(A,v,E),C===null?k=A:C.sibling=A,C=A);return e&&T.forEach(function(B){return t(y,B)}),we&&Vr(y,E),k}function g(y,v,x,S){var k=_s(x);if(typeof k!="function")throw Error(M(150));if(x=k.call(x),x==null)throw Error(M(151));for(var C=k=null,T=v,E=v=0,A=null,R=x.next();T!==null&&!R.done;E++,R=x.next()){T.index>E?(A=T,T=null):A=T.sibling;var B=h(y,T,R.value,S);if(B===null){T===null&&(T=A);break}e&&T&&B.alternate===null&&t(y,T),v=s(B,v,E),C===null?k=B:C.sibling=B,C=B,T=A}if(R.done)return n(y,T),we&&Vr(y,E),k;if(T===null){for(;!R.done;E++,R=x.next())R=f(y,R.value,S),R!==null&&(v=s(R,v,E),C===null?k=R:C.sibling=R,C=R);return we&&Vr(y,E),k}for(T=r(y,T);!R.done;E++,R=x.next())R=p(T,y,E,R.value,S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?E:R.key),v=s(R,v,E),C===null?k=R:C.sibling=R,C=R);return e&&T.forEach(function(O){return t(y,O)}),we&&Vr(y,E),k}function w(y,v,x,S){if(typeof x=="object"&&x!==null&&x.type===No&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case ua:e:{for(var k=x.key,C=v;C!==null;){if(C.key===k){if(k=x.type,k===No){if(C.tag===7){n(y,C.sibling),v=o(C,x.props.children),v.return=y,y=v;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Qn&&jm(k)===C.type){n(y,C.sibling),v=o(C,x.props),v.ref=zs(y,C,x),v.return=y,y=v;break e}n(y,C);break}else t(y,C);C=C.sibling}x.type===No?(v=eo(x.props.children,y.mode,S,x.key),v.return=y,y=v):(S=Xa(x.type,x.key,x.props,null,y.mode,S),S.ref=zs(y,v,x),S.return=y,y=S)}return i(y);case Po:e:{for(C=x.key;v!==null;){if(v.key===C)if(v.tag===4&&v.stateNode.containerInfo===x.containerInfo&&v.stateNode.implementation===x.implementation){n(y,v.sibling),v=o(v,x.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=fu(x,y.mode,S),v.return=y,y=v}return i(y);case Qn:return C=x._init,w(y,v,C(x._payload),S)}if(Ys(x))return b(y,v,x,S);if(_s(x))return g(y,v,x,S);ba(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,v!==null&&v.tag===6?(n(y,v.sibling),v=o(v,x),v.return=y,y=v):(n(y,v),v=du(x,y.mode,S),v.return=y,y=v),i(y)):n(y,v)}return w}var fs=Bx(!0),zx=Bx(!1),wl=Er(null),bl=null,_o=null,Xf=null;function Zf(){Xf=_o=bl=null}function Jf(e){var t=wl.current;ve(wl),e._currentValue=t}function vd(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 qo(e,t){bl=e,Xf=_o=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(at=!0),e.firstContext=null)}function At(e){var t=e._currentValue;if(Xf!==e)if(e={context:e,memoizedValue:t,next:null},_o===null){if(bl===null)throw Error(M(308));_o=e,bl.dependencies={lanes:0,firstContext:e}}else _o=_o.next=e;return t}var Wr=null;function eh(e){Wr===null?Wr=[e]:Wr.push(e)}function $x(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,eh(t)):(n.next=o.next,o.next=n),t.interleaved=n,In(e,r)}function In(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 Xn=!1;function th(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ux(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 fr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,oe&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,In(e,n)}return o=r.interleaved,o===null?(t.next=t,eh(r)):(t.next=o.next,o.next=t),r.interleaved=t,In(e,n)}function Ha(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,Bf(e,n)}}function Am(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 Sl(e,t,n,r){var o=e.updateQueue;Xn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,c=l.next;l.next=null,i===null?s=c:i.next=c,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==i&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=l))}if(s!==null){var f=o.baseState;i=0,d=c=l=null,a=s;do{var h=a.lane,p=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var b=e,g=a;switch(h=t,p=n,g.tag){case 1:if(b=g.payload,typeof b=="function"){f=b.call(p,f,h);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=g.payload,h=typeof b=="function"?b.call(p,f,h):b,h==null)break e;f=Ce({},f,h);break e;case 2:Xn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=p,l=f):d=d.next=p,i|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(d===null&&(l=f),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,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);io|=i,e.lanes=i,e.memoizedState=f}}function Rm(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(M(191,o));o.call(r)}}}var Zi={},dn=Er(Zi),Ni=Er(Zi),ji=Er(Zi);function Hr(e){if(e===Zi)throw Error(M(174));return e}function nh(e,t){switch(fe(ji,t),fe(Ni,e),fe(dn,Zi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xu(t,e)}ve(dn),fe(dn,t)}function hs(){ve(dn),ve(Ni),ve(ji)}function Wx(e){Hr(ji.current);var t=Hr(dn.current),n=Xu(t,e.type);t!==n&&(fe(Ni,e),fe(dn,n))}function rh(e){Ni.current===e&&(ve(dn),ve(Ni))}var be=Er(0);function kl(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 su=[];function oh(){for(var e=0;e<su.length;e++)su[e]._workInProgressVersionPrimary=null;su.length=0}var Ka=Vn.ReactCurrentDispatcher,iu=Vn.ReactCurrentBatchConfig,so=0,ke=null,De=null,Le=null,Cl=!1,li=!1,Ai=0,oE=0;function Ke(){throw Error(M(321))}function sh(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qt(e[n],t[n]))return!1;return!0}function ih(e,t,n,r,o,s){if(so=s,ke=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ka.current=e===null||e.memoizedState===null?lE:cE,e=n(r,o),li){s=0;do{if(li=!1,Ai=0,25<=s)throw Error(M(301));s+=1,Le=De=null,t.updateQueue=null,Ka.current=uE,e=n(r,o)}while(li)}if(Ka.current=Tl,t=De!==null&&De.next!==null,so=0,Le=De=ke=null,Cl=!1,t)throw Error(M(300));return e}function ah(){var e=Ai!==0;return Ai=0,e}function nn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Le===null?ke.memoizedState=Le=e:Le=Le.next=e,Le}function Rt(){if(De===null){var e=ke.alternate;e=e!==null?e.memoizedState:null}else e=De.next;var t=Le===null?ke.memoizedState:Le.next;if(t!==null)Le=t,De=e;else{if(e===null)throw Error(M(310));De=e,e={memoizedState:De.memoizedState,baseState:De.baseState,baseQueue:De.baseQueue,queue:De.queue,next:null},Le===null?ke.memoizedState=Le=e:Le=Le.next=e}return Le}function Ri(e,t){return typeof t=="function"?t(e):t}function au(e){var t=Rt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=De,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;
vendor: 4,153 bytes, line 38
38o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,l=null,c=s;do{var d=c.lane;if((so&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,i=r):l=l.next=f,ke.lanes|=d,io|=d}c=c.next}while(c!==null&&c!==s);l===null?i=r:l.next=a,qt(r,t.memoizedState)||(at=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,ke.lanes|=s,io|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function lu(e){var t=Rt(),n=t.queue;if(n===null)throw Error(M(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);qt(s,t.memoizedState)||(at=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Hx(){}function Kx(e,t){var n=ke,r=Rt(),o=t(),s=!qt(r.memoizedState,o);if(s&&(r.memoizedState=o,at=!0),r=r.queue,lh(Yx.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Le!==null&&Le.memoizedState.tag&1){if(n.flags|=2048,Ii(9,qx.bind(null,n,r,o,t),void 0,null),Fe===null)throw Error(M(349));so&30||Gx(n,t,o)}return o}function Gx(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ke.updateQueue,t===null?(t={lastEffect:null,stores:null},ke.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function qx(e,t,n,r){t.value=n,t.getSnapshot=r,Qx(t)&&Xx(e)}function Yx(e,t,n){return n(function(){Qx(t)&&Xx(e)})}function Qx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qt(e,n)}catch{return!0}}function Xx(e){var t=In(e,1);t!==null&&Gt(t,e,1,-1)}function Im(e){var t=nn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:e},t.queue=e,e=e.dispatch=aE.bind(null,ke,e),[t.memoizedState,e]}function Ii(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ke.updateQueue,t===null?(t={lastEffect:null,stores:null},ke.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 Zx(){return Rt().memoizedState}function Ga(e,t,n,r){var o=nn();ke.flags|=e,o.memoizedState=Ii(1|t,n,void 0,r===void 0?null:r)}function tc(e,t,n,r){var o=Rt();r=r===void 0?null:r;var s=void 0;if(De!==null){var i=De.memoizedState;if(s=i.destroy,r!==null&&sh(r,i.deps)){o.memoizedState=Ii(t,n,s,r);return}}ke.flags|=e,o.memoizedState=Ii(1|t,n,s,r)}function Mm(e,t){return Ga(8390656,8,e,t)}function lh(e,t){return tc(2048,8,e,t)}function Jx(e,t){return tc(4,2,e,t)}function e0(e,t){return tc(4,4,e,t)}function t0(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 n0(e,t,n){return n=n!=null?n.concat([e]):null,tc(4,4,t0.bind(null,t,e),n)}function ch(){}function r0(e,t){var n=Rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sh(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function o0(e,t){var n=Rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sh(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function s0(e,t,n){return so&21?(qt(n,t)||(n=ux(),ke.lanes|=n,io|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,at=!0),e.memoizedState=n)}function sE(e,t){var n=ue;ue=n!==0&&4>n?n:4,e(!0);var r=iu.transition;iu.transition={};try{e(!1),t()}finally{ue=n,iu.transition=r}}function i0(){return Rt().memoizedState}function iE(e,t,n){var r=pr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},a0(e))l0(t,n);else if(n=$x(e,t,n,r),n!==null){var o=nt();Gt(n,e,r,o),c0(n,t,r)}}function aE(e,t,n){var r=pr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(a0(e))l0(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,a=s(i,n);
vendor: 6,551 bytes, lines 38-40
38if(o.hasEagerState=!0,o.eagerState=a,qt(a,i)){var l=t.interleaved;l===null?(o.next=o,eh(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=$x(e,t,o,r),n!==null&&(o=nt(),Gt(n,e,r,o),c0(n,t,r))}}function a0(e){var t=e.alternate;return e===ke||t!==null&&t===ke}function l0(e,t){li=Cl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function c0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bf(e,n)}}var Tl={readContext:At,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},lE={readContext:At,useCallback:function(e,t){return nn().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:Mm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ga(4194308,4,t0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ga(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ga(4,2,e,t)},useMemo:function(e,t){var n=nn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nn();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=iE.bind(null,ke,e),[r.memoizedState,e]},useRef:function(e){var t=nn();return e={current:e},t.memoizedState=e},useState:Im,useDebugValue:ch,useDeferredValue:function(e){return nn().memoizedState=e},useTransition:function(){var e=Im(!1),t=e[0];return e=sE.bind(null,e[1]),nn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ke,o=nn();if(we){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Fe===null)throw Error(M(349));so&30||Gx(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Mm(Yx.bind(null,r,s,e),[e]),r.flags|=2048,Ii(9,qx.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=nn(),t=Fe.identifierPrefix;if(we){var n=En,r=Tn;n=(r&~(1<<32-Kt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ai++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=oE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},cE={readContext:At,useCallback:r0,useContext:At,useEffect:lh,useImperativeHandle:n0,useInsertionEffect:Jx,useLayoutEffect:e0,useMemo:o0,useReducer:au,useRef:Zx,useState:function(){return au(Ri)},useDebugValue:ch,useDeferredValue:function(e){var t=Rt();return s0(t,De.memoizedState,e)},useTransition:function(){var e=au(Ri)[0],t=Rt().memoizedState;return[e,t]},useMutableSource:Hx,useSyncExternalStore:Kx,useId:i0,unstable_isNewReconciler:!1},uE={readContext:At,useCallback:r0,useContext:At,useEffect:lh,useImperativeHandle:n0,useInsertionEffect:Jx,useLayoutEffect:e0,useMemo:o0,useReducer:lu,useRef:Zx,useState:function(){return lu(Ri)},useDebugValue:ch,useDeferredValue:function(e){var t=Rt();return De===null?t.memoizedState=e:s0(t,De.memoizedState,e)},useTransition:function(){var e=lu(Ri)[0],t=Rt().memoizedState;return[e,t]},useMutableSource:Hx,useSyncExternalStore:Kx,useId:i0,unstable_isNewReconciler:!1};function Bt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function yd(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var nc={isMounted:function(e){return(e=e._reactInternals)?po(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nt(),o=pr(e),s=Pn(r,o);s.payload=t,n!=null&&(s.callback=n),t=fr(e,s,o),t!==null&&(Gt(t,e,o,r),Ha(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nt(),o=pr(e),s=Pn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=fr(e,s,o),t!==null&&(Gt(t,e,o,r),Ha(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nt(),r=pr(e),o=Pn(n,r);o.tag=2,t!=null&&(o.callback=t),t=fr(e,o,r),t!==null&&(Gt(t,e,r,n),Ha(t,e,r))}};function Dm(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?!Ci(n,r)||!Ci(o,s):!0}function u0(e,t,n){var r=!1,o=wr,s=t.contextType;return typeof s=="object"&&s!==null?s=At(s):(o=ct(t)?ro:Ze.current,r=t.contextTypes,s=(r=r!=null)?us(e,o):wr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=nc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Om(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&&nc.enqueueReplaceState(t,t.state,null)}function xd(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},th(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=At(s):(s=ct(t)?ro:Ze.current,o.context=us(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(yd(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&&nc.enqueueReplaceState(o,o.state,null),Sl(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ps(e,t){try{var n="",r=t;do n+=FC(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 cu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function wd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dE=typeof WeakMap=="function"?WeakMap:Map;function d0(e,t,n){n=Pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Pl||(Pl=!0,Ad=r),wd(e,t)},n}function f0(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(){wd(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){wd(e,t),typeof r!="function"&&(hr===null?hr=ne
vendor: 10,519 bytes, line 40
40w Set([this]):hr.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function _m(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new dE;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=TE.bind(null,e,t,n),t.then(e,e))}function Lm(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 Fm(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,fr(n,t,1))),n.lanes|=1),e)}var fE=Vn.ReactCurrentOwner,at=!1;function et(e,t,n,r){t.child=e===null?zx(t,null,n,r):fs(t,e.child,n,r)}function Vm(e,t,n,r,o){n=n.render;var s=t.ref;return qo(t,o),r=ih(e,t,n,r,s,o),n=ah(),e!==null&&!at?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mn(e,t,o)):(we&&n&&qf(t),t.flags|=1,et(e,t,r,o),t.child)}function Bm(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!vh(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,h0(e,t,s,r,o)):(e=Xa(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:Ci,n(i,r)&&e.ref===t.ref)return Mn(e,t,o)}return t.flags|=1,e=mr(s,r),e.ref=t.ref,e.return=t,t.child=e}function h0(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(Ci(s,r)&&e.ref===t.ref)if(at=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(at=!0);else return t.lanes=e.lanes,Mn(e,t,o)}return bd(e,t,n,r,o)}function p0(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},fe(Fo,dt),dt|=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,fe(Fo,dt),dt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,fe(Fo,dt),dt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,fe(Fo,dt),dt|=r;return et(e,t,o,n),t.child}function m0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function bd(e,t,n,r,o){var s=ct(n)?ro:Ze.current;return s=us(t,s),qo(t,o),n=ih(e,t,n,r,s,o),r=ah(),e!==null&&!at?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mn(e,t,o)):(we&&r&&qf(t),t.flags|=1,et(e,t,n,o),t.child)}function zm(e,t,n,r,o){if(ct(n)){var s=!0;vl(t)}else s=!1;if(qo(t,o),t.stateNode===null)qa(e,t),u0(t,n,r),xd(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=At(c):(c=ct(n)?ro:Ze.current,c=us(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||l!==c)&&Om(t,i,r,c),Xn=!1;var h=t.memoizedState;i.state=h,Sl(t,r,i,o),l=t.memoizedState,a!==r||h!==l||lt.current||Xn?(typeof d=="function"&&(yd(t,n,d,r),l=t.memoizedState),(a=Xn||Dm(t,n,a,r,h,l,c))?(f||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=l),i.props=r,i.state=l,i.context=c,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ux(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Bt(t.type,a),i.props=c,f=t.pendingProps,h=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=At(l):(l=ct(n)?ro:Ze.current,l=us(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||h!==l)&&Om(t,i,r,l),Xn=!1,h=t.memoizedState,i.state=h,Sl(t,r,i,o);var b=t.memoizedState;a!==f||h!==b||lt.current||Xn?(typeof p=="function"&&(yd(t,n,p,r),b=t.memoizedState),(c=Xn||Dm(t,n,c,r,h,b,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,b,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,b,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),i.props=r,i.state=b,i.context=l,r=c):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Sd(e,t,n,r,s,o)}function Sd(e,t,n,r,o,s){m0(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Em(t,n,!1),Mn(e,t,s);r=t.stateNode,fE.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=fs(t,e.child,null,s),t.child=fs(t,null,a,s)):et(e,t,a,s),t.memoizedState=r.state,o&&Em(t,n,!0),t.child}function g0(e){var t=e.stateNode;t.pendingContext?Tm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Tm(e,t.context,!1),nh(e,t.containerInfo)}function $m(e,t,n,r,o){return ds(),Qf(o),t.flags|=256,et(e,t,n,r),t.child}var kd={dehydrated:null,treeContext:null,retryLane:0};function Cd(e){return{baseLanes:e,cachePool:null,transitions:null}}function v0(e,t,n){var r=t.pendingProps,o=be.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),fe(be,o&1),e===null)return gd(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=sc(i,r,0,null),e=eo(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Cd(n),t.memoizedState=kd,e):uh(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return hE(e,t,i,r,a,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=mr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=mr(a,s):(s=eo(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?Cd(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=kd,r}return s=e.child,e=s.sibling,r=mr(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 uh(e,t){return t=sc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Sa(e,t,n,r){return r!==null&&Qf(r),fs(t,e.child,null,n),e=uh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hE(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=cu(Error(M(422))),Sa(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=sc({mode:"visible",children:r.children},o,0,null),s=eo(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&fs(t,e.child,null,i),t.child.memoizedState=Cd(i),t.memoizedState=kd,s);if(!(t.mode&1))return Sa(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=cu(s,r,void 0),Sa(e,t,i,r)}if(a=(i&e.childLanes)!==0,at||a){if(r=Fe,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,In(e,o),Gt(r,e,o,-1))}return gh(),r=cu(Error(M(421))),Sa(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=EE.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,ht=dr(o.nextSibling),pt=t,we=!0,Ht=null,e!==null&&(Et[Pt++]=Tn,Et[Pt++]=En,Et[Pt++]=oo,Tn=e.id,En=e.overflow,oo=t),t=uh(t,r.children),t.flags|=4096,t)}function Um(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),vd(e.return,t,n)}function uu(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 y0(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(et(e,t,r.children,n),r=be.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&&Um(e,n,t);else if(e.tag===19)Um(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(fe(be,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&&kl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),uu(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&&kl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}uu(t,!0,n,null,s);break;case"together":uu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Mn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),io|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));
vendor: 4,746 bytes, line 40
40if(t.child!==null){for(e=t.child,n=mr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=mr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function pE(e,t,n){switch(t.tag){case 3:g0(t),ds();break;case 5:Wx(t);break;case 1:ct(t.type)&&vl(t);break;case 4:nh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;fe(wl,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(fe(be,be.current&1),t.flags|=128,null):n&t.child.childLanes?v0(e,t,n):(fe(be,be.current&1),e=Mn(e,t,n),e!==null?e.sibling:null);fe(be,be.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return y0(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),fe(be,be.current),r)break;return null;case 22:case 23:return t.lanes=0,p0(e,t,n)}return Mn(e,t,n)}var x0,Td,w0,b0;x0=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}};Td=function(){};w0=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Hr(dn.current);var s=null;switch(n){case"input":o=Gu(e,o),r=Gu(e,r),s=[];break;case"select":o=Ce({},o,{value:void 0}),r=Ce({},r,{value:void 0}),s=[];break;case"textarea":o=Qu(e,o),r=Qu(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ml)}Zu(n,r);var i;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var a=o[c];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(vi.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in r){var l=r[c];if(a=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(s||(s=[]),s.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(vi.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&ge("scroll",e),s||a===l||(s=[])):(s=s||[]).push(c,l))}n&&(s=s||[]).push("style",n);var c=s;(t.updateQueue=c)&&(t.flags|=4)}};b0=function(e,t,n,r){n!==r&&(t.flags|=4)};function $s(e,t){if(!we)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 Ge(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}function mE(e,t,n){var r=t.pendingProps;switch(Yf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(t),null;case 1:return ct(t.type)&&gl(),Ge(t),null;case 3:return r=t.stateNode,hs(),ve(lt),ve(Ze),oh(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ht!==null&&(Md(Ht),Ht=null))),Td(e,t),Ge(t),null;case 5:rh(t);var o=Hr(ji.current);if(n=t.type,e!==null&&t.stateNode!=null)w0(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Ge(t),null}if(e=Hr(dn.current),wa(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[an]=t,r[Pi]=s,e=(t.mode&1)!==0,n){case"dialog":ge("cancel",r),ge("close",r);break;case"iframe":case"object":case"embed":ge("load",r);break;case"video":case"audio":for(o=0;o<Xs.length;o++)ge(Xs[o],r);break;case"source":ge("error",r);break;case"img":case"image":case"link":ge("error",r),ge("load",r);break;case"details":ge("toggle",r);break;case"input":Zp(r,s),ge("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ge("invalid",r);break;case"textarea":em(r,s),ge("invalid",r)}Zu(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];
vendor: 28,896 bytes, line 40
40i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&xa(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&xa(r.textContent,a,e),o=["children",""+a]):vi.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&ge("scroll",r)}switch(n){case"input":da(r),Jp(r,s,!0);break;case"textarea":da(r),tm(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=ml)}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=Yy(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[an]=t,e[Pi]=r,x0(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ju(n,r),n){case"dialog":ge("cancel",e),ge("close",e),o=r;break;case"iframe":case"object":case"embed":ge("load",e),o=r;break;case"video":case"audio":for(o=0;o<Xs.length;o++)ge(Xs[o],e);o=r;break;case"source":ge("error",e),o=r;break;case"img":case"image":case"link":ge("error",e),ge("load",e),o=r;break;case"details":ge("toggle",e),o=r;break;case"input":Zp(e,r),o=Gu(e,r),ge("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ce({},r,{value:void 0}),ge("invalid",e);break;case"textarea":em(e,r),o=Qu(e,r),ge("invalid",e);break;default:o=r}Zu(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Zy(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Qy(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&yi(e,l):typeof l=="number"&&yi(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(vi.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ge("scroll",e):l!=null&&Df(e,s,l,i))}switch(n){case"input":da(e),Jp(e,r,!1);break;case"textarea":da(e),tm(e);break;case"option":r.value!=null&&e.setAttribute("value",""+xr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Wo(e,!!r.multiple,s,!1):r.defaultValue!=null&&Wo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ml)}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 Ge(t),null;case 6:if(e&&t.stateNode!=null)b0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Hr(ji.current),Hr(dn.current),wa(t)){if(r=t.stateNode,n=t.memoizedProps,r[an]=t,(s=r.nodeValue!==n)&&(e=pt,e!==null))switch(e.tag){case 3:xa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xa(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[an]=t,t.stateNode=r}return Ge(t),null;case 13:if(ve(be),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(we&&ht!==null&&t.mode&1&&!(t.flags&128))Vx(),ds(),t.flags|=98560,s=!1;else if(s=wa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[an]=t}else ds(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ge(t),s=!1}else Ht!==null&&(Md(Ht),Ht=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||be.current&1?Oe===0&&(Oe=3):gh())),t.updateQueue!==null&&(t.flags|=4),Ge(t),null);case 4:return hs(),Td(e,t),e===null&&Ti(t.stateNode.containerInfo),Ge(t),null;case 10:return Jf(t.type._context),Ge(t),null;case 17:return ct(t.type)&&gl(),Ge(t),null;case 19:if(ve(be),s=t.memoizedState,s===null)return Ge(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)$s(s,!1);else{if(Oe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=kl(e),i!==null){for(t.flags|=128,$s(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 fe(be,be.current&1|2),t.child}e=e.sibling}s.tail!==null&&Re()>ms&&(t.flags|=128,r=!0,$s(s,!1),t.lanes=4194304)}else{if(!r)if(e=kl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$s(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!we)return Ge(t),null}else 2*Re()-s.renderingStartTime>ms&&n!==1073741824&&(t.flags|=128,r=!0,$s(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=Re(),t.sibling=null,n=be.current,fe(be,r?n&1|2:n&1),t):(Ge(t),null);case 22:case 23:return mh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dt&1073741824&&(Ge(t),t.subtreeFlags&6&&(t.flags|=8192)):Ge(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function gE(e,t){switch(Yf(t),t.tag){case 1:return ct(t.type)&&gl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hs(),ve(lt),ve(Ze),oh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return rh(t),null;case 13:if(ve(be),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));ds()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ve(be),null;case 4:return hs(),null;case 10:return Jf(t.type._context),null;case 22:case 23:return mh(),null;case 24:return null;default:return null}}var ka=!1,Qe=!1,vE=typeof WeakSet=="function"?WeakSet:Set,V=null;function Lo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){je(e,t,r)}else n.current=null}function Ed(e,t,n){try{n()}catch(r){je(e,t,r)}}var Wm=!1;function yE(e,t){if(cd=fl,e=Ex(),Gf(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,a=-1,l=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(a=i+o),f!==s||r!==0&&f.nodeType!==3||(l=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===o&&(a=i),h===s&&++d===r&&(l=i),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ud={focusedElem:e,selectionRange:n},fl=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;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 g=b.memoizedProps,w=b.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Bt(t.type,g),w);y.__reactInternalSnapshotBeforeUpdate=v}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(M(163))}}catch(S){je(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return b=Wm,Wm=!1,b}function ci(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&&Ed(t,n,s)}o=o.next}while(o!==r)}}function rc(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 Pd(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 S0(e){var t=e.alternate;t!==null&&(e.alternate=null,S0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[an],delete t[Pi],delete t[hd],delete t[eE],delete t[tE])),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 k0(e){return e.tag===5||e.tag===3||e.tag===4}function Hm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||k0(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 Nd(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=ml));else if(r!==4&&(e=e.child,e!==null))for(Nd(e,t,n),e=e.sibling;e!==null;)Nd(e,t,n),e=e.sibling}function jd(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(jd(e,t,n),e=e.sibling;e!==null;)jd(e,t,n),e=e.sibling}var Be=null,Wt=!1;function Wn(e,t,n){for(n=n.child;n!==null;)C0(e,t,n),n=n.sibling}function C0(e,t,n){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(Yl,n)}catch{}switch(n.tag){case 5:Qe||Lo(n,t);case 6:var r=Be,o=Wt;Be=null,Wn(e,t,n),Be=r,Wt=o,Be!==null&&(Wt?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(Wt?(e=Be,n=n.stateNode,e.nodeType===8?ru(e.parentNode,n):e.nodeType===1&&ru(e,n),Si(e)):ru(Be,n.stateNode));break;case 4:r=Be,o=Wt,Be=n.stateNode.containerInfo,Wt=!0,Wn(e,t,n),Be=r,Wt=o;break;case 0:case 11:case 14:case 15:if(!Qe&&(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)&&Ed(n,t,i),o=o.next}while(o!==r)}Wn(e,t,n);break;case 1:if(!Qe&&(Lo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){je(n,t,a)}Wn(e,t,n);break;case 21:Wn(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,Wn(e,t,n),Qe=r):Wn(e,t,n);break;default:Wn(e,t,n)}}function Km(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vE),t.forEach(function(r){var o=PE.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ot(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,a=i;e:for(;a!==null;){switch(a.tag){case 5:Be=a.stateNode,Wt=!1;break e;case 3:Be=a.stateNode.containerInfo,Wt=!0;break e;case 4:Be=a.stateNode.containerInfo,Wt=!0;break e}a=a.return}if(Be===null)throw Error(M(160));C0(s,i,o),Be=null,Wt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){je(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)T0(t,e),t=t.sibling}function T0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ot(t,e),en(e),r&4){try{ci(3,e,e.return),rc(3,e)}catch(g){je(e,e.return,g)}try{ci(5,e,e.return)}catch(g){je(e,e.return,g)}}break;case 1:Ot(t,e),en(e),r&512&&n!==null&&Lo(n,n.return);break;case 5:if(Ot(t,e),en(e),r&512&&n!==null&&Lo(n,n.return),e.flags&32){var o=e.stateNode;try{yi(o,"")}catch(g){je(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Gy(o,s),Ju(a,i);var c=Ju(a,s);for(i=0;i<l.length;i+=2){var d=l[i],f=l[i+1];d==="style"?Zy(o,f):d==="dangerouslySetInnerHTML"?Qy(o,f):d==="children"?yi(o,f):Df(o,d,f,c)}switch(a){case"input":qu(o,s);break;case"textarea":qy(o,s);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?Wo(o,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?Wo(o,!!s.multiple,s.defaultValue,!0):Wo(o,!!s.multiple,s.multiple?[]:"",!1))}o[Pi]=s}catch(g){je(e,e.return,g)}}break;case 6:if(Ot(t,e),en(e),r&4){if(e.stateNode===null)throw Error(M(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(g){je(e,e.return,g)}}break;case 3:if(Ot(t,e),en(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Si(t.containerInfo)}catch(g){je(e,e.return,g)}break;case 4:Ot(t,e),en(e);break;case 13:Ot(t,e),en(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(hh=Re())),r&4&&Km(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Qe=(c=Qe)||d,Ot(t,e),Qe=c):Ot(t,e),en(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(V=e,d=e.child;d!==null;){for(f=V=d;V!==null;){switch(h=V,p=h.child,h.tag){case 0:case 11:case 14:case 15:ci(4,h,h.return);break;case 1:Lo(h,h.return);var b=h.stateNode;if(typeof b.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(g){je(r,n,g)}}break;case 5:Lo(h,h.return);break;case 22:if(h.memoizedState!==null){qm(f);continue}}p!==null?(p.return=h,V=p):qm(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,c?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Xy("display",i))}catch(g){je(e,e.return,g)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){je(e,e.return,g)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Ot(t,e),en(e),r&4&&Km(e);break;case 21:break;default:Ot(t,e),en(e)}}function en(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(k0(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(yi(o,""),r.flags&=-33);var s=Hm(e);jd(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=Hm(e);Nd(e,a,i);break;default:throw Error(M(161))}}catch(l){je(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xE(e,t,n){V=e,E0(e)}function E0(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var o=V,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||ka;if(!i){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Qe;a=ka;var c=Qe;if(ka=i,(Qe=l)&&!c)for(V=o;V!==null;)i=V,l=i.child,i.tag===22&&i.memoizedState!==null?Ym(o):l!==null?(l.return=i,V=l):Ym(o);for(;s!==null;)V=s,E0(s),s=s.sibling;V=o,ka=a,Qe=c}Gm(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,V=s):Gm(e)}}function Gm(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Qe||rc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Qe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Bt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Rm(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}Rm(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Si(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Qe||t.flags&512&&Pd(t)}catch(h){je(t,t.return,h)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function qm(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function Ym(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rc(4,t)}catch(l){je(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){je(t,o,l)}}var s=t.return;try{Pd(t)}catch(l){je(t,s,l)}break;case 5:var i=t.return;try{Pd(t)}catch(l){je(t,i,l)}}}catch(l){je(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var wE=Math.ceil,El=Vn.ReactCurrentDispatcher,dh=Vn.ReactCurrentOwner,jt=Vn.ReactCurrentBatchConfig,oe=0,Fe=null,Ie=null,$e=0,dt=0,Fo=Er(0),Oe=0,Mi=null,io=0,oc=0,fh=0,ui=null,it=null,hh=0,ms=1/0,Sn=null,Pl=!1,Ad=null,hr=null,Ca=!1,ir=null,Nl=0,di=0,Rd=null,Ya=-1,Qa=0;function nt(){return oe&6?Re():Ya!==-1?Ya:Ya=Re()}function pr(e){return e.mode&1?oe&2&&$e!==0?$e&-$e:rE.transition!==null?(Qa===0&&(Qa=ux()),Qa):(e=ue,e!==0||(e=window.event,e=e===void 0?16:vx(e.type)),e):1}function Gt(e,t,n,r){if(50<di)throw di=0,Rd=null,Error(M(185));Yi(e,n,r),(!(oe&2)||e!==Fe)&&(e===Fe&&(!(oe&2)&&(oc|=n),Oe===4&&Jn(e,$e)),ut(e,r),n===1&&oe===0&&!(t.mode&1)&&(ms=Re()+500,ec&&Pr()))}function ut(e,t){var n=e.callbackNode;rT(e,t);var r=dl(e,e===Fe?$e:0);if(r===0)n!==null&&om(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&om(n),t===1)e.tag===0?nE(Qm.bind(null,e)):_x(Qm.bind(null,e)),ZT(function(){!(oe&6)&&Pr()}),n=null;else{switch(dx(r)){case 1:n=Vf;break;case 4:n=lx;break;case 16:n=ul;break;case 536870912:n=cx;break;default:n=ul}n=D0(n,P0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function P0(e,t){if(Ya=-1,Qa=0,oe&6)throw Error(M(327));var n=e.callbackNode;if(Yo()&&e.callbackNode!==n)return null;var r=dl(e,e===Fe?$e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=jl(e,r);else{t=r;var o=oe;oe|=2;var s=j0();(Fe!==e||$e!==t)&&(Sn=null,ms=Re()+500,Jr(e,t));do try{kE();break}catch(a){N0(e,a)}while(!0);Zf(),El.current=s,oe=o,Ie!==null?t=0:(Fe=null,$e=0,t=Oe)}if(t!==0){if(t===2&&(o=od(e),o!==0&&(r=o,t=Id(e,o))),t===1)throw n=Mi,Jr(e,0),Jn(e,r),ut(e,Re()),n;if(t===6)Jn(e,r);else{if(o=e.current.alternate,!(r&30)&&!bE(o)&&(t=jl(e,r),t===2&&(s=od(e),s!==0&&(r=s,t=Id(e,s))),t===1))throw n=Mi,Jr(e,0),Jn(e,r),ut(e,Re()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:Br(e,it,Sn);break;case 3:if(Jn(e,r),(r&130023424)===r&&(t=hh+500-Re(),10<t)){if(dl(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){nt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=fd(Br.bind(null,e,it,Sn),t);break}Br(e,it,Sn);break;case 4:if(Jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Kt(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=Re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wE(r/1960))-r,10<r){e.timeoutHandle=fd(Br.bind(null,e,it,Sn),r);break}Br(e,it,Sn);break;case 5:Br(e,it,Sn);break;default:throw Error(M(329))}}}return ut(e,Re()),e.callbackNode===n?P0.bind(null,e):null}function Id(e,t){var n=ui;return e.current.memoizedState.isDehydrated&&(Jr(e,t).flags|=256),e=jl(e,t),e!==2&&(t=it,it=n,t!==null&&Md(t)),e}function Md(e){it===null?it=e:it.push.apply(it,e)}function bE(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(!qt(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 Jn(e,t){for(t&=~fh,t&=~oc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Kt(t),r=1<<n;e[n]=-1,t&=~r}}function Qm(e){if(oe&6)throw Error(M(327));Yo();var t=dl(e,0);if(!(t&1))return ut(e,Re()),null;var n=jl(e,t);if(e.tag!==0&&n===2){var r=od(e);r!==0&&(t=r,n=Id(e,r))}if(n===1)throw n=Mi,Jr(e,0),Jn(e,t),ut(e,Re()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Br(e,it,Sn),ut(e,Re()),null}function ph(e,t){var n=oe;oe|=1;try{return e(t)}finally{oe=n,oe===0&&(ms=Re()+500,ec&&Pr())}}function ao(e){ir!==null&&ir.tag===0&&!(oe&6)&&Yo();var t=oe;oe|=1;var n=jt.transition,r=ue;try{if(jt.transition=null,ue=1,e)return e()}finally{ue=r,jt.transition=n,oe=t,!(oe&6)&&Pr()}}function mh(){dt=Fo.current,ve(Fo)}function Jr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,XT(n)),Ie!==null)for(n=Ie.return;n!==null;){var r=n;switch(Yf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&gl();break;case 3:hs(),ve(lt),ve(Ze),oh();break;case 5:rh(r);break;case 4:hs();break;case 13:ve(be);break;case 19:ve(be);break;case 10:Jf(r.type._context);break;case 22:case 23:mh()}n=n.return}if(Fe=e,Ie=e=mr(e.current,null),$e=dt=t,Oe=0,Mi=null,fh=oc=io=0,it=ui=null,Wr!==null){for(t=0;t<Wr.length;t++)if(n=Wr[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}Wr=null}return e}function N0(e,t){do{var n=Ie;try{if(Zf(),Ka.current=Tl,Cl){for(var r=ke.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Cl=!1}if(so=0,Le=De=ke=null,li=!1,Ai=0,dh.current=null,n===null||n.return===null){Oe=1,Mi=t,Ie=null;break}e:{var s=e,i=n.return,a=n,l=t;if(t=$e,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Lm(i);if(p!==null){p.flags&=-257,Fm(p,i,a,s,t),p.mode&1&&_m(s,c,t),t=p,l=c;var b=t.updateQueue;if(b===null){var g=new Set;g.add(l),t.updateQueue=g}else b.add(l);break e}else{if(!(t&1)){_m(s,c,t),gh();break e}l=Error(M(426))}}else if(we&&a.mode&1){var w=Lm(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Fm(w,i,a,s,t),Qf(ps(l,a));break e}}s=l=ps(l,a),Oe!==4&&(Oe=2),ui===null?ui=[s]:ui.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var y=d0(s,l,t);Am(s,y);break e;case 1:a=l;var v=s.type,x=s.stateNode;if(!(s.flags&128)&&(typeof v.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(hr===null||!hr.has(x)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=f0(s,a,t);Am(s,S);break e}}s=s.return}while(s!==null)}R0(n)}catch(k){t=k,Ie===n&&n!==null&&(Ie=n=n.return);continue}break}while(!0)}function j0(){var e=El.current;return El.current=Tl,e===null?Tl:e}function gh(){(Oe===0||Oe===3||Oe===2)&&(Oe=4),Fe===null||!(io&268435455)&&!(oc&268435455)||Jn(Fe,$e)}function jl(e,t){var n=oe;oe|=2;var r=j0();(Fe!==e||$e!==t)&&(Sn=null,Jr(e,t));do try{SE();break}catch(o){N0(e,o)}while(!0);if(Zf(),oe=n,El.current=r,Ie!==null)throw Error(M(261));return Fe=null,$e=0,Oe}function SE(){for(;Ie!==null;)A0(Ie)}function kE(){for(;Ie!==null&&!qC();)A0(Ie)}function A0(e){var t=M0(e.alternate,e,dt);e.memoizedProps=e.pendingProps,t===null?R0(e):Ie=t,dh.current=null}function R0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=gE(n,t),n!==null){n.flags&=32767,Ie=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Oe=6,Ie=null;return}}else if(n=mE(n,t,dt),n!==null){Ie=n;return}if(t=t.sibling,t!==null){Ie=t;return}Ie=t=e}while(t!==null);Oe===0&&(Oe=5)}function Br(e,t,n){var r=ue,o=jt.transition;try{jt.transition=null,ue=1,CE(e,t,n,r)}finally{jt.transition=o,ue=r}return null}function CE(e,t,n,r){do Yo();while(ir!==null);if(oe&6)throw Error(M(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(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(oT(e,s),e===Fe&&(Ie=Fe=null,$e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ca||(Ca=!0,D0(ul,function(){return Yo(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=jt.transition,jt.transition=null;var i=ue;ue=1;var a=oe;oe|=4,dh.current=null,yE(e,n),T0(n,e),WT(ud),fl=!!cd,ud=cd=null,e.current=n,xE(n),YC(),oe=a,ue=i,jt.transition=s}else e.current=n;if(Ca&&(Ca=!1,ir=e,Nl=o),s=e.pendingLanes,s===0&&(hr=null),ZC(n.stateNode),ut(e,Re()),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(Pl)throw Pl=!1,e=Ad,Ad=null,e;return Nl&1&&e.tag!==0&&Yo(),s=e.pendingLanes,s&1?e===Rd?di++:(di=0,Rd=e):di=0,Pr(),null}function Yo(){if(ir!==null){var e=dx(Nl),t=jt.transition,n=ue;try{if(jt.transition=null,ue=16>e?16:e,ir===null)var r=!1;else{if(e=ir,ir=null,Nl=0,oe&6)throw Error(M(331));var o=oe;for(oe|=4,V=e.current;V!==null;){var s=V,i=s.child;if(V.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(V=c;V!==null;){var d=V;switch(d.tag){case 0:case 11:case 15:ci(8,d,s)}var f=d.child;if(f!==null)f.return=d,V=f;else for(;V!==null;){d=V;var h=d.sibling,p=d.return;if(S0(d),d===c){V=null;break}if(h!==null){h.return=p,V=h;break}V=p}}}var b=s.alternate;if(b!==null){var g=b.child;if(g!==null){b.child=null;do{var w=g.sibling;g.sibling=null,g=w}while(g!==null)}}V=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,V=i;else e:for(;V!==null;){if(s=V,s.flags&2048)switch(s.tag){case 0:case 11:case 15:ci(9,s,s.return)}var y=s.sibling;if(y!==null){y.return=s.return,V=y;break e}V=s.return}}var v=e.current;for(V=v;V!==null;){i=V;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,V=x;else e:for(i=v;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:rc(9,a)}}catch(k){je(a,a.return,k)}if(a===i){V=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,V=S;break e}V=a.return}}if(oe=o,Pr(),un&&typeof un.onPostCommitFiberRoot=="function")try{un.onPostCommitFiberRoot(Yl,e)}catch{}r=!0}return r}finally{ue=n,jt.transition=t}}return!1}function Xm(e,t,n){t=ps(n,t),t=d0(e,t,1),e=fr(e,t,1),t=nt(),e!==null&&(Yi(e,1,t),ut(e,t))}function je(e,t,n){if(e.tag===3)Xm(e,e,n);else for(;t!==null;){if(t.tag===3){Xm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(hr===null||!hr.has(r))){e=ps(n,e),e=f0(t,e,1),t=fr(t,e,1),e=nt(),t!==null&&(Yi(t,1,e),ut(t,e));break}}t=t.return}}function TE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=nt(),e.pingedLanes|=e.suspendedLanes&n,Fe===e&&($e&n)===n&&(Oe===4||Oe===3&&($e&130023424)===$e&&500>Re()-hh?Jr(e,0):fh|=n),ut(e,t)}function I0(e,t){t===0&&(e.mode&1?(t=pa,pa<<=1,!(pa&130023424)&&(pa=4194304)):t=1);var n=nt();e=In(e,t),e!==null&&(Yi(e,t,n),ut(e,n))}function EE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),I0(e,n)}function PE(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(M(314))}r!==null&&r.delete(t),I0(e,n)}var M0;M0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||lt.current)at=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return at=!1,pE(e,t,n);at=!!(e.flags&131072)}else at=!1,we&&t.flags&1048576&&Lx(t,xl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qa(e,t),e=t.pendingProps;var o=us(t,Ze.current);qo(t,n),o=ih(null,t,r,e,o,n);var s=ah();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,ct(r)?(s=!0,vl(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,th(t),o.updater=nc,t.stateNode=o,o._reactInternals=t,xd(t,r,e,n),t=Sd(null,t,r,!0,s,n)):(t.tag=0,we&&s&&qf(t),et(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qa(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=jE(r),e=Bt(r,e),o){case 0:t=bd(null,t,r,e,n);break e;case 1:t=zm(null,t,r,e,n);break e;case 11:t=Vm(null,t,r,e,n);break e;case 14:t=Bm(null,t,r,Bt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bt(r,o),bd(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bt(r,o),zm(e,t,r,o,n);case 3:e:{if(g0(t),e===null)throw Error(M(387));
vendor: 8,088 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,o=s.element,Ux(e,t),Sl(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=ps(Error(M(423)),t),t=$m(e,t,r,n,o);break e}else if(r!==o){o=ps(Error(M(424)),t),t=$m(e,t,r,n,o);break e}else for(ht=dr(t.stateNode.containerInfo.firstChild),pt=t,we=!0,Ht=null,n=zx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ds(),r===o){t=Mn(e,t,n);break e}et(e,t,r,n)}t=t.child}return t;case 5:return Wx(t),e===null&&gd(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,dd(r,o)?i=null:s!==null&&dd(r,s)&&(t.flags|=32),m0(e,t),et(e,t,i,n),t.child;case 6:return e===null&&gd(t),null;case 13:return v0(e,t,n);case 4:return nh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=fs(t,null,r,n):et(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bt(r,o),Vm(e,t,r,o,n);case 7:return et(e,t,t.pendingProps,n),t.child;case 8:return et(e,t,t.pendingProps.children,n),t.child;case 12:return et(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,fe(wl,r._currentValue),r._currentValue=i,s!==null)if(qt(s.value,i)){if(s.children===o.children&&!lt.current){t=Mn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=Pn(-1,n&-n),l.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),vd(s.return,n,t),a.lanes|=n;break}l=l.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(M(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),vd(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}et(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,qo(t,n),o=At(o),r=r(o),t.flags|=1,et(e,t,r,n),t.child;case 14:return r=t.type,o=Bt(r,t.pendingProps),o=Bt(r.type,o),Bm(e,t,r,o,n);case 15:return h0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Bt(r,o),qa(e,t),t.tag=1,ct(r)?(e=!0,vl(t)):e=!1,qo(t,n),u0(t,r,o),xd(t,r,o,n),Sd(null,t,r,!0,e,n);case 19:return y0(e,t,n);case 22:return p0(e,t,n)}throw Error(M(156,t.tag))};function D0(e,t){return ax(e,t)}function NE(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 Nt(e,t,n,r){return new NE(e,t,n,r)}function vh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jE(e){if(typeof e=="function")return vh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_f)return 11;if(e===Lf)return 14}return 2}function mr(e,t){var n=e.alternate;return n===null?(n=Nt(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 Xa(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")vh(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case No:return eo(n.children,o,s,t);case Of:i=8,o|=8;break;case Uu:return e=Nt(12,n,t,o|2),e.elementType=Uu,e.lanes=s,e;case Wu:return e=Nt(13,n,t,o),e.elementType=Wu,e.lanes=s,e;case Hu:return e=Nt(19,n,t,o),e.elementType=Hu,e.lanes=s,e;case Wy:return sc(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $y:i=10;break e;case Uy:i=9;break e;case _f:i=11;break e;case Lf:i=14;break e;case Qn:i=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Nt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function eo(e,t,n,r){return e=Nt(7,e,r,t),e.lanes=n,e}function sc(e,t,n,r){return e=Nt(22,e,r,t),e.elementType=Wy,e.lanes=n,e.stateNode={isHidden:!1},e}function du(e,t,n){return e=Nt(6,e,null,t),e.lanes=n,e}function fu(e,t,n){return t=Nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AE(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=Kc(0),this.expirationTimes=Kc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function yh(e,t,n,r,o,s,i,a,l){return e=new AE(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Nt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},th(s),e}function RE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Po,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function O0(e){if(!e)return wr;e=e._reactInternals;e:{if(po(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ct(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(ct(n))return Ox(e,n,t)}return t}function _0(e,t,n,r,o,s,i,a,l){return e=yh(n,r,!0,e,o,s,i,a,l),e.context=O0(null),n=e.current,r=nt(),o=pr(n),s=Pn(r,o),s.callback=t??null,fr(n,s,o),e.current.lanes=o,Yi(e,o,r),ut(e,r),e}function ic(e,t,n,r){var o=t.current,s=nt(),i=pr(o);return n=O0(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=fr(o,t,i),e!==null&&(Gt(e,o,i,s),Ha(e,o,i)),i}function Al(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 Zm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function xh(e,t){Zm(e,t),(e=e.alternate)&&Zm(e,t)}function IE(){return null}var L0=typeof reportError=="function"?reportError:function(e){console.error(e)};function wh(e){this._internalRoot=e}ac.prototype.render=wh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));ic(e,t,null,null)};ac.prototype.unmount=wh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ao(function(){ic(null,e,null,null)}),t[Rn]=null}};function ac(e){this._internalRoot=e}ac.prototype.unstable_scheduleHydration=function(e){if(e){var t=px();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Zn.length&&t!==0&&t<Zn[n].priority;n++);Zn.splice(n,0,e),n===0&&gx(e)}};function bh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function lc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Jm(){}function ME(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var c=Al(i);s.call(c)}}var i=_0(t,r,e,0,null,!1,!1,"",Jm);return e._reactRootContainer=i,e[Rn]=i.current,Ti(e.nodeType===8?e.parentNode:e),ao(),i}for(;
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var c=Al(l);a.call(c)}}var l=yh(e,0,!1,null,null,!1,!1,"",Jm);return e._reactRootContainer=l,e[Rn]=l.current,Ti(e.nodeType===8?e.parentNode:e),ao(function(){ic(t,l,n,r)}),l}function cc(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var l=Al(i);a.call(l)}}ic(t,i,e,o)}else i=ME(n,t,e,o,r);return Al(i)}fx=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Qs(t.pendingLanes);n!==0&&(Bf(t,n|1),ut(t,Re()),!(oe&6)&&(ms=Re()+500,Pr()))}break;case 13:ao(function(){var r=In(e,1);if(r!==null){var o=nt();Gt(r,e,1,o)}}),xh(e,1)}};zf=function(e){if(e.tag===13){var t=In(e,134217728);if(t!==null){var n=nt();Gt(t,e,134217728,n)}xh(e,134217728)}};hx=function(e){if(e.tag===13){var t=pr(e),n=In(e,t);if(n!==null){var r=nt();Gt(n,e,t,r)}xh(e,t)}};px=function(){return ue};mx=function(e,t){var n=ue;try{return ue=e,t()}finally{ue=n}};td=function(e,t,n){switch(t){case"input":if(qu(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=Jl(r);if(!o)throw Error(M(90));Ky(r),qu(r,o)}}}break;case"textarea":qy(e,n);break;case"select":t=n.value,t!=null&&Wo(e,!!n.multiple,t,!1)}};tx=ph;nx=ao;var DE={usingClientEntryPoint:!1,Events:[Xi,Io,Jl,Jy,ex,ph]},Us={findFiberByHostInstance:Ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},OE={bundleType:Us.bundleType,version:Us.version,rendererPackageName:Us.rendererPackageName,rendererConfig:Us.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Vn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=sx(e),e===null?null:e.stateNode},findFiberByHostInstance:Us.findFiberByHostInstance||IE,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 Ta=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ta.isDisabled&&Ta.supportsFiber)try{Yl=Ta.inject(OE),un=Ta}catch{}}xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=DE;xt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!bh(t))throw Error(M(200));return RE(e,t,null,n)};xt.createRoot=function(e,t){if(!bh(e))throw Error(M(299));var n=!1,r="",o=L0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=yh(e,1,!1,null,null,n,!1,r,o),e[Rn]=t.current,Ti(e.nodeType===8?e.parentNode:e),new wh(t)};xt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=sx(t),e=e===null?null:e.stateNode,e};xt.flushSync=function(e){return ao(e)};xt.hydrate=function(e,t,n){if(!lc(t))throw Error(M(200));return cc(null,e,t,!0,n)};xt.hydrateRoot=function(e,t,n){if(!bh(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=L0;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=_0(t,null,e,1,n??null,o,!1,s,i),e[Rn]=t.current,Ti(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 ac(t)};xt.render=function(e,t,n){if(!lc(t))throw Error(M(200));return cc(null,e,t,!1,n)};xt.unmountComponentAtNode=function(e){if(!lc(e))throw Error(M(40));return e._reactRootContainer?(ao(function(){cc(null,null,e,!1,function(){e._reactRootContainer=null,e[Rn]=null})}),!0):!1};xt.unstable_batchedUpdates=ph;xt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!lc(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return cc(e,t,n,!1,r)};xt.version="18.3.1-next-f1338f8080-20240426";function F0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(F0)}catch(e){console.error(e)}}F0(),Fy.exports=xt;var mo=Fy.exports;const V0=Ey(mo);var B0,eg=mo;B0=eg.createRoot,eg.hydrateRoot;var uc=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(){}},dc=typeof window>"u"||"Deno"in globalThis;function zt(){}function _E(e,t){return typeof e=="function"?e(t):e}function LE(e){return typeof e=="number"&&e>=0&&e!==1/0}function FE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Dd(e,t){return typeof e=="function"?e(t):e}function VE(e,t){return typeof e=="function"?e(t):e}function tg(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Sh(i,t.options))return!1}else if(!Oi(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function ng(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Di(t.options.mutationKey)!==Di(s))return!1}else if(!Oi(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Sh(e,t){return((t==null?void 0:t.queryKeyHashFn)||Di)(e)}function Di(e){return JSON.stringify(e,(t,n)=>Od(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Oi(e[n],t[n])):!1}function z0(e,t){if(e===t)return e;const n=rg(e)&&rg(t);if(n||Od(e)&&Od(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,a=n?[]:{},l=new Set(r);let c=0;for(let d=0;d<i;d++){const f=n?d:s[d];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,c++):(a[f]=z0(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&c++)}return o===i&&c===o?e:a}return t}function rg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Od(e){if(!og(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!og(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function og(e){return Object.prototype.toString.call(e)==="[object Object]"}function BE(e){return new Promise(t=>{setTimeout(t,e)})}function zE(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?z0(e,t):t}function $E(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function UE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var kh=Symbol();function $0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===kh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Gr,er,ts,yy,WE=(yy=class extends uc{constructor(){super();ie(this,Gr);ie(this,er);ie(this,ts);X(this,ts,t=>{if(!dc&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){j(this,er)||this.setEventListener(j(this,ts))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,er))==null||t.call(this),X(this,er,void 0))}setEventListener(t){var n;X(this,ts,t),(n=j(this,er))==null||n.call(this),X(this,er,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){j(this,Gr)!==t&&(X(this,Gr,t),this.onFocus())}onFocus(){const t=this.isFocused();
40this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof j(this,Gr)=="boolean"?j(this,Gr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Gr=new WeakMap,er=new WeakMap,ts=new WeakMap,yy),U0=new WE,ns,tr,rs,xy,HE=(xy=class extends uc{constructor(){super();ie(this,ns,!0);ie(this,tr);ie(this,rs);X(this,rs,t=>{if(!dc&&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(){j(this,tr)||this.setEventListener(j(this,rs))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,tr))==null||t.call(this),X(this,tr,void 0))}setEventListener(t){var n;X(this,rs,t),(n=j(this,tr))==null||n.call(this),X(this,tr,t(this.setOnline.bind(this)))}setOnline(t){j(this,ns)!==t&&(X(this,ns,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return j(this,ns)}},ns=new WeakMap,tr=new WeakMap,rs=new WeakMap,xy),Rl=new HE;function KE(){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 GE(e){return Math.min(1e3*2**e,3e4)}function W0(e){return(e??"online")==="online"?Rl.isOnline():!0}var H0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function hu(e){return e instanceof H0}function K0(e){let t=!1,n=0,r=!1,o;const s=KE(),i=g=>{var w;r||(h(new H0(g)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>U0.isFocused()&&(e.networkMode==="always"||Rl.isOnline())&&e.canRun(),d=()=>W0(e.networkMode)&&e.canRun(),f=g=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,g),o==null||o(),s.resolve(g))},h=g=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,g),o==null||o(),s.reject(g))},p=()=>new Promise(g=>{var w;o=y=>{(r||c())&&g(y)},(w=e.onPause)==null||w.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),b=()=>{if(r)return;let g;const w=n===0?e.initialPromise:void 0;try{g=w??e.fn()}catch(y){g=Promise.reject(y)}Promise.resolve(g).then(f).catch(y=>{var C;if(r)return;const v=e.retry??(dc?0:3),x=e.retryDelay??GE,S=typeof x=="function"?x(n,y):x,k=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,y);if(t||!k){h(y);return}n++,(C=e.onFail)==null||C.call(e,n,y),BE(S).then(()=>c()?void 0:p()).then(()=>{t?h(y):b()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?b():p().then(b),s)}}var qE=e=>setTimeout(e,0);function YE(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=qE;const s=a=>{t?e.push(a):o(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||i()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var tt=YE(),qr,wy,G0=(wy=class{constructor(){ie(this,qr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),LE(this.gcTime)&&X(this,qr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(dc?1/0:5*60*1e3))}clearGcTimeout(){j(this,qr)&&(clearTimeout(j(this,qr)),X(this,qr,void 0))}},qr=new WeakMap,wy),os,Yr,Tt,Qr,qe,Ki,Xr,$t,bn,by,QE=(by=class extends G0{constructor(t){super();ie(this,$t);ie(this,os);ie(this,Yr);ie(this,Tt);ie(this,Qr);ie(this,qe);ie(this,Ki);ie(this,Xr);X(this,Xr,!1),X(this,Ki,t.defaultOptions),this.setOptions(t.options),this.observers=[],X(this,Qr,t.client),X(this,Tt,j(this,Qr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,X(this,os,ZE(this.options)),this.state=t.state??j(this,os),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=j(this,qe))==null?void 0:t.promise}setOptions(t){this.options={...j(this,Ki),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&j(this,Tt).remove(this)}setData(t,n){const r=zE(this.state.data,t,this.options);return He(this,$t,bn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){He(this,$t,bn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=j(this,qe))==null?void 0:r.promise;return(o=j(this,qe))==null||o.cancel(t),n?n.then(zt).catch(zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(j(this,os))}isActive(){return this.observers.some(t=>
40VE(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===kh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Dd(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:!FE(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,qe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,qe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),j(this,Tt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(j(this,qe)&&(j(this,Xr)?j(this,qe).cancel({revert:!0}):j(this,qe).cancelRetry()),this.scheduleGc()),j(this,Tt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||He(this,$t,bn).call(this,{type:"invalidate"})}
40fetch(t,n){var c,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(j(this,qe))return j(this,qe).continueRetry(),j(this,qe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(X(this,Xr,!0),r.signal)})},s=()=>{const h=$0(this.options,n),b=(()=>{const g={client:j(this,Qr),queryKey:this.queryKey,meta:this.meta};return o(g),g})();return X(this,Xr,!1),this.options.persister?this.options.persister(h,b,this):h(b)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:j(this,Qr),state:this.state,fetchFn:s};return o(h),h})();(c=this.options.behavior)==null||c.onFetch(a,this),X(this,Yr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&He(this,$t,bn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,b,g,w;hu(h)&&h.silent||He(this,$t,bn).call(this,{type:"error",error:h}),hu(h)||((b=(p=j(this,Tt).config).onError)==null||b.call(p,h,this),(w=(g=j(this,Tt).config).onSettled)==null||w.call(g,this.state.data,h,this)),this.scheduleGc()};return X(this,qe,K0({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,b,g,w;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(y){l(y);return}(b=(p=j(this,Tt).config).onSuccess)==null||b.call(p,h,this),(w=(g=j(this,Tt).config).onSettled)==null||w.call(g,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{He(this,$t,bn).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{He(this,$t,bn).call(this,{type:"pause"})},onContinue:()=>{He(this,$t,bn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),j(this,qe).start()}},os=new WeakMap,Yr=new WeakMap,Tt=new WeakMap,Qr=new WeakMap,qe=new WeakMap,Ki=new WeakMap,Xr=new WeakMap,$t=new WeakSet,bn=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,...XE(r.data,this.options),fetchMeta:t.meta??null};case"success":return X(this,Yr,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 hu(o)&&o.revert&&j(this,Yr)?{...j(this,Yr),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),tt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),j(this,Tt).notify({query:this,type:"updated",action:t})})},by);function XE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:W0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ZE(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 rn,Sy,JE=(Sy=class extends uc{constructor(t={}){super();ie(this,rn);this.config=t,X(this,rn,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Sh(o,n);let i=this.get(s);return i||(i=new QE({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){j(this,rn).has(t.queryHash)||(j(this,rn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=j(this,rn).get(t.queryHash);n&&(t.destroy(),n===t&&j(this,rn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){tt.batch(()=>
40{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return j(this,rn).get(t)}getAll(){return[...j(this,rn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>tg(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>tg(t,r)):n}notify(t){tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){tt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){tt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},rn=new WeakMap,Sy),on,Je,Zr,sn,Gn,ky,eP=(ky=class extends G0{constructor(t){super();ie(this,sn);ie(this,on);ie(this,Je);ie(this,Zr);this.mutationId=t.mutationId,X(this,Je,t.mutationCache),X(this,on,[]),this.state=t.state||tP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){j(this,on).includes(t)||(j(this,on).push(t),this.clearGcTimeout(),j(this,Je).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){X(this,on,j(this,on).filter(n=>n!==t)),this.scheduleGc(),j(this,Je).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){j(this,on).length||(this.state.status==="pending"?this.scheduleGc():j(this,Je).remove(this))}continue(){var t;return((t=j(this,Zr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,a,l,c,d,f,h,p,b,g,w,y,v,x,S,k,C,T,E;const n=()=>{He(this,sn,Gn).call(this,{type:"continue"})};X(this,Zr,K0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,R)=>{He(this,sn,Gn).call(this,{type:"failed",failureCount:A,error:R})},onPause:()=>{He(this,sn,Gn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>j(this,Je).canRun(this)}));const r=this.state.status==="pending",o=!j(this,Zr).canStart();try{if(r)n();else{He(this,sn,Gn).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=j(this,Je).config).onMutate)==null?void 0:i.call(s,t,this));const R=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));R!==this.state.context&&He(this,sn,Gn).call(this,{type:"pending",context:R,variables:t,isPaused:o})}const A=await j(this,Zr).start();return await((d=(c=j(this,Je).config).onSuccess)==null?void 0:d.call(c,A,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,A,t,this.state.context)),await((b=(p=j(this,Je).config).onSettled)==null?void 0:b.call(p,A,null,this.state.variables,this.state.context,this)),await((w=(g=this.options).onSettled)==null?void 0:w.call(g,A,null,t,this.state.context)),He(this,sn,Gn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((v=(y=j(this,Je).config).onError)==null?void 0:v.call(y,A,t,this.state.context,this)),await((S=(x=this.options).onError)==null?void 0:S.call(x,A,t,this.state.context)),await((C=(k=j(this,Je).config).onSettled)==null?void 0:C.call(k,void 0,A,this.state.variables,this.state.context,this)),await((E=(T=this.options).onSettled)==null?void 0:E.call(T,void 0,A,t,this.state.context)),A}finally{He(this,sn,Gn).call(this,{type:"error",error:A})}}finally{j(this,Je).runNext(this)}}},on=new WeakMap,Je=new WeakMap,Zr=new WeakMap,sn=new WeakSet,Gn=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),tt.batch(()=>{j(this,on).forEach(r=>{r.onMutationUpdate(t)}),j(this,Je).notify({mutation:this,type:"updated",action:t})})},ky);function tP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cn,Ut,Gi,Cy,nP=(Cy=class extends uc{constructor(t={}){super();ie(this,Cn);ie(this,Ut);ie(this,Gi);this.config=t,X(this,Cn,new Set),X(this,Ut,new Map),X(this,Gi,0)}build(t,n,r){const o=new eP({mutationCache:this,mutationId:++la(this,Gi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){j(this,Cn).add(t);const n=Ea(t);if(typeof n=="string"){const r=j(this,Ut).get(n);r?r.push(t):j(this,Ut).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(j(this,Cn).delete(t)){const n=Ea(t);if(typeof n=="string"){const r=j(this,Ut).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&j(this,Ut).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ea(t);if(typeof n=="string"){const r=j(this,Ut).get(n),o=r==null?void 0:r.find(s=>
40s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Ea(t);if(typeof n=="string"){const o=(r=j(this,Ut).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(){tt.batch(()=>{j(this,Cn).forEach(t=>{this.notify({type:"removed",mutation:t})}),j(this,Cn).clear(),j(this,Ut).clear()})}getAll(){return Array.from(j(this,Cn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>ng(n,r))}findAll(t={}){return this.getAll().filter(n=>ng(t,n))}notify(t){tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return tt.batch(()=>Promise.all(t.map(n=>n.continue().catch(zt))))}},Cn=new WeakMap,Ut=new WeakMap,Gi=new WeakMap,Cy);function Ea(e){var t;return(t=e.options.scope)==null?void 0:t.id}function sg(e){return{onFetch:(t,n)=>{var d,f,h,p,b;const r=t.options,o=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],i=((b=t.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let g=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},y=$0(t.options,t.fetchOptions),v=async(x,S,k)=>{if(g)return Promise.reject();if(S==null&&x.pages.length)return Promise.resolve(x);const T=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:S,direction:k?"backward":"forward",meta:t.options.meta};return w(B),B})(),E=await y(T),{maxPages:A}=t.options,R=k?UE:$E;return{pages:R(x.pages,E,A),pageParams:R(x.pageParams,S,A)}};if(o&&s.length){const x=o==="backward",S=x?rP:ig,k={pages:s,pageParams:i},C=S(r,k);a=await v(k,C,x)}else{const x=e??s.length;do{const S=l===0?i[0]??r.initialPageParam:ig(r,a);if(l>0&&S==null)break;a=await v(a,S),l++}while(l<x)}return a};t.options.persister?t.fetchFn=()=>{var g,w;return(w=(g=t.options).persister)==null?void 0:w.call(g,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function ig(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 rP(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Pe,nr,rr,ss,is,or,as,ls,Ty,oP=(Ty=class{constructor(e={}){ie(this,Pe);ie(this,nr);ie(this,rr);ie(this,ss);ie(this,is);ie(this,or);ie(this,as);ie(this,ls);X(this,Pe,e.queryCache||new JE),X(this,nr,e.mutationCache||new nP),X(this,rr,e.defaultOptions||{}),X(this,ss,new Map),X(this,is,new Map),X(this,or,0)}mount(){la(this,or)._++,j(this,or)===1&&(X(this,as,U0.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,Pe).onFocus())})),X(this,ls,Rl.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,Pe).onOnline())})))}unmount(){var e,t;la(this,or)._--,j(this,or)===0&&((e=j(this,as))==null||e.call(this),X(this,as,void 0),(t=j(this,ls))==null||t.call(this),X(this,ls,void 0))}isFetching(e){return j(this,Pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return j(this,nr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,Pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=j(this,Pe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Dd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return j(this,Pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=j(this,Pe).get(r.queryHash),s=o==null?void 0:o.state.data,i=_E(t,s);if(i!==void 0)return j(this,Pe).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return tt.batch(()=>j(this,Pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,Pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=j(this,Pe);tt.batch(()=>
40{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=j(this,Pe);return tt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=tt.batch(()=>j(this,Pe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(zt).catch(zt)}invalidateQueries(e,t={}){return tt.batch(()=>(j(this,Pe).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=tt.batch(()=>j(this,Pe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(zt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=j(this,Pe).build(this,t);return n.isStaleByTime(Dd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(zt).catch(zt)}fetchInfiniteQuery(e){return e.behavior=sg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(zt).catch(zt)}ensureInfiniteQueryData(e){return e.behavior=sg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Rl.isOnline()?j(this,nr).resumePausedMutations():Promise.resolve()}getQueryCache(){return j(this,Pe)}getMutationCache(){return j(this,nr)}getDefaultOptions(){return j(this,rr)}setDefaultOptions(e){X(this,rr,e)}setQueryDefaults(e,t){j(this,ss).set(Di(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...j(this,ss).values()],n={};return t.forEach(r=>{Oi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){j(this,is).set(Di(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...j(this,is).values()],n={};return t.forEach(r=>{Oi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...j(this,rr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Sh(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===kh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...j(this,rr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){j(this,Pe).clear(),j(this,nr).clear()}},Pe=new WeakMap,nr=new WeakMap,rr=new WeakMap,ss=new WeakMap,is=new WeakMap,or=new WeakMap,as=new WeakMap,ls=new WeakMap,Ty),sP=m.createContext(void 0),iP=({client:e,children:t})=>(m.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),u.jsx(sP.Provider,{value:e,children:t}));/**
41 * @remix-run/router v1.23.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function _i(){return _i=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},_i.apply(this,arguments)}var ar;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ar||(ar={}));const ag="popstate";function aP(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:a}=r.location;return _d("",{pathname:s,search:i,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Il(o)}return cP(t,n,null,e)}function Me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function q0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function lP(){return Math.random().toString(36).substr(2,8)}function lg(e,t){return{usr:e.state,key:e.key,idx:t}}function _d(e,t,n,r){return n===void 0&&(n=null),_i({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Es(t):t,{state:n,key:t&&t.key||r||lP()})}function Il(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 Es(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 cP(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=ar.Pop,l=null,c=d();c==null&&(c=0,i.replaceState(_i({},i.state,{idx:c}),""));function d(){return(i.state||{idx:null}).idx}function f(){a=ar.Pop;let w=d(),y=w==null?null:w-c;c=w,l&&l({action:a,location:g.location,delta:y})}function h(w,y){a=ar.Push;let v=_d(g.location,w,y);c=d()+1;let x=lg(v,c),S=g.createHref(v);try{i.pushState(x,"",S)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(S)}s&&l&&l({action:a,location:g.location,delta:1})}function p(w,y){a=ar.Replace;let v=_d(g.location,w,y);c=d();let x=lg(v,c),S=g.createHref(v);i.replaceState(x,"",S),s&&l&&l({action:a,location:g.location,delta:0})}function b(w){let y=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof w=="string"?w:Il(w);return v=v.replace(/ $/,"%20"),Me(y,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,y)}let g={get action(){return a},get location(){return e(o,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(ag,f),l=w,()=>{o.removeEventListener(ag,f),l=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:h,replace:p,go(w){return i.go(w)}};return g}var cg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(cg||(cg={}));function uP(e,t,n){return n===void 0&&(n="/"),dP(e,t,n,!1)}function dP(e,t,n,r){let o=typeof t=="string"?Es(t):t,s=Ch(o.pathname||"/",n);if(s==null)return null;let i=Y0(e);fP(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let c=kP(s);a=bP(i[l],c,r)}return a}function Y0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};l.relativePath.startsWith("/")&&(Me(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
49id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=gr([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(Me(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Y0(s.children,t,d,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:xP(c,s.index),routesMeta:d})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let l of Q0(s.path))o(s,i,l)}),t}function Q0(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=Q0(r.join("/")),a=[];return a.push(...i.map(l=>l===""?s:[s,l].join("/"))),o&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function fP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:wP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const hP=/^:[\w-]+$/,pP=3,mP=2,gP=1,vP=10,yP=-2,ug=e=>e==="*";function xP(e,t){let n=e.split("/"),r=n.length;return n.some(ug)&&(r+=yP),t&&(r+=mP),n.filter(o=>!ug(o)).reduce((o,s)=>o+(hP.test(s)?pP:s===""?gP:vP),r)}function wP(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 bP(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f=dg({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),h=l.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=dg({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;
49Object.assign(o,f.params),i.push({params:o,pathname:gr([s,f.pathname]),pathnameBase:PP(gr([s,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(s=gr([s,f.pathnameBase]))}return i}function dg(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=SP(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((c,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let g=a[f]||"";i=s.slice(0,s.length-g.length).replace(/(.)\/+$/,"$1")}const b=a[f];return p&&!b?c[h]=void 0:c[h]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:i,pattern:e}}function SP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),q0(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,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function kP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return q0(!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 Ch(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)||"/"}function CP(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Es(e):e;return{pathname:n?n.startsWith("/")?n:TP(n,t):t,search:NP(r),hash:jP(o)}}function TP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function pu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function EP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function X0(e,t){let n=EP(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Z0(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Es(e):(o=_i({},e),Me(!o.pathname||!o.pathname.includes("?"),pu("?","pathname","search",o)),Me(!o.pathname||!o.pathname.includes("#"),pu("#","pathname","hash",o)),Me(!o.search||!o.search.includes("#"),pu("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),f-=1;o.pathname=h.join("/")}a=f>=0?t[f]:"/"}let l=CP(o,a),c=i&&i!=="/"&&i.endsWith("/"),d=(s||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const gr=e=>e.join("/").replace(/\/\/+/g,"/"),PP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),NP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,jP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function AP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const J0=["post","put","patch","delete"];new Set(J0);const RP=["get",...J0];new Set(RP);/**
50 * React Router v6.30.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function Li(){return Li=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},Li.apply(this,arguments)}const Th=m.createContext(null),IP=m.createContext(null),go=m.createContext(null),fc=m.createContext(null),Nr=m.createContext({outlet:null,matches:[],isDataRoute:!1}),ew=m.createContext(null);function MP(e,t){let{relative:n}=t===void 0?{}:t;Ji()||Me(!1);let{basename:r,navigator:o}=m.useContext(go),{hash:s,pathname:i,search:a}=nw(e,{relative:n}),l=i;return r!=="/"&&(l=i==="/"?r:gr([r,i])),o.createHref({pathname:l,search:a,hash:s})}function Ji(){return m.useContext(fc)!=null}function Ps(){return Ji()||Me(!1),m.useContext(fc).location}function tw(e){m.useContext(go).static||m.useLayoutEffect(e)}function DP(){let{isDataRoute:e}=m.useContext(Nr);return e?qP():OP()}function OP(){Ji()||Me(!1);let e=m.useContext(Th),{basename:t,future:n,navigator:r}=m.useContext(go),{matches:o}=m.useContext(Nr),{pathname:s}=Ps(),i=JSON.stringify(X0(o,n.v7_relativeSplatPath)),a=m.useRef(!1);return tw(()=>{a.current=!0}),m.useCallback(function(c,d){if(d===void 0&&(d={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=Z0(c,JSON.parse(i),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:gr([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,s,e])}function _P(){let{matches:e}=m.useContext(Nr),t=e[e.length-1];return t?t.params:{}}function nw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=m.useContext(go),{matches:o}=m.useContext(Nr),{pathname:s}=Ps(),i=JSON.stringify(X0(o,r.v7_relativeSplatPath));return m.useMemo(()=>Z0(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function LP(e,t){return FP(e,t)}function FP(e,t,n,r){Ji()||Me(!1);let{navigator:o}=m.useContext(go),{matches:s}=m.useContext(Nr),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let c=Ps(),d;if(t){var f;let w=typeof t=="string"?Es(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||Me(!1),d=w}else d=c;let h=d.pathname||"/",p=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=uP(e,{pathname:p}),g=UP(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:gr([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:gr([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&g?m.createElement(fc.Provider,{value:{location:Li({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ar.Pop}},g):g}function VP(){let e=GP(),t=AP(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 m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application 
58Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},t),n?m.createElement("pre",{style:o},n):null,null)}const BP=m.createElement(VP,null);class zP extends m.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?m.createElement(Nr.Provider,{value:this.props.routeContext},m.createElement(ew.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function $P(e){let{routeContext:t,match:n,children:r}=e,o=m.useContext(Th);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),m.createElement(Nr.Provider,{value:t},r)}function UP(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,a=(o=n)==null?void 0:o.errors;if(a!=null){let d=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||Me(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=d),f.route.id){let{loaderData:h,errors:p}=n,b=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||b){l=!0,c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((d,f,h)=>{let p,b=!1,g=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||BP,l&&(c<0&&h===0?(b=!0,w=null):c===h&&(b=!0,w=f.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,h+1)),v=()=>{let x;return p?x=g:b?x=w:f.route.Component?x=m.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,m.createElement($P,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?m.createElement(zP,{location:n.location,revalidation:n.revalidation,component:g,error:p,children:v(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):v()},null)}var rw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(rw||{}),Ml=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}(Ml||{});function WP(e){let t=m.useContext(Th);return t||Me(!1),t}function HP(e){let t=m.useContext(IP);return t||Me(!1),t}function KP(e){let t=m.useContext(Nr);return t||Me(!1),t}function ow(e){let t=KP(),n=t.matches[t.matches.length-1];return n.route.id||Me(!1),n.route.id}function GP(){var e;let t=m.useContext(ew),n=HP(Ml.UseRouteError),r=ow(Ml.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function qP(){let{router:e}=WP(rw.UseNavigateStable),t=ow(Ml.UseNavigateStable),n=m.useRef(!1);return tw(()=>{n.current=!0}),m.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Li({fromRouteId:t},s)))},[e,t])}function YP(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function tn(e){Me(!1)}function QP(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ar.Pop,navigator:s,static:i=!1,future:a}=e;Ji()&&Me(!1);let l=t.replace(/^\/*/,"/"),c=m.useMemo(()=>({basename:l,navigator:s,static:i,future:Li({v7_relativeSplatPath:!1},a)}),[l,a,s,i]);typeof r=="string"&&(r=Es(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:b="default"}=r,g=m.useMemo(()=>{let w=Ch(d,l);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:b},navigationType:o}},[l,d,f,h,p,b,o]);return g==null?null:m.createElement(go.Provider,{value:c},m.createElement(fc.Provider,{children:n,value:g}))}function XP(e){let{children:t,location:n}=e;return LP(Ld(t),n)}new Promise(()=>{});
58function Ld(e,t){t===void 0&&(t=[]);let n=[];return m.Children.forEach(e,(r,o)=>{if(!m.isValidElement(r))return;let s=[...t,o];if(r.type===m.Fragment){n.push.apply(n,Ld(r.props.children,s));return}r.type!==tn&&Me(!1),!r.props.index||!r.props.children||Me(!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=Ld(r.props.children,s)),n.push(i)}),n}/**
59 * React Router DOM v6.30.1
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */function Fd(){return Fd=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},Fd.apply(this,arguments)}function ZP(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function JP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function eN(e,t){return e.button===0&&(!t||t==="_self")&&!JP(e)}const tN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],nN="6";try{window.__reactRouterVersion=nN}catch{}const rN="startTransition",fg=Rf[rN];function oN(e){let{basename:t,children:n,future:r,window:o}=e,s=m.useRef();s.current==null&&(s.current=aP({window:o,v5Compat:!0}));let i=s.current,[a,l]=m.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},d=m.useCallback(f=>{c&&fg?fg(()=>l(f)):l(f)},[l,c]);return m.useLayoutEffect(()=>i.listen(d),[i,d]),m.useEffect(()=>YP(r),[r]),m.createElement(QP,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const sN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",iN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_e=m.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:a,target:l,to:c,preventScrollReset:d,viewTransition:f}=t,h=ZP(t,tN),{basename:p}=m.useContext(go),b,g=!1;if(typeof c=="string"&&iN.test(c)&&(b=c,sN))try{let x=new URL(window.location.href),S=c.startsWith("//")?new URL(x.protocol+c):new URL(c),k=Ch(S.pathname,p);S.origin===x.origin&&k!=null?c=k+S.search+S.hash:g=!0}catch{}let w=MP(c,{relative:o}),y=aN(c,{replace:i,state:a,target:l,preventScrollReset:d,relative:o,viewTransition:f});function v(x){r&&r(x),x.defaultPrevented||y(x)}return m.createElement("a",Fd({},h,{href:b||w,onClick:g||s?r:v,ref:n,target:l}))});var hg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hg||(hg={}));var pg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(pg||(pg={}));function aN(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,l=DP(),c=Ps(),d=nw(e,{relative:i});return m.useCallback(f=>{if(eN(f,n)){f.preventDefault();let h=r!==void 0?r:Il(c)===Il(d);l(e,{replace:h,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[c,l,d,r,o,n,e,s,i,a])}var mg=["light","dark"],lN="(prefers-color-scheme: dark)",cN=m.createContext(void 0),uN={setTheme:e=>{},themes:[]},dN=()=>{var e;return(e=m.useContext(cN))!=null?e:uN};m.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:a,nonce:l})=>{let c=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?mg.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(b,g=!1,w=!0)=>{let y=i?i[b]:b,v=g?b+"|| ''":`'${y}'`,x="";return o&&w&&!g&&mg.includes(b)&&(x+=`d.style.colorScheme = '${b}';`),n==="class"?g||y?x+=`c.add(${v})`:x+="null":y&&(x+=`d[s](n,${v})`),x},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${lN}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}${c?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return m.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var fN=e=>{switch(e){case"success":return mN;case"info":return vN;case"warning":return gN;case"error":return yN;default:return null}},hN=Array(12).fill(0),pN=({visible:e,className:t})=>I.createElement("div",{className:["sonner-loading-wrapper",t].filter(
67Boolean).join(" "),"data-visible":e},I.createElement("div",{className:"sonner-spinner"},hN.map((n,r)=>I.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),mN=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),gN=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},I.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"})),vN=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),yN=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),xN=I.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"},I.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),I.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),wN=()=>
67{let[e,t]=I.useState(document.hidden);return I.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Vd=1,bN=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:Vd++,s=this.toasts.find(a=>a.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(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:i,title:n}):a):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)=>
67this.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 l=>{if(s=["resolve",l],I.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(kN(l)&&!l.ok){o=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:d})}else if(t.success!==void 0){o=!1;let c=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:d})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){o=!1;let c=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:d})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>i.then(()=>s[0]==="reject"?c(s[1]):l(s[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Vd++;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}},st=new bN,SN=(e,t)=>{let n=(t==null?void 0:t.id)||Vd++;return st.addToast({title:e,...t,id:n}),n},kN=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",CN=SN,TN=()=>st.toasts,EN=()=>st.getActiveToasts();Object.assign(CN,{success:st.success,info:st.info,warning:st.warning,error:st.error,custom:st.custom,message:st.message,promise:st.promise,dismiss:st.dismiss,loading:st.loading},{getHistory:TN,getToasts:EN});function PN(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))}PN(`: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;
67left: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}
67: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%);
67--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%)}
68`);function Pa(e){return e.label!==void 0}var NN=3,jN="32px",AN="16px",gg=4e3,RN=356,IN=14,MN=20,DN=200;function _t(...e){return e.filter(Boolean).join(" ")}function ON(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var _N=e=>{var t,n,r,o,s,i,a,l,c,d,f;let{invert:h,toast:p,unstyled:b,interacting:g,setHeights:w,visibleToasts:y,heights:v,index:x,toasts:S,expanded:k,removeToast:C,defaultRichColors:T,closeButton:E,style:A,cancelButtonStyle:R,actionButtonStyle:B,className:O="",descriptionClassName:W="",duration:D,position:H,gap:z,loadingIcon:F,expandByDefault:P,classNames:N,icons:_,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:$}
68=e,[J,Y]=I.useState(null),[pe,Te]=I.useState(null),[L,ce]=I.useState(!1),[Ee,ae]=I.useState(!1),[ne,se]=I.useState(!1),[We,bt]=I.useState(!1),[Dr,Bn]=I.useState(!1),[Or,Ds]=I.useState(0),[yo,Vp]=I.useState(0),Os=I.useRef(p.duration||D||gg),Bp=I.useRef(null),_r=I.useRef(null),tC=x===0,nC=x+1<=y,St=p.type,xo=p.dismissible!==!1,rC=p.className||"",oC=p.descriptionClassName||"",aa=I.useMemo(()=>v.findIndex(Q=>Q.toastId===p.id)||0,[v,p.id]),sC=I.useMemo(()=>{var Q;return(Q=p.closeButton)!=null?Q:E},[p.closeButton,E]),zp=I.useMemo(()=>p.duration||D||gg,[p.duration,D]),Fc=I.useRef(0),wo=I.useRef(0),$p=I.useRef(0),bo=I.useRef(null),[iC,aC]=H.split("-"),Up=I.useMemo(()=>v.reduce((Q,de,xe)=>xe>=aa?Q:Q+de.height,0),[v,aa]),Wp=wN(),lC=p.invert||h,Vc=St==="loading";wo.current=I.useMemo(()=>aa*z+Up,[aa,Up]),I.useEffect(()=>{Os.current=zp},[zp]),I.useEffect(()=>{ce(!0)},[]),I.useEffect(()=>{let Q=_r.current;if(Q){let de=Q.getBoundingClientRect().height;return Vp(de),w(xe=>[{toastId:p.id,height:de,position:p.position},...xe]),()=>w(xe=>xe.filter(It=>It.toastId!==p.id))}},[w,p.id]),I.useLayoutEffect(()=>{if(!L)return;let Q=_r.current,de=Q.style.height;Q.style.height="auto";let xe=Q.getBoundingClientRect().height;Q.style.height=de,Vp(xe),w(It=>It.find(Mt=>Mt.toastId===p.id)?It.map(Mt=>Mt.toastId===p.id?{...Mt,height:xe}:Mt):[{toastId:p.id,height:xe,position:p.position},...It])},[L,p.title,p.description,w,p.id]);let zn=I.useCallback(()=>{ae(!0),Ds(wo.current),w(Q=>Q.filter(de=>de.toastId!==p.id)),setTimeout(()=>{C(p)},DN)},[p,C,w,wo]);I.useEffect(()=>{if(p.promise&&St==="loading"||p.duration===1/0||p.type==="loading")return;let Q;return k||g||$&&Wp?(()=>{if($p.current<Fc.current){let de=new Date().getTime()-Fc.current;Os.current=Os.current-de}$p.current=new Date().getTime()})():Os.current!==1/0&&(Fc.current=new Date().getTime(),Q=setTimeout(()=>{var de;(de=p.onAutoClose)==null||de.call(p,p),zn()},Os.current)),()=>clearTimeout(Q)},[k,g,p,St,$,Wp,zn]),I.useEffect(()=>{p.delete&&zn()},[zn,p.delete]);function cC(){var Q,de,xe;return _!=null&&_.loading?I.createElement("div",{className:_t(N==null?void 0:N.loader,(Q=p==null?void 0:p.classNames)==null?void 0:Q.loader,"sonner-loader"),"data-visible":St==="loading"},_.loading):F?I.createElement("div",{className:_t(N==null?void 0:N.loader,(de=p==null?void 0:p.classNames)==null?void 0:de.loader,"sonner-loader"),"data-visible":St==="loading"},F):I.createElement(pN,{className:_t(N==null?void 0:N.loader,(xe=p==null?void 0:p.classNames)==null?void 0:xe.loader),visible:St==="loading"})}return I.createElement("li",{tabIndex:0,ref:_r,className:_t(O,rC,N==null?void 0:N.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[St],(n=p==null?void 0:p.classNames)==null?void 0:n[St]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||b),"data-mounted":L,"data-promise":!!p.promise,"data-swiped":Dr,"data-removed":Ee,"data-visible":nC,"data-y-position":iC,"data-x-position":aC,"data-index":x,"data-front":tC,"data-swiping":ne,"data-dismissible":xo,"data-type":St,"data-invert":lC,"data-swipe-out":We,"data-swipe-direction":pe,"data-expanded":!!(k||P&&L),style:{"--index":x,"--toasts-before":x,"--z-index":S.length-x,"--offset":`${Ee?Or:wo.current}px`,"--initial-height":P?"auto":`${yo}px`,...A,...p.style},onDragEnd:()=>{se(!1),Y(null),bo.current=null},onPointerDown:Q=>{Vc||!xo||(Bp.current=new Date,Ds(wo.current),Q.target.setPointerCapture(Q.pointerId),Q.target.tagName!=="BUTTON"&&(se(!0),bo.current={x:Q.clientX,y:Q.clientY}))},onPointerUp:()=>{var Q,de,xe,It;if(We||!xo)return;bo.current=null;let Mt=Number(((Q=_r.current)==null?void 0:Q.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),$n=Number(((de=_r.current)==null?void 0:de.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Lr=new Date().getTime()-((xe=Bp.current)==null?void 0:xe.getTime()),Dt=J==="x"?Mt:$n,Un=Math.abs(Dt)/Lr;if(Math.abs(Dt)>=MN||Un>.11){Ds(wo.current),(It=p.onDismiss)==null||It.call(p,p),Te(J==="x"?Mt>0?"right":"left":$n>0?"down":"up"),zn(),bt(!0),Bn(!1);return}se(!1),Y(null)},onPointerMove:Q=>{var de,xe,It,Mt;if(!bo.current||!xo||((de=window.getSelection())==null?void 0:de.toString().length)>0)return;let $n=Q.clientY-bo.current.y,Lr=Q.clientX-bo.current.x,Dt=(xe=e.swipeDirections)!=null?xe:ON(H);!J&&(Math.abs(Lr)>1||Math.abs($n)>1)&&Y(Math.abs(Lr)>Math.abs($n)?"x":"y");let Un={x:0,y:0};J==="y"?(Dt.includes("top")||Dt.includes("bottom"))&&(Dt.includes("top")&&$n<0||Dt.includes("bottom")&&$n>0)&&(Un.y=$n):J==="x"&&(Dt.includes("left")||Dt.includes("right"))&&(Dt.includes("left")&&Lr<0||Dt.includes("right")&&Lr>0)&&(Un.x=Lr),(Math.abs(Un.x)>0||Math.abs(Un.y)>0)&&Bn(!0),(It=_r.current)==null||It.style.setProperty("--swipe-amount-x",`${Un.x}px`),(Mt=_r.current)==null||Mt.style.setProperty("--swipe-amount-y",`${Un.y}px`)}},sC&&!p.jsx?I.createElement("button",{"aria-label":K,"data-disabled":Vc,"data-close-button":!0,onClick:Vc||!xo?()=>{}:()=>{var Q;zn(),(Q=p.onDismiss)==null||Q.call(p,p)},className:_t(N==null?void 0:N.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(s=_==null?void 0:_.close)!=null?s:xN):null,p.jsx||m.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:I.createElement(I.Fragment,null,St||p.icon||p.promise?I.createElement("div",{"data-icon":"",className:_t(N==null?void 0:N.icon,(i=p==null?void 0:p.classNames)==null?void 0:i.icon)}
68,p.promise||p.type==="loading"&&!p.icon?p.icon||cC():null,p.type!=="loading"?p.icon||(_==null?void 0:_[St])||fN(St):null):null,I.createElement("div",{"data-content":"",className:_t(N==null?void 0:N.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},I.createElement("div",{"data-title":"",className:_t(N==null?void 0:N.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?I.createElement("div",{"data-description":"",className:_t(W,oC,N==null?void 0:N.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),m.isValidElement(p.cancel)?p.cancel:p.cancel&&Pa(p.cancel)?I.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||R,onClick:Q=>{var de,xe;Pa(p.cancel)&&xo&&((xe=(de=p.cancel).onClick)==null||xe.call(de,Q),zn())},className:_t(N==null?void 0:N.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,m.isValidElement(p.action)?p.action:p.action&&Pa(p.action)?I.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||B,onClick:Q=>{var de,xe;Pa(p.action)&&((xe=(de=p.action).onClick)==null||xe.call(de,Q),!Q.defaultPrevented&&zn())},className:_t(N==null?void 0:N.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function vg(){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 LN(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",a=s?AN:jN;function l(c){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${i}-${c}`]=a:n[`${i}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}var FN=m.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:a,offset:l,mobileOffset:c,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:b=NN,toastOptions:g,dir:w=vg(),gap:y=IN,loadingIcon:v,icons:x,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:k}=e,[C,T]=I.useState([]),E=I.useMemo(()=>Array.from(new Set([r].concat(C.filter($=>$.position).map($=>$.position)))),[C,r]),[A,R]=I.useState([]),[B,O]=I.useState(!1),[W,D]=I.useState(!1),[H,z]=I.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),F=I.useRef(null),P=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=I.useRef(null),_=I.useRef(!1),K=I.useCallback($=>{T(J=>{var Y;return(Y=J.find(pe=>pe.id===$.id))!=null&&Y.delete||st.dismiss($.id),J.filter(({id:pe})=>pe!==$.id)})},[]);return I.useEffect(()=>st.subscribe($=>{if($.dismiss){T(J=>J.map(Y=>Y.id===$.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{V0.flushSync(()=>{T(J=>{let Y=J.findIndex(pe=>pe.id===$.id);return Y!==-1?[...J.slice(0,Y),{...J[Y],...$},...J.slice(Y+1)]:[$,...J]})})})}),[]),I.useEffect(()=>{if(d!=="system"){z(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:J})=>{z(J?"dark":"light")})}catch{$.addListener(({matches:Y})=>{try{z(Y?"dark":"light")}catch(pe){console.error(pe)}})}},[d]),I.useEffect(()=>{C.length<=1&&O(!1)},[C]),I.useEffect(()=>{let $=J=>{var Y,pe;o.every(Te=>J[Te]||J.code===Te)&&(O(!0),(Y=F.current)==null||Y.focus()),J.code==="Escape"&&(document.activeElement===F.current||(pe=F.current)!=null&&pe.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[o]),I.useEffect(()=>{if(F.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,_.current=!1)}},[F.current]),I.createElement("section",{ref:t,"aria-label":`${S} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},E.map(($,J)=>{var Y;let[pe,Te]=$.split("-");return C.length?I.createElement("ol",{key:$,dir:w==="auto"?vg():w,tabIndex:-1,ref:F,className:a,"data-sonner-toaster":!0,"data-theme":H,"data-y-position":pe,"data-lifted":B&&C.length>1&&!s,"data-x-position":Te,style:{"--front-toast-height":`${((Y=A[0])==null?void 0:Y.height)||0}px`,"--width":`${RN}px`,"--gap":`${y}px`,...p,...LN(l,c)},onBlur:L=>{_.current&&!L.currentTarget.contains(L.relatedTarget)&&(_.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:L=>{L.target instanceof HTMLElement&&L.target.dataset.dismissible==="false"||_.current||(_.current=!0,N.current=L.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{W||O(!1)},onDragEnd:()=>O(!1),onPointerDown:L=>{L.target instanceof HTMLElement&&L.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},C.filter(L=>!L.position&&J===0||L.position===$).map((L,ce)=>{var Ee,ae;return I.createElement(_N,{key:L.id,icons:x,index:ce,toast:L,defaultRichColors:f,duration:(Ee=g==null?void 0:g.duration)!=null?Ee:h,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:b,closeButton:(ae=g==null?void 0:g.closeButton)!=null?ae:i,interacting:W,position:$,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:K,toasts:C.filter(ne=>ne.position==L.position),heights:A.filter(ne=>ne.position==L.position),setHeights:R,expandByDefault:s,gap:y,loadingIcon:v,expanded:B,pauseWhenPageIsHidden:k,swipeDirections:e.swipeDirections})})):null}))});const VN=({...e})=>{const{theme:t="system"}=dN();return u.jsx(FN,{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})},BN=1,zN=1e6;let mu=0;function $N(){return mu=(mu+1)%Number.MAX_SAFE_INTEGER,mu.toString()}const gu=new Map,yg=e=>{if(gu.has(e))return;const t=setTimeout(()=>{gu.delete(e),fi({type:"REMOVE_TOAST",toastId:e})},zN);gu.set(e,t)},UN=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,BN)};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;
68return n?yg(n):e.toasts.forEach(r=>{yg(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)}}},Za=[];let Ja={toasts:[]};function fi(e){Ja=UN(Ja,e),Za.forEach(t=>{t(Ja)})}function WN({...e}){const t=$N(),n=o=>fi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>fi({type:"DISMISS_TOAST",toastId:t});return fi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function sw(){const[e,t]=m.useState(Ja);return m.useEffect(()=>(Za.push(t),()=>{const n=Za.indexOf(t);n>-1&&Za.splice(n,1)}),[e]),{...e,toast:WN,dismiss:n=>fi({type:"DISMISS_TOAST",toastId:n})}}function G(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 xg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function iw(...e){return t=>{let n=!1;const r=e.map(o=>{const s=xg(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():xg(e[o],null)}}}}function le(...e){return m.useCallback(iw(...e),e)}function HN(e,t){const n=m.createContext(t),r=s=>{const{children:i,...a}=s,l=m.useMemo(()=>a,Object.values(a));return u.jsx(n.Provider,{value:l,children:i})};r.displayName=e+"Provider";function o(s){const i=m.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function vn(e,t=[]){let n=[];function r(s,i){const a=m.createContext(i),l=n.length;n=[...n,i];const c=f=>{var y;const{scope:h,children:p,...b}=f,g=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,w=m.useMemo(()=>b,Object.values(b));return u.jsx(g.Provider,{value:w,children:p})};c.displayName=s+"Provider";function d(f,h){var g;const p=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,b=m.useContext(p);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[c,d]}const o=()=>{const s=n.map(i=>m.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return m.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,KN(o,...t)]}function KN(...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((a,{useScope:l,scopeName:c})=>{const f=l(s)[`__scope${c}`];return{...a,...f}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function gs(e){const t=qN(e),n=m.forwardRef((r,o)=>{const{children:s,...i}=r,a=m.Children.toArray(s),l=a.find(QN);if(l){const c=l.props.children,d=a.map(f=>f===l?m.Children.count(c)>1?m.Children.only(null):m.isValidElement(c)?c.props.children:null:f);return u.jsx(t,{...i,ref:o,children:m.isValidElement(c)?m.cloneElement(c,void 0,d):null})}return u.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var GN=gs("Slot");function qN(e){const t=m.forwardRef((n,r)=>{const{children:o,...s}=n;if(m.isValidElement(o)){const i=ZN(o),a=XN(s,o.props);return o.type!==m.Fragment&&(a.ref=r?iw(r,i):i),m.cloneElement(o,a)}return m.Children.count(o)>1?m.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var aw=Symbol("radix.slottable");function YN(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=aw,t}function QN(e){return m.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===aw}function XN(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]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function ZN(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 Eh(e){const t=e+"CollectionProvider",[n,r]=vn(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:w,children:y}=g,v=I.useRef(null),x=I.useRef(new Map).current;return u.jsx(o,{scope:w,itemMap:x,collectionRef:v,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=gs(a),c=I.forwardRef((g,w)=>{const{scope:y,children:v}=g,x=s(a,y),S=le(w,x.collectionRef);return u.jsx(l,{ref:S,children:v})});c.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=gs(d),p=I.forwardRef((g,w)=>{const{scope:y,children:v,...x}=g,S=I.useRef(null),k=le(w,S),C=s(d,y);return I.useEffect(()=>(C.itemMap.set(S,{ref:S,...x}
68),()=>void C.itemMap.delete(S))),u.jsx(h,{[f]:"",ref:k,children:v})});p.displayName=d;function b(g){const w=s(e+"CollectionConsumer",g);return I.useCallback(()=>{const v=w.collectionRef.current;if(!v)return[];const x=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((C,T)=>x.indexOf(C.ref.current)-x.indexOf(T.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:c,ItemSlot:p},b,r]}var JN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Z=JN.reduce((e,t)=>{const n=gs(`Primitive.${t}`),r=m.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function lw(e,t){e&&mo.flushSync(()=>e.dispatchEvent(t))}function Yt(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ej(e,t=globalThis==null?void 0:globalThis.document){const n=Yt(e);m.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 tj="DismissableLayer",Bd="dismissableLayer.update",nj="dismissableLayer.pointerDownOutside",rj="dismissableLayer.focusOutside",wg,cw=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ea=m.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,c=m.useContext(cw),[d,f]=m.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=m.useState({}),b=le(t,T=>f(T)),g=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(w),v=d?g.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,S=v>=y,k=sj(T=>{const E=T.target,A=[...c.branches].some(R=>R.contains(E));!S||A||(o==null||o(T),i==null||i(T),T.defaultPrevented||a==null||a())},h),C=ij(T=>{const E=T.target;[...c.branches].some(R=>R.contains(E))||(s==null||s(T),i==null||i(T),T.defaultPrevented||a==null||a())},h);return ej(T=>{v===c.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),m.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(wg=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),bg(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=wg)}},[d,h,n,c]),m.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),bg())},[d,c]),m.useEffect(()=>{const T=()=>p({});return document.addEventListener(Bd,T),()=>document.removeEventListener(Bd,T)},[]),u.jsx(Z.div,{...l,ref:b,style:{pointerEvents:x?S?"auto":"none":void 0,...e.style},onFocusCapture:G(e.onFocusCapture,C.onFocusCapture),onBlurCapture:G(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:G(e.onPointerDownCapture,k.onPointerDownCapture)})});ea.displayName=tj;var oj="DismissableLayerBranch",uw=m.forwardRef((e,t)=>{const n=m.useContext(cw),r=m.useRef(null),o=le(t,r);return m.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),u.jsx(Z.div,{...e,ref:o})});uw.displayName=oj;function sj(e,t=globalThis==null?void 0:globalThis.document){const n=Yt(e),r=m.useRef(!1),o=m.useRef(()=>{});return m.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){dw(nj,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}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 ij(e,t=globalThis==null?void 0:globalThis.document){const n=Yt(e),r=m.useRef(!1);return m.useEffect(()=>{const o=s=>{s.target&&!r.current&&dw(rj,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 bg(){const e=new CustomEvent(Bd);document.dispatchEvent(e)}function dw(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?lw(o,s):o.dispatchEvent(s)}var aj=ea,lj=uw,Ve=globalThis!=null&&globalThis.document?m.useLayoutEffect:()=>{},cj="Portal",hc=m.forwardRef((e,t)=>
68{var a;const{container:n,...r}=e,[o,s]=m.useState(!1);Ve(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?V0.createPortal(u.jsx(Z.div,{...r,ref:t}),i):null});hc.displayName=cj;function uj(e,t){return m.useReducer((n,r)=>t[n][r]??n,e)}var jr=e=>{const{present:t,children:n}=e,r=dj(t),o=typeof n=="function"?n({present:r.isPresent}):m.Children.only(n),s=le(r.ref,fj(o));return typeof n=="function"||r.isPresent?m.cloneElement(o,{ref:s}):null};jr.displayName="Presence";function dj(e){const[t,n]=m.useState(),r=m.useRef(null),o=m.useRef(e),s=m.useRef("none"),i=e?"mounted":"unmounted",[a,l]=uj(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const c=Na(r.current);s.current=a==="mounted"?c:"none"},[a]),Ve(()=>{const c=r.current,d=o.current;if(d!==e){const h=s.current,p=Na(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ve(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,f=p=>{const g=Na(r.current).includes(p.animationName);if(p.target===t&&g&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(s.current=Na(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:m.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Na(e){return(e==null?void 0:e.animationName)||"none"}function fj(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 hj=Rf[" useInsertionEffect ".trim().toString()]||Ve;function Dn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=pj({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const d=m.useRef(e!==void 0);m.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const c=m.useCallback(d=>{var f;if(a){const h=mj(d)?d(e):d;h!==e&&((f=i.current)==null||f.call(i,h))}else s(d)},[a,e,s,i]);return[l,c]}function pj({defaultProp:e,onChange:t}){const[n,r]=m.useState(e),o=m.useRef(n),s=m.useRef(t);return hj(()=>{s.current=t},[t]),m.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function mj(e){return typeof e=="function"}var fw=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"}),gj="VisuallyHidden",pc=m.forwardRef((e,t)=>u.jsx(Z.span,{...e,ref:t,style:{...fw,...e.style}}));pc.displayName=gj;var vj=pc,Ph="ToastProvider",[Nh,yj,xj]=Eh("Toast"),[hw,Z4]=vn("Toast",[xj]),[wj,mc]=hw(Ph),pw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[a,l]=m.useState(null),[c,d]=m.useState(0),f=m.useRef(!1),h=m.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ph}\`. Expected non-empty \`string\`.`),u.jsx(Nh.Provider,{scope:t,children:u.jsx(wj,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:m.useCallback(()=>d(p=>p+1),[]),onToastRemove:m.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:i})})};pw.displayName=Ph;var mw="ToastViewport",bj=["F8"],zd="toast.viewportPause",$d="toast.viewportResume",gw=m.forwardRef((e,t)=>
68{const{__scopeToast:n,hotkey:r=bj,label:o="Notifications ({hotkey})",...s}=e,i=mc(mw,n),a=yj(n),l=m.useRef(null),c=m.useRef(null),d=m.useRef(null),f=m.useRef(null),h=le(t,f,i.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;m.useEffect(()=>{const w=y=>{var x;r.length!==0&&r.every(S=>y[S]||y.code===S)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),m.useEffect(()=>{const w=l.current,y=f.current;if(b&&w&&y){const v=()=>{if(!i.isClosePausedRef.current){const C=new CustomEvent(zd);y.dispatchEvent(C),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const C=new CustomEvent($d);y.dispatchEvent(C),i.isClosePausedRef.current=!1}},S=C=>{!w.contains(C.relatedTarget)&&x()},k=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",v),w.addEventListener("focusout",S),w.addEventListener("pointermove",v),w.addEventListener("pointerleave",k),window.addEventListener("blur",v),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",v),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",v),w.removeEventListener("pointerleave",k),window.removeEventListener("blur",v),window.removeEventListener("focus",x)}}},[b,i.isClosePausedRef]);const g=m.useCallback(({tabbingDirection:w})=>{const v=a().map(x=>{const S=x.ref.current,k=[S,...Dj(S)];return w==="forwards"?k:k.reverse()});return(w==="forwards"?v.reverse():v).flat()},[a]);return m.useEffect(()=>{const w=f.current;if(w){const y=v=>{var k,C,T;const x=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!x){const E=document.activeElement,A=v.shiftKey;if(v.target===w&&A){(k=c.current)==null||k.focus();return}const O=g({tabbingDirection:A?"backwards":"forwards"}),W=O.findIndex(D=>D===E);vu(O.slice(W+1))?v.preventDefault():A?(C=c.current)==null||C.focus():(T=d.current)==null||T.focus()}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[a,g]),u.jsxs(lj,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&u.jsx(Ud,{ref:c,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"forwards"});vu(w)}}),u.jsx(Nh.Slot,{scope:n,children:u.jsx(Z.ol,{tabIndex:-1,...s,ref:h})}),b&&u.jsx(Ud,{ref:d,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"backwards"});vu(w)}})]})});gw.displayName=mw;var vw="ToastFocusProxy",Ud=m.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=mc(vw,n);return u.jsx(pc,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var c;const a=i.relatedTarget;!((c=s.viewport)!=null&&c.contains(a))&&r()}})});Ud.displayName=vw;var ta="Toast",Sj="toast.swipeStart",kj="toast.swipeMove",Cj="toast.swipeCancel",Tj="toast.swipeEnd",yw=m.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[a,l]=Dn({prop:r,defaultProp:o??!0,onChange:s,caller:ta});return u.jsx(jr,{present:n||a,children:u.jsx(Nj,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:Yt(e.onPause),onResume:Yt(e.onResume),onSwipeStart:G(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:G(e.onSwipeMove,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:G(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:G(e.onSwipeEnd,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});yw.displayName=ta;var[Ej,Pj]=hw(ta,{onClose(){}}),Nj=m.forwardRef((e,t)=>
68{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...b}=e,g=mc(ta,n),[w,y]=m.useState(null),v=le(t,D=>y(D)),x=m.useRef(null),S=m.useRef(null),k=o||g.duration,C=m.useRef(0),T=m.useRef(k),E=m.useRef(0),{onToastAdd:A,onToastRemove:R}=g,B=Yt(()=>{var H;(w==null?void 0:w.contains(document.activeElement))&&((H=g.viewport)==null||H.focus()),i()}),O=m.useCallback(D=>{!D||D===1/0||(window.clearTimeout(E.current),C.current=new Date().getTime(),E.current=window.setTimeout(B,D))},[B]);m.useEffect(()=>{const D=g.viewport;if(D){const H=()=>{O(T.current),c==null||c()},z=()=>{const F=new Date().getTime()-C.current;T.current=T.current-F,window.clearTimeout(E.current),l==null||l()};return D.addEventListener(zd,z),D.addEventListener($d,H),()=>{D.removeEventListener(zd,z),D.removeEventListener($d,H)}}},[g.viewport,k,l,c,O]),m.useEffect(()=>{s&&!g.isClosePausedRef.current&&O(k)},[s,k,g.isClosePausedRef,O]),m.useEffect(()=>(A(),()=>R()),[A,R]);const W=m.useMemo(()=>w?Tw(w):null,[w]);return g.viewport?u.jsxs(u.Fragment,{children:[W&&u.jsx(jj,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),u.jsx(Ej,{scope:n,onClose:B,children:mo.createPortal(u.jsx(Nh.ItemSlot,{scope:n,children:u.jsx(aj,{asChild:!0,onEscapeKeyDown:G(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||B(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(Z.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":g.swipeDirection,...b,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:G(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:G(e.onPointerDown,D=>{D.button===0&&(x.current={x:D.clientX,y:D.clientY})}),onPointerMove:G(e.onPointerMove,D=>{if(!x.current)return;const H=D.clientX-x.current.x,z=D.clientY-x.current.y,F=!!S.current,P=["left","right"].includes(g.swipeDirection),N=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,_=P?N(0,H):0,K=P?0:N(0,z),$=D.pointerType==="touch"?10:2,J={x:_,y:K},Y={originalEvent:D,delta:J};F?(S.current=J,ja(kj,f,Y,{discrete:!1})):Sg(J,g.swipeDirection,$)?(S.current=J,ja(Sj,d,Y,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(H)>$||Math.abs(z)>$)&&(x.current=null)}),onPointerUp:G(e.onPointerUp,D=>{const H=S.current,z=D.target;if(z.hasPointerCapture(D.pointerId)&&z.releasePointerCapture(D.pointerId),S.current=null,x.current=null,H){const F=D.currentTarget,P={originalEvent:D,delta:H};Sg(H,g.swipeDirection,g.swipeThreshold)?ja(Tj,p,P,{discrete:!0}):ja(Cj,h,P,{discrete:!0}),F.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),jj=e=>{const{__scopeToast:t,children:n,...r}=e,o=mc(ta,t),[s,i]=m.useState(!1),[a,l]=m.useState(!1);return Ij(()=>i(!0)),m.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:u.jsx(hc,{asChild:!0,children:u.jsx(pc,{...r,children:s&&u.jsxs(u.Fragment,{children:[o.label," ",n]})})})},Aj="ToastTitle",xw=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(Z.div,{...r,ref:t})});xw.displayName=Aj;var Rj="ToastDescription",ww=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(Z.div,{...r,ref:t})});ww.displayName=Rj;var bw="ToastAction",Sw=m.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?u.jsx(Cw,{altText:n,asChild:!0,children:u.jsx(jh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${bw}\`. Expected non-empty \`string\`.`),null)});Sw.displayName=bw;var kw="ToastClose",jh=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Pj(kw,n);return u.jsx(Cw,{asChild:!0,children:u.jsx(Z.button,{type:"button",...r,ref:t,onClick:G(e.onClick,o.onClose)})})});jh.displayName=kw;var Cw=m.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return u.jsx(Z.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Tw(e){const t=[];
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Mj(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(...Tw(r))}}),t}function ja(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?lw(o,s):o.dispatchEvent(s)}var Sg=(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 Ij(e=()=>{}){const t=Yt(e);Ve(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Mj(e){return e.nodeType===e.ELEMENT_NODE}function Dj(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 vu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Oj=pw,Ew=gw,Pw=yw,Nw=xw,jw=ww,Aw=Sw,Rw=jh;function Iw(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=Iw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Mw(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Iw(e))&&(r&&(r+=" "),r+=t);return r}const kg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Cg=Mw,Dw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Cg(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(c=>{const d=n==null?void 0:n[c],f=s==null?void 0:s[c];if(d===null)return null;const h=kg(d)||kg(f);return o[c][h]}),a=n&&Object.entries(n).reduce((c,d)=>{let[f,h]=d;return h===void 0||(c[f]=h),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(b=>{let[g,w]=b;return Array.isArray(w)?w.includes({...s,...a}[g]):{...s,...a}[g]===w})?[...c,f,h]:c},[]);return Cg(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
69 * @license lucide-react v0.462.0 - ISC
70 *
71 * This source code is licensed under the ISC license.
72 * See the LICENSE file in the root directory of this source tree.
73 */const _j=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ow=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
74 * @license lucide-react v0.462.0 - ISC
75 *
76 * This source code is licensed under the ISC license.
77 * See the LICENSE file in the root directory of this source tree.
78 */var Lj={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"};/**
79 * @license lucide-react v0.462.0 - ISC
80 *
81 * This source code is licensed under the ISC license.
82 * See the LICENSE file in the root directory of this source tree.
83 */const Fj=m.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>m.createElement("svg",{ref:l,...Lj,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Ow("lucide",o),...a},[...i.map(([c,d])=>m.createElement(c,d)),...Array.isArray(s)?s:[s]]));/**
84 * @license lucide-react v0.462.0 - ISC
85 *
86 * This source code is licensed under the ISC license.
87 * See the LICENSE file in the root directory of this source tree.
88 */const he=(e,t)=>{const n=m.forwardRef(({className:r,...o},s)=>m.createElement(Fj,{ref:s,iconNode:t,className:Ow(`lucide-${_j(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
89 * @license lucide-react v0.462.0 - ISC
90 *
91 * This source code is licensed under the ISC license.
92 * See the LICENSE file in the root directory of this source tree.
93 */const Wd=he("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
94 * @license lucide-react v0.462.0 - ISC
95 *
96 * This source code is licensed under the ISC license.
97 * See the LICENSE file in the root directory of this source tree.
98 */const vs=he("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
99 * @license lucide-react v0.462.0 - ISC
100 *
101 * This source code is licensed under the ISC license.
102 * See the LICENSE file in the root directory of this source tree.
103 */const Vj=he("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
103],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
104 * @license lucide-react v0.462.0 - ISC
105 *
106 * This source code is licensed under the ISC license.
107 * See the LICENSE file in the root directory of this source tree.
108 */const Bj=he("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
109 * @license lucide-react v0.462.0 - ISC
110 *
111 * This source code is licensed under the ISC license.
112 * See the LICENSE file in the root directory of this source tree.
113 */const Qo=he("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
114 * @license lucide-react v0.462.0 - ISC
115 *
116 * This source code is licensed under the ISC license.
117 * See the LICENSE file in the root directory of this source tree.
118 */const Ah=he("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
119 * @license lucide-react v0.462.0 - ISC
120 *
121 * This source code is licensed under the ISC license.
122 * See the LICENSE file in the root directory of this source tree.
123 */const zj=he("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
124 * @license lucide-react v0.462.0 - ISC
125 *
126 * This source code is licensed under the ISC license.
127 * See the LICENSE file in the root directory of this source tree.
128 */const Fi=he("Chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]]);/**
129 * @license lucide-react v0.462.0 - ISC
130 *
131 * This source code is licensed under the ISC license.
132 * See the LICENSE file in the root directory of this source tree.
133 */const $j=he("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
134 * @license lucide-react v0.462.0 - ISC
135 *
136 * This source code is licensed under the ISC license.
137 * See the LICENSE file in the root directory of this source tree.
138 */const Uj=he("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
139 * @license lucide-react v0.462.0 - ISC
140 *
141 * This source code is licensed under the ISC license.
142 * See the LICENSE file in the root directory of this source tree.
143 */const Wj=he("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
144 * @license lucide-react v0.462.0 - ISC
145 *
146 * This source code is licensed under the ISC license.
147 * See the LICENSE file in the root directory of this source tree.
148 */const Hj=he("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
149 * @license lucide-react v0.462.0 - ISC
150 *
151 * This source code is licensed under the ISC license.
152 * See the LICENSE file in the root directory of this source tree.
153 */const Kj=he("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
154 * @license lucide-react v0.462.0 - ISC
155 *
156 * This source code is licensed under the ISC license.
157 * See the LICENSE file in the root directory of this source tree.
158 */const Gj=he("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"}]]);/**
159 * @license lucide-react v0.462.0 - ISC
160 *
161 * This source code is licensed under the ISC license.
162 * See the LICENSE file in the root directory of this source tree.
163 */const qj=he("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
164 * @license lucide-react v0.462.0 - ISC
165 *
166 * This source code is licensed under the ISC license.
167 * See the LICENSE file in the root directory of this source tree.
168 */const Yj=he("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
169 * @license lucide-react v0.462.0 - ISC
170 *
171 * This source code is licensed under the ISC license.
172 * See the LICENSE file in the root directory of this source tree.
173 */const Qj=he("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
174 * @license lucide-react v0.462.0 - ISC
175 *
176 * This source code is licensed under the ISC license.
177 * See the LICENSE file in the root directory of this source tree.
178 */const Xj=he("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
179 * @license lucide-react v0.462.0 - ISC
180 *
181 * This source code is licensed under the ISC license.
182 * See the LICENSE file in the root directory of this source tree.
183 */const Zj=he("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",ke
vendor: 8,864 bytes, lines 183-218
183y:"oel41y"}]]);/**
184 * @license lucide-react v0.462.0 - ISC
185 *
186 * This source code is licensed under the ISC license.
187 * See the LICENSE file in the root directory of this source tree.
188 */const Jj=he("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"}]]);/**
189 * @license lucide-react v0.462.0 - ISC
190 *
191 * This source code is licensed under the ISC license.
192 * See the LICENSE file in the root directory of this source tree.
193 */const eA=he("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"}]]);/**
194 * @license lucide-react v0.462.0 - ISC
195 *
196 * This source code is licensed under the ISC license.
197 * See the LICENSE file in the root directory of this source tree.
198 */const tA=he("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"}]]);/**
199 * @license lucide-react v0.462.0 - ISC
200 *
201 * This source code is licensed under the ISC license.
202 * See the LICENSE file in the root directory of this source tree.
203 */const nA=he("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
204 * @license lucide-react v0.462.0 - ISC
205 *
206 * This source code is licensed under the ISC license.
207 * See the LICENSE file in the root directory of this source tree.
208 */const rA=he("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/**
209 * @license lucide-react v0.462.0 - ISC
210 *
211 * This source code is licensed under the ISC license.
212 * See the LICENSE file in the root directory of this source tree.
213 */const Rh=he("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
214 * @license lucide-react v0.462.0 - ISC
215 *
216 * This source code is licensed under the ISC license.
217 * See the LICENSE file in the root directory of this source tree.
218 */const oA=he("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Ih="-",sA=e=>{const t=aA(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(Ih);return a[0]===""&&a.length!==1&&a.shift(),_w(a,t)||iA(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},_w=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?_w(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Ih);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},Tg=/^\[(.+)\]$/,iA=e=>{if(Tg.test(e)){const t=Tg.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},aA=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return cA(Object.entries(e.classGroups),n).forEach(([s,i])=>{Hd(i,r,s,t)}),r},Hd=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Eg(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(lA(o)){Hd(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Hd(i,Eg(t,s),n,r)})})},Eg=(e,t)=>{let n=e;return t.split(Ih).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},lA=e=>e.isThemeGetter,cA=(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,a])=>[t+i,a])):s);return[n,o]}):e,uA=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)}}},Lw="!",dA=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=a=>{const l=[];let c=0,d=0,f;for(let w=0;w<a.length;w++){let y=a[w];if(c===0){if(y===o&&(r||a.slice(w,w+s)===t)){l.push(a.slice(d,w)),d=w+s;continue}if(y==="/"){f=w;continue}}y==="["?c++:y==="]"&&c--}const h=l.length===0?a:a.substring(d),p=h.startsWith(Lw),b=p?h.substring(1):h,g=f&&f>d?f-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:i}):i},fA=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},hA=e=>({cache:uA(e.cacheSize),parseClassName:dA(e),...sA(e)}),pA=/\s+/,mA=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(pA);let a="";for(let l=i.length-1;l>=0;l-=1){const c=i[l],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(c);let b=!!p,g=r(b?h.substring(0,p):h);if(!g){if(!b){a=c+(a.length>0?" "+a:a);continue}if(g=r(h),!g){a=c+(a.length>0?" "+a:a);continue}b=!1}const w=fA(d).join(":"),y=f?w+Lw:w,v=y+g;if(s.includes(v))continue;s.push(v);const x=o(g,b);for(let S=0;S<x.length;++S){const k=x[S];s.push(y+k)}a=c+(a.length>0?" "+a:a)}return a};function gA(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Fw(t))&&(r&&(r+=" "),r+=n);return r}const Fw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Fw(e[r]))&&(n&&(n+=" "),n+=t);return n};function vA(e,...t){let n,r,o,s=i;function i(l){const c=t.reduce((d,f)=>f(d),e());return n=hA(c),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const c=r(l);if(c)return c;const d=mA(l,n);return o(l,d),d}return function(){return s(gA.apply(null,arguments))}}const me=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Vw=/^\[(?:([a-z-]+):)?(.+)\]$/i,yA=/^\d+\/\d+$/,xA=new Set(["px","full","screen"]),wA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bA=/\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$/,SA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,kA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,CA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,xn=e=>Xo(e)||xA.has(e)||yA.test(e),Hn=e=>Ns(e,"length",IA),Xo=e=>!!e&&!Number.isNaN(Number(e)),yu=e=>Ns(e,"number",Xo),Ws=e=>!!e&&Number.isInteger(Number(e)),TA=e=>e.endsWith("%")&&Xo(e.slice(0,-1)),ee=e=>Vw.test(e),Kn=e=>wA.test(e),EA=new Set(["length","size","percentage"]),PA=e=>Ns(e,EA,Bw),NA=e=>Ns(e,"position",Bw),jA=new Set(["image","url"]),AA=e=>Ns(e,jA,DA),RA=e=>Ns(e,"",MA),Hs=()=>!0,Ns=(e,t,n)=>{const r=Vw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},IA=e=>bA.test(e)&&!SA.test(e),Bw=()=>!1,MA=e=>kA.test(e),DA=e=>CA.test(e),OA=()=>{const e=me("colors"),t=me("spacing"),n=me("blur"),r=me("brightness"),o=me("borderColor"),s=me("borderRadius"),i=me("borderSpacing"),a=me("borderWidth"),l=me("contrast"),c=me("grayscale"),d=me("hueRotate"),f=me("invert"),h=me("gap"),p=me("gradientColorStops"),b=me("gradientColorStopPositions"),g=me("inset"),w=me("margin"),y=me("opacity"),v=me("padding"),x=me("saturate"),S=me("scale"),k=me("sepia"),C=me("skew"),T=me("space"),E=me("translate"),A=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",ee,t],O=()=>[ee,t],W=()=>["",xn,Hn],D=()=>["auto",Xo,ee],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",ee],_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[Xo,ee];return{cacheSize:500,separator:":",theme:{colors:[Hs],spacing:[xn,Hn],blur:["none","",Kn,ee],brightness:K(),borderColor:[e],borderRadius:["n
218one","","full",Kn,ee],borderSpacing:O(),borderWidth:W(),contrast:K(),grayscale:N(),hueRotate:K(),invert:N(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[TA,Hn],inset:B(),margin:B(),opacity:K(),padding:O(),saturate:K(),scale:K(),sepia:N(),skew:K(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[Kn]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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(),ee]}],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:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ws,ee]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ee]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",Ws,ee]}],"grid-cols":[{"grid-cols":[Hs]}],"col-start-end":[{col:["auto",{span:["full",Ws,ee]},ee]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Hs]}],"row-start-end":[{row:["auto",{span:[Ws,ee]},ee]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],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":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[Kn]},Kn]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Kn,Hn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yu]}],"font-family":[{font:[Hs]}],"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",ee]}],"line-clamp":[{"line-clamp":["none",Xo,yu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",xn,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"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:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",xn,Hn]}],"underline-offset":[{"underline-offset":["auto",xn,ee]}],"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:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],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",ee]}],"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(),NA]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",PA]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},AA]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
218],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,467 bytes, line 218
218],"divide-style":[{divide:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[xn,ee]}],"outline-w":[{outline:[xn,Hn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[xn,Hn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Kn,RA]}],"shadow-color":[{shadow:[Hs]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Kn,ee]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"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",ee]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Ws,ee]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],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",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"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",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[xn,Hn,yu]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
218none"]}]},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"]}}},_A=vA(OA);function re(...e){return _A(Mw(e))}const LA=Oj,zw=m.forwardRef(({className:e,...t},n)=>u.jsx(Ew,{ref:n,className:re("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}));zw.displayName=Ew.displayName;const FA=Dw("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"}}),$w=m.forwardRef(({className:e,variant:t,...n},r)=>u.jsx(Pw,{ref:r,className:re(FA({variant:t}),e),...n}));$w.displayName=Pw.displayName;const VA=m.forwardRef(({className:e,...t},n)=>u.jsx(Aw,{ref:n,className:re("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}));VA.displayName=Aw.displayName;const Uw=m.forwardRef(({className:e,...t},n)=>u.jsx(Rw,{ref:n,className:re("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 4,189 bytes, line 218
218/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:u.jsx(Rh,{className:"h-4 w-4"})}));Uw.displayName=Rw.displayName;const Ww=m.forwardRef(({className:e,...t},n)=>u.jsx(Nw,{ref:n,className:re("text-sm font-semibold",e),...t}));Ww.displayName=Nw.displayName;const Hw=m.forwardRef(({className:e,...t},n)=>u.jsx(jw,{ref:n,className:re("text-sm opacity-90",e),...t}));Hw.displayName=jw.displayName;function BA(){const{toasts:e}=sw();return u.jsxs(LA,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return u.jsxs($w,{...s,children:[u.jsxs("div",{className:"grid gap-1",children:[n&&u.jsx(Ww,{children:n}),r&&u.jsx(Hw,{children:r})]}),o,u.jsx(Uw,{})]},t)}),u.jsx(zw,{})]})}var zA=Rf[" useId ".trim().toString()]||(()=>{}),$A=0;function vr(e){const[t,n]=m.useState(zA());return Ve(()=>{n(r=>r??String($A++))},[e]),t?`radix-${t}`:""}const UA=["top","right","bottom","left"],br=Math.min,ft=Math.max,Dl=Math.round,Aa=Math.floor,fn=e=>({x:e,y:e}),WA={left:"right",right:"left",bottom:"top",top:"bottom"},HA={start:"end",end:"start"};function Kd(e,t,n){return ft(e,br(t,n))}function On(e,t){return typeof e=="function"?e(t):e}function _n(e){return e.split("-")[0]}function js(e){return e.split("-")[1]}function Mh(e){return e==="x"?"y":"x"}function Dh(e){return e==="y"?"height":"width"}const KA=new Set(["top","bottom"]);function cn(e){return KA.has(_n(e))?"y":"x"}function Oh(e){return Mh(cn(e))}function GA(e,t,n){n===void 0&&(n=!1);const r=js(e),o=Oh(e),s=Dh(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Ol(i)),[i,Ol(i)]}function qA(e){const t=Ol(e);return[Gd(e),t,Gd(t)]}function Gd(e){return e.replace(/start|end/g,t=>HA[t])}const Pg=["left","right"],Ng=["right","left"],YA=["top","bottom"],QA=["bottom","top"];function XA(e,t,n){switch(e){case"top":case"bottom":return n?t?Ng:Pg:t?Pg:Ng;case"left":case"right":return t?YA:QA;default:return[]}}function ZA(e,t,n,r){const o=js(e);let s=XA(_n(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Gd)))),s}function Ol(e){return e.replace(/left|right|bottom|top/g,t=>WA[t])}function JA(e){return{top:0,right:0,bottom:0,left:0,...e}}function Kw(e){return typeof e!="number"?JA(e):{top:e,right:e,bottom:e,left:e}}function _l(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 jg(e,t,n){let{reference:r,floating:o}=e;const s=cn(t),i=Oh(t),a=Dh(i),l=_n(t),c=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(js(t)){case"start":p[i]-=h*(n&&c?-1:1);break;case"end":p[i]+=h*(n&&c?-1:1);break}return p}const e2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=jg(c,r,l),h=r,p={},b=0;for(let g=0;g<a.length;g++){const{name:w,fn:y}=a[g],{x:v,y:x,data:S,reset:k}=await y({x:d,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=v??d,f=x??f,p={...p,[w]:{...p[w],...S}},k&&b<=50&&(b++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(c=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:d,y:f}=jg(c,h,l)),g=-1)}return{x:d,y:f,placement:h,strategy:o,middlewareData:p}};async function Vi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=On(t,e),b=Kw(p),w=a[h?f==="floating"?"reference":"floating":f],y=_l(await s.getClippingRect
218({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),v=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=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},k=_l(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:l}):v);return{top:(y.top-k.top+b.top)/S.y,bottom:(k.bottom-y.bottom+b.bottom)/S.y,left:(y.left-k.left+b.left)/S.x,right:(k.right-y.right+b.right)/S.x}}const t2=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=On(e,t)||{};if(c==null)return{};const f=Kw(d),h={x:n,y:r},p=Oh(o),b=Dh(p),g=await i.getDimensions(c),w=p==="y",y=w?"top":"left",v=w?"bottom":"right",x=w?"clientHeight":"clientWidth",S=s.reference[b]+s.reference[p]-h[p]-s.floating[b],k=h[p]-s.reference[p],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let T=C?C[x]:0;(!T||!await(i.isElement==null?void 0:i.isElement(C)))&&(T=a.floating[x]||s.floating[b]);const E=S/2-k/2,A=T/2-g[b]/2-1,R=br(f[y],A),B=br(f[v],A),O=R,W=T-g[b]-B,D=T/2-g[b]/2+E,H=Kd(O,D,W),z=!l.arrow&&js(o)!=null&&D!==H&&s.reference[b]/2-(D<O?R:B)-g[b]/2<0,F=z?D<O?D-O:D-W:0;return{[p]:h[p]+F,data:{[p]:H,centerOffset:D-H-F,...z&&{alignmentOffset:F}},reset:z}}}),n2=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:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...w}=On(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=_n(o),v=cn(a),x=_n(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),k=h||(x||!g?[Ol(a)]:qA(a)),C=b!=="none";!h&&C&&k.push(...ZA(a,g,b,S));const T=[a,...k],E=await Vi(t,w),A=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&A.push(E[y]),f){const D=GA(o,i,S);A.push(E[D[0]],E[D[1]])}if(R=[...R,{placement:o,overflows:A}],!A.every(D=>D<=0)){var B,O;const D=(((B=s.flip)==null?void 0:B.index)||0)+1,H=T[D];if(H&&(!(f==="alignment"?v!==cn(H):!1)||R.every(P=>P.overflows[0]>0&&cn(P.placement)===v)))return{data:{index:D,overflows:R},reset:{placement:H}};let z=(O=R.filter(F=>F.overflows[0]<=0).sort((F,P)=>F.overflows[1]-P.overflows[1])[0])==null?void 0:O.placement;if(!z)switch(p){case"bestFit":{var W;const F=(W=R.filter(P=>{if(C){const N=cn(P.placement);return N===v||N==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(N=>N>0).reduce((N,_)=>N+_,0)]).sort((P,N)=>P[1]-N[1])[0])==null?void 0:W[0];F&&(z=F);break}case"initialPlacement":z=a;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function Ag(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Rg(e){return UA.some(t=>e[t]>=0)}const r2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=On(e,t);switch(r){case"referenceHidden":{const s=await Vi(t,{...o,elementContext:"reference"}),i=Ag(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Rg(i)}}}case"escaped":{const s=await Vi(t,{...o,altBoundary:!0}),i=Ag(s,n.floating);return{data:{escapedOffsets:i,escaped:Rg(i)}}}default:return{}}}}},Gw=new Set(["left","top"]);async function o2(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=_n(n),a=js(n),l=cn(n)==="y",c=Gw.has(i)?-1:1,d=s&&l?-1:1,f=On(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof b=="number"&&(p=a==="end"?b*-1:b),l?{x:p*d,y:h*c}:{x:h*c,y:p*d}}const s2=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:a}=t,l=await o2(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},i2=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:a={fn:w=>{let{x:y,y:v}=w;return{x:y,y:v}}},...l}=On(e,t),c={x:n,y:r},d=await Vi(t,l),f=cn(_n(o)),h=Mh(f);let p=c[h],b=c[f];if(s){const w=h==="y"?"top":"left",y=h==="y"?"bottom":"right",v=p+d[w],x=p-d[y];p=Kd(v,p,x)}if(i){const w=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=b+d[w],x=b-d[y];b=Kd(v,b,x)}const g=a.fn({...t,[h]:p,[f]:b});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:s,[f]:i}}}}}},a2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=On(e,t),d={x:n,y:r},f=cn(o),h=Mh(f);let p=d[h],b=d[f];const g=On(a,t),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const x=h==="y"?"height":"width",S=s.reference[h]-s.floating[x]+w.mainAxis,k=s.reference[h]+s.reference[x]-w.mainAxis;p<S?p=S:p>k&&(p=k)}if(c){var y,v;const x=h==="y"?"width":"height",S=Gw.has(_n(o)),k=s.reference[f]-s.floating[x]+(S&&((y=i.offset)==null?void 0:y[f])||0)+(S?0:w.
218crossAxis),C=s.reference[f]+s.reference[x]+(S?0:((v=i.offset)==null?void 0:v[f])||0)-(S?w.crossAxis:0);b<k?b=k:b>C&&(b=C)}return{[h]:p,[f]:b}}}},l2=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:a}=t,{apply:l=()=>{},...c}=On(e,t),d=await Vi(t,c),f=_n(o),h=js(o),p=cn(o)==="y",{width:b,height:g}=s.floating;let w,y;f==="top"||f==="bottom"?(w=f,y=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,w=h==="end"?"top":"bottom");const v=g-d.top-d.bottom,x=b-d.left-d.right,S=br(g-d[w],v),k=br(b-d[y],x),C=!t.middlewareData.shift;let T=S,E=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=v),C&&!h){const R=ft(d.left,0),B=ft(d.right,0),O=ft(d.top,0),W=ft(d.bottom,0);p?E=b-2*(R!==0||B!==0?R+B:ft(d.left,d.right)):T=g-2*(O!==0||W!==0?O+W:ft(d.top,d.bottom))}await l({...t,availableWidth:E,availableHeight:T});const A=await i.getDimensions(a.floating);return b!==A.width||g!==A.height?{reset:{rects:!0}}:{}}}};function gc(){return typeof window<"u"}function As(e){return qw(e)?(e.nodeName||"").toLowerCase():"#document"}function mt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function yn(e){var t;return(t=(qw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function qw(e){return gc()?e instanceof Node||e instanceof mt(e).Node:!1}function Qt(e){return gc()?e instanceof Element||e instanceof mt(e).Element:!1}function mn(e){return gc()?e instanceof HTMLElement||e instanceof mt(e).HTMLElement:!1}function Ig(e){return!gc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof mt(e).ShadowRoot}const c2=new Set(["inline","contents"]);function na(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!c2.has(o)}const u2=new Set(["table","td","th"]);function d2(e){return u2.has(As(e))}const f2=[":popover-open",":modal"];function vc(e){return f2.some(t=>{try{return e.matches(t)}catch{return!1}})}const h2=["transform","translate","scale","rotate","perspective"],p2=["transform","translate","scale","rotate","perspective","filter"],m2=["paint","layout","strict","content"];function _h(e){const t=Lh(),n=Qt(e)?Xt(e):e;return h2.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)||p2.some(r=>(n.willChange||"").includes(r))||m2.some(r=>(n.contain||"").includes(r))}function g2(e){let t=Sr(e);for(;mn(t)&&!ys(t);){if(_h(t))return t;if(vc(t))return null;t=Sr(t)}return null}function Lh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const v2=new Set(["html","body","#document"]);function ys(e){return v2.has(As(e))}function Xt(e){return mt(e).getComputedStyle(e)}function yc(e){return Qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Sr(e){if(As(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ig(e)&&e.host||yn(e);return Ig(t)?t.host:t}function Yw(e){const t=Sr(e);return ys(t)?e.ownerDocument?e.ownerDocument.body:e.body:mn(t)&&na(t)?t:Yw(t)}function Bi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Yw(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=mt(o);if(s){const a=qd(i);return t.concat(i,i.visualViewport||[],na(o)?o:[],a&&n?Bi(a):[])}return t.concat(o,Bi(o,[],n))}function qd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Qw(e){const t=Xt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=mn(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Dl(n)!==s||Dl(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Fh(e){return Qt(e)?e:e.contextElement}function Zo(e){const t=Fh(e);if(!mn(t))return fn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Qw(t);let i=(s?Dl(n.width):n.width)/r,a=(s?Dl(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const y2=fn(0);function Xw(e){const t=mt(e);
218return!Lh()||!t.visualViewport?y2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function x2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==mt(e)?!1:t}function lo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Fh(e);let i=fn(1);t&&(r?Qt(r)&&(i=Zo(r)):i=Zo(e));const a=x2(s,n,r)?Xw(s):fn(0);let l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const h=mt(s),p=r&&Qt(r)?mt(r):r;let b=h,g=qd(b);for(;g&&r&&p!==b;){const w=Zo(g),y=g.getBoundingClientRect(),v=Xt(g),x=y.left+(g.clientLeft+parseFloat(v.paddingLeft))*w.x,S=y.top+(g.clientTop+parseFloat(v.paddingTop))*w.y;l*=w.x,c*=w.y,d*=w.x,f*=w.y,l+=x,c+=S,b=mt(g),g=qd(b)}}return _l({width:d,height:f,x:l,y:c})}function Vh(e,t){const n=yc(e).scrollLeft;return t?t.left+n:lo(yn(e)).left+n}function Zw(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Vh(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function w2(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=yn(r),a=t?vc(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},c=fn(1);const d=fn(0),f=mn(r);if((f||!f&&!s)&&((As(r)!=="body"||na(i))&&(l=yc(r)),mn(r))){const p=lo(r);c=Zo(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=i&&!f&&!s?Zw(i,l,!0):fn(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}}function b2(e){return Array.from(e.getClientRects())}function S2(e){const t=yn(e),n=yc(e),r=e.ownerDocument.body,o=ft(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ft(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Vh(e);const a=-n.scrollTop;return Xt(r).direction==="rtl"&&(i+=ft(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function k2(e,t){const n=mt(e),r=yn(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const c=Lh();(!c||c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}const C2=new Set(["absolute","fixed"]);function T2(e,t){const n=lo(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=mn(e)?Zo(e):fn(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,c=r*s.y;return{width:i,height:a,x:l,y:c}}function Mg(e,t,n){let r;if(t==="viewport")r=k2(e,n);else if(t==="document")r=S2(yn(e));else if(Qt(t))r=T2(t,n);else{const o=Xw(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return _l(r)}function Jw(e,t){const n=Sr(e);return n===t||!Qt(n)||ys(n)?!1:Xt(n).position==="fixed"||Jw(n,t)}function E2(e,t){const n=t.get(e);if(n)return n;let r=Bi(e,[],!1).filter(a=>Qt(a)&&As(a)!=="body"),o=null;const s=Xt(e).position==="fixed";let i=s?Sr(e):e;for(;Qt(i)&&!ys(i);){const a=Xt(i),l=_h(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&C2.has(o.position)||na(i)&&!l&&Jw(e,i))?r=r.filter(d=>d!==i):o=a,i=Sr(i)}return t.set(e,r),r}function P2(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?vc(t)?[]:E2(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((c,d)=>{const f=Mg(t,d,o);return c.top=ft(f.top,c.top),c.right=br(f.right,c.right),c.bottom=br(f.bottom,c.bottom),c.left=ft(f.left,c.left),c},Mg(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function N2(e){const{width:t,height:n}=Qw(e);return{width:t,height:n}}function j2(e,t,n){const r=mn(t),o=yn(t),s=n==="fixed",i=lo(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=fn(0);function c(){l.x=Vh(o)}if(r||!r&&!s)if((As(t)!=="body"||na(o))&&(a=yc(t)),r){const p=lo(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&c();s&&!r&&o&&c();const d=o&&!r&&!s?Zw(o,a):fn(0),f=i.left+a.scrollLeft-l.x-d.x,h=i.top+a.scrollTop-l.y-d.y;return{x:f,y:h,width:i.width,height:i.height}}function xu(e){return Xt(e).position==="static"}function Dg(e,t){if(!mn(e)||Xt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return yn(e)===n&&(n=n.ownerDocument.body),n}function eb(e,t){const n=mt(e);if(vc(e))return n;if(!mn(e)){let o=Sr(e);for(;o&&!ys(o);){if(Qt(o)&&!xu(o))return o;o=Sr(o)}return n}let r=Dg(e,t);for(;r&&d2(r)&&xu(r);)r=Dg(r,t);return r&&ys(r)&&xu(r)&&!_h(r)?n:r||g2(e)||n}const A2=async function(e){const t=this.getOffsetParent||eb,n=this.getDimensions,r=await n(e.floating);return{reference:j2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function R2(e){return Xt(e).direction==="rtl"}const I2={convertOffsetParentRelativeRectToViewportRelativeRect:w2,getDocumentElement:yn,getClippingRect:P2,getOffsetParent:eb,getElementRects:A2,getClientRects:b2,getDimensions:N2,getScale:Zo,isElement:Qt,isRTL:R2};function tb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function M2(e,t){let n=null,r;const o=yn(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=c;if(a||t(),!h||!p)return;const b=Aa(f),g=Aa(o.clientWidth-(d+h)),w=Aa(o.clientHeight-(f+p)),y=Aa(d),x={rootMargin:-b+"px "+-g+"px "+-w+"px "+-y+"px",threshold:ft(0,br(1,l))||1};let S=!0;function k(C){const T=C[0].intersectionRatio;if(T!==l){if(!S)return i();T?i(!1,T):r=setTimeout(()=>{i(!1,1e-7)},1e3)}T===1&&!tb(c,e.getBoundingClientRect())&&i(),S=!1}try{n=new IntersectionObserver(k,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,x)}n.observe(e)}return i(!0),s}function D2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Fh(e),d=o||s?[...c?Bi(c):[],...Bi(t)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const f=c&&a?M2(c,n):null;let h=-1,p=null;i&&(p=new ResizeObserver(y=>{let[v]=y;v&&v.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let b,g=l?lo(e):null;l&&w();function w(){const y=lo(e);g&&!tb(g,y)&&n(),g=y,b=requestAnimationFrame(w)}return n(),()=>{var y;d.forEach(v=>{o&&v.removeEventListener("scroll",n),s&&v.removeEventListener("resize",n)}),f==null||f(),(y=p)==null||y.disconnect(),p=null,l&&cancelAnimationFrame(b)}}const O2=s2,_2=i2,L2=n2,F2=l2,V2=r2,Og=t2,B2=a2,z2=(e,t,n)=>{const r=new Map,o={platform:I2,...n},s={...o.platform,_c:r};return e2(e,t,{...o,platform:s})};var $2=typeof document<"u",U2=function(){},el=$2?m.useLayoutEffect:U2;function Ll(e,t){if(e===t)return!0;
218if(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(!Ll(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)&&!Ll(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function nb(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function _g(e,t){const n=nb(e);return Math.round(t*n)/n}function wu(e){const t=m.useRef(e);return el(()=>{t.current=e}),t}function W2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,f]=m.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=m.useState(r);Ll(h,r)||p(r);const[b,g]=m.useState(null),[w,y]=m.useState(null),v=m.useCallback(P=>{P!==C.current&&(C.current=P,g(P))},[]),x=m.useCallback(P=>{P!==T.current&&(T.current=P,y(P))},[]),S=s||b,k=i||w,C=m.useRef(null),T=m.useRef(null),E=m.useRef(d),A=l!=null,R=wu(l),B=wu(o),O=wu(c),W=m.useCallback(()=>{if(!C.current||!T.current)return;const P={placement:t,strategy:n,middleware:h};B.current&&(P.platform=B.current),z2(C.current,T.current,P).then(N=>{const _={...N,isPositioned:O.current!==!1};D.current&&!Ll(E.current,_)&&(E.current=_,mo.flushSync(()=>{f(_)}))})},[h,t,n,B,O]);el(()=>{c===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[c]);const D=m.useRef(!1);el(()=>(D.current=!0,()=>{D.current=!1}),[]),el(()=>{if(S&&(C.current=S),k&&(T.current=k),S&&k){if(R.current)return R.current(S,k,W);W()}},[S,k,W,R,A]);const H=m.useMemo(()=>({reference:C,floating:T,setReference:v,setFloating:x}),[v,x]),z=m.useMemo(()=>({reference:S,floating:k}),[S,k]),F=m.useMemo(()=>{const P={position:n,left:0,top:0};if(!z.floating)return P;const N=_g(z.floating,d.x),_=_g(z.floating,d.y);return a?{...P,transform:"translate("+N+"px, "+_+"px)",...nb(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:_}},[n,a,z.floating,d.x,d.y]);return m.useMemo(()=>({...d,update:W,refs:H,elements:z,floatingStyles:F}),[d,W,H,z,F])}const H2=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?Og({element:r.current,padding:o}).fn(n):{}:r?Og({element:r,padding:o}).fn(n):{}}}},K2=(e,t)=>({...O2(e),options:[e,t]}),G2=(e,t)=>({..._2(e),options:[e,t]}),q2=(e,t)=>({...B2(e),options:[e,t]}),Y2=(e,t)=>({...L2(e),options:[e,t]}),Q2=(e,t)=>({...F2(e),options:[e,t]}),X2=(e,t)=>({...V2(e),options:[e,t]}),Z2=(e,t)=>({...H2(e),options:[e,t]});var J2="Arrow",rb=m.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return u.jsx(Z.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});rb.displayName=J2;var eR=rb;function Bh(e){const[t,n]=m.useState(void 0);return Ve(()=>{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,a;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,a=c.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var zh="Popper",[ob,xc]=vn(zh),[tR,sb]=ob(zh),ib=e=>{const{__scopePopper:t,children:n}=e,[r,o]=m.useState(null);return u.jsx(tR,{scope:t,anchor:r,onAnchorChange:o,children:n})};ib.displayName=zh;var ab="PopperAnchor",lb=m.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=sb(ab,n),i=m.useRef(null),a=le(t,i);return m.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsx(Z.div,{...o,ref:a})});lb.displayName=ab;var $h="PopperContent",[nR,rR]=ob($h),cb=m.forwardRef((e,t)=>
218{var L,ce,Ee,ae,ne,se;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:b,...g}=e,w=sb($h,n),[y,v]=m.useState(null),x=le(t,We=>v(We)),[S,k]=m.useState(null),C=Bh(S),T=(C==null?void 0:C.width)??0,E=(C==null?void 0:C.height)??0,A=r+(s!=="center"?"-"+s:""),R=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},B=Array.isArray(c)?c:[c],O=B.length>0,W={padding:R,boundary:B.filter(sR),altBoundary:O},{refs:D,floatingStyles:H,placement:z,isPositioned:F,middlewareData:P}=W2({strategy:"fixed",placement:A,whileElementsMounted:(...We)=>D2(...We,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[K2({mainAxis:o+E,alignmentAxis:i}),l&&G2({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?q2():void 0,...W}),l&&Y2({...W}),Q2({...W,apply:({elements:We,rects:bt,availableWidth:Dr,availableHeight:Bn})=>{const{width:Or,height:Ds}=bt.reference,yo=We.floating.style;yo.setProperty("--radix-popper-available-width",`${Dr}px`),yo.setProperty("--radix-popper-available-height",`${Bn}px`),yo.setProperty("--radix-popper-anchor-width",`${Or}px`),yo.setProperty("--radix-popper-anchor-height",`${Ds}px`)}}),S&&Z2({element:S,padding:a}),iR({arrowWidth:T,arrowHeight:E}),h&&X2({strategy:"referenceHidden",...W})]}),[N,_]=fb(z),K=Yt(b);Ve(()=>{F&&(K==null||K())},[F,K]);const $=(L=P.arrow)==null?void 0:L.x,J=(ce=P.arrow)==null?void 0:ce.y,Y=((Ee=P.arrow)==null?void 0:Ee.centerOffset)!==0,[pe,Te]=m.useState();return Ve(()=>{y&&Te(window.getComputedStyle(y).zIndex)},[y]),u.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:F?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[(ae=P.transformOrigin)==null?void 0:ae.x,(ne=P.transformOrigin)==null?void 0:ne.y].join(" "),...((se=P.hide)==null?void 0:se.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(nR,{scope:n,placedSide:N,onArrowChange:k,arrowX:$,arrowY:J,shouldHideArrow:Y,children:u.jsx(Z.div,{"data-side":N,"data-align":_,...g,ref:x,style:{...g.style,animation:F?void 0:"none"}})})})});cb.displayName=$h;var ub="PopperArrow",oR={top:"bottom",right:"left",bottom:"top",left:"right"},db=m.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=rR(ub,r),i=oR[s.placedSide];return u.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:u.jsx(eR,{...o,ref:n,style:{...o.style,display:"block"}})})});db.displayName=ub;function sR(e){return e!==null}var iR=e=>({name:"transformOrigin",options:e,fn(t){var w,y,v;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,d]=fb(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((y=o.arrow)==null?void 0:y.x)??0)+a/2,p=(((v=o.arrow)==null?void 0:v.y)??0)+l/2;let b="",g="";return c==="bottom"?(b=i?f:`${h}px`,g=`${-l}px`):c==="top"?(b=i?f:`${h}px`,g=`${r.floating.height+l}px`):c==="right"?(b=`${-l}px`,g=i?f:`${p}px`):c==="left"&&(b=`${r.floating.width+l}px`,g=i?f:`${p}px`),{data:{x:b,y:g}}}});function fb(e){const[t,n="center"]=e.split("-");return[t,n]}var aR=ib,hb=lb,pb=cb,mb=db,[wc,J4]=vn("Tooltip",[xc]),Uh=xc(),gb="TooltipProvider",lR=700,Lg="tooltip.open",[cR,vb]=wc(gb),yb=e=>{const{__scopeTooltip:t,delayDuration:n=lR,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=m.useRef(!0),a=m.useRef(!1),l=m.useRef(0);return m.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),u.jsx(cR,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:m.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:m.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:m.useCallback(c=>{a.current=c},[]),disableHoverableContent:o,children:s})};yb.displayName=gb;var xb="Tooltip",[e5,bc]=wc(xb),Yd="TooltipTrigger",uR=m.forwardRef((e,t)=>
218{const{__scopeTooltip:n,...r}=e,o=bc(Yd,n),s=vb(Yd,n),i=Uh(n),a=m.useRef(null),l=le(t,a,o.onTriggerChange),c=m.useRef(!1),d=m.useRef(!1),f=m.useCallback(()=>c.current=!1,[]);return m.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),u.jsx(hb,{asChild:!0,...i,children:u.jsx(Z.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:G(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:G(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:G(e.onPointerDown,()=>{o.open&&o.onClose(),c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:G(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:G(e.onBlur,o.onClose),onClick:G(e.onClick,o.onClose)})})});uR.displayName=Yd;var dR="TooltipPortal",[t5,fR]=wc(dR,{forceMount:void 0}),xs="TooltipContent",wb=m.forwardRef((e,t)=>{const n=fR(xs,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=bc(xs,e.__scopeTooltip);return u.jsx(jr,{present:r||i.open,children:i.disableHoverableContent?u.jsx(bb,{side:o,...s,ref:t}):u.jsx(hR,{side:o,...s,ref:t})})}),hR=m.forwardRef((e,t)=>{const n=bc(xs,e.__scopeTooltip),r=vb(xs,e.__scopeTooltip),o=m.useRef(null),s=le(t,o),[i,a]=m.useState(null),{trigger:l,onClose:c}=n,d=o.current,{onPointerInTransitChange:f}=r,h=m.useCallback(()=>{a(null),f(!1)},[f]),p=m.useCallback((b,g)=>{const w=b.currentTarget,y={x:b.clientX,y:b.clientY},v=yR(y,w.getBoundingClientRect()),x=xR(y,v),S=wR(g.getBoundingClientRect()),k=SR([...x,...S]);a(k),f(!0)},[f]);return m.useEffect(()=>()=>h(),[h]),m.useEffect(()=>{if(l&&d){const b=w=>p(w,d),g=w=>p(w,l);return l.addEventListener("pointerleave",b),d.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",g)}}},[l,d,p,h]),m.useEffect(()=>{if(i){const b=g=>{const w=g.target,y={x:g.clientX,y:g.clientY},v=(l==null?void 0:l.contains(w))||(d==null?void 0:d.contains(w)),x=!bR(y,i);v?h():x&&(h(),c())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,d,i,c,h]),u.jsx(bb,{...e,ref:s})}),[pR,mR]=wc(xb,{isInside:!1}),gR=YN("TooltipContent"),bb=m.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=bc(xs,n),c=Uh(n),{onClose:d}=l;return m.useEffect(()=>(document.addEventListener(Lg,d),()=>document.removeEventListener(Lg,d)),[d]),m.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),u.jsx(ea,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:u.jsxs(pb,{"data-state":l.stateAttribute,...c,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[u.jsx(gR,{children:r}),u.jsx(pR,{scope:n,isInside:!0,children:u.jsx(vj,{id:l.contentId,role:"tooltip",children:o||r})})]})})});wb.displayName=xs;var Sb="TooltipArrow",vR=m.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Uh(n);return mR(Sb,n).isInside?null:u.jsx(mb,{...o,...r,ref:t})});vR.displayName=Sb;function yR(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 xR(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 wR(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 bR(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 a=t[s],l=t[i],c=a.x,d=a.y,f=l.x,h=l.y;d>r!=h>r&&n<(f-c)*(r-d)/(h-d)+c&&(o=!o)}return o}function SR(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),kR(t)}function kR(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 CR=yb,kb=wb;const TR=CR,ER=m.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
218u.jsx(kb,{ref:r,sideOffset:t,className:re("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}));ER.displayName=kb.displayName;var bu="focusScope.autoFocusOnMount",Su="focusScope.autoFocusOnUnmount",Fg={bubbles:!1,cancelable:!0},PR="FocusScope",Wh=m.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=m.useState(null),c=Yt(o),d=Yt(s),f=m.useRef(null),h=le(t,g=>l(g)),p=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let g=function(x){if(p.paused||!a)return;const S=x.target;a.contains(S)?f.current=S:qn(f.current,{select:!0})},w=function(x){if(p.paused||!a)return;const S=x.relatedTarget;S!==null&&(a.contains(S)||qn(f.current,{select:!0}))},y=function(x){if(document.activeElement===document.body)for(const k of x)k.removedNodes.length>0&&qn(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",w);const v=new MutationObserver(y);return a&&v.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),v.disconnect()}}},[r,a,p.paused]),m.useEffect(()=>{if(a){Bg.add(p);const g=document.activeElement;if(!a.contains(g)){const y=new CustomEvent(bu,Fg);a.addEventListener(bu,c),a.dispatchEvent(y),y.defaultPrevented||(NR(MR(Cb(a)),{select:!0}),document.activeElement===g&&qn(a))}return()=>{a.removeEventListener(bu,c),setTimeout(()=>{const y=new CustomEvent(Su,Fg);a.addEventListener(Su,d),a.dispatchEvent(y),y.defaultPrevented||qn(g??document.body,{select:!0}),a.removeEventListener(Su,d),Bg.remove(p)},0)}}},[a,c,d,p]);const b=m.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const v=g.currentTarget,[x,S]=jR(v);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&qn(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&qn(S,{select:!0})):y===v&&g.preventDefault()}},[n,r,p.paused]);return u.jsx(Z.div,{tabIndex:-1,...i,ref:h,onKeyDown:b})});Wh.displayName=PR;function NR(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(qn(r,{select:t}),document.activeElement!==n)return}function jR(e){const t=Cb(e),n=Vg(t,e),r=Vg(t.reverse(),e);return[n,r]}function Cb(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 Vg(e,t){for(const n of e)if(!AR(n,{upTo:t}))return n}function AR(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 RR(e){return e instanceof HTMLInputElement&&"select"in e}function qn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&RR(e)&&t&&e.select()}}var Bg=IR();function IR(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=zg(e,t),e.unshift(t)},remove(t){var n;e=zg(e,t),(n=e[0])==null||n.resume()}}}function zg(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function MR(e){return e.filter(t=>t.tagName!=="A")}var ku=0;function Tb(){m.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$g()),document.body.insertAdjacentElement("beforeend",e[1]??$g()),ku++,()=>{ku===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ku--}},[])}function $g(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,651 bytes, lines 218-233
218style.position="fixed",e.style.pointerEvents="none",e}var ln=function(){return ln=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},ln.apply(this,arguments)};function Eb(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 DR(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 tl="right-scroll-bar-position",nl="width-before-scroll-bar",OR="with-scroll-bars-hidden",_R="--removed-body-scroll-bar-size";function Cu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function LR(e,t){var n=m.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 FR=typeof window<"u"?m.useLayoutEffect:m.useEffect,Ug=new WeakMap;function VR(e,t){var n=LR(null,function(r){return e.forEach(function(o){return Cu(o,r)})});return FR(function(){var r=Ug.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Cu(a,null)}),s.forEach(function(a){o.has(a)||Cu(a,i)})}Ug.set(n,e)},[e]),n}function BR(e){return e}function zR(e,t){t===void 0&&(t=BR);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(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var d=i;i=[],d.forEach(s)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(d){i.push(d),c()},filter:function(d){return i=i.filter(d),n}}}};return o}function $R(e){e===void 0&&(e={});var t=zR(null);return t.options=ln({async:!0,ssr:!1},e),t}var Pb=function(e){var t=e.sideCar,n=Eb(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 m.createElement(r,ln({},n))};Pb.isSideCarExport=!0;function UR(e,t){return e.useMedium(t),Pb}var Nb=$R(),Tu=function(){},Sc=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:Tu,onWheelCapture:Tu,onTouchMoveCapture:Tu}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,h=e.sideCar,p=e.noRelative,b=e.noIsolation,g=e.inert,w=e.allowPinchZoom,y=e.as,v=y===void 0?"div":y,x=e.gapMode,S=Eb(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=h,C=VR([n,t]),T=ln(ln({},S),o);return m.createElement(m.Fragment,null,d&&m.createElement(k,{sideCar:Nb,removeScrollBar:c,shards:f,noRelative:p,noIsolation:b,inert:g,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:x}),i?m.cloneElement(m.Children.only(a),ln(ln({},T),{ref:C})):m.createElement(v,ln({},T,{className:l,ref:C}),a))});Sc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Sc.classNames={fullWidth:nl,zeroRight:tl};var WR=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function HR(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=WR();return t&&e.setAttribute("nonce",t),e}function KR(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function GR(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qR=function(){var e=0,t=null;return{add:function(n){e==0&&(t=HR())&&(KR(t,n),GR(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},YR=function(){var e=qR();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},jb=function(){var e=YR(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},QR={left:0,top:0,right:0,gap:0},Eu=function(e){return parseInt(e||"",10)||0},XR=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[Eu(n),Eu(r),Eu(o)]},ZR=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return QR;var t=XR(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])}},JR=jb(),Jo="data-scroll-locked",eI=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
219  .`.concat(OR,` {
220   overflow: hidden `).concat(r,`;
221   padding-right: `).concat(a,"px ").concat(r,`;
222  }
223  body[`).concat(Jo,`] {
224    overflow: hidden `).concat(r,`;
225    overscroll-behavior: contain;
226    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
227    padding-left: `.concat(o,`px;
228    padding-top: `).concat(s,`px;
229    padding-right: `).concat(i,`px;
230    margin-left:0;
231    margin-top:0;
232    margin-right: `).concat(a,"px ").concat(r,`;
233    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
233")].filter(Boolean).join(""),`
234  }
235  
236  .`).concat(tl,` {
237    right: `).concat(a,"px ").concat(r,`;
238  }
239  
240  .`).concat(nl,` {
241    margin-right: `).concat(a,"px ").concat(r,`;
242  }
243  
244  .`).concat(tl," .").concat(tl,` {
245    right: 0 `).concat(r,`;
246  }
247  
248  .`).concat(nl," .").concat(nl,` {
249    margin-right: 0 `).concat(r,`;
250  }
251  
252  body[`).concat(Jo,`] {
253    `).concat(_R,": ").concat(a,`px;
254  }
255`)},Wg=function(){var e=parseInt(document.body.getAttribute(Jo)||"0",10);return isFinite(e)?e:0},tI=function(){m.useEffect(function(){return document.body.setAttribute(Jo,(Wg()+1).toString()),function(){var e=Wg()-1;e<=0?document.body.removeAttribute(Jo):document.body.setAttribute(Jo,e.toString())}},[])},nI=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;tI();var s=m.useMemo(function(){return ZR(o)},[o]);return m.createElement(JR,{styles:eI(s,!t,o,n?"":"!important")})},Qd=!1;if(typeof window<"u")try{var Ra=Object.defineProperty({},"passive",{get:function(){return Qd=!0,!0}});window.addEventListener("test",Ra,Ra),window.removeEventListener("test",Ra,Ra)}catch{Qd=!1}var ko=Qd?{passive:!1}:!1,rI=function(e){return e.tagName==="TEXTAREA"},Ab=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!rI(e)&&n[t]==="visible")},oI=function(e){return Ab(e,"overflowY")},sI=function(e){return Ab(e,"overflowX")},Hg=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Rb(e,r);if(o){var s=Ib(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},iI=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},aI=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Rb=function(e,t){return e==="v"?oI(t):sI(t)},Ib=function(e,t){return e==="v"?iI(t):aI(t)},lI=function(e,t){return e==="h"&&t==="rtl"?-1:1},cI=function(e,t,n,r,o){var s=lI(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,l=t.contains(a),c=!1,d=i>0,f=0,h=0;do{if(!a)break;var p=Ib(e,a),b=p[0],g=p[1],w=p[2],y=g-w-s*b;(b||y)&&Rb(e,a)&&(f+=y,h+=b);var v=a.parentNode;a=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(d&&(Math.abs(f)<1||!o)||!d&&(Math.abs(h)<1||!o))&&(c=!0),c},Ia=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Kg=function(e){return[e.deltaX,e.deltaY]},Gg=function(e){return e&&"current"in e?e.current:e},uI=function(e,t){return e[0]===t[0]&&e[1]===t[1]},dI=function(e){return`
256  .block-interactivity-`.concat(e,` {pointer-events: none;}
257  .allow-interactivity-`).concat(e,` {pointer-events: all;}
258`)},fI=0,Co=[];function hI(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),o=m.useState(fI++)[0],s=m.useState(jb)[0],i=m.useRef(e);m.useEffect(function(){i.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=DR([e.lockRef.current],(e.shards||[]).map(Gg),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=m.useCallback(function(g,w){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var y=Ia(g),v=n.current,x="deltaX"in g?g.deltaX:v[0]-y[0],S="deltaY"in g?g.deltaY:v[1]-y[1],k,C=g.target,T=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in g&&T==="h"&&C.type==="range")return!1;var E=Hg(T,C);if(!E)return!0;if(E?k=T:(k=T==="v"?"h":"v",E=Hg(T,C)),!E)return!1;if(!r.current&&"changedTouches"in g&&(x||S)&&(r.current=k),!k)return!0;var A=r.current||k;return cI(A,w,g,A==="h"?x:S,!0)},[]),l=m.useCallback(function(g){var w=g;if(!(!Co.length||Co[Co.length-1]!==s)){var y="deltaY"in w?Kg(w):Ia(w),v=t.current.filter(function(k){return k.name===w.type&&(k.target===w.target||w.target===k.shadowParent)&&uI(k.delta,y)})[0];if(v&&v.should){w.cancelable&&w.preventDefault();return}
vendor: 4,331 bytes, line 258
258if(!v){var x=(i.current.shards||[]).map(Gg).filter(Boolean).filter(function(k){return k.contains(w.target)}),S=x.length>0?a(w,x[0]):!i.current.noIsolation;S&&w.cancelable&&w.preventDefault()}}},[]),c=m.useCallback(function(g,w,y,v){var x={name:g,delta:w,target:y,should:v,shadowParent:pI(y)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),d=m.useCallback(function(g){n.current=Ia(g),r.current=void 0},[]),f=m.useCallback(function(g){c(g.type,Kg(g),g.target,a(g,e.lockRef.current))},[]),h=m.useCallback(function(g){c(g.type,Ia(g),g.target,a(g,e.lockRef.current))},[]);m.useEffect(function(){return Co.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",l,ko),document.addEventListener("touchmove",l,ko),document.addEventListener("touchstart",d,ko),function(){Co=Co.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,ko),document.removeEventListener("touchmove",l,ko),document.removeEventListener("touchstart",d,ko)}},[]);var p=e.removeScrollBar,b=e.inert;return m.createElement(m.Fragment,null,b?m.createElement(s,{styles:dI(o)}):null,p?m.createElement(nI,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function pI(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const mI=UR(Nb,hI);var Hh=m.forwardRef(function(e,t){return m.createElement(Sc,ln({},e,{ref:t,sideCar:mI}))});Hh.classNames=Sc.classNames;var gI=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},To=new WeakMap,Ma=new WeakMap,Da={},Pu=0,Mb=function(e){return e&&(e.host||Mb(e.parentNode))},vI=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Mb(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})},yI=function(e,t,n,r){var o=vI(t,Array.isArray(e)?e:[e]);Da[n]||(Da[n]=new WeakMap);var s=Da[n],i=[],a=new Set,l=new Set(o),c=function(f){!f||a.has(f)||(a.add(f),c(f.parentNode))};o.forEach(c);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(a.has(h))d(h);else try{var p=h.getAttribute(r),b=p!==null&&p!=="false",g=(To.get(h)||0)+1,w=(s.get(h)||0)+1;To.set(h,g),s.set(h,w),i.push(h),g===1&&b&&Ma.set(h,!0),w===1&&h.setAttribute(n,"true"),b||h.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return d(t),a.clear(),Pu++,function(){i.forEach(function(f){var h=To.get(f)-1,p=s.get(f)-1;To.set(f,h),s.set(f,p),h||(Ma.has(f)||f.removeAttribute(r),Ma.delete(f)),p||f.removeAttribute(n)}),Pu--,Pu||(To=new WeakMap,To=new WeakMap,Ma=new WeakMap,Da={})}},Db=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=gI(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),yI(r,o,n,"aria-hidden")):function(){return null}},kc="Dialog",[Ob,n5]=vn(kc),[xI,Zt]=Ob(kc),_b=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=m.useRef(null),l=m.useRef(null),[c,d]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:kc});return u.jsx(xI,{scope:t,triggerRef:a,contentRef:l,contentId:vr(),titleId:vr(),descriptionId:vr(),open:c,onOpenChange:d,onOpenToggle:m.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};_b.displayName=kc;var Lb="DialogTrigger",wI=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Zt(Lb,n),s=le(t,o.triggerRef);return u.jsx(Z.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":qh(o.open),...r,ref:s,onClick:G(e.onClick,o.onOpenToggle)})});wI.displayName=Lb;var Kh="DialogPortal",[bI,Fb]=Ob(Kh,{forceMount:void 0}),Vb=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Zt(Kh,t);return u.jsx(bI,{scope:t,forceMount:n,children:m.Children.map(r,i=>u.jsx(jr,{present:n||s.open,children:u.jsx(hc,{asChild:!0,container:o,children:i})}))})};Vb.displayName=Kh;var Fl="DialogOverlay",Bb=m.forwardRef((e,t)=>{const n=Fb(Fl,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Zt(Fl,e.__scopeDialog);return s.modal?u.jsx(jr,{present:r||s.open,children:u.jsx(kI,{...o,ref:t})}):null});Bb.displayName=Fl;var SI=gs("DialogOverlay.RemoveScroll"),kI=m.forwardRef((e,t)=>
258{const{__scopeDialog:n,...r}=e,o=Zt(Fl,n);return u.jsx(Hh,{as:SI,allowPinchZoom:!0,shards:[o.contentRef],children:u.jsx(Z.div,{"data-state":qh(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),co="DialogContent",zb=m.forwardRef((e,t)=>{const n=Fb(co,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Zt(co,e.__scopeDialog);return u.jsx(jr,{present:r||s.open,children:s.modal?u.jsx(CI,{...o,ref:t}):u.jsx(TI,{...o,ref:t})})});zb.displayName=co;var CI=m.forwardRef((e,t)=>{const n=Zt(co,e.__scopeDialog),r=m.useRef(null),o=le(t,n.contentRef,r);return m.useEffect(()=>{const s=r.current;if(s)return Db(s)},[]),u.jsx($b,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:G(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),(i=n.triggerRef.current)==null||i.focus()}),onPointerDownOutside:G(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&s.preventDefault()}),onFocusOutside:G(e.onFocusOutside,s=>s.preventDefault())})}),TI=m.forwardRef((e,t)=>{const n=Zt(co,e.__scopeDialog),r=m.useRef(!1),o=m.useRef(!1);return u.jsx($b,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((c=n.triggerRef.current)==null?void 0:c.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),$b=m.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=Zt(co,n),l=m.useRef(null),c=le(t,l);return Tb(),u.jsxs(u.Fragment,{children:[u.jsx(Wh,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:u.jsx(ea,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":qh(a.open),...i,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(EI,{titleId:a.titleId}),u.jsx(NI,{contentRef:l,descriptionId:a.descriptionId})]})]})}),Gh="DialogTitle",Ub=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Zt(Gh,n);return u.jsx(Z.h2,{id:o.titleId,...r,ref:t})});Ub.displayName=Gh;var Wb="DialogDescription",Hb=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Zt(Wb,n);return u.jsx(Z.p,{id:o.descriptionId,...r,ref:t})});Hb.displayName=Wb;var Kb="DialogClose",Gb=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Zt(Kb,n);return u.jsx(Z.button,{type:"button",...r,ref:t,onClick:G(e.onClick,()=>o.onOpenChange(!1))})});Gb.displayName=Kb;function qh(e){return e?"open":"closed"}var qb="DialogTitleWarning",[r5,Yb]=HN(qb,{contentName:co,titleName:Gh,docsSlug:"dialog"}),EI=({titleId:e})=>{const t=Yb(qb),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
259
260If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
261
262For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},PI="DialogDescriptionWarning",NI=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Yb(PI).contentName}}.`;return m.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},jI=_b,AI=Vb,Qb=Bb,Xb=zb,Zb=Ub,Jb=Hb,RI=Gb;const II=jI,MI=AI,e1=m.forwardRef(({className:e,...t},n)=>u.jsx(Qb,{ref:n,className:re("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));e1.displayName=Qb.displayName;const t1=m.forwardRef(({className:e,children:t,...n},r)=>u.jsxs(MI,{children:[u.jsx(e1,{}),u.jsxs(Xb,{ref:r,className:re("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
262nded-lg",e),...n,children:[t,u.jsxs(RI,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[u.jsx(Rh,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));t1.displayName=Xb.displayName;const n1=({className:e,...t})=>u.jsx("div",{className:re("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});n1.displayName="DialogHeader";const r1=({className:e,...t})=>u.jsx("div",{className:re("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});r1.displayName="DialogFooter";const o1=m.forwardRef(({className:e,...t},n)=>u.jsx(Zb,{ref:n,className:re("text-lg font-semibold leading-none tracking-tight",e),...t}));o1.displayName=Zb.displayName;const s1=m.forwardRef(({className:e,...t},n)=>u.jsx(Jb,{ref:n,className:re("text-sm text-muted-foreground",e),...t}));s1.displayName=Jb.displayName;function Yh(e){const t=m.useRef({value:e,previous:e});return m.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Cc="Switch",[DI,o5]=vn(Cc),[OI,_I]=DI(Cc),i1=m.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:c,form:d,...f}=e,[h,p]=m.useState(null),b=le(t,x=>p(x)),g=m.useRef(!1),w=h?d||!!h.closest("form"):!0,[y,v]=Dn({prop:o,defaultProp:s??!1,onChange:c,caller:Cc});return u.jsxs(OI,{scope:n,checked:y,disabled:a,children:[u.jsx(Z.button,{type:"button",role:"switch","aria-checked":y,"aria-required":i,"data-state":u1(y),"data-disabled":a?"":void 0,disabled:a,value:l,...f,ref:b,onClick:G(e.onClick,x=>{v(S=>!S),w&&(g.current=x.isPropagationStopped(),g.current||x.stopPropagation())})}),w&&u.jsx(c1,{control:h,bubbles:!g.current,name:r,value:l,checked:y,required:i,disabled:a,form:d,style:{transform:"translateX(-100%)"}})]})});i1.displayName=Cc;var a1="SwitchThumb",l1=m.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=_I(a1,n);return u.jsx(Z.span,{"data-state":u1(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});l1.displayName=a1;var LI="SwitchBubbleInput",c1=m.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},s)=>{const i=m.useRef(null),a=le(i,s),l=Yh(n),c=Bh(t);return m.useEffect(()=>{const d=i.current;if(!d)return;const f=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(f,"checked").set;if(l!==n&&p){const b=new Event("click",{bubbles:r});p.call(d,n),d.dispatchEvent(b)}},[l,n,r]),u.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:a,style:{...o.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});c1.displayName=LI;function u1(e){return e?"checked":"unchecked"}var d1=i1,FI=l1;const rl=m.forwardRef(({className:e,...t},n)=>u.jsx(d1,{className:re("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",e),...t,ref:n,children:u.jsx(FI,{className:re("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));rl.displayName=d1.displayName;const f1="revyu_cookie_consent",h1=1,Xd="revyu:consent-changed",Zd=()=>{if(typeof window>"u")return null;try{const e=localStorage.getItem(f1);if(!e)return null;const t=JSON.parse(e);return t.version!==h1?null:t}catch{return null}},Qh=e=>{const t={categories:{necessary:!0,analytics:e.analytics,marketing:e.marketing},timestamp:Date.now(),version:h1};return localStorage.setItem(f1,JSON.stringify(t)),window.dispatchEvent(new CustomEvent(Xd,{detail:t})),t},VI=()=>Qh({analytics:!0,marketing:!0}),BI=()=>Qh({analytics:!1,marketing:!1}),Jd="revyu:open-cookie-preferences",zI=()=>{window.dispatchEvent(new CustomEvent(Jd))},$I=()=>{const[e,t]=m.useState(!1),[n,r]=m.useState(!1),[o,s]=m.useState(!1),[i,a]=m.useState(!1);m.useEffect(()=>{const f=Zd();f?(s(f.categories.analytics),a(f.categories.marketing)):t(!0);const h=()=>{const p=Zd();s((p==null?void 0:p.categories.analytics)??!1),a((p==null?void 0:p.categories.marketing)??!1),r(!0),t(!1)};return window.addEventListener(Jd,h),()=>window.removeEventListener(Jd,h)},[]);const l=()=>{VI(),t(!1),r(!1)},c=()=>{BI(),t(!1),r(!1)},d=()=>{Qh({analytics:o,marketing:i}),t(!1),r(!1)};return u.jsxs(u.Fragment,{children:[e&&u.jsx("div",{role:"dialog","aria-live":"polite","aria-label":"Cookie consent",className:"fixed inset-x-0 bottom-0 z-50 p-4 md:p-6 animate-in slide-in-from-bottom-4 duration-300",children:u.jsx("div",{className:"mx-auto max-w-4xl rounded-2xl border border-border bg-background/95 backdrop-blur shadow-xl p-5 md:p-6",children:u.jsxs("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[u.jsxs("div",{className:"flex-1",children:[u.jsx("h3",{className:"text-base font-semibold text-foreground mb-1",children:"We use cookies"}),u.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:["We use cookies to make our site work, understand how it's used, and improve your experience. You can accept all, reject non-e
262ssential, or customize your choice. Read our"," ",u.jsx(_e,{to:"/privacy",className:"underline hover:text-foreground",children:"Privacy Policy"}),"."]})]}),u.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 md:flex-shrink-0",children:[u.jsx("button",{onClick:()=>r(!0),className:"rounded-full border border-border bg-transparent px-5 py-2.5 text-sm font-medium text-foreground hover:bg-muted transition-colors",children:"Customize"}),u.jsx("button",{onClick:c,className:"rounded-full border border-border bg-transparent px-5 py-2.5 text-sm font-medium text-foreground hover:bg-muted transition-colors",children:"Reject all"}),u.jsx("button",{onClick:l,className:"rounded-full bg-primary px-5 py-2.5 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",children:"Accept all"})]})]})})}),u.jsx(II,{open:n,onOpenChange:r,children:u.jsxs(t1,{className:"max-w-lg",children:[u.jsxs(n1,{children:[u.jsx(o1,{children:"Cookie preferences"}),u.jsx(s1,{children:"Choose which categories of cookies you want to allow. You can change this at any time."})]}),u.jsxs("div",{className:"space-y-4 py-2",children:[u.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-xl border border-border p-4",children:[u.jsxs("div",{className:"flex-1",children:[u.jsx("div",{className:"font-medium text-foreground",children:"Strictly necessary"}),u.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Required for the site to function. Cannot be disabled."})]}),u.jsx(rl,{checked:!0,disabled:!0,"aria-label":"Strictly necessary cookies (always on)"})]}),u.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-xl border border-border p-4",children:[u.jsxs("div",{className:"flex-1",children:[u.jsx("div",{className:"font-medium text-foreground",children:"Analytics"}),u.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Help us understand how visitors use the site (e.g. Google Analytics)."})]}),u.jsx(rl,{checked:o,onCheckedChange:s,"aria-label":"Analytics cookies"})]}),u.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-xl border border-border p-4",children:[u.jsxs("div",{className:"flex-1",children:[u.jsx("div",{className:"font-medium text-foreground",children:"Marketing"}),u.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Used to measure ad performance and personalize content."})]}),u.jsx(rl,{checked:i,onCheckedChange:a,"aria-label":"Marketing cookies"})]})]}),u.jsxs(r1,{className:"flex-col sm:flex-row gap-2",children:[u.jsx("button",{onClick:c,className:"rounded-full border border-border bg-transparent px-5 py-2.5 text-sm font-medium text-foreground hover:bg-muted transition-colors",children:"Reject all"}),u.jsx("button",{onClick:d,className:"rounded-full border border-border bg-transparent px-5 py-2.5 text-sm font-medium text-foreground hover:bg-muted transition-colors",children:"Save preferences"}),u.jsx("button",{onClick:l,className:"rounded-full bg-primary px-5 py-2.5 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",children:"Accept all"})]})]})})]})},qg="G-HZJQYTY2HF",UI=()=>{if(document.getElementById("ga-script"))return;const e=document.createElement("script");e.id="ga-script",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${qg}`,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",qg,{anonymize_ip:!0})},WI=()=>(m.useEffect(()=>{const e=()=>{const t=Zd();t!=null&&t.categories.analytics&&UI()};return e(),window.addEventListener(Xd,e),()=>window.removeEventListener(Xd,e)},[]),null),HI=Dw("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"}}),gn=m.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?GN:"button";return u.jsx(i,{className:re(HI({variant:t,size:n,className:e})),ref:s,...o})});gn.displayName="Button";const KI="/assets/logo-black-Ch2j_ucj.svg",Yg=[{label:"Home",path:"/"},{label:"Hotels & OTAs",path:"/hotels-and-otas"}
262,{label:"How it Works",path:"/how-it-works"},{label:"About",path:"/about"},{label:"FAQs",path:"/faqs"},{label:"Blog",path:"/blog"},{label:"Contact Us",path:"/contact"}],GI=()=>{const[e,t]=m.useState(!1),n=Ps();return u.jsxs("header",{className:"sticky top-0 z-50 w-full border-b border-border/40 bg-background/80 backdrop-blur-xl",children:[u.jsxs("div",{className:"container flex h-16 items-center justify-between",children:[u.jsx(_e,{to:"/",className:"flex items-center",children:u.jsx("img",{src:KI,alt:"Revyu.ai",className:"h-7"})}),u.jsx("nav",{className:"hidden items-center gap-1 rounded-full border border-border bg-card px-2 py-1 lg:flex",children:Yg.map(r=>u.jsx(_e,{to:r.path,className:re("rounded-full px-3.5 py-1.5 text-sm font-medium transition-colors",n.pathname===r.path?"bg-primary text-primary-foreground":"text-foreground/70 hover:text-foreground hover:bg-muted"),children:r.label},r.path))}),u.jsx(gn,{asChild:!0,className:"hidden rounded-full gap-2 lg:inline-flex bg-foreground text-background hover:bg-foreground
262/90",size:"sm",children:u.jsxs("a",{href:"https://chromewebstore.google.com/detail/revyuai-your-ultimate-tra/eaikdjmdijlohhbmkkbeiieaaadlfbop",target:"_blank",rel:"noopener noreferrer",children:[u.jsx(Fi,{className:"h-4 w-4"}),"Try Revyu for Free"]})}),u.jsx("button",{className:"lg:hidden p-2",onClick:()=>t(!e),"aria-label":"Toggle menu",children:e?u.jsx(Rh,{className:"h-6 w-6"}):u.jsx(qj,{className:"h-6 w-6"})})]}),e&&u.jsx("div",{className:"border-t border-border bg-background p-4 lg:hidden",children:u.jsxs("nav",{className:"flex flex-col gap-2",children:[Yg.map(r=>u.jsx(_e,{to:r.path,onClick:()=>t(!1),className:re("rounded-lg px-4 py-2.5 text-sm font-medium transition-colors",n.pathname===r.path?"bg-primary text-primary-foreground":"text-foreground/70 hover:bg-muted"),children:r.label},r.path)),u.jsx(gn,{asChild:!0,className:"rounded-full gap-2 mt-2 bg-foreground text-background hover:bg-foreground/90",size:"sm",children:u.jsxs("a",{href:"https://chromewebstore.google.com/detail/revyuai-your-ultimate-tra/eaikdjmdijlohhbmkkbeiieaaadlfbop",target:"_blank",rel:"noopener noreferrer",children:[u.jsx(Fi,{className:"h-4 w-4"}),"Try Revyu for Free"]})})]})})]})},qI="/assets/logo-white-BQvoyO4Y.svg",YI=[{label:"Home",path:"/"},{label:"Hotels & OTAs",path:"/hotels-and-otas"},{label:"How it Works",path:"/how-it-works"},{label:"About",path:"/about"},{label:"Blog",path:"/blog"}],QI=[{label:"FAQs",path:"/faqs"},{label:"Contact Us",path:"/contact"},{label:"Privacy Policy",path:"#"},{label:"Terms of Service",path:"#"}],XI=()=>u.jsx("footer",{className:"bg-foreground text-background",children:u.jsxs("div",{className:"container py-16",children:[u.jsxs("div",{className:"grid gap-12 md:grid-cols-4",children:[u.jsxs("div",{className:"md:col-span-1",children:[u.jsx(_e,{to:"/",className:"inline-block mb-4",children:u.jsx("img",{src:qI,alt:"Revyu.ai",className:"h-7"})}),u.jsx("p",{className:"text-sm text-background/60 leading-relaxed",children:"AI-powered hotel review summaries & chat. Travel smarter, book faster."}),u.jsx("div",{className:"mt-6 flex gap-3",children:["LinkedIn","TikTok","Facebook","Instagram"].map(e=>u.jsx("a",{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-full bg-background/10 text-xs text-background/60 hover:bg-primary hover:text-primary-foreground transition-colors","aria-label":e,children:e[0]},e))})]}),u.jsxs("div",{children:[u.jsx("h5",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-background/40",children:"Menu"}),u.jsx("ul",{className:"space-y-2.5",children:YI.map(e=>u.jsx("li",{children:u.jsx(_e,{to:e.path,className:"text-sm text-background/60 hover:text-background transition-colors",children:e.label})},e.path))})]}),u.jsxs("div",{children:[u.jsx("h5",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-background/40",children:"Help"}),u.jsx("ul",{className:"space-y-2.5",children:QI.map(e=>u.jsx("li",{children:u.jsx(_e,{to:e.path,className:"text-sm text-background/60 hover:text-background transition-colors",children:e.label})},e.path))})]}),u.jsxs("div",{children:[u.jsx("h5",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-background/40",children:"Stay updated"}),u.jsx("p",{className:"text-sm text-background/60 mb-4",children:"Get the latest updates on AI-powered travel insights."}),u.jsxs("div",{className:"flex gap-2",children:[u.jsx("input",{type:"email",placeholder:"Your email",className:"flex-1 rounded-full bg-background/10 px-4 py-2 text-sm text-background placeholder:text-background/40 border border-background/10 focus:outline-none focus:ring-1 focus:ring-primary"}),u.jsx("button",{className:"rounded-full bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",children:"Subscribe"})]})]})]}),u.jsxs("div",{className:"mt-12 border-t border-background/10 pt-6 flex flex-col sm:flex-row items-center justify-center gap-2 sm:gap-4 text-center",children:[u.jsxs("p",{className:"text-sm text-background/40",children:["© ",new Date().getFullYear()," Revyu.ai - Made with ♥ in Berlin. All rights reserved."]}),u.jsx("button",{onClick:zI,className:"text-sm text-background/40 hover:text-background transition-colors underline-offset-2 hover:underline",children:"Cookie settings"})]})]})}),Ln=({children:e})=>u.jsxs("div",{className:"flex min-h-screen flex-col",children:[u.jsx(GI,{}),u.jsx("main",{className:"flex-1",children:e}),u.jsx(XI,{})]}),es=({value:e,suffix:t="",label:n})=>{const[r,o]=m.useState(0),[s,i]=m.useState(!1),a=m.useRef(null);return m.useEffect(()=>{const l=new IntersectionObserver(([c])=>{if(c.isIntersecting&&!s){i(!0);const d=1500,f=40,h=e/f;let p=0;const b=setInterval(()=>{p+=h,p>=e?(o(e),clearInterval(b)):o(Math.floor(p))},d/f)}},{threshold:.3});return a.current&&l.observe(a.current),()=>l.disconnect()},[e,s]),u.jsxs("div",{ref:a,className:"text-center",children:[u.jsxs("div",{className:"text-4xl font-bold text-primary md:text-5xl",children:[r.toLocaleStr
262ing(),t]}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:n})]})};var Tc="Collapsible",[ZI,p1]=vn(Tc),[JI,Xh]=ZI(Tc),m1=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:s,onOpenChange:i,...a}=e,[l,c]=Dn({prop:r,defaultProp:o??!1,onChange:i,caller:Tc});return u.jsx(JI,{scope:n,disabled:s,contentId:vr(),open:l,onOpenToggle:m.useCallback(()=>c(d=>!d),[c]),children:u.jsx(Z.div,{"data-state":Jh(l),"data-disabled":s?"":void 0,...a,ref:t})})});m1.displayName=Tc;var g1="CollapsibleTrigger",v1=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Xh(g1,n);return u.jsx(Z.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Jh(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:G(e.onClick,o.onOpenToggle)})});v1.displayName=g1;var Zh="CollapsibleContent",y1=m.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Xh(Zh,e.__scopeCollapsible);return u.jsx(jr,{present:n||o.open,children:({present:s})=>u.jsx(eM,{...r,ref:t,present:s})})});y1.displayName=Zh;var eM=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...s}=e,i=Xh(Zh,n),[a,l]=m.useState(r),c=m.useRef(null),d=le(t,c),f=m.useRef(0),h=f.current,p=m.useRef(0),b=p.current,g=i.open||a,w=m.useRef(g),y=m.useRef(void 0);return m.useEffect(()=>{const v=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(v)},[]),Ve(()=>{const v=c.current;if(v){y.current=y.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";const x=v.getBoundingClientRect();f.current=x.height,p.current=x.width,w.current||(v.style.transitionDuration=y.current.transitionDuration,v.style.animationName=y.current.animationName),l(r)}},[i.open,r]),u.jsx(Z.div,{"data-state":Jh(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!g,...s,ref:d,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:g&&o})});function Jh(e){return e?"open":"closed"}var tM=m1,nM=v1,rM=y1,oM=m.createContext(void 0);function x1(e){const t=m.useContext(oM);return e||t||"ltr"}var Jt="Accordion",sM=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[ep,iM,aM]=Eh(Jt),[Ec,s5]=vn(Jt,[aM,p1]),tp=p1(),w1=I.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,s=r;return u.jsx(ep.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?u.jsx(dM,{...s,ref:t}):u.jsx(uM,{...o,ref:t})})});w1.displayName=Jt;var[b1,lM]=Ec(Jt),[S1,cM]=Ec(Jt,{collapsible:!1}),uM=I.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:s=!1,...i}=e,[a,l]=Dn({prop:n,defaultProp:r??"",onChange:o,caller:Jt});return u.jsx(b1,{scope:e.__scopeAccordion,value:I.useMemo(()=>a?[a]:[],[a]),onItemOpen:l,onItemClose:I.useCallback(()=>s&&l(""),[s,l]),children:u.jsx(S1,{scope:e.__scopeAccordion,collapsible:s,children:u.jsx(k1,{...i,ref:t})})})}),dM=I.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...s}=e,[i,a]=Dn({prop:n,defaultProp:r??[],onChange:o,caller:Jt}),l=I.useCallback(d=>a((f=[])=>[...f,d]),[a]),c=I.useCallback(d=>a((f=[])=>f.filter(h=>h!==d)),[a]);return u.jsx(b1,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:c,children:u.jsx(S1,{scope:e.__scopeAccordion,collapsible:!0,children:u.jsx(k1,{...s,ref:t})})})}),[fM,Pc]=Ec(Jt),k1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:s="vertical",...i}=e,a=I.useRef(null),l=le(a,t),c=iM(n),f=x1(o)==="ltr",h=G(e.onKeyDown,p=>{var E;if(!sM.includes(p.key))return;const b=p.target,g=c().filter(A=>{var R;return!((R=A.ref.current)!=null&&R.disabled)}),w=g.findIndex(A=>A.ref.current===b),y=g.length;if(w===-1)return;p.preventDefault();let v=w;const x=0,S=y-1,k=()=>{v=w+1,v>S&&(v=x)},C=()=>{v=w-1,v<x&&(v=S)};switch(p.key){case"Home":v=x;break;case"End":v=S;break;case"ArrowRight":s==="horizontal"&&(f?k():C());break;case"ArrowDown":s==="vertical"&&k();break;case"ArrowLeft":s==="horizontal"&&(f?C():k());break;case"ArrowUp":s==="vertical"&&C();break}const T=v%y;(E=g[T].ref.current)==null||E.focus()});return u.jsx(fM,{scope:n,disabled:r,direction:o,orientation:s,children:u.jsx(ep.Slot,{scope:n,children:u.jsx(Z.div,{...i,"data-orientation":s,ref:l,onKeyDown:r?void 0:h})})})}),Vl="AccordionItem",[hM,np]=Ec(Vl),C1=I.forwardRef((e,t)=>
262{const{__scopeAccordion:n,value:r,...o}=e,s=Pc(Vl,n),i=lM(Vl,n),a=tp(n),l=vr(),c=r&&i.value.includes(r)||!1,d=s.disabled||e.disabled;return u.jsx(hM,{scope:n,open:c,disabled:d,triggerId:l,children:u.jsx(tM,{"data-orientation":s.orientation,"data-state":A1(c),...a,...o,ref:t,disabled:d,open:c,onOpenChange:f=>{f?i.onItemOpen(r):i.onItemClose(r)}})})});C1.displayName=Vl;var T1="AccordionHeader",E1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Pc(Jt,n),s=np(T1,n);return u.jsx(Z.h3,{"data-orientation":o.orientation,"data-state":A1(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})});E1.displayName=T1;var ef="AccordionTrigger",P1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Pc(Jt,n),s=np(ef,n),i=cM(ef,n),a=tp(n);return u.jsx(ep.ItemSlot,{scope:n,children:u.jsx(nM,{"aria-disabled":s.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:s.triggerId,...a,...r,ref:t})})});P1.displayName=ef;var N1="AccordionContent",j1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Pc(Jt,n),s=np(N1,n),i=tp(n);return u.jsx(rM,{role:"region","aria-labelledby":s.triggerId,"data-orientation":o.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});j1.displayName=N1;function A1(e){return e?"open":"closed"}var pM=w1,mM=C1,gM=E1,R1=P1,I1=j1;const Qg=pM,tf=m.forwardRef(({className:e,...t},n)=>u.jsx(mM,{ref:n,className:re("border-b",e),...t}));tf.displayName="AccordionItem";const nf=m.forwardRef(({className:e,children:t,...n},r)=>u.jsx(gM,{className:"flex",children:u.jsxs(R1,{ref:r,className:re("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,u.jsx(Ah,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));nf.displayName=R1.displayName;const rf=m.forwardRef(({className:e,children:t,...n},r)=>u.jsx(I1,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:u.jsx("div",{className:re("pb-4 pt-0",e),children:t})}));rf.displayName=I1.displayName;const Xg=[{q:"What is Revyu.ai?",a:"Revyu.ai is an AI-powered Chrome extension that summarizes hotel reviews from platforms like Booking.com and TripAdvisor, helping travelers make faster, more confident booking decisions."},{q:"How does Revyu.ai work?",a:"Once installed, Revyu.ai automatically detects when you're browsing hotel pages. It uses advanced AI to analyze hundreds of reviews and presents you with clear, concise summaries highlighting key themes like cleanliness, service, and value."},{q:"Is Revyu.ai free to use?",a:"Yes! Revyu.ai offers a free tier with essential features. Premium plans with advanced AI chat, unlimited summaries, and priority support are also available."},{q:"Which platforms does Revyu.ai support?",a:"Currently, Revyu.ai works on Booking.com and TripAdvisor. We're actively working on adding support for more platforms including Expedia and Hotels.com."},{q:"How accurate are the AI summaries?",a:"Our AI model is trained on millions of hotel reviews and achieves over 95% accuracy in identifying key themes and sentiments. We continuously improve our models based on user feedback."},{q:"Can I use Revyu.ai on mobile?",a:"Currently Revyu.ai is available as a Chrome desktop extension. A mobile app is on our roadmap and will be available soon."},{q:"How does the AI Chat feature work?",a:"The AI Chat lets you ask specific questions about a hotel, like 'Is the Wi-Fi reliable?' or 'How's the breakfast?' Our AI searches through all reviews and provides a direct, sourced answer."},{q:"Is my data safe with Revyu.ai?",a:"Absolutely. We take privacy seriously. Revyu.ai doesn't collect personal data, doesn't track your browsing history, and all review anal
262ysis happens securely with enterprise-grade encryption."},{q:"What makes Revyu.ai different from other tools?",a:"Unlike simple review aggregators, Revyu.ai uses advanced NLP to understand context, detect fake reviews, and provide actionable insights - not just star ratings."},{q:"How do Hotels & OTAs benefit from Revyu.ai?",a:"Hotels and OTAs can integrate Revyu.ai to provide AI-powered review summaries on their platforms, improving user engagement, conversion rates, and guest satisfaction."},{q:"Can I request a demo for my business?",a:"Yes! Click the 'Request a Demo' button on our Hotels & OTAs page or contact us at [email protected] for a personalized walkthrough."},{q:"Does Revyu.ai detect fake reviews?",a:"Yes. Our AI is trained to identify patterns commonly associated with fake or incentivized reviews, giving you more trustworthy insights."},{q:"How do I install the Chrome extension?",a:"Visit the Chrome Web Store, search for 'Revyu.ai', and click 'Add to Chrome'. The extension will be ready to use immediately on supported hotel platforms."},{q:"Can I customize the summaries?",a:"Premium users can customize which categories matter most to them (e.g., cleanliness, location, value) and receive tailored summaries based on their preferences."},{q:"What languages does Revyu.ai support?",a:"Revyu.ai currently supports English, with multilingual support coming soon including German, French, Spanish, and more."},{q:"How often are summaries updated?",a:"Summaries are generated in real-time whenever you visit a hotel page, ensuring you always see insights based on the latest reviews."},{q:"Is there a browser extension for Firefox or Safari?",a:"Currently we support Chrome only. Firefox and Safari extensions are planned for future releases."},{q:"Can Revyu.ai integrate with my booking platform?",a:"Yes! We offer API integrations for OTAs, hotel chains, and travel platforms. Contact our sales team for integration details."},{q:"What's on the roadmap for Revyu.ai?",a:"We're working on mobile apps, more platform integrations, price comparison features, and advanced AI recommendations based on your travel history."},{q:"How can I contact support?",a:"You can reach us at [email protected], through the contact form on our website, or via the in-extension feedback button. We typically respond within 24 hours."}],Nc=({showTitle:e=!0,maxItems:t})=>{const n=t?Xg.slice(0,t):Xg,r=Math.ceil(n.length/2),o=n.slice(0,r),s=n.slice(r);return u.jsx("section",{className:"py-12",children:u.jsxs("div",{className:"container",children:[e&&u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"FAQs"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Questions? We've Got"," ",u.jsx("span",{className:"text-primary",children:"Answers."})]})]}),u.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[u.jsx(Qg,{type:"single",collapsible:!0,className:"space-y-3",children:o.map((i,a)=>u.jsxs(tf,{value:`left-${a}`,className:"rounded-xl border border-border bg-card px-5 data-[state=open]:shadow-sm",children:[u.jsx(nf,{className:"text-sm font-medium hover:no-underline",children:i.q}),u.jsx(rf,{className:"text-sm text-muted-foreground",children:i.a})]},a))}),u.jsx(Qg,{type:"single",collapsible:!0,className:"space-y-3",children:s.map((i,a)=>u.jsxs(tf,{value:`right-${a}`,className:"rounded-xl border border-border bg-card px-5 data-[state=open]:shadow-sm",children:[u.jsx(nf,{className:"text-sm font-medium hover:no-underline",children:i.q}),u.jsx(rf,{className:"text-sm text-muted-foreground",children:i.a})]},a))})]})]})})},to=[{slug:"5-best-ai-travel-assistants-in-2025",title:"5 Best AI Travel Assistants in 2025",excerpt:"So, what is the solution? Artificial Intelligence is here to cut through all the noise especially when it comes to trip planning in 2025.",category:"AI Productivity Tools",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/5-best-ai-travel-assistants-in-2025.jpg",featured:!0,content:`<p id="">It's the weekend and it’s a Saturday night. You are shopping for groceries and standing in front of the cereal aisle and looking at 50 different brands and wondering why choosing just one is so difficult and feels so hard! It’s all about simple choices that sometimes feel so complex and complicated. I guess, travel planning in 2025 feels exactly the same. Too many options, too many opinions and too little time to figure out what actually feels good.</p><p id="">‍</p><p id="">So, what is the solution? Artificial Intelligence is here to cut through all the noise especially when it comes to trip planning in 2025. One tool in particular Revyu.AI is leading the way and is&nbsp;breaking new ground in how we understand hotel reviews. Revyu.Ai is like having a travel guru on speed dial. It’s like chatting with a friend who has been everywhere and knows exactly what you love.</p><p id="">‍</p><blockquote id="">Most of the travelers have gone through the frustration of decoding the endless reviews before planning their trip and trying to figure out the hidden messages scattered around the booking websites. </blockquote><p id="">Revyu.AI fixes this beautifully. This Chrome extension analyzes every single review and generates smart summaries with clear pros, cons and unbiased sentiment. Instead of drowning in opinions you get a clear picture with our smart AI of what to expect and you make your decisions in seconds not hours!</p><p id="">‍</p><p id="">In 2025 many AI travel tools are stepping up to make travel planning easy and convenient. </p><p id=""><code id="">‍</code><a id="" href="https://hopper.com/" target="_blank"><strong id="">Hopper</strong></a><strong id=""><code id=""> </code></strong>helps you figure out the best time to book flights and hotels so you can save money, without all the second guessing. </p><p id=""><strong id="">‍</strong><a id="" href="https://roamaround.app/" target="_blank"><strong id="">Roam Around</strong></a> builds you custom itineraries based on what you actually enjoy. For instance, you enjoy street food but hate crowds, so it will design a trip just for that. </p><p id="">‍<a href="http://kayak.ai" target="_blank"><strong id="">KAYAK's AI</strong></a> even answers plain questions like find me a family friendly hotel near Rome’s city centre with free breakfast thus making your vacation research planning so much personal. </p><p id=""><strong id="">‍</strong><a id="" href="https://easywithai.com/ai-travel-planners/tripnotes-ai/" target="_blank"><strong id="">Tripnotes.ai</strong></a> pulls together all the random links, screenshots, and notes you have collected from your trip and turns them into one clean trip board, it almost feels like your own digital scrapbook. </p><p id="">And<a href="http://mindtrip.ai" target="_blank"> <strong>Mindtrip.AI</strong></a> is another great travel companion tool for searching a destination and planning a trip. It offers a chat tool for suggestions and unique collaboration features for planning a trip with friends.</p><p id="">‍</p><p id="">Ultimately travel shouldn’t feel like a never ending comparison test. In 2025 Artificial Intelligence is built to distill the noise, flag the real deal breakers and hand you a short list that actually matches your tastes. The choice still belongs to you, pick 
262what sparks a little curiosity and book the place that makes you imagine the story you will tell later.&nbsp;</p><p id="">‍</p>`},{slug:"7-best-ai-travel-apps-for-2025-the-smart-travelers-edge",title:"7 Best AI Travel apps for 2025: The Smart Traveler's Edge",excerpt:"It’s the weekend, and you are trying to pick out a movie to watch. You are scrolling through endless streaming services each offering a million choices, recommended by algorithms you don’t quite understand. Half an hour later you are still scrolling!",category:"AI Productivity Tools",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/7-best-ai-travel-apps-for-2025-the-smart-travelers-edge.png",featured:!0,content:`<p id="">It’s the weekend, and you are trying to pick out a movie to watch. You are scrolling through endless streaming services each offering a million choices, recommended by algorithms you don’t quite understand. Half an hour later you are still scrolling! Feeling more overwhelmed than entertained. Food for thought, why is choosing something nowadays even for fun or entertainment often feel like an impossible quest. I guess, travel planning in 2025 feels exactly the same.&nbsp;</p><p>‍</p><p id="">So, what’s the secret sauce – it's AI. Artificial intelligence cuts through all the noise especially when it comes to planning a trip in 2025. AI and travel are becoming inseparable companions for modern explorers these days. These smart tools are changing the game by analyzing our preferences, goals, and even our location to build personalized real-time travel support all from the smartphone. Or we can say that these smart digital helpers are simplifying every aspect of our journeys from planning and booking to managing unexpected hiccups making travel less stressful and far more enjoyable. Needless to say, travellers who are embracing AI in 2025 find themselves with a distinct advantage of saving time, money and energy.</p><p>‍</p><p id="">Imagine this, you want to plan a surprise anniversary trip for your partner. You want something romantic, historical but also with fantastic food and not too many tourists. You start your research, scouring websites, reading reviews, comparing prices – suddenly a romantic gesture feels like a full time job. This is where AI travel assistant steps in and transforms your overwhelming task into an exciting part of the journey. These innovative travel apps processes real-time data including current prices, seasonal trends, and even local events to recommend you the best options for your travel journey.&nbsp;</p><p>‍</p><p id="">In this guide we will explore the 7 must - have AI travel assistants that will give you the smarter traveller’s edge in 2025.</p><p>‍</p><p id=""><a href="https://www.revyu.ai/" target="_blank">Revyu.AI</a> is an AI tool that can be termed as a Hotel Truth Teller! When planning for a trip you go through the endless reviews on booking platforms and this AI tool seamlessly integrates in your browser and highlights the real pros and cons, and even answers your questions in plain simple language–<em id="">”Is this hotel actually quiet?” or “Do they charge hidden fees?"</em> It doesn’t feel like a Chrome extension but more like a candid travel companion, guiding you with precision.&nbsp;</p><p>‍</p><p id=""><a href="https://shop.maaltalk.com/ai-travel-app-maaltalknow?srsltid=AfmBOoqH3AbPRHBawOYnXJ899oAy9jj0S6PnwUMXosKX7vCLwXxCUnqT" target="_blank">Maaltalknow</a> isn’t just another travel app-it's an all in one AI companion that plans, guides and supports you throughout your journey. From building smart itineraries that adapt to flight delays or even weather conditions, to instant translations and one click eSIMS it keeps you connected and stress free. It’s equipped with built in budget tracking, local tips and AI powered travel chats. This AI tool alone replaces multiple apps with one seamless solution for smarter smoother trips.</p><p>‍</p><p id=""><a href="https://pluto-travel-planner.en.softonic.com/iphone?ex=RAMP-3507.4&rex=true" target="_blank">Pluto Planner</a> is your AI–powered trip organiser that takes the chaos into its own hands when it comes to planning your travel. Instead of juggling endless tabs and notes, it builds you a personalized itinerarie, adapts to real-time changes and suggests you the best routes, stays and experiences. Think of it as your close friend who’s smart enough to save your time, keeps you organised and makes your journey smoother from start to finish.</p><p>‍</p><p id=""><a href="https://www.expediagroup.com/investors/news-and-events/financial-releases/news/news-detail
262s/2024/Put-Your-Trip-on-Autopilot-Expedia-Group-Introduces-New-Innovations-at-EXPLORE-to-Take-the-Stress-out-of-Travel-and-Enhance-Partner-Experience/default.aspx" target="_blank">Romie</a>, Expedia’s AI assistant Romie is just like having a personal travel agent in your pocket. This tool helps you find flights, accommodation and activities based on your preferences and adapts to changes like price drops or schedule shifts if there are any unexpected changes in your travel plans.</p><p>‍</p><p id=""><a href="https://citymapper.com/" target="_blank">Citymapper AI</a> makes public transport navigation effortless. It uses its AI to suggest the fastest and most efficient routes across buses, trains, subways, and even walking or cycling options. It ultimately helps you by saving time, avoids confusion and helps you move smoothly throughout any city!</p><p>‍</p><p id=""><a href="https://www.travelperk.com/de/" target="_blank">TravelPerk</a> is another AI tool that can be called as all in one business travel sidekick. With its built in AI, it not only handles bookings and approvals but even automates expenses. Thus making company &amp; business trips smoother and less stressful. Its AI ‘legalbot’ cuts onboarding times drastically by 80%, while its smart integrations helps businesses save money and keeps travel hassle free.</p><p>‍</p><p id=""><a href="https://www.meta.com/de/en/ai-glasses/shop-all/" target="_blank">Ray-Ban Meta Glasses</a> travel in 2025 just got a tech upgrade. With Ray-Ban Meta Glasses you can get instant info about landmarks, menus, or streets without ever reaching out for your phone. Just say ‘<a id="" href="https://www.meta.com/de-de/about/?srsltid=AfmBOoqCv0RlQWQm7gE20EhTzh7X6qooSrm8EiVilUWri6PRuGW1dmpL">Hey Meta</a>’ and its AI will describe what’s in front of you or or will translate the conversations in real time between english, spanish, french and italian. Its like having a personal travel assistant which is built right into your sunglasses– hands-free, effortless and certainly stylish!</p><p>‍</p><h1 id="">The Takeaway</h1><p>‍</p><p id="">In this era travel should be about anticipation, not Anxiety! In 2025, these AI assistants are not just saving time–they are protecting your sanity. They are helping you in spotlighting the details you actually care about and lets you skip the stress spiral of endless comparisons!</p><p>‍</p><p id="">At the end&nbsp; of the day the choice is still yours, that little boutique with a tucked away cafe or the resort with a pool your kids will never leave. But now the choice feels informed, confident, and dare I say it–exciting again.</p><p>‍</p><p id="">So, next time you are booking, don’t be that person on a train. Be a traveller who knows all the secrets because your AI assistant is there to help you!</p><p>‍</p>`},{slug:"ai-travel-assistants-your-smartest-companion-for-safe-fun-and-confident-journeys",title:"AI Travel Assistants: Your Smartest Companion for Safe, Fun, and Confident Journeys",excerpt:"After all, when it comes to exploring the world, it is always best to have an ace up your sleeve!",category:"AI Travel Tips",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/ai-travel-assistants-your-smartest-companion-for-safe-fun-and-confident-journeys.jpg",featured:!0,content:`<p id="">A traveller stares&nbsp; at a globe spinning it lazily and stops it with a finger on a random city Kathmandu, Nepal! Suddenly the excitement hits out loud but so does the panic. Which hotel is safe, which streets are the best to explore at night. What if the weather changes mid trip.That moment of thrill mixed with uncertainty is exactly where AI travel assistants step in orchestrating random decisions into well planned and confident adventure.</p><p id="">‍</p><p id="">At its core an AI travel assistant acts as your travel co-pilot. Just imagine, arriving in a bustling city like Kathmandu and having instant access to reliable hotel reviews, personalised itineraries and real time safety updates. Tools like <a href="http://revyu.ai">Revyu.AI</a> analyze hotel accommodations instantly, and give you smart summaries saving your precious time. </p><p id="">‍<a href="https://www.routeperfect.com/" target="_blank"><strong>RoutePerfect</strong></a> helps you plan multi-city trips with customized itineraries based on your budget, interest and travel style: saving you hours of research. </p><p id="">Whereas <a href="https://roadtrippers.com/" target="_blank"><strong>RoadTrippers</strong></a> is the perfect AI companion for planning unforgettable drives. Whether it's a weekend getaway or a cross country adventure. It suggests scenic routes, quirky pitstops, and must see attractions all along the way. It is evident to say, with <a href="https://roadtrippers.com/" target="_blank"><strong>Roadtrippers</strong></a> every mile feels less like a commute and more like part of the adventure. </p><p id="">‍<a href="https://viavii.com/" target="_blank"><strong>VaiVii</strong></a> is another AI powered travel assistant that helps you discover authentic local experiences tailored to your interests. From hidden food tours to cultural workshops, it connects travellers with unique adventures beyond the tourist trail. </p><p id=""><strong>‍</strong><a href="https://claude.ai/login?returnTo=%2F%3F" target="_blank"><strong>Claude by Anthropic</strong></a> goes beyond just being an AI assistant, it becomes your thoughtful travel planner. With customisable preferences, helps in designing safe, efficient, and enjoyable trips according&nbsp; just to your style. </p><p id="">Another salient AI tool is a must to talk about,&nbsp; <a href="https://www.traveloka.com/en-id/activities/indonesia/product/introduction-to-ai-for-business-online-class-2001643967397" target="_blank"><strong>Trevolka</strong></a>, makes your trip planning effortless by combining hotels, flights, and activities into one smart small platform. Its AI recommendations adapt to your budget, and preferences. Be it from weekend getaways or to long haul escapes, it keeps every detail smooth and stress free. Each tool is designed to remove guesswork, leaving you free to enjoy your adventure with confidence.</p><p id="">‍</p><p id="">Safety is a major concern for travellers, especially for those who are venturing solo or to those exploring unfamiliar regions. AI travel assistants help reduce anxiety by providing you real time alerts, guiding you to trusted locations and offering navigation support that makes getting lost almost impossible! There more to just beyond safety, these assistants make travel enjoyable and memorable. It understands your needs, your interests and then suggests you hidden gems, local activities and experiences accordingly, just to turn your ordinary trips into unforgettable journeys. Language barr
262iers become less intimidating as AI tools like <a href="https://translate.google.com/?hl=de&sl=auto&tl=de&op=translate" target="_blank"><strong>Google Translate</strong></a> give you the freedom to translate menus, directions, and conversation in real-time for smoother interactions wherever you go.</p><p id="">‍</p><p id="">Travelling should be about embracing new experiences and not worrying about logistics or safety. With AI travel assistants by your side every trip is smarter, safer and far more enjoyable. After all, when it comes to exploring the world, it is always best to have an ace up your sleeve!</p><p id="">‍</p>`},{slug:"ai-travel-tools-in-2025-are-transforming-trip-planning",title:"AI Travel Tools in 2025 are Transforming Trip Planning",excerpt:"AI Travel Tools in 2025 are Transforming Trip Planning making Travel Faster, Smarter and more Personal than Ever Before!",category:"AI Productivity Tools",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/ai-travel-tools-in-2025-are-transforming-trip-planning.jpg",featured:!0,content:`<p id="">There was a time when travel planning meant drowning in endless tabs and second guessing every decision. Friends would send you links, blogs would promise secret tips, and review sites felt like noisy marketplaces where everyone was shouting their opinion at once. Planning was supposed to be fun, but it quietly turned into a chore long before you even packed your bags.</p><p id="">‍</p><p id="">Fast forward to today. Something subtle but transformative has changed in the background of the travel world. Artificial intelligence has moved from a tech buzzword into something people are actually using without even thinking about it. Flight searches that predict price drops, maps that learn your habits, and hotel recommendations that feel like they were written just for you. The entire process of planning a trip is quietly being rebuilt into something smoother and far more personal. Every week there is a new AI tool making headlines in travel news. From predicting flight prices to creating custom itineraries, these tools are quietly changing how people explore the world.</p><p id="">‍</p><p id="">And while the AI landscape is booming, one tool is laser focused on solving the biggest headache of all, trusting the opinions of strangers. It's Revyu.AI and is leading the charge. This Chrome Extension reads and analyzes every single hotel review and turns it into a smart summary. It actually changes the way people choose hotels because you finally understand what matters most for your stay.&nbsp;</p><p id="">‍</p><p id="">While Revyu.AI is taking hotel reviews to a new level, there are other AI tools that are transforming different parts of the travel journey. Actually the whole ecosystem is rising to make your journey seamless. </p><p id="">Tools like <a id="" href="https://www.tripit.com/web" target="_blank"><strong>TripIt</strong></a> automatically organize your booking confirmations into a single, master itinerary. </p><p id=""><strong>‍</strong><a href="https://wonderplan.ai/" target="_blank"><strong>Wonderplan.ai</strong></a> helps you organize group trips by syncing plans, splitting costs and managing schedules without endless chat confusion. It takes away the messy, stressful part of planning off your plate, leaving you with just the fun part. </p><p id="">‍<a id="" href="https://www.expedia.com/" target="_blank"><strong>Expedia AI Assistant</strong></a><strong id=""> </strong>integrates<strong id=""> </strong>into the expedia app and websites and uses <a id="" href="https://chatgpt.com/" target="_blank"><strong>ChatGPT</strong></a> to help you create travel plans that fits your budget like, free activities and affordable dining options. </p><p id=""><strong>‍</strong><a href="https://iplan.ai/" target="_blank"><strong>iplan.ai</strong></a>&nbsp; crafts simple, flexible itineraries based on what you love, delivering a smart, mobile first guide for your adventure in seconds. </p><p id="">And, <a id="" href="https://guidegeek.com/" target="_blank"><strong>GuideGeek</strong></a>, this tool offers instant travel assistance via chat, answering any travel related questions users might have on platforms like WhatsApp or Instagram.&nbsp;</p><p id="">‍</p><p id="">But here’s the thing. Travel has never been really about ticking boxes or perfectly following an itinerary. It’s about the little surprises, the unplanned coffee shop or the view you didn’t expect to take your breath away. AI travel tools in 2025 now do all the trip planning work from comparing flight prices to analysing hotel reviews to creating personalised itineraries. So, you can focus on enjoying your journey with clarity, confidence and space to explore beyond the obvious.</p><p id="">‍</p>`},{slug:"an-atlas-of-one-mastering-the-art-of-solo-travel",title:"An Atlas of One: Mastering the Art of Solo Travel",excerpt:"Did you know that 76% of solo travellers believe their journeys have strengthened their confidence and on the road ingenuity. Solo travelling is not always about ticking off the bucket list destinations.",category:"AI Travel Tips",date:"Feb 9, 2026",author:"Revyu Team",image:"/blog/an-atlas-of-one-mastering-the-art-of-solo-travel.jpg",featured:!0,content:`<p id="">Did you know that 76% of solo travellers believe their journeys have strengthened their confidence and on the road ingenuity. Solo travelling is not always about ticking off the bucket list destinations. It's about testing your limits, learning to trust your instincts, and discovering the world on your own terms. Whether you are wandering through the neon lit streets of Tokyo, hiking in the Swiss Alps, or enjoying a chai by the Ganges, the journey becomes more personal when you are your own travel partner. The key is finding the balance between freedom and preparation because when you are solo every decision rests in your hands, from where to sleep to what to eat.</p><p id="">With all the freedom and growth that solo travel brings it is easy to get caught up in the excitement. Overlooking the practical side of things. Confidence and adventure go hand in hand with caution and preparation because the more proactive you are about safety, the smoother and more enjoyable your journey becomes. So start by researching your destination’s local laws, customs, and emergency contacts before you even book your ticket. Ap
262ps like <a href="https://www.google.com/maps/place/Eiffel+Tower/@48.8553173,2.2958552,14z/data=!4m6!3m5!1s0x47e66e2964e34e2d:0x8ddca9ee380ef7e0!8m2!3d48.8583701!4d2.2944813!16zL20vMDJqODE?entry=ttu&g_ep=EgoyMDI1MDgxMi4wIKXMDSoASAFQAw%3D%3D" target="_blank"><strong id="">Google Maps</strong></a>, <a href="https://maps.me/" target="_blank"><strong id="">Maps Me</strong></a> (for offline navigation), and <a href="https://safetywing.com/" target="_blank"><strong id="">Safety Wings</strong></a> for travel insurance) can be lifesavers.</p><p id="">Always share your itinerary with someone you trust, keep digital copies of your ID and passport in a secure cloud folder, and choose accommodations with strong reviews and good locations. For women who are travelling alone platforms like <a href="https://hostasister.global/" target="_blank"><strong id="">Host a Sister</strong></a> or <a href="https://www.hostelworld.com/de/" target="_blank"><strong id="">Hostel World's</strong></a> female only dorm options can offer added security and comfort. We often forget to remember, being alert doesn’t mean being paranoid, it means making smart choices so your adventure stays fun and worry free.</p><p id="">Solo travelling has a magical way of turning even the shyest introvert into a confident, resourceful explorer. Without a travel companion to rely on, you learn to negotiate prices, navigate foreign transport systems, and strike up conversations with locals. And moments like ordering food in a language you don't speak, finding your way after missing a train are the real souvenirs you bring back home.&nbsp;</p><p id="">That growing confidence often inspires travellers to explore smarter ways to plan and enjoy their journeys. We are fortunate to live in an era where travel planning is more intuitive than ever, thanks to a mix of classic travel tools and modern day AI. Platforms like <a href="https://www.booking.com/" target="_blank"><strong id="">Booking.com</strong></a>, <a href="https://www.airbnb.de/" target="_blank"><strong id="">Airbnb</strong></a>, and <a href="https://www.agoda.com/de-de/?ds=MgUtViCNcOo1NwCZ" target="_blank"><strong id="">Agoda</strong></a> provide endless options for accommodations. Meanwhile services like <a href="https://www.skyscanner.de/" target="_blank"><strong id="">Skyscanner</strong></a> and <a href="https://www.google.com/travel/flights?gl=DE&hl=de" target="_blank"><strong id="">Google Flights</strong></a> help you snag the best travel deals. That’s the beauty of combining AI with solo travelling. It allows you to analyze pros and cons, break through language barriers, and keep your budget in check, all so that you can travel smarter, faster and safer.</p><p id="">‍</p>`},{slug:"from-paper-maps-to-ai-the-best-travel-assistants-for-smart-travelers-in-2025",title:"From Paper Maps to AI: The Best Travel Assistants for Smart Travelers in 2025",excerpt:"I tried asking my AI assistant for a simple travel tip and within seconds, it had my planned next three vacations, suggested outfits based on the weather in Bali and even drafted a polite breakup email to my old outdated paper maps.",category:"AI Productivity Tools",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/from-paper-maps-to-ai-the-best-travel-assistants-for-smart-travelers-in-2025.jpg",featured:!0,content:`<p id="">I tried asking my AI assistant for a simple travel tip and within seconds, it had my planned next three vacations, suggested outfits based on the weather in <a href="https://www.tripadvisor.de/Tourism-g294226-Bali-Vacations.html" target="_blank">Bali</a> and even drafted a polite breakup email to my old outdated paper maps. Meanwhile, my smart fridge kept judging my midnight snacks, and my smartwatch insisted I meditate before checking the flight prices. Somewhere between the predictive algorithms and Generative chatbots, I realised technology isn't just helping us travel - it's becoming our overenthusiastic, slightly judgemental travel buddy. Welcome to the era where even your toaster could have an opinion on your itinerary.&nbsp; Gone are the days when your backpack carried nothing but clothes, a paper map and perhaps a crumpled <a href="https://www.lonelyplanet.de/" target="_blank">Lonely Planet</a> guide smelled faintly of adventure (or mildew, depending on your luck). Today AI is the cartographer, concierge, and psychic all rolled into one.</p><p>‍</p><p id="">Imagine booking a trip with nothing else but <a href="https://www.google.com/maps/@-8.455544,114.4120009,9z?entry=ttu&g_ep=EgoyMDI1MDgxNy4wIKXMDSoASAFQAw%3D%3D" target="_blank">Google Maps</a>, <a href="https://www.expedia.de/" target="_blank">Expedia</a>, and a sticky note that says “Don’t get Lost”. Fast forward to 2025 and predictive AI can plan your journey, analyze hotel reviews, suggest hidden cafes where the locals actually eat and even warn you if a sudden rainstorm is about to ruin your instagram shot of the <a href="https://www.google.com/maps/@48.8580746,2.2925508,17z?entry=ttu&g_ep=EgoyMDI1MDgxNy4wIKXMDSoASAFQAw%3D%3D" target="_blank">
262Eiffel Tower</a>. Its like having a travel savvy friend with a PHD in Data Science.</p><p>‍</p><p id="">For instance, take <a href="http://revyu.ai" target="_blank">Revyu.AI</a> I. It analyses thousands of hotel reviews faster than a caffeine fueled chef dicing onions. You don’t have to wade through endless <a href="https://www.tripadvisor.de/" target="_blank">Tripadvisor</a> pages trying to figure out if that boutique in <a href="https://www.google.com/maps/@41.3926386,2.0577875,12z?entry=ttu&g_ep=EgoyMDI1MDgxNy4wIKXMDSoASAFQAw%3D%3D" target="_blank">Barcelona</a> is really charming or just charmingly overpriced. Then there is <a href="https://www.rome2rio.com/" target="_blank">rome2rio</a> it stitches together planes, trains, busses, ferries and even rideshare into one smooth Itinarie. To add another string to its bow is <a href="https://www.makemytrip.com/" target="_blank">MakeMytrip</a> travel booking covers flight, hotels, buses, trains and more globally with its AI enhanced recommendation systems. And not to mention tools like <a href="https://www.travelperk.com/" target="_blank">Travelperk</a> for business travelers, <a href="https://amadeus.com/de" target="_blank">Amadeus</a> for seamless bookings or <a href="https://navan.com/" target="_blank">Navan</a> for corporate jett setters are all managed by algorithms smarter than your average globetrotter.</p><p>‍</p><p id="">Even <a href="https://www.netflix.com/de-en/" target="_blank">Netflix</a> and <a href="https://www.amazon.de/gp/video/storefront" target="_blank">Amazon</a> have unwittingly joined the travel revolution. Netflix’s binge watch recommendations often spark daydreams of far off lands, while Amazon delivers your travel gears to your doorstep before you can even say carry on luggage. Meanwhile AI chatbots like <a href="https://chatgpt.com/" target="_blank">Chatgpt</a> can answer random “Should I pack my umbrella for Bali?” questions at 3 a.m proving that some heroes wear algorithms instead of capes.</p><p>‍</p><p>‍</p><p id="">Of course nostalgia still has its charm. A paper map unfolding like a sail on a pirate ship., a dog eared guidebook that smells like adventure - it's simply poetry. But adding a pinch of AI to this poem is like you can still enjoy the romance of travel but without navigating the Bermuda Triangle with outdated information! Tools like <a href="https://www.kiwi.com/en/" target="_blank">Kiwi.com</a>, <a href="https://www.google.de/travel/explore" target="_blank">Google travel</a>, and <a href="https://www.traveltechnation.com/companies/utrip" target="_blank">Utrip</a> lets you build personalized itineraries with a flick of a finger, eventually alchemizing your chaotic trip planning into something smoother than a long haul flight upgrade.</p><p>‍</p><p id="">From paper maps to predictive AI, travel in 2025 is reshaping from the game of chance to a calculated dance of precision yet the heart of it remains the same i.e., discovery, laughter and the occasional wrong turn that makes your story memorable. So, next time you plan a trip leave your crumpled map in the drawer, fire up <a href="http://revyu.ai" target="_blank">Revyu.AI</a>, <a href="https://hopper.com/" target="_blank">Hopper</a> or any of your AI sidekicks and watch the world unfold its magic of technology guiding your every step!</p><p>‍</p><p>‍</p>`},{slug:"revyu-ai-revolutionizing-hotel-review-analysis",title:"Revyu.AI -  Revolutionizing Hotel Review Analysis",excerpt:"Your AI-Powered Travel Companion for Smarter Hotel Booking",category:"AI Productivity Tools",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/revyu-ai-revolutionizing-hotel-review-analysis.jpg",featured:!0,content:`<h1 id="">Revyu.AI - &nbsp;Revolutionizing Hotel Review Analysis</h1><p id="">‍</p><p id="">Let’s be honest. You have found the perfect flight, the destination is calling your name, and you are buzzing with the excitement of your next trip. And then, it hits you, the great hotel hunt. You click on a promising looking hotel, and there it is. A wall of text. A never ending scroll of reviews from the past travellers.&nbsp;</p><p id="">‍</p><h2 id="">Your AI-Powered Travel Companion for Smarter Hotel Booking</h2><p id="">‍</p><p id="">You deep dive in with hope. Ten minutes turn into thirty. </p><blockquote id="">You are bouncing between the tabs and cross referencing the opinions, and a familiar feeling begins to creep in, analysis paralysis. </blockquote><p id="">Oh, There is one review praising the cozy, vintage charm, while another calling it small and outdated. </p><p id="">You are trying to figure out if that boutique hotel in Paris has comfy beds or if that beach resort in Bali is as dreamy as the photos suggest. </p><p id="">Someone loved the bustling street life, but another guest complained about the noise all night. </p><blockquote id="">Leisure travelers can spend an average of 30 minutes just reading reviews before booking a hotel. </blockquote><p id="">For many, it's a confusing ordeal that can dim the excitement of travel planning. The sheer variety of guest feedback is mind blowing and takes a lot of time and effort, and it is easy to feel overwhelmed for this complex task.&nbsp;</p><p id="">What if an AI travel consultant could do that heavy lifting for you? What if you could skip the exhaustive scroll? What if you had a personal travel consultant an AI model who could read every single one of those reviews in seconds and just give you the bottom line? This is not a far off dream of travel's future. It is Revyu.AI, and it is here to revolutionize how you choose your home away from home.</p><p id="">Revyu.AI is an AI-powered hotel review assistant built to summarize real guest feedback in seconds. Instead of scrolling endlessly, you get instant insights from actual travelers about cleanliness, location, service and much more all in plain language. No jargon, no synthetic voice. It is just trustworthy summaries that will help you make faster, more confident booking decisions. Revyu.AI makes trip planning easier, faster, and way smarter, so you can focus on dreaming about your vacation instead of drowning in reviews thus, making customer experience much more smoother and streamlined. Try Revyu.AI&nbsp; and see how easy hotel booking can be. </p><p id="">‍</p><h2 id="">Your vacation deserves to start with excitement, not a scroll.</h2>`},{slug:"the-agony-of-the-endless-scroll",title:"The Agony of the Endless Scroll",excerpt:"Why Hotel Reviews Are a Double-Edged Sword",category:"AI Productivity Tools",date:"Feb 2, 2026",author:"Revyu Team",image:"/blog/the-agony-of-the-endless-scroll.jpg",featured:!0,content:'<h1 id="">The Agony of the Endless Scroll - Why Hotel Reviews Are a Double-Edged Sword</h1><p id="">‍</p><p id="">Online reviews are undeniably useful. </p><blockquote id="">Over 80% of travelers read at least ten reviews before booking a hotel, and the vast majority feel that reviews help them make more confident travel decisions. </blockquote><p>According to a study,&nbsp; <strong>91% of travelers</strong> always or frequently read reviews before booking a hotel, and <strong>
26272% check</strong> <strong>reviews</strong> before deciding where to stay or what to do. </p><p>Reviews are like a window into what your stay might look like, giving you the perfect picture on everything from cleanliness to staff friendliness.</p><p id="">But here is the problem! Most of us don’t have the time to read hundreds of reviews. </p><blockquote id="">Research shows that leisure travelers read an average of 6-7 reviews, while business travelers stick to about 5 reviews only. </blockquote><p id="">That is barely enough to get the full picture, especially when popular hotels can have thousands of reviews across platforms like Booking.com, TripAdvisor, and Google. We instead tend to trust the ‘wisdom of the crowd’ to guide us toward the undiscovered treasure and away from potential disasters.</p><p id="">To be honest, in the process of booking a hotel most of us take shortcuts. We take a quick look at average ratings or skim a few reviews here and there, and wonder if that is enough. Yet with the rise of AI, even that can be unreliable, one recent analysis found over 20% of luxury hotel reviews may be AI-generated. That means one in five high end reviews might not even be written by a real human traveler. In a sea of potentially fake comments, it is hard to know what is genuine and what’s not. Revyu.AI solves this by digging into reviews from real, verified guests and surfacing the facts. </p><blockquote id="">Think of it as having a personal hotel research assistant that separates the truth out of the noise.</blockquote><p id="">Revyu.AI, the game changer that turns this chaos into clarity. This AI powered tool analyzes hundreds of reviews from verified guests in seconds, delivering concise, trustworthy summaries that cut through the clutter. </p><p id="">‍</p>'},{slug:"the-magic-behind-the-curtain",title:"The Magic of Travel AI solutions Behind the Curtain",excerpt:"Key Features That Change the Game",category:"AI Productivity Tools",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/the-magic-behind-the-curtain.jpg",featured:!0,content:'<h1 id="">The Magic of Travel AI solutions Behind the Curtain - Key Features That Change the Game</h1><p id="">‍</p><p id="">There is a kind of chaos that comes with planning a trip. One moment, you are dreaming of sipping coffee on a Parisian balcony or chasing sunsets in Santorini, and the next, you are exploring the 243 hotel reviews, trying to figure out whether a good location actually means close to the city centre or in the middle of nowhere. We all want that perfect stay, but reading endless reviews, decoding vague star ratings, and switching between ten tabs can turn the thrill of travel planning into a confusing mess. That is exactly where Revyu.AI steps in. Not as another travel site, but as the quiet revolution your booking process never knew it needed.</p><p id="">‍</p><p id="">Revyu.AI does not just scan reviews, it understands them. Think of it like having a travel savvy friend who reads every single review out there and knows exactly how to answer your most specific, quirky questions. ‘Are the rooms quiet enough to sleep through city noise?’ ‘Is the pool really good enough?’ ‘Is the walk to the beach a breezy 3 minute stroll or a sweaty 20 minute trek uphill? You don’t need to dig, scroll, or skim. Just ask Revyu. Our AI takes care of the rest, reading through hundreds of guest experiences and giving you a crisp, and clear response in seconds.</p><blockquote id="">The best part? You don’t have to jump through shekels or sign up for anything. </blockquote><p>Revyu.AI integrates directly on platforms like Booking.com. No new websites, no switching tabs, no clunky apps, just click the Chrome extension while browsing hotels and, instantly, the reviews reorganize themselves into useful insights. It’s seamless, natural, and feels like the future has finally caught up to our travel struggles.</p><p id="">And in a world where everything asks for your data, Revyu.AI doesn’t. There are no accounts, no creepy trackers, no email requirements. Our Ai tool simply works with performance and privacy at its core. All you need to do is install it, and it does the heavy lifting for you while you keep dreaming about your next destination.</p><p id="">The icing on the cake? It is free. No hidden costs, no trial traps, no sneaky upgrades. Just a generous dose of technology that exists to make your life easier. And whether you are booking a five star rated getaway or a cozy weekend escape, this little extension ensures you make decisions that feel informed, confident, and personal.</p><p id="">Because planning a trip should feel like the start of an adventure, not the start of a headache. And Revyu.AI makes sure it stays that way.</p><p id="">‍</p>'},{slug:"try-revyu-ai-and-travel-smarter",title:"Try Revyu.AI and Travel Smarter",excerpt:"Revyu.AI is here to change the way you book your stay. Instead of wasting time trying to make sense of vague star ratings or repetitive comments, this tool gives you clear, AI powered summaries that highlight the things that actually matter. Whether it is cleanliness, location, service, or value, Revyu.AI brings the real story forward so you can decide easily and conveniently.",category:"Chrome Extensions for AI",date:"Feb 4, 2026",author:"Revyu Team",image:"/blog/try-revyu-ai-and-travel-smarter.jpg",featured:!0,content:'<h1 id="">Try Revyu.AI and Travel Smarter</h1><p id="">Revyu.AI is here to change the way you book your stay. Instead of wasting time trying to make sense of vague star ratings or repetitive comments, this tool gives you clear, AI powered summaries that highlight the things that actually matter. Whether it is cleanliness, location, service, or value, Revyu.AI brings the real story forward so you can decide easily and conveniently.</p><h2 id="">Planning a trip should feel exciting, not overwhelming. </h2><p id="">With Revyu.AI, hotel bookings become as simple as they should be. The tool is free, easy to use, and built to save you time. Whether you are daydreaming about lounging on a beach, exploring vibrant city streets, or unwinding in a peaceful countryside cottage, </p><blockquote id="">Revyu.AI helps you spot the right stay in seconds.&nbsp;</blockquote><p id="">One of the best parts? Revyu.AI gives you real time insights based on updated guest experiences. You are not relying on outdated reviews or spending hours decoding scattered information on hotels websites. But instead, you get a clear picture of what to expect so you can book with ease and focus on what really matters while enjoying your trip.</p><p id="">Getting started is easy. Just head to the Chrome Web Store and add Revyu.AI to your browser. It works in the background while you browse hotel sites, giving you instant summaries whenever you need them. Your next adventure deserves more than guesswork, it deserves thoughtful, informed choices made effortlessly.</p><p id="">‍</p>'},{slug:"revyu-ai-your-personal-ai-review-consultant",title:"Revyu.AI - Your Personal AI Review Consultant",excerpt:"Revyu.AI is a free, AI-powered Chrome extension designed specifically for travelers and tourists.",category:"AI Productivity Tools",date:"Feb 23, 2026",author:"Revyu Team",image:"/blog/revyu-ai-your-personal-ai-review-consultant.jpg",content:`<h1 id="">Revyu.AI is a free, AI-powered Chrome extension designed specifically for travelers and tourists. </h1><p id="">It’s like having a super smart AI travel assistant that scans hundreds of hotel reviews from major platforms like Booking.com then delivers concise, easy to read summaries right on the hotel’s webpage. No more scrolling through pages of feedback, Revyu.AI does the work for you, by giving you the key insights you need so you can book without doubts.&nbsp;</p><p id="">But it’s not just about summaries. Revyu.AI is interactive, letting you ask specific questions about a hotel and get answers based on real guest experiences. Want to know if the Wi-Fi is reliable for your work from anywhere vibe? Or if you are curious about that vegan breakfast options? Revyu.AI has you covered with real time insights and verified feedback, all without requiring you to sign up or share personal info. It’s for everyone or anyone planning a trip or travel adventure.</p><blockquote id="">Revyu.AI isn't for hoteliers who are trying to manage their reputation. </blockquote><h2 id="">Revyu is built for you, the savvy traveler who values time and trusts the real world experience. </h2><p id="">It acts as your personal AI agent, who is working silently in the background on the booking sites you already use, like Booking.com. No new apps, no complicated sign-ups. Just clarity.</p><p>‍</p>`},{slug:"the-bigger-picture-ai-in-travel",title:"The Bigger Picture - AI in Travel",excerpt:"In today’s modernized digitized world, Artificial Intelligence is rapidly evolving and reshaping the travel industry.",category:"AI Productivity Tools",date:"Feb 2, 2026",author:"Revyu Team",image:"/blog/the-bigger-picture-ai-in-travel.jpg",content:'<h1 id="">The Bigger Picture - AI in Travel</h1><p id="">In today’s modernized digitized world, Artificial Intelligence is rapidly evolving and reshaping the travel industry, and Revyu.AI is at the forefront of this revolution. AI tools are doing everything from booking flights to finding restaurants which are more intuitive and personalized. In the realm of hotel review anal
262ysis, Revyu processes vast amounts of data to uncover hidden patterns and sentiments that humans might miss out on. For example, Revyu.AI’s sentiment analysis can tell you if a hotel service is consistently praised for or if recent reviews show a dip in quality insights and eventually that would help you avoid a booking disappointment. By analyzing thousands of reviews, Revyu.AI provides a clear picture of what to expect, ensuring that your travel plans align with your expectations.</p><p>‍</p><p id="">But AI’s impact on travel goes far beyond reviews. AI is enhancing travel planning with personalized recommendations, predictive pricing, and even virtual assistants. Revyu.AI’s role as an AI travel assistant is just the beginning of how AI technology is empowering travelers to plan smarter and travel better. Virtual assistants powered by AI, like Revyu.AI, act as tireless travel companions, offering guidance and support right when it is needed.&nbsp;</p>'}],vM=e=>to.find(t=>t.slug===e),rp=({showTitle:e=!0})=>{const t=to.find(r=>r.featured)??to[0],n=to.filter(r=>r.slug!==t.slug).slice(0,2);return u.jsx("section",{className:"py-12",children:u.jsxs("div",{className:"container",children:[e&&u.jsxs("div",{className:"mb-12 flex items-end justify-between",children:[u.jsxs("div",{children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Blog"}),u.jsxs("h2",{className:"text-3xl font-bold",children:["Latest ",u.jsx("span",{className:"text-primary",children:"Insights"})]})]}),u.jsxs(_e,{to:"/blog",className:"hidden items-center gap-1 text-sm font-medium text-primary hover:underline md:flex",children:["View all posts ",u.jsx(vs,{className:"h-4 w-4"})]})]}),u.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[u.jsxs(_e,{to:`/blog/${t.slug}`,className:"group flex flex-col rounded-2xl border border-border bg-card overflow-hidden hover:shadow-lg transition-shadow",children:[u.jsx("div",{className:"aspect-[16/10] bg-muted overflow-hidden",children:u.jsx("img",{src:t.image,alt:t.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"})}),u.jsxs("div",{className:"flex flex-1 flex-col p-6",children:[u.jsx("span",{className:"inline-block self-start rounded-full bg-primary/10 px-3 py-1 text-xs font-medium text-primary mb-3",children:t.category}),u.jsx("h3",{className:"text-lg font-bold group-hover:text-primary transition-colors",children:t.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground line-clamp-3",children:t.excerpt}),u.jsxs("div",{className:"mt-auto pt-4 flex items-center gap-2 text-xs text-muted-foreground",children:[u.jsx("span",{children:t.author}),u.jsx("span",{children:"·"}),u.jsx("span",{children:t.date})]})]})]}),u.jsx("div",{className:"flex flex-col gap-6",children:n.map(r=>u.jsxs(_e,{to:`/blog/${r.slug}`,className:"group flex gap-4 rounded-2xl border border-border bg-card p-4 hover:shadow-lg transition-shadow",children:[u.jsx("div",{className:"h-24 w-24 flex-shrink-0 overflow-hidden rounded-xl bg-muted",children:u.jsx("img",{src:r.image,alt:r.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"})}),u.jsxs("div",{className:"flex flex-col justify-center",children:[u.jsx("span",{className:"inline-block self-start rounded-full bg-primary/10 px-2.5 py-0.5 text-[10px] font-medium text-primary mb-1.5",children:r.category}),u.jsx("h4",{className:"text-sm font-bold group-hover:text-primary transition-colors line-clamp-2",children:r.title}),u.jsx("span",{className:"mt-1 text-xs text-muted-foreground",children:r.date})]})]},r.slug))})]}),u.jsx("div",{className:"mt-8 text-center md:hidden",children:u.jsxs(_e,{to:"/blog",className:"inline-flex items-center gap-1 text-sm font-medium text-primary hover:underline",children:["View all posts ",u.jsx(vs,{className:"h-4 w-4"})]})})]})})},Ar=()=>u.jsx("section",{className:"py-12",children:u.jsx("div",{className:"container",children:u.jsxs("div",{className:"relative overflow-hidden rounded-3xl bg-primary px-8 py-16 text-center text-primary-foreground md:px-16",children:[u.jsx("div",{className:"absolute -left-20 -top-20 h-60 w-60 rounded-full bg-primary-foreground
262/5"}),u.jsx("div",{className:"absolute -bottom-16 -right-16 h-48 w-48 rounded-full bg-primary-foreground/5"}),u.jsxs("div",{className:"relative z-10",children:[u.jsx("h2",{className:"text-3xl font-bold md:text-4xl",children:"Get Started with Revyu.ai"}),u.jsx("p",{className:"mx-auto mt-4 max-w-xl text-base text-primary-foreground/80",children:"Join thousands of travelers and businesses making smarter hotel decisions with AI-powered insights."}),u.jsxs("div",{className:"mt-8 flex flex-col items-center justify-center gap-4 sm:flex-row",children:[u.jsx(gn,{asChild:!0,size:"lg",className:"rounded-full bg-black text-white hover:bg-white hover:text-primary gap-2 transition-colors",children:u.jsxs("a",{href:"https://chromewebstore.google.com/detail/revyuai-your-ultimate-tra/eaikdjmdijlohhbmkkbeiieaaadlfbop",target:"_blank",rel:"noopener noreferrer",children:[u.jsx(Fi,{className:"h-5 w-5"}),"Install Extension"]})}),u.jsx(gn,{asChild:!0,size:"lg",className:"group rounded-full bg-white text-primary hover:bg-white hover:text-primary gap-2",children:u.jsxs(_e,{to:"/contact",children:["Request a Demo",u.jsx(vs,{className:"h-4 w-4 transition-transform duration-300 group-hover:translate-x-1.5"})]})})]})]})]})})}),yM=({src:e,className:t,poster:n})=>{const r=m.useRef(null),[o,s]=m.useState(!0),[i,a]=m.useState(!0),l=()=>{const d=r.current;d&&(d.paused?(d.play(),s(!0)):(d.pause(),s(!1)))},c=()=>{const d=r.current;d&&(d.muted=!d.muted,a(d.muted))};return u.jsxs("div",{className:re("group relative overflow-hidden rounded-3xl bg-muted",t),children:[u.jsx("video",{ref:r,src:e,poster:n,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),u.jsxs("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex items-center justify-end gap-2 bg-gradient-to-t from-black/50 to-transparent p-4 opacity-0 transition-opacity duration-300 group-hover:opacity-100 group-hover:pointer-events-auto",children:[u.jsx("button",{type:"button",onClick:l,"aria-label":o?"Pause":"Play",className:"flex h-10 w-10 items-center justify-center rounded-full bg-white/90 text-foreground transition-transform hover:scale-105",children:o?u.jsx(Yj,{className:"h-4 w-4"}):u.jsx(Xj,{className:"h-4 w-4"})}),u.jsx("button",{type:"button",onClick:c,"aria-label":i?"Unmute":"Mute",className:"flex h-10 w-10 items-center justify-center rounded-full bg-white/90 text-foreground transition-transform hover:scale-105",children:i?u.jsx(rA,{className:"h-4 w-4"}):u.jsx(nA,{className:"h-4 w-4"})})]})]})},M1=m.createContext({});function xM(e){const t=m.useRef(null);return t.current===null&&(t.current=e()),t.current}const op=m.createContext(null),D1=m.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function wM(e=!0){const t=m.useContext(op);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,s=m.useId();m.useEffect(()=>{e&&o(s)},[e]);const i=m.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,i]:[!0]}const sp=typeof window<"u",bM=sp?m.useLayoutEffect:m.useEffect,gt=e=>e;let of=gt;function ip(e){let t;return()=>(t===void 0&&(t=e()),t)}const ws=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Nn=e=>e*1e3,jn=e=>e/1e3,SM={skipAnimations:!1,useManualTiming:!1};function kM(e){let t=new Set,n=new Set,r=!1,o=!1;const s=new WeakSet;let i={delta:0,timestamp:0,isProcessing:!1};function a(c){s.has(c)&&(l.schedule(c),e()),c(i)}const l={schedule:(c,d=!1,f=!1)=>{const p=f&&r?t:n;return d&&s.add(c),p.has(c)||p.add(c),c},cancel:c=>{n.delete(c),s.delete(c)},process:c=>{if(i=c,r){o=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,o&&(o=!1,l.process(c))}};return l}const Oa=["read","resolveKeyframes","update","preRender","render","postRender"],CM=40;function O1(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,i=Oa.reduce((y,v)=>(y[v]=kM(s),y),{}),{read:a,resolveKeyframes:l,update:c,preRender:d,render:f,postRender:h}=i,p=()=>{const y=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(y-o.timestamp,CM),1),o.timestamp=y,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),d.process(o),f.process(o),h.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(p))},b=()=>{n=!0,r=!0,o.isProcessing||e(p)};return{schedule:Oa.reduce((y,v)=>{const x=i[v];return y[v]=(S,k=!1,C=!1)=>(n||b(),x.schedule(S,k,C)),y},{}),cancel:y=>{for(let v=0;v<Oa.length;v++)i[Oa[v]].cancel(y)},state:o,steps:i}}const{schedule:ye,cancel:kr,state:ze,steps:Nu}=O1(typeof requestAnimationFrame<"u"?requestAnimationFrame:gt,!0),_1=m.createContext({strict:!1}),Zg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},bs={};for(const e in Zg)bs[e]={isEnabled:t=>Zg[e].some(n=>!!t[n])};function TM(e){for(const t in e)bs[t]={...bs[t],...e[t]}}const EM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Bl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||EM.has(e)}let L1=e=>!Bl(e);function PM(e){e&&(L1=t=>t.startsWith("on")?!Bl(t):e(t))}try{PM(require("@emotion/is-prop-valid").default)}catch{}function NM(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(L1(o)||n===!0&&Bl(o)||!t&&!Bl(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function jM(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const jc=m.createContext({});function zi(e){return typeof e=="string"||Array.isArray(e)}function Ac(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const ap=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],lp=["initial",...ap];function Rc(e){return Ac(e.animate)||lp.some(t=>zi(e[t]))}function F1(e){return!!(Rc(e)||e.variants)}function AM(e,t){if(Rc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||zi(n)?n:void 0,animate:zi(r)?r:void 0}}return e.inherit!==!1?t:{}}function RM(e){const{initial:t,animate:n}=AM(e,m.useContext(jc));return m.useMemo(()=>({initial:t,animate:n}),[Jg(t),Jg(n)])}function Jg(e){return Array.isArray(e)?e.join(" "):e}const IM=Symbol.for("motionComponentSymbol");function Vo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}
vendor: 110,191 bytes, line 262
262function MM(e,t,n){return m.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Vo(n)&&(n.current=r))},[t])}const cp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),DM="framerAppearId",V1="data-"+cp(DM),{schedule:up,cancel:i5}=O1(queueMicrotask,!1),B1=m.createContext({});function OM(e,t,n,r,o){var s,i;const{visualElement:a}=m.useContext(jc),l=m.useContext(_1),c=m.useContext(op),d=m.useContext(D1).reducedMotion,f=m.useRef(null);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d}));const h=f.current,p=m.useContext(B1);h&&!h.projection&&o&&(h.type==="html"||h.type==="svg")&&_M(f.current,n,o,p);const b=m.useRef(!1);m.useInsertionEffect(()=>{h&&b.current&&h.update(n,c)});const g=n[V1],w=m.useRef(!!g&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,g))&&((i=window.MotionHasOptimisedAnimation)===null||i===void 0?void 0:i.call(window,g)));return bM(()=>{h&&(b.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),up.render(h.render),w.current&&h.animationState&&h.animationState.animateChanges())}),m.useEffect(()=>{h&&(!w.current&&h.animationState&&h.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)===null||y===void 0||y.call(window,g)}),w.current=!1))}),h}function _M(e,t,n,r){const{layoutId:o,layout:s,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:z1(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!i||a&&Vo(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function z1(e){if(e)return e.options.allowProjection!==!1?e.projection:z1(e.parent)}function LM({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){var s,i;e&&TM(e);function a(c,d){let f;const h={...m.useContext(D1),...c,layoutId:FM(c)},{isStatic:p}=h,b=RM(c),g=r(c,p);if(!p&&sp){VM();const w=BM(h);f=w.MeasureLayout,b.visualElement=OM(o,g,h,t,w.ProjectionNode)}return u.jsxs(jc.Provider,{value:b,children:[f&&b.visualElement?u.jsx(f,{visualElement:b.visualElement,...h}):null,n(o,c,MM(g,b.visualElement,d),g,p,b.visualElement)]})}a.displayName=`motion.${typeof o=="string"?o:`create(${(i=(s=o.displayName)!==null&&s!==void 0?s:o.name)!==null&&i!==void 0?i:""})`}`;const l=m.forwardRef(a);return l[IM]=o,l}function FM({layoutId:e}){const t=m.useContext(M1).id;return t&&e!==void 0?t+"-"+e:e}function VM(e,t){m.useContext(_1).strict}function BM(e){const{drag:t,layout:n}=bs;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const zM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function dp(e){return typeof e!="string"||e.includes("-")?!1:!!(zM.indexOf(e)>-1||/[A-Z]/u.test(e))}function ev(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function fp(e,t,n,r){if(typeof t=="function"){const[o,s]=ev(r);t=t(n!==void 0?n:e.custom,o,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,s]=ev(r);t=t(n!==void 0?n:e.custom,o,s)}return t}const sf=e=>Array.isArray(e),$M=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),UM=e=>sf(e)?e[e.length-1]||0:e,Xe=e=>!!(e&&e.getVelocity);function ol(e){const t=Xe(e)?e.get():e;return $M(t)?t.toValue():t}function WM({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,s){const i={latestValues:HM(r,o,s,e),renderState:t()};return n&&(i.onMount=a=>n({props:r,current:a,...i}),i.onUpdate=a=>n(a)),i}const $1=e=>(t,n)=>{const r=m.useContext(jc),o=m.useContext(op),s=()=>WM(e,t,r,o);return n?s():xM(s)};function HM(e,t,n,r){const o={},s=r(e,{});for(const h in s)o[h]=ol(s[h]);let{initial:i,animate:a}=e;const l=Rc(e),c=F1(e);t&&c&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||i===!1;const f=d?a:i;if(f&&typeof f!="boolean"&&!Ac(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const b=fp(e,h[p]);if(b){const{transitionEnd:g,transition:w,...y}=b;for(const v in y){let x=y[v];if(Array.isArray(x)){const S=d?x.length-1:0;x=x[S]}x!==null&&(o[v]=x)}for(const v in g)o[v]=g[v]}}}return o}const Rs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],vo=new Set(Rs),U1=e=>t=>typeof t=="string"&&t.startsWith(e),W1=U1("--"),KM=U1("var(--"),hp=e=>KM(e)?GM.test(e.split("/*")[0].trim()):!1,GM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,H1=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Fn=(e,t,n)=>n>t?t:n<e?e:n,Is={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},$i={...Is,transform:e=>Fn(0,1,e)},_a={...Is,default:1},ra=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Yn=ra("deg"),hn=ra("%"),U=ra("px"),qM=ra("vh"),YM=ra("vw"),tv={...hn,parse:e=>hn.parse(e)/100,transform:e=>hn.transform(e*100)},QM={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,backgroundPositionX:U,backgroundPositionY:U},XM={rotate:Yn,rotateX:Yn,rotateY:Yn,rotateZ:Yn,scale:_a,scaleX:_a,scaleY:_a,scaleZ:_a,skew:Yn,skewX:Yn,skewY:Yn,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:$i,originX:tv,originY:tv,originZ:U},nv={...Is,transform:Math.round},pp={...QM,...XM,zIndex:nv,size:U,fillOpacity:$i,strokeOpacity:$i,numOctaves:nv},ZM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},JM=Rs.length;function eD(e,t,n){let r="",o=!0;for(let s=0;s<JM;s++){const i=Rs[s],a=e[i];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(i.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const c=H1(a,pp[i]);if(!l){o=!1;const d=ZM[i]||i;r+=`${d}(${c}) `}n&&(t[i]=c)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function mp(e,t,n){const{style:r,vars:o,transformOrigin:s}=e;let i=!1,a=!1;for(const l in t){const c=t[l];if(vo.has(l)){i=!0;continue}else if(W1(l)){o[l]=c;continue}else{const d=H1(c,pp[l]);l.startsWith("origin")?(a=!0,s[l]=d):r[l]=d}}if(t.transform||(i||n?r.transform=eD(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:d=0}=s;r.transformOrigin=`${l} ${c} ${d}`}}const tD={offset:"stroke-dashoffset",array:"stroke-dasharray"},nD={offset:"strokeDashoffset",array:"strokeDasharray"};function rD(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?tD:nD;e[s.offset]=U.transform(-r);const i=U.transform(t),a=U.transform(n);e[s.array]=`${i} ${a}`}function rv(e,t,n){return typeof e=="string"?e:U.transform(t+n*e)}function oD(e,t,n){const r=rv(t,e.x,e.width),o=rv(n,e.y,e.height);return`${r} ${o}`}function gp(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:i,pathSpacing:a=1,pathOffset:l=0,...c},d,f){if(mp(e,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:p,dimensions:b}=e;h.transform&&(b&&(p.transform=h.transform),delete h.transform),b&&(o!==void 0||s!==void 0||p.transform)&&(p.transformOrigin=oD(b,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),i!==void 0&&rD(h,i,a,l,!1)}const vp=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),K1=()=>({...vp(),attrs:{}}),yp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function G1(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const q1=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Y1(e,t,n,r){G1(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(q1.has(o)?o:cp(o),t.attrs[o])}const zl={};function sD(e){Object.assign(zl,e)}function Q1(e,{layout:t,layoutId:n}){return vo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!zl[e]||e==="opacity")}function xp(e,t,n){var r;const{style:o}=e,s={};for(const i in o)(Xe(o[i])||t.style&&Xe(t.style[i])||Q1(i,e)||((r=n==null?void 0:n.getValue(i))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[i]=o[i]);return s}function X1(e,t,n){const r=xp(e,t,n);for(const o in e)if(Xe(e[o])||Xe(t[o])){const s=Rs.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[s]=e[o]}return r}function iD(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const ov=["x","y","width","height","cx","cy","r"],aD={useVisualState:$1({scrapeMotionValuesFromProps:X1,createRenderState:K1,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let s=!!e.drag;if(!s){for(const a in o)if(vo.has(a)){s=!0;break}}if(!s)return;let i=!t;if(t)for(let a=0;a<ov.length;a++){const l=ov[a];e[l]!==t[l]&&(i=!0)}i&&ye.read(()=>{iD(n,r),ye.render(()=>{gp(r,o,yp(n.tagName),e.transformTemplate),Y1(n,r)})})}})},lD={useVisualState:$1({scrapeMotionValuesFromProps:xp,createRenderState:vp})};function Z1(e,t,n){for(const r in t)!Xe(t[r])&&!Q1(r,n)&&(e[r]=t[r])}function cD({transformTemplate:e},t){return m.useMemo(()=>{const n=vp();return mp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function uD(e,t){const n=e.style||{},r={};return Z1(r,n,e),Object.assign(r,cD(e,t)),r}function dD(e,t){const n={},r=uD(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function fD(e,t,n,r){const o=m.useMemo(()=>{const s=K1();return gp(s,t,yp(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Z1(s,e.style,e),o.style={...s,...o.style}}return o}function hD(e=!1){return(n,r,o,{latestValues:s},i)=>{const l=(dp(n)?fD:dD)(r,s,i,n),c=NM(r,typeof n=="string",e),d=n!==m.Fragment?{...c,...l,ref:o}:{},{children:f}=r,h=m.useMemo(()=>Xe(f)?f.get():f,[f]);return m.createElement(n,{...d,children:h})}}function pD(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const i={...dp(r)?aD:lD,preloadedFeatures:e,useRender:hD(o),createVisualElement:t,Component:r};return LM(i)}}function J1(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ic(e,t,n){const r=e.getProps();return fp(r,t,n!==void 0?n:r.custom,e)}const mD=ip(()=>window.ScrollTimeline!==void 0);class gD{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>{if(mD()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{r.forEach((o,s)=>{o&&o(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class vD extends gD{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function wp(e,t){return e?e[t]||e.default||e:void 0}const af=2e4;function eS(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<af;)t+=n,r=e.next(t);return t>=af?1/0:t}function bp(e){return typeof e=="function"}function sv(e,t){e.timeline=t,e.onfinish=null}const Sp=e=>Array.isArray(e)&&typeof e[0]=="number",yD={linearEasing:void 0};function xD(e,t){const n=ip(e);return()=>{var r;return(r=yD[t])!==null&&r!==void 0?r:n()}}const $l=xD(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),tS=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let s=0;s<o;s++)r+=e(ws(0,o-1,s))+", ";return`linear(${r.substring(0,r.length-2)})`};function nS(e){return!!(typeof e=="function"&&$l()||!e||typeof e=="string"&&(e in lf||$l())||Sp(e)||Array.isArray(e)&&e.every(nS))}const Zs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,lf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zs([0,.65,.55,1]),circOut:Zs([.55,0,1,.45]),backIn:Zs([.31,.01,.66,-.59]),backOut:Zs([.33,1.53,.69,.99])};function rS(e,t){if(e)return typeof e=="function"&&$l()?tS(e,t):Sp(e)?Zs(e):Array.isArray(e)?e.map(n=>rS(n,t)||lf.easeOut):lf[e]}const Ft={x:!1,y:!1};function oS(){return Ft.x||Ft.y}function wD(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const s=(r=void 0)!==null&&r!==void 0?r:o.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function sS(e,t){const n=wD(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function iv(e){return t=>{t.pointerType==="touch"||oS()||e(t)}}function bD(e,t,n={}){const[r,o,s]=sS(e,n),i=iv(a=>{const{target:l}=a,c=t(a);if(typeof c!="function"||!l)return;const d=iv(f=>{c(f),l.removeEventListener("pointerleave",d)});l.addEventListener("pointerleave",d,o)});return r.forEach(a=>{a.addEventListener("pointerenter",i,o)}),s}const iS=(e,t)=>t?e===t?!0:iS(e,t.parentElement):!1,kp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,SD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function kD(e){return SD.has(e.tagName)||e.tabIndex!==-1}const Js=new WeakSet;function av(e){return t=>{t.key==="Enter"&&e(t)}}function ju(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const CD=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=av(()=>{if(Js.has(n))return;ju(n,"down");const o=av(()=>{ju(n,"up")}),s=()=>ju(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function lv(e){return kp(e)&&!oS()}function TD(e,t,n={}){const[r,o,s]=sS(e,n),i=a=>{const l=a.currentTarget;if(!lv(a)||Js.has(l))return;Js.add(l);const c=t(a),d=(p,b)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),!(!lv(p)||!Js.has(l))&&(Js.delete(l),typeof c=="function"&&c(p,{success:b}))},f=p=>{d(p,n.useGlobalTarget||iS(l,p.target))},h=p=>{d(p,!1)};window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",h,o)};return r.forEach(a=>{!kD(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",i,o),a.addEventListener("focus",c=>CD(c,o),o)}),s}function ED(e){return e==="x"||e==="y"?Ft[e]?null:(Ft[e]=!0,()=>{Ft[e]=!1}):Ft.x||Ft.y?null:(Ft.x=Ft.y=!0,()=>{Ft.x=Ft.y=!1})}const aS=new Set(["width","height","top","left","right","bottom",...Rs]);let sl;function PD(){sl=void 0}const pn={now:()=>(sl===void 0&&pn.set(ze.isProcessing||SM.useManualTiming?ze.timestamp:performance.now()),sl),set:e=>{sl=e,queueMicrotask(PD)}};function Cp(e,t){e.indexOf(t)===-1&&e.push(t)}function Tp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ep{constructor(){this.subscriptions=[]}add(t){return Cp(this.subscriptions,t),()=>Tp(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const i=this.subscriptions[s];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function lS(e,t){return t?e*(1e3/t):0}const cv=30,ND=e=>!isNaN(parseFloat(e));class jD{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const s=pn.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=pn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ND(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ep);const r=this.events[t].add(n);return t==="change"?()=>{r(),ye.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=pn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>cv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,cv);return lS(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ui(e,t){return new jD(e,t)}function AD(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ui(n))}function RD(e,t){const n=Ic(e,t);let{transitionEnd:r={},transition:o={},...s}=n||{};s={...s,...r};for(const i in s){const a=UM(s[i]);AD(e,i,a)}}function ID(e){return!!(Xe(e)&&e.add)}function cf(e,t){const n=e.getValue("willChange");if(ID(n))return n.add(t)}function cS(e){return e.props[V1]}const uS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,MD=1e-7,DD=12;function OD(e,t,n,r,o){let s,i,a=0;do i=t+(n-t)/2,s=uS(i,r,o)-e,s>0?n=i:t=i;while(Math.abs(s)>MD&&++a<DD);return i}function oa(e,t,n,r){if(e===t&&n===r)return gt;const o=s=>OD(s,0,1,e,n);return s=>s===0||s===1?s:uS(o(s),t,r)}const dS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,fS=e=>t=>1-e(1-t),hS=oa(.33,1.53,.69,.99),Pp=fS(hS),pS=dS(Pp),mS=e=>(e*=2)<1?.5*Pp(e):.5*(2-Math.pow(2,-10*(e-1))),Np=e=>1-Math.sin(Math.acos(e)),gS=fS(Np),vS=dS(Np),yS=e=>/^0[^.\s]+$/u.test(e);function _D(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||yS(e):!0}const hi=e=>Math.round(e*1e5)/1e5,jp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function LD(e){return e==null}const FD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ap=(e,t)=>n=>!!(typeof n=="string"&&FD.test(n)&&n.startsWith(e)||t&&!LD(n)&&Object.prototype.hasOwnProperty.call(n,t)),xS=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,s,i,a]=r.match(jp);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},VD=e=>Fn(0,255,e),Au={...Is,transform:e=>Math.round(VD(e))},Kr={test:Ap("rgb","red"),parse:xS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Au.transform(e)+", "+Au.transform(t)+", "+Au.transform(n)+", "+hi($i.transform(r))+")"};function BD(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const uf={test:Ap("#"),parse:BD,transform:Kr.transform},Bo={test:Ap("hsl","hue"),parse:xS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+hn.transform(hi(t))+", "+hn.transform(hi(n))+", "+hi($i.transform(r))+")"},Ye={test:e=>Kr.test(e)||uf.test(e)||Bo.test(e),parse:e=>Kr.test(e)?Kr.parse(e):Bo.test(e)?Bo.parse(e):uf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Kr.transform(e):Bo.transform(e)},zD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $D(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(jp))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(zD))===null||n===void 0?void 0:n.length)||0)>0}const wS="number",bS="color",UD="var",WD="var(",uv="${}",HD=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Wi(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let s=0;const a=t.replace(HD,l=>(Ye.test(l)?(r.color.push(s),o.push(bS),n.push(Ye.parse(l))):l.startsWith(WD)?(r.var.push(s),o.push(UD),n.push(l)):(r.number.push(s),o.push(wS),n.push(parseFloat(l))),++s,uv)).split(uv);return{values:n,split:a,indexes:r,types:o}}function SS(e){return Wi(e).values}function kS(e){const{split:t,types:n}=Wi(e),r=t.length;return o=>{let s="";for(let i=0;i<r;i++)if(s+=t[i],o[i]!==void 0){const a=n[i];a===wS?s+=hi(o[i]):a===bS?s+=Ye.transform(o[i]):s+=o[i]}return s}}const KD=e=>typeof e=="number"?0:e;function GD(e){const t=SS(e);return kS(e)(t.map(KD))}const Cr={test:$D,parse:SS,createTransformer:kS,getAnimatableNone:GD},qD=new Set(["brightness","contrast","saturate","opacity"]);function YD(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(jp)||[];if(!r)return e;const o=n.replace(r,"");let s=qD.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const QD=/\b([a-z-]*)\(.*?\)/gu,df={...Cr,getAnimatableNone:e=>{const t=e.match(QD);return t?t.map(YD).join(" "):e}},XD={...pp,color:Ye,backgroundColor:Ye,outlineColor:Ye,fill:Ye,stroke:Ye,borderColor:Ye,borderTopColor:Ye,borderRightColor:Ye,borderBottomColor:Ye,borderLeftColor:Ye,filter:df,WebkitFilter:df},Rp=e=>XD[e];function CS(e,t){let n=Rp(e);return n!==df&&(n=Cr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ZD=new Set(["auto","none","0"]);function JD(e,t,n){let r=0,o;for(;r<e.length&&!o;){const s=e[r];typeof s=="string"&&!ZD.has(s)&&Wi(s).values.length&&(o=e[r]),r++}if(o&&n)for(const s of t)e[s]=CS(n,o)}const dv=e=>e===Is||e===U,fv=(e,t)=>parseFloat(e.split(", ")[t]),hv=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return fv(o[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?fv(s[1],e):0}},eO=new Set(["x","y","z"]),tO=Rs.filter(e=>!eO.has(e));function nO(e){const t=[];return tO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ss={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:hv(4,13),y:hv(5,14)};Ss.translateX=Ss.x;Ss.translateY=Ss.y;const no=new Set;let ff=!1,hf=!1;function TS(){if(hf){const e=Array.from(no).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=nO(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([s,i])=>{var a;(a=r.getValue(s))===null||a===void 0||a.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}hf=!1,ff=!1,no.forEach(e=>e.complete()),no.clear()}function ES(){no.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(hf=!0)})}function rO(){ES(),TS()}class Ip{constructor(t,n,r,o,s,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=s,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(no.add(this),ff||(ff=!0,ye.read(ES),ye.resolveKeyframes(TS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const i=o==null?void 0:o.get(),a=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),o&&i===void 0&&o.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),no.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,no.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const PS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),oO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function sO(e){const t=oO.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function NS(e,t,n=1){const[r,o]=sO(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const i=s.trim();return PS(i)?parseFloat(i):i}return hp(o)?NS(o,t,n+1):o}const jS=e=>t=>t.test(e),iO={test:e=>e==="auto",parse:e=>e},AS=[Is,U,hn,Yn,YM,qM,iO],pv=e=>AS.find(jS(e));class RS extends Ip{constructor(t,n,r,o,s){super(t,n,r,o,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),hp(c))){const d=NS(c,n.current);d!==void 0&&(t[l]=d),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!aS.has(r)||t.length!==2)return;const[o,s]=t,i=pv(o),a=pv(s);if(i!==a)if(dv(i)&&dv(a))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)_D(t[o])&&r.push(o);r.length&&JD(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ss[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const s=n.getValue(r);s&&s.jump(this.measuredOrigin,!1);const i=o.length-1,a=o[i];o[i]=Ss[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{n.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const mv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Cr.test(e)||e==="0")&&!e.startsWith("url("));function aO(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function lO(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],i=mv(o,t),a=mv(s,t);return!i||!a?!1:aO(e)||(n==="spring"||bp(n))&&r}const cO=e=>e!==null;function Mc(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(cO),s=t&&n!=="loop"&&t%2===1?0:o.length-1;return!s||r===void 0?o[s]:r}const uO=40;class IS{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=pn.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:s,repeatType:i,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>uO?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&rO(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=pn.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:s,delay:i,onComplete:a,onUpdate:l,isGenerator:c}=this.options;if(!c&&!lO(t,r,o,s))if(i)this.options.duration=0;else{l&&l(Mc(t,this.options,n)),a&&a(),this.resolveFinishedPromise();return}const d=this.initPlayback(t,n);d!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...d},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Se=(e,t,n)=>e+(t-e)*n;function Ru(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dO({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,i=0;if(!t)o=s=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Ru(l,a,e+1/3),s=Ru(l,a,e),i=Ru(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}function Ul(e,t){return n=>n>0?t:e}const Iu=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},fO=[uf,Kr,Bo],hO=e=>fO.find(t=>t.test(e));function gv(e){const t=hO(e);if(!t)return!1;let n=t.parse(e);return t===Bo&&(n=dO(n)),n}const vv=(e,t)=>{const n=gv(e),r=gv(t);if(!n||!r)return Ul(e,t);const o={...n};return s=>(o.red=Iu(n.red,r.red,s),o.green=Iu(n.green,r.green,s),o.blue=Iu(n.blue,r.blue,s),o.alpha=Se(n.alpha,r.alpha,s),Kr.transform(o))},pO=(e,t)=>n=>t(e(n)),sa=(...e)=>e.reduce(pO),pf=new Set(["none","hidden"]);function mO(e,t){return pf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function gO(e,t){return n=>Se(e,t,n)}function Mp(e){return typeof e=="number"?gO:typeof e=="string"?hp(e)?Ul:Ye.test(e)?vv:xO:Array.isArray(e)?MS:typeof e=="object"?Ye.test(e)?vv:vO:Ul}function MS(e,t){const n=[...e],r=n.length,o=e.map((s,i)=>Mp(s)(s,t[i]));return s=>{for(let i=0;i<r;i++)n[i]=o[i](s);return n}}function vO(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Mp(e[o])(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}}function yO(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],a=e.indexes[i][o[i]],l=(n=e.values[a])!==null&&n!==void 0?n:0;r[s]=l,o[i]++}return r}const xO=(e,t)=>{const n=Cr.createTransformer(t),r=Wi(e),o=Wi(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?pf.has(e)&&!o.values.length||pf.has(t)&&!r.values.length?mO(e,t):sa(MS(yO(r,o),o.values),n):Ul(e,t)};function DS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Se(e,t,n):Mp(e)(e,t)}const wO=5;function OS(e,t,n){const r=Math.max(t-wO,0);return lS(n-e(r),t-r)}const Ne={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Mu=.001;function bO({duration:e=Ne.duration,bounce:t=Ne.bounce,velocity:n=Ne.velocity,mass:r=Ne.mass}){let o,s,i=1-t;i=Fn(Ne.minDamping,Ne.maxDamping,i),e=Fn(Ne.minDuration,Ne.maxDuration,jn(e)),i<1?(o=c=>{const d=c*i,f=d*e,h=d-n,p=mf(c,i),b=Math.exp(-f);return Mu-h/p*b},s=c=>{const f=c*i*e,h=f*n+n,p=Math.pow(i,2)*Math.pow(c,2)*e,b=Math.exp(-f),g=mf(Math.pow(c,2),i);return(-o(c)+Mu>0?-1:1)*((h-p)*b)/g}):(o=c=>{const d=Math.exp(-c*e),f=(c-n)*e+1;return-Mu+d*f},s=c=>{const d=Math.exp(-c*e),f=(n-c)*(e*e);return d*f});const a=5/e,l=kO(o,s,a);if(e=Nn(e),isNaN(l))return{stiffness:Ne.stiffness,damping:Ne.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:i*2*Math.sqrt(r*c),duration:e}}}const SO=12;function kO(e,t,n){let r=n;for(let o=1;o<SO;o++)r=r-e(r)/t(r);return r}function mf(e,t){return e*Math.sqrt(1-t*t)}const CO=["duration","bounce"],TO=["stiffness","damping","mass"];function yv(e,t){return t.some(n=>e[n]!==void 0)}function EO(e){let t={velocity:Ne.velocity,stiffness:Ne.stiffness,damping:Ne.damping,mass:Ne.mass,isResolvedFromDuration:!1,...e};if(!yv(e,TO)&&yv(e,CO))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,s=2*Fn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Ne.mass,stiffness:o,damping:s}}else{const n=bO(e);t={...t,...n,mass:Ne.mass},t.isResolvedFromDuration=!0}return t}function _S(e=Ne.visualDuration,t=Ne.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const s=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:c,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=EO({...n,velocity:-jn(n.velocity||0)}),b=h||0,g=c/(2*Math.sqrt(l*d)),w=i-s,y=jn(Math.sqrt(l/d)),v=Math.abs(w)<5;r||(r=v?Ne.restSpeed.granular:Ne.restSpeed.default),o||(o=v?Ne.restDelta.granular:Ne.restDelta.default);let x;if(g<1){const k=mf(y,g);x=C=>{const T=Math.exp(-g*y*C);return i-T*((b+g*y*w)/k*Math.sin(k*C)+w*Math.cos(k*C))}}else if(g===1)x=k=>i-Math.exp(-y*k)*(w+(b+y*w)*k);else{const k=y*Math.sqrt(g*g-1);x=C=>{const T=Math.exp(-g*y*C),E=Math.min(k*C,300);return i-T*((b+g*y*w)*Math.sinh(E)+k*w*Math.cosh(E))/k}}const S={calculatedDuration:p&&f||null,next:k=>{const C=x(k);if(p)a.done=k>=f;else{let T=0;g<1&&(T=k===0?Nn(b):OS(x,k,C));const E=Math.abs(T)<=r,A=Math.abs(i-C)<=o;a.done=E&&A}return a.value=a.done?i:C,a},toString:()=>{const k=Math.min(eS(S),af),C=tS(T=>S.next(k*T).value,k,30);return k+"ms "+C}};return S}function xv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:i,min:a,max:l,restDelta:c=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},p=E=>a!==void 0&&E<a||l!==void 0&&E>l,b=E=>a===void 0?l:l===void 0||Math.abs(a-E)<Math.abs(l-E)?a:l;let g=n*t;const w=f+g,y=i===void 0?w:i(w);y!==w&&(g=y-f);const v=E=>-g*Math.exp(-E/r),x=E=>y+v(E),S=E=>{const A=v(E),R=x(E);h.done=Math.abs(A)<=c,h.value=h.done?y:R};let k,C;const T=E=>{p(h.value)&&(k=E,C=_S({keyframes:[h.value,b(h.value)],velocity:OS(x,E,h.value),damping:o,stiffness:s,restDelta:c,restSpeed:d}))};return T(0),{calculatedDuration:null,next:E=>{let A=!1;return!C&&k===void 0&&(A=!0,S(E),T(E)),k!==void 0&&E>=k?C.next(E-k):(!A&&S(E),h)}}}const PO=oa(.42,0,1,1),NO=oa(0,0,.58,1),LS=oa(.42,0,.58,1),jO=e=>Array.isArray(e)&&typeof e[0]!="number",wv={linear:gt,easeIn:PO,easeInOut:LS,easeOut:NO,circIn:Np,circInOut:vS,circOut:gS,backIn:Pp,backInOut:pS,backOut:hS,anticipate:mS},bv=e=>{if(Sp(e)){of(e.length===4);const[t,n,r,o]=e;return oa(t,n,r,o)}else if(typeof e=="string")return of(wv[e]!==void 0),wv[e];return e};function AO(e,t,n){const r=[],o=n||DS,s=e.length-1;for(let i=0;i<s;i++){let a=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||gt:t;a=sa(l,a)}r.push(a)}return r}function RO(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(of(s===t.length),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=AO(t,r,o),l=a.length,c=d=>{if(i&&d<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=ws(e[f],e[f+1],d);return a[f](h)};return n?d=>c(Fn(e[0],e[s-1],d)):c}function IO(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=ws(0,t,r);e.push(Se(n,1,o))}}function MO(e){const t=[0];return IO(t,e.length-1),t}function DO(e,t){return e.map(n=>n*t)}function OO(e,t){return e.map(()=>t||LS).splice(0,e.length-1)}function Wl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=jO(r)?r.map(bv):bv(r),s={done:!1,value:t[0]},i=DO(n&&n.length===t.length?n:MO(t),e),a=RO(i,t,{ease:Array.isArray(o)?o:OO(t,o)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const _O=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ye.update(t,!0),stop:()=>kr(t),now:()=>ze.isProcessing?ze.timestamp:pn.now()}},LO={decay:xv,inertia:xv,tween:Wl,keyframes:Wl,spring:_S},FO=e=>e/100;class Dp extends IS{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:s}=this.options,i=(o==null?void 0:o.KeyframeResolver)||Ip,a=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new i(s,a,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:i=0}=this.options,a=bp(n)?n:LO[n]||Wl;let l,c;a!==Wl&&typeof t[0]!="number"&&(l=sa(FO,DS(t[0],t[1])),t=[0,100]);const d=a({...this.options,keyframes:t});s==="mirror"&&(c=a({...this.options,keyframes:[...t].reverse(),velocity:-i})),d.calculatedDuration===null&&(d.calculatedDuration=eS(d));const{calculatedDuration:f}=d,h=f+o,p=h*(r+1)-o;return{generator:d,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:h,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:E}=this.options;return{done:!0,value:E[E.length-1]}}const{finalKeyframe:o,generator:s,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:c,totalDuration:d,resolvedDuration:f}=r;if(this.startTime===null)return s.next(0);const{delay:h,repeat:p,repeatType:b,repeatDelay:g,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-d/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const y=this.currentTime-h*(this.speed>=0?1:-1),v=this.speed>=0?y<0:y>d;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=d);let x=this.currentTime,S=s;if(p){const E=Math.min(this.currentTime,d)/f;let A=Math.floor(E),R=E%1;!R&&E>=1&&(R=1),R===1&&A--,A=Math.min(A,p+1),!!(A%2)&&(b==="reverse"?(R=1-R,g&&(R-=g/f)):b==="mirror"&&(S=i)),x=Fn(0,1,R)*f}const k=v?{done:!1,value:l[0]}:S.next(x);a&&(k.value=a(k.value));let{done:C}=k;!v&&c!==null&&(C=this.speed>=0?this.currentTime>=d:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return T&&o!==void 0&&(k.value=Mc(l,this.options,o)),w&&w(k.value),T&&this.finish(),k}get duration(){const{resolved:t}=this;return t?jn(t.calculatedDuration):0}get time(){return jn(this.currentTime)}set time(t){t=Nn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=jn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=_O,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const VO=new Set(["opacity","clipPath","filter","transform"]);function BO(e,t,n,{delay:r=0,duration:o=300,repeat:s=0,repeatType:i="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const d=rS(a,o);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"})}const zO=ip(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Hl=10,$O=2e4;function UO(e){return bp(e.type)||e.type==="spring"||!nS(e.ease)}function WO(e,t){const n=new Dp({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let s=0;for(;!r.done&&s<$O;)r=n.sample(s),o.push(r.value),s+=Hl;return{times:void 0,keyframes:o,duration:s-Hl,ease:"linear"}}const FS={anticipate:mS,backInOut:pS,circInOut:vS};function HO(e){return e in FS}class Sv extends IS{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:s}=this.options;this.resolver=new RS(s,(i,a)=>this.onKeyframesResolved(i,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:o,ease:s,type:i,motionValue:a,name:l,startTime:c}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof s=="string"&&$l()&&HO(s)&&(s=FS[s]),UO(this.options)){const{onComplete:f,onUpdate:h,motionValue:p,element:b,...g}=this.options,w=WO(t,g);t=w.keyframes,t.length===1&&(t[1]=t[0]),r=w.duration,o=w.times,s=w.ease,i="keyframes"}const d=BO(a.owner.current,l,t,{...this.options,duration:r,times:o,ease:s});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(sv(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;a.set(Mc(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:r,times:o,type:i,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return jn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return jn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Nn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return gt;const{animation:r}=n;sv(r,t)}return gt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:s,ease:i,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:d,onComplete:f,element:h,...p}=this.options,b=new Dp({...p,keyframes:r,duration:o,type:s,ease:i,times:a,isGenerator:!0}),g=Nn(this.time);c.setWithVelocity(b.sample(g-Hl).value,b.sample(g).value,Hl)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:s,damping:i,type:a}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=n.owner.getProps();return zO()&&r&&VO.has(r)&&!l&&!c&&!o&&s!=="mirror"&&i!==0&&a!=="inertia"}}const KO={type:"spring",stiffness:500,damping:25,restSpeed:10},GO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),qO={type:"keyframes",duration:.8},YO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},QO=(e,{keyframes:t})=>t.length>2?qO:vo.has(e)?e.startsWith("scale")?GO(t[1]):KO:YO;function XO({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:i,repeatDelay:a,from:l,elapsed:c,...d}){return!!Object.keys(d).length}const Op=(e,t,n,r={},o,s)=>i=>{const a=wp(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Nn(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:o};XO(a)||(d={...d,...QO(e,d)}),d.duration&&(d.duration=Nn(d.duration)),d.repeatDelay&&(d.repeatDelay=Nn(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){const h=Mc(d.keyframes,a);if(h!==void 0)return ye.update(()=>{d.onUpdate(h),d.onComplete()}),new vD([])}return!s&&Sv.supports(d)?new Sv(d):new Dp(d)};function ZO({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function VS(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var s;let{transition:i=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(i=r);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const f in l){const h=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),p=l[f];if(p===void 0||d&&ZO(d,f))continue;const b={delay:n,...wp(i||{},f)};let g=!1;if(window.MotionHandoffAnimation){const y=cS(e);if(y){const v=window.MotionHandoffAnimation(y,f,ye);v!==null&&(b.startTime=v,g=!0)}}cf(e,f),h.start(Op(f,h,p,e.shouldReduceMotion&&aS.has(f)?{type:!1}:b,e,g));const w=h.animation;w&&c.push(w)}return a&&Promise.all(c).then(()=>{ye.update(()=>{a&&RD(e,a)})}),c}function gf(e,t,n={}){var r;const o=Ic(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(s=n.transitionOverride);const i=o?()=>Promise.all(VS(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=s;return JO(e,t,d+c,f,h,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[c,d]=l==="beforeChildren"?[i,a]:[a,i];return c().then(()=>d())}else return Promise.all([i(),a(n.delay)])}function JO(e,t,n=0,r=0,o=1,s){const i=[],a=(e.variantChildren.size-1)*r,l=o===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(e.variantChildren).sort(e_).forEach((c,d)=>{c.notify("AnimationStart",t),i.push(gf(c,t,{...s,delay:n+l(d)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(i)}function e_(e,t){return e.sortNodePosition(t)}function t_(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>gf(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=gf(e,t,n);else{const o=typeof t=="function"?Ic(e,t,n.custom):t;r=Promise.all(VS(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const n_=lp.length;function BS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?BS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<n_;n++){const r=lp[n],o=e.props[r];(zi(o)||o===!1)&&(t[r]=o)}return t}const r_=[...ap].reverse(),o_=ap.length;function s_(e){return t=>Promise.all(t.map(({animation:n,options:r})=>t_(e,n,r)))}function i_(e){let t=s_(e),n=kv(),r=!0;const o=l=>(c,d)=>{var f;const h=Ic(e,d,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(h){const{transition:p,transitionEnd:b,...g}=h;c={...c,...g,...b}}return c};function s(l){t=l(e)}function i(l){const{props:c}=e,d=BS(e.parent)||{},f=[],h=new Set;let p={},b=1/0;for(let w=0;w<o_;w++){const y=r_[w],v=n[y],x=c[y]!==void 0?c[y]:d[y],S=zi(x),k=y===l?v.isActive:null;k===!1&&(b=w);let C=x===d[y]&&x!==c[y]&&S;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),v.protectedKeys={...p},!v.isActive&&k===null||!x&&!v.prevProp||Ac(x)||typeof x=="boolean")continue;const T=a_(v.prevProp,x);let E=T||y===l&&v.isActive&&!C&&S||w>b&&S,A=!1;const R=Array.isArray(x)?x:[x];let B=R.reduce(o(y),{});k===!1&&(B={});const{prevResolvedValues:O={}}=v,W={...O,...B},D=F=>{E=!0,h.has(F)&&(A=!0,h.delete(F)),v.needsAnimating[F]=!0;const P=e.getValue(F);P&&(P.liveStyle=!1)};for(const F in W){const P=B[F],N=O[F];if(p.hasOwnProperty(F))continue;let _=!1;sf(P)&&sf(N)?_=!J1(P,N):_=P!==N,_?P!=null?D(F):h.add(F):P!==void 0&&h.has(F)?D(F):v.protectedKeys[F]=!0}v.prevProp=x,v.prevResolvedValues=B,v.isActive&&(p={...p,...B}),r&&e.blockInitialAnimation&&(E=!1),E&&(!(C&&T)||A)&&f.push(...R.map(F=>({animation:F,options:{type:y}})))}if(h.size){const w={};h.forEach(y=>{const v=e.getBaseTarget(y),x=e.getValue(y);x&&(x.liveStyle=!0),w[y]=v??null}),f.push({animation:w})}let g=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(f):Promise.resolve()}function a(l,c){var d;if(n[l].isActive===c)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(h=>{var p;return(p=h.animationState)===null||p===void 0?void 0:p.setActive(l,c)}),n[l].isActive=c;const f=i(l);for(const h in n)n[h].protectedKeys={};return f}return{animateChanges:i,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=kv(),r=!0}}}function a_(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!J1(t,e):!1}function Fr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kv(){return{animate:Fr(!0),whileInView:Fr(),whileHover:Fr(),whileTap:Fr(),whileDrag:Fr(),whileFocus:Fr(),exit:Fr()}}class Rr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class l_ extends Rr{constructor(t){super(t),t.animationState||(t.animationState=i_(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ac(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let c_=0;class u_ extends Rr{constructor(){super(...arguments),this.id=c_++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const d_={animation:{Feature:l_},exit:{Feature:u_}};function Hi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ia(e){return{point:{x:e.pageX,y:e.pageY}}}const f_=e=>t=>kp(t)&&e(t,ia(t));function pi(e,t,n,r){return Hi(e,t,f_(n),r)}const Cv=(e,t)=>Math.abs(e-t);function h_(e,t){const n=Cv(e.x,t.x),r=Cv(e.y,t.y);return Math.sqrt(n**2+r**2)}class zS{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Ou(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,p=h_(f.offset,{x:0,y:0})>=3;if(!h&&!p)return;const{point:b}=f,{timestamp:g}=ze;this.history.push({...b,timestamp:g});const{onStart:w,onMove:y}=this.handlers;h||(w&&w(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,f)},this.handlePointerMove=(f,h)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Du(h,this.transformPagePoint),ye.update(this.updatePoint,!0)},this.handlePointerUp=(f,h)=>{this.end();const{onEnd:p,onSessionEnd:b,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Ou(f.type==="pointercancel"?this.lastMoveEventInfo:Du(h,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,w),b&&b(f,w)},!kp(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const i=ia(t),a=Du(i,this.transformPagePoint),{point:l}=a,{timestamp:c}=ze;this.history=[{...l,timestamp:c}];const{onSessionStart:d}=n;d&&d(t,Ou(a,this.history)),this.removeListeners=sa(pi(this.contextWindow,"pointermove",this.handlePointerMove),pi(this.contextWindow,"pointerup",this.handlePointerUp),pi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),kr(this.updatePoint)}}function Du(e,t){return t?{point:t(e.point)}:e}function Tv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ou({point:e},t){return{point:e,delta:Tv(e,$S(t)),offset:Tv(e,p_(t)),velocity:m_(t,.1)}}function p_(e){return e[0]}function $S(e){return e[e.length-1]}function m_(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=$S(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Nn(t)));)n--;if(!r)return{x:0,y:0};const s=jn(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const i={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}const US=1e-4,g_=1-US,v_=1+US,WS=.01,y_=0-WS,x_=0+WS;function yt(e){return e.max-e.min}function w_(e,t,n){return Math.abs(e-t)<=n}function Ev(e,t,n,r=.5){e.origin=r,e.originPoint=Se(t.min,t.max,e.origin),e.scale=yt(n)/yt(t),e.translate=Se(n.min,n.max,e.origin)-e.originPoint,(e.scale>=g_&&e.scale<=v_||isNaN(e.scale))&&(e.scale=1),(e.translate>=y_&&e.translate<=x_||isNaN(e.translate))&&(e.translate=0)}function mi(e,t,n,r){Ev(e.x,t.x,n.x,r?r.originX:void 0),Ev(e.y,t.y,n.y,r?r.originY:void 0)}function Pv(e,t,n){e.min=n.min+t.min,e.max=e.min+yt(t)}function b_(e,t,n){Pv(e.x,t.x,n.x),Pv(e.y,t.y,n.y)}function Nv(e,t,n){e.min=t.min-n.min,e.max=e.min+yt(t)}function gi(e,t,n){Nv(e.x,t.x,n.x),Nv(e.y,t.y,n.y)}function S_(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Se(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Se(n,e,r.max):Math.min(e,n)),e}function jv(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function k_(e,{top:t,left:n,bottom:r,right:o}){return{x:jv(e.x,n,o),y:jv(e.y,t,r)}}function Av(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function C_(e,t){return{x:Av(e.x,t.x),y:Av(e.y,t.y)}}function T_(e,t){let n=.5;const r=yt(e),o=yt(t);return o>r?n=ws(t.min,t.max-r,e.min):r>o&&(n=ws(e.min,e.max-o,t.min)),Fn(0,1,n)}function E_(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const vf=.35;function P_(e=vf){return e===!1?e=0:e===!0&&(e=vf),{x:Rv(e,"left","right"),y:Rv(e,"top","bottom")}}function Rv(e,t,n){return{min:Iv(e,t),max:Iv(e,n)}}function Iv(e,t){return typeof e=="number"?e:e[t]||0}const Mv=()=>({translate:0,scale:1,origin:0,originPoint:0}),zo=()=>({x:Mv(),y:Mv()}),Dv=()=>({min:0,max:0}),Ae=()=>({x:Dv(),y:Dv()});function Ct(e){return[e("x"),e("y")]}function HS({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function N_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function j_(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function _u(e){return e===void 0||e===1}function yf({scale:e,scaleX:t,scaleY:n}){return!_u(e)||!_u(t)||!_u(n)}function zr(e){return yf(e)||KS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function KS(e){return Ov(e.x)||Ov(e.y)}function Ov(e){return e&&e!=="0%"}function Kl(e,t,n){const r=e-n,o=t*r;return n+o}function _v(e,t,n,r,o){return o!==void 0&&(e=Kl(e,o,r)),Kl(e,n,r)+t}function xf(e,t=0,n=1,r,o){e.min=_v(e.min,t,n,r,o),e.max=_v(e.max,t,n,r,o)}function GS(e,{x:t,y:n}){xf(e.x,t.translate,t.scale,t.originPoint),xf(e.y,n.translate,n.scale,n.originPoint)}const Lv=.999999999999,Fv=1.0000000000001;function A_(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,i;for(let a=0;a<o;a++){s=n[a],i=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Uo(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,GS(e,i)),r&&zr(s.latestValues)&&Uo(e,s.latestValues))}t.x<Fv&&t.x>Lv&&(t.x=1),t.y<Fv&&t.y>Lv&&(t.y=1)}function $o(e,t){e.min=e.min+t,e.max=e.max+t}function Vv(e,t,n,r,o=.5){const s=Se(e.min,e.max,o);xf(e,t,n,s,r)}function Uo(e,t){Vv(e.x,t.x,t.scaleX,t.scale,t.originX),Vv(e.y,t.y,t.scaleY,t.scale,t.originY)}function qS(e,t){return HS(j_(e.getBoundingClientRect(),t))}function R_(e,t,n){const r=qS(e,n),{scroll:o}=t;return o&&($o(r.x,o.offset.x),$o(r.y,o.offset.y)),r}const YS=({current:e})=>e?e.ownerDocument.defaultView:null,I_=new WeakMap;class M_{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ae(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=d=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ia(d).point)},s=(d,f)=>{const{drag:h,dragPropagation:p,onDragStart:b}=this.getProps();if(h&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ED(h),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ct(w=>{let y=this.getAxisMotionValue(w).get()||0;if(hn.test(y)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[w];x&&(y=yt(x)*(parseFloat(y)/100))}}this.originPoint[w]=y}),b&&ye.postRender(()=>b(d,f)),cf(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},i=(d,f)=>{const{dragPropagation:h,dragDirectionLock:p,onDirectionLock:b,onDrag:g}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:w}=f;if(p&&this.currentDirection===null){this.currentDirection=D_(w),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",f.point,w),this.updateAxis("y",f.point,w),this.visualElement.render(),g&&g(d,f)},a=(d,f)=>this.stop(d,f),l=()=>Ct(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new zS(t,{onSessionStart:o,onStart:s,onMove:i,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:YS(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&ye.postRender(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!La(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=S_(i,this.constraints[t],this.elastic[t])),s.set(i)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&Vo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=k_(o.layoutBox,n):this.constraints=!1,this.elastic=P_(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Ct(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=E_(o.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Vo(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=R_(r,o.root,this.visualElement.getTransformPagePoint());let i=C_(o.layout.layoutBox,s);if(n){const a=n(N_(i));this.hasMutatedConstraints=!!a,a&&(i=HS(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Ct(d=>{if(!La(d,n,this.currentDirection))return;let f=l&&l[d]||{};i&&(f={min:0,max:0});const h=o?200:1e6,p=o?40:1e7,b={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(d,b)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return cf(this.visualElement,t),r.start(Op(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ct(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Ct(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Ct(n=>{const{drag:r}=this.getProps();if(!La(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:a}=o.layout.layoutBox[n];s.set(t[n]-Se(i,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Vo(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Ct(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();o[i]=T_({min:l,max:l},this.constraints[i])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ct(i=>{if(!La(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:c}=this.constraints[i];a.set(Se(l,c,o[i]))})}addListeners(){if(!this.visualElement.current)return;I_.set(this.visualElement,this);const t=this.visualElement.current,n=pi(t,"pointerdown",l=>{const{drag:c,dragListener:d=!0}=this.getProps();c&&d&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Vo(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ye.read(r);const i=Hi(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Ct(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=l[d].translate,f.set(f.get()+l[d].translate))}),this.visualElement.render())});return()=>{i(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:i=vf,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:i,dragMomentum:a}}}function La(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function D_(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class O_ extends Rr{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new M_(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Bv=e=>(t,n)=>{e&&ye.postRender(()=>e(t,n))};class __ extends Rr{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new zS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:YS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Bv(t),onStart:Bv(n),onMove:r,onEnd:(s,i)=>{delete this.session,o&&ye.postRender(()=>o(s,i))}}}mount(){this.removePointerDownListener=pi(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const il={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function zv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ks={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(U.test(e))e=parseFloat(e);else return e;const n=zv(e,t.target.x),r=zv(e,t.target.y);return`${n}% ${r}%`}},L_={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Cr.parse(e);if(o.length>5)return r;const s=Cr.createTransformer(e),i=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=a,o[1+i]/=l;const c=Se(a,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=c),typeof o[3+i]=="number"&&(o[3+i]/=c),s(o)}};class F_ extends m.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;sD(V_),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),il.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,i=r.projection;return i&&(i.isPresent=s,o||t.layoutDependency!==n||n===void 0?i.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?i.promote():i.relegate()||ye.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),up.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function QS(e){const[t,n]=wM(),r=m.useContext(M1);return u.jsx(F_,{...e,layoutGroup:r,switchLayoutGroup:m.useContext(B1),isPresent:t,safeToRemove:n})}const V_={borderRadius:{...Ks,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ks,borderTopRightRadius:Ks,borderBottomLeftRadius:Ks,borderBottomRightRadius:Ks,boxShadow:L_};function B_(e,t,n){const r=Xe(e)?e:Ui(e);return r.start(Op("",r,t,n)),r.animation}function z_(e){return e instanceof SVGElement&&e.tagName!=="svg"}const $_=(e,t)=>e.depth-t.depth;class U_{constructor(){this.children=[],this.isDirty=!1}add(t){Cp(this.children,t),this.isDirty=!0}remove(t){Tp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($_),this.isDirty=!1,this.children.forEach(t)}}function W_(e,t){const n=pn.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(kr(r),e(s-t))};return ye.read(r,!0),()=>kr(r)}const XS=["TopLeft","TopRight","BottomLeft","BottomRight"],H_=XS.length,$v=e=>typeof e=="string"?parseFloat(e):e,Uv=e=>typeof e=="number"||U.test(e);function K_(e,t,n,r,o,s){o?(e.opacity=Se(0,n.opacity!==void 0?n.opacity:1,G_(r)),e.opacityExit=Se(t.opacity!==void 0?t.opacity:1,0,q_(r))):s&&(e.opacity=Se(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let i=0;i<H_;i++){const a=`border${XS[i]}Radius`;let l=Wv(t,a),c=Wv(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Uv(l)===Uv(c)?(e[a]=Math.max(Se($v(l),$v(c),r),0),(hn.test(c)||hn.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=Se(t.rotate||0,n.rotate||0,r))}function Wv(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const G_=ZS(0,.5,gS),q_=ZS(.5,.95,gt);function ZS(e,t,n){return r=>r<e?0:r>t?1:n(ws(e,t,r))}function Hv(e,t){e.min=t.min,e.max=t.max}function kt(e,t){Hv(e.x,t.x),Hv(e.y,t.y)}function Kv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Gv(e,t,n,r,o){return e-=t,e=Kl(e,1/n,r),o!==void 0&&(e=Kl(e,1/o,r)),e}function Y_(e,t=0,n=1,r=.5,o,s=e,i=e){if(hn.test(t)&&(t=parseFloat(t),t=Se(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=Se(s.min,s.max,r);e===s&&(a-=t),e.min=Gv(e.min,t,n,a,o),e.max=Gv(e.max,t,n,a,o)}function qv(e,t,[n,r,o],s,i){Y_(e,t[n],t[r],t[o],t.scale,s,i)}const Q_=["x","scaleX","originX"],X_=["y","scaleY","originY"];function Yv(e,t,n,r){qv(e.x,t,Q_,n?n.x:void 0,r?r.x:void 0),qv(e.y,t,X_,n?n.y:void 0,r?r.y:void 0)}function Qv(e){return e.translate===0&&e.scale===1}function JS(e){return Qv(e.x)&&Qv(e.y)}function Xv(e,t){return e.min===t.min&&e.max===t.max}function Z_(e,t){return Xv(e.x,t.x)&&Xv(e.y,t.y)}function Zv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ek(e,t){return Zv(e.x,t.x)&&Zv(e.y,t.y)}function Jv(e){return yt(e.x)/yt(e.y)}function ey(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class J_{constructor(){this.members=[]}add(t){Cp(this.members,t),t.scheduleRender()}remove(t){if(Tp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function eL(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((o||s||i)&&(r=`translate3d(${o}px, ${s}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:d,rotateX:f,rotateY:h,skewX:p,skewY:b}=n;c&&(r=`perspective(${c}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),b&&(r+=`skewY(${b}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const $r={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ei=typeof window<"u"&&window.MotionDebug!==void 0,Lu=["","X","Y","Z"],tL={visibility:"hidden"},ty=1e3;let nL=0;function Fu(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function tk(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=cS(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ye,!(o||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&tk(r)}function nk({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},a=t==null?void 0:t()){this.id=nL++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ei&&($r.totalNodes=$r.resolvedTargetDeltas=$r.recalculatedProjection=0),this.nodes.forEach(sL),this.nodes.forEach(uL),this.nodes.forEach(dL),this.nodes.forEach(iL),ei&&window.MotionDebug.record($r)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new U_)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Ep),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=z_(i),this.instance=i;const{layoutId:l,layout:c,visualElement:d}=this.options;if(d&&!d.current&&d.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(c||l)&&(this.isLayoutDirty=!0),e){let f;const h=()=>this.root.updateBlockedByResize=!1;e(i,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=W_(h,250),il.hasAnimatedSinceResize&&(il.hasAnimatedSinceResize=!1,this.nodes.forEach(ry))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:h,hasRelativeTargetChanged:p,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||d.getDefaultTransition()||gL,{onLayoutAnimationStart:w,onLayoutAnimationComplete:y}=d.getProps(),v=!this.targetLayout||!ek(this.targetLayout,b)||p,x=!h&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||x||h&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,x);const S={...wp(g,"layout"),onPlay:w,onComplete:y};(d.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else h||ry(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,kr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fL),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&tk(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ny);return}this.isUpdating||this.nodes.forEach(lL),this.isUpdating=!1,this.nodes.forEach(cL),this.nodes.forEach(rL),this.nodes.forEach(oL),this.clearAllSnapshots();const a=pn.now();ze.delta=Fn(0,1e3/60,a-ze.timestamp),ze.timestamp=a,ze.isProcessing=!0,Nu.update.process(ze),Nu.preRender.process(ze),Nu.render.process(ze),ze.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,up.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(aL),this.sharedNodes.forEach(hL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ye.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ye.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ae(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!JS(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,d=c!==this.prevTransformTemplateValue;i&&(a||zr(this.latestValues)||d)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),vL(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var i;const{visualElement:a}=this.options;if(!a)return Ae();const l=a.measureViewportBox();if(!(((i=this.scroll)===null||i===void 0?void 0:i.wasRoot)||this.path.some(yL))){const{scroll:d}=this.root;d&&($o(l.x,d.offset.x),$o(l.y,d.offset.y))}return l}removeElementScroll(i){var a;const l=Ae();if(kt(l,i),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let c=0;c<this.path.length;c++){const d=this.path[c],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&kt(l,i),$o(l.x,f.offset.x),$o(l.y,f.offset.y))}return l}applyTransform(i,a=!1){const l=Ae();kt(l,i);for(let c=0;c<this.path.length;c++){const d=this.path[c];!a&&d.options.layoutScroll&&d.scroll&&d!==d.root&&Uo(l,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),zr(d.latestValues)&&Uo(l,d.latestValues)}return zr(this.latestValues)&&Uo(l,this.latestValues),l}removeTransform(i){const a=Ae();kt(a,i);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!zr(c.latestValues))continue;yf(c.latestValues)&&c.updateSnapshot();const d=Ae(),f=c.measurePageBox();kt(d,f),Yv(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,d)}return zr(this.latestValues)&&Yv(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ze.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:h}=this.options;if(!(!this.layout||!(f||h))){if(this.resolvedRelativeTargetAt=ze.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ae(),this.relativeTargetOrigin=Ae(),gi(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ae(),this.targetWithTransforms=Ae()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),b_(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kt(this.target,this.layout.layoutBox),GS(this.target,this.targetDelta)):kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ae(),this.relativeTargetOrigin=Ae(),gi(this.relativeTargetOrigin,this.target,p.target),kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ei&&$r.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||yf(this.parent.latestValues)||KS(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var i;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===ze.timestamp&&(c=!1),c)return;const{layout:d,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||f))return;kt(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,p=this.treeScale.y;A_(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=Ae());const{target:b}=a;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Kv(this.prevProjectionDelta.x,this.projectionDelta.x),Kv(this.prevProjectionDelta.y,this.projectionDelta.y)),mi(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==p||!ey(this.projectionDelta.x,this.prevProjectionDelta.x)||!ey(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),ei&&$r.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),i){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=zo(),this.projectionDelta=zo(),this.projectionDeltaWithTransform=zo()}setAnimationOrigin(i,a=!1){const l=this.snapshot,c=l?l.latestValues:{},d={...this.latestValues},f=zo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Ae(),p=l?l.source:void 0,b=this.layout?this.layout.source:void 0,g=p!==b,w=this.getStack(),y=!w||w.members.length<=1,v=!!(g&&!y&&this.options.crossfade===!0&&!this.path.some(mL));this.animationProgress=0;let x;this.mixTargetDelta=S=>{const k=S/1e3;oy(f.x,i.x,k),oy(f.y,i.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(gi(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),pL(this.relativeTarget,this.relativeTargetOrigin,h,k),x&&Z_(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Ae()),kt(x,this.relativeTarget)),g&&(this.animationValues=d,K_(d,c,this.latestValues,k,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(kr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ye.update(()=>{il.hasAnimatedSinceResize=!0,this.currentAnimation=B_(0,ty,{...i,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ty),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:d}=i;if(!(!a||!l||!c)){if(this!==i&&this.layout&&c&&rk(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Ae();const f=yt(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+f;const h=yt(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+h}kt(a,l),Uo(a,d),mi(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new J_),this.sharedNodes.get(i).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var i;const{layoutId:a}=this.options;return a?((i=this.getStack())===null||i===void 0?void 0:i.lead)||this:this}getPrevLead(){var i;const{layoutId:a}=this.options;return a?(i=this.getStack())===null||i===void 0?void 0:i.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&Fu("z",i,c,this.animationValues);for(let d=0;d<Lu.length;d++)Fu(`rotate${Lu[d]}`,i,c,this.animationValues),Fu(`skew${Lu[d]}`,i,c,this.animationValues);i.render();for(const d in c)i.setStaticValue(d,c[d]),this.animationValues&&(this.animationValues[d]=c[d]);i.scheduleRender()}getProjectionStyles(i){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return tL;const c={visibility:""},d=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=ol(i==null?void 0:i.pointerEvents)||"",c.transform=d?d(this.latestValues,""):"none",c;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=ol(i==null?void 0:i.pointerEvents)||""),this.hasProjected&&!zr(this.latestValues)&&(g.transform=d?d({},""):"none",this.hasProjected=!1),g}const h=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=eL(this.projectionDeltaWithTransform,this.treeScale,h),d&&(c.transform=d(h,c.transform));const{x:p,y:b}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${b.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(a=h.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:c.opacity=f===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const g in zl){if(h[g]===void 0)continue;const{correct:w,applyTo:y}=zl[g],v=c.transform==="none"?h[g]:w(h[g],f);if(y){const x=y.length;for(let S=0;S<x;S++)c[y[S]]=v}else c[g]=v}return this.options.layoutId&&(c.pointerEvents=f===this?ol(i==null?void 0:i.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var a;return(a=i.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(ny),this.root.sharedNodes.clear()}}}function rL(e){e.updateLayout()}function oL(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:s}=e.options,i=n.source!==e.layout.source;s==="size"?Ct(f=>{const h=i?n.measuredBox[f]:n.layoutBox[f],p=yt(h);h.min=r[f].min,h.max=h.min+p}):rk(s,n.layoutBox,r)&&Ct(f=>{const h=i?n.measuredBox[f]:n.layoutBox[f],p=yt(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=zo();mi(a,r,n.layoutBox);const l=zo();i?mi(l,e.applyTransform(o,!0),n.measuredBox):mi(l,r,n.layoutBox);const c=!JS(a);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const b=Ae();gi(b,n.layoutBox,h.layoutBox);const g=Ae();gi(g,r,p.layoutBox),ek(b,g)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=b,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function sL(e){ei&&$r.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function iL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function aL(e){e.clearSnapshot()}function ny(e){e.clearMeasurements()}function lL(e){e.isLayoutDirty=!1}function cL(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ry(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function uL(e){e.resolveTargetDelta()}function dL(e){e.calcProjection()}function fL(e){e.resetSkewAndRotation()}function hL(e){e.removeLeadSnapshot()}function oy(e,t,n){e.translate=Se(t.translate,0,n),e.scale=Se(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function sy(e,t,n,r){e.min=Se(t.min,n.min,r),e.max=Se(t.max,n.max,r)}function pL(e,t,n,r){sy(e.x,t.x,n.x,r),sy(e.y,t.y,n.y,r)}function mL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const gL={duration:.45,ease:[.4,0,.1,1]},iy=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ay=iy("applewebkit/")&&!iy("chrome/")?Math.round:gt;function ly(e){e.min=ay(e.min),e.max=ay(e.max)}function vL(e){ly(e.x),ly(e.y)}function rk(e,t,n){return e==="position"||e==="preserve-aspect"&&!w_(Jv(t),Jv(n),.2)}function yL(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const xL=nk({attachResizeListener:(e,t)=>Hi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Vu={current:void 0},ok=nk({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Vu.current){const e=new xL({});e.mount(window),e.setOptions({layoutScroll:!0}),Vu.current=e}return Vu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),wL={pan:{Feature:__},drag:{Feature:O_,ProjectionNode:ok,MeasureLayout:QS}};function cy(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,s=r[o];s&&ye.postRender(()=>s(t,ia(t)))}class bL extends Rr{mount(){const{current:t}=this.node;t&&(this.unmount=bD(t,n=>(cy(this.node,n,"Start"),r=>cy(this.node,r,"End"))))}unmount(){}}class SL extends Rr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=sa(Hi(this.node.current,"focus",()=>this.onFocus()),Hi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function uy(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),s=r[o];s&&ye.postRender(()=>s(t,ia(t)))}class kL extends Rr{mount(){const{current:t}=this.node;t&&(this.unmount=TD(t,n=>(uy(this.node,n,"Start"),(r,{success:o})=>uy(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const wf=new WeakMap,Bu=new WeakMap,CL=e=>{const t=wf.get(e.target);t&&t(e)},TL=e=>{e.forEach(CL)};function EL({root:e,...t}){const n=e||document;Bu.has(n)||Bu.set(n,{});const r=Bu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(TL,{root:e,...t})),r[o]}function PL(e,t,n){const r=EL(t);return wf.set(e,n),r.observe(e),()=>{wf.delete(e),r.unobserve(e)}}const NL={some:0,all:1};class jL extends Rr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:NL[o]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=c?d:f;h&&h(l)};return PL(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(AL(t,n))&&this.startObserver()}unmount(){}}function AL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const RL={inView:{Feature:jL},tap:{Feature:kL},focus:{Feature:SL},hover:{Feature:bL}},IL={layout:{ProjectionNode:ok,MeasureLayout:QS}},bf={current:null},sk={current:!1};function ML(){if(sk.current=!0,!!sp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>bf.current=e.matches;e.addListener(t),t()}else bf.current=!1}const DL=[...AS,Ye,Cr],OL=e=>DL.find(jS(e)),dy=new WeakMap;function _L(e,t,n){for(const r in t){const o=t[r],s=n[r];if(Xe(o))e.addValue(r,o);else if(Xe(s))e.addValue(r,Ui(o,{owner:e}));else if(s!==o)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(o):i.hasAnimated||i.set(o)}else{const i=e.getStaticValue(r);e.addValue(r,Ui(i!==void 0?i:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const fy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class LL{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:s,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ip,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=pn.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,ye.render(this.render,!1,!0))};const{latestValues:l,renderState:c,onUpdate:d}=i;this.onUpdate=d,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=Rc(n),this.isVariantNode=F1(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const b=h[p];l[p]!==void 0&&Xe(b)&&b.set(l[p],!1)}}mount(t){this.current=t,dy.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),sk.current||ML(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:bf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){dy.delete(this.current),this.projection&&this.projection.unmount(),kr(this.notifyUpdate),kr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=vo.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ye.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),s(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in bs){const n=bs[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ae()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<fy.length;r++){const o=fy[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s="on"+o,i=t[s];i&&(this.propEventSubscriptions[o]=this.on(o,i))}this.prevMotionValues=_L(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ui(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(PS(o)||yS(o))?o=parseFloat(o):!OL(o)&&Cr.test(n)&&(o=CS(t,n)),this.setBaseTarget(t,Xe(o)?o.get():o)),Xe(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const i=fp(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);i&&(o=i[t])}if(r&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Xe(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ep),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class ik extends LL{constructor(){super(...arguments),this.KeyframeResolver=RS}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Xe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function FL(e){return window.getComputedStyle(e)}class VL extends ik{constructor(){super(...arguments),this.type="html",this.renderInstance=G1}readValueFromInstance(t,n){if(vo.has(n)){const r=Rp(n);return r&&r.default||0}else{const r=FL(t),o=(W1(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return qS(t,n)}build(t,n,r){mp(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return xp(t,n,r)}}class BL extends ik{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ae}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(vo.has(n)){const r=Rp(n);return r&&r.default||0}return n=q1.has(n)?n:cp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return X1(t,n,r)}build(t,n,r){gp(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){Y1(t,n,r,o)}mount(t){this.isSVGTag=yp(t.tagName),super.mount(t)}}const zL=(e,t)=>dp(e)?new BL(t):new VL(t,{allowProjection:e!==m.Fragment}),$L=pD({...d_,...RL,...wL,...IL},zL),q=jM($L),UL="/assets/travelers-search-Bj6h-5i-.png",WL="/assets/businesses-assistant-Cl6ThBDk.png",Lt={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Fa={visible:{transition:{staggerChildren:.15}}},wn=[{name:"Sarah M.",role:"Frequent Traveler",text:"Revyu.ai saved me hours of reading reviews. I found the perfect hotel in minutes!",rating:5,date:"Feb 2025"},{name:"James L.",role:"Business Traveler",text:"The AI chat is incredible - I asked about Wi-Fi quality and got an instant, accurate answer from hundreds of reviews.",rating:5,date:"Jan 2025"},{name:"Anna K.",role:"Family Vacationer",text:"Finally, a tool that cuts through the noise. The summaries are spot-on and helped us avoid a bad booking.",rating:5,date:"Mar 2025"},{name:"Marco R.",role:"Digital Nomad",text:"I use Revyu.ai for every booking now. The fake review detection alone is worth it.",rating:4,date:"Feb 2025"}],HL=()=>{const[e,t]=m.useState(0),n=()=>t(o=>(o+1)%wn.length),r=()=>t(o=>(o-1+wn.length)%wn.length);return u.jsxs(Ln,{children:[u.jsxs("section",{className:"relative overflow-hidden py-12 md:py-16",children:[u.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-primary/5 to-transparent pointer-events-none"}),u.jsx("div",{className:"container relative z-10",children:u.jsxs(q.div,{className:"mx-auto max-w-3xl text-center",initial:"hidden",animate:"visible",variants:Fa,children:[u.jsx(q.div,{variants:Lt,children:u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-6",children:"AI-Powered Travel Insights"})}),u.jsxs(q.h1,{variants:Lt,className:"text-4xl font-bold tracking-tight md:text-5xl lg:text-6xl",children:["Travel Smarter."," ",u.jsx("span",{className:"text-primary",children:"Book Faster."})," ","Integrate Seamlessly."]}),u.jsx(q.p,{variants:Lt,className:"mt-6 text-lg text-muted-foreground max-w-2xl mx-auto",children:"Revyu.ai uses AI to summarize thousands of hotel reviews in seconds, so you can make confident booking decisions - or integrate smarter insights into your platform."}),u.jsxs(q.div,{variants:Lt,className:"mt-8 flex flex-col items-center gap-4 sm:flex-row sm:justify-center",children:[u.jsx(gn,{asChild:!0,size:"lg",className:"rounded-full gap-2",children:u.jsxs("a",{href:"https://chromewebstore.google.com/detail/revyuai-your-ultimate-tra/eaikdjmdijlohhbmkkbeiieaaadlfbop",target:"_blank",rel:"noopener noreferrer",children:[u.jsx(Fi,{className:"h-5 w-5"}),"Install Free Extension"]})}),u.jsx(gn,{asChild:!0,variant:"outline",size:"lg",className:"rounded-full gap-2",children:u.jsxs(_e,{to:"/contact",children:["Request a Demo",u.jsx(vs,{className:"h-4 w-4"})]})})]}),u.jsxs(q.div,{variants:Lt,className:"mt-8 flex items-center justify-center gap-6 text-sm text-muted-foreground",children:[u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx("div",{className:"flex -sp
262ace-x-2",children:["Maya","Liam","Sofia","Noah"].map(o=>u.jsx("img",{src:`https://api.dicebear.com/7.x/avataaars/svg?seed=${o}&backgroundColor=ffd5a8,ffdfbf,d1d4f9,c0aede`,alt:o,loading:"lazy",className:"h-8 w-8 rounded-full border-2 border-background bg-muted object-cover"},o))}),u.jsx("span",{children:"Trusted by 3,500+ travelers"})]}),u.jsx("span",{className:"hidden sm:inline",children:"•"}),u.jsxs("div",{className:"hidden sm:flex items-center gap-1.5",children:[u.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"h-4 w-4 text-[#1e8e3e]",fill:"currentColor",children:u.jsx("path",{d:"M12 1.5a6 6 0 0 0-3.32 11L7 22l5-2.5L17 22l-1.68-9.5A6 6 0 0 0 12 1.5Zm0 2.25a3.75 3.75 0 1 1 0 7.5 3.75 3.75 0 0 1 0-7.5Z"})}),u.jsx("span",{className:"font-medium text-[#1e8e3e]",children:"Featured"}),u.jsx("span",{children:"on Google"})]})]})]})})]}),u.jsx("section",{className:"py-16 border-y border-border",children:u.jsx("div",{className:"container",children:u.jsxs("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-3 max-w-4xl mx-auto",children:[u.jsx(es,{value:5e6,suffix:"+",label:"Reviews Summarized"}),u.jsx(es,{value:85,suffix:"%",label:"Time Saved on Average"}),u.jsx(es,{value:25e3,suffix:"+",label:"Requests to the Assistant"})]})})}),u.jsx(q.section,{className:"py-12",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:Fa,children:u.jsx("div",{className:"container",children:u.jsxs("div",{className:"flex flex-col items-center gap-12",children:[u.jsx(q.div,{variants:Lt,className:"w-full max-w-3xl",children:u.jsx(yM,{src:"/videos/demo.mp4",className:"aspect-video w-full"})}),u.jsxs(q.div,{variants:Lt,className:"max-w-3xl",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"AI Chat"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Meet the AI Chat That Powers"," ",u.jsx("span",{className:"text-primary",children:"Revyu.ai"})]}),u.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:`Ask any question about a hotel - "Is the pool heated?" "How's the breakfast?" - and get instant, sourced answers from thousands of real reviews.`}),u.jsx("ul",{className:"mt-6 space-y-3",children:["Instant answers from real reviews","Context-aware AI responses","Source references for every answer"].map(o=>u.jsxs("li",{className:"flex items-center gap-3 text-sm",children:[u.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-primary/10",children:u.jsx(Qo,{className:"h-3.5 w-3.5 text-primary"})}),o]},o))})]})]})})}),u.jsx(q.section,{className:"py-12 bg-card",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:Fa,children:u.jsx("div",{className:"container",children:u.jsxs("div",{className:"grid items-center gap-12 md:grid-cols-2",children:[u.jsxs(q.div,{variants:Lt,children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"For Travelers"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Find the perfect hotel in"," ",u.jsx("span",{className:"text-primary",children:"seconds"})]}),u.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:"Stop scrolling through hundreds of reviews. Revyu.ai reads them all for you and delivers clear, actionable summaries."}),u.jsx("ul",{className:"mt-6 space-y-3",children:["AI-generated review summaries","Fake review detection","Personalized category filtering","Interactive AI chat for hotel Q&A"].map(o=>u.jsxs("li",{className:"flex items-center gap-3 text-sm",children:[u.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-primary/10",children:u.jsx(Qo,{className:"h-3.5 w-3.5 text-primary"})}),o]},o))})]}),u.jsx(q.div,{variants:Lt,className:"order-first md:order-last",children:u.jsx("img",{src:UL,alt:"Revyu.ai AI-powered hotel search dialog on Booking.com",className:"w-full h-auto rounded-3xl shadow-lg",loading:"lazy"})})]})})}
262),u.jsx(q.section,{className:"py-12",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:Fa,children:u.jsx("div",{className:"container",children:u.jsxs("div",{className:"grid items-center gap-12 md:grid-cols-2",children:[u.jsx(q.div,{variants:Lt,className:"flex justify-center",children:u.jsx("img",{src:WL,alt:"Revyu.ai AI Assistant embedded on a hotel booking page showing ratings",className:"w-[85%] h-auto rounded-3xl shadow-lg",loading:"lazy"})}),u.jsxs(q.div,{variants:Lt,children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"For Businesses"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Grow your business with"," ",u.jsx("span",{className:"text-primary",children:"smart integrations"})]}),u.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:"Embed AI-powered review insights directly into your hotel booking platform to boost engagement and conversions."}),u.jsx("ul",{className:"mt-6 space-y-3",children:["Seamless API integration","Custom review dashboards","Increase conversion rates","Improve guest satisfaction"].map(o=>u.jsxs("li",{className:"flex items-center gap-3 text-sm",children:[u.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-primary/10",children:u.jsx(Qo,{className:"h-3.5 w-3.5 text-primary"})}),o]},o))})]})]})})}),u.jsx("section",{className:"py-12 bg-card",children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"How it Works"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Simple, quick,"," ",u.jsx("span",{className:"text-primary",children:"effective"})]})]}),u.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:[{num:"01",title:"For Travelers",desc:"Install the Chrome extension and browse any supported hotel page to get AI summaries instantly.",icon:"✈️"},{num:"02",title:"For Hotels & OTAs",desc:"Connect your platform via our API and deliver AI-powered review insights to your users.",icon:"🏢"},{num:"03",title:"For Everyone",desc:"Ask questions, compare hotels, and make confident booking decisions with AI assistance.",icon:"🌍"}].map(o=>u.jsxs(q.div,{className:"group relative rounded-2xl border border-border bg-background p-8 hover:shadow-lg hover:border-primary/30 transition-all",whileHover:{y:-4},children:[u.jsx("span",{className:"text-5xl font-bold text-primary/10 absolute top-4 right-6",children:o.num}),u.jsx("div",{className:"mb-4 text-4xl",children:o.icon}),u.jsx("h3",{className:"text-lg font-bold",children:o.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:o.desc})]},o.num))})]})}),u.jsx("section",{className:"py-12",children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Testimonials"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["What our users"," ",u.jsx("span",{className:"text-primary",children:"say"})]})]}),u.jsxs("div",{className:"relative mx-auto max-w-2xl",children:[u.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center",children:[u.jsx("div",{className:"flex justify-center gap-1 mb-4",children:Array.from({length:wn[e].rating}).map((o,s)=>u.jsx(Jj,{className:"h-5 w-5 fill-primary text-primary"},s))}),u.jsxs("p",{className:"text-lg leading-relaxed italic text-foreground/80",children:['"',wn[e].text,'"']}),u.jsxs("div",{className:"mt-6",children:[u.jsx("p",{className:"font-semibold",children:wn[e].name}),u.jsxs("p",{className:"text-sm text-muted-foreground",children:[wn[e].role," · ",wn[e].date]})]})]}),u.jsxs("div",{className:"mt-6 flex items-center justify-center gap-4",children:[u.jsx("button",{onClick:r,className:"flex h-10 w-10 items-center justify-center rounded-full border border-border bg-card hover:bg-muted transition-colors","aria-label":"Previous testimonial",children:u.jsx(Wd,{className:"h-4 w-4"})}),u.jsx("div",{className:"flex gap-2",children:wn.map((o,s)=>u.jsx("button",{onClick:()=>t(s),className:`h-2 w-2 rounded-full transition-colors ${s===e?"bg-primary":"bg-border"}`,"aria-label":`Go to testimonial ${s+1}`},s))}),u.jsx("button",{onClick:n,className:"flex h-10 w-10 items-center justify-center rounded-full border border-border bg-card hover:bg-muted transition-colors","aria-label":"Next testimonial",children:u.jsx(vs,{className:"h-4 w-4"})})]})]})]})}),u.jsx(rp,{}),u.jsx(Nc,{maxItems:10}),u.jsx(Ar,{})]})},Gs={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6}}},hy={visible:{transition:{staggerChildren:.12}}},KL=({score:e,max:t=10})=>{const n=e/t*100,r=70,o=2*Math.PI*r,s=o-n/100*o;return u.jsxs("div",{className:"relative flex items-center justify-center",children:[u.jsxs("svg",{width:"180",height:"180",className:"-rotate-90",children:[u.jsx("circle",{cx:"90",cy:"90",r,fill:"none",stroke:"hsl(var(--border))",strokeWidth:"12"}),u.jsx("circle",{cx:"90",cy:"90",r,fill:"none",stroke:"hsl(var(--primary))",strokeWidth:"12",strokeLinecap:"round",strokeDasharray:o,strokeDashoffset:s,className:"transition-all duration-1000"})]}),u.jsxs("div",{className:"absolute text-center",children:[u.jsx("span",{className:"text-4xl font-bold",children:e}),u.jsxs("span",{className:"block text-xs text-muted-foreground",children:["/ ",t]})]})]})},GL=({label:e,score:t,emoji:n})=>u.jsxs("div",{className:"flex items-center gap-3 rounded-xl border border-border bg-card p-4 hover:shadow-sm transition-shadow",children:[u.jsx("span",{className:"text-2xl",children:n}),u.jsxs("div",{children:[u.jsx("p",{className:"text-lg font-bold",children:t}),u.jsx("p",{className:"text-xs text-muted-foreground",children:e})]})]}
262),qL=[{label:"Cleanliness",score:8,emoji:"🧹"},{label:"Service",score:6.3,emoji:"🛎️"},{label:"Amenities",score:9,emoji:"🏊"},{label:"Value",score:9.3,emoji:"💰"},{label:"Location",score:7.6,emoji:"📍"},{label:"Avg Stay (nights)",score:3,emoji:"🌙"}],YL=[{title:"AI-Powered Insights",desc:"Leverage NLP to extract actionable insights from thousands of guest reviews in seconds.",icon:oA},{title:"Seamless Integration",desc:"Our API plugs into your existing platform with minimal engineering effort.",icon:Wj},{title:"Better Guest Experience",desc:"Surface the reviews that matter most to help guests find their ideal stay.",icon:tA},{title:"Increased Conversions",desc:"Hotels using Revyu.ai see up to 25% higher booking conversion rates.",icon:eA}],QL=[{title:"OTAs",desc:"Enhance your platform with AI-powered review summaries that boost engagement and reduce bounce.",icon:Uj},{title:"Hotel Chains",desc:"Monitor guest sentiment across properties and benchmark performance with AI analytics.",icon:Vj},{title:"Travel Platforms",desc:"Differentiate your platform with intelligent review anal
262ysis and AI-powered Q&A.",icon:Bj}],XL=()=>u.jsxs(Ln,{children:[u.jsxs("section",{className:"relative overflow-hidden py-12 md:py-16",children:[u.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-primary/3 pointer-events-none"}),u.jsx("div",{className:"container relative z-10",children:u.jsxs(q.div,{className:"mx-auto max-w-3xl text-center",initial:"hidden",animate:"visible",variants:hy,children:[u.jsx(q.span,{variants:Gs,className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-6",children:"Hotels & OTAs"}),u.jsxs(q.h1,{variants:Gs,className:"text-4xl font-bold tracking-tight md:text-5xl",children:["Smarter hotel insights for"," ",u.jsx("span",{className:"text-primary",children:"Hotels & OTAs"})]}),u.jsx(q.p,{variants:Gs,className:"mt-6 text-lg text-muted-foreground max-w-2xl mx-auto",children:"Transform guest reviews into actionable intelligence. Revyu.ai helps hotels and OTAs understand, analyze, and leverage review data at scale."}),u.jsx(q.div,{variants:Gs,className:"mt-8",children:u.jsx(gn,{asChild:!0,size:"lg",className:"rounded-full gap-2",children:u.jsxs(_e,{to:"/contact",children:["Request a Demo ",u.jsx(vs,{className:"h-4 w-4"})]})})})]})})]}),u.jsx("section",{className:"py-12 bg-card",children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Smart Insights"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["AI-Powered ",u.jsx("span",{className:"text-primary",children:"Score Dashboard"})]}),u.jsx("p",{className:"mt-4 text-muted-foreground max-w-xl mx-auto",children:"Get a comprehensive overview of hotel performance across key categories, powered by analysis of thousands of guest reviews."})]}),u.jsx("div",{className:"mx-auto max-w-3xl",children:u.jsx("div",{className:"rounded-3xl border border-border bg-background p-8 md:p-12",children:u.jsxs("div",{className:"flex flex-col items-center gap-8 md:flex-row md:gap-12",children:[u.jsxs("div",{className:"flex-shrink-0",children:[u.jsx("p",{className:"text-center text-sm font-medium text-muted-foreground mb-2",children:"Overall Score"}),u.jsx(KL,{score:8.2})]}),u.jsx("div",{className:"flex-1 grid grid-cols-2 gap-3 sm:grid-cols-3",children:qL.map(e=>u.jsx(GL,{...e},e.label))})]})})})]})}),u.jsx(q.section,{className:"py-12",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:hy,children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Features"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["What You ",u.jsx("span",{className:"text-primary",children:"Get"})]})]}),u.jsx("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:YL.map(e=>u.jsxs(q.div,{variants:Gs,className:"group rounded-2xl border border-border bg-card p-6 hover:shadow-lg hover:border-primary/30 transition-all",whileHover:{y:-4},children:[u.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-xl bg-primary/10",children:u.jsx(e.icon,{className:"h-6 w-6 text-primary"})}),u.jsx("h3",{className:"font-bold",children:e.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]})}),u.jsx("section",{className:"py-12 bg-card",children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Audience"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Who It's ",u.jsx("span",{className:"text-primary",children:"For"})]})]}),u.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:QL.map(e=>u.jsxs(q.div,{className:"group rounded-2xl border border-border bg-background p-8 text-center hover:shadow-lg hover:border-primary/30 transition-all",whileHover:{y:-4},children:[u.jsx("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10 group-hover:bg-primary group-hover:text-primary-foreground transition-colors",children:u.jsx(e.icon,{className:"h-7 w-7 text-primary group-hover:text-primary-foreground transition-colors"})}),u.jsx("h3",{className:"text-lg font-bold",children:e.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]})}),u.jsx(rp,{}),u.jsx(Nc,{maxItems:10}),u.jsx(Ar,{})]}),ZL="/assets/how-it-works-hero-CjIyjsmT.png",Va={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6}}},py={visible:{transition:{staggerChildren:.12}}},JL=[{num:"01",title:"Install the Extension",desc:"Add Revyu.ai from the Chrome Web Store in one click. No signup required."},{num:"02",title:"Browse Hotel Pages",desc:"Visit any hotel on Booking.com or TripAdvisor as you normally would."},{num:"03",title:"Get AI Insights",desc:"Instantly see AI-generated summaries, scores, and chat - right on the page."}],e4=[{num:"01",title:"Connect Your Platform",desc:"Integrate Revyu.ai into your OTA or hotel website using our simple API."},{num:"02",title:"Analyze Reviews",desc:"Our AI processes thousands of reviews to extract key themes and scores."},{num:"03",title:"Deliver Recommendations",desc:"Surface smart insights and recommendations to your users for better engagement."}],t4=()=>u.jsxs(Ln,{children:[u.jsxs("section",{className:"relative overflow-hidden py-12 md:py-16",children:[u.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-primary/5 to-transparent pointer-events-none"}),u.jsx("div",{className:"container relative z-10",children:u.jsxs(q.div,{className:"grid items-center gap-12 md:grid-cols-2",initial:"hidden",animate:"visible",variants:py,children:[u.jsxs(q.div,{variants:Va,children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"How it Works"}),u.jsxs("h1",{className:"text-4xl font-bold tracking-tight md:text-5xl",children:["Simple, Quick,"," ",u.jsx("span",{className:"text-primary",children:"Effective"})]}),u.jsx("p",{className:"mt-6 text-lg text-muted-foreground",children:"Whether you're a traveler looking for the perfect hotel or a business wanting smarter review insights - Revyu.ai makes it effortless."}),u.jsx("div",{className:"mt-8 flex gap-4",children:u.jsxs(gn,{size:"lg",className:"rounded-full gap-2",children:[u.jsx(Fi,{className:"h-5 w-5"}),"Get Started"]})})]}),u.jsx(q.div,{variants:Va,className:"relative",children:u.jsx("div",{className:"aspect-[4/3] rounded-3xl bg-muted overflow-hidden",children:u.jsx("img",{src:ZL,alt:"Revyu.ai AI Assistant answering a question about hotel cleanliness",className:"h-full w-full object-cover object-top",loading:"lazy"})})})]})})]}),u.jsx("section",{className:"py-12 bg-card",children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"For Travelers"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["How it works for ",u.jsx("span",{className:"text-primary",children:"travelers"})]})]}),u.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:JL.map(e=>u.jsxs(q.div,{className:"relative rounded-2xl border border-border bg-background p-8",whileHover:{y:-4},children:[u.jsx("span",{className:"text-5xl font-bold text-primary/10 absolute top-4 right-6",children:e.num}),u.jsx("h3",{className:"text-lg font-bold mt-8",children:e.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.num))})]})}),u.jsx("section",{className:"py-12",children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"For Hotels & OTAs"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["How it works for ",u.jsx("span",{className:"text-primary",children:"businesses"})]})]}),u.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:e4.map(e=>u.jsxs(q.div,{className:"relative rounded-2xl border border-border bg-card p-8",whileHover:{y:-4},children:[u.jsx("span",{className:"text-5xl font-bold text-primary/10 absolute top-4 right-6",children:e.num}),u.jsx("h3",{className:"text-lg font-bold mt-8",children:e.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.num))})]})}
262),u.jsx(q.section,{className:"py-12 bg-card",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:py,children:u.jsx("div",{className:"container",children:u.jsxs("div",{className:"grid items-center gap-12 md:grid-cols-2",children:[u.jsxs(q.div,{variants:Va,children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Why Revyu"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Why Revyu.ai ",u.jsx("span",{className:"text-primary",children:"works"})]}),u.jsx("ul",{className:"mt-6 space-y-4",children:["Advanced NLP processes reviews in 50+ languages","Real-time analysis - no stale data","Privacy-first: no personal data collected","Built for scale - handle millions of reviews"].map(e=>u.jsxs("li",{className:"flex items-start gap-3 text-sm",children:[u.jsx("div",{className:"mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-primary/10",children:u.jsx(Qo,{className:"h-3.5 w-3.5 text-primary"})}),u.jsx("span",{children:e})]},e))})]}),u.jsx(q.div,{variants:Va,className:"aspect-[4/3] rounded-3xl bg-muted flex items-center justify-center",children:u.jsx("span",{className:"text-6xl",children:"🚀"})})]})})}),u.jsx(rp,{}),u.jsx(Nc,{maxItems:10}),u.jsx(Ar,{})]}),n4="/assets/about-CiXiR6pR.jpg",zu={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6}}},my={visible:{transition:{staggerChildren:.12}}},r4=[{title:"Clarity & Simplicity",desc:"We cut through the noise. Our AI distills thousands of reviews into clear, actionable insights.",icon:$j},{title:"Trust & Privacy",desc:"Your data is yours. We never collect personal information and use enterprise-grade encryption.",icon:Zj},{title:"Innovation & Empowerment",desc:"We build tools that give power back to travelers and businesses with cutting-edge AI.",icon:Hj}],o4=()=>u.jsxs(Ln,{children:[u.jsx("section",{className:"py-12 md:py-16",children:u.jsx("div",{className:"container",children:u.jsxs(q.div,{className:"grid items-center gap-12 md:grid-cols-2",initial:"hidden",animate:"visible",variants:my,children:[u.jsxs(q.div,{variants:zu,children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Our Story"}),u.jsxs("h1",{className:"text-4xl font-bold tracking-tight md:text-5xl",children:["From Frustration to"," ",u.jsx("span",{className:"text-primary",children:"Innovation"})]}),u.jsx("p",{className:"mt-6 text-muted-foreground leading-relaxed",children:"It started with a simple frustration: spending hours scrolling through hotel reviews, only to end up more confused than when we started. We knew there had to be a better way."}),u.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:"So we built Revyu.ai - an AI-powered tool that reads and understands thousands of hotel reviews in seconds, giving travelers and businesses the clarity they need to make confident decisions."}),u.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:"Born in Berlin, built for the world. Today, Revyu.ai helps thousands of travelers book smarter and hundreds of businesses deliver better guest experiences."})]}),u.jsx(q.div,{variants:zu,className:"aspect-square overflow-hidden rounded-3xl bg-muted",children:u.jsx("img",{src:n4,alt:"About Revyu.ai",className:"h-full w-full object-cover"})})]})})}),u.jsx("section",{className:"py-12",children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Our Impact"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["Numbers that ",u.jsx("span",{className:"text-primary",children:"matter"})]})]}),u.jsxs("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-3 max-w-4xl mx-auto",children:[u.jsx(es,{value:5e6,suffix:"+",label:"Reviews Summarized"}),u.jsx(es,{value:85,suffix:"%",label:"Time Saved on Average"}),u.jsx(es,{value:25e3,suffix:"+",label:"Requests to the Assistant"})]})]})}
262),u.jsx(q.section,{className:"py-12 bg-card",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:my,children:u.jsxs("div",{className:"container",children:[u.jsxs("div",{className:"mb-12 text-center",children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Our Values"}),u.jsxs("h2",{className:"text-3xl font-bold md:text-4xl",children:["What drives ",u.jsx("span",{className:"text-primary",children:"us"})]})]}),u.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:r4.map(e=>u.jsxs(q.div,{variants:zu,className:"rounded-2xl border border-border bg-background p-8 text-center hover:shadow-lg transition-shadow",whileHover:{y:-4},children:[u.jsx("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10",children:u.jsx(e.icon,{className:"h-7 w-7 text-primary"})}),u.jsx("h3",{className:"text-lg font-bold",children:e.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]})}),u.jsx(Ar,{})]}),s4=()=>u.jsxs(Ln,{children:[u.jsx("section",{className:"py-12 md:py-16",children:u.jsx("div",{className:"container",children:u.jsxs(q.div,{className:"mx-auto max-w-2xl text-center mb-12",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"FAQs"}),u.jsxs("h1",{className:"text-4xl font-bold tracking-tight md:text-5xl",children:["Questions? We've Got"," ",u.jsx("span",{className:"text-primary",children:"Answers."})]}),u.jsx("p",{className:"mt-4 text-muted-foreground",children:"Everything you need to know about Revyu.ai - from features to integrations."})]})})}),u.jsx(Nc,{showTitle:!1}),u.jsx(Ar,{})]}),i4={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6}}},a4={visible:{transition:{staggerChildren:.1}}},l4=()=>{const e=to.find(n=>n.featured)??to[0],t=to.filter(n=>n.slug!==e.slug);return u.jsxs(Ln,{children:[u.jsx("section",{className:"py-12 md:py-16",children:u.jsx("div",{className:"container",children:u.jsxs(q.div,{className:"mx-auto max-w-2xl text-center",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Revyu Insights"}),u.jsxs("h1",{className:"text-4xl font-bold tracking-tight md:text-5xl",children:["Your Guide to Smarter Travel &"," ",u.jsx("span",{className:"text-primary",children:"AI Innovation"})]}),u.jsx("p",{className:"mt-4 text-muted-foreground",children:"Expert insights on AI-powered travel, hotel reviews, and the future of hospitality."})]})})}),u.jsx("section",{className:"pb-12",children:u.jsx("div",{className:"container",children:u.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[u.jsxs(_e,{to:`/blog/${e.slug}`,className:"group flex flex-col rounded-2xl border border-border bg-card overflow-hidden hover:shadow-lg transition-shadow",children:[u.jsx("div",{className:"aspect-[16/10] overflow-hidden bg-muted",children:u.jsx("img",{src:e.image,alt:e.title,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.03]"})}),u.jsxs("div",{className:"flex flex-1 flex-col p-6",children:[u.jsx("span",{className:"inline-block self-start rounded-full bg-primary/10 px-3 py-1 text-xs font-medium text-primary mb-3",children:e.category}),u.jsx("h2",{className:"text-xl font-bold group-hover:text-primary transition-colors",children:e.title}),u.jsx("p",{className:"mt-2 text-sm text-muted-foreground line-clamp-3",children:e.excerpt}),u.jsxs("div",{className:"mt-auto pt-4 text-xs text-muted-foreground",children:[e.author," · ",e.date]})]})]}),u.jsx("div",{className:"flex flex-col gap-6",children:t.slice(0,2).map(n=>u.jsxs(_e,{to:`/blog/${n.slug}`,className:"group flex gap-4 rounded-2xl border border-border bg-card p-4 hover:shadow-lg transition-shadow",children:[u.jsx("div",{className:"h-24 w-24 flex-shrink-0 overflow-hidden rounded-xl bg-muted",children:u.jsx("img",{src:n.image,alt:n.title,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.05]"})}),u.jsxs("div",{className:"flex flex-col justify-center",children:[u.jsx("span",{className:"inline-block self-start rounded-full bg-primary/10 px-2.5 py-0.5 text-[10px] font-medium text-primary mb-1.5",children:n.category}),u.jsx("h3",{className:"text-sm font-bold group-hover:text-primary transition-colors line-clamp-2",children:n.title}),u.jsx("span",{className:"mt-1 text-xs text-muted-foreground",children:n.date})]})]},n.slug))})]})})}
262),u.jsx(q.section,{className:"py-12",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:a4,children:u.jsxs("div",{className:"container",children:[u.jsx("h2",{className:"text-2xl font-bold mb-8",children:"All Posts"}),u.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:t.slice(2).map(n=>u.jsx(q.div,{variants:i4,children:u.jsxs(_e,{to:`/blog/${n.slug}`,className:"group flex flex-col rounded-2xl border border-border bg-card overflow-hidden hover:shadow-lg transition-shadow h-full",children:[u.jsx("div",{className:"aspect-[16/10] overflow-hidden bg-muted",children:u.jsx("img",{src:n.image,alt:n.title,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.05]"})}),u.jsxs("div",{className:"flex flex-1 flex-col p-5",children:[u.jsx("span",{className:"inline-block self-start rounded-full bg-primary/10 px-2.5 py-0.5 text-[10px] font-medium text-primary mb-2",children:n.category}),u.jsx("h3",{className:"text-sm font-bold group-hover:text-primary transition-colors line-clamp-2",children:n.title}),u.jsx("p",{className:"mt-1.5 text-xs text-muted-foreground line-clamp-2",children:n.excerpt}),u.jsx("span",{className:"mt-auto pt-3 text-xs text-muted-foreground",children:n.date})]})]})},n.slug))})]})}),u.jsx(Ar,{})]})},c4=()=>{const{slug:e}=_P(),t=e?vM(e):void 0;return t?u.jsxs(Ln,{children:[u.jsx("article",{className:"py-12",children:u.jsxs("div",{className:"container max-w-3xl",children:[u.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[u.jsxs(_e,{to:"/blog",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-primary transition-colors",children:[u.jsx(Wd,{className:"h-4 w-4"})," Back to Blog"]}),u.jsx("span",{className:"inline-flex items-center rounded-full bg-primary/10 px-3 py-1 text-xs font-medium text-primary",children:t.category})]}),u.jsx("h1",{className:"text-3xl font-bold md:text-4xl",children:t.title}),u.jsxs("div",{className:"mt-4 flex items-center gap-3 text-sm text-muted-foreground",children:[u.jsx("span",{children:t.author}),u.jsx("span",{children:"·"}),u.jsx("span",{children:t.date})]}),u.jsx("div",{className:"mt-8 aspect-[16/9] overflow-hidden rounded-2xl bg-muted mb-10",children:u.jsx("img",{src:t.image,alt:t.title,className:"h-full w-full object-cover"})}),u.jsx("p",{className:"text-lg text-foreground leading-relaxed mb-8",children:t.excerpt}),u.jsx("div",{className:"prose prose-neutral max-w-none prose-headings:font-bold prose-h1:text-3xl prose-h2:text-2xl prose-h3:text-xl prose-p:text-foreground prose-p:leading-relaxed prose-a:text-primary hover:prose-a:underline prose-blockquote:border-l-primary prose-blockquote:text-muted-foreground prose-blockquote:italic prose-strong:text-foreground prose-li:text-foreground",dangerouslySetInnerHTML:{__html:t.content}})]})}),u.jsx(Ar,{})]}):u.jsx(Ln,{children:u.jsxs("div",{className:"container py-12 text-center",children:[u.jsx("h1",{className:"text-3xl font-bold",children:"Post not found"}),u.jsxs(_e,{to:"/blog",className:"mt-4 inline-flex items-center gap-2 text-primary hover:underline",children:[u.jsx(Wd,{className:"h-4 w-4"})," Back to Blog"]})]})})},ti=m.forwardRef(({className:e,type:t,...n},r)=>u.jsx("input",{type:t,className:re("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}));ti.displayName="Input";const ak=m.forwardRef(({className:e,...t},n)=>u.jsx("textarea",{className:re("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
262ing-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}));ak.displayName="Textarea";var Dc="Checkbox",[u4,l5]=vn(Dc),[d4,_p]=u4(Dc);function f4(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:s,form:i,name:a,onCheckedChange:l,required:c,value:d="on",internal_do_not_use_render:f}=e,[h,p]=Dn({prop:n,defaultProp:o??!1,onChange:l,caller:Dc}),[b,g]=m.useState(null),[w,y]=m.useState(null),v=m.useRef(!1),x=b?!!i||!!b.closest("form"):!0,S={checked:h,disabled:s,setChecked:p,control:b,setControl:g,name:a,form:i,value:d,hasConsumerStoppedPropagationRef:v,required:c,defaultChecked:yr(o)?!1:o,isFormControl:x,bubbleInput:w,setBubbleInput:y};return u.jsx(d4,{scope:t,...S,children:h4(f)?f(S):r})}var lk="CheckboxTrigger",ck=m.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},o)=>{const{control:s,value:i,disabled:a,checked:l,required:c,setControl:d,setChecked:f,hasConsumerStoppedPropagationRef:h,isFormControl:p,bubbleInput:b}=_p(lk,e),g=le(o,d),w=m.useRef(l);return m.useEffect(()=>{const y=s==null?void 0:s.form;if(y){const v=()=>f(w.current);return y.addEventListener("reset",v),()=>y.removeEventListener("reset",v)}},[s,f]),u.jsx(Z.button,{type:"button",role:"checkbox","aria-checked":yr(l)?"mixed":l,"aria-required":c,"data-state":pk(l),"data-disabled":a?"":void 0,disabled:a,value:i,...r,ref:g,onKeyDown:G(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:G(n,y=>{f(v=>yr(v)?!0:!v),b&&p&&(h.current=y.isPropagationStopped(),h.current||y.stopPropagation())})})});ck.displayName=lk;var Lp=m.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:s,required:i,disabled:a,value:l,onCheckedChange:c,form:d,...f}=e;return u.jsx(f4,{__scopeCheckbox:n,checked:o,defaultChecked:s,disabled:a,required:i,onCheckedChange:c,name:r,form:d,value:l,internal_do_not_use_render:({isFormControl:h})=>u.jsxs(u.Fragment,{children:[u.jsx(ck,{...f,ref:t,__scopeCheckbox:n}),h&&u.jsx(hk,{__scopeCheckbox:n})]})})});Lp.displayName=Dc;var uk="CheckboxIndicator",dk=m.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,s=_p(uk,n);return u.jsx(jr,{present:r||yr(s.checked)||s.checked===!0,children:u.jsx(Z.span,{"data-state":pk(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});dk.displayName=uk;var fk="CheckboxBubbleInput",hk=m.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:i,required:a,disabled:l,name:c,value:d,form:f,bubbleInput:h,setBubbleInput:p}=_p(fk,e),b=le(n,p),g=Yh(s),w=Bh(r);m.useEffect(()=>{const v=h;if(!v)return;const x=window.HTMLInputElement.prototype,k=Object.getOwnPropertyDescriptor(x,"checked").set,C=!o.current;if(g!==s&&k){const T=new Event("click",{bubbles:C});v.indeterminate=yr(s),k.call(v,yr(s)?!1:s),v.dispatchEvent(T)}},[h,g,s,o]);const y=m.useRef(yr(s)?!1:s);return u.jsx(Z.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??y.current,required:a,disabled:l,name:c,value:d,form:f,...t,tabIndex:-1,ref:b,style:{...t.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});hk.displayName=fk;function h4(e){return typeof e=="function"}function yr(e){return e==="indeterminate"}function pk(e){return yr(e)?"indeterminate":e?"checked":"unchecked"}const mk=m.forwardRef(({className:e,...t},n)=>u.jsx(Lp,{ref:n,className:re("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:u.jsx(dk,{className:re("flex items-center justify-center text-current"),children:u.jsx(Qo,{className:"h-4 w-4"})})}));mk.displayName=Lp.displayName;function gy(e,[t,n]){return Math.min(n,Math.max(t,e))}var p4=[" ","Enter","ArrowUp","ArrowDown"],m4=[" ","Enter"],uo="Select",[Oc,_c,g4]=Eh(uo),[Ms,c5]=vn(uo,[g4,xc]),Lc=xc(),[v4,Ir]=Ms(uo),[y4,x4]=Ms(uo),gk=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:c,name:d,autoComplete:f,disabled:h,required:p,form:b}=e,g=Lc(t),[w,y]=m.useState(null),[v,x]=m.useState(null),[S,k]=m.useState(!1),C=x1(c),[T,E]=Dn({prop:r,defaultProp:o??!1,onChange:s,caller:uo}),[A,R]=Dn({prop:i,defaultProp:a,onChange:l,caller:uo}),B=m.useRef(null),O=w?b||!!w.closest("form"):!0,[W,D]=m.useState(new Set),H=Array.from(W).map(z=>z.props.value).join(";");return u.jsx(aR,{...g,children:u.jsxs(v4,{required:p,scope:t,trigger:w,onTriggerChange:y,valueNode:v,onValueNodeChange:x,valueNodeHasChildren:S,onValueNodeHasChildrenChange:k,contentId:vr(),value:A,onValueChange:R,open:T,onOpenChange:E,dir:C,triggerPointerDownPosRef:B,disabled:h,children:[u.jsx(Oc.Provider,{scope:t,children:u.jsx(y4,{scope:e.__scopeSelect,onNativeOptionAdd:m.useCallback(z=>{D(F=>new Set(F).add(z))},[]),onNativeOptionRemove:m.useCallback(z=>{D(F=>{const P=new Set(F);return P.delete(z),P})},[]),children:n})}),O?u.jsxs(Bk,{"aria-hidden":!0,required:p,tabIndex:-1,name:d,autoComplete:f,value:A,onChange:z=>R(z.target.value),disabled:h,form:b,children:[A===void 0?u.jsx("option",{value:""}):null,Array.from(W)]},H):null]})})};gk.displayName=uo;var vk="SelectTrigger",yk=m.forwardRef((e,t)=>
262{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=Lc(n),i=Ir(vk,n),a=i.disabled||r,l=le(t,i.onTriggerChange),c=_c(n),d=m.useRef("touch"),[f,h,p]=$k(g=>{const w=c().filter(x=>!x.disabled),y=w.find(x=>x.value===i.value),v=Uk(w,g,y);v!==void 0&&i.onValueChange(v.value)}),b=g=>{a||(i.onOpenChange(!0),p()),g&&(i.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)})};return u.jsx(hb,{asChild:!0,...s,children:u.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:a,"data-disabled":a?"":void 0,"data-placeholder":zk(i.value)?"":void 0,...o,ref:l,onClick:G(o.onClick,g=>{g.currentTarget.focus(),d.current!=="mouse"&&b(g)}),onPointerDown:G(o.onPointerDown,g=>{d.current=g.pointerType;const w=g.target;w.hasPointerCapture(g.pointerId)&&w.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(b(g),g.preventDefault())}),onKeyDown:G(o.onKeyDown,g=>{const w=f.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&h(g.key),!(w&&g.key===" ")&&p4.includes(g.key)&&(b(),g.preventDefault())})})})});yk.displayName=vk;var xk="SelectValue",wk=m.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,l=Ir(xk,n),{onValueNodeHasChildrenChange:c}=l,d=s!==void 0,f=le(t,l.onValueNodeChange);return Ve(()=>{c(d)},[c,d]),u.jsx(Z.span,{...a,ref:f,style:{pointerEvents:"none"},children:zk(l.value)?u.jsx(u.Fragment,{children:i}):s})});wk.displayName=xk;var w4="SelectIcon",bk=m.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return u.jsx(Z.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});bk.displayName=w4;var b4="SelectPortal",Sk=e=>u.jsx(hc,{asChild:!0,...e});Sk.displayName=b4;var fo="SelectContent",kk=m.forwardRef((e,t)=>{const n=Ir(fo,e.__scopeSelect),[r,o]=m.useState();if(Ve(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?mo.createPortal(u.jsx(Ck,{scope:e.__scopeSelect,children:u.jsx(Oc.Slot,{scope:e.__scopeSelect,children:u.jsx("div",{children:e.children})})}),s):null}return u.jsx(Tk,{...e,ref:t})});kk.displayName=fo;var Vt=10,[Ck,Mr]=Ms(fo),S4="SelectContentImpl",k4=gs("SelectContent.RemoveScroll"),Tk=m.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:l,align:c,alignOffset:d,arrowPadding:f,collisionBoundary:h,collisionPadding:p,sticky:b,hideWhenDetached:g,avoidCollisions:w,...y}=e,v=Ir(fo,n),[x,S]=m.useState(null),[k,C]=m.useState(null),T=le(t,L=>S(L)),[E,A]=m.useState(null),[R,B]=m.useState(null),O=_c(n),[W,D]=m.useState(!1),H=m.useRef(!1);m.useEffect(()=>{if(x)return Db(x)},[x]),Tb();const z=m.useCallback(L=>{const[ce,...Ee]=O().map(se=>se.ref.current),[ae]=Ee.slice(-1),ne=document.activeElement;for(const se of L)if(se===ne||(se==null||se.scrollIntoView({block:"nearest"}),se===ce&&k&&(k.scrollTop=0),se===ae&&k&&(k.scrollTop=k.scrollHeight),se==null||se.focus(),document.activeElement!==ne))return},[O,k]),F=m.useCallback(()=>z([E,x]),[z,E,x]);m.useEffect(()=>{W&&F()},[W,F]);const{onOpenChange:P,triggerPointerDownPosRef:N}=v;m.useEffect(()=>{if(x){let L={x:0,y:0};const ce=ae=>{var ne,se;L={x:Math.abs(Math.round(ae.pageX)-(((ne=N.current)==null?void 0:ne.x)??0)),y:Math.abs(Math.round(ae.pageY)-(((se=N.current)==null?void 0:se.y)??0))}},Ee=ae=>{L.x<=10&&L.y<=10?ae.preventDefault():x.contains(ae.target)||P(!1),document.removeEventListener("pointermove",ce),N.current=null};return N.current!==null&&(document.addEventListener("pointermove",ce),document.addEventListener("pointerup",Ee,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ce),document.removeEventListener("pointerup",Ee,{capture:!0})}}},[x,P,N]),m.useEffect(()=>{const L=()=>P(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[P]);const[_,K]=$k(L=>{const ce=O().filter(ne=>!ne.disabled),Ee=ce.find(ne=>ne.ref.current===document.activeElement),ae=Uk(ce,L,Ee);ae&&setTimeout(()=>ae.ref.current.focus())}),$=m.useCallback((L,ce,Ee)=>{const ae=!H.current&&!Ee;(v.value!==void 0&&v.value===ce||ae)&&(A(L),ae&&(H.current=!0))},[v.value]),J=m.useCallback(()=>x==null?void 0:x.focus(),[x]),Y=m.useCallback((L,ce,Ee)=>{const ae=!H.current&&!Ee;(v.value!==void 0&&v.value===ce||ae)&&B(L)},[v.value]),pe=r==="popper"?Sf:Ek,Te=pe===Sf?{side:a,sideOffset:l,align:c,alignOffset:d,arrowPadding:f,collisionBoundary:h,collisionPadding:p,sticky:b,hideWhenDetached:g,avoidCollisions:w}:{};return u.jsx(Ck,{scope:n,content:x,viewport:k,onViewportChange:C,itemRefCallback:$,selectedItem:E,onItemLeave:J,itemTextRefCallback:Y,focusSelectedItem:F,selectedItemText:R,position:r,isPositioned:W,searchRef:_,children:u.jsx(Hh,{as:k4,allowPinchZoom:!0,children:u.jsx(Wh,{asChild:!0,trapped:v.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:G(o,L=>{var ce;(ce=v.trigger)==null||ce.focus({preventScroll:!0}),L.preventDefault()}),children:u.jsx(ea,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:u.jsx(pe,{role:"listbox",id:v.contentId,"data-state":v.open?"open":"closed",dir:v.dir,onContextMenu:L=>L.preventDefault(),...y,...Te,onPlaced:()=>D(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:G(y.onKeyDown,L=>{const ce=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!ce&&L.key.length===1&&K(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let ae=O().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);if(["ArrowUp","End"].includes(L.key)&&(ae=ae.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const ne=L.target,se=ae.indexOf(ne);ae=ae.slice(se+1)}setTimeout(()=>z(ae)),L.preventDefault()}})})})})})})});Tk.displayName=S4;var C4="SelectItemAlignedPosition",Ek=m.forwardRef((e,t)=>
262{const{__scopeSelect:n,onPlaced:r,...o}=e,s=Ir(fo,n),i=Mr(fo,n),[a,l]=m.useState(null),[c,d]=m.useState(null),f=le(t,T=>d(T)),h=_c(n),p=m.useRef(!1),b=m.useRef(!0),{viewport:g,selectedItem:w,selectedItemText:y,focusSelectedItem:v}=i,x=m.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&c&&g&&w&&y){const T=s.trigger.getBoundingClientRect(),E=c.getBoundingClientRect(),A=s.valueNode.getBoundingClientRect(),R=y.getBoundingClientRect();if(s.dir!=="rtl"){const ne=R.left-E.left,se=A.left-ne,We=T.left-se,bt=T.width+We,Dr=Math.max(bt,E.width),Bn=window.innerWidth-Vt,Or=gy(se,[Vt,Math.max(Vt,Bn-Dr)]);a.style.minWidth=bt+"px",a.style.left=Or+"px"}else{const ne=E.right-R.right,se=window.innerWidth-A.right-ne,We=window.innerWidth-T.right-se,bt=T.width+We,Dr=Math.max(bt,E.width),Bn=window.innerWidth-Vt,Or=gy(se,[Vt,Math.max(Vt,Bn-Dr)]);a.style.minWidth=bt+"px",a.style.right=Or+"px"}const B=h(),O=window.innerHeight-Vt*2,W=g.scrollHeight,D=window.getComputedStyle(c),H=parseInt(D.borderTopWidth,10),z=parseInt(D.paddingTop,10),F=parseInt(D.borderBottomWidth,10),P=parseInt(D.paddingBottom,10),N=H+z+W+P+F,_=Math.min(w.offsetHeight*5,N),K=window.getComputedStyle(g),$=parseInt(K.paddingTop,10),J=parseInt(K.paddingBottom,10),Y=T.top+T.height/2-Vt,pe=O-Y,Te=w.offsetHeight/2,L=w.offsetTop+Te,ce=H+z+L,Ee=N-ce;if(ce<=Y){const ne=B.length>0&&w===B[B.length-1].ref.current;a.style.bottom="0px";const se=c.clientHeight-g.offsetTop-g.offsetHeight,We=Math.max(pe,Te+(ne?J:0)+se+F),bt=ce+We;a.style.height=bt+"px"}else{const ne=B.length>0&&w===B[0].ref.current;a.style.top="0px";const We=Math.max(Y,H+g.offsetTop+(ne?$:0)+Te)+Ee;a.style.height=We+"px",g.scrollTop=ce-Y+g.offsetTop}a.style.margin=`${Vt}px 0`,a.style.minHeight=_+"px",a.style.maxHeight=O+"px",r==null||r(),requestAnimationFrame(()=>p.current=!0)}},[h,s.trigger,s.valueNode,a,c,g,w,y,s.dir,r]);Ve(()=>x(),[x]);const[S,k]=m.useState();Ve(()=>{c&&k(window.getComputedStyle(c).zIndex)},[c]);const C=m.useCallback(T=>{T&&b.current===!0&&(x(),v==null||v(),b.current=!1)},[x,v]);return u.jsx(E4,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:p,onScrollButtonChange:C,children:u.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:u.jsx(Z.div,{...o,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Ek.displayName=C4;var T4="SelectPopperPosition",Sf=m.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Vt,...s}=e,i=Lc(n);return u.jsx(pb,{...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)"}})});Sf.displayName=T4;var[E4,Fp]=Ms(fo,{}),kf="SelectViewport",Pk=m.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=Mr(kf,n),i=Fp(kf,n),a=le(t,s.onViewportChange),l=m.useRef(0);return u.jsxs(u.Fragment,{children:[u.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}),u.jsx(Oc.Slot,{scope:n,children:u.jsx(Z.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:G(o.onScroll,c=>{const d=c.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:h}=i;if(h!=null&&h.current&&f){const p=Math.abs(l.current-d.scrollTop);if(p>0){const b=window.innerHeight-Vt*2,g=parseFloat(f.style.minHeight),w=parseFloat(f.style.height),y=Math.max(g,w);if(y<b){const v=y+p,x=Math.min(b,v),S=v-x;f.style.height=x+"px",f.style.bottom==="0px"&&(d.scrollTop=S>0?S:0,f.style.justifyContent="flex-end")}}}l.current=d.scrollTop})})})]})});Pk.displayName=kf;var Nk="SelectGroup",[P4,N4]=Ms(Nk),j4=m.forwardRef((e,t)=>
262{const{__scopeSelect:n,...r}=e,o=vr();return u.jsx(P4,{scope:n,id:o,children:u.jsx(Z.div,{role:"group","aria-labelledby":o,...r,ref:t})})});j4.displayName=Nk;var jk="SelectLabel",Ak=m.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=N4(jk,n);return u.jsx(Z.div,{id:o.id,...r,ref:t})});Ak.displayName=jk;var Gl="SelectItem",[A4,Rk]=Ms(Gl),Ik=m.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,a=Ir(Gl,n),l=Mr(Gl,n),c=a.value===r,[d,f]=m.useState(s??""),[h,p]=m.useState(!1),b=le(t,v=>{var x;return(x=l.itemRefCallback)==null?void 0:x.call(l,v,r,o)}),g=vr(),w=m.useRef("touch"),y=()=>{o||(a.onValueChange(r),a.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 u.jsx(A4,{scope:n,value:r,disabled:o,textId:g,isSelected:c,onItemTextChange:m.useCallback(v=>{f(x=>x||((v==null?void 0:v.textContent)??"").trim())},[]),children:u.jsx(Oc.ItemSlot,{scope:n,value:r,disabled:o,textValue:d,children:u.jsx(Z.div,{role:"option","aria-labelledby":g,"data-highlighted":h?"":void 0,"aria-selected":c&&h,"data-state":c?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:G(i.onFocus,()=>p(!0)),onBlur:G(i.onBlur,()=>p(!1)),onClick:G(i.onClick,()=>{w.current!=="mouse"&&y()}),onPointerUp:G(i.onPointerUp,()=>{w.current==="mouse"&&y()}),onPointerDown:G(i.onPointerDown,v=>{w.current=v.pointerType}),onPointerMove:G(i.onPointerMove,v=>{var x;w.current=v.pointerType,o?(x=l.onItemLeave)==null||x.call(l):w.current==="mouse"&&v.currentTarget.focus({preventScroll:!0})}),onPointerLeave:G(i.onPointerLeave,v=>{var x;v.currentTarget===document.activeElement&&((x=l.onItemLeave)==null||x.call(l))}),onKeyDown:G(i.onKeyDown,v=>{var S;((S=l.searchRef)==null?void 0:S.current)!==""&&v.key===" "||(m4.includes(v.key)&&y(),v.key===" "&&v.preventDefault())})})})})});Ik.displayName=Gl;var ni="SelectItemText",Mk=m.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=Ir(ni,n),a=Mr(ni,n),l=Rk(ni,n),c=x4(ni,n),[d,f]=m.useState(null),h=le(t,y=>f(y),l.onItemTextChange,y=>{var v;return(v=a.itemTextRefCallback)==null?void 0:v.call(a,y,l.value,l.disabled)}),p=d==null?void 0:d.textContent,b=m.useMemo(()=>u.jsx("option",{value:l.value,disabled:l.disabled,children:p},l.value),[l.disabled,l.value,p]),{onNativeOptionAdd:g,onNativeOptionRemove:w}=c;return Ve(()=>(g(b),()=>w(b)),[g,w,b]),u.jsxs(u.Fragment,{children:[u.jsx(Z.span,{id:l.textId,...s,ref:h}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?mo.createPortal(s.children,i.valueNode):null]})});Mk.displayName=ni;var Dk="SelectItemIndicator",Ok=m.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Rk(Dk,n).isSelected?u.jsx(Z.span,{"aria-hidden":!0,...r,ref:t}):null});Ok.displayName=Dk;var Cf="SelectScrollUpButton",_k=m.forwardRef((e,t)=>{const n=Mr(Cf,e.__scopeSelect),r=Fp(Cf,e.__scopeSelect),[o,s]=m.useState(!1),i=le(t,r.onScrollButtonChange);return Ve(()=>{if(n.viewport&&n.isPositioned){let a=function(){const c=l.scrollTop>0;s(c)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?u.jsx(Fk,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});_k.displayName=Cf;var Tf="SelectScrollDownButton",Lk=m.forwardRef((e,t)=>{const n=Mr(Tf,e.__scopeSelect),r=Fp(Tf,e.__scopeSelect),[o,s]=m.useState(!1),i=le(t,r.onScrollButtonChange);return Ve(()=>{if(n.viewport&&n.isPositioned){let a=function(){const c=l.scrollHeight-l.clientHeight,d=Math.ceil(l.scrollTop)<c;s(d)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?u.jsx(Fk,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Lk.displayName=Tf;var Fk=m.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=Mr("SelectScrollButton",n),i=m.useRef(null),a=_c(n),l=m.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return m.useEffect(()=>()=>l(),[l]),Ve(()=>{var d;const c=a().find(f=>f.ref.current===document.activeElement);(d=c==null?void 0:c.ref.current)==null||d.scrollIntoView({block:"nearest"})},[a]),u.jsx(Z.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:G(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:G(o.onPointerMove,()=>{var c;(c=s.onItemLeave)==null||c.call(s),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:G(o.onPointerLeave,()=>{l()})})}),R4="SelectSeparator",Vk=m.forwardRef((e,t)=>
262{const{__scopeSelect:n,...r}=e;return u.jsx(Z.div,{"aria-hidden":!0,...r,ref:t})});Vk.displayName=R4;var Ef="SelectArrow",I4=m.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Lc(n),s=Ir(Ef,n),i=Mr(Ef,n);return s.open&&i.position==="popper"?u.jsx(mb,{...o,...r,ref:t}):null});I4.displayName=Ef;var M4="SelectBubbleInput",Bk=m.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=m.useRef(null),s=le(r,o),i=Yh(t);return m.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==t&&d){const f=new Event("change",{bubbles:!0});d.call(a,t),a.dispatchEvent(f)}},[i,t]),u.jsx(Z.select,{...n,style:{...fw,...n.style},ref:s,defaultValue:t})});Bk.displayName=M4;function zk(e){return e===""||e===void 0}function $k(e){const t=Yt(e),n=m.useRef(""),r=m.useRef(0),o=m.useCallback(i=>{const a=n.current+i;t(a),function l(c){n.current=c,window.clearTimeout(r.current),c!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(a)},[t]),s=m.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return m.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function Uk(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=D4(e,Math.max(s,0));o.length===1&&(i=i.filter(c=>c!==n));const l=i.find(c=>c.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function D4(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var O4=gk,Wk=yk,_4=wk,L4=bk,F4=Sk,Hk=kk,V4=Pk,Kk=Ak,Gk=Ik,B4=Mk,z4=Ok,qk=_k,Yk=Lk,Qk=Vk;const $4=O4,U4=_4,Xk=m.forwardRef(({className:e,children:t,...n},r)=>u.jsxs(Wk,{ref:r,className:re("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
262ing-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,u.jsx(L4,{asChild:!0,children:u.jsx(Ah,{className:"h-4 w-4 opacity-50"})})]}));Xk.displayName=Wk.displayName;const Zk=m.forwardRef(({className:e,...t},n)=>u.jsx(qk,{ref:n,className:re("flex cursor-default items-center justify-center py-1",e),...t,children:u.jsx(zj,{className:"h-4 w-4"})}));Zk.displayName=qk.displayName;const Jk=m.forwardRef(({className:e,...t},n)=>u.jsx(Yk,{ref:n,className:re("flex cursor-default items-center justify-center py-1",e),...t,children:u.jsx(Ah,{className:"h-4 w-4"})}));Jk.displayName=Yk.displayName;const eC=m.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>u.jsx(F4,{children:u.jsxs(Hk,{ref:o,className:re("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:[u.jsx(Zk,{}),u.jsx(V4,{className:re("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),u.jsx(Jk,{})]})}));eC.displayName=Hk.displayName;const W4=m.forwardRef(({className:e,...t},n)=>u.jsx(Kk,{ref:n,className:re("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));W4.displayName=Kk.displayName;const Eo=m.forwardRef(({className:e,children:t,...n},r)=>u.jsxs(Gk,{ref:r,className:re("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:[u.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:u.jsx(z4,{children:u.jsx(Qo,{className:"h-4 w-4"})})}),u.jsx(B4,{children:t})]}));Eo.displayName=Gk.displayName;const H4=m.forwardRef(({className:e,...t},n)=>u.jsx(Qk,{ref:n,className:re("-mx-1 my-1 h-px bg-muted",e),...t}));H4.displayName=Qk.displayName;const vy={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6}}},K4={visible:{transition:{staggerChildren:.1}}},G4=()=>{const{toast:e}=sw(),[t,n]=m.useState(!1),[r,o]=m.useState(!1),s=i=>{if(i.preventDefault(),!r){e({title:"Please agree to the terms",variant:"destructive"});return}n(!0),setTimeout(()=>{e({title:"Message sent!",description:"We'll get back to you soon."}),n(!1),i.target.reset(),o(!1)},1e3)};return u.jsxs(Ln,{children:[u.jsx("section",{className:"py-12 md:py-16",children:u.jsx("div",{className:"container",children:u.jsxs(q.div,{className:"grid gap-12 lg:grid-cols-2",initial:"hidden",animate:"visible",variants:K4,children:[u.jsxs(q.div,{variants:vy,children:[u.jsx("span",{className:"inline-block rounded-full bg-primary/10 px-4 py-1.5 text-sm font-medium text-primary mb-4",children:"Contact"}),u.jsxs("h1",{className:"text-4xl font-bold tracking-tight md:text-5xl",children:["Contact ",u.jsx("span",{className:"text-primary",children:"us"})]}),u.jsx("p",{className:"mt-4 text-lg text-muted-foreground",children:"Our friendly team would love to hear from you. ❤️"}),u.jsxs("div",{className:"mt-10 space-y-6",children:[u.jsxs("div",{className:"flex items-start gap-4",children:[u.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-xl bg-primary/10",children:u.jsx(Kj,{className:"h-5 w-5 text-primary"})}),u.jsxs("div",{children:[u.jsx("p",{className:"text-sm font-medium",children:"Email"}),u.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-muted-foreground hover:text-primary transition-colors",children:"[email protected]"})]})]}),u.jsxs("div",{className:"flex items-start gap-4",children:[u.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-xl bg-primary/10",children:u.jsx(Qj,{className:"h-5 w-5 text-primary"})}),u.jsxs("div",{children:[u.jsx("p",{className:"text-sm font-medium",children:"Phone"}),u.jsx("a",{href:"tel:+4917842955530",className:"text-sm text-muted-foreground hover:text-primary transition-colors",children:"+49 178 42 95 553"})]})]}),u.jsxs("div",{className:"flex items-start gap-4",children:[u.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-xl bg-primary/10",children:u.jsx(Gj,{className:"h-5 w-5 text-primary"})}),u.jsxs("div",{children:[u.jsx("p",{className:"text-sm font-medium",children:"Location"}),u.jsx("p",{className:"text-sm text-muted-foreground",children:"Made with Love in Berlin 🇩🇪"})]})]})]})]}),u.jsx(q.div,{variants:vy,children:u.jsxs("form",{onSubmit:s,className:"rounded-2xl border border-border bg-card p-8 space-y-5",children:[u.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[u.jsxs("div",{children:[u.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"First name"}),u.jsx(ti,{placeholder:"John",required:!0,className:"rounded-xl"})]}),u.jsxs("div",{children:[u.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Last name"}),u.jsx(ti,{placeholder:"Doe",required:!0,className:"rounded-xl"})]})]}),u.jsxs("div",{children:[u.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Email"}),u.jsx(ti,{type:"email",placeholder:"[email protected]",required:!0,className:"rounded-xl"})]}),u.jsxs("div",{children:[u.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Phone number"}),u.jsx(ti,{type:"tel",placeholder:"+49 ...",className:"rounded-xl"})]}),u.jsxs("div",{children:[u.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Topic"}),u.jsxs($4,{children:[u.jsx(Xk,{className:"rounded-xl",children:u.jsx(U4,{placeholder:"Choose a to
262pic"})}),u.jsxs(eC,{children:[u.jsx(Eo,{value:"general",children:"General Inquiry"}),u.jsx(Eo,{value:"support",children:"Support"}),u.jsx(Eo,{value:"business",children:"Business / Partnership"}),u.jsx(Eo,{value:"demo",children:"Request a Demo"}),u.jsx(Eo,{value:"feedback",children:"Feedback"})]})]})]}),u.jsxs("div",{children:[u.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Message"}),u.jsx(ak,{placeholder:"Your message...",rows:4,required:!0,className:"rounded-xl"})]}),u.jsxs("div",{className:"flex items-start gap-2",children:[u.jsx(mk,{id:"terms",checked:r,onCheckedChange:i=>o(i===!0),className:"mt-0.5"}),u.jsx("label",{htmlFor:"terms",className:"text-xs text-muted-foreground leading-relaxed cursor-pointer",children:"I agree to the processing of my personal data in accordance with the Privacy Policy."})]}),u.jsx(gn,{type:"submit",className:"w-full rounded-xl",disabled:t,children:t?"Sending...":"Send Message"})]})})]})})}),u.jsx(Ar,{})]})},q4=()=>{const e=Ps();return m.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),u.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),u.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),u.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},Y4=new oP,Q4=()=>u.jsx(iP,{client:Y4,children:u.jsxs(TR,{children:[u.jsx(BA,{}),u.jsx(VN,{}),u.jsx(WI,{}),u.jsxs(oN,{children:[u.jsx($I,{}),u.jsxs(XP,{children:[u.jsx(tn,{path:"/",element:u.jsx(HL,{})}),u.jsx(tn,{path:"/hotels-and-otas",element:u.jsx(XL,{})}),u.jsx(tn,{path:"/how-it-works",element:u.jsx(t4,{})}),u.jsx(tn,{path:"/about",element:u.jsx(o4,{})}),u.jsx(tn,{path:"/faqs",element:u.jsx(s4,{})}),u.jsx(tn,{path:"/blog",element:u.jsx(l4,{})}),u.jsx(tn,{path:"/blog/:slug",element:u.jsx(c4,{})}),u.jsx(tn,{path:"/contact",element:u.jsx(G4,{})}),u.jsx(tn,{path:"*",element:u.jsx(q4,{})})]})]})]})});B0(document.getElementById("root")).render(u.jsx(Q4,{}));

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.